/* ============================================================
   ABC SUCCESS LAB – Main Stylesheet
   Brand: Deep Navy + Amber/Gold + Clean White
   Fonts: Playfair Display (headings) + DM Sans (body)
   ============================================================ */

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

:root {
  --navy:      #3b1f6b;
  --navy-mid:  #4e2d8a;
  --gold:      #e8a020;
  --gold-light:#f5c052;
  --white:     #ffffff;
  --off-white: #f9f7f4;
  --gray-100:  #f1efec;
  --gray-400:  #9e9e9e;
  --gray-600:  #5a5a5a;
  --text:      #1c1c1c;
  --radius:    8px;
  --transition: 0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}
h1,h2,h3,h4,h5 { font-family: 'Playfair Display', serif; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }

/* ── Utilities ─────────────────────────────────────── */
.text-gold    { color: var(--gold) !important; }
.text-navy    { color: var(--navy) !important; }
.bg-navy      { background: var(--navy) !important; }
.bg-gold      { background: var(--gold) !important; }
.bg-off-white { background: var(--off-white) !important; }
.section-pad  { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 16px;
}
.section-title.light { color: var(--white); }

.section-sub {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 580px;
}

/* ── Buttons ───────────────────────────────────────── */
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: var(--transition);
  display: inline-block;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,160,32,.35);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  padding: 13px 32px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,.6);
  transition: var(--transition);
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

/* ── Navbar ────────────────────────────────────────── */
.navbar-main {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.navbar-brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}
.brand-icon {
  width: 44px; height: 44px;
  background: var(--gold);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-weight: 900; font-size: 1.1rem;
  color: var(--navy); flex-shrink: 0;
}
.brand-text-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--white); line-height: 1.1;
}
.brand-text-sub {
  font-size: .65rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
}
.navbar-main .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-size: .9rem; font-weight: 500;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: var(--transition);
}
.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
  color: var(--white) !important;
  background: rgba(255,255,255,.1);
}
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  font-weight: 600 !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--gold-light) !important; color: var(--navy) !important; }
.navbar-toggler { border-color: rgba(255,255,255,.3) !important; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.9)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0f2940 100%);
  min-height: 90vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(232,160,32,.12) 0%, transparent 60%);
}
.hero-pattern {
  position: absolute; top: 0; right: 0;
  width: 45%; height: 100%;
  opacity: .06;
  background-image: repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 28px 28px;
}
.hero-eyebrow {
  font-size: .8rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 20px;
  display: flex; align-items: center; gap: 10px;
}
.hero-eyebrow::before { content: ''; width: 36px; height: 2px; background: var(--gold); }
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  color: var(--white); margin-bottom: 24px; line-height: 1.12;
}
.hero-title span { color: var(--gold); }
.hero-body {
  font-size: 1.1rem; color: rgba(255,255,255,.78);
  max-width: 520px; margin-bottom: 40px;
}
.hero-stats {
  display: flex; gap: 40px; margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.12);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.hero-stat-label {
  font-size: .8rem; color: rgba(255,255,255,.55);
  text-transform: uppercase; letter-spacing: .1em; margin-top: 4px;
}
.hero-card {
  background: rgba(255,255,255,.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; padding: 32px; margin-left: auto;
}
.hero-card-badge {
  background: var(--gold); color: var(--navy);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
  display: inline-block; margin-bottom: 20px;
}
.program-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: rgba(255,255,255,.85); font-size: .92rem;
}
.program-item:last-child { border-bottom: none; }
.program-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* ── Service Cards ─────────────────────────────────── */
.service-card {
  background: var(--white);
  border: 1px solid #e8e4de;
  border-radius: 12px; padding: 32px 28px;
  height: 100%; transition: var(--transition);
  position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 0; background: var(--gold);
  transition: height .4s ease; border-radius: 0 0 4px 4px;
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(13,27,42,.12);
  transform: translateY(-4px); border-color: var(--gold);
}
.service-card:hover::before { height: 100%; }
.service-icon {
  width: 54px; height: 54px; background: var(--navy);
  border-radius: 12px; display: flex; align-items: center;
  justify-content: center; margin-bottom: 20px;
  font-size: 1.4rem; color: var(--gold); transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--gold); color: var(--navy); }
.service-card h5 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.service-card p  { font-size: .9rem; color: var(--gray-600); line-height: 1.65; }

/* ── Approach ──────────────────────────────────────── */
.approach-item {
  display: flex; gap: 20px; align-items: flex-start;
  padding: 24px; border-radius: 10px; transition: var(--transition);
}
.approach-item:hover { background: var(--off-white); }
.approach-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 900;
  color: var(--gold); line-height: 1; flex-shrink: 0; width: 48px;
}

/* ── Testimonials ──────────────────────────────────── */
.testimonial-card {
  background: var(--white); border-radius: 14px;
  padding: 32px; box-shadow: 0 4px 24px rgba(13,27,42,.08);
  height: 100%; position: relative;
}
.testimonial-card::before {
  content: '\201C'; font-family: 'Playfair Display', serif;
  font-size: 5rem; color: var(--gold); opacity: .3;
  position: absolute; top: 10px; left: 20px; line-height: 1;
}
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center;
  justify-content: center; font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; color: var(--gold); flex-shrink: 0;
}
.testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* ── FAQ ───────────────────────────────────────────── */
.faq-item {
  border: 1px solid #e8e4de; border-radius: 10px;
  margin-bottom: 12px; overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item.open { border-color: var(--gold); }
.faq-question {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 24px;
  font-family: 'DM Sans', sans-serif; font-size: .98rem; font-weight: 600;
  color: var(--navy); cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-chevron { font-size: 1.1rem; transition: transform .3s ease; flex-shrink: 0; color: var(--gold); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .35s ease;
  padding: 0 24px; font-size: .93rem; color: var(--gray-600); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 400px; padding: 0 24px 20px; }

/* ── CTA Banner ────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ''; position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,160,32,.18) 0%, transparent 70%);
  top: -100px; right: -100px;
}

/* ── Blog Cards ────────────────────────────────────── */
.blog-card {
  border-radius: 12px; overflow: hidden;
  border: 1px solid #e8e4de; transition: var(--transition);
  height: 100%; background: var(--white);
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(13,27,42,.12);
  border-color: var(--gold);
}
.blog-card-img {
  width: 100%; height: 200px; object-fit: cover;
  background: var(--navy-mid); display: flex;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,.3); font-size: 2rem;
}
.blog-card-body { padding: 24px; }
.blog-category {
  font-size: .72rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 8px;
}
.blog-card h5 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; line-height: 1.35; }
.blog-card p  { font-size: .88rem; color: var(--gray-600); margin-bottom: 16px; }
.blog-meta    { font-size: .8rem; color: var(--gray-400); }

/* ── Contact ───────────────────────────────────────── */
.contact-info-card {
  background: var(--navy); color: var(--white);
  border-radius: 16px; padding: 40px; height: 100%;
}
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(232,160,32,.15); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 1.1rem; flex-shrink: 0;
}

/* ── Footer ────────────────────────────────────────── */
.footer-main {
  background: var(--navy); color: rgba(255,255,255,.7); padding: 70px 0 0;
}
.footer-brand p { font-size: .9rem; margin-top: 16px; max-width: 280px; line-height: 1.65; }
.footer-heading {
  font-family: 'DM Sans', sans-serif; font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 20px 0; margin-top: 50px;
  font-size: .82rem; color: rgba(255,255,255,.4);
}
.social-links { display: flex; gap: 10px; margin-top: 20px; }
.social-link {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); font-size: .95rem; transition: var(--transition);
}
.social-link:hover { background: var(--gold); color: var(--navy); }

/* ── Page hero (inner pages) ───────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 80px 0 60px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(232,160,32,.1) 0%, transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb-nav a   { color: rgba(255,255,255,.55); font-size: .85rem; }
.breadcrumb-nav span{ color: var(--gold); font-size: .85rem; }
.breadcrumb-nav .sep{ margin: 0 8px; color: rgba(255,255,255,.3); }

/* ── Animations ────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up  { animation: fadeUp .65s ease both; }
.delay-1  { animation-delay: .1s; }
.delay-2  { animation-delay: .22s; }
.delay-3  { animation-delay: .34s; }
.delay-4  { animation-delay: .46s; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 70px 0; }
  .hero-stats { gap: 24px; }
  .hero-card { margin-left: 0; margin-top: 40px; }
  .section-pad { padding: 60px 0; }
}
