/* ARI landing page skin (/admission-counselling/readiness-assessment/). Page-shell sections from
   Subash comp ari-readiness-assessment.html (2026-07-04), extracted VERBATIM. The embedded ARI
   form keeps its own galv-ari.css. */

/* ============================================================
   ARI LANDING SHELL - design system lifted 1:1 from
   ets-partnership.html (contact-us / careers token family).
   Same tokens, .section-header, card, FAQ-accordion and navy
   CTA-band patterns used across the site. The assessment form
   below keeps the form-suite styling (navy section + card).
   ============================================================ */
:root {
    --bg-navy:       #13217c;
    --primary-blue:  #3b5bff;
    --primary-hover: #13217c;
    --cta-magenta:   #cc00cc;
    --magenta-hover: #a600a6;
    --accent-blue:   #e6ebff;
    --accent-soft:   #f1f4ff;
    --text-white:    #fffdfe;
    --text-dark:     #333;
    --text-gray:     #808080;
    --line:          #e3e8f0;
    --font-heading:  'Poppins', sans-serif;
    --font-body:     'Inter', sans-serif;
    --container-width: 1280px;
}

.container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* ===== BUTTONS (landing uses magenta primary; form owns .btn-secondary) ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 14px 36px; border-radius: 8px;
    font-family: var(--font-heading); font-weight: 600; font-size: 16px;
    text-decoration: none; cursor: pointer; transition: all .3s ease;
    border: none; line-height: 1.5;
}
.btn-primary { background: var(--cta-magenta); color: var(--text-white); }
.btn-primary:hover { background: var(--magenta-hover); }

/* ===== SECTION HEADER (shared by all sections) ===== */
.section-header { margin-bottom: 40px; }
.section-header h2 {
    font-family: var(--font-heading); font-weight: 600;
    color: var(--primary-blue); font-size: 30px; line-height: 1.3; margin-bottom: 15px;
}
.section-header p {
    font-family: var(--font-body); font-size: 18px; font-weight: 600;
    color: var(--text-dark); line-height: 1.6; max-width: 800px; margin: 0 auto;
}

/* ===== HERO - navy 2-col: copy left, assessment form right (ETS hero pattern) ===== */
.ari-hero { background: var(--bg-navy); color: var(--text-white); padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.hero-copy .eyebrow {
    display: inline-block; font-family: var(--font-body); font-size: 13px; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-white);
    background: rgba(255, 255, 255, 0.10); padding: 6px 14px; border-radius: 999px; margin-bottom: 16px;
}
.hero-copy h1 {
    font-family: var(--font-heading); font-weight: 700; color: var(--text-white);
    font-size: clamp(30px, 4vw, 42px); line-height: 1.2; margin-bottom: 18px;
}
.hero-copy p { font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: rgba(255, 255, 255, 0.92); }
.hero-copy .hero-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hero-copy .hero-list li {
    position: relative; padding-left: 30px; font-family: var(--font-body);
    font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.92);
}
.hero-copy .hero-list li::before {
    content: "\2713"; position: absolute; left: 0; top: 0;
    font-size: 16px; font-weight: 700; line-height: 1.6; color: #22c55e;
}
/* form sits directly in the right column - neutralise its full-section chrome */
.hero-form .ari-section, .hero-form .ari-result-section { background: none; padding: 0; overflow: visible; }
.hero-form .ari-section::before { display: none; }
.hero-form .ari-wrapper, .hero-form .ari-result-card { max-width: 100%; margin: 0; }
/* Subash ARI feedback v1 (2026-07-06) #1 — the form's own `.ari-section { padding: 64px 24px }`
   (galv-ari.css) enqueues AFTER this shell at equal specificity, so it was winning and the hero
   form showed inset padding. Pin padding:0 with a body-scoped selector so the neutraliser wins. */
body.galv-ari-page .hero-form .ari-section,
body.galv-ari-page .hero-form .ari-result-section { padding: 0; }

/* ===== DIMENSION CARDS (accent-blue section + white rounded cards, accent icon circle) ===== */
.dimensions-section { background: var(--accent-blue); padding: 60px 0; }
.get-section { background: #fffdfe; padding: 60px 0; }
.related-section { background: var(--accent-blue); padding: 60px 0; }

.ari-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.ari-card {
    background: var(--text-white); border-radius: 20px; padding: 30px;
    border: 2px solid transparent; box-shadow: 0 8px 24px rgba(19, 33, 124, .06);
    transition: 0.3s ease;
}
.ari-card:hover { border-color: #a0aeff; }
.ari-card .num {
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--accent-blue); color: var(--primary-blue);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 800; font-size: 22px; margin-bottom: 18px;
}
.ari-card h3 { font-family: var(--font-heading); font-size: 20px; font-weight: 600; color: var(--primary-blue); line-height: 1.35; margin-bottom: 10px; }
.ari-card p { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--text-dark); }

/* ===== "WHAT YOU'LL GET" - feature-card grid (lifted 1:1 from bachelors) ===== */
.features-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; margin-top: 40px; }
.feature-card {
    display: flex; flex-direction: column; background: var(--accent-blue); border-radius: 20px;
    padding: 30px 24px; text-align: center; transition: all .2s ease;
    border: 2px solid transparent; flex: 0 1 calc((100% - 60px) / 3);
}
.feature-card:hover { border: 2px solid #a0aeff; }
.feature-icon-box {
    width: 96px; height: 96px; margin: 0 auto 24px; background: #fff;
    border-radius: 50px; display: flex; align-items: center; justify-content: center;
}
.feature-icon-box svg { width: 46px; height: 46px; color: var(--primary-blue); }
.feature-card h3 { font-family: var(--font-heading); font-size: 22px; font-weight: 600; color: var(--primary-blue); margin-bottom: 14px; }
.feature-card p { font-family: var(--font-body); font-size: 17px; color: var(--text-dark); line-height: 1.65; }

/* ===== TRUST / CTA BAND (navy, reused from ETS .plans-cta-section) ===== */
.plans-cta-section { background: var(--bg-navy); padding: 60px 0; text-align: center; }
.plans-cta-section h2 { font-family: var(--font-heading); color: var(--text-white); font-size: 32px; line-height: 1.3; font-weight: 600; margin-bottom: 16px; }
.plans-cta-section .sub { font-family: var(--font-heading); font-size: 18px; font-weight: 400; color: var(--text-white); max-width: 900px; margin: 0 auto 26px; line-height: 1.55; }

/* ===== FAQ (lifted 1:1 from bachelors-page-code: 2-col image + accordion) ===== */
.faq-section { padding: 60px 0; background: #fff; }
.faq-layout { display: grid; grid-template-columns: 2fr 3fr; gap: 20px; align-items: start; }
.faq-image-col img { width: 100%; max-width: 420px; height: auto; border-radius: 20px; display: block; }
.faq-container { max-width: 100%; margin: 0; padding: 0; }
.faq-title {
    font-family: var(--font-heading); font-size: 36px; line-height: 48px;
    font-weight: 600; color: var(--primary-blue); margin-bottom: 30px;
}
.faq-item { background: var(--primary-blue); margin-bottom: 18px; overflow: hidden; }
.faq-question {
    padding: 20px 50px 20px 20px; font-family: var(--font-body); font-size: 20px; line-height: 30px;
    font-weight: 400; color: var(--text-white); cursor: pointer; position: relative;
    transition: all 0.3s ease; user-select: none;
}
.faq-question::after {
    content: "\203A"; position: absolute; right: 28px; top: 50%;
    transform: translateY(-50%) rotate(0deg); font-size: 28px; color: #fff;
    font-weight: 400; transition: transform 0.3s ease; line-height: 1;
}
.faq-question.active::after { transform: translateY(-50%) rotate(90deg); }
.faq-answer {
    background-color: var(--accent-blue); max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 28px;
    font-family: var(--font-body); font-size: 20px; line-height: 30px; font-weight: 400; color: var(--primary-blue);
}
.faq-answer.active { max-height: 1600px; padding: 20px 28px; }

/* ===== "EXPLORE MORE FREE TOOLS" CARDS =====
   Subash ARI feedback v1 (2026-07-06) #5 — rebuilt on the free-resources-hub `.fr-card`
   pattern (icon + centred title/sub). Declarations lifted 1:1 from free-resources.css
   (.fr-grid/.fr-card/.fr-icon/.fr-card-title/.fr-card-sub), re-scoped to the ARI page so the
   card structure/spacing/typography match the hub exactly. */
body.galv-ari-page .fr-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
body.galv-ari-page .fr-card {
    flex: 0 1 280px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
    gap: 10px; min-height: 160px; padding: 22px 20px; background: #fffdfe;
    border: 2px solid #e5e7f5; border-radius: 16px; text-align: center; transition: all .2s ease; text-decoration: none;
}
body.galv-ari-page .fr-card:hover { border-color: #a0aeff; transform: translateY(-2px); }
body.galv-ari-page .fr-card .fr-icon { color: var(--primary-blue); flex-shrink: 0; }
body.galv-ari-page .fr-card-title { font-family: var(--font-heading); font-size: 16px; line-height: 22px; font-weight: 600; color: var(--primary-blue); }
body.galv-ari-page .fr-card-sub { font-family: var(--font-body); font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text-gray); }

/* ===== STATS / PROOF SHELF (lifted from admission-hub, ARI tokens) — split navy/accent bg bridges hero into dimensions ===== */
.stats-shelf { background: linear-gradient(to bottom, var(--bg-navy) 50%, var(--accent-blue) 50%); position: relative; }
.stats-bar {
    background: var(--text-white); border-radius: 20px; padding: 30px;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    text-align: center; position: relative; z-index: 20;
    box-shadow: 0 8px 24px rgba(19, 33, 124, .06);
}
.stat-item h2 { font-family: var(--font-heading); font-size: 40px; color: var(--bg-navy); margin-bottom: 4px; font-weight: 600; line-height: 1.1; }
.stat-item p { font-family: var(--font-body); font-size: 16px; color: var(--text-dark); line-height: 26px; max-width: 220px; margin: 0 auto; }
.stat-item p span { color: var(--cta-magenta); font-weight: 600; }

/* ===== TOP-UNIVERSITY LOGO MARQUEE (lifted 1:1 from ets-partnership / home-page pattern) ===== */
.uni-logos-section { background: var(--text-white); padding: 60px 0; border-top: 1px solid rgba(19, 33, 124, 0.10); }
.uni-logos-section .section-header { margin-bottom: 24px; }
.logo-carousel { width: 100%; overflow: hidden; position: relative; padding: 20px 0; }
.logo-track { display: flex; width: max-content; gap: 64px; animation: uni-scroll 40s linear infinite; }
.logo-track:hover { animation-play-state: paused; }
@keyframes uni-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(calc(-194px * 20)); } }
.logo-item { width: 130px; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.logo-item img { height: 68px; width: auto; max-width: 200px; object-fit: contain; transition: transform .5s ease; }
.logo-item:hover img { transform: scale(1.08); }
@media (prefers-reduced-motion: reduce) { .logo-track { animation: none; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .hero-form .ari-wrapper { max-width: 560px; }
    .ari-card-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .feature-card { flex: 0 1 calc((100% - 30px) / 2); }
    .stats-bar { gap: 28px; }
}
@media (max-width: 900px) {
    .faq-layout { grid-template-columns: 1fr; gap: 0; }
    .faq-image-col { display: none; }
    .faq-title { font-size: 24px; line-height: 38px; margin-bottom: 20px; }
}
@media (max-width: 768px) {
    .ari-hero { padding: 48px 0 40px; }
    .dimensions-section, .get-section, .related-section, .plans-cta-section, .faq-section { padding: 44px 0; }
    .section-header { margin-bottom: 32px; }
    .section-header h2 { font-size: 26px; }
    .section-header p { font-size: 16px; }
    .plans-cta-section h2 { font-size: 26px; }
    .plans-cta-section .sub { font-size: 16px; }
    .ari-card-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .fr-card { flex: 1 1 100%; min-height: 140px; padding: 18px 16px; }
    .feature-card { flex: 1 1 100%; max-width: 420px; }
    .feature-card h3 { font-size: 20px; }
    .feature-card p { font-size: 16px; }
    .faq-question { font-size: 17px; line-height: 26px; padding: 16px 46px 16px 18px; }
    .faq-answer { font-size: 16px; line-height: 26px; }
    .faq-answer.active { padding: 18px; }
    .stats-bar { grid-template-columns: 1fr; gap: 28px; padding: 28px 24px; }
    .stat-item h2 { font-size: 36px; }
    .uni-logos-section { padding: 44px 0; }
}

/* --- Bricks integration reset (addition, not comp) --- */
/* Bricks full-width fix — the page renders inside main#brx-content > .brxe-container > .brxe-text;
   stretch the wrapper chain so the comp's own .container centers (same fix as the admissions
   template pages / free-resources hub). */
body.galv-ari-page main#brx-content > .brxe-container,
body.galv-ari-page main#brx-content .brxe-text { width: 100%; max-width: 100%; }
body.galv-ari-page main#brx-content > .brxe-container { align-items: stretch; padding: 0; }

/* Body font/bg to match the comp's page :root (Inter body, #fffdfe page background). */
body.galv-ari-page {
    font-family: 'Inter', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fffdfe;
    overflow-x: clip;
}
body.galv-ari-page * { box-sizing: border-box; }
