/* ==========================================================================
   Design System & Styling - Cash Aim Enterprise
   ========================================================================== */

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

:root {
  /* Color Palette */
  --primary: #063C21;          /* Deep Corporate Navy */
  --primary-dark: #032413;     /* Darker Navy for shadows/hovers */
  --primary-light: #0E5E35;    /* Slate Blue */
  --secondary: #4F9D76;        /* Emerald Green (wealth & success) */
  --secondary-dark: #3B825D;   /* Darker Emerald */
  --secondary-light: #EBF7F0;  /* Soft Emerald tint */
  --accent: #D97706;           /* Rich Gold/Amber (growth) */
  --accent-light: #FEF3C7;     /* Soft Gold tint */
  --text-dark: #1E293B;        /* High-contrast dark charcoal for body */
  --text-muted: #64748B;       /* Secondary text */
  --bg-light: #F8FAFC;         /* Soft slate off-white */
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;     /* Soft grey borders */
  
  /* Fonts */
  --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Layout Constants */
  --max-width: 1280px;
  --header-height: 80px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(6, 60, 33, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(6, 60, 33, 0.08), 0 2px 4px -1px rgba(6, 60, 33, 0.04);
  --shadow-lg: 0 10px 25px -5px rgba(6, 60, 33, 0.1), 0 8px 10px -6px rgba(6, 60, 33, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(6, 60, 33, 0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 18px; /* High legibility baseline */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

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

/* Common Layout Helpers */
.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;
}

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

.badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.badge-secondary {
  background-color: var(--secondary-light);
  color: var(--secondary-dark);
}

.badge-accent {
  background-color: var(--accent-light);
  color: var(--accent);
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin: 0.75rem auto 0;
  border-radius: var(--radius-full);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
}

/* Custom Icons Utility */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light);
  color: var(--primary);
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

/* Scrolled header effect */
.header-wrapper.scrolled {
  background-color: rgba(6, 60, 33, 0.98);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
}

.header-wrapper.scrolled .logo-text {
  color: var(--bg-white);
}

.header-wrapper.scrolled .logo-subtext {
  color: rgba(255, 255, 255, 0.7);
}

.header-wrapper.scrolled .logo-license {
  color: rgba(255, 255, 255, 0.5);
}

.header-wrapper.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.8);
}

.header-wrapper.scrolled .nav-link:hover,
.header-wrapper.scrolled .nav-link.active {
  color: var(--accent);
}

.header-wrapper.scrolled .menu-btn span {
  background-color: var(--bg-white);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-container {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-subtext {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.logo-license {
  font-size: 0.55rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  margin-top: 1px;
}

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

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  position: relative;
  padding: 0.5rem 0;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}

.btn-primary {
  background-color: var(--secondary);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(79, 157, 118, 0.25);
}

.btn-primary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(79, 157, 118, 0.35);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.btn-accent:hover {
  background-color: #b56305;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 119, 6, 0.35);
}

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

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

.header-wrapper.scrolled .btn-outline {
  border-color: var(--accent);
  color: var(--accent);
}

.header-wrapper.scrolled .btn-outline:hover {
  background-color: var(--accent);
  color: var(--primary-dark);
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(235, 247, 240, 0.6) 0%, rgba(248, 250, 252, 1) 100%);
  padding-top: calc(var(--header-height) + 1.25rem);
  padding-bottom: 5.5rem;
  overflow: hidden;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
}

.hero-title span {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: rgba(79, 157, 118, 0.15);
  z-index: -1;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 640px;
}

.hero-cta-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
}

.trust-badge-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background-color: var(--bg-white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  margin-top: 0.5rem;
}

.trust-badge-icon {
  color: var(--secondary);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.trust-badge-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

.hero-image-container {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  border-radius: 50% 50% 50% 30%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 8px solid var(--bg-white);
  background-color: var(--primary-light);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: block;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.carousel-slide:hover .hero-img {
  transform: scale(1.05);
}

.consultant-info-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(3, 36, 19, 0.9) 80%);
  padding: 2rem 1.25rem 1.75rem;
  color: var(--bg-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  pointer-events: none;
  z-index: 3;
}

.consultant-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.2;
}

.consultant-role {
  font-size: 0.75rem;
  color: var(--secondary-light);
  font-weight: 700;
  margin-top: 0.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 10;
}

.carousel-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  padding: 0;
  transition: var(--transition-smooth);
}

.carousel-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

.carousel-dots .dot.active {
  background-color: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
  box-shadow: 0 0 8px rgba(217, 119, 6, 0.5);
}

/* Carousel navigation controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--primary);
  border: 1.5px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 15;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  padding: 0;
}

.carousel-control:hover {
  background-color: var(--secondary);
  color: var(--bg-white);
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-50%) scale(1.08);
}

.carousel-control.prev {
  left: 1rem;
}

.carousel-control.next {
  right: 1rem;
}

@media (max-width: 480px) {
  .carousel-control {
    width: 38px;
    height: 38px;
  }
  .carousel-control.prev {
    left: 0.5rem;
  }
  .carousel-control.next {
    right: 0.5rem;
  }
}

/* Floating element decorations */
.floating-badge {
  position: absolute;
  background: var(--bg-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--border-color);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.floating-badge-cta {
  position: absolute;
  background-color: #25D366; /* WhatsApp Green */
  color: var(--bg-white);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 800;
  z-index: 12;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  top: -5%;
  left: 20%;
  cursor: pointer;
  animation: float 4s ease-in-out infinite, pulse-glow 2s infinite;
  transition: var(--transition-smooth);
}

.floating-badge-cta:hover {
  background-color: #1ebe57;
  transform: scale(1.05) translateY(-2px);
}

.floating-badge-cta svg {
  color: var(--bg-white);
}

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

.floating-badge-1 {
  top: 15%;
  left: -10%;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: 15%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ==========================================================================
   Trust & Authority Banner
   ========================================================================== */
.trust-banner {
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 1.75rem 0;
  box-shadow: inset 0 -4px 10px rgba(0,0,0,0.15);
  border-top: 3px solid var(--accent);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  text-align: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.trust-icon {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--accent);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.trust-item-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  text-align: left;
  line-height: 1.2;
}

/* ==========================================================================
   Eligibility & Services Section
   ========================================================================== */
.services-section {
  background-color: var(--bg-white);
}

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

.service-card {
  background-color: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(79, 157, 118, 0.2);
}

.service-header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
  position: relative;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--primary);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.service-card:nth-child(2) .service-icon-box {
  background-color: var(--secondary);
}

.service-title {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.service-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 1rem;
  line-height: 1.4;
}

.service-list li svg {
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.2rem;
  font-size: 1.1rem;
}

/* ==========================================================================
   How It Works (Proses Mudah)
   ========================================================================== */
.process-section {
  background-color: var(--bg-light);
  position: relative;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 2rem;
  position: relative;
}

/* Connecting line for process steps */
.process-grid::before {
  content: '';
  position: absolute;
  top: 55px;
  left: 15%;
  right: 15%;
  height: 3px;
  background-color: var(--border-color);
  z-index: 1;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 2;
  background: transparent;
}

.process-number {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--bg-white);
  border: 4px solid var(--border-color);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.process-step:hover .process-number {
  background-color: var(--secondary);
  color: var(--bg-white);
  border-color: var(--secondary-light);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(79, 157, 118, 0.3);
}

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

.process-step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* ==========================================================================
   Testimonials (Social Proof)
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.testimonial-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(6, 60, 33, 0.15);
}

.star-rating {
  color: var(--accent);
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1.25rem;
}

.testimonial-quote {
  font-size: 0.98rem;
  color: var(--text-dark);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.5;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--border-color);
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.author-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   FAQ Section (Accordion)
   ========================================================================== */
.faq-section {
  background-color: var(--bg-light);
}

.faq-wrapper {
  max-width: 800px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(6, 60, 33, 0.15);
}

.faq-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  outline: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
  padding-right: 1.5rem;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--secondary);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-content {
  max-height: 1000px; /* high enough limit */
  transition: max-height 0.5s ease-in-out;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  border-top-color: var(--border-color);
}

/* ==========================================================================
   Lead Capture Section (Form)
   ========================================================================== */
.contact-section {
  background-color: var(--bg-white);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: stretch;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-info-title {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.contact-info-desc {
  font-size: 1.05rem;
  color: var(--text-dark);
  margin-bottom: 2.5rem;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex-grow: 1;
}

.channel-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background-color: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  flex: 1;
}

.channel-icon {
  width: 44px;
  height: 44px;
  background-color: var(--primary-light);
  color: var(--bg-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.channel-card:nth-child(2) .channel-icon {
  background-color: var(--secondary);
}

.channel-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.channel-value {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

/* Form Styles */
.form-card {
  background-color: var(--bg-light);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.birthday-inputs-row {
  display: flex;
  gap: 0.75rem;
}

.birthday-col {
  flex: 1;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: var(--bg-white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 4px rgba(14, 94, 53, 0.15);
}

/* Error validation styling */
.error-feedback {
  display: none;
  font-size: 0.75rem;
  color: #EF4444;
  font-weight: 600;
  margin-top: 0.35rem;
}

.form-group.has-error .error-feedback {
  display: block;
}

.form-group.has-error .form-control {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.15) !important;
}

/* Loader Styles for Submit Button */
.btn-submit {
  width: 100%;
  margin-top: 1rem;
  position: relative;
}

.btn-submit .btn-text {
  transition: var(--transition-smooth);
}

.btn-submit.loading .btn-text {
  opacity: 0;
}

.btn-submit .spinner {
  display: none;
  position: absolute;
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--bg-white);
  animation: spin 1s ease-in-out infinite;
}

.btn-submit.loading .spinner {
  display: block;
}

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

/* Success Overlay Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(6, 60, 33, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-icon {
  width: 70px;
  height: 70px;
  background-color: var(--secondary-light);
  color: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem;
}

.modal-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

.modal-message {
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 2rem;
  line-height: 1.5;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 2rem;
  border-top: 5px solid var(--secondary);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand .logo-text {
  color: var(--bg-white);
}

.footer-brand .logo-subtext {
  color: var(--accent);
}

.footer-brand .logo-license {
  color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
  font-size: 0.95rem;
  margin-top: 1.25rem;
  max-width: 500px;
  line-height: 1.6;
}

.footer-links-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 2px;
  background-color: var(--accent);
  margin-top: 0.5rem;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.95rem;
}

.footer-address-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.footer-address-item svg {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.footer-disclaimer-wrapper {
  padding: 2rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.85rem;
}

/* ==========================================================================
   Persistent Floating WhatsApp CTA
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: #25D366;
  color: var(--bg-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition-smooth);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  opacity: 0.5;
  z-index: -1;
  animation: pulse-ring 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20BA5A;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* Persistent Floating Waze CTA */
.waze-float {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  background-color: #33ccff;
  color: var(--bg-white);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 15px rgba(51, 204, 255, 0.45);
  z-index: 999;
  transition: var(--transition-smooth);
}

.waze-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #33ccff;
  opacity: 0.5;
  z-index: -1;
  animation: pulse-ring-waze 2s infinite;
}

.waze-float:hover {
  transform: scale(1.1);
  background-color: #20b8ee;
  box-shadow: 0 6px 20px rgba(51, 204, 255, 0.6);
}

.waze-tooltip {
  position: absolute;
  right: 75px;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.waze-float:hover .waze-tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes pulse-ring-waze {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(0.95); opacity: 0; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  html {
    font-size: 16px; /* slightly smaller scale for tablets */
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
  }
  
  .hero-cta-group {
    justify-content: center;
  }
  
  .hero-image-container {
    order: -1; /* Image first on mobile/tablet */
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .contact-info-panel {
    height: auto;
  }

  .contact-channels {
    flex-grow: 0;
  }

  .channel-card {
    flex: none;
    align-items: flex-start;
  }

  .calc-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
  
  /* Menu Button Toggle */
  .menu-btn {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 2rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-actions {
    display: none; /* Hide primary header CTA on mobile, keep menu active */
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .trust-item {
    justify-content: flex-start;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-card {
    padding: 2rem;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .process-grid::before {
    display: none; /* Hide horizontal timeline line on mobile */
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .floating-badge {
    display: none; /* Hide floating cards on smaller screens to prevent overlap */
  }
  
  .whatsapp-float {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }
  
  .whatsapp-tooltip {
    display: none;
  }

  .waze-float {
    bottom: 5.5rem;
    right: 1.5rem;
    width: 52px;
    height: 52px;
  }

  .waze-tooltip {
    display: none;
  }

  .calculator-card {
    padding: 1.75rem !important;
  }

  .calc-results-box {
    padding: 1.5rem !important;
  }
}
