/* ==========================================================================
   Nilam Financial Services - Complete Stylesheet
   Color Palette:
   - Deep Emerald Green: #005E44
   - Warm Rust / Brown: #863E25
   - White: #FFFFFF
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #005E44;
  --primary-dark: #004330;
  --primary-light: #007D5B;
  --primary-surface: rgba(0, 94, 68, 0.08);
  --primary-border: rgba(0, 94, 68, 0.22);
  
  --secondary: #863E25;
  --secondary-dark: #622B18;
  --secondary-light: #A54F33;
  --secondary-surface: rgba(134, 62, 37, 0.08);
  --secondary-border: rgba(134, 62, 37, 0.22);

  --white: #FFFFFF;
  --bg-light: #F8FAF8;
  --bg-warm: #FAF6F4;
  --surface-card: #FFFFFF;

  --text-dark: #121F1B;
  --text-muted: #4A5B54;
  --text-light: #71837B;
  --border-light: #E2E9E5;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 94, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 94, 68, 0.08);
  --shadow-lg: 0 16px 40px rgba(0, 94, 68, 0.12);
  --shadow-rust: 0 8px 24px rgba(134, 62, 37, 0.15);

  /* Layout & Spacing */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Page Eyebrow (Clean Text-only Header Accent) */
.page-eyebrow {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.page-eyebrow i {
  color: var(--primary);
  font-size: 0.85rem;
}

/* Utility Components & Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0, 94, 68, 0.2);
}

.badge-secondary {
  background-color: var(--secondary);
  color: var(--white);
  box-shadow: 0 2px 8px rgba(134, 62, 37, 0.2);
}

.badge-hero {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-md);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 94, 68, 0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 94, 68, 0.35);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(134, 62, 37, 0.25);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(134, 62, 37, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin: 0.75rem 0 1rem 0;
  color: var(--primary-dark);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

/* Header Navigation (Sticky Glassmorphic) */
.header-main {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-bottom: 1px solid var(--border-light);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1.5rem;
  gap: 1rem;
}

.brand-logo-group {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 1;
  min-width: 0;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.brand-title-box {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--text-dark);
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition);
}

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

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: var(--primary-surface);
  border: 1px solid var(--primary-border);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-dark);
  cursor: pointer;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: var(--primary);
  color: var(--white);
}

/* Off-canvas Mobile Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 360px;
  height: 100vh;
  background-color: var(--white);
  z-index: 2000;
  box-shadow: -5px 0 25px rgba(0,0,0,0.15);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 1.5rem;
}

.drawer-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  cursor: pointer;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: auto;
}

.drawer-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
}

.drawer-link:hover, .drawer-link.active {
  color: var(--primary);
  background-color: var(--primary-surface);
  font-weight: 700;
}

/* Inner Page Hero Header Banner */
.page-hero {
  background: linear-gradient(135deg, #F4F8F6 0%, #EBF3EF 100%);
  color: var(--text-dark);
  padding: 3.5rem 0;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-size: 2.75rem;
  color: var(--primary-dark);
  margin: 0.5rem 0 0.5rem 0;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Breadcrumb Styling with Highlighted Green Home Link */
.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
}

.breadcrumb a.home-link {
  color: var(--primary) !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  background-color: var(--primary-surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--primary-border);
  transition: var(--transition);
}

.breadcrumb a.home-link:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

.breadcrumb span.current-page {
  color: var(--secondary-dark);
  font-weight: 600;
}

.breadcrumb i.separator {
  color: var(--text-light);
  font-size: 0.75rem;
}

/* Hero Section (Home) */
.hero {
  position: relative;
  background: radial-gradient(circle at 80% 20%, #007D5B 0%, #005E44 45%, #003626 100%);
  color: var(--white);
  padding: 5rem 0 6rem 0;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.25rem;
  color: var(--white);
  margin: 1.2rem 0;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: #F8B5A0;
  background: linear-gradient(135deg, #FFFFFF 0%, #F5B099 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.2rem;
  color: #D4E5DE;
  margin-bottom: 2.2rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.875rem;
  color: #A8C7BB;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Hero Calculator Card */
.hero-card {
  background: rgba(255, 255, 255, 0.97);
  border-radius: var(--radius-lg);
  padding: 2rem;
  color: var(--text-dark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-card h3 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-card h3 i {
  color: var(--secondary);
}

.calc-group {
  margin-top: 1.25rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.calc-slider {
  width: 100%;
  accent-color: var(--primary);
  height: 6px;
  border-radius: 3px;
  cursor: pointer;
}

.calc-value-badge {
  color: var(--primary-dark);
  font-weight: 700;
}

.calc-result-box {
  margin-top: 1.5rem;
  background: var(--bg-warm);
  border: 1px solid var(--secondary-border);
  padding: 1.2rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.calc-result-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.calc-result-box h2 {
  font-size: 1.85rem;
  color: var(--secondary);
  margin-top: 0.2rem;
}

/* Leadership Section */
.leadership-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.leader-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  border: 1px solid var(--primary-border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary);
}

.leader-card:nth-child(2)::before {
  background: var(--secondary);
}

.leader-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.leader-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.leader-name {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 0.2rem;
}

.leader-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.leader-quote {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  font-style: italic;
  background: var(--white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
}

/* Products Section */
.products-section {
  padding: 5rem 0;
  background-color: var(--bg-light);
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  background: var(--white);
  border: 1px solid var(--border-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-border);
}

.product-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.product-card:nth-child(even) .product-icon {
  background: var(--secondary-surface);
  color: var(--secondary);
}

.product-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
}

.product-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-features {
  margin-bottom: 1.5rem;
}

.product-features li {
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-features li i {
  color: var(--primary);
  font-size: 0.8rem;
}

/* Services Section */
.services-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid var(--border-light);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--secondary-border);
}

.service-header-row {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--secondary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.service-title {
  font-size: 1.2rem;
  color: var(--primary-dark);
}

.service-body {
  font-size: 0.925rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Assessment CTA Banner */
.assessment-banner {
  margin-top: 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.assessment-content h3 {
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.assessment-content p {
  color: #D4E5DE;
  font-size: 1.05rem;
  max-width: 600px;
}

/* Testimonials Section */
.testimonials-section {
  padding: 5rem 0;
  background-color: var(--bg-warm);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #F5A623;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.client-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-surface);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.client-details h5 {
  font-size: 1rem;
  color: var(--primary-dark);
}

.client-details p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Contact Us Section */
.contact-section {
  padding: 5rem 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--primary-dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: var(--white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info-card > p {
  color: #D4E5DE;
  margin-bottom: 2rem;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #F0A288;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h5 {
  color: #A8C7BB;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.contact-text p, .contact-text a {
  color: var(--white);
  font-size: 1rem;
}

.contact-text a:hover {
  color: #F0A288;
  text-decoration: underline;
}

.contact-form-card {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.contact-form-card p {
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--white);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 94, 68, 0.12);
}

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

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

/* Map Section */
.map-container {
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 3rem;
  border: 1px solid var(--border-light);
}

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

/* Modal Styling */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-close-btn:hover {
  color: var(--secondary);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 1500;
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #1DA851;
  color: var(--white);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Footer */
.footer {
  background-color: #003626;
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem 0;
  border-top: 4px solid var(--secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand h4 {
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.footer-brand p {
  font-size: 0.925rem;
  color: #B2CDC2;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--secondary);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #B2CDC2;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 0.3rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: #8AA89B;
}

/* ==========================================================================
   Responsive Media Queries & Mobile Optimizations
   ========================================================================== */

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .assessment-banner {
    flex-direction: column;
    text-align: center;
  }

  .brand-name {
    font-size: 1.15rem;
  }

  .brand-tagline {
    font-size: 0.68rem;
  }

  .brand-logo-img {
    height: 44px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-container {
    padding: 0.75rem 1rem;
  }

  .hero {
    padding: 3.5rem 0 4.5rem 0;
  }

  .hero-content h1 {
    font-size: 2.35rem;
  }

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

  .page-hero h1 {
    font-size: 2.1rem;
  }

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

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

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat-item h4 {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 0.65rem 0.85rem;
  }

  .brand-logo-group {
    gap: 0.5rem;
  }

  .brand-logo-img {
    height: 38px;
  }

  .brand-name {
    font-size: 1.05rem;
    letter-spacing: -0.02em;
  }

  .brand-tagline {
    font-size: 0.625rem;
  }

  /* Compact consultation button on mobile so it NEVER overlaps with mobile-toggle */
  .nav-actions .btn-primary {
    padding: 0.45rem 0.7rem;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
  }

  .nav-actions .btn-primary span.btn-text-desktop {
    display: none;
  }

  .hero-content h1 {
    font-size: 1.95rem;
    line-height: 1.2;
  }

  .hero-lead {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .hero-card {
    padding: 1.25rem;
    border-radius: var(--radius-md);
  }

  .calc-result-box h2 {
    font-size: 1.5rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .section-header p {
    font-size: 0.95rem;
  }

  .products-grid, .services-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .product-card, .service-card, .testimonial-card, .contact-form-card, .contact-info-card {
    padding: 1.4rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
    bottom: 1.25rem;
    right: 1.25rem;
  }
}
