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

:root {
  /* Colors */
  --primary: #0F172A; /* Deep Luxury Navy */
  --primary-rgb: 15, 23, 42;
  --accent: #FCD861; /* Rich Premium Gold */
  --accent-rgb: 252, 216, 97;
  --accent-hover: #F2C93B;
  --white: #FFFFFF; /* Pure Premium White */
  
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC; /* Modern Off-White */
  --bg-dark: #0F172A;
  
  --text-primary: #0F172A;
  --text-secondary: #475569; /* Soft Navy Slate */
  --text-muted: #64748B;
  --text-light: #F8FAFC;
  
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-dark: rgba(15, 23, 42, 0.75);
  --glass-border: rgba(15, 23, 42, 0.06);
  --glass-border-dark: rgba(255, 255, 255, 0.08);
  
  --card-border: rgba(15, 23, 42, 0.05);
  
  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md: 0 12px 36px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.08);
  --shadow-gold: 0 12px 32px rgba(252, 216, 97, 0.25);
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  /* Layout */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

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

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

button, input, select {
  font: inherit;
  border: none;
  background: none;
  outline: none;
}

ul {
  list-style: none;
}

/* Typography Utility */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 20%, #2563EB 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Animations */
@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes float-delayed {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse-subtle {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

/* Base Classes */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 70px 0;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-normal);
  gap: 8px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transform: translateX(-100%);
  transition: 0.6s;
  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  background-color: #1E293B;
  border-color: #1E293B;
}

.btn-primary:hover::after {
  transform: translateX(100%);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  background-color: var(--bg-secondary);
  border-color: rgba(15, 23, 42, 0.15);
  box-shadow: var(--shadow-md);
}

.btn-accent {
  background-color: var(--accent);
  color: var(--primary);
  border: 1px solid var(--accent);
  box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
  transform: translateY(-2px);
  background-color: var(--accent-hover);
  box-shadow: 0 12px 30px rgba(252, 216, 97, 0.4);
}

/* Glass Badge */
.badge-glass {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background: rgba(252, 216, 97, 0.1);
  border: 1px solid rgba(252, 216, 97, 0.3);
  color: #B45309; /* Deep golden brown */
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
  gap: 8px;
}

.badge-glass span {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: #B45309;
  animation: pulse-subtle 1.5s infinite;
}

/* Header & Sticky Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: var(--transition-normal);
  padding: 20px 0;
}

.header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  display: block;
}

@media (max-width: 576px) {
  .brand-logo-img {
    height: 44px;
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-secondary);
  position: relative;
}

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

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

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Responsive Mobile Navigation */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-primary);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 40px;
    gap: 24px;
    transition: var(--transition-normal);
    z-index: 99;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .nav-cta {
    display: none;
  }
  
  .nav-links .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-top: 24px;
  }
}

@media (min-width: 993px) {
  .nav-links .nav-cta-mobile {
    display: none;
  }
}

/* SECTION 1 — HERO SECTION */
.hero {
  padding-top: 160px;
  padding-bottom: 100px;
  background: radial-gradient(circle at 80% 20%, rgba(252, 216, 97, 0.07) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 40%),
              var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 10;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero-title span {
  position: relative;
  display: inline-block;
}

.hero-title span::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background-color: var(--accent);
  z-index: -1;
  opacity: 0.6;
  border-radius: var(--radius-full);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 580px;
  line-height: 1.7;
}

/* HIGH CONVERTING HERO FORM */
.hero-form {
  background: var(--primary); /* Deep Luxury Navy */
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-lg);
  padding: 28px;
  width: 100%;
  max-width: 540px;
}

.form-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #FFFFFF !important; /* Pure White text color! */
  letter-spacing: -0.01em;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (max-width: 480px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  width: 100%;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.85rem;
  transition: var(--transition-fast);
  outline: none;
}

.form-input {
  color: var(--white);
}

.form-select:invalid {
  color: rgba(255, 255, 255, 0.5) !important;
}

.form-select:not(:invalid) {
  color: var(--accent) !important;
  font-weight: 600;
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input:focus, .form-select:focus {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(252, 216, 97, 0.25);
}

.form-select option {
  background-color: #0F172A !important;
  color: #FFFFFF !important;
  font-weight: normal;
  padding: 12px;
}

.form-select option:disabled {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* YELLOW TEXT COLOR FOR HERO SUBMIT BUTTON */
.btn-hero-submit {
  width: 100%;
  margin-top: 16px;
  background-color: var(--primary);
  color: var(--accent) !important; /* Rich Yellow Text Color! */
  border: 2px solid var(--accent); /* Premium Gold Border */
  padding: 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-normal);
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.btn-hero-submit:hover {
  background-color: var(--accent);
  color: var(--primary) !important;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(252, 216, 97, 0.4);
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  max-width: 520px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.highlight-icon {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  background-color: rgba(252, 216, 97, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #B45309;
}

/* Hero Right */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--bg-secondary);
  border: 4px solid var(--white);
  overflow: hidden;
  z-index: 2;
}

.hero-image {
  width: 100%;
  height: 520px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.hero-image-wrapper:hover .hero-image {
  transform: scale(1.03);
}

/* Background Glowing Elements */
.hero-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(252, 216, 97, 0.15) 0%, transparent 70%);
  top: -50px;
  right: -50px;
  z-index: 1;
  animation: pulse-subtle 4s infinite alternate;
}

/* Responsive Hero Section */
@media (max-width: 992px) {
  .hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-visual {
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.3rem;
  }
  
  .hero-highlights {
    grid-template-columns: 1fr;
  }
}

/* SECTION 2 — WHY CHOOSE DOLLAR DREAMS */
.why-choose {
  background-color: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 10;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), #FBBF24);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-normal);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 23, 42, 0.08);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon-box {
  width: 54px;
  height: 54px;
  background-color: rgba(252, 216, 97, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B45309;
  font-size: 1.5rem;
  margin-bottom: 24px;
  transition: var(--transition-normal);
}

.why-card:hover .why-icon-box {
  background-color: var(--primary);
  color: var(--accent);
  transform: scale(1.05);
}

.why-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.why-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .why-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .why-card {
    padding: 28px;
  }
}

/* SECTION 3 — COURSES WE OFFER */
.courses {
  background-color: var(--bg-primary);
  position: relative;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.course-card {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.course-card::after {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(252, 216, 97, 0.08) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
  transition: var(--transition-normal);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 23, 42, 0.1);
}

.course-card:hover::after {
  transform: scale(1.2);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  position: relative;
  z-index: 2;
}

.course-logo {
  font-family: var(--font-headings);
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Specific Course Colors */
.course-card.ielts .course-logo { color: #E11D48; }
.course-card.pte .course-logo { color: #0284C7; }
.course-card.duolingo .course-logo { color: #22C55E; }
.course-card.langcert .course-logo { color: #7C3AED; }

.course-badge {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.course-card.ielts .course-badge { background-color: rgba(225, 29, 72, 0.08); color: #E11D48; }
.course-card.pte .course-badge { background-color: rgba(2, 132, 199, 0.08); color: #0284C7; }
.course-card.duolingo .course-badge { background-color: rgba(34, 197, 94, 0.08); color: #22C55E; }
.course-card.langcert .course-badge { background-color: rgba(124, 58, 237, 0.08); color: #7C3AED; }

.course-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.course-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
  line-height: 1.6;
  flex-grow: 1;
  position: relative;
  z-index: 2;
}

.course-footer {
  margin-top: auto;
  position: relative;
  z-index: 2;
}

.course-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  transition: var(--transition-fast);
}

.course-btn svg {
  transition: var(--transition-fast);
}

.course-card:hover .course-btn {
  color: #1D4ED8;
}

.course-card:hover .course-btn svg {
  transform: translateX(4px);
}

@media (max-width: 1200px) {
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .course-card {
    padding: 24px;
  }
}

/* SECTION 4 — WHAT YOU GET (EVERYTHING YOU NEED) */
.what-you-get {
  background-color: var(--bg-secondary);
  position: relative;
}

.what-you-get-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}

.wyg-visual {
  position: relative;
}

.wyg-box {
  background: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.wyg-box-decor {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(252, 216, 97, 0.15) 0%, transparent 60%);
  border-radius: 0 0 0 100%;
}

.wyg-box-badge {
  display: inline-block;
  background-color: var(--primary);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.wyg-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.3;
}

.wyg-box p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
}

.wyg-box-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 24px;
}

.wyg-stat h4 {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
}

.wyg-stat h4 span {
  color: var(--accent);
}

.wyg-stat p {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* WYG Features Checklist */
.wyg-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.wyg-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.wyg-list-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(15, 23, 42, 0.08);
}

.wyg-check {
  width: 26px;
  height: 26px;
  border-radius: var(--radius-full);
  background-color: rgba(252, 216, 97, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #B45309;
  flex-shrink: 0;
  font-size: 0.8rem;
}

.wyg-list-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.wyg-list-item p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

@media (max-width: 992px) {
  .what-you-get-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 576px) {
  .wyg-list-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .wyg-box {
    padding: 28px;
  }
}

/* SECTION 5 — STUDENT RESULTS (TESTIMONIALS) */
.student-results {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}

.reviews-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: 40px;
}

/* Overlay gradient masks to fade the edges on desktop */
.reviews-carousel-container::before,
.reviews-carousel-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 160px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}

.reviews-carousel-container::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-primary) 0%, transparent 100%);
}

.reviews-carousel-container::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-primary) 0%, transparent 100%);
}

@media (max-width: 768px) {
  .reviews-carousel-container::before,
  .reviews-carousel-container::after {
    width: 40px;
  }
}

.reviews-carousel {
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  scrollbar-width: none; /* Hide scrollbar for Firefox */
  -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
  cursor: grab;
  padding: 15px 0;
}

.reviews-carousel::-webkit-scrollbar {
  display: none; /* Hide scrollbar for Chrome/Safari/Opera */
}

.reviews-carousel:active {
  cursor: grabbing;
}

.reviews-track {
  display: flex;
  gap: 30px;
  will-change: transform;
}

.review-card {
  background-color: var(--white);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  user-select: none;
}

.review-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(15, 23, 42, 0.08);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.google-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.google-badge {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

.review-stars {
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.review-author {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  margin-top: auto;
}

@media (max-width: 480px) {
  .review-card {
    width: 290px;
    padding: 24px;
  }
}

/* SECTION 6 — FAQ */
.faq {
  background-color: var(--bg-secondary);
  position: relative;
}

.faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.faq-item:hover {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: var(--shadow-md);
}

.faq-question-btn {
  width: 100%;
  padding: 24px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  background: none;
  border: none;
}

.faq-question-btn h3 {
  font-size: 1.15rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.faq-item.active .faq-question-btn h3 {
  color: #1D4ED8;
}

.faq-arrow {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.faq-item.active .faq-arrow {
  background-color: var(--primary);
  color: var(--accent);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal);
}

.faq-answer-content {
  padding: 0 32px 24px 32px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 576px) {
  .faq-question-btn {
    padding: 20px;
  }
  
  .faq-answer-content {
    padding: 0 20px 20px 20px;
  }
}

/* SECTION 7 — FINAL CTA (CONTACT FORM) */
.final-cta {
  background-color: var(--bg-primary);
  padding: 100px 0 60px 0;
  position: relative;
}

.final-cta-wrapper {
  background: radial-gradient(circle at 10% 10%, rgba(252, 216, 97, 0.15) 0%, transparent 40%),
              linear-gradient(135deg, var(--primary) 0%, #0F172A 100%);
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  color: var(--white);
}

.final-cta-decor-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(252, 216, 97, 0.1) 0%, transparent 60%);
  animation: pulse-subtle 6s infinite alternate;
}

.final-cta-decor-2 {
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 300px;
  height: 300px;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  animation: pulse-subtle 4s infinite alternate-reverse;
}

/* WHITE TEXT COLOR EXPLICIT FOR FINAL CTA WRAPPER */
.cta-headline {
  font-size: 3rem;
  font-weight: 800;
  color: #FFFFFF !important; /* Explicit white text color! */
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  line-height: 1.15;
  position: relative;
  z-index: 2;
}

.final-cta-wrapper p {
  font-size: 1.15rem;
  color: #FFFFFF; /* Pure White text color */
  max-width: 640px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* PREMIUM FOOTER CTA FORM STYLE */
.cta-form {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 5;
}

.cta-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

@media (max-width: 576px) {
  .cta-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cta-input, .cta-select {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
  outline: none;
}

.cta-input {
  color: var(--white);
}

.cta-select:invalid {
  color: rgba(255, 255, 255, 0.5) !important;
}

.cta-select:not(:invalid) {
  color: var(--accent) !important;
  font-weight: 600;
}

.cta-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.cta-input:focus, .cta-select:focus {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(252, 216, 97, 0.2);
}

.cta-select option {
  background-color: #0F172A !important;
  color: #FFFFFF !important;
  font-weight: normal;
  padding: 12px;
}

.cta-select option:disabled {
  color: rgba(255, 255, 255, 0.4) !important;
}

/* FOOTER BUTTON TEXT IN YELLOW COLOR CODE */
.btn-footer-submit {
  background-color: var(--primary);
  color: var(--accent) !important; /* Rich Premium Gold Text Color! */
  border: 2px solid var(--accent);
  padding: 14px 50px;
  border-radius: var(--radius-full);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-gold);
}

.btn-footer-submit:hover {
  background-color: var(--accent);
  color: var(--primary) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(252, 216, 97, 0.4);
}

@media (max-width: 768px) {
  .final-cta-wrapper {
    padding: 60px 24px;
  }
}

/* FOOTER */
.footer {
  background-color: var(--bg-dark);
  color: var(--white);
  padding: 60px 0 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo-bg {
  background-color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

.footer-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.footer-desc {
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(248, 250, 252, 0.8);
  transition: var(--transition-fast);
  font-size: 0.95rem;
}

.footer-social-link:hover {
  background-color: var(--accent);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-column h4 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(248, 250, 252, 0.6);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-contact-icon {
  color: var(--accent);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* FOOTER CONTACT TEXTS IN YELLOW COLOR */
.footer-yellow-link {
  color: var(--accent) !important; /* Gold/yellow color code! */
  font-weight: 600;
  transition: var(--transition-fast);
}

.footer-yellow-link:hover {
  color: var(--white) !important;
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  color: rgba(248, 250, 252, 0.4);
  font-size: 0.8rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-link {
  color: rgba(248, 250, 252, 0.4);
  font-size: 0.8rem;
  transition: var(--transition-fast);
}

.footer-bottom-link:hover {
  color: var(--accent);
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Animations for Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* THANK YOU SUCCESS MODAL styling */
.success-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85); /* Dark elegant navy overlay */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.success-modal-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 500px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.success-modal-overlay.active .success-modal-card {
  transform: translateY(0) scale(1);
}

.success-modal-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
}

.success-modal-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(252, 216, 97, 0.15);
  color: #B45309; /* Premium deep gold */
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px auto;
  box-shadow: 0 8px 24px rgba(252, 216, 97, 0.2);
}

.success-modal-card h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.3;
}

.success-modal-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.modal-close-btn {
  width: 100%;
  max-width: 240px;
}

/* FOOTER ADDRESS LINK */
.footer-address-link {
  color: rgba(248, 250, 252, 0.6);
  transition: var(--transition-fast);
  font-weight: normal;
  line-height: 1.6;
  display: inline-block;
}

.footer-address-link:hover {
  color: var(--accent);
}

/* FORM LAYOUT UTILITIES FOR PURPOSE OF ENQUIRY DROPDOWN */
.form-group-full, .cta-select-full {
  grid-column: span 2;
}

@media (max-width: 480px) {
  .form-group-full, .cta-select-full {
    grid-column: span 1;
  }
}

/* LEAD GENERATION POPUP STYLING */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2147483647;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
}

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

.popup-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 900px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
  transform: translateY(30px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.popup-overlay.active .popup-card {
  transform: translateY(0) scale(1);
}

.popup-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  z-index: 5;
}

.popup-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  z-index: 10;
  padding: 6px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.popup-close-btn:hover {
  background: rgba(15, 23, 42, 0.05);
  color: var(--primary);
  transform: rotate(90deg);
}

.popup-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.2fr;
  min-height: 460px;
}

/* Left Column: Benefits & Trust Panel */
.popup-benefits {
  background: var(--bg-secondary);
  padding: 32px 30px;
  border-right: 1px solid rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.popup-badge {
  display: inline-block;
  background: rgba(252, 216, 97, 0.15);
  color: #B45309;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  width: max-content;
  margin-bottom: 16px;
}

.popup-benefits-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.popup-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
}

.popup-benefits-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.popup-benefits-list li:last-child {
  margin-bottom: 0;
}

.benefit-icon-container {
  width: 20px;
  height: 20px;
  background: var(--primary);
  color: var(--accent);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-check-icon {
  width: 10px;
  height: 10px;
}

.popup-benefits-list strong {
  display: block;
  font-size: 0.88rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1px;
}

.popup-benefits-list p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Trust Indicators */
.popup-trust-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding-top: 18px;
}

.popup-trust-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.popup-trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.google-g-container {
  background: var(--white);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.symbol-icon {
  background: rgba(252, 216, 97, 0.12);
  color: #B45309;
}

.popup-trust-item strong {
  display: block;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 700;
}

.popup-trust-item p {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Right Column: Form Container */
.popup-form-container {
  padding: 32px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-headline {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.popup-subheading {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.popup-field label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.popup-field input,
.popup-field select {
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-family: inherit;
  color: var(--primary);
  background-color: var(--white);
  transition: var(--transition-fast);
  width: 100%;
}

.popup-field input::placeholder {
  color: rgba(15, 23, 42, 0.35);
}

.popup-field input:focus,
.popup-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.popup-field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%230F172A%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpolyline%20points%3D%276%209%2012%2015%2018%209%27%3E%3C%2Fpolyline%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 36px;
  cursor: pointer;
}

.popup-cta-btn {
  margin-top: 8px;
  padding: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  width: 100%;
  border-radius: var(--radius-sm);
}

/* Responsiveness for Lead Popup */
@media (max-width: 900px) {
  .popup-card {
    max-width: 760px;
  }
  
  .popup-benefits {
    padding: 36px 28px;
  }
  
  .popup-form-container {
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  .popup-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .popup-benefits {
    display: none; /* Hide benefits on mobile to keep card ultra-compact */
  }
  
  .popup-card {
    max-width: 480px;
  }
  
  .popup-form-container {
    padding: 40px 24px;
  }
  
  .popup-headline {
    font-size: 1.5rem;
  }
  
  .popup-subheading {
    margin-bottom: 20px;
  }
}

/* MANDATORY CONSENT CHECKBOX & LEGAL LINKS */
.consent-group {
  margin-top: 16px;
  margin-bottom: 8px;
  text-align: left;
  grid-column: span 2;
  width: 100%;
}

.hero-form .consent-group {
  grid-column: span 2;
  margin-top: 14px;
}

.cta-form-grid .consent-group {
  grid-column: span 2;
  margin-top: 14px;
  margin-bottom: 14px;
}

.popup-form .consent-group {
  grid-column: span 1;
  margin-top: 10px;
  margin-bottom: 4px;
}

@media (max-width: 992px) {
  .hero-form .consent-group {
    grid-column: span 1;
  }
}

@media (max-width: 768px) {
  .cta-form-grid .consent-group {
    grid-column: span 1;
  }
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  user-select: none;
}

.consent-checkbox {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: var(--primary);
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 4px;
}

.legal-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: var(--transition-fast);
}

.legal-link:hover {
  text-decoration: underline;
  color: var(--primary);
}

/* Specific styling for final CTA form which has dark navy background */
.final-cta .consent-label {
  color: rgba(248, 250, 252, 0.7);
}

.final-cta .legal-link {
  color: var(--accent);
}

.final-cta .legal-link:hover {
  color: var(--accent-hover);
}

.final-cta .consent-checkbox {
  accent-color: var(--accent);
  border-color: rgba(252, 216, 97, 0.3);
}

/* LEGAL PAGES LAYOUT STYLING */
.legal-page {
  padding-top: 140px; /* Offset for sticky header */
  padding-bottom: 80px;
  background-color: var(--bg-primary);
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header {
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  padding-bottom: 24px;
  margin-bottom: 40px;
}

.legal-header h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.legal-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 36px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.legal-content p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.legal-content ul, .legal-content ol {
  margin-bottom: 24px;
  padding-left: 24px;
}

.legal-content li {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .legal-page {
    padding-top: 110px;
    padding-bottom: 60px;
  }
  
  .legal-header h1 {
    font-size: 2.2rem;
  }
  
  .legal-content h2 {
    font-size: 1.4rem;
    margin-top: 28px;
  }
  
  .legal-content p, .legal-content li {
    font-size: 0.98rem;
    line-height: 1.65;
  }
}

/* Specific styling overrides for dark background forms (Hero Form & Footer Form) consent checkboxes */
.hero-form .consent-label,
.cta-form .consent-label {
  color: #FFFFFF !important;
  font-size: 13.5px !important;
}

.hero-form .legal-link,
.cta-form .legal-link {
  color: #FFFFFF !important;
  text-decoration: underline !important;
  font-weight: 700;
  transition: var(--transition-fast);
}

.hero-form .legal-link:hover,
.hero-form .legal-link:focus,
.hero-form .legal-link:visited,
.cta-form .legal-link:hover,
.cta-form .legal-link:focus,
.cta-form .legal-link:visited {
  color: #FFFFFF !important;
}

.hero-form .legal-link:hover,
.cta-form .legal-link:hover {
  opacity: 0.8 !important;
}

.hero-form .consent-checkbox,
.cta-form .consent-checkbox {
  accent-color: var(--accent) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Specific styling overrides for white background forms (Popup Form) consent checkboxes */
.popup-form .consent-label {
  color: #0F172A !important;
  font-size: 13.5px !important;
}

.popup-form .legal-link {
  color: var(--primary) !important;
  text-decoration: underline !important;
  font-weight: 700;
  transition: var(--transition-fast);
}

.popup-form .legal-link:hover,
.popup-form .legal-link:focus,
.popup-form .legal-link:visited {
  color: var(--primary) !important;
}

.popup-form .legal-link:hover {
  opacity: 0.8 !important;
}

.popup-form .consent-checkbox {
  accent-color: var(--primary) !important;
  border-color: rgba(15, 23, 42, 0.2) !important;
}




