/* ============================================================
   Ebright Public Speaking – Shared Stylesheet
   ============================================================ */

/* Palette sampled from www.ebright.my — variable names kept for diff stability;
   --yellow now holds the brand red, --navy holds near-black, --orange is deep brand orange. */
:root {
  --yellow:  #ED1C24;
  --yellow-light: #FCE4E6;
  --navy:    #242323;
  --navy-mid: #5f6360;
  --orange:  #C74300;
  --orange-bright: #ea492e;
  --peach:   #FAAA63;
  --peach-light: #FFE5D0;
  --cream:   #FFF7F0;
  --white:   #FFFFFF;
  --gray-light: #F8F9FA;
  --gray:    #E2E2E2;
  --text:    #242323;
  --text-muted: #5f6360;
  --radius-sm: 12px;
  --radius:  20px;
  --radius-lg: 28px;
  --shadow:  0 6px 24px rgba(36, 35, 35, 0.08);
  --shadow-lg: 0 16px 48px rgba(36, 35, 35, 0.14);
  --shadow-pop: 0 12px 28px rgba(237, 28, 36, 0.18);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Avenir Next', Avenir, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ── Typography ── */
h1 { font-size: clamp(2.2rem, 5.5vw, 3.6rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.18; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); font-weight: 700; letter-spacing: -0.01em; }
h4 { font-size: 1.1rem; font-weight: 700; }
p  { font-size: 1rem; line-height: 1.75; color: var(--text); }

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: transform var(--bounce), box-shadow var(--transition), background var(--transition), color var(--transition);
  border: none;
  position: relative;
}
.btn:hover { transform: translateY(-3px) scale(1.02); }
.btn:active { transform: translateY(-1px) scale(0.99); }

.btn-primary   { background: var(--yellow); color: var(--white); box-shadow: var(--shadow-pop); }
.btn-primary:hover { background: #C7141A; box-shadow: 0 16px 36px rgba(237, 28, 36, 0.32); }

.btn-secondary { background: var(--navy); color: var(--white); box-shadow: 0 6px 20px rgba(36, 35, 35, 0.18); }
.btn-secondary:hover { background: var(--navy-mid); box-shadow: 0 12px 28px rgba(36, 35, 35, 0.28); }

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

.btn-orange    { background: var(--orange); color: var(--white); box-shadow: 0 6px 20px rgba(199, 67, 0, 0.28); }
.btn-orange:hover { background: #A53800; box-shadow: 0 12px 28px rgba(199, 67, 0, 0.38); }

/* ── Navigation ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 4px 20px rgba(36, 35, 35, 0.06);
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.navbar-brand .brand-star { color: var(--yellow); font-size: 1.6rem; }
.navbar-brand .brand-logo { height: 44px; width: auto; display: block; }

/* Wordmark logo (matches the official red-box "ebright" branding) */
.brand-mark {
  display: inline-block;
  background: var(--yellow);
  color: var(--white);
  padding: 8px 18px 6px;
  border-radius: 6px;
  font-family: 'Lilita One', 'Fredoka One', 'Avenir Next', system-ui, sans-serif;
  font-weight: 400;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: lowercase;
  transition: transform var(--bounce);
}
.navbar-brand:hover .brand-mark { transform: rotate(-2deg) scale(1.04); }

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

.nav-links a {
  padding: 9px 16px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a.active { background: var(--yellow-light); color: var(--yellow); }

.nav-links .btn-nav {
  background: var(--yellow);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 700;
}
.nav-links .btn-nav:hover { background: #C7141A; }

/* Dropdown menu */
.nav-links .has-dropdown { position: relative; }
.nav-links .has-dropdown > a {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-links .has-dropdown > a::after {
  content: '';
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform var(--transition);
}
.nav-links .has-dropdown:hover > a::after,
.nav-links .has-dropdown:focus-within > a::after {
  transform: translateY(1px) rotate(225deg);
}
.nav-links .has-dropdown.active > a { color: var(--yellow); }

/* Invisible bridge so the cursor can travel from trigger to panel */
.nav-links .has-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-links .dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.10), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  padding: 6px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1100;
}
.nav-links .has-dropdown:hover .dropdown-menu,
.nav-links .has-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-links .dropdown-menu a {
  display: block;
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  position: relative;
}
.nav-links .dropdown-menu a:hover {
  background: var(--gray-light);
  color: var(--yellow);
}
.nav-links .dropdown-menu a.active {
  background: var(--gray-light);
  color: var(--yellow);
  font-weight: 700;
}
.nav-links .dropdown-menu a.active::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 18px;
  background: var(--yellow);
  border-radius: 2px;
}
.nav-links .dropdown-menu a.active { padding-left: 20px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  width: 26px; height: 3px;
  background: var(--navy);
  border-radius: 3px;
  transition: var(--transition);
}

/* ── Hero Sections ── */
.hero {
  background:
    radial-gradient(circle at 20% 80%, rgba(255, 229, 208, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(250, 170, 99, 0.4) 0%, transparent 55%),
    linear-gradient(135deg, var(--orange) 0%, var(--orange-bright) 55%, var(--yellow) 100%);
  color: var(--white);
  padding: 120px 5% 140px;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 48px;
  border-bottom-right-radius: 48px;
}
/* Floating decorative shapes — playful, kid-friendly */
.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 247, 240, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatY 9s ease-in-out infinite;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -120px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(250, 170, 99, 0.45) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: floatY 11s ease-in-out infinite reverse;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-22px) rotate(8deg); }
}
.hero-content { max-width: 720px; position: relative; z-index: 1; }

/* Two-column hero with kid cutout image on the right */
.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  padding: 80px 5% 80px;
}
.hero-split .hero-content { max-width: 600px; }
.hero-image {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.18));
  animation: heroFloat 5s ease-in-out infinite;
  transform-origin: center bottom;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.18);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: 0.3px;
}
.hero-badge::before {
  content: '✨';
  font-size: 0.95rem;
}
.hero h1 { color: var(--white); margin-bottom: 22px; }
.hero h1 span {
  background: linear-gradient(90deg, #FFE5D0, var(--white));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero p { font-size: 1.18rem; color: rgba(255, 255, 255, 0.92); margin-bottom: 38px; max-width: 580px; line-height: 1.65; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background:
    radial-gradient(circle at 15% 30%, rgba(250, 170, 99, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 85% 70%, rgba(252, 228, 230, 0.6) 0%, transparent 50%),
    var(--cream);
  color: var(--text);
  padding: 90px 5% 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: 36px;
  border-bottom-right-radius: 36px;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(237, 28, 36, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.page-hero h1 { color: var(--navy); margin-bottom: 14px; position: relative; z-index: 1; }
.page-hero p  { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; position: relative; z-index: 1; }
.page-hero .section-label {
  background: var(--white);
  color: var(--yellow);
  box-shadow: 0 4px 12px rgba(237, 28, 36, 0.15);
  position: relative;
  z-index: 1;
}

/* ── Section Wrappers ── */
.section { padding: 90px 5%; position: relative; }
.section-sm { padding: 60px 5%; }
.section-gray { background: var(--cream); }
.section-cream { background: var(--cream); }
.section-peach { background: var(--peach-light); }
.section-navy { background: var(--navy); color: var(--white); }
.section-navy h2, .section-navy h3, .section-navy p { color: var(--white); }
.section-yellow { background: var(--yellow); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); max-width: 600px; margin: 0 auto; font-size: 1.05rem; }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--yellow-light);
  color: var(--yellow);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ── Stats Bar ── */
.stats-bar {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--orange-bright) 100%);
  padding: 48px 5%;
  margin: 0 5%;
  border-radius: var(--radius-lg);
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  box-shadow: 0 12px 40px rgba(237, 28, 36, 0.18);
  position: relative;
  z-index: 1;
  margin-top: -56px;
  margin-bottom: 60px;
}
.stat-item {
  flex: 1;
  min-width: 160px;
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.6rem; font-weight: 800; color: var(--white); line-height: 1; letter-spacing: -0.02em; }
.stat-label  { font-size: 0.85rem; font-weight: 700; color: rgba(255, 255, 255, 0.92); margin-top: 8px; letter-spacing: 0.3px; }

/* ── Cards ── */
.cards-grid { display: grid; gap: 28px; }
.cards-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards-grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--bounce), box-shadow var(--transition);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--yellow), var(--orange-bright), var(--peach));
  opacity: 0;
  transition: opacity var(--transition);
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before { opacity: 1; }
.card-body { padding: 32px; }
.card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--yellow-light) 0%, var(--peach-light) 100%);
  color: var(--yellow);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: transform var(--bounce);
}
.card:hover .card-icon { transform: rotate(-6deg) scale(1.06); }
.card h3 { margin-bottom: 10px; }
.card p   { color: var(--text-muted); font-size: 0.95rem; }

/* ── Feature List ── */
.feature-list { display: flex; flex-direction: column; gap: 12px; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 18px;
  background: var(--gray-light);
  border-radius: 10px;
}
.feature-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.feature-text strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.feature-text span   { font-size: 0.88rem; color: var(--text-muted); }

/* ── Testimonials ── */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--yellow);
}
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-quote::before { content: '\201C'; font-size: 2rem; color: var(--yellow); line-height: 0; vertical-align: -0.5rem; margin-right: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: var(--navy); font-size: 1rem;
}
.author-name  { font-weight: 700; font-size: 0.9rem; }
.author-role  { font-size: 0.8rem; color: var(--text-muted); }
.star-rating  { color: var(--yellow); font-size: 0.9rem; margin-bottom: 12px; }

/* ── Blog Cards ── */
.blog-card .card-img {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.blog-category {
  display: inline-block;
  background: var(--yellow-light);
  color: var(--navy);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.blog-date { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-excerpt { font-size: 0.92rem; color: var(--text-muted); margin: 10px 0 16px; }
.blog-read-more { color: var(--navy); font-weight: 700; font-size: 0.9rem; }
.blog-read-more:hover { color: var(--orange); }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--gray);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  background: var(--white);
  transition: background var(--transition);
  user-select: none;
}
.faq-question:hover { background: var(--gray-light); }
.faq-question.open   { background: var(--yellow-light); color: var(--navy); }
.faq-icon { font-size: 1.2rem; transition: transform var(--transition); flex-shrink: 0; }
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.faq-answer.open { max-height: 400px; padding: 0 24px 20px; }

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info-block { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item  { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 48px; height: 48px;
  background: var(--yellow-light);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.contact-info-text strong { display: block; margin-bottom: 4px; font-size: 0.9rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-info-text span   { font-size: 1rem; font-weight: 600; color: var(--text); }

.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; margin-bottom: 7px; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray);
  border-radius: 10px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--gray-light);
  transition: border-color var(--transition), background var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ── Branches ── */
.branch-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: transform var(--transition);
}
.branch-card:hover { transform: translateY(-3px); }
.branch-icon { font-size: 1.5rem; flex-shrink: 0; margin-top: 2px; }
.branch-name  { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.branch-type  { font-size: 0.8rem; color: var(--text-muted); }

/* ── Course Cards ── */
.course-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.course-header {
  padding: 30px 28px 24px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
}
.course-header .age-badge {
  background: var(--yellow);
  color: var(--navy);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 14px;
}
.course-header h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 8px; }
.course-header p  { color: rgba(255,255,255,0.78); font-size: 0.92rem; }
.course-body { padding: 24px 28px; }
.course-features { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.course-feature {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.92rem; color: var(--text);
}
.course-feature::before { content: '✓'; color: var(--yellow); font-weight: 800; flex-shrink: 0; }

/* ── CTA Banner ── */
.cta-banner {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 247, 240, 0.25) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(250, 170, 99, 0.4) 0%, transparent 50%),
    linear-gradient(135deg, var(--yellow) 0%, var(--orange) 100%);
  padding: 90px 5%;
  margin: 60px 5%;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -80px;
  left: -80px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatY 8s ease-in-out infinite;
  pointer-events: none;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -40px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatY 10s ease-in-out infinite reverse;
  pointer-events: none;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; position: relative; z-index: 1; }
.cta-banner p  { color: var(--white); opacity: 0.95; font-size: 1.08rem; max-width: 560px; margin: 0 auto 36px; position: relative; z-index: 1; line-height: 1.65; }
.cta-banner .btn { position: relative; z-index: 1; }

/* ── Footer ── */
.footer {
  background: linear-gradient(180deg, #2A2828 0%, var(--navy) 100%);
  color: var(--white);
  padding: 80px 5% 36px;
  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  margin-top: 60px;
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand-star { color: var(--yellow); }
.footer-brand p { color: rgba(255,255,255,0.65); font-size: 0.92rem; margin: 16px 0 22px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background var(--transition), transform var(--bounce), color var(--transition);
  text-decoration: none;
}
.social-btn:hover { background: var(--yellow); color: var(--white); transform: translateY(-3px) rotate(-4deg); }

.footer-col h4 { color: var(--white); margin-bottom: 18px; font-size: 0.95rem; letter-spacing: 0.5px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--yellow); }

.footer-contact p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.8; }
.footer-contact strong { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,0.45); font-size: 0.82rem; }
.footer-bottom a { color: rgba(255,255,255,0.65); font-size: 0.82rem; }
.footer-bottom a:hover { color: var(--yellow); }

/* ── Badges / Misc ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}
.badge-yellow { background: var(--yellow-light); color: var(--navy); }
.badge-navy   { background: rgba(255,255,255,0.1); color: var(--white); }

.divider { width: 64px; height: 5px; background: linear-gradient(90deg, var(--yellow), var(--peach)); border-radius: 999px; margin: 18px auto 0; }

/* ── Two-column layout ── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.two-col-text h2 { margin-bottom: 16px; }
.two-col-text p  { color: var(--text-muted); margin-bottom: 20px; }
.two-col-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
}

/* ── Tags ── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  background: var(--gray-light);
  color: var(--text);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid var(--gray);
}

/* ── Table ── */
.comparison-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.comparison-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
}
.comparison-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--gray);
}
.comparison-table tr:nth-child(even) td { background: var(--gray-light); }
.comparison-table .check { color: #28A745; font-weight: 700; }
.comparison-table .cross { color: #DC3545; font-weight: 700; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; gap: 20px; padding: 70px 5% 60px; text-align: center; }
  .hero-split .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-split .hero-btns { justify-content: center; }
  .hero-image { max-width: 420px; margin: 0 auto; }
}
@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 20px 5%; box-shadow: 0 8px 24px rgba(0,0,0,0.1); gap: 4px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .nav-links .has-dropdown { width: 100%; }
  .nav-links .has-dropdown::before { display: none; }
  .nav-links .has-dropdown > a::after { display: none; }
  .nav-links .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    padding: 0 0 0 16px;
    background: transparent;
    min-width: 0;
  }
  .nav-links .has-dropdown:hover .dropdown-menu,
  .nav-links .has-dropdown:focus-within .dropdown-menu {
    transform: none;
  }
  .hero { padding: 70px 5% 60px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .two-col-img { min-height: 240px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-bar { flex-direction: column; gap: 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(13,27,75,0.15); }
  .stat-item:last-child { border-bottom: none; }
  .footer-bottom { justify-content: center; text-align: center; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; text-align: center; }
  .section { padding: 60px 5%; }
}
