/* =========================================
   GLOBAL VARIABLES
   ========================================= */
:root {
  --green-dark: #103f1d;
  --green-light: #edf3f1;
  --orange-primary: #f77037;
}

/* =========================================
   CORE STYLES
   ========================================= */

/* Scroll Animation Utilities */
.transition-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.transition-element.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-100 {
  transition-delay: 0.1s;
}

.delay-200 {
  transition-delay: 0.2s;
}

.delay-300 {
  transition-delay: 0.3s;
}

.delay-400 {
  transition-delay: 0.4s;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  box-sizing: border-box;
}

/* =========================================
   HEADER & NAVBAR
   ========================================= */

.top-navbar {
  background-color: #fff;
  /* Clean white background */
  font-family: 'Tenor Sans', sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  /* Subtle shadow */
  border-bottom: 2px solid var(--orange-primary);
  /* Orange accent */
  height: 80px;
  /* Compact height */
  display: flex;
  align-items: center;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  height: 100%;
}

/* Brand / Logo */
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  height: 100%;
}

.brand-logo {
  height: 50px;
  /* Adjust based on logo proportions */
  width: auto;
  object-fit: contain;
}

.brand-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--green-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Desktop Navigation */
.desktop-nav {
  height: 100%;
  display: flex;
  align-items: center;
}

.desktop-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  gap: 30px;
  height: 100%;
  align-items: center;
}

.desktop-nav a {
  text-decoration: none;
  color: var(--green-dark);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--orange-primary);
}

.desktop-nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--orange-primary);
  transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  width: 100%;
}

/* Mobile Hamburger Menu Icon */
.hamburger-menu {
  display: none;
  /* Hidden on desktop */
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1100;
  /* Above overlay */
}

.hamburger-menu .bar {
  width: 100%;
  height: 3px;
  background-color: var(--green-dark);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Hamburger Animation State */
.hamburger-menu.open .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--orange-primary);
}

.hamburger-menu.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--orange-primary);
}

/* Mobile Nav Drawer */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  /* Dimming overlay */
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-content {
  position: absolute;
  top: 0;
  right: 0;
  width: 75%;
  max-width: 300px;
  height: 100%;
  background-color: #fff;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  padding-top: 100px;
  /* Space for close button/header */
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-overlay.active .mobile-nav-content {
  transform: translateX(0);
}

.mobile-nav-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

.mobile-nav-content li {
  width: 100%;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.mobile-nav-content a {
  display: block;
  padding: 20px;
  text-decoration: none;
  color: var(--green-dark);
  font-size: 18px;
  text-transform: uppercase;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.mobile-nav-content a:hover,
.mobile-nav-content a.active {
  background-color: #f9f9f9;
  color: var(--orange-primary);
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .desktop-nav {
    display: none;
    /* Hide desktop nav */
  }

  .hamburger-menu {
    display: flex;
    /* Show hamburger */
  }

  .header-container {
    padding: 0 20px;
  }

  .brand-logo {
    height: 40px;
    /* Slightly smaller on mobile */
  }

  .brand-text {
    font-size: 20px;
  }

  .top-navbar {
    height: 70px;
    /* Slightly smaller height on mobile */
  }
}

/* Helper Class to Lock Scroll */
body.no-scroll {
  overflow: hidden;
}


body {
  overflow-x: hidden;
  background-color: #edf3f1;
  margin: 0;
  font-family: "Tenor Sans", sans-serif;
  color: #103f1d;
}

/* =========================================
   HOME PAGE (Banner, About, Split Section)
   ========================================= */

.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  /* Full viewport height */
  min-height: 600px;
  background-image: url('../images/Hero-bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  animation: fadeIn 1.5s ease-out forwards;
}

/* overlay using pseudo-element */
/* .hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.5);
  Subtle overlay
  z-index: 1;
} */

/* Remove old .hero-overlay class if present in CSS */

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  /* Constrain width for better centering focus */
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Custom Cursor */
.custom-cursor {
  width: 20px;
  height: 20px;
  border: 2px solid #f77037;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background-color 0.2s ease;
  mix-blend-mode: difference;
}

.custom-cursor.hover {
  background-color: #f77037;
  transform: translate(-50%, -50%) scale(1.5);
  mix-blend-mode: normal;
}

.hero-logo-container {
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeScale 1.2s ease-out forwards;
}

.hero-logo {
  max-width: 250px;
  /* Desktop logo size */
  width: 100%;
  height: auto;
  display: block;
  /* Removes inline spacing issues */
}

.hero-text-container {
  color: #103f1d;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  font-family: inherit;
  font-size: 4rem;
  /* Larger desktop size */
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.4s forwards;
  /* 0.4s delay */
}

.hero-subtitle {
  font-family: inherit;
  font-size: 1.6rem;
  font-weight: 300;
  margin-top: 20px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out 0.7s forwards;
  /* 0.7s delay */
}

.hero-logo {
  max-width: 300px;
  /* Adjust size based on logo aspect ratio */
  height: auto;
  display: inline-block;
}

.hero-text-container {
  color: #103f1d;
  /* Brand Green */
}

.hero-title {
  font-family: inherit;
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.5s forwards;
  /* 0.5s delay */
}

.hero-subtitle {
  font-family: inherit;
  font-size: 1.5rem;
  font-weight: 300;
  margin-top: 15px;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.8s forwards;
  /* 0.8s delay */
}

/* Animations */
@keyframes fadeScale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* =========================================
   MISSION & VISION SECTION (Timeline Style)
   ========================================= */

.mission-vision-section {
  padding: 100px 20px;
  background-color: #f8f8f8;
  /* Light gray for separation */
  overflow: hidden;
}

.mv-timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 50px;
}

/* Vertical Connecting Line */
.mv-timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: rgba(16, 63, 29, 0.2);
  /* Brand Green, low opacity */
  transform: translateX(-50%);
  z-index: 0;
}

/* Card Wrappers */
.mv-card-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}

/* Cards */
.mv-card {
  background-color: #fff;
  width: 100%;
  max-width: 600px;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #103f1d;
  /* Brand Green Accent */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.mv-content h3 {
  font-size: 2.2rem;
  color: #103f1d;
  margin-bottom: 15px;
  font-weight: 700;
}

.mv-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #555;
  margin: 0;
}

/* Scroll Animations */
.transition-element {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.transition-element.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-200 {
  /* Staggered Delay */
  transition-delay: 0.2s;
}

/* Mobile Responsiveness for Timeline */
@media (max-width: 768px) {
  .mv-timeline-line {
    left: 20px;
    /* Line moves to left on mobile */
  }

  .mv-card-wrapper {
    justify-content: flex-end;
    /* Align cards to right of line */
    padding-left: 50px;
    /* Space for line */
    box-sizing: border-box;
  }

  .mv-card {
    width: 100%;
    max-width: 100%;
  }
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
    letter-spacing: 1px;
  }

  .hero-logo {
    max-width: 120px;
  }
}

.about-section {
  display: flex;
  background-color: #edf3f1;
  align-items: center;
  padding: 60px 0;
  width: 100%;
  height: auto;
}

.about-text {
  background-color: #103f1d;
  flex: 1;
  padding: 60px 40px;
  color: #edf3f1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-text h2 {
  font-size: 30px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: bold;
}

.about-text p {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.enquire-btn {
  padding: 14px 40px;
  background-color: #f77037;
  color: #edf3f1;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 20px;
  transition: background-color 0.3s ease;
  justify-content: center;
  display: inline-block;
}

.enquire-btn:hover {
  background-color: #edf3f1;
  color: #0d2f15;
}

.about-image {
  flex: 1;
  text-align: center;
}

.about-image img {
  max-width: 100%;
  height: 500px;
  border-radius: 0 8px 8px 0;
}

.vision-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  height: auto;
  width: 100%;
  background-color: #edf3f1;
}

.mission-vision-banner {
  position: relative;
  background-image: url('../images/Green Beige Modern Mission Instagram Post_20250708_195731_0000.png');
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 2000px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   SERVICES SECTION (Home & General)
   ========================================= */

.services-section {
  padding: 40px 0;
  text-align: center;
  background-color: #edf3f1;
}

.services-header {
  margin-bottom: 30px;
  padding: 0 20px;
}

.services-header h2 {
  font-size: 45px;
  color: #103f1d;
  margin-bottom: 10px;
  font-weight: 700;
}

.services-header p {
  font-size: 20px;
  color: #555;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  max-width: 100%;
  padding: 0 40px;
}

.service-card {
  position: relative;
  height: 350px;
  background-color: #103f1d;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.service-card.card-1 {
  background-image: url('../images/tingey-injury-law-firm-DZpc4UY8ZtY-unsplash.jpg');
}

.service-card.card-2 {
  background-image: url('../images/H2O_20250725_100600_0000.png');
}

.service-card.card-3 {
  background-image: url('../images/pexels-pixabay-247763.jpg');
}

.service-card.card-4 {
  background-image: url('../images/pexels-jonathanborba-15831836.jpg');
}

.service-card.card-5 {
  background-image: url('../images/pexels-hoang-nc-483165236-16057288.jpg');
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 50%, transparent 100%);
  border-radius: 15px;
  z-index: 1;
  transition: background 0.3s ease;
}

.service-card:hover::before {
  background: linear-gradient(to top, rgba(247, 112, 55, 0.8) 0%, rgba(247, 112, 55, 0.4) 50%, transparent 100%);
}

.service-card h3 {
  position: relative;
  z-index: 2;
  color: #edf3f1;
  font-size: 1.4em;
  padding: 20px;
  margin: 0;
  font-weight: 600;
  text-decoration: none;
}

.service-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.service-btn {
  padding: 14px 32px;
  background-color: #f77037;
  color: #edf3f1;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 25px;
  transition: background-color 0.3s ease;
  justify-content: center;
  display: flex;
  margin: 20px auto;
  align-items: center;
  width: fit-content;
}

.service-btn:hover {
  background-color: #0d2f15;
  color: #edf3f1;
}

/* =========================================
   SERVICE PAGE SPECIFIC
   ========================================= */

.our-detailed-services-section {
  background-color: #edf3f1;
  padding: 0px 40px;
}

.services-header-top {
  text-align: center;
  margin-bottom: 50px;
}

.services-header-top h2 {
  color: #103f1d;
  font-size: 2.5em;
  font-weight: 700;
  margin-bottom: 0px;
}

.services-header-top p {
  color: #103f1d;
  font-size: 1.3em;
  font-weight: 200;
  padding: 0px 150px;
  line-height: 1.8;
}

.services-content-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin: 50px auto;
  max-width: 1500px;
}

.service-column {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  box-sizing: border-box;
}

.service-category-block {
  background-color: #edf3f1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Performance: skip rendering off-screen blocks until needed */
  content-visibility: auto;
  contain-intrinsic-size: 520px;
}

.service-image-container {
  width: 100%;
  height: 300px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
  /* Smooth zoom transition */
}

/* Image Zoom on Block Hover */
.service-category-block:hover .service-image-container img {
  transform: scale(1.1);
}

.category-heading {
  background-color: #edf3f1;
  color: #f77037;
  border-bottom: 10px solid #f77037;
  padding: 10px 40px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 2.2rem;
  margin: 15px 0;
  display: inline-block;
  text-align: center;
}

.category-list {
  list-style: none;
  padding: 0 20px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.category-list li {
  padding: 14px 0;
  color: #103f1d;
  border-bottom: 1px solid rgba(16, 63, 29, 0.1);
  font-size: 1.2rem;
}

.category-list li:last-child {
  border-bottom: none;
}

/* =========================================
   BLOG SECTION
   ========================================= */

.blog-section {
  background-color: #edf3f1;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
}

.blog-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 100%;
  width: 100%;
}

.blog-card {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-decoration: none;
  color: #103f1d;
}

.blog-card:hover {
  transform: translateY(-5px);
  background: linear-gradient(to top, rgba(247, 112, 55, 0.8) 0%, rgba(247, 112, 55, 0.4) 50%, transparent 100%);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card h3 {
  font-size: 1.3em;
  padding: 15px;
  color: #103f1d;
  font-weight: 600;
  line-height: 1.5;
}

/* =========================================
   POLLUTION SECTION
   ========================================= */

.map-banner {
  background-image: url('../images/Envlity Intelligence LLP Ankleshwar_20250708_184317_0000.png');
  background-size: contain;
  /* Shows full image */
  background-repeat: no-repeat;
  background-position: center;
  height: 700px;
  /* Keep height or adjust if too much whitespace appears */
  width: 100%;
  /* Use full container width */
  margin-top: 20px;
}

.pollution-section {
  background-color: #edf3f1;
  padding: 40px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pollution-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: -100px;
  height: 100%;
  width: 300px;
  background: radial-gradient(circle at right, #103f1d10 0%, transparent 80%);
  transform: rotate(-25deg);
}

.pollution-section .container {
  max-width: 100%;
  margin: 0 auto;
  color: #103f1d;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pollution-section h2 {
  font-size: 2.5em;
  font-weight: bold;
  color: #103f1d;
  margin-bottom: 30px;
  text-align: center;
}

.pollution-section p {
  font-size: 1.3em;
  line-height: 1.8;
  color: #103f1d;
  max-width: 800px;
  margin: 0px;
  padding: 0 20px;
  text-align: center;
}

/* =========================================
   TESTIMONIAL SECTION
   ========================================= */

.testimonial-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  min-height: 80vh;
  overflow: hidden;
  background-image: url('../images/pexels-fauxels-3184291.jpg');
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 90px 30px;
  box-sizing: border-box;
  box-shadow: inset 10px 0 0 0 #103f1d, inset -10px 0 0 0 #103f1d;
}

.testimonial-section::before,
.testimonial-section::after {
  content: '';
  position: absolute;
  background-color: #103f1d;
  z-index: 0;
  left: 0;
  right: 0;
  height: 10px;
}

.testimonial-section::before {
  top: 0;
}

.testimonial-section::after {
  bottom: 0;
}

.testimonial-card {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  padding: 20px 24px;
  max-width: 960px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.75);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  /* Restored reasonable height */
  gap: 0px;
  /* Use gap for spacing between swiper and pagination */
}

.swiper.testimonial-swiper {
  width: 100%;
  padding: 0 0px;
  /* Restore side padding */
  flex-grow: 1;
  display: flex;
  align-items: center;
  /* Vertically center content if needed */
}

.testimonial-heading {
  color: #edf3f1;
  font-weight: 700;
  letter-spacing: 1px;
  background-color: #103f1d;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  padding: 30px 20px;
  width: 100%;
  box-sizing: border-box;
}

.testimonial-title {
  color: #103f1d;
  font-size: 24px;
  margin-bottom: 30px;
  font-weight: 700;
}

.testimonial-stars {
  font-size: 28px;
  color: #f77037;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: #103f1d;
  margin-bottom: 30px;
}

.testimonial-client {
  color: #103f1d;
  font-size: clamp(0.95rem, 2.1vw, 1.15rem);
  margin: 0;
}

.testimonial-location {
  color: #f77037;
  font-weight: bolder;
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
}

.testimonial-nav .swiper-button-prev,
.testimonial-nav .swiper-button-next {
  color: #103f1d;
}



.swiper-button-prev,
.swiper-button-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.swiper-button-prev {
  left: 0;
}

.swiper-button-next {
  right: 0;
}

.swiper-slide {
  padding: 0 10px;
  box-sizing: border-box;
  word-wrap: break-word;
}

/* =========================================
   FOOTER
   ========================================= */

/* Swiper Pagination */
.swiper-pagination {
  position: static !important;
  margin-top: 10px;
}

.swiper-pagination-bullet {
  background: #f77037 !important;
  opacity: 0.5 !important;
  width: 10px !important;
  height: 10px !important;
}

.swiper-pagination-bullet-active {
  background: #f77037 !important;
  opacity: 1 !important;
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  background-color: #103f1d;
  color: #edf3f1;
  padding: 60px 30px 20px;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Footer entrance animation (works with .transition-element + .visible) */
.site-footer.transition-element {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.site-footer.transition-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ... (Footer styles continue) ... */

/* Responsive Testimonials (Add to end of file or media query section) */
@media (max-width: 768px) {
  .testimonial-section {
    padding: 40px 15px;
    min-height: auto;
  }

  .testimonial-card {
    padding: 20px 16px;
    width: 100%;
    margin: 0 auto;
  }

  .testimonial-heading {
    font-size: 20px;
    padding: 20px 12px;
    letter-spacing: 0.5px;
    border-radius: 10px 10px 0 0;
  }

  /* Hide navigation arrows on small mobile, rely on swipe/dots */
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .swiper-pagination {
    margin-top: 15px;
  }
}

@media (max-width: 480px) {
  .testimonial-section {
    padding: 30px 12px;
    min-height: auto;
  }

  .testimonial-card {
    min-height: auto;
  }

  .testimonial-heading {
    font-size: 1.4rem;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }

  .testimonial-client {
    font-size: 0.9rem;
  }

  .testimonial-location {
    font-size: 1rem;
  }
}

.testimonial-nav .swiper-button-prev {
  left: 0;
}

.testimonial-nav .swiper-button-next {
  right: 0;
}


.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 2200px;
  margin: auto;
}

.footer-logo img {
  width: 100%;
  max-width: 310px;
  height: auto;
  background-color: #103f1d;
  margin-top: 40px;
}

.footer-section {
  flex: 1;
  min-width: 250px;
  max-width: 420px;
}

.footer-section h3 {
  color: #f77037;
  font-size: 32px;
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  font-size: 20px;
  line-height: 1.6;
  color: #edf3f1;
  text-decoration: none;
}

.footer-section a:hover {
  color: #f77037;
}

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

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

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #edf3f1;
  font-size: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: #f77037;
  color: #fff;
  transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #edf3f133;
  margin-top: 40px;
  padding-top: 15px;
  font-size: 15px;
  color: #edf3f1;
}

/* Footer responsive layout */
@media (max-width: 1024px) {
  .footer-container {
    justify-content: center;
    gap: 40px;
  }

  .footer-section {
    min-width: 280px;
  }
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .footer-logo img {
    margin-top: 0;
    max-width: 260px;
  }

  .footer-section h3 {
    font-size: 26px;
  }

  .footer-section p,
  .footer-section a {
    font-size: 18px;
  }

  .footer-bottom {
    margin-top: 25px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 40px 20px 15px;
  }

  .footer-logo img {
    max-width: 220px;
  }

  .footer-section {
    width: 100%;
  }

  .footer-section h3 {
    font-size: 22px;
  }

  .footer-section p,
  .footer-section a {
    font-size: 16px;
  }
}

/* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */

.scroll-top-btn {
  position: fixed;
  right: 30px;
  bottom: 30px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--orange-primary);
  background-color: rgba(16, 63, 29, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease,
    background-color 0.3s ease,
    box-shadow 0.3s ease;
}

.scroll-top-btn img {
  width: 70%;
  height: auto;
  display: block;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  background-color: var(--orange-primary);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
  .scroll-top-btn {
    right: 20px;
    bottom: 20px;
    width: 52px;
    height: 52px;
  }
}

/* =========================================
   ABOUT PAGE
   ========================================= */

.bottom-line {
  border-bottom: 5px solid var(--orange-primary);
}

/* Career Page styles moved to career.css */

.who-section,
.mission-section {
  background-color: var(--green-dark);
  color: var(--green-light);
  padding: 80px 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.who-section .container,
.mission-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

.who-section h2,
.mission-section h2,
.section-title {
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: bold;
  margin-bottom: 30px;
}

.who-section p,
.mission-section p {
  font-size: clamp(1rem, 2.5vw, 1.8rem);
  line-height: 1.8;
  color: var(--green-light);
}

.service-cards-section {
  background-color: var(--green-light);
  padding: 25px 9%;
  text-align: center;
}

.section-title {
  color: var(--green-dark);
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 50px;
}

.cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
  max-width: 1600px;
  margin: 0 auto 50px;
}

/* Specific styles for About Page Service Cards (Strengths) */
.service-cards-section .service-card {
  background-color: transparent !important;
  /* Wrapper is transparent */
  perspective: 1000px;
  padding: 0;
  /* Remove padding from wrapper */
  min-height: 350px;
  height: auto;
  border: none;
  box-shadow: none;
}

.service-cards-section .service-card::before,
.service-cards-section .service-card::after {
  display: none !important;
  content: none !important;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  /* background-color: #103f1d; */
  /* Moved to front/back */
  min-height: 350px;
  display: flex;
  /* Ensure height matches content */
}

.service-cards-section .service-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 15px;
  padding: 30px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #103f1d;
  /* Brand Green */
  top: 0;
  left: 0;
}

.service-card-front {
  color: #edf3f1;
}

.service-card-front h3 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.4;
}

.service-card-back {
  color: #edf3f1;
  transform: rotateY(180deg);
  text-align: left;
  align-items: flex-start;
  /* Align text to start */
  /* overflow-y: auto; removed to see if it fixes visibility */
  background-color: #103f1d;
  z-index: 2;
  /* Ensure it's on top when flipped? No, transform handles it */
}

.service-card-back p {
  color: #edf3f1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  display: block !important;
  opacity: 1 !important;
}

/* =========================================
/* Contact Styles moved to contact.css */

/* =========================================
   CAREER PAGE
   ========================================= */

/* Career Form styles moved to career.css */

/* FAQ Styles moved to faq.css */

/* =========================================
   RESPONSIVE MEDIA QUERIES
   ========================================= */

@media (max-width: 1440px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (max-width: 1200px) {
  .contact-map-container {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .contact-map,
  .contact-form-container {
    flex: 1 1 100%;
    max-width: 800px;
  }

  .contact-map iframe {
    height: 450px;
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .service-card {
    height: 320px;
  }

  .services-header h2 {
    font-size: 2.5em;
  }

  .logo img {
    max-height: 90px;
  }

  .main-nav ul {
    gap: 20px;
  }

  .main-nav a {
    font-size: 1.2rem;
  }

  .header-right {
    font-size: 0.9rem;
  }

  .services-header-top h2 {
    font-size: 2.5rem;
  }

  .services-header-top p {
    font-size: 1.2rem;
    padding: 0 5%;
  }

  .category-heading {
    font-size: 1.8rem;
  }

  .category-list li {
    font-size: 1.1rem;
  }

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

  .career-text {
    text-align: left;
    padding-right: 40px;
  }

  /* FAQ tablet */
  .faq-title {
    font-size: 4rem;
  }

  .faq-question,
  .faq-answer {
    font-size: 1.5rem;
    padding: 30px;
  }
}

@media (max-width: 991px) {
  .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav {
    width: 100%;
    text-align: left;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
  }

  .header-right {
    margin-top: 15px;
  }

  .logo img {
    height: 80px;
  }

  .career-content-wrapper {
    flex-direction: column;
  }

  .career-text {
    padding-right: 0;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .about-section {
    flex-direction: column;
  }

  .about-text,
  .about-image {
    padding: 30px;
    text-align: center;
  }

  .about-text h2 {
    font-size: 28px;
  }

  .about-text p {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .service-card {
    height: 280px;
  }

  .services-header h2 {
    font-size: 2em;
  }

  .blog-container {
    grid-template-columns: 1fr;
  }

  .map-banner {
    width: 100%;
    height: 300px;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .main-nav ul {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
  }

  .header-right {
    flex-direction: column;
    text-align: center;
    margin-top: 15px;
  }

  .services-content-columns,
  .service-column {
    flex-direction: column;
    gap: 30px;
    width: 100%;
  }

  .contact-form-container {
    padding: 30px;
  }

  .form-header h2 {
    font-size: 2.5em;
  }

  .contact-card-section {
    flex-direction: column;
    gap: 30px;
    padding: 40px 15px;
  }

  .contact-card {
    max-width: 100%;
  }

  .contact-map iframe {
    height: 350px;
  }

  /* FAQ mobile */
  .faq-title {
    font-size: 3rem;
  }

  .faq-question,
  .faq-answer {
    font-size: 1.2rem;
    padding: 20px;
  }

  .faq-question .icon {
    font-size: 30px;
  }

  /* Service Page Mobile */
  .services-header-top p {
    padding: 0 20px;
  }

  .service-image-container {
    height: 220px;
  }

  .category-heading {
    font-size: 1.5rem;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .service-card h3 {
    font-size: 1.1em;
  }

  .testimonial-card {
    padding: 15px;
  }

  .testimonial-text {
    font-size: 16px;
  }

  .contact-map iframe {
    height: 250px;
  }

  .form-header h2 {
    font-size: 2em;
  }

  .contact-intro-section h2 {
    font-size: 50px;
  }

  .contact-intro-section p {
    padding: 0;
    font-size: 18px;
  }
}

/* =========================================
   POPUP MODAL
   ========================================= */

.popup-overlay {
  display: none;
  /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black */
  z-index: 9999;
  /* Topmost */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}

.popup-content {
  background-color: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
  transform: scale(0.8);
  animation: popupScale 0.3s forwards;
}

.popup-icon {
  font-size: 60px;
  color: #103f1d;
  margin-bottom: 20px;
}

.popup-content h3 {
  color: #f77037;
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: 700;
}

.popup-content p {
  color: #555;
  font-size: 18px;
  margin-bottom: 30px;
}

#closePopupBtn {
  background-color: #103f1d;
  color: #fff;
  border: none;
  padding: 10px 30px;
  border-radius: 30px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#closePopupBtn:hover {
  background-color: #f77037;
}

@keyframes popupScale {
  to {
    transform: scale(1);
  }
}

/* =========================================
   RESPONSIVE FORM
   ========================================= */

@media (max-width: 768px) {
  .from-career-group {
    flex-direction: column;
    gap: 15px;
  }

  .from-career-group input {
    flex: 1 1 100%;
    /* Full width on mobile */
  }

  /* Ensure button is responsive */
  .from-career-submit-btn {
    width: 100%;
    min-width: unset;
  }
}

/* =========================================