:root {
  /* Color Palette */
  --primary-green: #AAB99A;
  --secondary-green: #D0DDD0;
  --dark-green: #3e513c;
  --rich-green: #3A4A28;
  --soft-green: #A0C49D;
  --accent-green: #748E63;
  --light-green: #94a194;
  
  /* Text Colors */
  --text-dark: #333;
  --text-light: #F8FAFC;
  --text-white: #ffffff;
  
  /* Background Colors */
  --bg-white: #ffffff;
  --bg-overlay: rgba(0, 0, 0, 0.5);
  
  /* Spacing */
  --section-padding: 3rem 1rem;
  --container-max-width: 960px;
  
  /* Border Radius */
  --border-radius-sm: 5px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-xl: 16px;
  
  /* Shadows */
  --shadow-light: 0 4px 12px rgba(148, 161, 148, 0.4);
  --shadow-medium: 0 8px 20px rgba(0, 0, 0, 0.3);
}
body {
  min-height: 100vh;
  background: url('Assets/images/bg4.png') center center no-repeat fixed; 
  background-size: cover;
  background-color: #fff;
  font-family: 'Poppins', sans-serif;
}
 /* Navbar ==============================*/
 .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #AAB99A;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .nav-brand a{
  text-decoration: none;
  }
  .brand-logo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 5px;
  vertical-align: middle;
}

.nav-brand {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.2rem;
}

  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    text-decoration: none;
    color: black;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-links a:hover {
    color: white;
  }
  .nav-links.active {
  display: block;
}
/* intro section ==============================*/
.whatwedo-intro {
  padding: 2rem 1rem;
  min-height: 300px;

}


.whatwedo-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #4a5c3f;
  text-align: center;

}

.whatwedo-intro p {
  max-width: 70%;
  margin: 0 auto;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #2e2e2e;
  text-align: justify;
  
}

.btn-glass {
  align-items: center;
  justify-content: center;
  display: inline-flex;
  padding: 0.75rem 2rem;
  border-radius: 12px;
  background: rgba(158, 187, 143, 0.242);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--dark-green);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 5;
}

.btn-glass:hover {
  background: rgba(70, 70, 70, 0.25);
  box-shadow:
    0 0 10px rgba(0, 0, 0, 0.247),
    0 0 30px rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transform: scale(1.07);
}
.center-section {
  display: flex;
  align-items: center;     /* vertical center */
  justify-content: center; /* horizontal center */
  height: 10vh;           /* full screen height */
  position: relative;
  z-index: 1;
}


/* Remove all section spacing so they touch */
/* Remove all spacing between sections */
section {
  margin: 0;
  padding: 0;
  min-height: 400px;
}

/* Main section layout */
.service-section {
  width: 100%;
}

/* Flex container inside each section */
.service-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  gap: 2rem;
}

/* Text and video should each take half */
.text, .media {
  flex: 1;
}

/* Video styling */
.media video {
  width: 100%;
  max-width: 600px;
  border-radius: 8px;
}

/* Green + light text */
.service-section:nth-child(odd) {
  background-color: #3e513c;
  background: #3e513cae; /* very light gray instead of pure white */
  backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
  color: #ffffff;
}

/* White + dark text */
.service-section:nth-child(even) {
  background: rgba(240, 240, 240, 0.2); /* very light gray instead of pure white */
  backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
  color: #000000;
}

.service-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* Heading enhancement */
section h1, 
section h2 {
  font-weight: 800;
  letter-spacing: 0.5px;
  text-align: center;

  position: relative;
  margin-bottom: 1.5rem;
}

/* Decorative underline effect */
section h1::after,
section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #A7C1A8, #4a5c3f);
  margin: 0.6rem auto 0;
  border-radius: 2px;
}


/* Optional: fade-in animation for sections */


/* industries section ==============================*/
/* Industries section styling */
.industries-section {
  padding: 3rem 2rem;
  margin: 3rem auto;
  max-width: 1200px;
  text-align: center;
 
}

.industries-heading h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #4a5c3f;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.industry-card {
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  animation: float 6s ease-in-out infinite;
  text-align: center;
}

.card-icon {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card-icon i {
  font-size: 2.5rem;
  color: #4a5c3f;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #A7C1A8, #4a5c3f);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.industry-card:nth-child(odd) .card-icon i {
  color: #4a5c3f;
  background: linear-gradient(135deg, #4a5c3f, #A7C1A8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.industry-card:nth-child(even) .card-icon i {
  color: #A7C1A8;
  background: linear-gradient(135deg, #A7C1A8, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.industry-card:nth-child(1) {
  animation-delay: 0s;
}

.industry-card:nth-child(2) {
  animation-delay: 1.5s;
}

.industry-card:nth-child(3) {
  animation-delay: 3s;
}

.industry-card:nth-child(4) {
  animation-delay: 4.5s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.industry-card:hover {
  transform: translateY(-4px) scale(1.02);
  animation-play-state: paused;
}

.industry-card:hover .card-icon i {
  transform: scale(1.2) rotate(5deg);
  background: linear-gradient(135deg, #A7C1A8, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.industry-card:nth-child(odd):hover .card-icon i {
  background: linear-gradient(135deg, #4a5c3f, #A7C1A8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.industry-card:nth-child(even):hover .card-icon i {
  background: linear-gradient(135deg, #ffffff, #A7C1A8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Odd cards (1st, 3rd) - Light green background */
.industry-card:nth-child(odd) {
  background-color: #A7C1A8;
  color: #333;
}

.industry-card:nth-child(odd) h3 {
  color: #4a5c3f;
}

.industry-card:nth-child(odd) p {
  color: #333;
}

/* Even cards (2nd, 4th) - Dark background */
.industry-card:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
}

.industry-card:nth-child(even) h3 {
  color: #ffffff;
}

.industry-card:nth-child(even) p {
  color: #e6e6e6;
}

.industry-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 0.3px;
}

.industry-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.highlight {
  color: #A7C1A8;
  font-weight: 600;
}

footer {
    background-color: #AAB99A;
    text-align: center;
    padding: 1rem;
    font-size: 0.9rem;
    color: #333;
  }

/* Hamburger menu button */
.menu-toggle {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: #3A4A28;
    cursor: pointer;
}
/* scrollupbtn */
#scrollToTop {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #3A4A28;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

#scrollToTop.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTop:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}
/* Responsive layout for iPad, mobile, and 480px screens==================================================
  ======================================================================================================= */
@media (max-width: 750px) {
  body {
    font-size: 1.05rem;
  }

  .whatwedo-intro h1 {
    font-size: 2rem;
  }

  .whatwedo-intro p {
    font-size: 1.05rem;
    max-width: 90%;
  }



  .navbar {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #AAB99A;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    padding: 1rem 0;
    text-align: center;
  }

  .nav-links.show {
    display: flex;
  }


}


/* =========================== */
/* ✅ Mobile Screens: ≤ 450px */
/* =========================== */
@media (max-width: 450px) 
{
  body {
    font-size: 1rem;
  }

  .whatwedo-intro h1 {
    font-size: 1.6rem;
  }

  .whatwedo-intro p {
    font-size: 1rem;
  }


  .services-grid > .service-section:nth-of-type(even) .service-content,
  .services-grid > .service-section:nth-of-type(odd) .service-content {
    flex-direction: column !important;
  }


  .text,
  .media {
    width: 100%;
  }

  .media video {
    margin-top: 1rem;
    width: 100%;
    height: auto;
  }

  .service-section {
    padding: 1.5rem 1rem;
    margin: 1.5rem auto;
    max-width: 90%;
    border-radius: 1rem;

  }

  .service-section h2 {
    font-size: 1.3rem;
  }

  .service-subtitle {
    font-size: 0.95rem;
  }

  .service-section p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .service-section video {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
  }

  .industries-heading h2 {
    font-size: 1.6rem;
  }

  .industry-card {
    padding: 1.5rem 1rem;
  }

  .industry-card h3 {
    font-size: 1.1rem;
  }

  .industry-card p {
    font-size: 0.95rem;
  }

  footer {
    font-size: 0.85rem;
  }
}
