/* ==========================================================================
   Main Stylesheet - Associate Infra & Anandi Valley
   Design Language: Modern, Professional, Premium, Clean & Nature-Inspired
   Palette: Corporate Deep Blue, Nature Green, Clean White, Subtle Warm Orange
   ========================================================================== */

/* --- CSS Variables & Design System --- */
:root {
  /* Brand Color Palette inspired by Associate Infra logo */
  --primary: #0f2b48;          /* Deep Corporate Trust Navy Blue */
  --primary-hover: #173b64;
  --primary-dark: #091a2e;     /* Deep Slate Navy for Dark Surfaces */
  --primary-light: #f0f5fa;    /* Subtle Ice-Blue Tint */
  --primary-border: #d0e0ef;
  
  --nature-green: #1b7a43;     /* Nature Forest Green */
  --nature-green-hover: #145f34;
  --nature-green-light: #f0fdf4;/* Soft Mint Green Tint */
  --nature-green-border: #bbf7d0;

  --accent-orange: #d96b27;    /* Subtle Warm Accent */
  --accent-orange-hover: #be591c;
  --accent-orange-light: #fff7ed;
  --accent-orange-border: #fed7aa;

  --gold: #c59b27;             /* Subtle Premium Gold Accent */
  --gold-hover: #b3891c;
  --gold-light: #fefce8;
  --gold-border: #fef08a;
  
  --whatsapp-green: #16a34a;   /* WhatsApp Official Green */
  --whatsapp-green-hover: #15803d;
  
  /* Neutrals & Surfaces */
  --text-main: #1e293b;        /* Slate 800 - Crisp, High Readability */
  --text-muted: #64748b;       /* Slate 500 */
  --text-light: #94a3b8;       /* Slate 400 */
  --bg-body: #ffffff;          /* Pure White Background */
  --bg-surface: #f8fafc;       /* Slate 50 - Subtle Clean Contrast */
  --bg-surface-alt: #f1f5f9;   /* Slate 100 */
  --border-color: #e2e8f0;     /* Slate 200 */
  --border-color-light: #f1f5f9;
  
  /* Typography */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Spacing & Sizing */
  --max-width: 1200px;
  --header-max-width: 1320px;
  --header-height: 76px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  
  /* Soft, Subtle Elevation */
  --shadow-sm: 0 1px 2px 0 rgba(15, 43, 72, 0.04);
  --shadow-md: 0 4px 12px -2px rgba(15, 43, 72, 0.06), 0 2px 6px -1px rgba(15, 43, 72, 0.03);
  --shadow-lg: 0 12px 24px -4px rgba(15, 43, 72, 0.08), 0 4px 8px -2px rgba(15, 43, 72, 0.02);
  --shadow-xl: 0 20px 30px -6px rgba(15, 43, 72, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

h1, h2, h3, h4, h5, h6, p, span, a, label {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

main {
  flex: 1 0 auto;
}

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

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

a:hover {
  color: var(--nature-green);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Container & Spacing --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-padding-sm {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.bg-surface {
  background-color: var(--bg-surface);
}

.bg-surface-alt {
  background-color: var(--bg-surface-alt);
}

.bg-dark {
  background-color: var(--primary-dark);
  color: #ffffff;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nature-green);
  background-color: var(--nature-green-light);
  border: 1px solid var(--nature-green-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary);
  margin-bottom: 1rem;
  letter-spacing: -0.015em;
}

.bg-dark .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.bg-dark .section-desc {
  color: #cbd5e1;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-align: center;
  line-height: 1.2;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
  border-color: var(--primary-border);
  color: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-gold {
  background-color: var(--accent-orange);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-gold:hover {
  background-color: var(--accent-orange-hover);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #ffffff;
}

.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  border-radius: var(--radius-md);
}

.btn-block {
  display: flex;
  width: 100%;
}

/* --- Premium Sticky Header --- */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #f1f5f9;
  box-shadow: 0 1px 3px 0 rgba(15, 43, 72, 0.04);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--transition-normal);
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.99);
  border-bottom-color: #e2e8f0;
  box-shadow: 0 4px 20px -2px rgba(15, 43, 72, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--header-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
  gap: 1.5rem;
}

/* Brand / Logo (LEFT) */
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 2px 8px rgba(15, 43, 72, 0.12);
  display: block;
  overflow: hidden;
  border: 1.5px solid rgba(15, 43, 72, 0.08);
  background-color: #ffffff;
}

/* Desktop Navigation (CENTER) */
.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 1.7vw, 1.95rem);
  margin: 0 auto;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: #334155;
  padding: 0.5rem 0.2rem;
  position: relative;
  transition: color var(--transition-fast);
  white-space: nowrap !important;
  text-decoration: none;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: width 0.22s ease;
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--primary);
}

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

.nav-link.active {
  color: var(--primary);
  font-weight: 700;
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--gold);
  height: 2px;
}

/* Right Header Actions (RIGHT) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Compact Premium Boxed Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 3px 6px;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(15, 43, 72, 0.04);
  white-space: nowrap !important;
  flex-shrink: 0;
}

.lang-btn {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-family);
  padding: 4px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1.2;
  white-space: nowrap !important;
}

.lang-btn:hover {
  color: var(--primary);
}

.lang-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(15, 43, 72, 0.2);
}

.lang-divider {
  color: #cbd5e1;
  font-size: 0.75rem;
  user-select: none;
}

/* Header Send Enquiry CTA */
.header-enquiry-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary);
  color: #ffffff;
  border: 1px solid var(--primary);
  padding: 0.62rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.2s ease;
  white-space: nowrap !important;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(15, 43, 72, 0.18);
  flex-shrink: 0;
}

.header-enquiry-btn:hover {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 43, 72, 0.26);
  transform: translateY(-1px);
}

.header-enquiry-btn svg {
  transition: transform 0.2s ease;
}

.header-enquiry-btn:hover svg {
  transform: translateX(3px);
}

/* Hamburger Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  gap: 5px;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background-color: var(--bg-surface);
  border-color: var(--primary-border);
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--primary);
  border-radius: 2px;
  transition: all var(--transition-normal);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Navigation Drawer */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(9, 26, 46, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.mobile-nav-backdrop.is-active {
  display: block;
  opacity: 1;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -340px;
  width: 320px;
  max-width: 85vw;
  height: 100%;
  background-color: #ffffff;
  z-index: 1002;
  box-shadow: var(--shadow-xl);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-nav-drawer.is-active {
  right: 0;
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.mobile-close-btn {
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  padding: 0.35rem 0.6rem;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.mobile-close-btn:hover {
  color: var(--primary);
  background-color: #f1f5f9;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-link {
  font-size: 0.98rem;
  font-weight: 600;
  color: #334155;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap !important;
  display: block;
}

.mobile-nav-link:hover {
  background-color: #f8fafc;
  color: var(--primary);
}

.mobile-nav-link.active {
  background-color: var(--gold-light);
  color: var(--primary);
  font-weight: 700;
  border-left: 3px solid var(--gold);
}

.mobile-nav-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid #f1f5f9;
}

.mobile-lang-switcher {
  justify-content: center;
  width: 100%;
  padding: 4px 6px;
  margin-bottom: 0.25rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 5.5rem 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--nature-green);
}

.hero-title {
  margin-bottom: 1.25rem;
}

.hero-brand-name {
  display: block;
  font-size: clamp(2.35rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 0.35rem;
}

.hero-project-name {
  display: block;
  font-size: clamp(1.65rem, 2.6vw, 2.25rem);
  font-weight: 700;
  color: var(--nature-green);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.hero-project-category {
  display: block;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.hero-tagline {
  display: block;
  font-size: clamp(0.95rem, 1.2vw, 1.12rem);
  font-weight: 600;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.4;
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.trust-item-icon {
  color: var(--nature-green);
  display: flex;
}

.trust-item-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.2;
}

.hero-visual {
  position: relative;
}

.hero-card-preview {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  position: relative;
}

.hero-card-preview img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
  object-fit: cover;
}

.floating-badge {
  position: absolute;
  bottom: -15px;
  left: -15px;
  background-color: #ffffff;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--nature-green-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--nature-green-light);
  color: var(--nature-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.floating-badge-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--primary);
}

.floating-badge-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* --- Page Header Banner --- */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  text-align: center;
  position: relative;
}

.page-banner-title {
  font-size: 2.65rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.page-banner-desc {
  font-size: 1.12rem;
  color: #cbd5e1;
  max-width: 650px;
  margin: 0 auto 1.5rem auto;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #94a3b8;
}

.breadcrumbs a {
  color: #e2e8f0;
}

.breadcrumbs a:hover {
  color: #ffffff;
}

/* --- Card Grids & Layouts --- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Service Card */
.service-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--nature-green);
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background-color: var(--nature-green-light);
  border: 1px solid var(--nature-green-border);
  color: var(--nature-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.35rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-action {
  margin-top: auto;
}

/* Feature Card */
.feature-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: all var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--nature-green-border);
}

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--nature-green-light);
  border: 1px solid var(--nature-green-border);
  color: var(--nature-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.is-open {
  border-color: var(--nature-green);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background-color: #ffffff;
  transition: background-color var(--transition-fast);
}

.faq-question:hover {
  background-color: var(--bg-surface);
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--nature-green);
  transition: transform var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.is-open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  background-color: var(--bg-surface);
}

.faq-answer-inner {
  padding: 1.25rem 1.5rem 1.5rem 1.5rem;
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.65;
  border-top: 1px solid var(--border-color-light);
}

.faq-answer-inner a {
  color: var(--nature-green);
  font-weight: 600;
  text-decoration: underline;
}

.faq-answer-inner a:hover {
  color: var(--nature-green-hover);
}

/* --- Gallery Layout --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  background-color: #ffffff;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  transition: all var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.gallery-item:hover img {
  transform: scale(1.02);
}

.gallery-overlay {
  padding: 1.25rem;
  background-color: #ffffff;
  border-top: 1px solid var(--border-color);
}

.gallery-category {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--nature-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.35;
}

/* --- Form Styles --- */
.form-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
}

.form-label .req {
  color: #dc2626;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--text-main);
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 43, 72, 0.1);
}

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

.form-alert {
  display: none;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.alert-success {
  background-color: var(--nature-green-light);
  border: 1px solid var(--nature-green-border);
  color: var(--nature-green);
}

.alert-error {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
}

.form-honeypot {
  display: none !important;
}

/* Contact Info Card */
.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background-color: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.45;
}

.info-value a {
  color: var(--primary);
}

.info-value a:hover {
  color: var(--nature-green);
}

/* Contact Page - Compact Professional WhatsApp Card */
.contact-whatsapp-card {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  max-width: 280px;
  min-height: 72px;
  max-height: 96px;
  padding: 0.75rem 1rem;
  margin-top: 1.25rem;
  background-color: #ffffff;
  border: 1.5px solid #22c55e;
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08);
  text-decoration: none;
  transition: all var(--transition-normal);
  box-sizing: border-box;
}

.contact-whatsapp-card:hover {
  background-color: #f0fdf4;
  border-color: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.16);
}

.contact-whatsapp-icon-wrap {
  width: 42px;
  height: 42px;
  min-width: 42px;
  max-width: 42px;
  min-height: 42px;
  max-height: 42px;
  border-radius: 50%;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-whatsapp-icon {
  width: 22px !important;
  height: 22px !important;
  max-width: 22px !important;
  max-height: 22px !important;
  display: block;
}

.contact-whatsapp-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.contact-whatsapp-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 2px;
}

.contact-whatsapp-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- Call To Action Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  color: #ffffff;
  text-align: center;
}

.cta-banner-content {
  max-width: 680px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.15rem;
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.01em;
}

.cta-desc {
  font-size: 1.08rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  background-color: var(--whatsapp-green);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition-normal);
}

.floating-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
}

/* --- Footer --- */
.site-footer {
  background-color: var(--primary-dark);
  color: #cbd5e1;
  padding-top: 4.5rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: cover;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background-color: #ffffff;
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.65rem;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  color: #94a3b8;
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  color: var(--nature-green);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #64748b;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  color: #94a3b8;
  font-size: 0.88rem;
}

.footer-divider {
  color: #475569;
  margin: 0 0.35rem;
  user-select: none;
}

.developer-link {
  color: #cbd5e1;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}

.developer-link:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal-links {
  display: flex;
  gap: 1.5rem;
}

.footer-legal-links a {
  color: #94a3b8;
}

.footer-legal-links a:hover {
  color: #ffffff;
}

/* Legal Content Page */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

/* Map Container */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(9, 26, 46, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.lightbox-modal.is-open,
.lightbox-modal.is-active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  color: #ffffff;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: #ffffff;
  font-size: 2.5rem;
  line-height: 1;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2001;
  padding: 0.5rem;
  transition: transform var(--transition-fast);
}

.lightbox-close:hover {
  transform: scale(1.15);
}

/* Anchor Scroll Offset */
section[id], div[id] {
  scroll-margin-top: calc(var(--header-height) + 16px);
}

/* ==========================================================================
   Comprehensive Responsive Media Queries
   Breakpoints:
   - Compact Desktop / Small Laptop: <= 1180px
   - Tablet Landscape / Small Desktop: <= 1040px
   - Tablet Portrait: <= 880px
   - Mobile Landscape / Phablet: <= 768px
   - Mobile Portrait: <= 640px
   - Small Mobile: <= 480px
   ========================================================================== */

/* --- 1. Compact Desktop / Small Laptop (<= 1180px) --- */
@media (max-width: 1180px) {
  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .header-enquiry-btn {
    display: none;
  }
}

/* --- 2. Tablet Landscape / Small Desktop (<= 1040px) --- */
@media (max-width: 1040px) {
  .site-header {
    height: 72px;
  }

  .header-container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
  }

  .section-padding {
    padding-top: 4.25rem;
    padding-bottom: 4.25rem;
  }

  .section-header {
    margin-bottom: 2.75rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }

  .hero-content {
    max-width: 700px;
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
    gap: 1.75rem;
    flex-wrap: wrap;
  }

  .hero-visual {
    max-width: 560px;
    margin: 0 auto;
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .cta-banner {
    padding: 3.25rem 2rem;
  }

  .page-banner {
    padding: 3.5rem 0;
  }
}

/* --- 3. Tablet Portrait (<= 880px) --- */
@media (max-width: 880px) {
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-card {
    padding: 2rem 1.5rem;
  }

  .cta-title {
    font-size: 1.95rem;
  }
}

/* --- 4. Mobile Landscape / Phablet (<= 768px) --- */
@media (max-width: 768px) {
  .site-header {
    height: 70px;
  }

  .header-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .section-padding {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .page-banner-title {
    font-size: 2.15rem;
  }

  .hero {
    padding: 3.25rem 0;
  }

  .map-container {
    height: 320px;
  }
}

/* --- 5. Mobile Portrait (<= 640px) --- */
@media (max-width: 640px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .site-header {
    height: 68px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .section-padding {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .section-header {
    margin-bottom: 2.25rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-desc {
    font-size: 0.98rem;
  }

  .page-banner {
    padding: 3rem 0;
  }

  .page-banner-title {
    font-size: 1.95rem;
  }

  .hero {
    padding: 2.75rem 0;
  }

  .hero-grid {
    gap: 2rem;
  }

  .hero-desc {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-trust-bar {
    flex-direction: column;
    gap: 0.85rem;
    align-items: center;
    padding-top: 1.5rem;
  }

  .floating-badge {
    position: static;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .gallery-item img {
    height: 220px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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

  .form-card {
    padding: 1.75rem 1.25rem;
  }

  .cta-banner {
    padding: 2.75rem 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.85rem;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 1.25rem;
  }

  .floating-whatsapp {
    padding: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp svg {
    width: 24px;
    height: 24px;
  }

  .map-container {
    height: 280px;
  }

  .contact-whatsapp-card {
    max-width: 280px;
    margin-top: 1rem;
    margin-bottom: 1rem;
  }
}

/* --- 6. Small Mobile (<= 480px) --- */
@media (max-width: 480px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .site-header {
    height: 64px;
  }

  .header-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .header-actions {
    gap: 0.4rem;
  }

  .lang-switcher {
    padding: 2px 4px;
  }

  .lang-btn {
    padding: 3px 5px;
    font-size: 0.74rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .section-padding {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .section-header {
    margin-bottom: 1.85rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-tag {
    font-size: 0.76rem;
    padding: 0.28rem 0.75rem;
  }

  .page-banner {
    padding: 2.5rem 0;
  }

  .page-banner-title {
    font-size: 1.75rem;
  }

  .page-banner-desc {
    font-size: 0.92rem;
  }

  .hero {
    padding: 2.25rem 0;
  }

  .hero-badge {
    font-size: 0.76rem;
    padding: 0.28rem 0.75rem;
  }

  .hero-title .hero-brand-name {
    font-size: 1.85rem;
  }

  .hero-title .hero-project-name {
    font-size: 1.35rem;
  }

  .hero-title .hero-project-category {
    font-size: 0.92rem;
  }

  .hero-title .hero-tagline {
    font-size: 0.88rem;
  }

  .hero-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .btn-lg {
    padding: 0.75rem 1.25rem;
    font-size: 0.92rem;
  }

  .service-card {
    padding: 1.5rem 1.25rem;
  }

  .feature-card {
    padding: 1.35rem 1.15rem;
  }

  .form-card {
    padding: 1.35rem 1rem;
  }

  .form-control {
    padding: 0.65rem 0.85rem;
    font-size: 16px; /* Prevents auto-zoom on mobile iOS Safari */
  }

  .faq-question {
    padding: 1rem 1.15rem;
    font-size: 0.95rem;
  }

  .faq-answer-inner {
    padding: 1rem 1.15rem;
    font-size: 0.9rem;
  }

  .gallery-overlay {
    padding: 1rem;
  }

  .cta-banner {
    padding: 2.25rem 1.25rem;
    border-radius: var(--radius-md);
  }

  .cta-title {
    font-size: 1.65rem;
  }

  .cta-desc {
    font-size: 0.95rem;
  }

  .floating-whatsapp {
    bottom: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    padding: 0;
  }

  .map-container {
    height: 250px;
  }
}
