
/* ========== GLOBAL RESET & BASE SETTINGS ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Poppins", sans-serif;
}

html {
   font-size: 90%;  
  scroll-behavior: smooth;
  scroll-padding-top: 140px; /* Fix for fixed navbar */
}

body {
  background-color: var(--ey-white);
  color: var(--ey-dark-gray);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== COLOR VARIABLES & THEME ========== */
:root {
  /* Brand Colors */
  --ey-dark-blue: #001f5c;
  --ey-light-blue: #005eb8;
  --ey-yellow: #ffc600;
  --ey-white: #ffffff;
  --ey-light-gray: #f8f9fa;
  --ey-gray: #666666;
  --ey-dark-gray: #333333;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--ey-dark-blue) 0%, var(--ey-light-blue) 100%);
  --gradient-yellow: linear-gradient(135deg, var(--ey-yellow) 0%, #ffd84d 100%);
  --gradient-light: linear-gradient(135deg, var(--ey-white) 0%, #f5f7fa 100%);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 31, 92, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 31, 92, 0.12);
  --shadow-lg: 0 8px 30px rgba(0, 31, 92, 0.15);
  --shadow-xl: 0 15px 40px rgba(0, 31, 92, 0.2);

  /* Transitions */
  --transition-fast: all 0.3s ease;
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* =========================================================
   🔹 NAVIGATION BAR
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6%;
  background: var(--ey-white);
  border-bottom: 1px solid rgba(0, 31, 92, 0.1);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.4rem; /* reduced from 1.75rem */
  font-weight: 700;
  color: var(--ey-dark-blue);
  letter-spacing: 0.5px;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  color: var(--ey-gray);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.76rem; /* reduced from 0.95rem */
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ey-dark-blue);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom:0; left: 0;
  width: 0;
  height: 2px;
  background: var(--ey-yellow);
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}
.nav-links {
    list-style: none !important;
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

/* =========================================================
   🔹 HERO SECTION
   ========================================================= */
.hero {
  position: relative;
  text-align: center;
  color: var(--ey-white);
  padding: 140px 20px 50px;
  background: var(--gradient-primary);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="rgba(255,255,255,0.03)" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}
..hero h2 {
  font-size: 2.2rem;   /* was 2.8rem */
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.1;
}
.hero p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
  font-size: 0.9rem;   /* was 1rem */
  color: rgba(255, 255, 255, 0.9);
}
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--ey-yellow);
  color: var(--ey-dark-blue);
  border-radius: 8px;
  padding: 1rem 2.5rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: var(--transition-smooth);
  font-size: 0.8rem; /* reduced slightly (was dependent on padding originally) */
}
.cta-btn:hover {
  background: var(--ey-white);
  color: var(--ey-dark-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ey-yellow);
}
/* =========================================================
   🔹 PROGRAMS SECTION
   ========================================================= */
.programs {
  position: relative;
  text-align: center;
  .programs {
  padding: 70px 6% 120px; /* top = 70px, bottom stays same */
}
  background: var(--ey-light-gray);
}
.programs h2 {
  position: relative;
  z-index: 1;
  font-size: 2rem; /* reduced from 2.5rem */
  font-weight: 700;
  color: var(--ey-dark-blue);
  margin-bottom: 3rem;
}
.programs h2::after {
  content: "";
  display: block;
  margin: 1rem auto 0;
  width: 80px;
  height: 4px;
  background: var(--ey-yellow);
  border-radius: 2px;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.card {
  position: relative;
  background: var(--ey-white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 31, 92, 0.1);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient-yellow);
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--ey-yellow);
  box-shadow: var(--shadow-xl);
}

.card h3 {
  font-size: 1.2rem; /* reduced from 1.5rem */
  color: var(--ey-dark-blue);
  margin-bottom: 1rem;
}

.card p {
  color: var(--ey-gray);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 0.9rem; /* small-paragraph reduction */
}

.price {
  display: block;
  font-size: 1.6rem; /* reduced from 2rem */
  font-weight: 700;
  color: var(--ey-light-blue);
  margin: 1.5rem 0;
}

.features {
  list-style: none;
  margin: 1.5rem 0;
  text-align: left;
}

.features li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ey-gray);
  padding: 0.5rem 0 0.5rem 1.5rem;
  font-size: 0.9rem; /* reduced from default larger */
}

.features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ey-yellow);
  font-weight: bold;
}

/* Buttons */
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  border: 2px solid var(--ey-yellow);
  background: var(--ey-yellow);
  color: var(--ey-dark-blue);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
}
.btn-outline:hover {
  background: var(--ey-white);
  color: var(--ey-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* =========================================================
   🔹 ABOUT SECTION
   ========================================================= */
/* =========================
   About — centered, readable & attractive
   Replace previous .about styles with this block
   ========================= */

.about {
  position: relative;
  padding: 56px 6%;                 /* vertical breathing room */
  background: var(--ey-white);
  overflow: visible;
}

/* decorative soft shape behind the content */
.about::before {
  content: "";
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 160px;
  background: radial-gradient( circle at 20% 20%, rgba(0,94,184,0.06), transparent 30% ),
              radial-gradient( circle at 80% 80%, rgba(0,31,92,0.04), transparent 30% );
  pointer-events: none;
  border-radius: 16px;
  z-index: 0;
  filter: blur(6px);
  opacity: 1;
}

/* content container — constrained width and subtle card feel */
.about-content {
  position: relative;
  z-index: 1;
  max-width: 820px;                /* comfortable reading width */
  margin: 0 auto;
  padding: 36px 34px;              /* inner padding */
  background: rgba(255,255,255,0.99);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(3, 31, 92, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: justify;
  animation: aboutFadeUp 560ms ease forwards;
  opacity: 0;                       /* will animate in */
  transform: translateY(10px);
}

/* heading + accent */
.about-content h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1.05;
  color: var(--ey-dark-blue);
  font-weight: 800;
}

.about-accent {
  width: 72px;
  height: 8px;
  background: var(--ey-yellow);
  border-radius: 6px;
  box-shadow: 0 6px 12px rgba(255,198,0,0.06);
}

/* paragraph text — constrained, readable */
.about-content p {
  margin: 0;
  max-width: 700px;
  color: var(--ey-gray);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.1px;
  text-align: J
}

/* CTA (small variant so it doesn't compete with hero CTA) */
.cta-btn.small-cta {
  padding: 0.6rem 1.2rem;
  font-size: 0.92rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

/* animation */
@keyframes aboutFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Responsive: tighten padding and stack nicely on small screens */
@media (max-width: 900px) {
  .about {
    padding: 40px 4%;
  }
  .about-content {
    padding: 26px 18px;
  }
  .about-content h2 { font-size: 1.6rem; }
  .about-content p { font-size: 0.95rem; max-width: 620px; }
  .about-accent { width: 56px; height: 6px; }
}

@media (max-width: 480px) {
  .about-content {
    padding: 20px 14px;
    margin: 0 8px;
  }
  .about-content h2 { font-size: 1.35rem; }
  .about-content p { font-size: 0.92rem; line-height: 1.6; }
  .cta-btn.small-cta { padding: 0.55rem 1rem; font-size: 0.86rem; }
}
/* =========================================================
   🔹 CONTACT SECTION
   ========================================================= */
.contact {
  position: relative;
  text-align: center;
  padding: 120px 8%;
  background: var(--gradient-primary);
  color: var(--ey-white);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: float 20s linear infinite;
}

.contact h2 {
  font-size: 2rem; /* reduced from 2.5rem */
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact p {
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-size: 0.96rem; /* reduced from 1.2rem */
  color: rgba(255,255,255,0.9);
}

.contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  background: var(--ey-yellow);
  color: var(--ey-dark-blue);
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 2px solid transparent;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem; /* small reduction */
}

.contact a:hover {
  background: var(--ey-white);
  color: var(--ey-dark-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
/* =========================================================
   🔹 FOOTER — centered container, left horizontal links,
   🔹 centered copyright, responsive stacking
   ========================================================= */
/* ========== FOOTER — REPLACEMENT START ========== */
/* Base footer colors & spacing (KEEP) */
footer {
  background: var(--ey-dark-blue);
  color: var(--ey-white);
  padding: 1.25rem 0;              /* vertical spacing */
  border-top: 1px solid rgba(255,255,255,0.06);
  box-sizing: border-box;
}

/* Support both class names used in HTML: .footer-content or .footer-inner */
.footer-content,
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

/* LEFT & RIGHT become vertical columns */
.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

/* make sure lists are reset */
.footer-left ul,
.footer-right ul,
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Keep the button styles you already had (colors, sizes) */
.footer-links a,
.footer-content > a,
.footer-inner > a,
.footer-content .footer-btn,
.footer-inner .footer-btn {
  display: inline-block;
  color: var(--ey-white);
  background: rgba(255,255,255,0.03);
  padding: 0.42rem 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-fast);
  border: 1px solid transparent;
}

/* hover state */
.footer-links a:hover,
.footer-content > a:hover,
.footer-inner > a:hover,
.footer-content .footer-btn:hover,
.footer-inner .footer-btn:hover {
  background: var(--ey-yellow);
  color: var(--ey-dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(255,255,255,0.06);
}

/* subtle variant for phone link */
.footer-btn.phone { background: rgba(255,255,255,0.02); }

/* copyright text (center) */
/* .footer-center should be a div placed below the .footer-inner/.footer-content */
.footer-center {
  text-align: center;
  width: 100%;
  margin-top: 1.2rem;       /* space above copyright */
}
.footer-copy {
  margin: 0;
  color: rgba(255,255,255,0.95);
  font-size: 0.95rem;
}

/* ========== Responsive: stack and center on small screens ========== */
@media (max-width: 780px) {
  .footer-content,
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
  }

  /* center the left/right lists on mobile */
  .footer-left,
  .footer-right {
    align-items: center;
    width: 100%;
  }

  .footer-left ul,
  .footer-right ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }

  .footer-links a,
  .footer-content > a,
  .footer-content .footer-btn,
  .footer-inner .footer-btn {
    padding: 0.42rem 0.7rem;
    font-size: 0.9rem;
  }

  .footer-center { margin-top: 1rem; }
}
/* ========== FOOTER — REPLACEMENT END ========== */

/* --- FORCE uniform Join button design --- */
.btn-outline {
  min-height: 55px !important;
  white-space: nowrap !important;
  padding: 0 1rem !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}
/* FORCE footer buttons to use smaller font */
footer a,
.footer-links a,
.footer-btn {
  font-size: 0.70rem !important;
  padding: 0.30rem 0.55rem !important;
}
/* Discount box - polished look */
.offer-box.nice {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:12px 16px;
  background: linear-gradient(180deg,#fff,#fbfbfd);
  border-radius:12px;
  box-shadow: 0 8px 20px rgba(7,18,40,0.06);
  border: 1px solid rgba(0,0,0,0.03);
  max-width: 360px;
  margin: 12px 0;
}

.offer-left { display:flex; flex-direction:column; align-items:flex-start; gap:6px; }
.discount-pill {
  background: #ff3b30;
  color: #fff;
  font-weight:700;
  padding:6px 10px;
  border-radius:999px;
  font-size:0.85rem;
  box-shadow: 0 6px 12px rgba(255,59,48,0.15);
}
.savings { font-size:0.85rem; color:#333; opacity:0.85; }

.offer-right { text-align:right; min-width:170px; }

.price-line { display:flex; gap:10px; align-items:baseline; justify-content:flex-end; }
.old-price {
  color:#8a8a8a;
  text-decoration: line-through;
  font-weight:600;
  font-size:0.95rem;
}
.new-price {
  color:#ffb600;
  font-weight:800;
  font-size:1.35rem;
  margin-left:6px;
  background: linear-gradient(90deg,#ffd35c,#ffb300);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cta-small { font-size:0.8rem; color:#4b5563; margin-top:4px; }

/* Responsive */
@media (max-width:560px){
  .offer-box.nice { flex-direction:row; gap:10px; padding:10px; }
  .offer-right { min-width:120px; }
}
.nav-links li,
.navbar ul li,
nav ul li {
    list-style: none !important;
}

