/* =========================================
   AURA DESIGNS — Premium Stylesheet
   Kerala Tropical Luxury Architecture
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;1,400&family=Great+Vibes&display=swap');

/* ── CSS Variables ── */
:root {
  --teal:        #0f766e;
  --teal-light:  #14b8a6;
  --teal-pale:   #ccfbf1;
  --teal-dark:   #0d5752;
  --white:       #ffffff;
  --cream:       #fdfcf8;
  --sand:        #f5ede0;
  --sand-dark:   #e8d5b7;
  --palm:        #2d6a4f;
  --palm-light:  #52b788;
  --teak:        #8b5e3c;
  --stone:       #8b8680;
  --aqua:        #a8d5d1;
  --text-dark:   #1a2e2b;
  --text-mid:    #3d5a54;
  --text-light:  #6b8c85;
  --border:      rgba(15, 118, 110, 0.12);

  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-display:'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --font-script: 'Great Vibes', cursive;

  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:    cubic-bezier(0.0, 0.0, 0.2, 1);

  --shadow-sm:   0 2px 12px rgba(15,118,110,0.08);
  --shadow-md:   0 8px 32px rgba(15,118,110,0.12);
  --shadow-lg:   0 20px 60px rgba(15,118,110,0.15);
  --shadow-xl:   0 40px 100px rgba(15,118,110,0.2);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6, p, ul, ol {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--white);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── Typography ── */
.serif   { font-family: var(--font-serif); }
.display { font-family: var(--font-display); }
.sans    { font-family: var(--font-sans); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.1; }
h4, h5, h6  { font-family: var(--font-sans);  font-weight: 500; }

/* ── Utility ── */
.container  { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.container-wide { max-width: 1440px; margin: 0 auto; padding: 0 2rem; }
.section-tag {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--teal);
}
.section-tag::before {
  content: ''; display: block; width: 24px; height: 1.5px;
  background: var(--teal);
}

/* ============================================
   NAVIGATION
   ============================================ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.2rem 0;
  transition: all 0.5s var(--ease-smooth);
}
#navbar.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 0;
  box-shadow: 0 1px 0 rgba(15,118,110,0.08), var(--shadow-sm);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
}
.nav-logo {
  display: flex; align-items: center; gap: 0.75rem;
  text-decoration: none;
}
.nav-logo img {
  height: 52px; width: auto;
  transition: transform 0.3s var(--ease-smooth);
}
#navbar.scrolled .nav-logo img { height: 42px; }
.nav-logo:hover img { transform: scale(1.03); }
.nav-logo-text { display: flex; flex-direction: column; gap: 1px; }
.nav-logo-text span:first-child {
  font-family: var(--font-serif); font-size: 1.3rem; font-weight: 500;
  color: var(--teal-dark); letter-spacing: 0.05em; line-height: 1;
}
.nav-logo-text span:last-child {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-light); font-weight: 500;
}
.nav-links {
  display: flex; align-items: center; gap: 2.5rem;
}
.nav-links a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em;
  color: var(--white); position: relative; transition: color 0.3s;
}
#navbar.scrolled .nav-links a { color: var(--text-mid); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--teal-light);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s var(--ease-smooth);
}
.nav-links a:hover { color: var(--teal); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.5rem; border-radius: 50px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  background: var(--teal); color: var(--white);
  transition: all 0.3s var(--ease-smooth);
  box-shadow: 0 4px 20px rgba(15,118,110,0.3);
}
.nav-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15,118,110,0.4);
}
.nav-cta svg { transition: transform 0.3s var(--ease-spring); }
.nav-cta:hover svg { transform: translateX(3px); }

/* Mobile hamburger */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white); transition: all 0.3s var(--ease-smooth);
}
#navbar.scrolled .nav-toggle span { background: var(--text-dark); }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.7px, 4.7px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.7px, -4.7px); }

/* Mobile menu */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(255,255,255,0.98); backdrop-filter: blur(20px);
  flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem; opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease-smooth);
}
.mobile-menu.open { display: flex; opacity: 1; pointer-events: all; }
.mobile-menu a {
  font-family: var(--font-serif); font-size: 2rem; color: var(--text-dark);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal); }

/* ============================================
   PREMIUM LOADER SCREEN
   ============================================ */
#page-loader {
  position: fixed;
  inset: 0;
  background-color: #061f1c;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  opacity: 1;
  visibility: visible;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  text-align: center;
  width: 90%;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.loader-logo {
  height: clamp(60px, 8vh, 80px);
  width: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 20px rgba(20, 184, 166, 0.25));
  animation: loaderLogoPulse 2s infinite ease-in-out;
}
@keyframes loaderLogoPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50%       { transform: scale(1.05); opacity: 1; filter: drop-shadow(0 4px 25px rgba(20, 184, 166, 0.4)); }
}
.loader-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.loader-subtitle {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin-bottom: 2.5rem;
}
.loader-progress-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}
.loader-progress-bar {
  width: 100%;
  height: 2.5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}
.loader-progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-light), var(--teal));
  border-radius: 4px;
  transition: width 0.2s cubic-bezier(0.1, 0.8, 0.2, 1);
}
.loader-percentage {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.05em;
}

/* ============================================
   HERO SECTION
   ============================================ */
/* ============================================
   SCROLL-LINKED HERO SYSTEM
   ============================================ */
#hero.hero-scroll-container {
  position: relative;
  height: 500vh; /* Scroll depth */
  width: 100%;
  background-color: #061f1c; /* Fallback dark green background */
}

.hero-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 10;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  will-change: transform;
}

/* Subtle dark overlay for scrolling canvas animation */
.hero-canvas-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(6, 25, 22, 0.40) 0%,
    rgba(6, 25, 22, 0.22) 35%,
    rgba(6, 25, 22, 0.26) 70%,
    rgba(6, 25, 22, 0.48) 100%
  );
}

/* Floating particles overlay */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(30px) rotate(360deg); opacity: 0; }
}

/* Slides System */
.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 12vh;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 3;
  transform: translateY(30px);
  will-change: transform, opacity;
}

.hero-slide.active {
  visibility: visible;
  pointer-events: all;
}

#hero-slide-intro {
  /* Retain alignment of the original hero content */
  align-items: flex-end;
  padding-bottom: 14vh;
}

#hero-slide-cta {
  align-items: center;
  justify-content: center;
  padding-bottom: 0;
}

/* Typography styles for hero elements */
.hero-inner {
  position: relative;
  width: 100%;
}
.hero-text { max-width: 680px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-light);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--teal-light);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: var(--teal-light);
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 2.5rem;
}
.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}

/* Button System: Primary & Ghost Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: var(--teal);
  color: var(--white) !important;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 4px 18px rgba(15, 118, 110, 0.3);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.45);
}
.btn-primary svg {
  color: var(--white);
  transition: transform 0.3s var(--ease-spring);
}
.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2.2rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: var(--white) !important;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s var(--ease-smooth);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--white);
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Specific Hero CTA Slide Enhancements */
#hero-slide-cta .btn-primary {
  background: linear-gradient(135deg, #14b8a6 0%, #0d5752 100%);
  color: var(--white) !important;
  border: 1px solid rgba(20, 184, 166, 0.6);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.4);
}
#hero-slide-cta .btn-primary:hover {
  background: linear-gradient(135deg, #2dd4bf 0%, #0f766e 100%);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(20, 184, 166, 0.55);
}
#hero-slide-cta .btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  color: var(--white) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
#hero-slide-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: var(--white);
  color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3);
}

/* Glassmorphic Feature Highlight Cards */
.feature-highlight-card {
  background: rgba(11, 39, 36, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 28px;
  padding: 3rem;
  max-width: 520px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease-smooth), border-color 0.4s var(--ease-smooth);
}
.feature-highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-light), transparent);
}
.feature-highlight-card:hover {
  border-color: rgba(20, 184, 166, 0.35);
  transform: translateY(-5px);
}

.feat-left {
  margin-right: auto;
  margin-left: 0;
}
.feat-right {
  margin-left: auto;
  margin-right: 0;
}

.feat-card-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.feat-badge-num {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-light);
  background: rgba(20, 184, 166, 0.15);
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
}
.feat-badge-text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}
.feat-card-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.feat-card-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin: 0;
}
.feat-card-icon-large {
  position: absolute;
  right: 2rem;
  top: 2.5rem;
  color: rgba(20, 184, 166, 0.12);
  pointer-events: none;
  transition: transform 0.6s var(--ease-spring);
}
.feature-highlight-card:hover .feat-card-icon-large {
  transform: scale(1.2) rotate(12deg);
  color: rgba(20, 184, 166, 0.25);
}

/* Original side cards container (Intro slide layout) */
.hero-side-cards {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
  transition: all 0.3s var(--ease-smooth);
}
.hero-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-4px);
}
.hero-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(20, 184, 166, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hero-card-icon svg { color: var(--teal-light); }
.hero-card-text p { font-size: 0.72rem; color: rgba(255, 255, 255, 0.65); }
.hero-card-text strong {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 400;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
  transition: opacity 0.5s ease;
}
.scroll-indicator span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}
.scroll-line {
  width: 1.5px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1; transform: scaleY(0.7); }
}

/* Responsive Overrides for Scroll-Linked Hero */
@media (max-width: 991px) {
  #hero-slide-intro {
    align-items: flex-end;
    padding-bottom: 8vh;
  }
  .hero-side-cards {
    margin-top: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-card {
    flex: 1 1 200px;
    justify-content: center;
  }
  .feature-highlight-card {
    margin: 0 auto;
    padding: 2.5rem;
    max-width: 100%;
  }
  .hero-slide {
    padding-bottom: 8vh;
  }
}

@media (max-width: 767px) {
  #hero-slide-intro {
    padding-bottom: 6vh;
  }
  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }
  .hero-sub {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.75rem;
  }
  .btn-primary, .btn-ghost {
    justify-content: center;
    width: 100%;
  }
  .hero-side-cards {
    display: none; /* Hide cards on mobile to save vertical space */
  }
  .feature-highlight-card {
    padding: 1.8rem;
    border-radius: 20px;
  }
  .feat-card-badge {
    margin-bottom: 0.75rem;
  }
  .feat-card-title {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
  }
  .feat-card-desc {
    font-size: 0.85rem;
    line-height: 1.6;
  }
  .feat-card-icon-large {
    display: none; /* Hide large icons on mobile */
  }
  .scroll-indicator {
    bottom: 1.5rem;
  }
  .scroll-line {
    height: 35px;
  }
}

/* ============================================
   ANIMATIONS KEYFRAMES
   ============================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes ripple {
  0%   { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.5); opacity: 0; }
}
@keyframes leaf-sway {
  0%, 100% { transform: rotate(-3deg); }
  50%       { transform: rotate(3deg); }
}
@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ── Signature Portfolio: aurora drifts ── */
@keyframes aurora-drift-a {
  0%,  100% { transform: translate(0,     0)    scale(1);    }
  33%        { transform: translate(60px, -45px) scale(1.14); }
  66%        { transform: translate(-35px, 28px) scale(0.92); }
}
@keyframes aurora-drift-b {
  0%,  100% { transform: translate(0,     0)    scale(1);    }
  40%        { transform: translate(-55px, 30px) scale(1.1);  }
  75%        { transform: translate(40px, -22px) scale(0.95); }
}
@keyframes aurora-drift-c {
  0%,  100% { transform: translate(0,     0)    scale(1);    }
  50%        { transform: translate(25px,  50px) scale(1.06); }
}

/* ── Headline word-up reveal ── */
@keyframes ph-word-up {
  from { transform: translateY(115%) skewY(6deg); opacity: 0; }
  to   { transform: translateY(0)    skewY(0);    opacity: 1; }
}

/* ── Script line fade-slide ── */
@keyframes script-slide {
  from { opacity: 0; transform: translateX(-18px); }
  to   { opacity: 1; transform: translateX(0);     }
}

/* ── Feature panel gentle bob ── */
@keyframes panel-bob {
  0%,  100% { transform: translateY(0)   rotate(-0.25deg); }
  50%        { transform: translateY(-9px) rotate(0.25deg);  }
}

/* ── Meta pill pop-in ── */
@keyframes pill-pop {
  from { opacity: 0; transform: translateY(18px) scale(0.78); }
  60%  { transform: translateY(-3px) scale(1.05); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* ── Project card entrance ── */
@keyframes card-reveal {
  from { opacity: 0; transform: translateY(64px) scale(0.96) skewY(1.2deg); }
  to   { opacity: 1; transform: translateY(0)    scale(1)    skewY(0);       }
}

/* ── Number badge wiggle on hover ── */
@keyframes badge-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(20,184,166,0); }
  50%       { box-shadow: 0 0 0 7px rgba(20,184,166,0.18); }
}

/* ── Spotlight sweep (shimmer) ── */
@keyframes spotlight {
  from { transform: translateX(-140%) skewX(-12deg); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  to   { transform: translateX(240%)  skewX(-12deg); opacity: 0; }
}

/* ── Divider line grow ── */
@keyframes line-grow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* Scroll reveal */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.9s var(--ease-smooth), transform 0.9s var(--ease-smooth);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* About section */
#about {
  position: relative;
  padding: 2rem 0 6rem;
  background:
    radial-gradient(circle at top left, rgba(204,251,241,0.28) 0%, rgba(204,251,241,0) 26%),
    linear-gradient(180deg, #ffffff 0%, #fbfaf7 100%);
  overflow: hidden;
}
#about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: image-set(
    url('../images/pattern.avif') type('image/avif'),
    url('../images/pattern.webp') type('image/webp'),
    url('../images/pattern.png') type('image/png')
  ) repeat;
  background-size: 220px;
  opacity: 0.022;
  pointer-events: none;
}
.about-fluid-wrap {
  width: 100%;
  position: relative;
  z-index: 1;
}
.about-fluid-row {
  min-height: 760px;
}
.about-panel-photo {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: #dce9e3;
  border-radius: 42px 120px 42px 42px;
  box-shadow: 0 30px 80px rgba(6,33,30,0.16);
}
.about-photo-img-wrap {
  position: absolute;
  inset: 0;
}
.about-photo-img-wrap > picture,
.svc-card-illustration picture,
.project-card picture,
.sustainable-img-wrap picture {
  display: block;
  width: 100%;
  height: 100%;
}
.about-photo-img-wrap > img,
.about-photo-img-wrap > picture > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 1.1s var(--ease-smooth);
}
.about-panel-photo:hover .about-photo-img-wrap > img {
  transform: scale(1.04);
}
.about-photo-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,36,33,0.5) 0%, rgba(8,36,33,0.18) 32%, rgba(8,36,33,0) 68%),
    linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(8,36,33,0.22) 100%);
}
.about-photo-card {
  position: absolute;
  left: clamp(1.25rem, 3vw, 3rem);
  bottom: clamp(1.25rem, 3vw, 3rem);
  max-width: 430px;
  padding: 1.5rem 1.5rem 1.6rem;
  border-radius: 28px 58px 28px 28px;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.36);
  box-shadow: 0 22px 70px rgba(6,33,30,0.16);
  z-index: 2;
}
.about-photo-card-label {
  display: inline-flex;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(15,118,110,0.08);
  color: var(--teal);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.about-card-heading {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  margin: 0 0 0.85rem;
}
.about-card-desc {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.78;
  color: var(--text-mid);
}
.about-photo-chip {
  position: absolute;
  z-index: 2;
  max-width: 220px;
  padding: 0.95rem 1rem;
  border-radius: 22px 40px 22px 22px;
  background: rgba(11,39,36,0.56);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 18px 40px rgba(6,33,30,0.18);
}
.about-photo-chip-top {
  top: clamp(1.25rem, 3vw, 2.2rem);
  left: clamp(1.25rem, 3vw, 3rem);
}
.about-photo-chip-bottom {
  right: clamp(1.25rem, 3vw, 3rem);
  bottom: clamp(10rem, 16vw, 12rem);
}
.about-chip-title {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.35rem;
}
.about-chip-copy {
  display: block;
  font-size: 0.8rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.74);
}
.about-panel-content {
  position: relative;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 6vw, 5rem);
  background: rgba(255,255,255,0.84);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(15,118,110,0.08);
  overflow: hidden;
  border-radius: 42px 42px 120px 42px;
  box-shadow: 0 24px 70px rgba(15,118,110,0.08);
}
.about-content-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
}
.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(15,118,110,0.1);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1.3rem;
}
.about-eyebrow svg {
  flex-shrink: 0;
}
.about-main-headline {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.12;
  letter-spacing: -0.035em;
  margin: 0 0 1.5rem;
  max-width: 18ch;
}
.about-main-copy {
  font-size: 0.97rem;
  color: var(--text-mid);
  line-height: 1.9;
  margin-bottom: 1.8rem;
  max-width: 52ch;
}

.about-actions-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem 1.4rem;
}
.about-script-line {
  font-family: var(--font-script);
  font-size: 2rem;
  font-weight: 400;
  color: var(--teal);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid var(--teal);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.35s var(--ease-smooth);
  background: rgba(255,255,255,0.8);
  box-shadow: 0 12px 30px rgba(15,118,110,0.08);
}
.about-cta-btn:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(15,118,110,0.2);
}
.about-cta-btn svg {
  transition: transform 0.3s var(--ease-spring);
}
.about-cta-btn:hover svg {
  transform: translateX(4px);
}
.about-panel-sketch {
  position: absolute;
  right: -1.5rem;
  bottom: -0.5rem;
  width: min(44vw, 520px);
  height: min(28vw, 340px);
  pointer-events: none;
  z-index: 1;
}
.about-panel-sketch::before {
  content: '';
  position: absolute;
  inset: 12% 0 4% 8%;
  background: radial-gradient(circle at center, rgba(168,213,209,0.18) 0%, rgba(168,213,209,0) 68%);
  filter: blur(20px);
}
.about-sketch-img {
  position: absolute;
  right: 0;
  bottom: 2rem;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: right bottom;
  opacity: 0.92;
}
.about-leaves-img {
  position: absolute;
  right: -8%;
  bottom: -10%;
  width: min(19vw, 220px);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(45,106,79,0.16));
  animation: float-gentle 6s ease-in-out infinite;
}


/* Keep btn-outline (used elsewhere) */
.btn-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2rem; border-radius: 50px;
  border: 1.5px solid var(--teal); color: var(--teal);
  font-size: 0.83rem; font-weight: 600; letter-spacing: 0.05em;
  transition: all 0.35s var(--ease-smooth);
}
.btn-outline:hover {
  background: var(--teal); color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15,118,110,0.3);
}
.btn-outline svg { transition: transform 0.3s var(--ease-spring); }
.btn-outline:hover svg { transform: translateX(4px); }

/* ============================================
   SERVICES SECTION — New Design
   ============================================ */
#services {
  padding: 6.5rem 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.svc-shell {
  position: relative;
  z-index: 1;
}

.svc-grid-row {
  position: relative;
  z-index: 1;
}

/* Header Grid Block */
.svc-grid-header {
  padding: clamp(3rem, 6vw, 6rem) clamp(2rem, 5vw, 5rem);
  background: linear-gradient(135deg, var(--teal-dark) 0%, #063430 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  min-height: 100%;
  border-radius: 42px 120px 42px 42px;
  box-shadow: 0 24px 70px rgba(6, 52, 48, 0.16);
}
.svc-grid-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: image-set(
    url('../images/pattern.avif') type('image/avif'),
    url('../images/pattern.webp') type('image/webp'),
    url('../images/pattern.png') type('image/png')
  ) repeat;
  background-size: 220px;
  opacity: 0.035;
  pointer-events: none;
}
.svc-grid-header::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 240px;
  height: 240px;
  border-radius: 44% 56% 63% 37% / 42% 41% 59% 58%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), rgba(255,255,255,0.03));
  pointer-events: none;
}
.svc-grid-header .svc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-pale);
  margin-bottom: 1.5rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}
.svc-grid-header .svc-main-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
}
.svc-grid-header .svc-intro-copy {
  font-size: 0.96rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 2rem;
  max-width: 48ch;
}
.svc-grid-header .svc-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}
.svc-grid-header .svc-intro-meta span {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-pale);
}

/* Service Grid Cards */
.svc-grid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid rgba(15, 118, 110, 0.08);
  overflow: hidden;
  border-radius: 34px;
  box-shadow: 0 18px 45px rgba(15, 118, 110, 0.06);
  transition:
    background-color 0.5s var(--ease-smooth),
    transform 0.45s var(--ease-smooth),
    box-shadow 0.45s var(--ease-smooth),
    border-color 0.45s var(--ease-smooth);
}

/* Soft card backgrounds */
.svc-bg-ivory {
  background-color: #f8f1e7;
}
.svc-bg-mint {
  background-color: #edf8f3;
}
.svc-bg-sand {
  background-color: #f5ede0;
}
.svc-bg-blush {
  background-color: #f8ece7;
}
.svc-bg-sky {
  background-color: #edf5fb;
}
.svc-bg-sage {
  background-color: #eef4e6;
}

/* Hover background transitions */
.svc-grid-card.svc-bg-ivory:hover {
  background-color: #f3e7d8;
}
.svc-grid-card.svc-bg-mint:hover {
  background-color: #e2f2ea;
}
.svc-grid-card.svc-bg-sand:hover {
  background-color: #efe0c9;
}
.svc-grid-card.svc-bg-blush:hover {
  background-color: #f3dfd7;
}
.svc-grid-card.svc-bg-sky:hover {
  background-color: #e0edf7;
}
.svc-grid-card.svc-bg-sage:hover {
  background-color: #e2ecd6;
}
.svc-grid-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 60px rgba(15, 118, 110, 0.12);
  border-color: rgba(15, 118, 110, 0.16);
}

.svc-grid-row > div:nth-child(2) .svc-grid-card {
  border-radius: 34px 92px 34px 34px;
}
.svc-grid-row > div:nth-child(3) .svc-grid-card {
  border-radius: 34px 34px 98px 34px;
}
.svc-grid-row > div:nth-child(4) .svc-grid-card {
  border-radius: 92px 34px 34px 34px;
}
.svc-grid-row > div:nth-child(5) .svc-grid-card {
  border-radius: 34px 34px 34px 98px;
}
.svc-grid-row > div:nth-child(6) .svc-grid-card {
  border-radius: 92px 34px 34px 34px;
}
.svc-grid-row > div:nth-child(7) .svc-grid-card {
  border-radius: 34px 92px 34px 34px;
}

/* Card Number Overlay */
.svc-card-number {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  z-index: 2;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--teal);
  opacity: 0.15;
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
  pointer-events: none;
}
.svc-grid-card:hover .svc-card-number {
  opacity: 0.35;
  transform: translateY(-2px);
}

/* Image Container */
.svc-card-illustration {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 100%);
  border-bottom: 1px solid rgba(15, 118, 110, 0.05);
}
.svc-card-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease-smooth);
}
.svc-grid-card .svc-card-illustration {
  border-radius: 0 0 28px 28px;
}
.svc-grid-row > div:nth-child(2) .svc-card-illustration {
  border-radius: 0 64px 28px 28px;
}
.svc-grid-row > div:nth-child(3) .svc-card-illustration {
  border-radius: 0 0 76px 28px;
}
.svc-grid-row > div:nth-child(4) .svc-card-illustration {
  border-radius: 64px 0 28px 28px;
}
.svc-grid-row > div:nth-child(5) .svc-card-illustration {
  border-radius: 0 0 28px 76px;
}
.svc-grid-row > div:nth-child(6) .svc-card-illustration {
  border-radius: 64px 0 28px 28px;
}
.svc-grid-row > div:nth-child(7) .svc-card-illustration {
  border-radius: 0 64px 28px 28px;
}
.svc-grid-card:hover .svc-card-illustration img {
  transform: scale(1.06);
}

/* Card Body */
.svc-grid-card .svc-card-body {
  padding: 2.5rem 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: transparent;
}
.svc-card-topline {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.6rem;
}
.svc-card-kicker {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}
.svc-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(15, 118, 110, 0.15);
  background: rgba(15, 118, 110, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  transition: all 0.35s var(--ease-smooth);
  flex-shrink: 0;
}
.svc-card-icon svg {
  width: 18px;
  height: 18px;
}
.svc-grid-card:hover .svc-card-icon {
  background-color: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.svc-card-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.svc-card-desc {
  font-size: 0.86rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-bottom: 1.8rem;
}

/* CTA Link */
.svc-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-top: auto;
  transition: color 0.35s var(--ease-smooth);
}
.svc-card-link svg {
  transition: transform 0.35s var(--ease-spring);
}
.svc-grid-card:hover .svc-card-link {
  color: var(--teal-light);
}
.svc-grid-card:hover .svc-card-link svg {
  transform: translateX(5px);
}

/* ── Responsive Adjustments ── */
@media (max-width: 1199px) {
  .svc-grid-header .svc-main-title {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  }
  .svc-card-title {
    font-size: 1.6rem;
  }
  .svc-grid-header {
    border-radius: 38px 90px 38px 38px;
  }
}

@media (max-width: 991px) {
  .svc-grid-header {
    min-height: auto;
    padding: 4rem 3rem;
    border-radius: 36px 72px 36px 36px;
  }
  .svc-card-illustration {
    height: 220px;
    padding: 0.9rem;
  }
  .svc-grid-card .svc-card-body {
    padding: 2.2rem 1.8rem;
  }
  .svc-grid-row > div:nth-child(2) .svc-grid-card {
    border-radius: 30px 64px 30px 30px;
  }
  .svc-grid-row > div:nth-child(3) .svc-grid-card {
    border-radius: 30px 30px 64px 30px;
  }
  .svc-grid-row > div:nth-child(4) .svc-grid-card {
    border-radius: 64px 30px 30px 30px;
  }
  .svc-grid-row > div:nth-child(5) .svc-grid-card {
    border-radius: 30px 30px 30px 64px;
  }
  .svc-grid-row > div:nth-child(6) .svc-grid-card {
    border-radius: 64px 30px 30px 30px;
  }
  .svc-grid-row > div:nth-child(7) .svc-grid-card {
    border-radius: 30px 64px 30px 30px;
  }
  .svc-grid-row > div:nth-child(2) .svc-card-illustration {
    border-radius: 0 48px 24px 24px;
  }
  .svc-grid-row > div:nth-child(3) .svc-card-illustration {
    border-radius: 0 0 48px 24px;
  }
  .svc-grid-row > div:nth-child(4) .svc-card-illustration {
    border-radius: 48px 0 24px 24px;
  }
  .svc-grid-row > div:nth-child(5) .svc-card-illustration {
    border-radius: 0 0 24px 48px;
  }
  .svc-grid-row > div:nth-child(6) .svc-card-illustration {
    border-radius: 48px 0 24px 24px;
  }
  .svc-grid-row > div:nth-child(7) .svc-card-illustration {
    border-radius: 0 48px 24px 24px;
  }
}

@media (max-width: 768px) {
  #services {
    padding: 5rem 0;
  }
  .svc-grid-row {
    --bs-gutter-x: 0.9rem;
    --bs-gutter-y: 0.9rem;
  }
  .svc-shell {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .svc-grid-header {
    padding: 3.5rem 2rem;
    border-radius: 30px 52px 30px 30px;
  }
  .svc-grid-card .svc-card-body {
    padding: 1.35rem 1rem 1.2rem;
  }
  .svc-card-illustration {
    height: 148px;
    padding: 0;
  }
  .svc-card-number {
    font-size: 1.3rem;
    top: 1rem;
    right: 1rem;
  }
  .svc-card-topline {
    gap: 0.55rem;
    margin-bottom: 0.55rem;
  }
  .svc-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .svc-card-icon svg {
    width: 15px;
    height: 15px;
  }
  .svc-card-kicker {
    font-size: 0.52rem;
    letter-spacing: 0.12em;
  }
  .svc-card-title {
    font-size: 1.08rem;
    line-height: 1.12;
    margin-bottom: 0.5rem;
  }
  .svc-card-desc {
    font-size: 0.74rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }
  .svc-card-link {
    font-size: 0.58rem;
    letter-spacing: 0.11em;
    gap: 0.35rem;
  }
  .svc-grid-row > div:nth-child(2) .svc-grid-card { border-radius: 26px 72px 26px 26px; }
  .svc-grid-row > div:nth-child(3) .svc-grid-card { border-radius: 26px 26px 72px 26px; }
  .svc-grid-row > div:nth-child(4) .svc-grid-card { border-radius: 72px 26px 26px 26px; }
  .svc-grid-row > div:nth-child(5) .svc-grid-card { border-radius: 26px 26px 26px 72px; }
  .svc-grid-row > div:nth-child(6) .svc-grid-card { border-radius: 72px 26px 26px 26px; }
  .svc-grid-row > div:nth-child(7) .svc-grid-card { border-radius: 26px 72px 26px 26px; }

  .svc-grid-row > div:nth-child(2) .svc-card-illustration { border-radius: 0 52px 22px 22px; }
  .svc-grid-row > div:nth-child(3) .svc-card-illustration { border-radius: 0 0 60px 22px; }
  .svc-grid-row > div:nth-child(4) .svc-card-illustration { border-radius: 52px 0 22px 22px; }
  .svc-grid-row > div:nth-child(5) .svc-card-illustration { border-radius: 0 0 22px 60px; }
  .svc-grid-row > div:nth-child(6) .svc-card-illustration { border-radius: 52px 0 22px 22px; }
  .svc-grid-row > div:nth-child(7) .svc-card-illustration { border-radius: 0 52px 22px 22px; }
}

@media (max-width: 480px) {
  .svc-grid-row {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }
  .svc-grid-header .svc-intro-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .svc-grid-header .svc-intro-meta span {
    width: 100%;
    justify-content: center;
  }
  .svc-card-illustration {
    height: 126px;
    padding: 0;
  }
  .svc-grid-header {
    border-radius: 26px 36px 26px 26px;
  }
  .svc-grid-card .svc-card-body {
    padding: 1rem 0.8rem 0.95rem;
  }
  .svc-card-title {
    font-size: 0.96rem;
    margin-bottom: 0.42rem;
  }
  .svc-card-desc {
    font-size: 0.68rem;
    line-height: 1.52;
    margin-bottom: 0.85rem;
  }
  .svc-card-link {
    font-size: 0.54rem;
    letter-spacing: 0.09em;
  }
  .svc-card-number {
    font-size: 1.1rem;
    top: 0.8rem;
    right: 0.8rem;
  }
  .svc-card-icon {
    width: 30px;
    height: 30px;
  }
  .svc-card-icon svg {
    width: 13px;
    height: 13px;
  }
  .svc-card-kicker {
    font-size: 0.48rem;
    letter-spacing: 0.1em;
  }
  .svc-grid-row > div:nth-child(2) .svc-grid-card { border-radius: 22px 58px 22px 22px; }
  .svc-grid-row > div:nth-child(3) .svc-grid-card { border-radius: 22px 22px 58px 22px; }
  .svc-grid-row > div:nth-child(4) .svc-grid-card { border-radius: 58px 22px 22px 22px; }
  .svc-grid-row > div:nth-child(5) .svc-grid-card { border-radius: 22px 22px 22px 58px; }
  .svc-grid-row > div:nth-child(6) .svc-grid-card { border-radius: 58px 22px 22px 22px; }
  .svc-grid-row > div:nth-child(7) .svc-grid-card { border-radius: 22px 58px 22px 22px; }

  .svc-grid-row > div:nth-child(2) .svc-card-illustration { border-radius: 0 42px 20px 20px; }
  .svc-grid-row > div:nth-child(3) .svc-card-illustration { border-radius: 0 0 48px 20px; }
  .svc-grid-row > div:nth-child(4) .svc-card-illustration { border-radius: 42px 0 20px 20px; }
  .svc-grid-row > div:nth-child(5) .svc-card-illustration { border-radius: 0 0 20px 48px; }
  .svc-grid-row > div:nth-child(6) .svc-card-illustration { border-radius: 42px 0 20px 20px; }
  .svc-grid-row > div:nth-child(7) .svc-card-illustration { border-radius: 0 42px 20px 20px; }
}

/* Legacy service-card styles kept for safety */
.service-card {
  background: var(--cream); border-radius: 24px;
  padding: 2.5rem 2rem; position: relative; overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease-smooth);
  cursor: pointer;
}
.service-title {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 400;
  color: var(--text-dark); margin-bottom: 0.75rem;
}
.service-desc {
  font-size: 0.88rem; color: var(--text-light); line-height: 1.7;
}


/* ============================================
   PROJECTS SECTION
   ============================================ */
#projects {
  position: relative;
  padding: 0;
  background:
    linear-gradient(180deg, #061f1c 0%, #092b27 46%, #f8f5ee 46%, #f8f5ee 100%);
  overflow: hidden;
  isolation: isolate;
}
#projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background: image-set(
    url('../images/pattern.avif') type('image/avif'),
    url('../images/pattern.webp') type('image/webp'),
    url('../images/pattern.png') type('image/png')
  ) repeat;
  background-size: 220px;
  opacity: 0.028;
  pointer-events: none;
  z-index: 0;
}

.projects-shell {
  position: relative;
  z-index: 1;
  max-width: none;
  padding: 0 !important;
}

/* Projects intro */
.projects-intro {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(360px, 0.78fr);
  gap: 4.5rem;
  align-items: center;
  min-height: 520px;
  padding: 7rem 5.5rem 5.75rem;
  background:
    linear-gradient(90deg, rgba(6,31,28,0.98) 0%, rgba(6,31,28,0.92) 48%, rgba(6,31,28,0.66) 100%),
    image-set(
      url('../images/project-wayanad.avif') type('image/avif'),
      url('../images/project-wayanad.webp') type('image/webp'),
      url('../images/project-wayanad.png') type('image/png')
    ) center 45% / cover no-repeat;
  box-shadow: 0 24px 80px rgba(6,31,28,0.22);
  overflow: hidden;
}
.projects-intro::after {
  content: '';
  position: absolute;
  left: 5.5rem;
  right: 5.5rem;
  bottom: 3.25rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(204,251,241,0.48), rgba(232,213,183,0.14));
  pointer-events: none;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s var(--ease-smooth) 0.4s;
}
.projects-intro.visible::after {
  transform: scaleX(1);
}

/* Aurora ambient blobs */
.projects-aurora-wrap {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  border-radius: inherit;
}
.projects-aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: screen;
  will-change: transform;
}
.blob-a {
  width: 420px; height: 420px;
  top: -100px; left: -60px;
  background: radial-gradient(circle, rgba(20,184,166,0.28) 0%, rgba(20,184,166,0) 70%);
  animation: aurora-drift-a 18s ease-in-out infinite;
}
.blob-b {
  width: 360px; height: 360px;
  top: 10%; right: -40px;
  background: radial-gradient(circle, rgba(45,106,79,0.22) 0%, rgba(45,106,79,0) 70%);
  animation: aurora-drift-b 22s ease-in-out infinite 4s;
}
.blob-c {
  width: 280px; height: 280px;
  bottom: -60px; left: 38%;
  background: radial-gradient(circle, rgba(232,213,183,0.14) 0%, rgba(232,213,183,0) 70%);
  animation: aurora-drift-c 16s ease-in-out infinite 8s;
}

.projects-intro-main,
.projects-intro-side {
  position: relative;
  z-index: 1;
}
.projects-intro-main .section-tag {
  margin-bottom: 1.1rem;
  color: var(--teal-pale);
  letter-spacing: 0;
}
.projects-intro-main .section-tag::before {
  background: var(--teal-light);
}

.projects-script-line {
  font-family: var(--font-script);
  font-size: 2rem;
  color: rgba(232,213,183,0.86);
  margin-top: 1rem;
  letter-spacing: 0;
  line-height: 1.2;
}

/* Headline word-reveal */
.ph-line {
  display: block;
  overflow: hidden;
  line-height: 1.02;
}
.ph-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(115%) skewY(6deg);
}
.projects-intro.visible .ph-word {
  animation: ph-word-up 0.88s var(--ease-spring) both;
}
.projects-intro.visible .ph-line:nth-child(1) .ph-word:nth-child(1) { animation-delay: 0.15s; }
.projects-intro.visible .ph-line:nth-child(1) .ph-word:nth-child(2) { animation-delay: 0.28s; }
.projects-intro.visible .ph-line:nth-child(2) .ph-word:nth-child(1) { animation-delay: 0.40s; }
.ph-block { display: block; }

/* Script line reveal */
.projects-script-reveal {
  opacity: 0;
  transform: translateX(-18px);
}
.projects-intro.visible .projects-script-reveal {
  animation: script-slide 0.8s var(--ease-smooth) 0.65s both;
}

.projects-headline {
  font-family: var(--font-display);
  font-size: 5.6rem;
  font-weight: 400;
  color: var(--white);
  line-height: 0.98;
  letter-spacing: 0;
  max-width: 8.8em;
}
.projects-headline em {
  font-style: italic;
  color: var(--sand-dark);
}
.projects-headline span {
  display: block;
}
.projects-intro-side {
  display: grid;
  gap: 1.25rem;
  justify-items: stretch;
}
.projects-feature-panel {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 70px rgba(0,0,0,0.16);
}
.projects-feature-panel picture {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
}
.projects-feature-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.projects-feature-copy {
  display: grid;
  gap: 0.35rem;
  padding-right: 0.4rem;
}
.projects-feature-copy span {
  color: var(--teal-pale);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}
.projects-feature-copy strong {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: 0;
}
.projects-desc {
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(255,255,255,0.8);
}
.projects-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.projects-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(204,251,241,0.1);
  border: 1px solid rgba(204,251,241,0.18);
  color: rgba(255,255,255,0.86);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  box-shadow: none;
  transition: all 0.35s var(--ease-smooth);
}
.projects-meta span:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-2px);
}

/* Feature panel floating animation */
.projects-intro.visible .projects-feature-panel {
  animation: panel-bob 5s var(--ease-smooth) infinite 1.2s;
}

/* Meta pills stagger entrance */
.projects-meta span {
  opacity: 0;
  animation: none;
}
.projects-intro.visible .projects-meta span {
  animation: pill-pop 0.6s var(--ease-spring) both;
}
.projects-intro.visible .projects-meta span:nth-child(1) { animation-delay: 0.7s; }
.projects-intro.visible .projects-meta span:nth-child(2) { animation-delay: 0.82s; }
.projects-intro.visible .projects-meta span:nth-child(3) { animation-delay: 0.94s; }
.projects-intro.visible .projects-meta span:nth-child(4) { animation-delay: 1.06s; }

/* Minimal Projects Header — High Contrast & Luxury Styling */
.projects-header-minimal {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
  padding: 4.5rem 1.5rem 0.5rem;
  position: relative;
  z-index: 5;
}
.projects-tag-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 20px;
  border-radius: 30px;
  background: rgba(20, 184, 166, 0.16);
  border: 1px solid rgba(20, 184, 166, 0.4);
  color: #2dd4bf;
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 16px rgba(20, 184, 166, 0.15);
}
.projects-tag-pill::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2dd4bf;
  box-shadow: 0 0 8px #2dd4bf;
}
.projects-minimal-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 400;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
}
.projects-minimal-title em {
  font-style: italic;
  font-weight: 400;
  color: #fbbf24;
  background: linear-gradient(135deg, #fffbeb 0%, #fef08a 30%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.projects-minimal-subtitle {
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  max-width: 720px;
  margin: 0 auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Projects grid — 3 equal columns layout */
.projects-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: min(100%, 1420px);
  margin: 0 auto !important;
  padding: 3.25rem 2rem 2rem;
  background: #f8f5ee;
}
.projects-grid.projects-grid-3col {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  background: transparent;
}
.projects-grid-3col .project-card {
  min-height: 400px;
  height: 100%;
}
@media (max-width: 1024px) {
  .projects-grid.projects-grid-3col {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 680px) {
  .projects-grid.projects-grid-3col {
    grid-template-columns: 1fr;
  }
}

/* ===================================
   PORTFOLIO LIGHTBOX POPUP MODAL
   =================================== */
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease-smooth), visibility 0.35s var(--ease-smooth);
}
.portfolio-lightbox.active {
  opacity: 1;
  visibility: visible;
}
.portfolio-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 16, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.portfolio-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: 92vw;
  max-height: 90vh;
  background: transparent;
  border: none;
  border-radius: 16px;
  overflow: visible;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
  transform: scale(0.92) translateY(18px);
  transition: transform 0.4s var(--ease-spring);
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-lightbox.active .portfolio-lightbox-dialog {
  transform: scale(1) translateY(0);
}
.portfolio-lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  z-index: 20;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10, 30, 26, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: all 0.3s var(--ease-smooth);
}
.portfolio-lightbox-close:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: rotate(90deg) scale(1.1);
}
.portfolio-lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 30, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  transition: all 0.3s var(--ease-smooth);
}
.portfolio-lightbox-nav.prev { left: 24px; }
.portfolio-lightbox-nav.next { right: 24px; }
.portfolio-lightbox-nav:hover {
  background: var(--teal);
  border-color: var(--teal);
  transform: translateY(-50%) scale(1.12);
}

.portfolio-lightbox-media {
  position: relative;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 88vh;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 14px;
}
.portfolio-lightbox-media picture,
.portfolio-lightbox-media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.8);
}

@media (max-width: 768px) {
  .portfolio-lightbox-nav.prev { left: 10px; }
  .portfolio-lightbox-nav.next { right: 10px; }
  .portfolio-lightbox-close { top: -14px; right: -14px; }
}

.project-card {
  position: relative;
  min-height: 100%;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  isolation: isolate;
  box-shadow: 0 24px 58px rgba(8,32,29,0.14);
  background: var(--teal-dark);
  transition: transform 0.55s var(--ease-spring), box-shadow 0.55s var(--ease-smooth), filter 0.5s var(--ease-smooth);
}

/* Richer card entrance override */
.projects-grid .project-card.reveal {
  opacity: 0;
  transform: translateY(64px) scale(0.96) skewY(1.2deg);
  transition: opacity 0.95s var(--ease-smooth), transform 1.1s var(--ease-spring), filter 0.8s var(--ease-smooth);
}
.projects-grid .project-card.reveal.visible {
  opacity: 1;
  transform: translateY(0) scale(1) skewY(0);
}

.project-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.2);
  transition: border-color 0.45s var(--ease-smooth), box-shadow 0.45s var(--ease-smooth);
  pointer-events: none;
  z-index: 5;
}

.proj-card-num {
  position: absolute;
  top: 1.05rem;
  left: 1.05rem;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(6,31,28,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255,255,255,0.88);
  line-height: 1;
  letter-spacing: 0;
  pointer-events: none;
  transition: background 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}
.project-card:hover .proj-card-num {
  background: var(--teal);
  transform: translateY(-3px) scale(1.08);
  animation: badge-pulse 1.6s var(--ease-smooth) infinite;
}

.proj-card-shimmer {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}
.proj-card-shimmer::after {
  content: '';
  position: absolute;
  inset: -50%;
  width: 60%;
  background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.26) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-140%) skewX(-12deg);
  opacity: 0;
}
.project-card:hover .proj-card-shimmer::after {
  animation: spotlight 0.85s var(--ease-smooth) forwards;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.6s var(--ease-smooth);
  will-change: transform;
}

.project-card-feature {
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 100%;
}
.project-card-wide {
  grid-column: 2 / span 2;
}

.project-card:hover {
  transform: translateY(-7px);
  box-shadow:
    0 32px 80px rgba(8,32,29,0.28),
    0 0 0 1px rgba(15,118,110,0.12),
    0 0 48px rgba(20,184,166,0.16),
    0 0 96px rgba(20,184,166,0.06);
}
.project-card:hover::after {
  border-color: rgba(232,213,183,0.46);
  box-shadow: inset 0 0 34px rgba(6,31,28,0.08);
}
.project-card:hover img {
  transform: scale(1.055);
  filter: brightness(1.04) saturate(1.06);
}

/* Project card hover icon for image-only thumbnail */
.project-card-hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(10, 30, 26, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  z-index: 6;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-spring);
}
.project-card:hover .project-card-hover-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.65rem;
  background:
    linear-gradient(180deg,
      rgba(8,32,29,0.0) 0%,
      rgba(8,32,29,0.12) 34%,
      rgba(8,32,29,0.62) 68%,
      rgba(8,32,29,0.94) 100%);
  z-index: 3;
  transition: background 0.5s var(--ease-smooth);
}
.project-card:hover .project-overlay {
  background:
    linear-gradient(180deg,
      rgba(8,32,29,0.0) 0%,
      rgba(8,32,29,0.1) 25%,
      rgba(8,32,29,0.44) 58%,
      rgba(8,32,29,0.95) 100%);
}

.project-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.projects-grid > .project-card:nth-child(n+3) .project-badge-row {
  padding-left: 3.25rem;
}
.project-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--teal-pale);
}
.project-year,
.project-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.project-year {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.82);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0;
  max-width: 13em;
  margin-bottom: 0.75rem;
  transition: transform 0.4s var(--ease-smooth);
}
.project-card:hover .project-title {
  transform: translateY(-3px);
}
.project-card-feature .project-title {
  max-width: 9.5em;
  font-size: 3.45rem;
  line-height: 0.98;
}
.project-card-wide .project-title {
  font-size: 2.65rem;
}

.project-sub {
  max-width: 46ch;
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.76);
  margin-bottom: 1.25rem;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease-smooth), transform 0.4s var(--ease-smooth);
}
.project-card:hover .project-sub {
  opacity: 1;
  transform: translateY(-2px);
}

.project-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.project-pill {
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.project-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 44px;
  min-width: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.26);
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 0 0.8rem;
  overflow: hidden;
  transition: all 0.45s var(--ease-smooth);
}
.proj-arrow-text {
  font-size: 0;
  opacity: 0;
  max-width: 0;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: all 0.45s var(--ease-smooth);
  overflow: hidden;
}
.project-card:hover .project-arrow {
  background: var(--teal);
  border-color: var(--teal);
  gap: 0.5rem;
  padding: 0 1.2rem;
  box-shadow: 0 8px 30px rgba(15,118,110,0.4);
}
.project-card:hover .proj-arrow-text {
  font-size: 0.65rem;
  opacity: 1;
  max-width: 120px;
}
.project-card:hover .project-arrow svg {
  transform: translateX(2px);
}
.project-arrow svg {
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring);
}

.projects-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  width: min(100%, 1420px);
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  padding: 1.7rem 2rem 3.25rem;
  background: #f8f5ee;
  border-top: 1px solid rgba(15,118,110,0.12);
  border-bottom: 1px solid rgba(15,118,110,0.08);
}
.projects-footer-note {
  max-width: 56ch;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-mid);
}
.projects-view-all-btn {
  position: relative;
  overflow: hidden;
}
.projects-view-all-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease-smooth), height 0.5s var(--ease-smooth);
}
.projects-view-all-btn:hover::before {
  width: 300px;
  height: 300px;
}

@media (min-width: 1440px) {
  #projects .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
@media (max-width: 1024px) {
  .projects-intro {
    grid-template-columns: 1fr;
    min-height: auto;
    gap: 2rem;
    padding: 5.25rem 2rem 4.5rem;
  }
  .projects-intro::after {
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    width: auto;
    height: 1px;
  }
  .projects-headline {
    max-width: none;
    font-size: 4.4rem;
  }
  .projects-script-line {
    margin-top: 0.8rem;
  }
  .projects-feature-panel {
    max-width: 680px;
  }
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: minmax(300px, auto);
    gap: 1rem;
    padding: 2rem 1.25rem 1.25rem;
  }
  .project-card {
    min-height: 300px;
  }
  .project-card-feature {
    grid-column: span 2;
    grid-row: auto;
    min-height: 420px;
  }
  .project-card-wide {
    grid-column: span 2;
  }
  .project-card-feature .project-title {
    max-width: 10em;
    font-size: 3.15rem;
  }
  .project-card-wide .project-title {
    font-size: 2.45rem;
  }
}
@media (max-width: 768px) {
  #projects {
    padding: 0;
  }
  .projects-shell {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .projects-intro {
    gap: 1.6rem;
    padding: 4.75rem 1.25rem 3.4rem;
  }
  .projects-intro::after {
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.4rem;
  }
  .projects-headline {
    font-size: 3.25rem;
  }
  .projects-desc {
    font-size: 0.95rem;
  }
  .projects-script-line {
    font-size: 1.35rem;
    margin-top: 0.6rem;
  }
  .projects-feature-panel {
    grid-template-columns: 112px 1fr;
    gap: 0.85rem;
  }
  .projects-feature-copy strong {
    font-size: 1.15rem;
  }
  .proj-card-shimmer {
    display: none;
  }
  .proj-card-num {
    top: 1rem;
    left: 1rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(310px, auto);
    gap: 0.9rem;
    padding: 1.1rem;
  }
  .project-card,
  .project-card-wide,
  .project-card-feature {
    grid-column: 1;
    grid-row: auto;
  }
  .project-card {
    min-height: 310px;
  }
  .project-card-feature {
    min-height: 370px;
  }
  .project-badge-row,
  .projects-grid > .project-card:nth-child(n+3) .project-badge-row {
    padding-left: 3.25rem;
  }
  .project-title,
  .project-card-feature .project-title,
  .project-card-wide .project-title {
    max-width: 11em;
    font-size: 2.2rem;
    line-height: 1.04;
  }
  .project-sub {
    opacity: 1;
    transform: none;
  }
  /* On mobile, always show the text in the arrow button */
  .proj-arrow-text {
    font-size: 0.6rem;
    opacity: 1;
    max-width: 100px;
  }
  .project-arrow {
    gap: 0.4rem;
    padding: 0 1rem;
  }
  .projects-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.6rem 1.25rem 2rem;
  }
}
@media (max-width: 420px) {
  .projects-feature-panel {
    grid-template-columns: 1fr;
  }
  .projects-feature-panel picture {
    aspect-ratio: 16 / 9;
  }
  .projects-meta span {
    min-height: 34px;
  }
  .project-overlay {
    padding: 1.2rem;
  }
  .project-card-footer {
    align-items: flex-start;
    flex-direction: column;
  }
  .project-pill {
    display: none;
  }
}
@media (max-width: 360px) {
  .projects-headline {
    font-size: 2.55rem;
  }
  .projects-script-line {
    font-size: 1.1rem;
  }
  .project-arrow {
    height: 40px;
    min-width: 40px;
  }
}

/* ============================================
   SUSTAINABLE SECTION
   ============================================ */
#sustainable {
  position: relative;
  padding: 0;
  background:
    linear-gradient(135deg, #061f1c 0%, #0e3732 46%, #f4f0e7 46%, #f7f4ed 100%);
  overflow: hidden;
  isolation: isolate;
}
#sustainable::before {
  content: '';
  position: absolute;
  inset: 0;
  background: image-set(
    url('../images/pattern.avif') type('image/avif'),
    url('../images/pattern.webp') type('image/webp'),
    url('../images/pattern.png') type('image/png')
  ) repeat;
  background-size: 240px;
  opacity: 0.035;
  pointer-events: none;
  z-index: 1;
}
.sustainable-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(460px, 0.95fr) minmax(0, 1.05fr);
  min-height: 660px;
  padding: 0 !important;
  max-width: none;
}
.sustainable-intro {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 660px;
  padding: 5rem 4.5rem 3.5rem;
  margin-bottom: 0;
  background:
    linear-gradient(145deg, rgba(6,31,28,0.98) 0%, rgba(13,87,82,0.94) 100%),
    image-set(
      url('../images/pattern.avif') type('image/avif'),
      url('../images/pattern.webp') type('image/webp'),
      url('../images/pattern.png') type('image/png')
    ) repeat;
  background-size: auto, 220px;
  color: var(--white);
  overflow: hidden;
}
.sustainable-intro::after {
  content: '';
  position: absolute;
  inset: auto -18% 0 auto;
  width: 46%;
  height: 56%;
  background: linear-gradient(145deg, rgba(168,213,209,0.14), rgba(232,213,183,0.18));
  clip-path: polygon(24% 0, 100% 18%, 76% 100%, 0 78%);
  pointer-events: none;
  z-index: 0;
}
.sustainable-intro-main {
  position: relative;
  z-index: 1;
}
.sustainable-intro-main .section-tag {
  margin-bottom: 1.1rem;
  color: var(--teal-pale);
}
.sustainable-intro-main .section-tag::before {
  background: var(--teal-light);
}
.sustainable-headline {
  font-family: var(--font-display);
  font-size: clamp(3.7rem, 5.2vw, 5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 0.95;
  letter-spacing: 0;
  max-width: 11em;
}
.sustainable-headline em {
  font-style: italic;
  color: var(--sand-dark);
}
.sustainable-intro-side {
  display: grid;
  gap: 1.35rem;
  position: relative;
  z-index: 1;
}
.sustainable-copy {
  max-width: 54ch;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
}
.sustainable-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  border-top: 0;
}
.sustainable-metric {
  display: block;
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: none;
}
.sustainable-metric strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-pale);
  margin-bottom: 0.45rem;
}
.sustainable-metric span {
  display: block;
  font-size: 0.76rem;
  line-height: 1.45;
  color: rgba(255,255,255,0.68);
}
.sustainable-showcase {
  position: relative;
  display: grid;
  align-items: stretch;
  min-height: 660px;
  overflow: hidden;
}
.sustainable-media,
.sustainable-content-panel {
  min-width: 0;
}
.sustainable-media {
  position: absolute;
  inset: 0;
}
.sustainable-img-wrap {
  position: relative;
  min-height: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
}
.sustainable-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.8s var(--ease-smooth);
}
.sustainable-img-wrap:hover img {
  transform: scale(1.04);
}

/* Water ripple overlay */
.ripple-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(8,32,29,0.24) 0%, rgba(8,32,29,0.04) 42%, rgba(8,32,29,0.58) 100%),
    linear-gradient(180deg, rgba(8,32,29,0.05) 0%, rgba(8,32,29,0.44) 100%),
    radial-gradient(ellipse at 50% 80%, rgba(20,184,166,0.12), transparent 60%);
}
.ripple-circle {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(20,184,166,0.4);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  animation: ripple 3s ease-out infinite;
}
.ripple-circle:nth-child(2) { animation-delay: 1s; }
.ripple-circle:nth-child(3) { animation-delay: 2s; }
.sustainable-media-card {
  position: absolute;
  top: 2rem;
  right: 2rem;
  left: auto;
  bottom: auto;
  max-width: 330px;
  padding: 1rem 1.05rem;
  border-radius: 18px;
  background: rgba(6,31,28,0.64);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 22px 60px rgba(8,32,29,0.22);
}
.sustainable-media-label {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--teal-pale);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.sustainable-media-card p {
  font-size: 0.86rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}
.sustainable-content-panel {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  align-self: end;
  padding: 0 2rem 2rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}
.eco-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  width: 100%;
}
.eco-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem;
  min-height: 100%;
  border-radius: 18px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,0.28);
  box-shadow: 0 18px 50px rgba(8,32,29,0.16);
  transition: all 0.35s var(--ease-smooth);
}
.eco-feature-wide {
  grid-column: span 2;
}
.eco-feature:hover {
  background: rgba(255,255,255,0.96);
  border-color: rgba(204,251,241,0.46);
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(8,32,29,0.22);
}
.eco-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.eco-icon svg { color: var(--teal-pale); }
.eco-feature h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  letter-spacing: 0;
}
.eco-feature p {
  font-size: 0.74rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
#testimonials {
  padding: 8rem 0;
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--palm) 100%);
  position: relative; overflow: hidden;
}
#testimonials::before {
  content: ''; position: absolute; inset: 0;
  background: image-set(
    url('../images/pattern.avif') type('image/avif'),
    url('../images/pattern.webp') type('image/webp'),
    url('../images/pattern.png') type('image/png')
  ) repeat;
  background-size: 250px;
  opacity: 0.05;
}
.testimonials-header {
  text-align: center; margin-bottom: 4rem; position: relative; z-index: 1;
}
.testimonials-header .section-tag {
  color: var(--teal-light);
  margin-bottom: 1rem; display: flex; justify-content: center;
}
.testimonials-header .section-tag::before { background: var(--teal-light); }
.testimonials-header h2 {
  font-size: clamp(2.2rem, 3.5vw, 3.2rem); font-weight: 300;
  color: var(--white);
}

.testimonials-slider {
  position: relative; z-index: 1; overflow: hidden;
}
.testimonials-track {
  display: flex; gap: 1.5rem;
  transition: transform 0.6s var(--ease-smooth);
}
.testimonial-card {
  background: rgba(255,255,255,0.09);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 24px; padding: 2.5rem;
  flex: 0 0 calc(33.333% - 1rem);
  min-width: 300px;
  transition: all 0.4s var(--ease-smooth);
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.13);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}
.quote-mark {
  font-family: var(--font-serif); font-size: 4rem;
  color: var(--teal-light); line-height: 0.5; margin-bottom: 1.5rem;
  opacity: 0.6;
}
.testimonial-text {
  font-family: var(--font-serif); font-size: 1.05rem; font-style: italic;
  color: rgba(255,255,255,0.9); line-height: 1.75; margin-bottom: 2rem;
}
.testimonial-client {
  display: flex; align-items: center; gap: 1rem;
}
.client-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  overflow: hidden; border: 2px solid rgba(255,255,255,0.3);
  flex-shrink: 0; background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.2rem; color: var(--white);
}
.client-name {
  font-weight: 600; color: var(--white); font-size: 0.9rem;
}
.client-location {
  font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 2px;
}
.client-stars {
  margin-top: 4px; color: #fbbf24;
  font-size: 0.8rem; letter-spacing: 2px;
}

/* Slider controls */
.slider-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; margin-top: 3rem; position: relative; z-index: 1;
}
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: all 0.3s var(--ease-smooth);
}
.slider-btn:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  transform: scale(1.1);
}
.slider-dots { display: flex; gap: 0.5rem; }
.slider-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.3);
  transition: all 0.3s; cursor: pointer;
}
.slider-dot.active {
  background: var(--white); width: 20px; border-radius: 3px;
}

/* ============================================
   FOOTER
   ============================================ */
#footer {
  background: var(--teal-dark);
  color: rgba(255,255,255,0.8);
  position: relative; overflow: hidden;
}
#footer::before {
  content: ''; position: absolute; inset: 0;
  background: image-set(
    url('../images/pattern.avif') type('image/avif'),
    url('../images/pattern.webp') type('image/webp'),
    url('../images/pattern.png') type('image/png')
  ) repeat;
  background-size: 200px; opacity: 0.04;
}
.footer-newsletter {
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 4rem 0;
  position: relative; z-index: 1;
}
.newsletter-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 3rem;
}
.newsletter-text h3 {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 300;
  color: var(--white); margin-bottom: 0.5rem;
}
.newsletter-text p { font-size: 0.9rem; color: rgba(255,255,255,0.6); }
.newsletter-form {
  display: flex; gap: 0; min-width: 360px;
  background: rgba(255,255,255,0.08); border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.15); overflow: hidden;
  backdrop-filter: blur(8px);
}
.newsletter-form input {
  flex: 1; background: none; border: none; outline: none;
  padding: 0.9rem 1.5rem;
  font-size: 0.88rem; color: var(--white); font-family: var(--font-sans);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button {
  padding: 0.7rem 1.5rem; margin: 4px;
  background: var(--teal-light); color: var(--white);
  border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  transition: all 0.3s; letter-spacing: 0.04em;
}
.newsletter-form button:hover { background: var(--white); color: var(--teal-dark); }

.footer-main {
  padding: 4rem 0 3rem;
  position: relative; z-index: 1;
  /* Footer grid columns layout is managed by Bootstrap row and col classes */
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.25rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
  text-decoration: none;
}
.footer-logo-card {
  padding: 12px 22px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}
.footer-logo-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}
.footer-logo img {
  height: 48px;
  width: auto;
  display: block;
}
.footer-brand p {
  font-size: 0.88rem; line-height: 1.75; color: rgba(255,255,255,0.7);
  max-width: 350px; margin-bottom: 1.5rem;
}
.footer-socials { display: flex; gap: 0.75rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); transition: all 0.3s;
}
.social-btn:hover {
  border-color: var(--teal-light); color: var(--teal-light);
  transform: translateY(-3px);
}

.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.4); margin-bottom: 1.25rem; font-weight: 600;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul li a {
  font-size: 0.88rem; color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

.footer-contact { display: flex; flex-direction: column; gap: 0.9rem; }
.contact-item {
  display: flex; align-items: flex-start; gap: 0.75rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.55);
}
.contact-item svg { color: var(--teal-light); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 1.5rem 0;
  position: relative; z-index: 1;
  display: flex; align-items: center; justify-content: space-between;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a {
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ============================================
   FLOATING LEAF DECORATION
   ============================================ */
.leaf-deco {
  position: absolute; pointer-events: none; opacity: 0.07;
  animation: leaf-sway 6s ease-in-out infinite;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
  .sustainable-shell {
    grid-template-columns: minmax(420px, 0.95fr) minmax(0, 1.05fr);
  }
  .sustainable-intro {
    padding: 4.5rem 3rem 3rem;
  }
  .sustainable-headline {
    font-size: 4.1rem;
  }
  .sustainable-content-panel {
    padding: 0 1.5rem 1.5rem;
  }
  .sustainable-media-card {
    top: 1.5rem;
    right: 1.5rem;
  }
  #about {
    padding-top: 1.5rem;
  }
  .about-panel-photo {
    border-radius: 38px 92px 38px 38px;
  }
  .about-panel-content {
    padding: 3.5rem 3rem;
    border-radius: 38px 38px 92px 38px;
  }
  .about-main-headline {
    max-width: 18ch;
  }
  .about-panel-sketch {
    width: min(46vw, 440px);
    height: min(30vw, 300px);
    right: -2rem;
  }

}

@media (max-width: 1024px) {
  #sustainable {
    padding: 0;
    background: linear-gradient(180deg, #061f1c 0%, #0e3732 48%, #f7f4ed 48%, #f7f4ed 100%);
  }
  .sustainable-shell {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .sustainable-intro {
    min-height: auto;
    padding: 4.75rem 2rem 3rem;
  }
  .sustainable-showcase {
    min-height: 560px;
  }
  .sustainable-headline {
    font-size: 3.8rem;
    max-width: none;
  }
  .sustainable-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sustainable-img-wrap {
    min-height: 560px;
    border-radius: 0;
  }
  .sustainable-content-panel {
    padding: 0 1.5rem 1.5rem;
    border-radius: 0;
  }
  .eco-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-fluid-row { min-height: auto; }
  .about-panel-photo {
    min-height: 560px;
    border-radius: 32px;
    box-shadow: 0 22px 60px rgba(6,33,30,0.14);
  }
  .about-panel-content {
    padding: 3rem 2rem;
    border-radius: 32px;
  }
  .about-main-headline {
    max-width: none;
    font-size: clamp(2rem, 5vw, 3.2rem);
  }

  .about-panel-sketch {
    width: min(62vw, 420px);
    height: 220px;
    right: -1rem;
    bottom: 0;
  }
  .about-sketch-img {
    bottom: 1.2rem;
  }
  .about-photo-card {
    max-width: 360px;
  }

  .hero-side-cards { display: none; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { min-width: 100%; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .testimonial-card { flex: 0 0 calc(90vw - 4rem); }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  #sustainable {
    padding: 0;
  }
  .sustainable-shell {
    padding: 0 !important;
  }
  .sustainable-intro {
    gap: 1.5rem;
    padding: 4.25rem 1.25rem 2rem;
    margin-bottom: 0;
  }
  .sustainable-intro::after {
    width: 62%;
    height: 42%;
  }
  .sustainable-headline {
    font-size: 3rem;
    line-height: 1;
  }
  .sustainable-copy {
    line-height: 1.65;
  }
  .sustainable-metrics {
    grid-template-columns: repeat(3, minmax(145px, 1fr));
    overflow-x: auto;
    padding-bottom: 0.3rem;
    scrollbar-width: none;
  }
  .sustainable-metrics::-webkit-scrollbar {
    display: none;
  }
  .sustainable-metric {
    min-width: 145px;
  }
  .sustainable-showcase {
    min-height: 0;
    overflow: visible;
  }
  .sustainable-media {
    position: relative;
    height: 340px;
  }
  .sustainable-img-wrap {
    min-height: 340px;
    border-radius: 0;
  }
  .sustainable-media-card {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    max-width: none;
    border-radius: 16px;
  }
  .sustainable-content-panel {
    margin-top: -3.25rem;
    padding: 0 1rem 1rem;
    border-radius: 0;
  }
  .eco-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }
  .eco-feature-wide {
    grid-column: span 2;
  }
  .eco-feature {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 0.6rem;
    padding: 0.75rem;
  }
  .eco-icon {
    width: 34px;
    height: 34px;
  }
  .eco-feature h4 {
    font-size: 0.76rem;
    margin-bottom: 0.2rem;
  }
  .eco-feature p {
    font-size: 0.68rem;
    line-height: 1.35;
  }
  #about {
    padding: 1rem 0 4.5rem;
  }
  .about-fluid-wrap {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  .about-panel-photo {
    min-height: 460px;
    border-radius: 24px;
  }
  .about-panel-content {
    padding: 2.4rem 1.5rem 12rem;
  }
  .about-photo-card {
    left: 1rem;
    right: 1rem;
    max-width: none;
    bottom: 1rem;
    border-radius: 24px;
  }
  .about-photo-chip {
    display: none;
  }
  .about-panel-sketch {
    width: calc(100% - 1rem);
    height: 170px;
    right: 0;
    bottom: 1.25rem;
  }
  .about-sketch-img {
    width: 100%;
    bottom: 0.5rem;
  }
  .about-leaves-img {
    width: 130px;
    right: -2%;
    bottom: -8%;
  }
  .about-main-headline { font-size: clamp(1.8rem, 8vw, 2.8rem); }
  .about-script-line { font-size: 1.35rem; }
  .about-actions-wrap {
    align-items: flex-start;
    flex-direction: column;
  }

}

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .sustainable-headline {
    font-size: 2.45rem;
  }
  .sustainable-copy {
    font-size: 0.9rem;
  }
  .sustainable-metric {
    padding: 0.75rem;
  }
  .sustainable-media {
    height: 300px;
  }
  .sustainable-img-wrap {
    min-height: 300px;
    border-radius: 0;
  }
  .sustainable-media-card {
    padding: 1rem;
    display: none;
  }
  .sustainable-content-panel {
    margin-top: -2.75rem;
    padding: 0 0.75rem 0.85rem;
    border-radius: 0;
  }
  .eco-feature {
    padding: 0.72rem;
    border-radius: 16px;
  }
  .eco-icon {
    width: 32px;
    height: 32px;
  }
  .eco-feature p {
    display: none;
  }
  .about-panel-photo {
    min-height: 400px;
    border-radius: 22px;
  }
  .about-panel-content {
    padding: 2rem 1rem 10.5rem;
  }
  .about-eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.18em;
  }
  .about-main-headline {
    font-size: clamp(1.6rem, 9vw, 2.4rem);
  }
  .about-main-copy {
    font-size: 0.9rem;
  }
  .about-copy-block {
    padding: 1rem;
  }
  .about-panel-sketch {
    height: 140px;
    bottom: 0.5rem;
  }
  .about-leaves-img {
    width: 110px;
  }
  .about-photo-card {
    padding: 1.15rem;
    border-radius: 22px;
  }
  .about-card-heading {
    font-size: 1.3rem;
  }

}

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--teal-light); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--teal); }

/* ── Selection ── */
::selection { background: rgba(15,118,110,0.2); color: var(--teal-dark); }

/* ============================================
   FLOATING WHATSAPP CHAT WIDGET
   ============================================ */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  z-index: -1;
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}
.whatsapp-float-btn:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}
.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: #1a2e2b;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #1a2e2b;
}
.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
@media (max-width: 768px) {
  .whatsapp-float-btn {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-tooltip {
    display: none;
  }
}
