/* ===== Success Strides Academy - Global Styles ===== */
:root {
  --primary: #0f4c81;
  --primary-dark: #0a3559;
  --primary-light: #1a6bb5;
  --accent: #00b4d8;
  --accent-soft: #90e0ef;
  --success: #2a9d8f;
  --gold: #e9c46a;
  --text: #1a1a2e;
  --text-muted: #5c6b7a;
  --bg: #f8fafc;
  --white: #ffffff;
  --shadow: 0 10px 40px rgba(15, 76, 129, 0.12);
  --shadow-lg: 0 20px 60px rgba(15, 76, 129, 0.18);
  --radius: 16px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(15, 76, 129, 0.12);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 800;
}

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

.nav-links a {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
  background: rgba(15, 76, 129, 0.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  box-shadow: 0 4px 20px rgba(15, 76, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(15, 76, 129, 0.45);
}

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

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

.btn-accent {
  background: linear-gradient(135deg, var(--accent), #0077b6);
  color: white;
}

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

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 78px;
  background: linear-gradient(135deg, #0a3559 0%, #0f4c81 40%, #1a6bb5 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1486312338219-ce68d2c6f44d?w=1600&q=80') center/cover;
  opacity: 0.22;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-shapes .shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  animation: float 8s ease-in-out infinite;
}

.shape-1 { width: 300px; height: 300px; top: 10%; right: 10%; animation-delay: 0s; }
.shape-2 { width: 180px; height: 180px; bottom: 15%; left: 5%; animation-delay: 2s; }
.shape-3 { width: 120px; height: 120px; top: 40%; left: 20%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 680px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 0.8s ease;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--accent-soft), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.92;
  margin-bottom: 32px;
  max-width: 540px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-soft);
}

.stat-item p {
  font-size: 0.9rem;
  opacity: 0.85;
  margin: 0;
}

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

/* ===== Sections ===== */
section {
  padding: 90px 0;
}

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

.section-header .eyebrow {
  display: inline-block;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.subjects-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.values-row .icon-card {
  padding: 28px 18px;
}

.values-row .icon-card h3 {
  font-size: 1.05rem;
}

.values-row .icon-card p {
  font-size: 0.88rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.card-img {
  height: 200px;
  overflow: hidden;
}

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

.card:hover .card-img img {
  transform: scale(1.08);
}

.card-body {
  padding: 28px;
}

.card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary-dark);
}

.card-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.icon-card {
  text-align: center;
  padding: 36px 28px;
}

.icon-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(15, 76, 129, 0.1), rgba(0, 180, 216, 0.15));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  transition: var(--transition);
}

.card:hover .icon {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  transform: scale(1.1);
}

/* ===== Features / Why Us ===== */
.features-section {
  background: white;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  direction: rtl;
}

.feature-row.reverse > * {
  direction: ltr;
}

.feature-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.feature-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.feature-content h3 {
  font-size: 1.7rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.feature-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
}

/* ===== Countries ===== */
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
}

.country-card {
  background: white;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 2px solid transparent;
}

.country-card:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
}

.country-flag {
  font-size: 3rem;
  margin-bottom: 12px;
}

.country-card h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.country-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== Testimonials ===== */
.testimonials {
  background: linear-gradient(135deg, #0a3559, #0f4c81);
  color: white;
}

.testimonials .section-header .eyebrow,
.testimonials .section-header h2,
.testimonials .section-header p {
  color: white;
}

.testimonials .section-header p {
  opacity: 0.85;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.testimonial-card .stars {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 1.1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 20px;
  opacity: 0.95;
}

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

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
  font-size: 0.95rem;
}

.testimonial-author span {
  font-size: 0.8rem;
  opacity: 0.75;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  padding: 70px 0;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  margin-bottom: 16px;
}

.cta-banner p {
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.footer {
  background: #0a1f33;
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer h4 {
  color: white;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-soft);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ===== Page Hero (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, #0a3559, #0f4c81);
  padding: 140px 0 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?w=1600&q=80') center/cover;
  opacity: 0.15;
}

.page-hero h1 {
  position: relative;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 12px;
}

.page-hero p {
  position: relative;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact-info-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.contact-info-card h3 {
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item .icon-box {
  width: 48px;
  height: 48px;
  background: rgba(15, 76, 129, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.info-item strong {
  display: block;
  margin-bottom: 4px;
}

.info-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===== Next Steps card (contact page) ===== */
.next-steps-card {
  background: white;
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.next-steps-card:hover {
  box-shadow: var(--shadow-lg);
}

.next-steps-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.highlight-tile {
  display: flex;
  gap: 14px;
  padding: 18px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.highlight-tile--time {
  background: rgba(15, 76, 129, 0.06);
}

.highlight-tile--trial {
  background: rgba(233, 196, 106, 0.14);
}

.highlight-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(15, 76, 129, 0.15);
}

.highlight-tile .icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  background: white;
  box-shadow: 0 4px 12px rgba(15, 76, 129, 0.1);
}

.highlight-tile strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.highlight-tile p {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.next-steps-body {
  padding-top: 26px;
  border-top: 1px solid #e2e8f0;
}

.next-steps-body h4 {
  margin-bottom: 16px;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.steps-timeline {
  list-style: none;
  position: relative;
}

.steps-timeline li {
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  padding-bottom: 22px;
}

.steps-timeline li:last-child {
  padding-bottom: 0;
}

/* Connecting line running through the step numbers */
.steps-timeline li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 15px;
  top: 32px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-soft), #e2e8f0);
}

.step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.steps-timeline li:last-child .step-num {
  background: var(--success);
}

.steps-timeline li span:last-child {
  color: var(--text);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .next-steps-highlights {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  background: white;
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: inherit;
  transition: var(--transition);
  background: #f8fafc;
}

.form-group select {
  /* Native <select> chrome (the browser's own focus ring/arrow) renders
     differently per OS/browser and ignores the border/shadow rules above
     unless appearance is reset — this is why selects looked visually
     distinct from the text inputs next to them. */
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='5 8 10 13 15 8'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background-color: white;
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
}

.form-success.show {
  display: block;
}

.form-success .check {
  width: 70px;
  height: 70px;
  background: var(--success);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

/* ===== Curriculum Tags ===== */
.curriculum-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  background: rgba(15, 76, 129, 0.08);
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* ===== Team / Founder ===== */
.founder-section {
  background: white;
}

.founder-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--bg);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}

.founder-img {
  border-radius: 20px;
  overflow: hidden;
  height: 320px;
}

.founder-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-info h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.founder-info .role {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 16px;
}

.founder-info p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ===== Subjects detail ===== */
.subject-detail {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.subject-box {
  background: white;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--primary);
  transition: var(--transition);
}

.subject-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.subject-box .emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.subject-box h3 {
  margin-bottom: 10px;
}

.subject-box ul {
  margin-top: 14px;
}

.subject-box li {
  padding: 4px 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  padding-left: 18px;
  position: relative;
}

.subject-box li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* ===== Animations on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-img {
    max-width: 260px;
    margin: 0 auto;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .subjects-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .values-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .hamburger {
    display: flex;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
  .subjects-row {
    grid-template-columns: 1fr;
  }
  .values-row {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-btns {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}

/* ===== Premium Animation Enhancements ===== */

/* Smooth page load */
body {
  animation: pageLoad 0.6s ease;
}

@keyframes pageLoad {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Title & fade animations for page heroes */
.animate-title {
  animation: titleSlide 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-fade {
  animation: fadeInUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes titleSlide {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Staggered reveal with stronger motion */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

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

/* Card hover glow & lift */
.card {
  position: relative;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
  transition: box-shadow 0.4s ease;
  pointer-events: none;
}

.card:hover::after {
  box-shadow: 0 0 40px 4px rgba(0, 180, 216, 0.15);
}

.icon-card .icon {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.35s ease,
              color 0.35s ease;
}

.card:hover .icon {
  transform: scale(1.15) rotate(-4deg);
}

/* Country cards pulse on hover */
.country-card {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.4s ease;
}

.country-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(15, 76, 129, 0.18);
}

.country-flag {
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.country-card:hover .country-flag {
  transform: scale(1.2);
}

/* Image hover lift */
.hover-lift {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s ease;
}

.hover-lift:hover {
  transform: scale(1.03);
  box-shadow: 0 25px 60px rgba(15, 76, 129, 0.25);
}

.feature-img img,
.card-img img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature-img:hover img,
.card:hover .card-img img {
  transform: scale(1.08);
}

/* Compact founder section */
.founder-compact {
  grid-template-columns: 220px 1fr !important;
  gap: 36px !important;
  padding: 32px !important;
  max-width: 900px;
  margin: 0 auto;
}

.founder-compact .founder-img {
  height: 260px !important;
  border-radius: 16px;
}

.founder-compact .founder-info h3 {
  font-size: 1.35rem;
}

.founder-compact .founder-info p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Button micro-interactions */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s ease, height 0.5s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary:hover,
.btn-accent:hover,
.btn-white:hover {
  transform: translateY(-3px);
}

/* Testimonial cards */
.testimonial-card {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

/* Subject boxes */
.subject-box {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease;
}

.subject-box:hover {
  transform: translateY(-10px);
}

.subject-box .emoji {
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: inline-block;
}

.subject-box:hover .emoji {
  transform: scale(1.25) rotate(8deg);
}

/* Navbar logo hover */
.logo-icon {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover .logo-icon {
  transform: rotate(-8deg) scale(1.1);
}

/* CTA banner subtle gradient shift */
.cta-banner {
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Form inputs focus glow */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 4px rgba(15, 76, 129, 0.12),
              0 8px 20px rgba(15, 76, 129, 0.08);
}

/* Success check bounce */
.form-success .check {
  animation: checkPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkPop {
  0% { transform: scale(0); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* Floating shapes more dynamic */
@keyframes float {
  0%, 100% { transform: translateY(0) scale(1) rotate(0deg); }
  33% { transform: translateY(-25px) scale(1.05) rotate(3deg); }
  66% { transform: translateY(-12px) scale(0.98) rotate(-2deg); }
}

/* Stagger helper for cards */
.card-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.card-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.33s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

.countries-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.countries-grid .reveal:nth-child(2) { transition-delay: 0.12s; }
.countries-grid .reveal:nth-child(3) { transition-delay: 0.19s; }
.countries-grid .reveal:nth-child(4) { transition-delay: 0.26s; }
.countries-grid .reveal:nth-child(5) { transition-delay: 0.33s; }

@media (max-width: 768px) {
  .founder-compact {
    grid-template-columns: 1fr !important;
    text-align: center;
  }
  .founder-compact .founder-img {
    max-width: 200px;
    margin: 0 auto;
    height: 220px !important;
  }
}
