
@import url('https://fonts.googleapis.com/css2?family=Changa:wght@200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Reem+Kufi+Fun:wght@400..700&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Changa", sans-serif;
    scroll-behavior: smooth;
}
html{
   /*   overflow-x: hidden; /* يمنع الاسكرول الأفقي */
}
body {
    background-color: #fff;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
    
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

header{

    top: 0;
    background: transparent;
    transition: all 0.5s ease;
    width: 50%;
    position: fixed;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 100px 150px;
    background-color: #ffffff;
}
.header-container{
    align-items: center;
}

/* الحجم الطبيعي */
.logo-img {
    height: 80px;
    transition: all 0.3s ease;
}



.navigation a{
    text-decoration: none;
    color:#001842;
    font-size: 1.2em;
    font-weight:500;
    padding-left:30px;


}

.navigation a:hover{
    color:#be9954;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #f39c12;
}

.hero {
  background: url('https://via.placeholder.com/1200x500') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.hero-content h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
    background: #f39c12;
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
}

.btn:hover {
    background: #e67e22;
}

section {
  padding: 4rem 0;
}

section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card img {
  width: 100%;
  border-radius: 8px;
}

.project-card h3 {
  text-align: center;
  margin-top: 1rem;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  font-size: 1.2rem;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: auto;
}

.contact input,
.contact textarea {
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}








/*----------------------------------*/


.slider {
    padding: 0;
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    display: flex;
    flex-direction: row;
}
.r-1{
    width: 50%;
    display: flex;
    flex-direction: column;
    padding: 20px;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
}
.r-1 p{
    padding: 20px 50px;
    text-align: right;
    font-size: 1.3rem;
    color: #001842;
}
.header{
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 100px;
    margin-top: 100px;
    
}
.header h3{
  
  font-size: 2.1em;
  color: #001842;
}
.header-container{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.r-1 img{
    height: 200px;
    width: 300px;
}
.slides{
    width: 50%;
}


.slide {
position: absolute;
width: 100%;
height: 100%;
opacity: 0;
transform: translateX(0);
transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide:first-child {
opacity: 1;
z-index: 1;
}


.slide.active {
    opacity: 1;
    z-index: 1;
    transform: translateX(0);
}

.slide.slide-in-left {
    transform: translateX(-30px);
}

.slide.slide-in-right {
    transform: translateX(30px);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.dots {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
    z-index: 5;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #fff;
}






/*---------------section services --------------*/
.sec-services{
    padding: 100px 100px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}
.sec-services h1{
    padding: 20px;
    color: #001842;
    font-weight: 600;
}
.sec-services .card{
    text-align: right;
    border: none;
    height: 360px;
    margin-top: 50px;
}

.sec-services .card img{
    margin: 10px 20px;
    width: 80px;
    height: 80px;
}
.all-cards{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.all-cards .card-text{
    font-size: 0.8em;
}

.all-cards .btn{
display: inline-block;
background-color: #be9954; /* لون الزر */
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 6px;
font-size: 1rem;
transition: background-color 0.3s;
border: none;
width: 50%;
}
.all-cards .btn:hover{
background-color: #f6d08b;
}


/*---------------section 2--------------*/
.split-bg-section {
    position: relative;
    height: 600px; /* ارتفاع السيكشن */
}

/* الخلفية بنصين */
.split-bg-section::before,
.split-bg-section::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;

    z-index: 1;
}

.split-bg-section::before {
    top: 0;
    background-color: #001842; /* لون النصف العلوي */
        height: 60%;
}

.split-bg-section::after {
    bottom: 0;
    background-color: #ffffff; /* لون النصف السفلي */
    height: 40%;
}

/* محتوى الديف العائم */
.content-box {
    padding: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: row-reverse;
    text-align: right;
    gap: 20px;
    overflow: hidden;
    width: 85%;
}

.content-box.two{
    padding: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    flex-direction: row;
    text-align: right;
    gap: 20px;
    overflow: hidden;
    width: 85%;
}

.content-box img {
    width: 50%;
    height: 400px;
    object-fit: cover;
    box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.2), 0 6px 7px 0 rgba(0, 0, 0, 0.19);   
    opacity: 0;
    transform: translateY(30px);
    animation: float-in 0.8s ease forwards;
}
@keyframes float-in {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.content-box .text {
    padding: 4px 0px;
    display:block ;
    color: #ffffff;
}

.content-box .text h1 {
font-size: 2.5rem;
margin-bottom: 10px;
line-height: 1.3;
}

.content-box .text h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.content-box .text p {
    margin: 10px;
    line-height: 1.6;
}

.hero-button {
display: inline-block;
background-color: #be9954; /* لون الزر */
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 6px;
font-size: 1rem;
transition: background-color 0.3s;
}

.hero-button:hover {
background-color: #f6d08b;
}




/*---------------overlay--------------*/




/*---------------section 4 --------------*/

.features-section {
    background-color: #f1f1f1;
    padding:50px 0px;
}
.features-section h1{
    padding-top: 20px;
    padding-bottom: 50px;
    color: #001842;
    font-weight: 600;
    text-align: center;
}
.container {
    width: 100%;
    margin: 0 auto;
}


.row {
    display: flex;
    flex-wrap: wrap;
    padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 25%;
    max-width: 25%;
    padding: 0 4px;
}

.column img {
    margin-top: 8px;
    vertical-align: middle;
    width: 100%;
}
.column img {
width: 100%;
height: 200px;
object-fit: cover;
cursor: pointer;
border-radius: 8px;
transition: transform 0.3s;
}

.column img:hover {
transform: scale(1.05);
}

.gallery-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
      gap: 10px;
      padding: 20px;
    }
    .gallery-grid img {
      width: 100%;
      cursor: pointer;
      border-radius: 8px;
      transition: transform 0.2s;
    }
    .gallery-grid img:hover {
      transform: scale(1.05);
    }

    /* Gallery Modal Overlay */
    .gallery-modal {
      display: none;
      position: fixed;
      z-index: 9999;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.9);
      justify-content: center;
      align-items: center;
    }
    .gallery-modal img {
      max-width: 90%;
      max-height: 80%;
      border-radius: 10px;
    }
    .gallery-close {
      position: absolute;
      top: 20px; right: 30px;
      font-size: 40px;
      color: white;
      cursor: pointer;
    }
    .gallery-arrow {
      position: absolute;
      top: 50%;
      font-size: 50px;
      color: white;
      cursor: pointer;
      user-select: none;
      transform: translateY(-50%);
    }
    .gallery-prev { left: 30px; }
    .gallery-next { right: 30px; }



/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}






/*------------ شركاء النجاح -------------*/
.partners-section {
    background-color: white;
    padding: 100px 0;
    overflow: hidden;
}
.partners-section h2{
    margin: 0;

}
.partners-section p{
    text-align: center;
    margin-bottom: 2rem;
}

.partners-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.partners-track {
    display: flex;
    width: fit-content;
    animation: scrollLoop 50s linear infinite;
}
.partners-track:hover {
    animation-play-state: paused;
}

.logo-group {
    display: flex;
}

.logo-group img {
    height: 200px;
    width: 200px;
    margin: 0 40px;
    object-fit: contain;
    flex-shrink: 0;
}

@keyframes scrollLoop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* نهايه سليدر شركاء النجاح*/



.footer {
    background-color: #e8eaed;
    color: #012e41;
    padding: 50px 0 20px;
    font-family: 'Arial', sans-serif;
    text-align: right;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    align-items: center;
    flex-direction: row-reverse;
    padding: 10px;
}

.footer-logo img {
    height: 250px;
    width: 250px;
}

.footer-about, .footer-form {
  flex: 1;
  min-width: 250px;
}

.footer-about h3, .footer-form h3 {
  margin-bottom: 15px;
}

.footer-about p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-card {
  background-color:#be9954;
  color: white;
  padding: 15px;
  border-radius: 10px;
  display: flex;
  align-items: center;
    justify-content: center;
  gap: 10px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-card i {
  font-size: 20px;
  color: #012e41;
}

.contact-card:hover {
  transform: translateY(-5px) scale(1.02);
  background-color: #012e41;
}

.contact-card:hover i {
  color: #ffcc00;
}

.footer-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-form input, .footer-form textarea {
  padding: 10px;
  border: none;
  border-radius: 5px;
  width: 100%;
  font-size: 16px;
      text-align: right;
}

.footer-form textarea {
  min-height: 100px;
  resize: vertical;
}

.footer-form button {
  padding: 12px;
  background-color: #be9954;
  color: #222;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.footer-form button:hover {
  background-color: #efcc8a;
}

.footer-social {
  margin-top: 40px;
  text-align: center;
}

.social-links a {
  color: #012e41;
  margin: 0 10px;
  font-size: 20px;
  transition: color 0.3s ease;
}

.social-links a:hover {
  color: #f4b400;
}
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid #ffffff33;
    font-size: 0.9em;
    color: #ccc;
}

.footer-bottom a{
    text-decoration: none;
    color: #cccccc;
}



/* ---------------- Responsive Design ---------------- */

/* الأجهزة التابلت (شاشة أقل من 992px) */
@media (max-width: 992px) {
  header {
    padding: 10px 40px;
    flex-direction: column;
    gap: 10px;
  }
  html{
     overflow-x: hidden; /* يمنع الاسكرول الأفقي */
}

  .content-box .text h1 {
    font-size: 1rem;
  }
  .content-box .text p{
    font-size: .8rem;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
  }

  .content-box,
  .content-box.two {
    text-align: center;
  }

  .content-box img {
    width: 90%;
    height: auto;
  }

  .text-side,
  .cards-grid {
    min-width: 100%;
  }

  .collection-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .feature-text {
    padding-left: 0;
  }

  .logo-group img {
    height: 120px;
    margin: 0 20px;
  }
}

/* الهواتف المحمولة (شاشة أقل من 768px) */
@media (max-width: 768px) {

  html{
     overflow-x: hidden; /* يمنع الاسكرول الأفقي */
  }
  .hero-content h2 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .container {
    width: 95%;
    padding: 0 10px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .collection-grid {
    grid-template-columns: 1fr;
  }

  .card img {
    width: 100%;
    height: auto;
  }

  .logo-img {
    height: 50px;
  }

  .arrow {
    font-size: 1.5rem;
    padding: 0.6rem;
  }

  .caption {
    font-size: 1.2rem;
    bottom: 10%;
  }

  .overlay-content img {
    max-width: 90%;
    max-height: 200px;
  }

  .split-bg-section {
    height: 400px;
    padding: 20px 0px;
  }
  .split-bg-section::before{
    height: 95%;
  }

  .content-box .text p{
    font-size: 0.6em;
  }
  .hero-button{
    padding: 10px;
    font-size: 0.7em;
  }
  .content-box{
    width: 100%;
  }
  .split-bg-section .content-box img{
    height: 150px;
    width: 150px;
  }


  .sec-services {
    padding: 10px 50px;
    gap: 10px;
  }
  .collection-section {
    flex-direction: column;
    padding: 50px 1rem;
  }




.slider {
    padding: 0;
    position: relative;
    width: 100%;
    height: 800px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.r-1{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 10px;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}
.r-1 p{
    padding: 10px 20px;
    text-align: right;
    font-size: 1.0rem;
    color: #001842;
}
.header{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 50px;
    margin-top: 50px;
    
}

.header h3{
  font-size: 1.25em;
  font-weight: 600;
}
.header-container{
    width: 100%;
    font-size: 0.8em;
    display: flex;
    justify-content: center;
    align-items: center;
}
.navigation a {
  padding-left: 0px;
  padding: 10px;
}
#hamburger{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}
.r-1 img{
    height: 150px;
    width:200px;
}

.dots {
    bottom: 5px;
}


}







/* Grid System */
    .gallery {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 10px;
      padding: 20px;
    }

    .gallery img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      cursor: pointer;
      border-radius: 8px;
      transition: transform 0.3s;
    }

    .gallery img:hover {
      transform: scale(1.05);
    }

    /* Lightbox */
    .lightbox {
      display: none;
      position: fixed;
      z-index: 1000;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      justify-content: center;
      align-items: center;
    }

    .lightbox img {
      max-width: 80%;
      max-height: 80%;
      border-radius: 10px;
    }

    /* Arrows */
    .arrow {
      position: absolute;
      top: 50%;
      font-size: 40px;
      color: white;
      cursor: pointer;
      padding: 20px;
      user-select: none;
      transform: translateY(-50%);
    }

    .arrow.left {
      left: 10px;
    }

    .arrow.right {
      right: 10px;
    }

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 35px;
    color: white;
    cursor: pointer;
}






/* ---------------- watts ---------------- */

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  text-decoration: none;
  z-index: 9999;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  z-index: 9999;
}

.whatsapp-float:hover img {
  transform: scale(1.1);
  z-index: 9999;
}

.whatsapp-text {
  margin-right: 10px;
  background: #25D366;
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  opacity: 0;
  transform: translateX(10px);
  transition: 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
  z-index: 9999;
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1;
  transform: translateX(0);
}

/* ---------------- map ---------------- */
.map{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 0px;
}