@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

:root {
  /* --- Theme Colors --- */
  --primary-green: #006B5D;
  --dark-green: #004538;
  --text-light: #666;
  --light-green: #E0F2F1;
  --accent-orange: #FF8C00;
  --text-dark: #333;
  --text-gray: #666;
  --footer-bg: #060f37;
  --white: #fff;
  --border-color: #eee;

  /* --- Dimensions --- */
  --container-width: 1250px;
  --top-bar-height: 38px;
  /* Approximate height for positioning */
  --header-height: 80px;
}

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

body {
  background-color: #f9f9f9;
  color: var(--text-dark);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
  font-family: inherit;
}

/* Utility Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

/* Button Utility */
.btn-orange {
  background: var(--accent-orange);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-orange:hover {
  background: #e07b00;
}

/* =========================================
   1. TOP BAR
   ========================================= */
.top-bar {
  background: #7ab706;
  color: var(--white);
  height: var(--top-bar-height);
  font-size: 13px;
  display: flex;
  align-items: center;
  position: fixed;
  /* Fixed to top */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  /* Highest priority */
}

.top-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.address {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.social-icons a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

/* =========================================
   2. MAIN HEADER
   ========================================= */
.site-header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  position: fixed;
  /* Fixed below top bar */
  top: var(--top-bar-height);
  left: 0;
  width: 100%;
  z-index: 1050;
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* --- Logo Styling --- */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-icon {
  font-size: 32px;
  color: var(--primary-green);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text .line-1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-green);
  text-transform: uppercase;
}

.logo-text .line-2 {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* --- Desktop Navigation --- */
.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
  margin: 0 25px;
}

.nav-links>a,
.nav-item>a {
  font-weight: 500;
  font-size: 15px;
  color: var(--text-dark);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  /* Prevents menu break */
}

/* Hover & Active States */
.nav-links>a:hover,
.nav-item>a:hover,
.nav-links>a.active,
.nav-item>a.active {
  color: var(--primary-green);
}

.nav-item>a i {
  font-size: 12px;
  margin-left: 4px;
  color: #999;
}

/* --- Dropdown Menu (Desktop) --- */
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.dropdown {
  position: absolute;
  top: 100%;
  /* Bottom of nav item */
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--white);
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  border-top: 3px solid var(--primary-green);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 10px 0;
}

/* Show dropdown on hover or focus */
.nav-item:hover .dropdown,
.nav-item.open .dropdown,
/* For keyboard/JS support */
.nav-item>a[aria-expanded="true"]+.dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  color: var(--text-dark);
  font-size: 14px;
  transition: 0.2s;
  white-space: nowrap;
}

.dropdown a:hover {
  background: var(--light-green);
  color: var(--primary-green);
  padding-left: 25px;
  /* Slight shift effect */
}

/* --- Right Group (Hotline + Drawer Toggle) --- */
.right-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Hotline */
.hotline {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: right;
}

.hotline-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.hotline-label {
  font-size: 12px;
  color: var(--text-gray);
  font-weight: 600;
}

.hotline-number {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
}

.hotline-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

/* Mobile Toggle Button */
.drawer-open {
  font-size: 24px;
  color: var(--primary-green);
  display: none;
  /* Hidden on desktop */
  padding: 5px;
}

/* =========================================
   3. MOBILE DRAWER (Off-Canvas)
   ========================================= */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--white);
  z-index: 1200;
  box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
  transform: translateX(-100%);
  /* Hidden by default */
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
  /* Slide in */
}

.drawer-inner {
  padding: 20px;
  position: relative;
}

.drawer-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 20px;
  color: #888;
  width: 30px;
  height: 30px;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-close:hover {
  background: #ddd;
  color: red;
}

.drawer-logo {
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

/* Adjust logo size inside drawer */
.logo-link.small .logo-icon {
  font-size: 24px;
}

.logo-link.small .line-1 {
  font-size: 16px;
}

.logo-link.small .line-2 {
  font-size: 9px;
}

/* Mobile Nav Links */
.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer-nav>a,
.drawer-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid #f5f5f5;
  width: 100%;
  text-align: left;
}

.drawer-nav>a:hover,
.drawer-toggle:hover {
  color: var(--primary-green);
}

/* Mobile Submenu (Accordion) */
.drawer-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #fafafa;
  margin: 0 -20px;
  /* Stretch to edges */
  padding: 0 20px;
  /* Inner padding */
}

.drawer-item.open .drawer-toggle {
  color: var(--primary-green);
}

.drawer-item.open .drawer-toggle i {
  transform: rotate(180deg);
  transition: 0.3s;
}

.drawer-sub a {
  display: block;
  padding: 10px 0 10px 15px;
  font-size: 14px;
  color: var(--text-gray);
  border-bottom: 1px dashed #eee;
}

.drawer-sub a:last-child {
  border-bottom: none;
}

.drawer-sub a:hover {
  color: var(--accent-orange);
  padding-left: 20px;
}

.drawer-cta {
  margin-top: 30px;
  text-align: center;
}

.drawer-cta .btn-orange {
  width: 100%;
  justify-content: center;
}

/* Overlay (Backdrop) */
.drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1150;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

.drawer-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Spacer for Fixed Header */
.header-spacer {
  display: block;
  /* Height is set via JS */
}

/* =========================================
   4. RESPONSIVE BREAKPOINTS
   ========================================= */

/* Tablet & Mobile (Below 1100px or 991px depending on menu width) */
@media (max-width: 1024px) {

  /* Hide Desktop Nav */
  #mainNav {
    display: none;
  }

  /* Show Mobile Toggle */
  .drawer-open {
    display: block;
  }

  /* Adjust Container Padding */
  .container {
    padding: 0 20px;
  }

  /* Hide Address Text on very small screens if needed, 
     but keep social icons or adjust flex */
  .top-flex {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  /* Optional: Hide top bar on mobile to save space */
  .site-header {
    top: 0;
    height: 70px;
  }

  /* Reset header top if topbar hidden */

  /* If Top Bar hidden, specific Fix for spacer JS: */
  /* The JS will automatically calculate 0 height for topBar, so this is safe. */

  .hotline-text {
    display: none;
  }

  /* Hide phone number text on mobile, just show icon */
  .hotline-icon {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .logo-text .line-1 {
    font-size: 16px;
  }

  .logo-text .line-2 {
    font-size: 9px;
  }

  .logo-icon {
    font-size: 26px;
  }
}

body {
  background-color: #f8f9fa;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 15px;
}

.section-padding {
  padding: 20px 0;
}

.text-center {
  text-align: center;
}

.heading-green {
  color: var(--primary-green);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
  display: inline-block;
  margin-bottom: 10px;
}

.main-title {
  font-size: 36px;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

/* Buttons */
.btn {
  padding: 12px 25px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 5px;
  font-size: 15px;
}

.btn-orange {
  background: var(--accent-orange);
  color: var(--white);
}

.btn-orange:hover {
  background: #e07b00;
  transform: translateY(-3px);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-green);
}

.btn-green {
  background: var(--primary-green);
  color: white;
}

.btn-green:hover {
  background: var(--dark-green);
}

/* ================= HERO SECTION (With Slider) ================= */
.hero {
  position: relative;
  padding: 160px 0 200px 0;
  /* Extra bottom padding for overlap */
  color: white;
  overflow: hidden;
}

/* Slider Background */
.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* Dark Overlay on top of images */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 69, 56, 0.85);
  /* Green tint */
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.hero-content {
  max-width: 600px;
  animation: fadeInUp 1s ease-out;
}

.hero h1 {
  font-size: 52px;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  animation: slideInRight 1s ease-out;
}

.stat-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 25px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 180px;
}

.stat-box h3 {
  font-size: 28px;
  font-weight: 700;
  color: white;
}

.stat-box p {
  font-size: 13px;
  color: var(--accent-orange);
  font-weight: 600;
  text-transform: uppercase;
  margin-top: 5px;
}

/* ================= FEATURES STRIP (Overlapping) ================= */
.features-strip {
  margin-top: -100px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 35px;
  border-radius: 10px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 20px;
  transition: 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
}

.f-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-green);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
}

.f-text h4 {
  font-size: 18px;
  color: var(--text-dark);
  line-height: 1.3;
  font-weight: 700;
}

/* ================= ABOUT SECTION ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 10px;
  height: 260px;
  object-fit: fill;
}

.exp-badge {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  padding: 15px 30px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 80%;
}

.exp-badge h1 {
  font-size: 40px;
  color: var(--accent-orange);
  line-height: 1;
  font-weight: 900;
}

.exp-badge p {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 1px;
}

.about-text ul li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.about-text ul li i {
  color: var(--primary-green);
  font-size: 18px;
}

/* ================= SERVICES SECTION ================= */
.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.service-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.service-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eee;
  transition: 0.3s;
}

.service-card:hover {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.service-img {
  height: 180px;
  position: relative;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-icon {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-green);
  color: white;
  padding: 10px;
  border-radius: 4px;
}

.service-body {
  padding: 25px;
}

.notification-box {
  background: white;
  border-top: 5px solid var(--primary-green);
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.notif-item {
  padding: 15px 0;
  border-bottom: 1px solid #eee;
  color: var(--primary-green);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

/* ================= WHY CHOOSE US ================= */
.why-us {
  background: var(--primary-green);
  color: white;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.video-box {
  position: relative;
}

.video-box img {
  width: 100%;
  border-radius: 15px;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: white;
  color: var(--primary-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }

  70% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.why-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
}

/* ================= TEAM SECTION (Slider Style) ================= */
.team-section {
    position: relative;
    overflow: hidden; /* Hide scrollbar */
    padding: 60px 0;
}

.team-slider-viewport {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    padding: 10px 0 40px 0; /* Space for shadow/hover effect */
}

.team-track {
    display: flex;
    gap: 30px; /* Gap between cards */
    transition: transform 0.5s ease-in-out; /* Smooth sliding animation */
    width: max-content; /* Ensure it stays in one line */
}

.team-card {
    background: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: 0.3s;
    /* Important for slider: */
    min-width: 280px; /* Card ki fixed choudai */
    flex-shrink: 0;   /* Card picchke nahi */
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.team-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Dots Navigation (Optional styling) */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: -20px;
}
.dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.dot.active {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* ================= PROCESS SECTION (Fixed Alignment) ================= */
.process-bg {
  background: var(--primary-green);
  color: white;
}

.process-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 70px;
  /* Space for circles */
  gap: 20px;
}

.step-card {
  background: white;
  padding: 40px 20px 30px 20px;
  border-radius: 10px;
  width: 100%;
  position: relative;
  text-align: center;
  color: var(--text-dark);
}

.step-num {
  width: 60px;
  height: 60px;
  background: var(--accent-orange);
  color: white;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -30px;
  /* Half outside */
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid white;
  z-index: 2;
}

/* ================= TESTIMONIALS ================= */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.testi-cards {
  display: flex;
  gap: 30px;
}

.testi-card {
  background: #EAEAEA;
  padding: 30px;
  border-radius: 15px;
  flex: 1;
}

.user-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.user-av {
  width: 50px;
  height: 50px;
  background: #ccc;
  border-radius: 50%;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .hero-flex {
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-grid,
  .why-grid,
  .service-layout,
  .testi-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-wrap: wrap;
  }

  .step-card {
    width: 48%;
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .features-strip {
    margin-top: 0;
    margin-bottom: 40px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .step-card {
    width: 100%;
  }

  .testi-cards {
    flex-direction: column;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------ */
/* ================= CTA STRIP ================= */
.cta-strip {
    background: #060f37; /* Matches your header green */
    color: #fff;
    padding: 30px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-strip small {
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 5px;
}

.cta-strip h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 700;
}

.btn.btn-orange {
    background: var(--accent-orange);
    color: #fff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.btn.btn-orange:hover {
    background: #e07b00;
    transform: translateY(-2px);
}

/* ================= FOOTER MAIN ================= */
footer.site-footer {
    background-color: #060f37; /* Deep Dark Green from Screenshot */
    color: #ffffff;
    font-size: 14px;
    line-height: 1.6;
}

.footer-grid {
    display: grid;
    /* First column is wider (2fr) to hold the logo and long text */
    grid-template-columns: 2fr 1fr 1fr 1fr; 
    gap: 40px;
    padding: 60px 0;
}

/* Column 1: Brand Styling */
.brand-flex {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.footer-logo {
    width: 140px;  /* Adjust size based on your logo image */
    height: auto;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.2); /* Optional: matches the circle look */
    padding: 5px;
}

.desc-text {
    color: #e0e0e0;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-contact .phone-number {
    display: block;
    font-size: 20px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 5px;
}

.footer-contact .email-link {
    color: #e0e0e0;
    text-decoration: none;
    font-size: 14px;
}

/* Other Columns Styling */
.footer-col h4 {
    color: #ffffff;
    margin: 0 0 20px;
    font-size: 18px;
    font-weight: 700;
}

.footer-links ul, .hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #e0e0e0;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: var(--accent-orange);
    padding-left: 5px;
}

.hours-list li {
    color: #e0e0e0;
    margin-bottom: 10px;
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
    background-color: #7ab706; /* Slightly darker than main footer */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    font-size: 13px;
    color: #ffffff;
}

.footer-bottom .credits {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom a {
    color: #000412;
    text-decoration: none;
}
.footer-bottom a:hover { color: #fff; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablet */
        gap: 30px;
    }
    .brand-flex {
        flex-direction: row; /* Keep logo next to text on tablet */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
    .brand-flex {
        flex-direction: column; /* Stack logo on top of text on mobile */
        align-items: center;
        text-align: center;
    }
    .footer-logo {
        width: 130px;
    }
    .cta-bar {
        flex-direction: column;
        text-align: center;
    }
    .footer-bottom .credits {
        flex-direction: column;
        text-align: center;
    }
    .btn.btn-orange {
        width: 100%;
        justify-content: center;
    }
}

/* small accessibility helper */
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}


/* ------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------ */
@media (max-width: 1200px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 991px) {

  /* Header adjustments */
  .nav-toggle {
    display: inline-flex;
    margin-left: 8px;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid #eee;
    display: none;
    z-index: 1100;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 18px;
    border-top: 1px solid #f5f5f5;
    font-size: 15px;
  }

  .nav-item .dropdown {
    position: static;
    box-shadow: none;
    border-radius: 0;
    padding-left: 12px;
    display: none;
    background: transparent;
  }

  .nav-item.open .dropdown {
    display: block;
  }

  .nav-item:hover .dropdown {
    display: none;
  }

  /* disable hover dropdown on touch */
  .hotline {
    display: none;
  }

  /* hide hotline on small screens to save space */

  /* Layout stacks */
  .about-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    flex-direction: column;
    gap: 18px;
  }

  .testimonials-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 36px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-features {
    flex-direction: column;
    margin-top: 10px;
    margin-bottom: 30px;
  }

  .logo-text .line-1 {
    font-size: 16px;
  }

  .logo-text .line-2 {
    font-size: 12px;
  }

  .top-flex {
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 70px 0 40px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .header-spacer {
    height: 12px;
  }

  .container {
    padding: 0 12px;
  }
}

/* Small final polish */
.hidden-mobile {
  display: inline-block;
}

@media (max-width:991px) {
  .hidden-mobile {
    display: none;
  }
}

/* Logo Image Styling */
.logo-img {
    height: 52px; /* Adjusts height to fit within the 80px header */
    width: auto;  /* Maintains aspect ratio */
    object-fit: contain;
    margin-right: 12px; /* Space between image and text */
}

/* Adjust text size if necessary */
.logo-text .line-1 {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-green);
    text-transform: uppercase;
    line-height: 1;
}

/* Mobile Responsiveness for Logo */
@media (max-width: 768px) {
    .logo-img {
        height: 40px; /* Smaller logo on mobile */
    }
    .logo-text .line-1 {
        font-size: 16px;
    }
    .logo-text .line-2 {
        font-size: 10px;
    }
}


/* ===== CENTER ALIGNED PAGE HEADER ===== */
.page-header{
    position:relative;
    padding:90px 0;
    text-align:center;
    background:
        linear-gradient(rgba(10,107,85,0.75), rgba(10,107,85,0.75)),
        url("") center center / cover no-repeat;
}

/* Keep content above overlay */
.page-header .container{
    position:relative;
    z-index:2;
}

/* Heading */
.page-header h1{
    color:#ffffff;
    font-size:40px;
    font-weight:800;
    margin-bottom:15px;
}

/* Breadcrumb center */
.page-header .breadcrumb{
    background:rgba(255,255,255,0.18);
    padding:8px 20px;
    border-radius:30px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin:0 auto;
}

/* Breadcrumb text */
.page-header .breadcrumb li{
    color:#eaf6f2;
    font-size:14px;
    font-weight:500;
}

/* Breadcrumb links */
.page-header .breadcrumb li a{
    color:#bff0e3;
    text-decoration:none;
}
.page-header .breadcrumb li a:hover{
    color:#ffffff;
}

/* Current page */
.page-header .breadcrumb li:last-child{
    color:#ffffff;
    font-weight:600;
}

/* ================= BOARD OF DIRECTORS ================= */
.board-grid {
    display: grid;
    /* 3 Columns for Board Members looks more professional */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}

.board-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: 0.3s;
    border: 1px solid #eee;
}

.board-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.board-img-wrapper {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.board-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: 0.5s;
}

.board-card:hover .board-img-wrapper img {
    transform: scale(1.1);
}

/* Social Icons Overlay */
.social-overlay {
    position: absolute;
    bottom: -50px; /* Hidden initially */
    left: 0;
    width: 100%;
    background: rgba(0, 107, 93, 0.9); /* Primary Green */
    padding: 10px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: 0.3s;
}

.board-card:hover .social-overlay {
    bottom: 0; /* Slide up on hover */
}

.social-overlay a {
    color: white;
    font-size: 16px;
}

.social-overlay a:hover {
    color: var(--accent-orange);
}

.board-info {
    padding: 25px;
    text-align: center;
}

.board-info h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.board-info .designation {
    display: block;
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.board-info p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
    .board-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Columns on Tablet */
    }
}

@media (max-width: 600px) {
    .board-grid {
        grid-template-columns: 1fr; /* 1 Column on Mobile */
    }
    .page-header {
        padding: 50px 0;
    }
    .page-header h1 {
        font-size: 28px;
    }
}

