/* ================================================
   IVY LEAGUE TRAINING & SALES — Main Stylesheet
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Source+Sans+3:wght@300;400;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:       #003570;
  --navy-mid:   #004F9A;
  --navy-light: #1A6BBF;
  --gold:       #C8902A;
  --gold-light: #F0C040;
  --gold-pale:  #FDF3DC;
  --white:      #FFFFFF;
  --off-white:  #F7F5F0;
  --gray-100:   #F1EFE9;
  --gray-300:   #C8C4B8;
  --gray-500:   #7A7468;
  --gray-700:   #3D3A34;
  --danger:     #C0392B;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Source Sans 3', 'Segoe UI', sans-serif;
  --shadow-sm:  0 2px 8px rgba(13,32,64,0.10);
  --shadow-md:  0 6px 24px rgba(13,32,64,0.14);
  --shadow-lg:  0 16px 48px rgba(13,32,64,0.18);
  --radius:     6px;
  --transition: 0.25s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a  { color: var(--navy-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); font-weight: 700; }
p  { margin-bottom: 1rem; }

/* ---- Layout ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 80px 0; }
.section--alt { background: var(--off-white); }
.section--dark { background: var(--navy); color: var(--white); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title { margin-bottom: 16px; }
.section-sub  { font-size: 1.1rem; color: var(--gray-500); max-width: 560px; margin-bottom: 40px; }
.section--dark .section-sub { color: var(--gray-300); }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ---- Header / Nav ---- */
#site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  box-shadow: var(--shadow-md);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 120px;
}
.header-logo { display: flex; align-items: center; gap: 14px; }
.header-logo img { height: 110px; width: 110px; border-radius: 6px; flex-shrink: 0; }
.header-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.header-logo-text .wordmark-top {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
}
.header-logo-text .wordmark-sub {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--gold-light); border-color: var(--gold-light); }
.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  border: none !important;
  padding: 10px 22px !important;
  border-radius: var(--radius) !important;
  font-weight: 700 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--gold-light) !important; transform: translateY(-1px); }

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span {
  display: block; width: 26px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: var(--transition);
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 1rem;
}
.header-phone svg { width: 16px; height: 16px; fill: var(--gold-light); }

/* ---- Top Bar ---- */
.top-bar {
  background: var(--navy-mid);
  padding: 8px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar a { color: var(--gold-light); }
.top-bar-badges { display: flex; gap: 20px; align-items: center; }
.badge-item { display: flex; align-items: center; gap: 6px; }

/* ---- Footer ---- */
#site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: 50px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold-light); }
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 14px; font-size: 0.9rem;
}
.footer-contact-item .icon { color: var(--gold); font-size: 1rem; margin-top: 2px; flex-shrink: 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--gold-light); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,144,42,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---- Cards ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.card-body { padding: 28px; }
.card-icon {
  width: 56px; height: 56px;
  background: var(--gold-pale);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

/* ---- Stats strip ---- */
.stats-strip {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-item { padding: 16px; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); letter-spacing: 0.05em; text-transform: uppercase; }

/* ---- Warning Banner ---- */
.warning-banner {
  background: var(--danger);
  color: var(--white);
  padding: 16px 0;
  text-align: center;
}
.warning-banner strong { font-size: 1rem; }
.warning-banner span { font-size: 0.9rem; opacity: 0.9; }

/* ---- Grid helpers ---- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ---- Hero ---- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, var(--navy-light) 100%);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -60px; right: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,144,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-light) 50%, var(--gold) 100%);
}
.hero-content { max-width: 620px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold-light);
  margin-bottom: 20px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; display: block; width: 28px; height: 1px; background: var(--gold);
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--gold-light); }
.hero-lead {
  font-size: 1.15rem; color: rgba(255,255,255,0.8);
  margin-bottom: 36px; max-width: 480px; line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 40px; padding: 8px 16px;
  font-size: 0.85rem; color: rgba(255,255,255,0.8);
  margin-top: 36px;
}
.hero-badge strong { color: var(--gold-light); }

/* ---- Service feature list ---- */
.feature-list { margin: 0; padding: 0; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.95rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list .check { color: var(--gold); font-size: 1.1rem; margin-top: 1px; flex-shrink: 0; }

/* ---- Testimonials ---- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-pale);
  position: absolute;
  top: 8px; left: 20px;
  line-height: 1;
}
.testimonial-text { font-size: 0.95rem; color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; padding-top: 20px; }
.testimonial-author { font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.testimonial-role  { font-size: 0.82rem; color: var(--gray-500); }

/* ---- Form ---- */
.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem;
  color: var(--gray-700);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy-light);
  box-shadow: 0 0 0 3px rgba(42,82,152,0.12);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .nav-links { display: none; position: absolute; top: 120px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; gap: 0; padding: 16px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; border-bottom: 1px solid rgba(255,255,255,0.06); width: 100%; }
  .nav-toggle { display: block; }
  .top-bar-badges { display: none; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}
