* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Colors (matched to the provided PNG) */
  --page-bg: #053f3c; /* deep teal page background */
  --dark-green: #0f4f3f; /* dark/section green */
  --medium-green: #3e8c5f; /* button/cta green */
  --gradient-green: #3f8f65; /* hero gradient start */
  --gradient-blue: #122256; /* hero gradient end (navy) */
  --accent-blue: #4b5bd6; /* bright blue for service items */
  --light-bg: #e9e9e9; /* light section background */
  --white: #ffffff;
  --muted: #9aa0a3;
  --text-dark: #071717;
  --text-light: #6b716f;

  /* Spacing */
  --s-xs: 0.5rem;
  --s-sm: 1rem;
  --s-md: 2rem;
  --s-lg: 3.5rem;
  --s-xl: 6rem;
  /* radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;
}

/* Base */
html,
body {
  height: 100%;
}
body {
  font-family:
    Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial;
  color: var(--text-dark);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Utility container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ========================================
   FLOATING NAVIGATION BAR — TRUE APPLE STYLE
======================================== */
nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  height: 80px;
  width: 92%;
  max-width: 1200px;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);

  border-radius: 40px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);

  display: flex;
  align-items: center;
  padding: 0 30px;
  z-index: 1000;
  transition: all 0.35s ease;
}

nav.scrolled {
  top: 12px;
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

/* ========================================
   LOGO STYLING
======================================== */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark-green);
  margin-right: auto;
  z-index: 1002;
}

.logo img {
  height: 95px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.logo span {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.5px;
  color: var(--dark-green);
  transition: color 0.3s ease;
}

/* ========================================
   NAVIGATION LINKS (DESKTOP)
======================================== */
.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* DESKTOP NAV LINKS - NO UNDERLINES */
.nav-links a {
  text-decoration: none !important;
  font-weight: 650;
  font-size: 20px;
  letter-spacing: 0.3px;
  transition: all 0.25s ease;
  position: relative;
  border: none;
  outline: none;
}

/* Remove any browser default underlines */
.nav-links a:link,
.nav-links a:visited,
.nav-links a:hover,
.nav-links a:active {
  text-decoration: none !important;
  border-bottom: none !important;
  box-shadow: none;
}

/* Ensure no pseudo-elements create underlines */
.nav-links a::before,
.nav-links a::after {
  content: none !important;
  display: none !important;
}

.nav-links a:hover {
  transform: translateY(-1px);
  text-decoration: none !important;
}

/* ========================================
   DYNAMIC NAVBAR TEXT COLORS (DESKTOP ONLY)
======================================== */

/* Default - Light Background */
nav .logo span,
nav .nav-links a {
  color: var(--dark-green);
  transition: color 0.3s ease;
}

nav .nav-links a:hover {
  color: var(--accent-blue);
}

nav .nav-links a.active {
  color: var(--accent-blue);
  font-weight: 700;
}

/* Dark Background (white-text class) */
nav.white-text .logo span,
nav.white-text .nav-links a {
  color: var(--white);
}

nav.white-text .nav-links a:hover,
nav.white-text .nav-links a.active {
  color: var(--accent-blue);
  font-weight: 700;
}

/* ========================================
   CONTACT BUTTON
======================================== */
.nav-contact-btn {
  background: var(--accent-blue);
  padding: 15px 35px;
  border-radius: 40px;
  color: white !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.2px;
  margin-left: 70px;
  transition: all 0.25s ease;
}

.nav-contact-btn:hover {
  background: #4a5cc7;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(91, 111, 216, 0.35);
  text-decoration: none !important;
}

/* ========================================
   HAMBURGER MENU TOGGLE
======================================== */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1002;
  margin-left: auto;
}

.menu-toggle span {
  width: 26px;
  height: 3px;
  background: var(--dark-green);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Green hamburger on light backgrounds (default) */
nav .menu-toggle span {
  background: var(--dark-green);
}

/* White hamburger on dark backgrounds */
nav.white-text .menu-toggle span {
  background: var(--white);
}

/* ========================================
   RESPONSIVE BREAKPOINTS
======================================== */

/* Large Screens: Above 1280px - Full desktop layout */
@media (min-width: 1281px) {
  .nav-links {
    gap: 38px;
  }

  .nav-links a {
    font-size: 20px;
  }

  .nav-contact-btn {
    padding: 15px 35px;
    font-size: 18px;
    margin-left: 70px;
  }
}

/* Medium-Large Screens: 1025px - 1280px */
@media (max-width: 1280px) and (min-width: 1025px) {
  .nav-links {
    gap: 28px;
  }

  .nav-links a {
    font-size: 18px;
  }

  .nav-contact-btn {
    padding: 13px 28px;
    font-size: 16px;
    margin-left: 50px;
  }
}

/* Tablets: 951px - 1024px */
@media (max-width: 1024px) and (min-width: 951px) {
  .nav-links {
    gap: 22px;
  }

  .nav-links a {
    font-size: 17px;
  }

  .nav-contact-btn {
    padding: 12px 24px;
    font-size: 15px;
    margin-left: 30px;
  }

  nav {
    padding: 0 25px;
    height: 75px;
  }

  .logo img {
    height: 85px;
  }
}

/* ========================================
   MOBILE MODE: 950px and below
   FIXED CONSISTENT PROFESSIONAL DROPDOWN
======================================== */
@media (max-width: 950px) {
  /* Hide desktop contact button */
  .nav-contact-btn {
    display: none;
  }

  /* Show hamburger menu */
  .menu-toggle {
    display: flex;
  }

  /* MOBILE DROPDOWN - ALWAYS CONSISTENT GRADIENT */
  .nav-links {
    /* Hide by default */
    display: none;
    
    /* Positioning - Fixed to avoid inconsistencies */
    position: fixed;
    right: 20px;
    left: auto;
    top: 95px;
    transform: none;

    /* Layout */
    flex-direction: column;
    gap: 0;
    width: 280px;
    max-width: calc(100vw - 40px);

    /* ALWAYS GRADIENT - Works on all backgrounds */
    background: linear-gradient(
      135deg,
      rgba(63, 143, 101, 1) 0%,
      rgba(18, 34, 86, 1) 100%
    ) !important;
    
    /* Glass effect */
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);

    /* Styling */
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
      0 20px 60px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
    z-index: 999;
  }

  /* Show mobile menu when active */
  .nav-links.active {
    display: flex !important;
    animation: slideDown 0.3s ease;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Mobile nav link items */
  .nav-links li {
    width: 100%;
    text-align: left;
  }

  /* MOBILE NAV LINKS - ALWAYS WHITE TEXT, NO UNDERLINES */
  .nav-links a {
    /* Reset desktop styles */
    transform: none !important;
    
    /* Mobile styles */
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
    border-radius: 12px;
    margin: 3px 0;
    transition: all 0.25s ease;
    letter-spacing: 0.3px;
    position: relative;
    border: none !important;
  }

  /* Remove all possible underline sources on mobile */
  .nav-links a::before,
  .nav-links a::after {
    display: none !important;
    content: none !important;
  }

  .nav-links a:link,
  .nav-links a:visited,
  .nav-links a:hover,
  .nav-links a:active {
    text-decoration: none !important;
    border-bottom: none !important;
  }

  /* Hover state */
  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 1) !important;
    transform: translateX(5px) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    text-decoration: none !important;
  }

  /* Active link */
  .nav-links a.active {
    background: rgba(75, 91, 214, 0.4) !important;
    color: rgba(255, 255, 255, 1) !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 12px rgba(75, 91, 214, 0.35);
    text-decoration: none !important;
  }

  .nav-links a.active::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 18px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 2px;
  }

  /* FORCE CONSISTENT STYLES - Override any parent classes */
  nav.white-text .nav-links,
  nav.scrolled .nav-links,
  nav .nav-links {
    background: linear-gradient(
      135deg,
      rgba(63, 143, 101, 1) 0%,
      rgba(18, 34, 86, 1) 100%
    ) !important;
  }

  nav.white-text .nav-links a,
  nav.scrolled .nav-links a,
  nav .nav-links a {
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
  }

  nav.white-text .nav-links a:hover,
  nav.scrolled .nav-links a:hover,
  nav .nav-links a:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    color: rgba(255, 255, 255, 1) !important;
    text-decoration: none !important;
  }

  nav.white-text .nav-links a.active,
  nav.scrolled .nav-links a.active,
  nav .nav-links a.active {
    background: rgba(75, 91, 214, 0.4) !important;
    color: rgba(255, 255, 255, 1) !important;
    text-decoration: none !important;
  }

  /* Adjust nav size */
  nav {
    padding: 0 20px;
    height: 70px;
  }

  .logo img {
    height: 75px;
  }

  .logo span {
    font-size: 16px;
  }
}

/* Medium Mobile: 601px - 768px */
@media (max-width: 768px) and (min-width: 601px) {
  nav {
    padding: 0 18px;
    height: 68px;
  }

  .logo img {
    height: 72px;
  }

  .nav-links {
    top: 90px;
    right: 18px;
  }
}

/* Small Mobile: 421px - 600px */
@media (max-width: 600px) and (min-width: 421px) {
  nav {
    padding: 0 15px;
    height: 65px;
    width: 95%;
  }

  .logo img {
    height: 65px;
  }

  .logo span {
    font-size: 14px;
  }

  .nav-links {
    width: 260px;
    top: 82px;
    right: 15px;
  }

  .nav-links a {
    font-size: 15px;
    padding: 14px 18px;
  }
}

/* Extra Small Mobile: Below 420px */
@media (max-width: 420px) {
  nav {
    padding: 0 12px;
    height: 60px;
  }

  .logo img {
    height: 55px;
  }

  .logo span {
    font-size: 13px;
  }

  .nav-links {
    width: calc(100vw - 30px);
    right: 15px;
    top: 75px;
  }

  .nav-links a {
    font-size: 15px;
    padding: 13px 16px;
  }
}
/* ===========================
   HERO
   =========================== */
.hero {
  padding: 110px 5% var(--s-lg);
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* big card like the PNG */
.hero-container {
  height: 100%;
  max-height: 1400px;
  width: 100%;
  max-width: 1400px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  align-items: stretch;
  background: linear-gradient(
    135deg,
    var(--gradient-green) 10%,
    rgba(58, 92, 123, 0.12) 50%,
    var(--gradient-blue) 100%
  );
}

/* left content */
.hero-content {
  padding: clamp(36px, 4.5vw, 56px);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  max-width: 520px;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-md);
}
.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--s-md);
  max-width: 520px;
  font-size: 15px;
  line-height: 1.7;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Primary Button - Fixed gradient syntax */
.btn-primary {
  background: linear-gradient(180deg, var(--accent-blue), #4a5cc7);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(2, 20, 16, 0.12);
}

/* Secondary Button - Fixed gradient syntax */
.btn-secondary {
  background: linear-gradient(180deg, var(--accent-blue), #4a5cc7);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(2, 20, 16, 0.12);
}

/* Services Content Button Override */
.services-content .btn-primary {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  margin-top: 50px;
  width: 200px;
}

/* Hover Effects */
.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #4a5cc7, #3949ab) !important;
  box-shadow: 0 8px 20px rgba(91, 111, 216, 0.35);
}

.btn-secondary:hover {
  background: linear-gradient(180deg, #4a5cc7, #3949ab) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.services-content .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(2, 20, 16, 0.2);
}

/* right image block */
.hero-image {
  min-height: 100%;
  display: flex;
  align-items: stretch;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  filter: contrast(1.02) saturate(1.02);
}

/* ===========================
   SERVICES SECTION
   =========================== */
.services-section {
  padding: var(--s-xl) 5%;
  background: var(--light-bg);
}

/* Header - Outside the gradient box */
.services-header {
  text-align: center;
  margin-bottom: var(--s-lg);
  color: var(--dark-green);
}
.services-header > p {
  font-size: 1rem;
  font-weight: 500;
  color: black;
  margin-bottom: 0.25rem;
}
.services-header > p2 {
  font-size: 1rem;
  font-weight: 500;
  color: black;
  margin-bottom: 0.25rem;
}

.services-header h2 {
  font-size: clamp(1.9rem, 4.4vw, 2.8rem); /* responsive headline */
  margin-bottom: 0.6rem;
  line-height: 1.12;
}

/* Valid subtext element */
.services-header .services-subtext {
  color: var(--text-dark);
  font-size: clamp(0.95rem, 1vw, 1.15rem);
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Gradient Container - Like hero-container */
.services-container {
  height: 100%;
  max-height: 700px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--gradient-green) 0%,
    var(--gradient-blue) 100%
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
  align-items: stretch;
}

/* LEFT SIDE: Text Content */
.services-content {
  padding: clamp(20px, 4vw, 60px); /* no huge upper limit */
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Heading inside the gradient */
.services-content h3 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 2rem;
  max-width: 680px;
}

/* Paragraph inside the gradient */
.services-content p {
  font-size: clamp(0.98rem, 1.1vw, 1.15rem);
  line-height: 1.8;
  opacity: 0.98;
  margin-bottom: 4rem; /* Increased from 1.25rem */
  max-width: 680px;
}
/* Hover */
.services-content a.explore-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* RIGHT SIDE: Service Buttons */
.services-buttons {
  padding: clamp(18px, 3.2vw, 36px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-content: center;
}

.service-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: var(--r-sm);
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-btn:hover {
  background: #3f50c9; /* Darker blue on hover */
  transform: translateX(10px); /* Slide more on hover */
  box-shadow: 0 10px 30px rgba(75, 91, 214, 0.4);
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1080px) {
  .services-container {
    grid-template-columns: 1fr;
  }

  .services-content {
    text-align: center;
    padding: clamp(18px, 5vw, 40px);
  }

  .services-content h3,
  .services-content p,
  .services-header .services-subtext {
    max-width: 100%;
  }

  .services-buttons {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
}

@media (max-width: 600px) {
  .services-buttons {
    grid-template-columns: 1fr;
  }

  .services-content h3 {
    font-size: 1.5rem;
  }

  .services-content p,
  .services-header .services-subtext {
    font-size: 1rem;
  }

  .services-content a.explore-btn {
    width: 70%;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding: 12px 22px;
  }
}

/* ===========================
   SERVICES RESPONSIVE
   =========================== */
@media (max-width: 1080px) {
  .services-container {
    grid-template-columns: 1fr;
  }

  .services-content {
    text-align: center;
  }

  .services-content h3,
  .services-content p {
    max-width: 100%;
  }

  .services-buttons {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .services-buttons {
    grid-template-columns: 1fr;
  }
}
/* ===========================
   ABOUT SECTION WITH SLIDER
   =========================== */
.about-section {
  padding: var(--s-lg) 15% var(--s-lg) 0;
  background: linear-gradient(180deg, var(--dark-green), rgba(6, 46, 44, 0.95));
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 5px;
  align-items: center;
}

.about-content {
  padding: clamp(10px, 4vw, 60px);
}

.about-content > p:first-child {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.about-content h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  margin-bottom: 14px;
}

.about-content p {
  line-height: 1.7;
  opacity: 0.95;
  max-width: 520px;
  margin-bottom: 18px;
}

/* ===========================
   IMAGE SLIDER
   =========================== */
.about-slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 400px;
  overflow: visible; /* Allow shadow effects to show */
  margin: 0 auto;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Individual Slide */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: scale(0.85) translateX(100px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

/* Active (focused) slide */
.slide.active {
  opacity: 1;
  transform: scale(1) translateX(0);
  z-index: 3;
}

/* Previous slide (background left) */
.slide.prev {
  opacity: 0.4;
  transform: scale(0.85) translateX(-250px);
  z-index: 2;
  filter: blur(1px);
}

/* Next slide (background right) */
.slide.next {
  opacity: 0.4;
  transform: scale(0.85) translateX(250px);
  z-index: 2;
  filter: blur(1px);
}

/* Image styling */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Active slide has stronger shadow */
.slide.active img {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

/* Background slides have lighter shadow */
.slide.prev img,
.slide.next img {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* ===========================
   NAVIGATION DOTS
   =========================== */
.slider-dots {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.2);
}

.dot.active {
  background: var(--white);
  width: 32px;
  border-radius: 6px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .about-section {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-slider {
    max-width: 100%;
    height: 350px;
  }
}

@media (max-width: 768px) {
  .about-slider {
    height: 300px;
  }

  .slide.prev,
  .slide.next {
    transform: scale(0.8) translateX(0);
    opacity: 0;
  }
}

/* ===========================
   REVIEWS
   =========================== */
.reviews-section {
  padding: var(--s-lg) 5%;
  background: var(--light-bg);
}
.reviews-header {
  text-align: center;
  margin-bottom: 26px;
  color: var(--dark-green);
  font-size: 24px;
}
.reviews-header > p {
  font-size: 1rem;
  font-weight: 500;
  color: black;
  margin-bottom: 0.25rem;
}
/* cards layout */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}

/* gradient card like PNG */
.review-card {
  border-radius: 12px;
  padding: 20px;
  color: var(--white);
  background: linear-gradient(
    180deg,
    rgba(63, 143, 101, 0.95) 0%,
    rgba(75, 91, 214, 0.92) 100%
  );
  text-align: center;
  position: relative;
  overflow: visible;
  box-shadow: 0 18px 50px rgba(3, 18, 14, 0.12);
  transition: transform 0.25s ease;
}
.review-card:hover {
  transform: translateY(-8px);
}

/* circular avatar overlapping */
.reviewer-image {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: -44px auto 12px;
  border: 6px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reviewer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* name & role */
.reviewer-name {
  font-weight: 700;
  font-size: 24px;
  margin-top: 6px;
}
.reviewer-role {
  font-size: 18px;
  opacity: 0.95;
  margin-bottom: 8px;
}
.stars {
  color: #ffd24a;
  margin-bottom: 8px;
  display: block;
}

/* review text */
.review-text {
  font-size: 16px;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto; /* centers the text block */
  text-align: center; /* ensures text inside is centered */
  display: block; /* needed for margin auto to work */
}

/* ===========================
   CTA
   =========================== */
.cta-section {
  padding: 36px 5%;
  background: var(--white);
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 10px;
}
.cta-section p {
  color: var(--dark, black);
  margin-bottom: 18px;
}

/* ===========================
   NEWSLETTER SECTION
   =========================== */
.newsletter-section {
  padding: var(--s-xl) 5%;
  background: var(--page-bg); /* Dark background like hero */
}

/* Newsletter Header - Outside container */
.newsletter-header {
  text-align: center;
  margin-bottom: var(--s-lg);
  color: var(--white);
}

.newsletter-header p {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.newsletter-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

/* Newsletter Container - Like hero-container */
.newsletter-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--gradient-green) 0%,
    var(--gradient-blue) 100%
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  align-items: stretch;
}

/* LEFT SIDE: Newsletter Content */
.newsletter-content {
  padding: clamp(36px, 5vw, 60px);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.newsletter-content h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.newsletter-content p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 500px;
}

/* Newsletter Form */
.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}

.newsletter-form input[type="email"] {
  padding: 14px 18px;
  border-radius: 10px;
  border: none;
  font-size: 15px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.newsletter-form input[type="email"]:focus {
  outline: 3px solid var(--accent-blue);
  background: var(--white);
}

.newsletter-form input[type="email"]::placeholder {
  color: var(--text-light);
}

/* Checkbox wrapper */
.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  opacity: 0.95;
}

.checkbox-wrapper input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
}

.checkbox-wrapper label {
  cursor: pointer;
  line-height: 1.5;
}

/* Subscribe button */
.newsletter-form button {
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 700;
  align-self: flex-start; /* Button doesn't stretch */
}

/* RIGHT SIDE: Newsletter Image */
.newsletter-image {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.newsletter-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 var(--r-lg) var(--r-lg) 0; /* Only right corners rounded */
  display: block;
}

/* ===========================
   NEWSLETTER RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .newsletter-container {
    grid-template-columns: 1fr;
  }

  .newsletter-content {
    text-align: center;
  }

  .newsletter-form {
    margin: 0 auto;
  }

  .newsletter-form button {
    align-self: center;
  }

  .newsletter-image img {
    border-radius: 0 0 var(--r-lg) var(--r-lg); /* Bottom corners on mobile */
    max-height: 400px;
  }
}

/* ===========================
   LOCATION SECTION
   =========================== */
.location-section {
  padding: var(--s-xl) 5%;
  background: var(--light-bg);
}

/* Location Header - Outside container */
.location-header {
  text-align: center;
  margin-bottom: var(--s-lg);
  color: var(--text-dark);
}

.location-header p {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.location-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 0.5rem;
  color: var(--dark-green);
}

/* Location Container - Like hero and newsletter */
.location-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--gradient-green) 0%,
    var(--gradient-blue) 100%
  );
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  align-items: stretch;
  min-height: 500px;
}

/* LEFT SIDE: Google Map */
.location-map {
  position: relative;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg) 0 0 var(--r-lg); /* Only left corners rounded */
  display: block;
}

/* RIGHT SIDE: Contact Information */
.location-info {
  padding: clamp(36px, 5vw, 60px);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.3;
  margin-bottom: 2rem;
  max-width: 450px;
}

/* Contact Details Container */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Individual Contact Item */
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-icon i {
  font-size: 20px;
  color: var(--white);
}

.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.contact-text h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.contact-text p {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.95;
  color: var(--white);
}

/* Get Directions Button */
.location-info .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 14px 32px;
  font-size: 16px;
}

.location-info .btn i {
  font-size: 18px;
}

/* ===========================
   LOCATION RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .location-container {
    grid-template-columns: 2fr;
    min-height: auto;
  }

  .location-map {
    min-height: 400px;
  }

  .location-map iframe {
    border-radius: var(--r-lg) var(--r-lg) 0 0; /* Top corners on mobile */
  }

  .location-info {
    text-align: center;
  }

  .location-info h3 {
    max-width: 100%;
  }

  .contact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .location-info .btn {
    align-self: center;
  }
}

@media (max-width: 768px) {
  .location-map {
    min-height: 300px;
  }
}
/* ===========================
   FOOTER
   =========================== */
footer {
  padding: 40px 5%;
  background: var(--light-bg);
  color: #08322f;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
  align-items: start;
}
.footer-column h3 {
  color: #1d5f4f;
  margin-bottom: 10px;
  font-weight: 800;
}
.footer-column a {
  color: #355f52;
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  font-weight: 600;
}
.footer-bottom {
  text-align: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  color: #4a6b67;
  font-size: 13px;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1100px) {
  .services-container,
  .about-section {
    grid-template-columns: 1fr;
  }
  .hero-container {
    grid-template-columns: 1fr;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newsletter-content {
    grid-template-columns: 1fr;
  }
  .service-list {
    align-self: stretch;
    justify-self: stretch;
  }
  .nav-contact-btn {
    display: none;
  } /* hide big contact in smaller widths */
}

@media (max-width: 768px) {
  nav {
    padding: 10px 16px;
    width: 96%;
  }
  .nav-links {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    top: 74px;
    background: var(--white);
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
    margin-left: 12px;
  }
  .logo img {
    height: 42px;
  }
  .hero {
    padding-top: 100px;
    min-height: 600px;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .service-list {
    order: 2;
  }
}

/* small phones */
@media (max-width: 420px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .nav-links {
    top: 72px;
    left: 8px;
    right: 8px;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
}

/* ===========================
   small helpers & transitions
   =========================== */
a {
  color: inherit;
}
.fade-in {
  animation: fadeIn 0.9s ease both;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}