/* ============================================================================
   Test Prep Reviews page skin — CSS VERBATIM from Subash's test-prep-reviews-page-code.html
   (Drive 'Reviews' folder). Loaded on /reviews/test-prep-reviews/ by includes/reviews_styles.php.
   ALL comp rules scoped under body.galv-reviews so nothing leaks into the Bricks header/footer.
   Generated by seeds/tools/assemble_reviews_css_js.py — do NOT hand-edit; fixes go through the
   comp + re-run. SCOPING: :root->body.galv-reviews; bare body->body.galv-reviews; html/@keyframes
   global; @media inner selectors scoped.
   ============================================================================ */

/* ============================================================
   TEST PREP REVIEWS - Page CSS
   Sibling of Success Stories: same tokens + tab/popup/form pattern,
   adapted card with a score-dominant focal element.
   ============================================================ */
body.galv-reviews *, body.galv-reviews *::before, body.galv-reviews *::after { box-sizing: border-box; }
html, body.galv-reviews { overflow-x: hidden; }
body.galv-reviews {
    --bg-hero: #13217c;
    --bg-section: #e6ebff;
    --bg-banner-blue: #3b5bff;
    --color-title: #3b5bff;
    --color-cta: #cc00cc;
    --text-primary: #333;
    --text-white: #fffdfe;
    --font-main: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container: 1280px;
}
html { scroll-behavior: smooth; }
body.galv-reviews { margin: 0; font-family: var(--font-body); color: var(--text-primary); line-height: 1.6; }
body.galv-reviews .container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* ============ SECTION 01 - HERO ============ */
body.galv-reviews .hero-section {
    background: var(--bg-hero); color: var(--text-white);
    padding: 60px 0 30px; position: relative; overflow: hidden;
}
body.galv-reviews .hero-section .container {
    display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
    align-items: center;
}
body.galv-reviews .hero-content, body.galv-reviews .hero-testimonial { min-width: 0; }
body.galv-reviews .hero-content h1 {
    font-family: var(--font-main); font-weight: 600;
    font-size: 42px; line-height: 1.2; margin: 0 0 20px;
}
body.galv-reviews .hero-content p.hero-subhead {
    font-family: var(--font-main); font-weight: 500; font-size: 22px; line-height: 30px;
    margin: 0 0 25px;
}
body.galv-reviews .hero-features { list-style: none; padding: 0; margin: 0 0 30px; }
body.galv-reviews .hero-feature-item {
    display: flex; align-items: flex-start; gap: 12px;
    margin-bottom: 16px; font-size: 18px; line-height: 1.5;
}
body.galv-reviews .hero-feature-item::before {
    content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900;
    color: #6ee7b7; flex-shrink: 0; font-size: 18px; margin-top: 4px;
}
body.galv-reviews .btn-magenta {
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--color-cta); color: var(--text-white); border: 0;
    height: 48px; padding: 0 22px; border-radius: 10px;
    font-family: var(--font-body); font-size: 17px; font-weight: 600;
    cursor: pointer; transition: background .2s ease, transform .2s ease; text-decoration: none;
}
body.galv-reviews .btn-magenta:hover { background: #b300b3; transform: translateY(-1px); }

/* Hero right column - testimonial Swiper carousel */
body.galv-reviews .hero-testimonial { display: flex; flex-direction: column; gap: 14px; }
body.galv-reviews .hero-carousel-container { width: 100%; overflow: hidden; position: relative; }
body.galv-reviews .hero-Slider .swiper-slide { height: auto; }
body.galv-reviews .hero-Slider .swiper-wrapper { align-items: stretch; }
body.galv-reviews .hero-carousel-card {
    position: relative;
    background: #fffdfe; color: var(--text-primary);
    border-radius: 20px; padding: 24px;
    display: flex; flex-direction: column; gap: 14px;
    height: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
body.galv-reviews .hero-carousel-card .card-badge { top: 18px; right: 18px; }
body.galv-reviews .hero-carousel-header { display: flex; align-items: center; gap: 18px; margin-bottom: 6px; width: 100%; }
body.galv-reviews .hero-carousel-img {
    width: 120px; height: 120px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0; background: #fffdfe;
    border: 3px solid #fecdec;
}
body.galv-reviews .hero-carousel-info { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
body.galv-reviews .hero-carousel-name {
    font-family: var(--font-body); font-weight: 700; font-size: 20px;
    color: var(--text-primary); margin: 0;
}
body.galv-reviews .hero-carousel-country {
    font-family: var(--font-body); font-weight: 700; font-size: 16px;
    color: var(--color-cta); margin: 0;
}
body.galv-reviews .hero-carousel-score-box {
    border: 2px dotted var(--color-cta);
    border-radius: 12px;
    padding: 8px 18px;
    width: fit-content;
    margin-top: 4px;
}
body.galv-reviews .hero-carousel-score {
    font-family: var(--font-main); font-weight: 700;
    font-size: 24px; color: var(--text-primary);
    line-height: 1;
}
body.galv-reviews .hero-carousel-score span {
    color: var(--color-cta);
}
body.galv-reviews .hero-carousel-testimonial {
    font-family: var(--font-body); font-size: 15px; line-height: 1.55;
    color: var(--text-primary); margin: 0;
}

/* Swiper pagination - light dots on navy hero bg */
body.galv-reviews .hero-Slider .swiper-pagination {
    position: static; margin-top: 14px;
    display: flex; justify-content: center; align-items: center; gap: 8px;
}
body.galv-reviews .hero-Slider .swiper-pagination-bullet {
    width: 8px; height: 8px; background: rgba(230, 235, 255, .4); opacity: 1;
    transition: width .2s ease, background .2s ease;
}
body.galv-reviews .hero-Slider .swiper-pagination-bullet-active {
    background: #e6ebff; width: 28px; border-radius: 4px;
}

/* ============ SECTION 02 - SCORE STRIP (CSS-only, scrolling pills on navy→lavender split) ============ */
body.galv-reviews .score-strip-section {
    background: linear-gradient(
        to bottom,
        var(--bg-hero) 0,
        var(--bg-hero) 50%,
        var(--bg-section) 50%,
        var(--bg-section) 100%
    );
    position: relative; z-index: 5;
    overflow-x: clip;
}
body.galv-reviews .hero-stats {
    max-width: 1062px; width: calc(100% - 40px);
    margin: 0 auto;
    background: #fffdfe; border-radius: 20px;
    padding: 24px 30px; box-shadow: 0 15px 40px rgba(0,0,0,.15);
}
body.galv-reviews .hero-stats h2 {
    font-family: var(--font-main); font-weight: 600; color: var(--color-title);
    font-size: 22px; line-height: 35px; text-align: center; margin: 0 0 20px;
}
body.galv-reviews .score-strip {
    display: flex; gap: 16px; overflow: hidden; position: relative;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
            mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
body.galv-reviews .score-strip-track {
    display: flex; gap: 16px;
    animation: tp-strip-scroll 38s linear infinite;
    flex-shrink: 0;
}
body.galv-reviews .score-pill {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
    flex-shrink: 0; min-width: 130px;
    background: var(--bg-section);
    border: 1px solid #c7d2ff;
    border-radius: 12px;
    padding: 12px 20px;
    font-family: var(--font-body);
}
body.galv-reviews .score-pill .score-pill-test {
    font-size: 11px; font-weight: 600; color: var(--color-cta);
    text-transform: uppercase; letter-spacing: 1px; line-height: 1;
}
body.galv-reviews .score-pill .score-pill-value {
    font-family: var(--font-main); font-weight: 700;
    font-size: 24px; color: var(--color-title); line-height: 1.2;
    margin-top: 4px;
}
@keyframes tp-strip-scroll{
    from{ transform: translateX(0); }
    to  { transform: translateX(-50%); }
}

/* Shared section eyebrow + headline pattern */
body.galv-reviews .section-eyebrow {
    text-align: center; color: var(--color-cta);
    font-family: var(--font-body); font-weight: 600; font-size: 18px;
    margin: 0 0 8px;
}
body.galv-reviews .section-headline {
    font-family: var(--font-main); font-weight: 600; font-size: 36px; line-height: 1.3;
    color: var(--color-title); text-align: center;
    max-width: 1024px; margin: 0 auto;
}
body.galv-reviews .section-headline .accent { color: var(--color-cta); }

/* ============ SECTION 03 - BANNER ============ */
body.galv-reviews .banner-section {
    background: var(--bg-section);
    padding: 60px 0 60px;
    text-align: center;
}
body.galv-reviews .banner-section .section-headline {
    font-family: var(--font-main); font-weight: 500; font-size: 22px; line-height: 1.5;
    color: var(--text-primary); margin: 20px auto 0;
}
body.galv-reviews .banner-section .section-headline strong {
    display: block; color: var(--color-title); font-weight: 600; font-size: 36px;
    line-height: 1.3; margin-bottom: 10px;
}
body.galv-reviews .banner-section .world-map {
    display: block; width: 100%; max-width: 1280px; height: auto; margin: 24px auto 0;
}

/* ============ SECTION 04 - STUDENT CARDS + TABS ============ */
body.galv-reviews .students-section { background: #fffdfe; padding: 60px 0 40px; }
body.galv-reviews .students-section .section-headline {
    font-family: var(--font-main); font-weight: 500; font-size: 20px; line-height: 1.5;
    color: var(--text-primary); margin: 20px auto 30px;
}
body.galv-reviews .students-section .section-headline strong {
    display: block; color: var(--color-title); font-weight: 600; font-size: 32px;
    line-height: 1.3; margin-bottom: 10px;
}

body.galv-reviews .tab-bar {
    display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
    padding: 0 0 10px;
    max-width: 880px; margin: 0 auto;
}
body.galv-reviews .tab-bar button {
    min-width: 120px; height: 48px; border-radius: 8px;
    border: 1px solid var(--bg-banner-blue); background: transparent;
    color: var(--color-title); font-family: var(--font-body);
    font-size: 16px; font-weight: 500; cursor: pointer;
    padding: 0 18px; text-align: center;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}
body.galv-reviews .tab-bar button:hover { background: var(--bg-section); }
body.galv-reviews .tab-bar button.is-active { background: var(--bg-banner-blue); color: #fffdfe; font-weight: 600; border-color: var(--bg-banner-blue); }

body.galv-reviews .tabs-content { max-width: 1100px; margin: 20px auto 0; }
body.galv-reviews .tab-pane { display: none; }
body.galv-reviews .tab-pane.is-active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 24px;
    align-items: stretch;
}

body.galv-reviews .student-card {
    position: relative;
    display: flex; flex-direction: column;
    background: var(--bg-section);
    border-radius: 10px;
    padding: 25px 20px;
    min-width: 0; overflow: hidden;
    transition: box-shadow .25s ease, transform .25s ease;
}
body.galv-reviews .student-card * { min-width: 0; max-width: 100%; }
body.galv-reviews .student-card:hover { box-shadow: 0 8px 24px rgba(19,33,124,.08); transform: translateY(-2px); }

/* Test badge - top-right */
body.galv-reviews .card-badge {
    position: absolute; top: 14px; right: 14px;
    display: inline-flex; align-items: center;
    padding: 4px 12px; border-radius: 999px;
    font-family: var(--font-body); font-size: 12px; font-weight: 600;
    letter-spacing: .3px; line-height: 1;
    color: #fffdfe;
    background: var(--color-cta);
    z-index: 1;
}

/* Card head - avatar + name + college */
body.galv-reviews .card-head {
    display: flex; align-items: center; gap: 16px; margin-bottom: 18px;
    padding-right: 78px;
}
body.galv-reviews .card-avatar {
    width: 96px; height: 96px; border-radius: 50%;
    object-fit: cover; flex-shrink: 0;
    background: #fffdfe;
}
body.galv-reviews .card-id h3 {
    font-family: var(--font-body); font-weight: 600; font-size: 18px;
    color: var(--text-primary); margin: 0 0 4px;
}
body.galv-reviews .card-college {
    font-family: var(--font-body); font-size: 16px; color: #cc00cc;
    opacity: .75; margin: 0;
}

/* Score chip - coupon-style: white bg + dashed magenta border + magenta score */
body.galv-reviews .card-score {
    text-align: center;
    margin-bottom: 16px;
    padding: 4px 0 0;
}
body.galv-reviews .card-score-chip {
    display: inline-flex; align-items: baseline;
    background: transparent;
    border: 2px dotted var(--color-cta);
    border-radius: 12px;
    padding: 14px 24px;
}
body.galv-reviews .card-score-value {
    display: flex; align-items: baseline; gap: 4px;
    line-height: 1;
}
body.galv-reviews .card-score-num {
    font-family: var(--font-main); font-weight: 700;
    font-size: 30px; color: var(--color-cta);
    letter-spacing: -.5px;
}
body.galv-reviews .card-score-max {
    font-family: var(--font-main); font-weight: 700;
    font-size: 26px; color: var(--text-primary);
}

/* Quote */
body.galv-reviews .card-quote {
    font-family: var(--font-body); font-size: 15px; line-height: 1.55;
    color: var(--text-primary); margin: 0 0 14px;
    flex-grow: 1;
}

/* See More button */
body.galv-reviews .see-more-btn {
    align-self: center;
    background: transparent; color: var(--color-title);
    border: 2px solid var(--color-title);
    height: 40px; padding: 0 24px; border-radius: 8px;
    font-family: var(--font-body); font-size: 14px; font-weight: 600;
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
    margin-top: auto;
}
body.galv-reviews .see-more-btn:hover { background: var(--color-title); color: #fffdfe; }

/* ============ POPUP MODAL ============ */
body.galv-reviews .popup-modal {
    position: fixed; inset: 0; z-index: 10000;
    display: flex; align-items: center; justify-content: center;
}
body.galv-reviews .popup-modal[hidden] { display: none; }
body.galv-reviews .popup-backdrop {
    position: absolute; inset: 0;
    background: rgba(19,33,124,.55);
    backdrop-filter: blur(4px);
}
body.galv-reviews .popup-panel {
    position: relative;
    background: #fffdfe;
    border-radius: 16px;
    width: min(640px, 100% - 40px);
    max-height: min(640px, 100vh - 40px);
    padding: 32px 28px 28px;
    display: flex; flex-direction: column; gap: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,.25);
}
body.galv-reviews .popup-close {
    position: absolute; top: 12px; right: 14px;
    background: transparent; border: 0;
    font-size: 28px; line-height: 1; color: var(--text-primary);
    cursor: pointer; padding: 6px 10px; opacity: .6;
}
body.galv-reviews .popup-close:hover { opacity: 1; }
body.galv-reviews .popup-head {
    display: flex; align-items: center; gap: 16px; flex-shrink: 0;
}
body.galv-reviews .popup-head img.card-avatar { width: 84px; height: 84px; }
body.galv-reviews .popup-head h3 {
    font-family: var(--font-body); font-weight: 600; font-size: 20px;
    margin: 0 0 4px; color: var(--text-primary);
}
body.galv-reviews .popup-head .card-college { margin: 0; font-size: 14px; }
body.galv-reviews .popup-score { flex-shrink: 0; margin: 0; }
body.galv-reviews .popup-quote {
    flex: 0 1 auto; overflow-y: auto; min-height: 0;
    font-family: var(--font-body); font-size: 15px; line-height: 1.6;
    color: var(--text-primary); margin: 0;
    padding-right: 6px;
}
body.galv-reviews .popup-quote::-webkit-scrollbar { width: 6px; }
body.galv-reviews .popup-quote::-webkit-scrollbar-thumb { background: rgba(19,33,124,.25); border-radius: 3px; }

/* ============ FORM SECTION ============ */
body.galv-reviews .form-section { background: var(--bg-hero); padding: 50px 0 80px; overflow: hidden; }
body.galv-reviews .form-grid {
    display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px;
    max-width: 1250px; margin: 0 auto; align-items: stretch;
}
body.galv-reviews .form-illustration {
    width: 100%; height: auto; max-width: 625px;
    display: block; margin: 0 auto; border-radius: 16px;
}
body.galv-reviews .form-card {
    background: var(--bg-hero); border-radius: 20px;
    padding: 0; overflow: hidden; min-width: 0;
}
body.galv-reviews .form-card iframe {
    width: 100%; height: 600px; border: 0; display: block;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1023px){
    body.galv-reviews .tab-pane.is-active { grid-template-columns: 1fr; }
    body.galv-reviews .hero-section .container { grid-template-columns: 1fr; }
    body.galv-reviews .form-grid { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 991px){
    body.galv-reviews .hero-content h1 { font-size: 36px; line-height: 1.2; }
    body.galv-reviews .hero-content p.hero-subhead { font-size: 19px; line-height: 28px; }
}
@media (max-width: 767px){
    body.galv-reviews .hero-section { padding: 40px 0 20px; }
    body.galv-reviews .hero-content h1 { font-size: 30px; }
    body.galv-reviews .hero-content p.hero-subhead { font-size: 17px; }
    /* Subash v1 2026-06-20: bump card + popup quote legibility on mobile */
    body.galv-reviews .card-quote { font-size: 16px; line-height: 1.6; }
    body.galv-reviews .popup-quote { font-size: 16px; line-height: 1.65; }
    body.galv-reviews .banner-section .section-headline strong, body.galv-reviews .students-section .section-headline strong { font-size: 26px; }
    body.galv-reviews .form-grid { grid-template-columns: 1fr; gap: 24px; }
    body.galv-reviews .form-illustration { max-width: 100%; }
    body.galv-reviews .tabs-content { padding: 0; }

    body.galv-reviews .card-head { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding-right: 0; }
    body.galv-reviews .card-avatar { width: 96px; height: 96px; }
    body.galv-reviews .card-id h3 { font-size: 18px; }

    /* Mobile tabs: All full-width, then GRE/TOEFL pair and IELTS/SAT pair */
    body.galv-reviews .tab-bar {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
        flex-wrap: initial;
    }
    body.galv-reviews .tab-bar button { width: 100%; min-width: 0; padding: 0 12px; }
    body.galv-reviews .tab-bar button:first-child { grid-column: 1 / -1; }
    body.galv-reviews .form-card iframe { height: 580px; }

    body.galv-reviews .popup-panel {
        padding: 28px 18px 22px;
        max-height: 80vh;
    }
    body.galv-reviews .popup-head { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 478px){
    body.galv-reviews .student-card { padding: 20px 14px; }
    body.galv-reviews .card-score-num { font-size: 24px; }
}

/* ============================================================================
   Bricks integration reset (galv reviews v0.1) — neutralize Bricks' container
   max-width/flex/padding so the comp sections own the full-width layout. Comp body
   font/background already carried by the scoped body.galv-reviews{} rule above.
   ============================================================================ */
body.galv-reviews #brx-content.brxe-container,
body.galv-reviews .brxe-container,
body.galv-reviews .brxe-text {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    display: block !important;
    gap: 0 !important;
    align-items: stretch !important;
}
body.galv-reviews #brx-content.brxe-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
