/* ==========================================================================
   Start2Study - Production-Ready UK EdTech Stylesheet
   ========================================================================== */

:root {
  --primary-purple: #35134F;
  --primary-purple-dark: #200B31;
  --primary-purple-light: #4A1A6D;
  --accent-orange: #FF5A2B;
  --accent-pink: #E91E63;
  --accent-gradient: linear-gradient(135deg, #FF5A2B 0%, #E91E63 55%, #7B1FA2 100%);
  --accent-gradient-hover: linear-gradient(135deg, #FF7043 0%, #F06292 55%, #8E24AA 100%);
  --secondary-teal: #00B4D8;
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
  --card-border: rgba(226, 232, 240, 0.8);
  --success-green: #10B981;
  --gold-star: #F59E0B;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(53, 19, 79, 0.15), 0 10px 10px -5px rgba(53, 19, 79, 0.04);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

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

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

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

h1 { font-size: 2.75rem; letter-spacing: -0.02em; }
h2 { font-size: 2.15rem; letter-spacing: -0.015em; }
h3 { font-size: 1.45rem; }
h4 { font-size: 1.15rem; }

p {
  color: #334155;
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  box-sizing: border-box;
}

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

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

/* Utilities */
.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-purple {
  background-color: rgba(53, 19, 79, 0.08);
  color: var(--primary-purple);
}

.badge-orange {
  background-color: rgba(255, 90, 43, 0.1);
  color: var(--accent-orange);
}

.badge-green {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--success-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.65rem;
  font-weight: 600;
  font-size: 0.975rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(255, 90, 43, 0.35);
}

.btn-primary:hover {
  background: var(--accent-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 90, 43, 0.45);
}

.btn-purple {
  background-color: var(--primary-purple);
  color: #FFFFFF;
}

.btn-purple:hover {
  background-color: var(--primary-purple-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(53, 19, 79, 0.3);
}

.btn-outline {
  border-color: var(--border-color);
  background-color: #FFFFFF;
  color: var(--primary-purple);
}

.btn-outline:hover {
  border-color: var(--primary-purple);
  background-color: rgba(53, 19, 79, 0.04);
}

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

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

/* Top Notification Banner */
.top-notice-bar {
  background: var(--primary-purple-dark);
  color: #FFFFFF;
  padding: 0.6rem 0;
  font-size: 0.85rem;
  text-align: center;
}

.top-notice-bar a {
  color: #FFD166;
  font-weight: 600;
  text-decoration: underline;
  margin-left: 0.5rem;
}

/* TWO-TIER PROMINENT HEADER WITH HUGE LOGO */
.site-header {
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

/* Top Branding Tier */
.header-top-tier {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  background: #FFFFFF;
}

.header-top-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* COMMANDING LOGO SIZE */
.site-logo img {
  height: 82px; /* Tightly cropped so text & skyline are massive */
  max-height: 85px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.site-logo:hover img {
  transform: scale(1.02);
}

.header-quick-contacts {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.quick-contact-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.quick-contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.quick-contact-info {
  line-height: 1.25;
}

.quick-contact-label {
  font-size: 0.75rem;
  color: #334155;
  text-transform: uppercase;
  font-weight: 700;
}

.quick-contact-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-purple);
}

/* Bottom Navigation Tier */
.header-nav-tier {
  background: #FFFFFF;
  padding: 0.4rem 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: clamp(1rem, 1.6vw, 1.75rem);
  flex-wrap: nowrap;
}

.main-nav a {
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent-orange);
}

.main-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--primary-purple);
}

/* Page Header Banner for Inner Pages */
.page-banner {
  background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 70%, #4B176E 100%);
  color: #FFFFFF;
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}

.page-banner h1 {
  color: #FFFFFF;
  font-size: 2.65rem;
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: #E2E8F0;
  font-size: 1.15rem;
  max-width: 680px;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #FFD166;
  margin-bottom: 1rem;
}

.breadcrumbs a {
  color: #FFFFFF;
  opacity: 0.8;
}

.breadcrumbs a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(180deg, #F9F5FD 0%, #FFFFFF 100%);
  padding: 3.5rem 0 5rem;
  overflow: hidden;
}

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

.hero-content .hero-pill {
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-content .hero-desc {
  font-size: 1.15rem;
  color: #334155;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--primary-purple);
  font-size: 0.925rem;
}

.hero-feature-item svg {
  color: var(--accent-orange);
  flex-shrink: 0;
}

/* Interactive Eligibility Card */
.eligibility-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  position: relative;
}

.eligibility-card-header {
  margin-bottom: 1.5rem;
  text-align: left;
}

.eligibility-card-header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.eligibility-progress-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  position: relative;
}

.progress-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--border-color);
  z-index: 1;
  transform: translateY(-50%);
}

.progress-fill {
  position: absolute;
  top: 50%;
  left: 0;
  height: 3px;
  background: var(--accent-gradient);
  z-index: 2;
  transform: translateY(-50%);
  width: 25%;
  transition: width 0.3s ease;
}

.progress-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #FFFFFF;
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

.progress-step.active {
  border-color: var(--accent-orange);
  background: var(--accent-orange);
  color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255, 90, 43, 0.2);
}

.progress-step.completed {
  border-color: var(--success-green);
  background: var(--success-green);
  color: #FFFFFF;
}

/* Quiz Steps */
.quiz-step {
  display: none;
}

.quiz-step.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.quiz-step-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-purple-dark);
}

.option-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.option-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background-color: #FFFFFF;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: left;
  transition: all 0.2s ease;
}

.option-button:hover {
  border-color: var(--accent-orange);
  background-color: rgba(255, 90, 43, 0.04);
}

.option-button.selected {
  border-color: var(--primary-purple);
  background-color: rgba(53, 19, 79, 0.05);
  color: var(--primary-purple);
  font-weight: 600;
}

.quiz-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
}

.quiz-result-banner {
  background: linear-gradient(135deg, rgba(53, 19, 79, 0.05) 0%, rgba(255, 90, 43, 0.08) 100%);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: center;
  margin-bottom: 1.25rem;
  border: 1px dashed var(--accent-orange);
}

.result-fund-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-orange);
  margin: 0.25rem 0;
}

.lead-form-grid {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
}

.input-field:focus {
  outline: none;
  border-color: var(--accent-orange);
  box-shadow: 0 0 0 3px rgba(255, 90, 43, 0.15);
}

/* Stats Ribbon */
.stats-ribbon {
  background-color: var(--primary-purple);
  color: #FFFFFF;
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #FFD166;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #E2E8F0;
  font-weight: 500;
}

/* Section Common */
.section {
  padding: 5rem 0;
}

.section-bg-light {
  background-color: var(--bg-light);
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

/* University Partner Logos Showcase */
.partners-showcase {
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-color);
  background: #FFFFFF;
}

.partners-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #334155;
  letter-spacing: 0.08em;
  margin-bottom: 1.75rem;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.partner-badge-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--primary-purple);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.partner-badge-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-orange);
}

/* Course Explorer Section (UniScholars Style Cards) */
.course-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  background-color: #FFFFFF;
  color: var(--text-dark);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-pill.active, .filter-pill:hover {
  background-color: var(--primary-purple);
  color: #FFFFFF;
  border-color: var(--primary-purple);
}

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

.course-card {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.course-card-top {
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.course-category-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-orange);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.course-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--primary-purple-dark);
}

.course-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.course-card-body {
  padding: 1.25rem 1.5rem;
  flex-grow: 1;
}

.course-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
  font-size: 0.875rem;
}

.course-meta-label {
  color: #334155;
}

.course-meta-val {
  font-weight: 600;
  color: var(--text-dark);
}

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

/* SFE & Foundation Support Box (Courses Page) */
.foundation-support-banner {
  margin-top: 3.5rem;
  background: linear-gradient(135deg, #1E1B4B 0%, #35134F 100%);
  color: #FFFFFF;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 10px 25px rgba(30, 27, 75, 0.25);
}

.foundation-support-content h3 {
  color: #FFFFFF;
  font-size: 1.65rem;
  margin-bottom: 0.75rem;
}

.foundation-support-content p {
  color: #E2E8F0;
  line-height: 1.65;
  font-size: 0.95rem;
}

.foundation-support-action {
  text-align: right;
}

.foundation-support-action .btn {
  font-size: 1rem;
  padding: 0.9rem 1.75rem;
  white-space: nowrap;
  display: inline-block;
}

@media (max-width: 768px) {
  .foundation-support-banner {
    grid-template-columns: 1fr;
    padding: 1.75rem 1.25rem;
    gap: 1.5rem;
    margin-top: 2.5rem;
    text-align: left;
  }

  .foundation-support-content h3 {
    font-size: 1.35rem;
    line-height: 1.3;
  }

  .foundation-support-action {
    text-align: center;
    width: 100%;
  }

  .foundation-support-action .btn {
    width: 100%;
    display: block;
    text-align: center;
    white-space: normal;
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    box-sizing: border-box;
  }
}

/* Student Finance Comparison & Breakdown */
.finance-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.finance-box-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.finance-col {
  padding: 3rem 2.5rem;
}

.finance-col:first-child {
  background: linear-gradient(135deg, rgba(53, 19, 79, 0.03) 0%, rgba(53, 19, 79, 0.08) 100%);
  border-right: 1px solid var(--border-color);
}

.finance-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--primary-purple);
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.finance-amount-big {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-purple);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.finance-features {
  list-style: none;
  margin: 1.75rem 0;
}

.finance-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.finance-features li svg {
  color: var(--success-green);
  flex-shrink: 0;
  margin-top: 2px;
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  background-color: #FFFFFF;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--accent-orange);
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-purple-dark);
  font-family: inherit;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--accent-orange);
  transition: transform 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
  color: #334155;
  font-size: 0.95rem;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.5rem;
}

/* Final CTA Section */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-purple-dark) 0%, var(--primary-purple) 60%, #4C1970 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: #E2E8F0;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2.25rem;
}

.cta-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Footer with UK Compliance & Regulatory Notice */
.site-footer {
  background-color: var(--primary-purple-dark);
  color: #94A3B8;
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

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

.footer-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.75rem;
}

.footer-col ul a:hover {
  color: var(--accent-orange);
}

.footer-brand p {
  color: #94A3B8;
  margin-top: 1rem;
  font-size: 0.875rem;
}

.footer-compliance-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  font-size: 0.8rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.footer-compliance-box strong {
  color: #E2E8F0;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: #FFFFFF;
}

/* ==========================================================================
   Start2Study - Premium Motion & Micro-Interactions System
   Retains 100% of the Brand Royal Purple & Sunset Orange/Pink Palette
   ========================================================================== */

/* 1. Subtle Ambient Glow for Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 90, 43, 0.08) 0%, rgba(53, 19, 79, 0.04) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: floatAmbient 12s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -15%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(53, 19, 79, 0.09) 0%, rgba(233, 30, 99, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
  animation: floatAmbient 10s ease-in-out infinite alternate-reverse;
  z-index: 0;
}

@keyframes floatAmbient {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, 20px) scale(1.05); }
  100% { transform: translate(-20px, 35px) scale(0.95); }
}

.hero-grid {
  position: relative;
  z-index: 1;
}

/* 2. Floating Parallax for Student Cutouts */
.floating-visual {
  animation: floatCard 6s ease-in-out infinite alternate;
  will-change: transform;
  max-width: 100%;
  height: auto;
}

@keyframes floatCard {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
  100% { transform: translateY(-12px); }
}

/* 3. Shimmer Light Sweep on Primary Buttons */
.btn-primary {
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -70%;
  width: 50%;
  height: 200%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0) 100%);
  transform: rotate(25deg);
  transition: all 0.75s ease;
}

.btn-primary:hover::after {
  left: 130%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -3px rgba(255, 90, 43, 0.38);
}

/* 4. Interactive 3D Card Hover & Depth Lift */
.course-card,
.campus-card,
.process-step,
.testimonial-card,
.stat-card {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.course-card:hover,
.campus-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px -10px rgba(53, 19, 79, 0.12), 0 10px 10px -5px rgba(53, 19, 79, 0.04);
  border-color: rgba(255, 90, 43, 0.4);
}

/* 5. Glassmorphism Hero Form Card Glow */
.eligibility-card {
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.eligibility-card:hover {
  box-shadow: 0 25px 40px -10px rgba(53, 19, 79, 0.18);
  border-color: rgba(53, 19, 79, 0.25);
}

/* 6. Sticky Frosted Glass Header on Scroll */
.site-header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(53, 19, 79, 0.08);
}

/* 7. Scroll Reveal Animation Classes */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Pulse indicator for live intakes */
.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--success-green);
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
  animation: pulseDot 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  vertical-align: middle;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Accessibility: User Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
  .floating-visual, .hero-section::after, .live-dot {
    animation: none !important;
  }
}

/* Responsive Content Grid Systems */
.faculty-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.split-feature-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.split-feature-grid.reverse-on-mobile {
  grid-template-columns: 1fr 1.25fr;
  gap: 3rem;
}

.two-col-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.banner-cta-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
}

/* Inner Pages Responsive Grids */
.campus-item-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 1.25fr;
}

.campus-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.finance-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.finance-card-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
}

.finance-overview-box {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 4rem;
  box-sizing: border-box;
}

.finance-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.finance-tier-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-sizing: border-box;
}

.repayment-container-box {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  border: 1px solid var(--border-color);
  margin-bottom: 4rem;
  box-sizing: border-box;
}

.repayment-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.repayment-fact-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

.home-blog-grid,
.blog-grid,
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.course-quick-facts-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-sizing: border-box;
}

.eligibility-layout-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}

.why-choose-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 3.5rem;
  align-items: flex-start;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .header-top-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .header-quick-contacts {
    gap: 1rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .faculty-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .split-feature-grid,
  .split-feature-grid.reverse-on-mobile {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .banner-cta-card {
    grid-template-columns: 1fr;
    padding: 2.25rem 1.75rem;
    gap: 2rem;
    text-align: center;
  }
  .campus-item-card {
    grid-template-columns: 1fr;
  }
  .eligibility-layout-grid,
  .about-story-grid,
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .why-choose-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .finance-box-grid {
    grid-template-columns: 1fr;
  }
  .finance-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  /* Mobile Safeguard: Guaranteed 100% Visibility, No Blank Screens */
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .header-top-tier {
    padding: 0.65rem 0;
  }
  .header-top-container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .site-logo img {
    height: 52px;
    max-height: 54px;
    width: auto;
  }
  .header-quick-contacts {
    display: none !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(53, 19, 79, 0.06);
    border: 1px solid rgba(53, 19, 79, 0.14);
    border-radius: 8px;
    color: var(--primary-purple);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .mobile-menu-toggle:hover {
    background: rgba(53, 19, 79, 0.12);
  }
  .header-nav-tier {
    display: none;
  }
  .site-header.nav-open .header-nav-tier {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    z-index: 1000;
  }
  .site-header.nav-open .nav-container {
    height: auto;
    padding: 1.25rem 1.5rem;
  }
  .site-header.nav-open .main-nav {
    display: block !important;
    width: 100%;
  }
  .site-header.nav-open .main-nav ul {
    flex-direction: column !important;
    gap: 0.75rem !important;
    align-items: flex-start !important;
    width: 100%;
  }
  .site-header.nav-open .main-nav ul li {
    width: 100%;
  }
  .site-header.nav-open .main-nav ul li a {
    display: block;
    width: 100%;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #F1F5F9;
  }
  .site-header.nav-open .main-nav ul li:last-child a {
    border-bottom: none;
  }
  .main-nav {
    display: none;
  }
  
  /* Typography & Layout on Mobile */
  h1 { font-size: 2.15rem; line-height: 1.2; }
  h2 { font-size: 1.75rem; line-height: 1.25; }
  .section { padding: 3rem 0; }
  .hero-section { padding: 2rem 0 2.5rem !important; }
  .eligibility-card {
    padding: 1.5rem 1.15rem !important;
    border-radius: var(--radius-md) !important;
  }
  .faculty-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem;
  }
  .two-col-metrics-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .courses-grid {
    grid-template-columns: 1fr;
  }
  .campus-item-card {
    grid-template-columns: 1fr !important;
  }
  .campus-meta-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .finance-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    margin-bottom: 2.5rem !important;
  }
  .finance-card-box,
  .finance-overview-box {
    padding: 1.5rem 1.25rem !important;
    margin-bottom: 2.5rem !important;
  }
  .finance-comparison-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .finance-tier-card {
    padding: 1.25rem 1rem !important;
  }
  .repayment-container-box {
    padding: 1.75rem 1.25rem !important;
    margin-bottom: 2.5rem !important;
  }
  .repayment-facts-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .repayment-fact-card {
    padding: 1.25rem 1rem !important;
  }
  .home-blog-grid,
  .blog-grid,
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
  .course-quick-facts-strip {
    grid-template-columns: 1fr !important;
    gap: 0.85rem !important;
    padding: 1.25rem 1rem !important;
  }
  .why-choose-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   Interactive Cookie Consent Banner (PECR & UK GDPR)
   ========================================================================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  padding: 1.25rem 0;
  z-index: 99999;
  display: none;
  animation: slideUpCookie 0.3s ease-out forwards;
}

@keyframes slideUpCookie {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cookie-consent-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.55;
  max-width: 780px;
}

.cookie-consent-text a {
  color: var(--primary-purple);
  font-weight: 600;
  text-decoration: underline;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.cookie-btn-accept {
  background: var(--primary-purple);
  color: #FFFFFF;
  border: none;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-btn-accept:hover {
  background: var(--primary-purple-dark);
}

.cookie-btn-reject {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-reject:hover {
  background: var(--bg-light);
  border-color: var(--text-muted);
}
