@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap");

/* نظام الألوان الجديد */
:root {
  --primary-color: #F27319;    /* برتقالي */
  --secondary-color: #010101;  /* أسود */
  --accent-color: #F27319;     /* برتقالي */
  --light-color: #FFFFFF;      /* أبيض */
  --text-dark: #010101;        /* أسود للنص */
  --text-light: #FFFFFF;       /* أبيض للنص */
  --bg-light: #FFFFFF;         /* خلفية بيضاء */
  --bg-dark: #010101;          /* خلفية سوداء */
  --bg-orange: #F27319;        /* خلفية برتقالية */
  --shadow: 0 5px 15px rgba(1, 1, 1, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Cairo', sans-serif;
  direction: rtl;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* التنسيقات العامة */
.layout_padding {
  padding: 80px 0;
}

.layout_padding2 {
  padding: 45px 0;
}

.layout_padding-top {
  padding-top: 80px;
}

.layout_padding-bottom {
  padding-bottom: 80px;
}

.heading_container {
  text-align: center;
  margin-bottom: 50px;
}

.heading_container h2 {
  color: var(--secondary-color);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.heading_container h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: 50%;
  transform: translateX(50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

/* منطقة الهيرو */
.hero_area {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

/* الهيدر */
.header_section {
  background-color: rgba(1, 1, 1, 0.9);
  position: relative;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header_top {
  background-color: var(--primary-color);
  padding: 10px 0;
}

.header_top .contact_nav {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.header_top .contact_nav a {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.header_top .contact_nav a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.header_bottom {
  padding: 15px 0;
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 2rem;
  font-weight: 800;
}

.navbar-brand span {
  color: var(--primary-color);
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  color: var(--text-light);
  font-weight: 600;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 25px;
  transition: all 0.3s ease;
}

.custom_nav-container .navbar-nav .nav-item .nav-link:hover,
.custom_nav-container .navbar-nav .nav-item.active .nav-link {
  background-color: var(--primary-color);
  color: var(--text-light);
  transform: translateY(-3px);
}

/* سلايدر الهيرو */
.slider_section {
  padding-top: 150px;
  padding-bottom: 50px;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 150px);
}

.slider_section .detail-box h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
}

#discrip {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-light);
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 15px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-color);
}

.cta-btn:hover {
  background-color: transparent;
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(242, 115, 25, 0.3);
}

/* قسم الخدمات الرئيسية */
.feature_section {
  background-color: var(--bg-light);
}

.feature_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature_container .box {
  background: var(--bg-light);
  border: 2px solid var(--primary-color);
  border-radius: 15px;
  padding: 40px 20px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature_container .box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 5px;
  background-color: var(--primary-color);
}

.feature_container .box:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow);
  border-color: var(--secondary-color);
}

.feature_container .box .img-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.feature_container .box:hover .img-box {
  background-color: var(--secondary-color);
  transform: rotate(360deg);
}

.feature_container .box .img-box i {
  font-size: 2rem;
  color: var(--text-light);
}

.feature_container .box .name {
  color: var(--secondary-color);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature_container .box p {
  color: #666;
  font-size: 0.95rem;
}

.feature_container .box.active {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.feature_container .box.active .name,
.feature_container .box.active p {
  color: var(--text-light);
}

.feature_container .box.active .img-box {
  background-color: var(--text-light);
}

.feature_container .box.active .img-box i {
  color: var(--primary-color);
}

/* قسم عن الشركة */
.about_section {
  background-color: #f8f9fa;
}

.about_section .detail-box p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #444;
}

.expertise-list {
  margin-top: 30px;
  background-color: var(--bg-light);
  padding: 25px;
  border-radius: 10px;
  border-right: 4px solid var(--primary-color);
}

.expertise-list h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.expertise-list ul {
  list-style: none;
  padding: 0;
}

.expertise-list ul li {
  padding: 8px 0;
  position: relative;
  padding-right: 25px;
}

.expertise-list ul li::before {
  content: '✓';
  position: absolute;
  right: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.about_section .img-box img {
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.about_section .img-box img:hover {
  transform: scale(1.02);
}

/* قسم لماذا تختارنا */
.professional_section {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.professional_section .detail-box h2 {
  color: var(--text-light);
}

.advantages {
  margin: 30px 0;
}

.advantage-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 5px;
  transition: all 0.3s ease;
}

.advantage-item:hover {
  background-color: rgba(242, 115, 25, 0.1);
  transform: translateX(-5px);
}

.advantage-item i {
  color: var(--primary-color);
  margin-left: 10px;
  font-size: 1.2rem;
}

.advantage-item span {
  font-size: 1.1rem;
}

/* قسم منطقة العمل */
.service_section {
  background-color: var(--bg-light);
}

.service_section .box {
  background: var(--bg-light);
  border: 2px solid #eee;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
}

.service_section .box:hover {
  border-color: var(--primary-color);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.service_section .box .img-box {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.service_section .box:hover .img-box {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.service_section .box .img-box i {
  font-size: 1.8rem;
  color: var(--text-light);
}

.service_section .box .detail-box h5 {
  color: var(--secondary-color);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service_section .box .detail-box p {
  color: #666;
  font-size: 0.9rem;
}

/* قسم معلومات التواصل */
.info_section {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 60px 0 30px;
}

.info_section h4 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 40px;
  text-align: center;
}

.info_items {
  margin-bottom: 40px;
}

.info_items .item {
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
}

.info_items .item:hover {
  transform: translateY(-5px);
}

.info_items .item .img-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.info_items .item:hover .img-box {
  background-color: var(--text-light);
  transform: rotate(15deg);
}

.info_items .item:hover .img-box i {
  color: var(--primary-color);
}

.info_items .item .img-box i {
  font-size: 1.8rem;
  color: var(--text-light);
}

.info_items .item p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
}

.social-box {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-box .box {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--text-light);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-box a:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
  transform: translateY(-5px);
}

/* الفوتر */
.footer_section {
  background-color: #111;
  color: var(--text-light);
  padding: 60px 0 30px;
}

.footer_section h5 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
  padding-right: 5px;
}

.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* قسم المعرض */
.slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.slider div {
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.slider div:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(242, 115, 25, 0.2);
}

.slider div img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.slider div:hover img {
  transform: scale(1.1);
}

/* النموذج */
.contact_section input,
.contact_section textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 20px;
  border: 2px solid #ddd;
  border-radius: 5px;
  font-family: 'Cairo', sans-serif;
  transition: all 0.3s ease;
}

.contact_section input:focus,
.contact_section textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(242, 115, 25, 0.1);
}

.contact_section button {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 15px 40px;
  border-radius: 5px;
  font-family: 'Cairo', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact_section button:hover {
  background-color: var(--secondary-color);
  transform: translateY(-3px);
}

/* التجاوبية */
@media (max-width: 768px) {
  .slider_section .detail-box h1 {
    font-size: 2.5rem;
  }
  
  .feature_container {
    grid-template-columns: 1fr;
  }
  
  .header_top .contact_nav {
    flex-direction: column;
    gap: 10px;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .slider {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (max-width: 576px) {
  .layout_padding {
    padding: 50px 0;
  }
  
  .heading_container h2 {
    font-size: 2rem;
  }
  
  .cta-btn {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .social-box .box {
    flex-wrap: wrap;
  }
}