/**
 * NCR Home Tutor - Modern High-Conversion Theme Stylesheet
 * Colors: Navy #18264B, Dark Navy #081C27, Primary Red #ED3948, Primary Blue #087BD8, Bright Blue #0089E8, Green #45C85A, Yellow #FFD51A
 */

:root {
  --primary-navy: #18264B;
  --dark-navy: #081C27;
  --primary-red: #ED3948;
  --red-hover: #D92534;
  --primary-blue: #087BD8;
  --bright-blue: #0089E8;
  --green-cta: #45C85A;
  --green-hover: #36B34A;
  --yellow-accent: #FFD51A;
  --light-bg: #F6F8FB;
  --light-card: #FFFFFF;
  --text-main: #20252D;
  --text-muted: #5F6B7D;
  --border-color: #E2E8F0;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 8px 24px rgba(14, 30, 64, 0.08);
  --shadow-lg: 0 16px 36px rgba(14, 30, 64, 0.14);
  /* Design System Semantic Tokens */
  --font-family-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-stack: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-size-base: 16px;
  --font-weight-base: 400;
  --font-line-height-base: 27.68px;

  /* Typography Scale */
  --font-size-xs: 0px;
  --font-size-sm: 14px;
  --font-size-md: 15px;
  --font-size-lg: 16px;
  --font-size-xl: 18px;
  --font-size-2xl: 20px;
  --font-size-3xl: 22px;
  --font-size-4xl: 28px;

  /* Color Palette */
  --color-text-primary: #021e40;
  --color-text-secondary: #696868;
  --color-text-tertiary: #29303b;
  --color-surface-muted: #ffffff;
  --color-surface-base: #000000;
  --color-surface-raised: #2babe4;

  /* Spacing Scale */
  --space-1: 2.5px;
  --space-2: 4px;
  --space-3: 15px;
  --space-4: 17px;
  --space-5: 18px;
  --space-6: 20px;
  --space-7: 24px;
  --space-8: 30px;

  /* Radius, Motion & Focus Tokens */
  --radius-xs: 3px;
  --radius-sm: 5px;
  --radius-md: 50px;
  --radius-lg: 100px;
  --motion-duration-instant: 250ms;
  --motion-duration-fast: 300ms;
  --motion-duration-normal: 500ms;

  --transition: all var(--motion-duration-instant) ease-in-out;
}

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

*:focus-visible {
  outline: 2px solid var(--color-surface-raised) !important;
  outline-offset: var(--space-1) !important;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-base);
  line-height: var(--font-line-height-base);
  color: var(--color-text-primary);
  background-color: var(--color-surface-muted);
  overflow-x: hidden;
}

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

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: var(--transition);
}
a:hover {
  color: var(--bright-blue);
}

/* ==================== BUTTONS & CTAS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary-red {
  background-color: var(--primary-red);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(237, 57, 72, 0.35);
}
.btn-primary-red:hover {
  background-color: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(237, 57, 72, 0.45);
}

.btn-primary-blue {
  background-color: var(--primary-blue);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(8, 123, 216, 0.35);
}
.btn-primary-blue:hover {
  background-color: var(--bright-blue);
  transform: translateY(-2px);
}

.btn-green-cta {
  background-color: var(--green-cta);
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(69, 200, 90, 0.35);
}
.btn-green-cta:hover {
  background-color: var(--green-hover);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff !important;
  border-color: #ffffff;
}
.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-navy) !important;
}

.btn-outline-navy {
  background-color: transparent;
  color: var(--primary-navy) !important;
  border-color: var(--primary-navy);
}
.btn-outline-navy:hover {
  background-color: var(--primary-navy);
  color: #ffffff !important;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==================== TOP CONTACT BAR ==================== */
.top-bar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 8px 0;
  font-size: 0.88rem;
  color: #4A5568;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2D3748;
  font-weight: 500;
}
.top-contact-link:hover {
  color: var(--primary-red);
}
.top-contact-link i {
  color: var(--primary-red);
}

/* ==================== MAIN HEADER & NAV ==================== */
.site-header {
  background-color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.brand-logo-img {
  height: 54px;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  position: relative;
  padding: 6px 0;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary-red);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--primary-red);
}
.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary-navy);
  cursor: pointer;
}

/* ==================== HERO SECTION ==================== */
.hero-section {
  background: linear-gradient(135deg, #18264B 0%, #0d1a38 100%);
  color: #ffffff;
  padding: 60px 0 70px;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(8, 123, 216, 0.25) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--yellow-accent);
  padding: 6px 14px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 213, 26, 0.3);
}
.hero-title {
  color: #ffffff;
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--yellow-accent);
}
.hero-description {
  font-size: 1.12rem;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 580px;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 35px;
}
.hero-trust-indicators {
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
}
.hero-stat-item {
  display: flex;
  flex-direction: column;
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--yellow-accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: #CBD5E1;
  margin-top: 4px;
  font-weight: 500;
}
.hero-rating-box {
  display: flex;
  align-items: center;
  gap: 8px;
}
.star-rating {
  color: #FFB800;
  font-size: 0.95rem;
}

/* ==================== HERO FORM CARD ==================== */
.hero-form-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
  color: var(--text-main);
  position: relative;
  border-top: 4px solid var(--primary-red);
}
.hero-form-header {
  margin-bottom: 20px;
  text-align: center;
}
.hero-form-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}
.hero-form-header p {
  font-size: 0.9rem;
  color: var(--primary-red);
  font-weight: 600;
}
.form-group {
  margin-bottom: 14px;
}
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 5px;
}
.form-control, .form-select {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.92rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  background-color: #F8FAFC;
  transition: var(--transition);
  font-family: inherit;
  color: var(--text-main);
}
.form-control:focus, .form-select:focus {
  outline: none;
  border-color: var(--primary-blue);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(8, 123, 216, 0.15);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-privacy-note {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* ==================== TRUST / STATS BAR ==================== */
.trust-bar {
  background-color: #ffffff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  padding: 24px 0;
  border-bottom: 1px solid var(--border-color);
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.trust-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(8, 123, 216, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-blue);
  font-size: 22px;
  flex-shrink: 0;
}
.trust-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
}
.trust-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==================== TEACHER CTA STRIP ==================== */
.teacher-cta-strip {
  background: linear-gradient(90deg, #087BD8 0%, #0089E8 100%);
  color: #ffffff;
  padding: 30px 0;
}
.teacher-cta-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
.teacher-cta-text h3 {
  color: #ffffff;
  font-size: 1.6rem;
  margin-bottom: 4px;
}
.teacher-cta-text p {
  color: #E0F2FE;
  font-size: 0.95rem;
}
.teacher-cta-actions {
  display: flex;
  gap: 12px;
}

/* ==================== SECTIONS COMMON ==================== */
.section {
  padding: 70px 0;
}
.section-light {
  background-color: var(--light-bg);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}
.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary-red);
  margin-bottom: 8px;
}
.section-title {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Two-column layout */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.feature-list {
  list-style: none;
  margin: 24px 0 32px;
}
.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 1rem;
}
.feature-list-icon {
  color: var(--green-cta);
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.img-rounded {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  object-fit: cover;
}

/* ==================== CARDS & GRIDS ==================== */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cards-grid-6 {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.feature-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: left;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--bright-blue);
}
.card-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 10px;
  background: rgba(8, 123, 216, 0.1);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.feature-card h4 {
  font-size: 1.18rem;
  margin-bottom: 10px;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Location Cards */
.location-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.location-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
  box-shadow: 0 12px 28px rgba(8, 123, 216, 0.12);
}
.location-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.11;
  filter: saturate(1.2) contrast(1.08);
  pointer-events: none;
  transition: transform 0.5s ease, opacity 0.4s ease;
  z-index: 1;
}
.location-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.86) 0%, rgba(255, 255, 255, 0.93) 100%);
  pointer-events: none;
  z-index: 1;
}
.location-card:hover .location-card-bg {
  opacity: 0.22;
  transform: scale(1.06);
}
.location-card-content,
.location-card-action {
  position: relative;
  z-index: 2;
}
.location-card-action {
  margin-top: 15px;
}
.location-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.loc-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(237, 57, 72, 0.1);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.location-card h4 {
  font-size: 1.2rem;
  color: var(--primary-navy);
}
.location-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.5;
}
.location-areas-tag {
  font-size: 0.78rem;
  background: rgba(238, 242, 246, 0.92);
  padding: 6px 10px;
  border-radius: 4px;
  color: #475569;
  margin-bottom: 15px;
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* ==================== COLORFUL SUBJECT PILLS (LIGHT TONE PALETTE) ==================== */
.subject-pill {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: 12px;
  padding: 22px 14px 18px;
  text-align: center;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 125px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  position: relative;
  overflow: hidden;
}

.subject-pill:hover {
  transform: translateY(-5px);
  text-decoration: none;
}

.subject-pill-icon {
  font-size: 30px;
  margin-bottom: 12px;
  transition: transform 0.28s ease, filter 0.28s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.subject-pill:hover .subject-pill-icon {
  transform: scale(1.15);
}

.subject-pill-title {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: #1e293b;
  transition: color 0.25s ease;
}

/* 1. Step 1: Royal Blue (Mathematics) */
.subject-pill.subject-color-1,
.cards-grid-6 .subject-pill:nth-child(12n + 1) {
  background: #EFF6FF;
  border-color: #BFDBFE;
}
.subject-pill.subject-color-1 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 1) .subject-pill-icon {
  color: #0077C8;
}
.subject-pill.subject-color-1:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 1):hover {
  background: #DBEAFE;
  border-color: #0077C8;
  box-shadow: 0 10px 22px rgba(0, 119, 200, 0.18);
}
.subject-pill.subject-color-1:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 1):hover .subject-pill-title {
  color: #005a96;
}

/* 2. Step 2: Red / Crimson (Science) */
.subject-pill.subject-color-2,
.cards-grid-6 .subject-pill:nth-child(12n + 2) {
  background: #FEF2F2;
  border-color: #FECACA;
}
.subject-pill.subject-color-2 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 2) .subject-pill-icon {
  color: #E30613;
}
.subject-pill.subject-color-2:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 2):hover {
  background: #FEE2E2;
  border-color: #E30613;
  box-shadow: 0 10px 22px rgba(227, 6, 19, 0.18);
}
.subject-pill.subject-color-2:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 2):hover .subject-pill-title {
  color: #b91c1c;
}

/* 3. Step 3: Kelly / Emerald Green (Physics) */
.subject-pill.subject-color-3,
.cards-grid-6 .subject-pill:nth-child(12n + 3) {
  background: #F0FDF4;
  border-color: #BBF7D0;
}
.subject-pill.subject-color-3 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 3) .subject-pill-icon {
  color: #009944;
}
.subject-pill.subject-color-3:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 3):hover {
  background: #DCFCE7;
  border-color: #009944;
  box-shadow: 0 10px 22px rgba(0, 153, 68, 0.18);
}
.subject-pill.subject-color-3:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 3):hover .subject-pill-title {
  color: #15803d;
}

/* 4. Step 4: Violet / Purple (Chemistry) */
.subject-pill.subject-color-4,
.cards-grid-6 .subject-pill:nth-child(12n + 4) {
  background: #FAF5FF;
  border-color: #E9D5FF;
}
.subject-pill.subject-color-4 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 4) .subject-pill-icon {
  color: #84328E;
}
.subject-pill.subject-color-4:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 4):hover {
  background: #F3E8FF;
  border-color: #84328E;
  box-shadow: 0 10px 22px rgba(132, 50, 142, 0.18);
}
.subject-pill.subject-color-4:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 4):hover .subject-pill-title {
  color: #6b21a8;
}

/* 5. Step 5: Vibrant Orange (Biology) */
.subject-pill.subject-color-5,
.cards-grid-6 .subject-pill:nth-child(12n + 5) {
  background: #FFF7ED;
  border-color: #FED7AA;
}
.subject-pill.subject-color-5 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 5) .subject-pill-icon {
  color: #F38B00;
}
.subject-pill.subject-color-5:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 5):hover {
  background: #FFEDD5;
  border-color: #F38B00;
  box-shadow: 0 10px 22px rgba(243, 139, 0, 0.18);
}
.subject-pill.subject-color-5:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 5):hover .subject-pill-title {
  color: #c2410c;
}

/* 6. Step 6: Sky Blue / Cerulean (English Literature & Grammar) */
.subject-pill.subject-color-6,
.cards-grid-6 .subject-pill:nth-child(12n + 6) {
  background: #F0F9FF;
  border-color: #BAE6FD;
}
.subject-pill.subject-color-6 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 6) .subject-pill-icon {
  color: #00A0E9;
}
.subject-pill.subject-color-6:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 6):hover {
  background: #E0F2FE;
  border-color: #00A0E9;
  box-shadow: 0 10px 22px rgba(0, 160, 233, 0.18);
}
.subject-pill.subject-color-6:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 6):hover .subject-pill-title {
  color: #0369a1;
}

/* 7. Step 7: Coral / Salmon Pink (Hindi) */
.subject-pill.subject-color-7,
.cards-grid-6 .subject-pill:nth-child(12n + 7) {
  background: #FFF1F2;
  border-color: #FECDD3;
}
.subject-pill.subject-color-7 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 7) .subject-pill-icon {
  color: #EB7B6C;
}
.subject-pill.subject-color-7:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 7):hover {
  background: #FFE4E6;
  border-color: #EB7B6C;
  box-shadow: 0 10px 22px rgba(235, 123, 108, 0.2);
}
.subject-pill.subject-color-7:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 7):hover .subject-pill-title {
  color: #be123c;
}

/* 8. Step 8: Light Green / Apple Lime (Social Science) */
.subject-pill.subject-color-8,
.cards-grid-6 .subject-pill:nth-child(12n + 8) {
  background: #F7FEE7;
  border-color: #D9F99D;
}
.subject-pill.subject-color-8 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 8) .subject-pill-icon {
  color: #7BC043;
}
.subject-pill.subject-color-8:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 8):hover {
  background: #ECFCCB;
  border-color: #7BC043;
  box-shadow: 0 10px 22px rgba(123, 192, 67, 0.18);
}
.subject-pill.subject-color-8:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 8):hover .subject-pill-title {
  color: #4d7c0f;
}

/* 9. Step 9: Lavender / Soft Indigo (Accountancy) */
.subject-pill.subject-color-9,
.cards-grid-6 .subject-pill:nth-child(12n + 9) {
  background: #EEF2FF;
  border-color: #C7D2FE;
}
.subject-pill.subject-color-9 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 9) .subject-pill-icon {
  color: #7B84BE;
}
.subject-pill.subject-color-9:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 9):hover {
  background: #E0E7FF;
  border-color: #7B84BE;
  box-shadow: 0 10px 22px rgba(123, 132, 190, 0.18);
}
.subject-pill.subject-color-9:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 9):hover .subject-pill-title {
  color: #4338ca;
}

/* 10. Step 10: Golden Sun Yellow (Economics) */
.subject-pill.subject-color-10,
.cards-grid-6 .subject-pill:nth-child(12n + 10) {
  background: #FEFCE8;
  border-color: #FEF08A;
}
.subject-pill.subject-color-10 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 10) .subject-pill-icon {
  color: #FABE00;
}
.subject-pill.subject-color-10:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 10):hover {
  background: #FEF9C3;
  border-color: #FABE00;
  box-shadow: 0 10px 22px rgba(250, 190, 0, 0.18);
}
.subject-pill.subject-color-10:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 10):hover .subject-pill-title {
  color: #a16207;
}

/* 11. Point: Warm Amber / Tangerine (Business Studies) */
.subject-pill.subject-color-11,
.cards-grid-6 .subject-pill:nth-child(12n + 11) {
  background: #FFFBEB;
  border-color: #FDE68A;
}
.subject-pill.subject-color-11 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 11) .subject-pill-icon {
  color: #F59E0B;
}
.subject-pill.subject-color-11:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 11):hover {
  background: #FEF3C7;
  border-color: #F59E0B;
  box-shadow: 0 10px 22px rgba(245, 158, 11, 0.18);
}
.subject-pill.subject-color-11:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 11):hover .subject-pill-title {
  color: #b45309;
}

/* 12. Check: Aqua / Vibrant Teal (Computer Science / Python / Coding) */
.subject-pill.subject-color-12,
.cards-grid-6 .subject-pill:nth-child(12n + 12) {
  background: #F0FDFA;
  border-color: #99F6E4;
}
.subject-pill.subject-color-12 .subject-pill-icon,
.cards-grid-6 .subject-pill:nth-child(12n + 12) .subject-pill-icon {
  color: #00A3E0;
}
.subject-pill.subject-color-12:hover,
.cards-grid-6 .subject-pill:nth-child(12n + 12):hover {
  background: #CCFBF1;
  border-color: #00A3E0;
  box-shadow: 0 10px 22px rgba(0, 163, 224, 0.18);
}
.subject-pill.subject-color-12:hover .subject-pill-title,
.cards-grid-6 .subject-pill:nth-child(12n + 12):hover .subject-pill-title {
  color: #0f766e;
}

/* ==================== HOW IT WORKS ==================== */
.step-card {
  text-align: center;
  position: relative;
  padding: 30px 20px;
}
.step-number {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: var(--yellow-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 auto 20px;
  box-shadow: 0 4px 12px rgba(24, 38, 75, 0.25);
  border: 3px solid #ffffff;
}
.step-card h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.step-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ==================== TESTIMONIALS SLIDER ==================== */
.testimonial-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 48px 20px;
}

.testimonial-slider-viewport {
  overflow: hidden;
  border-radius: 12px;
  padding: 10px 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 33.333333%;
  max-width: 33.333333%;
  padding: 0 12px;
  box-sizing: border-box;
  display: flex;
}

.testimonial-card {
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 4px 18px rgba(2, 30, 64, 0.06);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--primary-blue, #087BD8);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-top-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(2, 30, 64, 0.12);
  border-top-color: var(--primary-red, #ED3948);
}

.testi-quote {
  font-size: 0.94rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-blue) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  border: 2.5px solid #ffffff;
}

.testi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.testi-meta h5 {
  font-size: 0.96rem;
  margin-bottom: 2px;
  color: var(--primary-navy);
}

.testi-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Slider Navigation Arrows */
.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #E2E8F0;
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: all 0.25s ease;
  z-index: 10;
}

.testimonial-nav-btn:hover {
  background: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  transform: translateY(-50%) scale(1.08);
}

.testimonial-prev {
  left: 0;
}

.testimonial-next {
  right: 0;
}

/* Pagination Dots */
.testimonial-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 25px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.testimonial-dot.active {
  width: 28px;
  border-radius: 8px;
  background: var(--primary-red, #ED3948);
}

@media (max-width: 1024px) {
  .testimonial-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 768px) {
  .testimonial-slider-container {
    padding: 10px 0 20px;
  }
  .testimonial-slide {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 4px;
  }
  .testimonial-nav-btn {
    display: none;
  }
}

/* ==================== FAQ ACCORDION ==================== */
.faq-accordion {
  max-width: 840px;
  margin: 0 auto;
}
.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: var(--transition);
}
.faq-question {
  width: 100%;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-navy);
  cursor: pointer;
}
.faq-question:hover {
  color: var(--primary-blue);
}
.faq-icon {
  font-size: 0.9rem;
  color: var(--primary-blue);
  transition: var(--transition);
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 22px;
  color: #475569;
  font-size: 0.94rem;
  line-height: 1.6;
}
.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ==================== FOOTER ==================== */
.site-footer {
  background-color: var(--dark-navy);
  color: #94A3B8;
  padding: 70px 0 20px;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-col h4 {
  color: #ffffff;
  font-size: 1.15rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--primary-red);
}
.footer-links {
  list-style: none;
}
.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: #CBD5E1;
}
.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}
.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: #CBD5E1;
}
.footer-contact-item i {
  color: var(--primary-red);
  margin-top: 4px;
}
.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.social-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.social-icon-link:hover {
  background: var(--primary-red);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.85rem;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: #94A3B8;
}
.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==================== STICKY MOBILE CONVERSION BAR ==================== */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 -3px 12px rgba(0,0,0,0.12);
  z-index: 9999;
  padding: 8px 12px;
}
.mobile-sticky-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 8px;
}
.mobile-sticky-btn {
  padding: 10px 4px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-transform: uppercase;
}

/* ==================== CONTAINER & UTILITIES ==================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-danger { color: var(--primary-red); }
.text-success { color: var(--green-cta); }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 15px; }
.mt-4 { margin-top: 25px; }
.mb-2 { margin-bottom: 10px; }
.mb-3 { margin-bottom: 15px; }
.mb-4 { margin-bottom: 25px; }

/* Alert badges & notifications */
.badge {
  display: inline-block;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  text-transform: uppercase;
}
.badge-primary { background: #E0F2FE; color: var(--primary-blue); }
.badge-success { background: #DCFCE7; color: #166534; }
.badge-danger { background: #FEE2E2; color: #991B1B; }
.badge-warning { background: #FEF9C3; color: #854D0E; }

.alert {
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 0.95rem;
}
.alert-success { background-color: #DCFCE7; color: #166534; border: 1px solid #BBF7D0; }
.alert-danger { background-color: #FEE2E2; color: #991B1B; border: 1px solid #FECACA; }
.alert-warning { background-color: #FEF9C3; color: #854D0E; border: 1px solid #FEF08A; }
.alert-info { background-color: #E0F2FE; color: #075985; border: 1px solid #BAE6FD; }

/* ==================== RESPONSIVE BREAKPOINTS ==================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .two-col-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .cards-grid-6 {
    grid-template-columns: repeat(3, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 60px; /* Space for mobile sticky CTA bar */
  }
  .top-bar {
    display: none; /* Mobile hides top bar to prioritize viewport */
  }
  .mobile-nav-toggle {
    display: block;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
    border-top: 1px solid var(--border-color);
  }
  .main-nav.show {
    display: flex;
  }
  .header-cta-group .btn {
    display: none; /* Hide header demo class button on mobile in favor of sticky bar */
  }
  .hero-section {
    padding: 40px 0 50px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-trust-indicators {
    flex-wrap: wrap;
    gap: 15px;
  }
  .trust-bar-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .cards-grid-3 {
    grid-template-columns: 1fr;
  }
  .cards-grid-4 {
    grid-template-columns: 1fr;
  }
  .cards-grid-6 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .mobile-sticky-bar {
    display: block;
  }
  .teacher-cta-flex {
    flex-direction: column;
    text-align: center;
  }
  .teacher-cta-actions {
    width: 100%;
    justify-content: center;
  }
}

/* ==================== CONFUSED PARENTS COUNSELING CTA BANNER ==================== */
.parent-counseling-banner {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 16px;
  border: 1px solid #E2E8F0;
  box-shadow: 0 10px 30px rgba(2, 30, 64, 0.08);
  overflow: hidden;
  margin: 20px 0;
  border-left: 6px solid var(--primary-red, #ED3948);
}

.parent-counseling-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 0;
}

.parent-counseling-img-wrap {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
  background: #f1f5f9;
}

.parent-counseling-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.parent-counseling-banner:hover .parent-counseling-img {
  transform: scale(1.02);
}

.parent-counseling-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(2, 30, 64, 0.88);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.parent-counseling-badge i {
  color: #FFD51A;
}

.parent-counseling-content {
  padding: 40px;
}

.parent-counseling-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF3C7;
  color: #92400E;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.parent-counseling-title {
  font-size: 1.95rem;
  color: #021e40;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}

.parent-counseling-desc {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.parent-counseling-features {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 26px;
  font-size: 0.92rem;
  color: #1e293b;
  font-weight: 600;
}

.parent-counseling-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.parent-counseling-features i {
  color: #16A34A;
}

.parent-counseling-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

@media (max-width: 900px) {
  .parent-counseling-grid {
    grid-template-columns: 1fr;
  }
  .parent-counseling-img-wrap {
    min-height: 250px;
    max-height: 320px;
  }
  .parent-counseling-content {
    padding: 28px 20px;
  }
  .parent-counseling-title {
    font-size: 1.55rem;
  }
}

/* ==================== FIXED FLOATING WHATSAPP CTA ==================== */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border-radius: var(--radius-lg, 50%);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45), 0 2px 6px rgba(0, 0, 0, 0.15);
  font-size: 32px;
  text-decoration: none;
  transition: transform var(--motion-duration-instant, 250ms) ease, box-shadow var(--motion-duration-instant, 250ms) ease;
  cursor: pointer;
}

.floating-whatsapp:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6), 0 4px 10px rgba(0, 0, 0, 0.2);
  color: #ffffff !important;
}

.floating-whatsapp:active {
  transform: scale(0.96) translateY(0);
}

.floating-whatsapp:focus-visible {
  outline: 3px solid #021e40 !important;
  outline-offset: 3px !important;
}

/* Radar pulse wave effect */
.floating-whatsapp::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: wa-pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Tooltip badge for desktop */
.floating-whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: #021e40;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

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

@media (max-width: 768px) {
  .floating-whatsapp {
    bottom: 75px; /* Above the mobile sticky conversion bar */
    right: 18px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .floating-whatsapp-tooltip {
    display: none;
  }
}

/* ==================== FINAL CTA SECTION (FULL WIDTH & SPLIT) ==================== */
.final-cta-card {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 45px 40px;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--primary-red);
}

.final-cta-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 35px;
  align-items: stretch;
  margin-top: 15px;
}

.final-cta-image-col {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.final-cta-media-wrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.final-cta-img-box {
  position: relative;
  flex: 1;
  min-height: 320px;
  overflow: hidden;
}

.final-cta-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.final-cta-media-wrap:hover .final-cta-img-box img {
  transform: scale(1.03);
}

.final-cta-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(24, 38, 75, 0.92);
  backdrop-filter: blur(6px);
  color: #ffffff;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}

.final-cta-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.4) 65%, rgba(15, 23, 42, 0) 100%);
  padding: 30px 22px 18px;
  color: #ffffff;
  z-index: 2;
}

.final-cta-caption .caption-title {
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.3;
  color: #ffffff;
}

.final-cta-caption .caption-sub {
  font-size: 0.86rem;
  color: #e2e8f0;
  margin-top: 4px;
}

.final-cta-trust-box {
  background: #f8fafc;
  padding: 20px 22px;
  border-top: 1px solid #e2e8f0;
}

.final-cta-trust-box .trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.final-cta-trust-box .trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: #334155;
}

.final-cta-trust-box .trust-item i {
  font-size: 1.15rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

@media (max-width: 992px) {
  .final-cta-card {
    padding: 30px 20px;
  }
  .final-cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .final-cta-img-box {
    min-height: 260px;
  }
}

/* ==================== WHY CHOOSE US FEATURE CARDS WITH IMAGES ==================== */
.why-choose-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-color);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.why-choose-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(8, 123, 216, 0.12);
  border-color: var(--primary-blue);
}

.why-choose-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: #f1f5f9;
}

.why-choose-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.why-choose-card:hover .why-choose-img-wrap img {
  transform: scale(1.06);
}

.why-choose-icon-badge {
  position: absolute;
  top: -24px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #ffffff;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
  border: 1.5px solid #eff6ff;
  z-index: 10;
  transition: all 0.3s ease;
}

.why-choose-card:hover .why-choose-icon-badge {
  background: var(--primary-blue);
  color: #ffffff;
  transform: scale(1.08);
}

.why-choose-content {
  position: relative;
  padding: 34px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  z-index: 2;
}

.why-choose-content h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.why-choose-content p {
  color: #64748b;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ==================== LOCATION HERO BANNER WITH LANDMARK OVERLAY ==================== */
.location-hero-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #18264b 0%, #087bd8 100%);
  color: #ffffff;
  padding: 60px 0 50px;
  text-align: center;
}

.location-hero-banner .hero-landmark-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.30;
  filter: saturate(1.22) contrast(1.12);
  pointer-events: none;
  z-index: 1;
}

.location-hero-banner .hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(8, 123, 216, 0.15) 0%, rgba(24, 38, 75, 0.4) 100%);
  pointer-events: none;
  z-index: 1;
}

.location-hero-banner .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 768px) {
  .location-hero-banner {
    padding: 45px 0 35px;
  }
}



