* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Almarai", serif;
  }

  body {
    overflow-x: hidden;
  }

  /* Header */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to right, #04565f8e, #231f209c);
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 15px 30px;
    z-index: 1000;
  }

  header nav {
    display: flex;
    gap: 20px;
    align-items: center;
  }

  header nav a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
  }

  header nav a:hover {
    color: #D6A97C;
  }

  header .menu-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
  }

  header #language-select {
    background: linear-gradient(to right, #F5D4B6, #D6A97C);
    color: #04565F;
    padding: 5px 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    font-weight: 600;
}

  /* أيقونة القائمة (bars) */
.menu-toggle .fa-bars {
    display: block;
  }
  
  /* أيقونة X عند تفعيل الفئة active */
  .menu-toggle.active .fa-bars {
    display: none; /* إخفاء bars */
  }
  
  .menu-toggle.active .fa-x {
    display: block; /* عرض X */
  }
  
  .menu-toggle .fa-x {
    display: none; /* إخفاء X افتراضيًا */
  }
  

  /* Slider */
  .slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
  }

  .slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #logo {
    width: 350px;
  }

  /* Overlay Text */
  .slider-content {
    position: absolute;
    top: 50%;
    right: 35%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: white;
    z-index: 10;
    max-width: 400px;
  }

  .slider-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
  }

  .slider-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  }

  .slider-content .buttons a {
    display: inline-block;
    padding: 15px 20px;
    margin: 10px;
    text-decoration: none;
    color: white;
    background: linear-gradient(to right, #04565F, #231F20);
    border-radius: 5px;
    transition: background 0.3s ease;
  }

  .slider-content .buttons a:hover {
    background: linear-gradient(to right, #F5D4B6, #D6A97C);
    color: #04565F;
  }

  #learn-more {
    background: none;
    border: solid 2px #fff;
  }

  /* Slider Dots */
  .slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
  }

  .slider-nav div {
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  .slider-nav div.active {
    background: #04565F;
  }

  .slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 10s infinite; /* تطبيق التأثير */
  }

  .project-item:hover {
        width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomOut 10s infinite; /* تطبيق التأثير */
  }
  
  /* تأثير Zoom In */
  @keyframes zoomIn {
    0% {
      transform: scale(1); /* البداية بدون تكبير */
    }
    50% {
      transform: scale(1.1); /* تكبير بنسبة 10% */
    }
    100% {
      transform: scale(1); /* العودة للحجم الطبيعي */
    }
  }

    /* تأثير Zoom In */
    @keyframes zoomOut {
      0% {
        transform: scale(1); /* البداية بدون تكبير */
      }
      50% {
        transform: scale(0.95); /* تكبير بنسبة 10% */
      }
      100% {
        transform: scale(1); /* العودة للحجم الطبيعي */
      }
    }

  /* Responsive */

  @media (max-width: 1300px) {
    .slider-content {
        left: 60%;
        right: 0;
      }
  }

  @media (max-width: 768px) {
    header nav {
      display: none;
    }

    #logo {
      width: 250px;
    }

    .slider-content h1 {
      font-size: 2rem;
    }

    header .menu-toggle {
      display: block;
    }

    .slider-content {
        left: 50%;
        right: 0;
      }

    header nav.active {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 100%;
      right: 0;
      background: rgba(0, 0, 0, 0.9);
      width: 100%;
      text-align: center;
    }

    header nav.active a {
      padding: 15px;
      border-bottom: 1px solid #333;
    }
  }

  .contact-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    background: linear-gradient(to right, #04565F, #231F20);
    color: white;
    padding: 70px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 90%;
    position: absolute;
    bottom: -80px;
    right: 100px;
  }

  .contact-card .icon {
    background-color: white;
    color: #D6A97C;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
  }

  .contact-card .details {
    font-size: 16px;
  }

  .contact-card .details strong {
    display: block;
    font-size: 18px;
  }

  .features-section {
    text-align: center;
    padding: 40px 20px;
    margin-top: 100px;
}

.features-section h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #04565F;
}

.features-section h1 span {
    color: #D6A97C;
}

.features-section p {
    font-size: 1rem;
    color: #777;
    margin-bottom: 30px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: #fff;
    padding: 50px 14px;
    box-shadow: 4px 4px 15px rgba(177, 174, 174, 0.2);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2rem;
    color: #D6A97C;
    margin-bottom: 15px;
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #04565F;
}

.feature-box p {
    font-size: 0.9rem;
    color: #777;
}

.experience-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px;
  background: #f5d5b638;
  margin-top: 80px;
}
.experience-content {
  flex: 1 1 400px;
  max-width: 600px;
  padding: 20px;
}
.experience-content h1 {
  font-size: 40px;
  color: #333;
}
.experience-content h1 span {
  color: #04565F;
}
.experience-content p {
  margin: 20px 0;
  color: #666;
  line-height: 1.6;
}
.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}
.stat {
  text-align: left;
  flex: 1;
}
.stat h3 {
  font-size: 45px;
  color: #04565F;
}
.stat p {
  color: #333;
  font-weight: 700;
}
.read-more-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: linear-gradient(to right, #04565F, #231F20);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.3s;
}
.experience-image {
  flex: 1 1 400px;
  max-width: 800px;
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.experience-image img {
  width: 80%;
}
/* .experience-image img.second {
  position: absolute;
  top: -20px;
  right: 20px;
  width: 50%;
  border: 5px solid #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
} */

.services {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0;
  left: 100px;
}

.services-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  padding: 50px;
  max-width: 1500px; /* تحديد عرض القسم */
}
.services-content {
  flex: 1 1;
  padding: 20px;
}
.services-content h2 {
  font-size: 38px;
  color: #D6A97C;
}
.services-content h2 span {
  color: #04565F;
}
.services-content p {
  color: #666;
  margin: 20px 0;
  line-height: 1.6;
}
.services-list {
  display: flex;
  flex-wrap: wrap;
  gap: 35px;
  margin-top: 20px;
}
.service {
  flex: 1 1 calc(50% - 20px);
  text-align: left;
}
.service .icon {
  font-size: 40px;
  color: #D6A97C;
  margin-bottom: 10px;
}
.service div h4 {
  font-size: 18px;
  margin: 0 0 5px;
  color: #04565F;
}
.service div p {
  font-size: 14px;
  margin: 0;
  color: #666;
}
.all-services-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background: linear-gradient(to right, #04565F, #231F20);
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.3s;
}
.services-image {
  flex: 1 1 400px;
  padding: 20px;
  text-align: center;
}
.services-image img {
  max-width: 90%;
}

.projects-section {
  background: #f5d5b638;
  text-align: center;
  margin-top: 150px;
}

.description-section h2 {
  font-size: 38px;
  color: #333;
  margin-bottom: 20px;
}

.description-section h2 span {
  color: #04565F;
}

.projects-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  bottom: 100px;
}

.project-item {
  position: relative;
  overflow: hidden;
}

.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.description-section {
  position: relative;
  padding: 10px;
  text-align: center;
}

.description-section .container {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1200px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.description-section p {
  max-width: 400px;
  margin: 0 auto 20px;
  font-size: 16px;
  color: #666;
  text-align: left;
}

.learn-more {
  display: inline-block;
  padding: 10px 15px;
  background: linear-gradient(to right, #04565F, #231F20);
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s;
  width: 120px;
}

.learn-more:hover {
  background-color: #0d7c88;
}

.free-call-section {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 2rem;
}

.free-call-section .content {
  max-width: 50%;
}

.free-call-section .content h1 {
  font-size: 2rem;
  color: #333;
  max-width: 450px;

}

.free-call-section .content h1 span {
  color: #04565F;
}

.free-call-section .content p {
  margin: 1rem 0;
  font-size: 1rem;
  color: #666;
  max-width: 550px;
}

.free-call-section .content form {
  margin-top: 1rem;
}

.free-call-section .content form input {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #D6A97C;
  border-radius: 5px;
}

.free-call-section .content form button {
  padding: 0.75rem 1.5rem;
  border: none;
  background: linear-gradient(to right, #04565F, #231F20);
  color: white;
  cursor: pointer;
  font-size: 1rem;
  transition: .2s ease;
}

.free-call-section .content form button:hover {
  background-color: #0d7c88;
}

.free-call-section .image-container {
  max-width: 50%;
  text-align: center;
}

.free-call-section .image-container img {
  max-width: 60%;
  height: auto;
  border-radius: 5px;
}

.news-section {
  margin: 0 auto;
  padding: 50px;
}

.news-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #414141;
  margin-bottom: 20px;
}

.news-section .container {
  position: relative;
}

.news-cards {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, 0%);
  max-width: 1200px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.news-card {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-card img {
  width: 100%;
  height: auto;
}

.news-card-content {
  padding: 15px;
}

.news-card-content h3 {
  font-size: 1.25rem;
  color: #333;
  margin: 10px 0;
}

.news-card-content p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.5;
}

.news-card-content .date {
  font-size: 0.8rem;
  color: #999;
}

.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.contact-details {
  color: #333;
  display: grid;
  gap: 12px;
}

.contact-details h2 {
  font-size: 2rem;
  color: #04565F;
  margin-bottom: 20px;
}

.contact-details p {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #555;
}

.contact-details a {
  color: #D6A97C;
  text-decoration: none;
}

.contact-form {
  padding: 20px;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #D6A97C;
}

.contact-form button {
  width: 150px;
  background: linear-gradient(to right, #04565F, #231F20);
  color: #fff;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #0d7c88;
}

.social-icons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-icons a {
  color: #04565F;
  font-size: 1.5rem;
  text-decoration: none;
}

footer {
  background: linear-gradient(to right, #F5D4B6, #D6A97C);
  padding: 40px 20px;
  color: #333;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.footer-section {
  flex: 1 1 250px;
  min-width: 200px;
}

.footer-section h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #04565F;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #333;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #04565F;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icons a {
  color: #04565F;
  font-size: 18px;
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 16px;
  color: #04565F;
}

#profile-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background: linear-gradient(to right, #F5D4B6, #D6A97C);
}

#profile-section .container .columns {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 60px;
}

#profile-section .container .columns .col2 p {
  color: #fff;
  max-width: 500px;
  font-size: 22px;
}

#profile-section .container .columns .col1 a img {
  width: 450px;
}

@media (max-width: 1300px) {
  #profile-section .container .columns .col1 a img {
      width: 600px;
  }

  #profile-section .container .columns {
      gap: 20px;
  }
}

@media (max-width: 950px) {
  #profile-section .container .columns {
      align-items: center;
      flex-direction: column;
  }
}

@media (max-width: 620px) {
  #profile-section .container .columns .col1 a img {
      width: 300px;
  }
  #profile-section .container .columns .col2 p {
      max-width: 450px;
      font-size: 14px;
}
}

@media (max-width: 768px) {
  .contact-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    bottom: -240px;
    right: 20px;
  }

  .services-section {
    flex-direction: column-reverse;
  }

  .contact-card .icon {
    margin-bottom: 10px;
  }

  .features-section h1 {
    font-size: 1.5rem;
}

.features-section {
  position: relative;
  top: 150px;
}

.experience-section {
  flex-direction: column;
}

/* .experience-image img.second {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 50%;
} */

.experience-section {
  margin-top: 170px;
}

.stat h3 {
  font-size: 25px;
  color: #04565F;
}
.stat p {
  color: #333;
  font-weight: 600;
  font-size: 12px;
}
.services {
  left: 0;
}
.service {
  flex: 1 1 calc(55% - 20px);
}

.project-item {
  flex: 1 1 100%;
  max-width: 100%;
}

.projects-section h2 {
  font-size: 24px;
}

.description-section p {
  font-size: 14px;
}

.learn-more {
  font-size: 14px;
}
.projects-container {
  grid-template-columns: 100%;
}

.description-section .container {
  flex-direction: column;
}
.description-section p {
  text-align: center;
}

.free-call-section {
  flex-direction: column;
  text-align: center;
}

.free-call-section .content,
.free-call-section .image-container {
  max-width: 100%;
}

.free-call-section .content {
  padding-top: 40px;
}

.free-call-section .content form input {
  width: 90%;
  margin: 0 auto 1rem;
}

.free-call-section .content form button {
  width: 90%;
}

.news-section h2 {
  font-size: 1.75rem;
}

.contact-details h2 {
  font-size: 1.75rem;
}

.footer-container {
  flex-direction: column;
  align-items: center;
}

.footer-section {
  text-align: center;
}

.social-icons {
  justify-content: center;
}
}

@media (max-width: 480px) {
  .news-section h2 {
      font-size: 1.5rem;
  }

  .news-card-content h3 {
      font-size: 1.1rem;
  }

  .news-card-content p {
      font-size: 0.8rem;
  }

  .contact-details h2 {
    font-size: 1.5rem;
}

.contact-form input,
.contact-form textarea {
    font-size: 0.9rem;
}
}