/* ==========================================================================
   SOLAR MAHI INNOVATIONS - PREMIUM PASTEL ECO-TECH DESIGN SYSTEM
   Palette: Sage Green (#8FAF9A), Soft Olive (#B7C7A3), Pastel Yellow (#F4D98B),
   Warm Cream (#F7F5ED), Deep Forest (#26352B), Soft Sage White (#E8EEE7),
   Soft Green Gray (#D4DED2), Deep Sage Hover (#6F927A).
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap');

/* ==========================================
   1. DESIGN TOKENS & CSS VARIABLES
   ========================================== */
:root {
  /* Core Pastel Eco-Tech Color Palette */
  --primary-sage: #27AE60;
  --primary-hover: #1E824C;
  --secondary-olive: #B7C7A3;
  --accent-solar-yellow: #F4D98B;
  --solar-glow: rgba(244, 217, 139, 0.4);

  --bg-warm-cream: #F7F5ED;
  --bg-sage-white: #E8EEE7;
  --bg-sage-hover: #DFE7DD;
  --bg-deep-forest: #26352B;
  --bg-forest-card: #1E2B23;

  --text-deep-forest: #26352B;
  --text-muted-forest: #4F6355;
  --text-cream-light: #F7F5ED;
  --text-white: #FFFFFF;

  --border-soft-gray: #D4DED2;
  --border-solar-gold: rgba(244, 217, 139, 0.45);
  --border-sage-glow: rgba(143, 175, 154, 0.4);

  /* Fonts */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(38, 53, 43, 0.05);
  --shadow-card: 0 10px 30px rgba(38, 53, 43, 0.08);
  --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.25);
  --glow-pastel: 0 0 20px rgba(244, 217, 139, 0.35);

  /* Glassmorphism */
  --glass-light: rgba(232, 238, 231, 0.9);
  --glass-dark: rgba(38, 53, 43, 0.93);
  --glass-blur: blur(14px);
}

/* ==========================================
   2. RESET & BASE STYLES
   ========================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-deep-forest);
  background-color: var(--bg-warm-cream);
  line-height: 1.65;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-deep-forest);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-warm-cream);
}
::-webkit-scrollbar-thumb {
  background: var(--primary-sage);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-hover);
}

/* Selection */
::selection {
  background: var(--accent-solar-yellow);
  color: var(--text-deep-forest);
}

/* ==========================================
   3. PRELOADER
   ========================================== */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--bg-deep-forest);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader-content {
  text-align: center;
}

.preloader-spinner {
  width: 75px;
  height: 75px;
  border: 4px solid rgba(244, 217, 139, 0.15);
  border-left-color: var(--primary-sage);
  border-top-color: var(--accent-solar-yellow);
  border-radius: 50%;
  animation: spin 1s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.preloader-logo-text {
  font-family: var(--font-heading);
  color: var(--text-cream-light);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.preloader-logo-text span {
  color: var(--accent-solar-yellow);
}

/* ==========================================
   4. TOP BAR & NAVIGATION HEADER
   ========================================== */
.top-bar {
  display: none !important;
  background: var(--bg-deep-forest);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8px 0;
  font-size: 0.85rem;
  color: var(--secondary-olive);
  position: relative;
  z-index: 1001;
}

.top-bar-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}
.top-bar-item i {
  color: var(--accent-solar-yellow);
}
.top-bar-item a:hover {
  color: var(--accent-solar-yellow);
}

.top-bar-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.top-bar-socials a {
  color: var(--secondary-olive);
  font-size: 0.95rem;
}
.top-bar-socials a:hover {
  color: var(--accent-solar-yellow);
  transform: translateY(-1px);
}

/* Hidden Progress Bar */
.scroll-progress-container, .scroll-progress-bar {
  display: none !important;
}

/* Main Header - Fixed at Top */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1005;
  background: rgba(38, 53, 43, 0.95);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(244, 217, 139, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  padding: 12px 0;
  transition: var(--transition-normal);
}

.header .logo-title {
  color: var(--text-cream-light);
}

.header .logo-subtitle {
  color: var(--secondary-olive);
}

.header .nav-link {
  color: var(--text-cream-light);
}

.header .menu-btn-bar {
  background: var(--text-cream-light);
}

.header-active {
  padding: 10px 0;
  background: rgba(28, 40, 32, 0.98);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Brand Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-sage), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-solar-yellow);
  font-size: 1.4rem;
  box-shadow: 0 4px 15px rgba(143, 175, 154, 0.35);
  position: relative;
}
.logo-badge::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 14px;
  border: 1px solid var(--accent-solar-yellow);
  opacity: 0.5;
}

.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-deep-forest);
  letter-spacing: 0.5px;
  line-height: 1.1;
  transition: var(--transition-fast);
}
.header-active .logo-title {
  color: var(--text-cream-light);
}
.logo-title span {
  color: var(--primary-sage);
}
.header-active .logo-title span {
  color: var(--accent-solar-yellow);
}
.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary-hover);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.header-active .logo-subtitle {
  color: var(--secondary-olive);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-deep-forest);
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
}
.header-active .nav-link {
  color: var(--text-cream-light);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--primary-sage);
  transition: var(--transition-fast);
  border-radius: 2px;
}
.header-active .nav-link::after {
  background: var(--accent-solar-yellow);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-hover);
}
.header-active .nav-link:hover, .header-active .nav-link.active {
  color: var(--accent-solar-yellow);
}

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

.nav-btn {
  background: var(--primary-sage);
  color: var(--text-white) !important;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.4px;
  padding: 10px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 15px rgba(143, 175, 154, 0.3);
}
.nav-btn::after { display: none; }
.nav-btn:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-2px);
  color: var(--text-white) !important;
  box-shadow: 0 6px 20px rgba(111, 146, 122, 0.4);
}

/* Mobile Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1003;
}
.menu-btn-bar {
  width: 100%;
  height: 2.5px;
  background: var(--text-deep-forest);
  border-radius: 2px;
  transition: var(--transition-normal);
}
.header-active .menu-btn-bar {
  background: var(--text-cream-light);
}
.menu-btn.open .menu-btn-bar:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.menu-btn.open .menu-btn-bar:nth-child(2) { opacity: 0; }
.menu-btn.open .menu-btn-bar:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* Mobile Menu Backdrop Overlay */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 16, 12, 0.75);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.nav-backdrop.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ==========================================
   5. BUTTONS & UI UTILITIES
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-sage);
  color: var(--text-white);
  box-shadow: 0 6px 20px rgba(39, 174, 96, 0.35);
}
.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(30, 130, 76, 0.45);
}

.btn-secondary {
  background: var(--bg-sage-white);
  color: var(--text-deep-forest);
  border: 1px solid var(--border-soft-gray);
}
.btn-secondary:hover {
  background: var(--bg-deep-forest);
  color: var(--text-cream-light);
  border-color: var(--bg-deep-forest);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn-solar {
  background: var(--accent-solar-yellow);
  color: var(--text-deep-forest);
  font-weight: 800;
  box-shadow: 0 6px 20px rgba(244, 217, 139, 0.4);
}
.btn-solar:hover {
  background: #E8CC78;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(244, 217, 139, 0.6);
}

/* Glass Panels */
.glass-panel-light {
  background: var(--glass-light);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-soft-gray);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.glass-panel-dark {
  background: var(--glass-dark);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(244, 217, 139, 0.25);
  border-radius: 20px;
  box-shadow: var(--shadow-dark);
}

/* Section Typography */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-hover);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-deep-forest);
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
  letter-spacing: -0.3px;
}
.section-title span {
  color: var(--primary-sage);
}
.section-description {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted-forest);
}

/* ==========================================
   6. HERO BANNER SECTION
   ========================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;       /* dynamic viewport height on modern browsers */
  display: flex;
  align-items: center;
  padding: 0;
  background: var(--bg-deep-forest);
  /* NO overflow here — overflow is handled by .hero-bg so the section
     can grow on mobile without clipping content */
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;         /* clip the image/overlay here, not on .hero */
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: brightness(0.8) contrast(1.1);
}
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(38, 53, 43, 0.82) 0%, rgba(38, 53, 43, 0.65) 50%, rgba(38, 53, 43, 0.85) 100%);
}

.hero-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 100px 24px 60px;
  width: 100%;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  color: var(--text-cream-light);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(244, 217, 139, 0.12);
  border: 1px solid var(--border-solar-gold);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-solar-yellow);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--text-cream-light);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}
.hero-title span#heroTypedText {
  /* Fallback solid colour — always visible */
  color: var(--accent-solar-yellow);
}
/* Progressive enhancement — gradient only if clip is supported */
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .hero-title span#heroTypedText {
    background: linear-gradient(90deg, var(--accent-solar-yellow), #fffbe0, var(--accent-solar-yellow));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s linear infinite;
  }
}

.typed-cursor {
  display: inline-block;
  color: var(--accent-solar-yellow);
  font-weight: 300;
  margin-left: 4px;
  animation: blinkCursor 0.8s ease-in-out infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.hero-tagline {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--bg-sage-white);
  margin-bottom: 36px;
  border-left: 3px solid var(--accent-solar-yellow);
  padding-left: 20px;
}

.hero-btns {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* Hero Right Visual Card */
.hero-visual {
  position: relative;
}
.hero-card {
  padding: 32px;
  background: var(--glass-dark);
  border: 1px solid var(--border-solar-gold);
  box-shadow: var(--shadow-dark);
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-sage), var(--accent-solar-yellow));
}
.hero-stat-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.hero-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(244, 217, 139, 0.18);
  color: var(--accent-solar-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}
.hero-stat-text h4 {
  font-size: 1.35rem;
  color: var(--text-cream-light);
}
.hero-stat-text p {
  font-size: 0.85rem;
  color: var(--secondary-olive);
}

.hero-features-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-cream-light);
}
.hero-feature-item i {
  color: var(--accent-solar-yellow);
}

/* ==========================================
   7. ABOUT SECTION
   ========================================== */
.about {
  padding: 100px 0;
  background: var(--bg-warm-cream);
  position: relative;
}

.about-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-info .section-title {
  text-align: left;
}

.about-text {
  font-size: 1.05rem;
  color: var(--text-muted-forest);
  margin-bottom: 30px;
  line-height: 1.7;
}

.about-bullets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}
.about-bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.about-bullet-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bg-sage-white);
  border: 1px solid var(--border-soft-gray);
  color: var(--primary-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-bullet-text h4 {
  font-size: 1rem;
  color: var(--text-deep-forest);
  margin-bottom: 4px;
}
.about-bullet-text p {
  font-size: 0.85rem;
  color: var(--text-muted-forest);
}

/* About Slideshow Frame */
.about-media {
  position: relative;
}
.about-img-frame {
  position: relative;
  width: 100%;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-soft-gray);
  box-shadow: var(--shadow-card);
}
.about-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.about-slide.active { opacity: 1; }
.about-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-experience-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  padding: 20px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-deep-forest);
  border: 1px solid var(--border-solar-gold);
  border-radius: 16px;
  box-shadow: var(--shadow-dark);
}
.about-exp-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 900;
  color: var(--accent-solar-yellow);
  line-height: 1;
}
.about-exp-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-cream-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================
   8. SERVICES SECTION
   ========================================== */
.services {
  padding: 100px 0;
  background: var(--bg-sage-white);
  position: relative;
}

.services-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  padding: 36px 28px;
  background: var(--bg-warm-cream);
  border: 1px solid var(--border-soft-gray);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-sage);
  box-shadow: var(--shadow-card);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-sage), var(--accent-solar-yellow));
  opacity: 0;
  transition: var(--transition-fast);
}
.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(244, 217, 139, 0.3);
  color: var(--text-deep-forest);
  border: 1px solid var(--accent-solar-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.service-slideshow {
  position: relative;
  width: 100%;
  height: 160px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
}
.service-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.service-slide.active { opacity: 1; }
.service-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-deep-forest);
  margin-bottom: 12px;
  letter-spacing: -0.2px;
}
.service-description {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted-forest);
  line-height: 1.65;
}

/* ==========================================
   9. STATS & WHY CHOOSE US
   ========================================== */
.stats {
  padding: 60px 0;
  background: var(--bg-deep-forest);
  border-y: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item {
  padding: 20px;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--accent-solar-yellow);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--secondary-olive);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================
   10. CLIENT SHOWCASE
   ========================================== */
.clients-section {
  padding: 100px 0;
  background: var(--bg-warm-cream);
}

.clients-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.client-card {
  background: var(--bg-sage-white);
  border: 1px solid var(--border-soft-gray);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-sage);
  box-shadow: var(--shadow-card);
}

.client-logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-soft-gray);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.client-logo-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.client-name {
  font-size: 1.05rem;
  color: var(--text-deep-forest);
}

/* ==========================================
   11. PROCESS TIMELINE SECTION
   ========================================== */
.timeline-section {
  padding: 100px 0;
  background: var(--bg-sage-white);
}

.timeline-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.timeline-outer {
  position: relative;
  margin-top: 50px;
}

.timeline-inner {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 30px;
  left: 5%;
  width: 90%;
  height: 3px;
  background: var(--border-soft-gray);
  z-index: 1;
}

.timeline-progress {
  position: absolute;
  top: 30px;
  left: 5%;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-sage), var(--accent-solar-yellow));
  z-index: 2;
  transition: width 0.6s ease;
}

.timeline-step {
  position: relative;
  z-index: 3;
  text-align: center;
}

.timeline-node {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bg-warm-cream);
  border: 3px solid var(--border-soft-gray);
  color: var(--text-muted-forest);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: var(--transition-normal);
}

.timeline-step.active .timeline-node,
.timeline-step.completed .timeline-node {
  background: var(--primary-sage);
  border-color: var(--primary-hover);
  color: var(--text-white);
  box-shadow: 0 0 15px rgba(143, 175, 154, 0.4);
}

.timeline-label {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-deep-forest);
  margin-bottom: 8px;
}

.timeline-detail {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted-forest);
  line-height: 1.5;
}

/* ==========================================
   12. REVIEWS & TESTIMONIALS
   ========================================== */
.testimonials {
  padding: 100px 0;
  background: var(--bg-warm-cream);
}

.testimonials-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.reviews-summary-card {
  padding: 30px 40px;
  background: var(--bg-sage-white);
  border: 1px solid var(--border-soft-gray);
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.summary-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.summary-rating {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--text-deep-forest);
}
.rating-stars {
  color: var(--accent-solar-yellow);
  font-size: 1.2rem;
  margin-bottom: 4px;
}
.rating-count {
  font-size: 0.9rem;
  color: var(--text-muted-forest);
}

.summary-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.google-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-deep-forest);
  font-weight: 600;
}

.btn-write-review {
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--bg-warm-cream);
  border: 1px solid var(--border-soft-gray);
  color: var(--text-deep-forest);
  font-size: 0.9rem;
  font-weight: 600;
}
.btn-write-review:hover {
  background: var(--primary-sage);
  color: var(--text-white);
  border-color: var(--primary-sage);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-sage-white);
  border: 1px solid var(--border-soft-gray);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: var(--transition-normal);
}
.review-card:hover {
  border-color: var(--primary-sage);
  transform: translateY(-4px);
}
.review-card.review-hidden {
  display: none;
}
.review-card.review-hidden.reveal-active {
  display: flex;
}

.review-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--text-deep-forest);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.reviewer-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-deep-forest);
  font-weight: 600;
}
.review-stats {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--text-muted-forest);
}
.review-stars-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.review-stars { color: #E8CC78; }
.review-date { font-family: var(--font-body); color: var(--text-muted-forest); }

.review-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-deep-forest);
  line-height: 1.6;
  font-style: italic;
}

.reviews-toggle-container {
  text-align: center;
  margin-top: 40px;
}

/* ==========================================
   13. CALL TO ACTION BANNER
   ========================================== */
.cta {
  padding: 80px 0;
  background: var(--bg-deep-forest);
}

.cta-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 40px;
  text-align: center;
  border: 1px solid var(--border-solar-gold);
  border-radius: 24px;
  background: var(--glass-dark);
}
.cta-container h2 {
  font-size: 3rem;
  color: var(--text-cream-light);
  margin-bottom: 16px;
}
.cta-container h2 span {
  color: var(--accent-solar-yellow);
}
.cta-container p {
  font-size: 1.15rem;
  color: var(--secondary-olive);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ==========================================
   14. CONTACT & MAP SECTION
   ========================================== */
.contact-section {
  padding: 100px 0;
  background: var(--bg-warm-cream);
}

.contact-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info .section-title { text-align: left; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--bg-sage-white);
  padding: 20px 24px;
  border-radius: 16px;
  border: 1px solid var(--border-soft-gray);
  margin-bottom: 20px;
  transition: var(--transition-normal);
  min-width: 0;
  width: 100%;
}
.contact-card:hover {
  border-color: var(--primary-sage);
  transform: translateX(6px);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-sage);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-card-text {
  flex: 1;
  min-width: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-card-text h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-deep-forest);
  margin-bottom: 4px;
}
.contact-card-text p {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted-forest);
  margin-bottom: 4px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.contact-card-text a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-hover);
  word-break: break-word;
  overflow-wrap: anywhere;
  display: inline-block;
}
.contact-card-text a:hover {
  color: var(--text-deep-forest);
}

.map-container {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-soft-gray);
  box-shadow: var(--shadow-card);
  min-height: 400px;
}

/* ==========================================
   15. BOOKING FORM PAGE STYLES
   ========================================== */
.booking-section {
  padding: 120px 0 100px;
  background: var(--bg-warm-cream);
}

.booking-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.booking-card {
  padding: 45px;
  background: var(--bg-sage-white);
  border: 1px solid var(--border-soft-gray);
  border-radius: 24px;
  box-shadow: var(--shadow-card);
}

.booking-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-deep-forest);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-warm-cream);
  border: 1px solid var(--border-soft-gray);
  border-radius: 12px;
  color: var(--text-deep-forest);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.form-input:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 12px rgba(143, 175, 154, 0.3);
}
.form-input option {
  background: var(--bg-warm-cream);
  color: var(--text-deep-forest);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-sage);
  cursor: pointer;
}
.form-checkbox-label {
  font-size: 0.9rem;
  color: var(--text-muted-forest);
  cursor: pointer;
}

.form-submit-btn {
  width: 100%;
  font-size: 1.1rem;
  padding: 16px;
}

/* ==========================================
   16. GALLERY PAGE STYLES
   ========================================== */
.gallery-section {
  padding: 120px 0 100px;
  background: var(--bg-warm-cream);
}

.gallery-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: 30px;
  background: var(--bg-sage-white);
  border: 1px solid var(--border-soft-gray);
  color: var(--text-deep-forest);
  font-family: var(--font-heading);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--primary-sage);
  color: var(--text-white);
  border-color: var(--primary-sage);
  box-shadow: 0 4px 15px rgba(143, 175, 154, 0.35);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 260px;
  cursor: pointer;
  border: 1px solid var(--border-soft-gray);
}
.gallery-item img, .gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img, .gallery-item:hover video {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 53, 43, 0.95), transparent 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-category {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-solar-yellow);
  letter-spacing: 1px;
}
.gallery-item-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-cream-light);
  margin-top: 4px;
}

.gallery-play-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-solar-yellow);
  color: var(--text-deep-forest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  pointer-events: none;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: var(--glass-dark);
  backdrop-filter: blur(14px);
  z-index: 10000;
  display: opacity 0.3s ease, visibility 0.3s ease;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2.5rem;
  color: var(--text-cream-light);
  background: none;
  border: none;
  cursor: pointer;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-cream-light);
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }
.lightbox-content {
  max-width: 90vw;
  max-height: 85vh;
  text-align: center;
}
.lightbox-img, .lightbox-video {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  border: 1px solid var(--border-solar-gold);
}
.lightbox-caption {
  margin-top: 15px;
  color: var(--text-cream-light);
  font-size: 1.2rem;
  font-weight: 600;
}

/* ==========================================
   17. FOOTER
   ========================================== */
.footer {
  background: var(--bg-deep-forest);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 80px 0 0;
}

.footer-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-logo-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-cream-light);
}

.footer-desc {
  font-size: 0.95rem;
  color: var(--secondary-olive);
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}
.footer-social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-cream-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}
.footer-social-icon:hover {
  background: var(--accent-solar-yellow);
  color: var(--text-deep-forest);
  border-color: var(--accent-solar-yellow);
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.2rem;
  color: var(--text-cream-light);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer-links h3::after, .footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2.5px;
  background: var(--accent-solar-yellow);
}

.footer-links-list li {
  margin-bottom: 12px;
}
.footer-links-list a {
  color: var(--secondary-olive);
  font-size: 0.95rem;
}
.footer-links-list a:hover {
  color: var(--accent-solar-yellow);
  padding-left: 6px;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--secondary-olive);
}
.footer-contact-list i {
  color: var(--accent-solar-yellow);
  font-size: 1.1rem;
  margin-top: 3px;
}
.footer-contact-list p {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--primary-sage);
  font-weight: 700;
}
.footer-contact-list a {
  color: var(--text-cream-light);
  font-weight: 600;
}
.footer-contact-list a:hover {
  color: var(--accent-solar-yellow);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--secondary-olive);
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

/* Floating contact buttons */
.floating-contacts {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 999;
}
.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}
.float-btn:hover {
  transform: scale(1.1) translateY(-3px);
}
.float-call { background: var(--primary-sage); }
.float-whatsapp { background: #25D366; }
.float-instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #ffffff !important;
  box-shadow: 0 8px 25px rgba(214, 36, 159, 0.4);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-deep-forest);
  border: 1px solid var(--border-soft-gray);
  color: var(--accent-solar-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  z-index: 999;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--primary-sage);
  color: var(--text-white);
}

/* ==========================================
   18. COMPREHENSIVE RESPONSIVE MEDIA QUERIES
   ========================================== */

/* 1. Large Laptops & Desktops (1025px - 1240px) */
@media (max-width: 1240px) {
  .nav-menu { gap: 20px; }
  .hero-container, .about-container, .contact-container, .services-container, .timeline-container, .testimonials-container, .clients-container, .gallery-container, .footer-container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

/* 2. Tablets & Small Laptops (992px Breakpoint) */
@media (max-width: 992px) {
  .menu-btn { display: flex; z-index: 1008; }
  
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #19241C;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 10px;
    padding: 95px 24px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--border-solar-gold);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.7);
    overflow-y: auto;
    z-index: 1006;
  }
  .nav-menu.open { right: 0; }
  
  .header .nav-link,
  .nav-menu .nav-link {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF !important;
    width: 100%;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
  }
  .header .nav-link:hover, .header .nav-link.active,
  .nav-menu .nav-link:hover, .nav-menu .nav-link.active {
    color: var(--accent-solar-yellow) !important;
    background: rgba(244, 217, 139, 0.15);
  }

  .header .nav-btn,
  .nav-menu .nav-btn {
    text-align: center;
    margin-top: 16px;
    width: 100%;
    padding: 14px 20px;
    background: var(--primary-sage) !important;
    color: #FFFFFF !important;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
    display: inline-flex;
    justify-content: center;
    align-items: center;
  }

  .hero-container, .about-container, .contact-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* ── HERO: tablet single-column ── */
  .hero-container {
    grid-template-columns: 1fr;
    padding: 100px 24px 60px;
    gap: 32px;
    align-items: start;
  }
  .hero-visual { width: 100%; max-width: 540px; margin: 0 auto; }
  .hero-card   { padding: 24px 20px; animation: none !important; }
  .hero-content { animation: fadeUp 0.7s ease 0.2s both; }
  .hero-visual  { animation: fadeUp 0.7s ease 0.38s both; }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 40px; }
  
  .timeline-inner {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .timeline-line, .timeline-progress { display: none; }
}

/* 3. Mobile Phones ≤ 768px */
@media (max-width: 768px) {
  .top-bar { display: none; }
  .section-header { margin-bottom: 30px; }

  /* ── HERO: single-column phone ── */
  .hero-container {
    grid-template-columns: 1fr;
    padding: 96px 20px 64px;
    gap: 26px;
    align-items: start;
  }
  .hero-badge   { font-size: 0.76rem; padding: 7px 14px; letter-spacing: 1.5px; margin-bottom: 16px; }
  .hero-title   { font-size: clamp(1.9rem, 7.5vw, 2.6rem); margin-bottom: 14px; }
  .hero-tagline { font-size: 0.97rem; margin-bottom: 22px; padding-left: 14px; }
  .hero-card    { padding: 20px 18px; animation: none !important; border-radius: 16px; }
  .hero-stat-box     { gap: 12px; margin-bottom: 16px; padding-bottom: 14px; }
  .hero-stat-icon    { width: 44px; height: 44px; font-size: 1.2rem; }
  .hero-stat-text h4 { font-size: 1.1rem; }
  .hero-features-list { gap: 11px; }
  .hero-feature-item  { font-size: 0.88rem; }
  .hero-visual  { width: 100%; max-width: 100%; animation: fadeUp 0.65s ease 0.32s both; }
  .hero-content { animation: fadeUp 0.65s ease 0.15s both; }
  .hero-btns    { flex-direction: column; gap: 12px; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-scroll-indicator { display: none !important; }

  .about { padding: 70px 0; }
  .services { padding: 70px 0; }
  .clients-section { padding: 70px 0; }
  .timeline-section { padding: 70px 0; }
  .testimonials { padding: 70px 0; }
  .contact-section { padding: 60px 0 80px; }
  .booking-section { padding: 90px 0 70px; }
  .gallery-section { padding: 90px 0 70px; }

  .contact-card {
    padding: 16px 16px;
    gap: 12px;
    width: 100%;
  }
  .contact-card-icon {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }
  .contact-card-text h3 {
    font-size: 1.02rem;
  }
  .contact-card-text p,
  .contact-card-text a {
    font-size: 0.88rem;
  }

  .booking-form-grid { grid-template-columns: 1fr; }
  
  /* Vertical Timeline Layout for Mobile */
  .timeline-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-sage);
    margin-left: 10px;
  }
  .timeline-step {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  .timeline-node {
    margin: 0 0 10px 0;
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .footer {
    padding-bottom: 70px;
  }
  .footer-container { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }

  .map-container {
    min-height: 280px;
    border-radius: 18px;
    margin-bottom: 20px;
  }
}

/* 4. Small Mobile Screens (600px & 576px Breakpoint) */
@media (max-width: 600px) {
  /* 2x2 Stats Grid for clean readability on Mobile */
  .stats-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
    padding: 0 16px;
  }
  .stat-item {
    padding: 16px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }
  .stat-number {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    margin-bottom: 4px;
  }
  .stat-label {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  .about-bullets { grid-template-columns: 1fr; gap: 18px; }

  /* Prevent experience badge horizontal scroll overflow */
  .about-experience-badge {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 20px;
    padding: 16px 20px;
    width: 100%;
    justify-content: center;
  }
  .about-exp-num { font-size: 2.4rem; }

  .reviews-summary-card {
    flex-direction: column;
    text-align: center;
    padding: 24px 18px;
  }
  .summary-left, .summary-right {
    flex-direction: column;
    gap: 12px;
  }

  /* ── HERO small phones ≤ 600px ── */
  .hero {
    height: auto;
    min-height: 100svh;
    min-height: 100vh;
    overflow: visible;
  }
  .hero-container {
    padding: 90px 16px 60px;
    gap: 24px;
  }
  .hero-badge   { font-size: 0.73rem; padding: 6px 12px; letter-spacing: 1.2px; margin-bottom: 14px; }
  .hero-title   { font-size: clamp(1.75rem, 8vw, 2.2rem); margin-bottom: 14px; }
  .hero-tagline { font-size: 0.93rem; margin-bottom: 20px; }
  .hero-card    { padding: 18px 16px; border-radius: 14px; }
  .hero-btns { flex-direction: column; gap: 11px; width: 100%; }
  .hero-btns .btn { width: 100%; justify-content: center; font-size: 0.88rem; padding: 13px 20px; }

  .cta-container {
    padding: 40px 20px;
    border-radius: 18px;
  }
  .cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .cta-btns .btn {
    width: 100%;
  }

  .booking-card {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
  }
  .client-card { padding: 18px 10px; gap: 10px; }
  .client-logo-circle { width: 64px; height: 64px; }
  .client-name { font-size: 0.88rem; }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
  }
  .gallery-item { height: 220px; }

  .lightbox-close {
    top: 15px;
    right: 15px;
    font-size: 2rem;
    width: 42px;
    height: 42px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .lightbox-prev { left: 10px; width: 44px; height: 44px; }
  .lightbox-next { right: 10px; width: 44px; height: 44px; }
  .lightbox-caption { font-size: 0.95rem; padding: 0 10px; }

  .floating-contacts {
    bottom: 16px;
    right: 12px;
    gap: 10px;
    /* Ensure they don't overlap hero card by reducing size */
  }
  .float-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  }
  .back-to-top {
    bottom: 16px;
    left: 12px;
    width: 38px;
    height: 38px;
    font-size: 0.85rem;
  }
}

/* 5. Extra Small Phones (≤ 390px) */
@media (max-width: 390px) {
  .nav-container { padding: 0 14px; }
  .logo-title    { font-size: 1rem; }
  .logo-subtitle { font-size: 0.6rem; }

  /* Tightest hero — fits 360×640 and similar budget phones */
  .hero-container {
    padding: 85px 14px 55px;
    gap: 20px;
  }
  .hero-badge   { font-size: 0.68rem; padding: 5px 11px; letter-spacing: 1px; margin-bottom: 12px; }
  .hero-title   { font-size: clamp(1.55rem, 8.5vw, 1.9rem); margin-bottom: 12px; }
  .hero-tagline { font-size: 0.88rem; line-height: 1.55; margin-bottom: 18px; padding-left: 12px; }
  .hero-card    { padding: 16px 14px; border-radius: 12px; }
  .hero-stat-box     { gap: 10px; margin-bottom: 12px; padding-bottom: 10px; }
  .hero-stat-icon    { width: 40px; height: 40px; font-size: 1.05rem; }
  .hero-stat-text h4 { font-size: 0.95rem; }
  .hero-feature-item { font-size: 0.82rem; gap: 8px; }

  /* Very compact floating buttons so they don't cover card */
  .floating-contacts { right: 10px; bottom: 14px; gap: 8px; }
  .float-btn { width: 38px; height: 38px; font-size: 0.95rem; }
  .back-to-top { left: 10px; bottom: 14px; width: 36px; height: 36px; }

  .form-input { font-size: 16px; padding: 12px; }
}

/* ==========================================================================
   19. PREMIUM ANIMATION SYSTEM
   ========================================================================== */

/* ------------------------------------------
   A) GLOBAL KEYFRAMES
   ------------------------------------------ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.75); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 15px rgba(143, 175, 154, 0.3); }
  50%       { box-shadow: 0 4px 15px rgba(39, 174, 96, 0.55), 0 0 0 8px rgba(39, 174, 96, 0.08); }
}
@keyframes solarPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(244, 217, 139, 0.55); }
  50%       { box-shadow: 0 0 0 14px rgba(244, 217, 139, 0); }
}
@keyframes shimmerSweep {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes kenBurns {
  0%   { transform: scale(1.0) translate(0, 0); }
  33%  { transform: scale(1.07) translate(-1.5%, -1%); }
  66%  { transform: scale(1.05) translate(1%, -0.5%); }
  100% { transform: scale(1.0) translate(0, 0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes spin360 {
  to { transform: rotate(360deg); }
}
@keyframes counterPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}
@keyframes rippleRing {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}
@keyframes badgeBounce {
  0%   { opacity: 0; transform: translateY(30px) scale(0.8); }
  60%  { transform: translateY(-8px) scale(1.05); }
  80%  { transform: translateY(4px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); }
  14%       { transform: scale(1.12); }
  28%       { transform: scale(1); }
  42%       { transform: scale(1.09); }
  56%       { transform: scale(1); }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes slideInUp {
  from { opacity: 0; transform: translateY(60px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes ctaGlow {
  0%, 100% { box-shadow: 0 20px 40px rgba(0,0,0,0.25); border-color: rgba(244, 217, 139, 0.25); }
  50%       { box-shadow: 0 20px 60px rgba(244, 217, 139, 0.18), 0 0 0 1px rgba(244,217,139,0.5); border-color: rgba(244, 217, 139, 0.65); }
}
@keyframes dotGrid {
  0%   { background-position: 0 0, 30px 30px; }
  100% { background-position: 60px 60px, 90px 90px; }
}
@keyframes arrowBounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); }
  50%       { transform: rotate(45deg) translate(4px, 4px); }
}

/* ------------------------------------------
   B) HERO SECTION ENHANCEMENTS
   ------------------------------------------ */

/* Ken Burns slow zoom/pan on hero image */
.hero-bg img {
  animation: kenBurns 20s ease-in-out infinite;
  transform-origin: center center;
}

/* Animated dot-grid overlay on hero */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(244, 217, 139, 0.14) 1px, transparent 1px),
    radial-gradient(circle, rgba(143, 175, 154, 0.1) 1px, transparent 1px);
  background-size: 60px 60px, 90px 90px;
  background-position: 0 0, 30px 30px;
  z-index: 2;
  pointer-events: none;
  animation: dotGrid 12s linear infinite;
}

/* Hero content entrance */
.hero-content {
  animation: fadeLeft 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.3s both;
}
.hero-visual {
  animation: fadeRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.55s both;
}
.hero-badge {
  animation: badgeBounce 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
  position: relative;
  overflow: hidden;
}
.hero-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, rgba(244,217,139,0.3), transparent);
  background-size: 200% 100%;
  animation: shimmerSweep 2.8s linear infinite;
  pointer-events: none;
}

/* Floating hero stats card */
.hero-card {
  animation: floatY 5s ease-in-out infinite;
}

/* Pulsing shield icon */
.hero-stat-icon {
  animation: solarPulse 2.5s ease-in-out infinite;
}

/* Gradient animated typed text — defined in base styles with @supports fallback */
/* (rule removed here to avoid overriding the @supports progressive enhancement) */


/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
  cursor: pointer;
  text-decoration: none;
}
.hero-scroll-indicator span {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent-solar-yellow);
}
.hero-scroll-indicator .scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--accent-solar-yellow);
  border-bottom: 2px solid var(--accent-solar-yellow);
  transform: rotate(45deg);
  animation: arrowBounce 1.4s ease-in-out infinite;
}

/* ------------------------------------------
   C) ENHANCED SCROLL REVEAL
   ------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}
.reveal-zoom {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-zoom.active {
  opacity: 1;
  transform: scale(1);
}

/* Staggered delays for service cards */
.services-grid .service-card.reveal-zoom:nth-child(1) { transition-delay: 0s; }
.services-grid .service-card.reveal-zoom:nth-child(2) { transition-delay: 0.12s; }
.services-grid .service-card.reveal-zoom:nth-child(3) { transition-delay: 0.24s; }
.services-grid .service-card.reveal-zoom:nth-child(4) { transition-delay: 0.36s; }

/* ------------------------------------------
   D) SERVICE CARD SHIMMER + ICON HOVER
   ------------------------------------------ */

.service-card {
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(244, 217, 139, 0.12) 50%,
    transparent 60%
  );
  background-size: 400px 100%;
  background-position: -400px 0;
  pointer-events: none;
  border-radius: inherit;
  z-index: 0;
}
.service-card:hover::after {
  animation: shimmerSweep 0.75s ease forwards;
}
.service-card:hover .service-icon {
  animation: spin360 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* ------------------------------------------
   E) STATS — STAGGER ENTRANCE + COUNTER POP
   ------------------------------------------ */

.stats-container .stat-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stats-container.anim-ready .stat-item:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stats-container.anim-ready .stat-item:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.12s; }
.stats-container.anim-ready .stat-item:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.24s; }
.stats-container.anim-ready .stat-item:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.36s; }

.stat-number.count-done {
  animation: counterPop 0.5s ease;
}

/* ------------------------------------------
   F) TIMELINE — RIPPLE ON ACTIVE NODES
   ------------------------------------------ */

.timeline-node {
  position: relative;
}
.timeline-node::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--primary-sage);
  opacity: 0;
}
.timeline-step.active .timeline-node::after {
  animation: rippleRing 1.8s ease-out infinite;
}

/* ------------------------------------------
   G) FLOATING BUTTONS — ENTRANCE + HEARTBEAT
   ------------------------------------------ */

.float-btn {
  opacity: 0;
}
.float-call {
  animation: slideInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.25s forwards;
}
.float-whatsapp {
  animation: slideInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.4s forwards,
             heartbeat 2.5s ease-in-out 2.5s infinite;
}
.float-instagram {
  animation: slideInUp 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

/* ------------------------------------------
   H) CTA SECTION — ANIMATED GLOW BORDER
   ------------------------------------------ */

.cta-container {
  animation: ctaGlow 4s ease-in-out infinite;
}

/* ------------------------------------------
   I) SECTION TITLE — ANIMATED UNDERLINE
   ------------------------------------------ */

.section-title {
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-sage), var(--accent-solar-yellow));
  border-radius: 3px;
  margin-top: 10px;
  transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}
.reveal.active .section-title::after,
.section-header .section-title::after {
  width: 60px;
}

/* ------------------------------------------
   J) ABOUT BADGE — FLOAT ANIMATION
   ------------------------------------------ */

.about-experience-badge {
  animation: floatY 4.5s ease-in-out infinite;
}

/* ------------------------------------------
   K) NAV BOOK NOW BUTTON PULSE
   ------------------------------------------ */

.nav-btn {
  animation: pulseGlow 2.8s ease-in-out infinite;
}

/* ------------------------------------------
   L) BACK-TO-TOP SOLAR PULSE
   ------------------------------------------ */

.back-to-top.show {
  animation: solarPulse 2.2s ease-in-out infinite;
}

/* ------------------------------------------
   M) REVIEW CARD HOVER GLOW
   ------------------------------------------ */

.review-card:hover {
  box-shadow: 0 12px 35px rgba(39, 174, 96, 0.18);
}

/* ------------------------------------------
   N) PREFERS REDUCED MOTION OVERRIDE
   ------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ------------------------------------------
   O) MOBILE ANIMATION OVERRIDES
   Prevent horizontal animations from causing
   x-overflow / layout shift on small screens.
   ------------------------------------------ */

@media (max-width: 992px) {
  /* Replace side-slide with simple fade-up on tablet & mobile */
  .hero-content {
    animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both !important;
  }
  .hero-visual {
    animation: fadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.4s both !important;
  }

  /* Stop floating card animation — causes layout reflow on mobile */
  .hero-card {
    animation: none !important;
  }

  /* Stop experience badge float — it's repositioned to static on mobile */
  .about-experience-badge {
    animation: none !important;
  }

  /* Simplify Ken Burns to avoid triggering x-scroll */
  .hero-bg img {
    animation: kenBurnsMobile 20s ease-in-out infinite !important;
  }
  @keyframes kenBurnsMobile {
    0%   { transform: scale(1.0); }
    50%  { transform: scale(1.04); }
    100% { transform: scale(1.0); }
  }

  /* Stop dot-grid moving animation that can widen the scroll area */
  .hero::before {
    animation: none !important;
    background-position: 0 0, 30px 30px !important;
  }
}

@media (max-width: 768px) {
  /* Stop reveal-left and reveal-right horizontal transforms on mobile */
  .reveal-left {
    transform: translateY(30px) !important;
  }
  .reveal-left.active {
    transform: translateY(0) !important;
  }
  .reveal-right {
    transform: translateY(30px) !important;
  }
  .reveal-right.active {
    transform: translateY(0) !important;
  }
}


