* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif; /* Standard professional font in 2026 */
}
body {
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #d3d7da;
}

.topnav a.active {
    color: #4CAF50; /* اللون الجديد للرابط النشط */
    font-weight: bold;
}

  html, body {
  overflow-x: hidden;
}



p {
    font-size: 16px;
    opacity: 0.8;
    text-align: center;
    line-height: 1.5;
    margin-bottom: 15px;
    margin-top: 0;
}
/* Ensure your content stays sharp and readable */
.container {
  position: relative;
  background: rgba(255,255,255,.9);
  padding: 30px;
  border-radius: 12px;
  margin: 40px auto;
  max-width: 1000px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  text-align: center;
}


nav {
    background: #2c3e50; 
    height: 70px; /* This locks the size so it can't change */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    z-index: 1000;
}
nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%; /* Ensures list fills the nav */
    align-items: center;
}
nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0 20px;
    font-weight: bold;
    transition: 0.3s;
     display: flex;       /* Changed to flex to center text vertically */
    align-items: center; /* Vertical centering */
    height: 70px; 

}
nav ul li a:hover {
    color: #9a8648; /* Changes color when you hover */
}

@media (max-width: 600px) {
    nav {
        /* Remove height: auto */
        height: 60px; /* Lock it so it CANNOT grow */
    }

    nav ul {
        /* Remove flex-wrap: wrap */
        flex-wrap: nowrap; /* Force links to stay on one line */
        justify-content: center;
    }

    nav ul li a {
        padding: 0 8px;    /* Less space between links */
        font-size: 12px;   /* Smaller text to fit the screen */
        height: 60px;      /* Match the nav height */
    }

    
}

/* Fix image centering */
.center-container {
  text-align: center;
}

.center-container img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}



.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 40px;
    text-align: center;
     border-radius: 50%;
}

.gallery-item {
  display: flex;
  justify-content: center;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
    border-radius: 50%;
}



form {
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
}
input, textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}
button {
    background: #0c2d42;
    color: white;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    width: 100%;
}

/* Cards & FAQ Styling */
.card { background: #fff; padding: 20px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
details { margin-bottom: 15px; border-bottom: 1px solid #ddd; padding-bottom: 10px; cursor: pointer; }
summary { font-weight: bold; font-size: 1.1rem; }

/* 2026 CTA Button Style */
.btn {
    display: inline-block;
    padding: 15px 30px;
    background: #0c2d42;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    min-height: 48px; /* Touch-friendly height */
    transition: transform 0.2s;
     background: 0.3s;
}
.btn:hover { 
    background: #9a8648; 
    transform: scale(1.02);
 }

/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    text-align: center;
}

.gallery-item {
    background: white;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: cover; 
    text-align: center;/* Keeps images from stretching */
}

footer {
    background-color: #a09d9d;
    text-align: center;
    position: relative;
     padding: 15px;
    bottom: 0;
    width: 100%;
    color: #382b05;
    text-decoration: none;
}

.stars-center {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.stars-center img {
  max-width: 100px;
  height: auto;
}


h1, h2 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 20px;
   
}
h3 {
     color: #2c3e50;
    text-align: center;   
    padding: 15px;
    margin-bottom: 20px;
}

h5 {
 color: #af943b;
    margin-bottom: 20px;
}


section {
    margin-bottom: 30px;
}


.services {
  padding: 60px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.services h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.services-intro {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.service-box {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.service-box:hover {
  transform: translateY(-6px);
}

.service-box i {
  font-size: 40px;
  color: #4f46e5; /* change to your brand colour */
  margin-bottom: 15px;
}

.service-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 0.95rem;
  color: #666;
}

/* توحيد النصوص لجميع الخدمات */
.services-container .service-box {
    color: #333;               /* لون النص */
    line-height: 1.6;          /* مسافة بين السطور */
    font-size: 16px;           /* حجم الخط */
    margin-bottom: 20px;       /* مسافة أسفل كل خدمة */
}

.services-container .service-box h3 {
    color: #333;               /* عنوان الخدمة */
    font-size: 20px;
    margin-bottom: 10px;
}

.services-container .service-box p,
.services-container .service-box ul {
    margin-bottom: 10px;
}

.services-container .service-box ul li {
    margin-bottom: 5px;
}

.faq {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.faq h2 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.faq-intro {
  max-width: 600px;
  margin: 0 auto 40px;
  color: #555;
}

.faq-container {
  max-width: 900px;
  margin: auto;
  text-align: left;
}

.faq-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  padding: 15px 20px;
  text-align: left;
  background-color: #af943b;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  outline: none;
  transition: 0.3s ease;
  background: #9a8648;
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background-color: #555;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  background-color: #0c2d42;
  transition: max-height 0.3s ease;
}

.faq-section {
  max-width: 850px;
  margin: 80px auto;
  padding: 20px;
}

.faq-section h2,
.faq-subtitle {
  text-align: center;
}

.faq-subtitle {
  color: #666;
  margin-bottom: 30px;
}

.faq-item {
  margin-bottom: 15px;
}



.faq-question .icon {
  font-size: 20px;
  transition: transform 0.3s ease;
}

.faq-question.active .icon {
  transform: rotate(45deg);
}


.faq-answer p {
  padding: 15px 20px;
  margin: 0;
  color: #333;
}

/* 🌙 Dark Mode Support */
@media (prefers-color-scheme: dark) {
  .faq-answer {
    background: #1f1f1f;
  }
  .faq-answer p {
    color: #eaeaea;
  }
}

/* General styles */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}




/* Prevent the "Scrollbar Jump" */
html {
    overflow-y: scroll; /* Forces scrollbar gutter to always exist */
}


/* Project cards */
.project {
  background: #666;
  margin-bottom: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s;
}

.project:hover {
  transform: scale(1.02);
}

/* Project images */
.project img {
  width: 100%;
  display: block;
}

/* Project content */
.project-content {
  padding: 20px;
}

.project-content h2 {
  margin-top: 0;
  color: #0c2d42;
}

.project-content p {
  line-height: 1.6;
}

.project-content a {
  color: #9a8648;
  text-decoration: u;
  font-weight: bold;
}

.project-content a:hover {
  text-decoration: underline;
}



.project img {
  max-width: 500px;   /* Image won’t be wider than 500px */
  width: 80%;         /* Scales down to 80% of the card width */
  height: auto;       /* Keeps proportions correct */
  display: block;     /* Makes margin auto work */
  margin: 0 auto 20px auto;     /* Centers the image in the card */
  border-radius: 10px; /* Rounded corners for style */
  transition: transform 0.3s; /* Smooth hover effect */
}

.project img:hover {
  transform: scale(1.05); /* Grows slightly on hover */
}

.project {
  background: white;
  margin-bottom: 50px; /* space between project cards */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s;
}

/* Enable smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}


.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.3s ease;
}

.whatsapp-float,
.whatsapp-float i {
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ================================
   📱 MOBILE RESPONSIVE FIXES
================================ */

@media (max-width: 768px) {

  /* General spacing */
  body {
    font-size: 15px;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  p {
    font-size: 15px;
    text-align: center;
  }

 
  section {
    padding: 20px 10px;
  }

  /* NAVBAR */
  nav {
    height: auto;
    padding: 10px 0;
  }

  nav ul {
    flex-wrap: wrap;
  }

  nav ul li {
    margin: 5px 0;
  }

  nav ul li a {
    height: auto;
    padding: 10px 12px;
    font-size: 14px;
  }

  /* GALLERY */
  .gallery {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .gallery img {
    height: auto;
  }

  /* SERVICES */
  .services-container {
    grid-template-columns: 1fr;
  }

  

  .project-content {
    padding: 15px;
  }

  /* FORMS */
  form {
    width: 95%;
    margin: 20px auto;
  }

  input,
  textarea,
  button {
    font-size: 15px;
  }

  /* FAQ */
  .faq-container,
  .faq-section {
    max-width: 100%;
  }

  .faq-question {
    font-size: 14px;
    padding: 12px;
  }

  /* WHATSAPP BUTTON */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 15px;
    right: 15px;
  }

}


/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #111;
  color: white;
  padding: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  z-index: 9999;
  flex-wrap: wrap;
  box-shadow: 0 -4px 10px rgba(0,0,0,0.3);
}

.cookie-banner p {
  margin: 0;
  font-size: 14px;
  max-width: 600px;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-banner button {
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  font-size: 13px;
  background: #ff4d4d;
  color: white;
}

.cookie-banner button:hover {
  opacity: 0.9;
}

.cookie-banner .outline {
  background: transparent;
  border: 1px solid white;
}















