/* ════════════════════════════════════════════════════════════════════════════
   Bachelors admissions skin (galv admissions v0.1) — Subash's UG admissions comp
   CSS VERBATIM (bachelors-page-code.html; exam-hub palette family, Swiper).
   Loaded ONLY on the bachelors admissions_program post (admissions_styles.php
   branches by slug — 36 selectors overlap the PG admissions.css with different
   values, so the two skins never co-load). Do NOT re-skin — fixes go through
   the designer comp first (verbatim doctrine).
   ════════════════════════════════════════════════════════════════════════════ */

:root {
            --bg-navy: #13217c;
            --primary-blue: #3b5bff;
            --cta-magenta: #cc00cc;
            --accent-blue: #e6ebff;
            --text-white: #fffdfe;
            --text-dark: #333;
            --text-gray: #808080;
            --success-green: #2d8a4e;
            --font-heading: 'Poppins', sans-serif;
            --font-body: 'Inter', sans-serif;
            --container-width: 1920px;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: var(--font-body);
            color: var(--text-dark);
            line-height: 1.5;
            background-color: #e6ebff;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: var(--font-heading);
            font-weight: 600;
        }

        h2.section-title {
            font-size: 36px;
            line-height: 48px;
            color: var(--primary-blue);
            text-align: center;
            margin-bottom: 15px;
        }

        .section-subtitle {
            font-family: var(--font-heading);
            font-size: 20px;
            font-weight: 500;
            text-align: center;
        }

        .container {
            width: 100%;
            max-width: var(--container-width);
            padding: 0 80px;
            margin: 0 auto;
        }

        section {
            display: flex;
            justify-content: center;
            padding: 60px 0;
        }

        .section-for-desktop {
            display: flex;
            justify-content: center;
            padding: 60px 0;
        }

        .text-center {
            text-align: center;
        }

        .btn {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 10px;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all .3s ease;
            border: none;
            font-family: var(--font-body);
            font-size: 18px;
        }

        .btn-magenta {
            background-color: var(--cta-magenta);
            color: var(--text-white);
        }

        .btn-magenta:hover {
            background-color: #a600a6;
        }

        .btn-blue {
            background-color: var(--primary-blue);
            border-radius: 10px;
            font-size: 18px;
            color: var(--text-white);
        }

        .btn-blue:hover {
            background-color: #13217c;
        }

        .btn-ghost-blue {
            background: 0 0;
            border: 2px solid #3b5bff;
            color: #3b5bff;
        }

        .btn-ghost-blue:hover {
            background-color: #3b5bff;
            color: #fffdfe;
        }

        section {
            padding: 0 0 0px;
        }

        .hero {
            background-color: var(--bg-navy);
            color: var(--text-white);
            padding: 60px 0 140px;   /* 140px bottom buffer is load-bearing: the floating .stats-bar (margin-top:-80px) overlaps into it — removing it caused the destinations/stats overlap. Top stays 60 (matches Masters). Restored — Subash 6/11 */
            position: relative;
            overflow: hidden;
        }

        .hero .container {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .hero-content,
        .hero-testimonial {
            min-width: 0;
        }

        .hero-content h1 {
            font-size: 42px;
            line-height: 1.2;
            margin-bottom: 20px;
            overflow-wrap: break-word;
        }

        .hero-content p {
            font-family: var(--font-heading);
            font-weight: 500;
            font-size: 22px;
            line-height: 30px;
            margin-bottom: 20px;
            overflow-wrap: break-word;
        }

        .hero-features {
            list-style: none;
            margin-bottom: 30px;
        }

        .hero-feature-item {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 20px;
            font-size: 18px;
            flex-wrap: nowrap;
        }

        .hero-feature-item svg {
            color: var(--success-green);   /* GRE-style check (Subash 6/11; was a webp img) */
            flex-shrink: 0;
            margin-top: 3px;
        }

        .hero-testimonial {
            flex: 1;
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 18px;
        }

        .hero-img {
            width: 100%;
            max-width: 480px;
            height: auto;
            border-radius: 20px;
            object-fit: cover;
            display: block;
        }

        /* Hero Carousel Styles */
        .hero-carousel-container {
            width: 100%;
            max-width: 700px;
            /* Increased width as requested */
            overflow: hidden;
            position: relative;
            padding: 20px 0px;
            /* Padding for shadows */
            margin: -20px -10px;
            /* Offset padding */
        }

        .hero-carousel-track {
            display: flex;
            align-items: stretch;
        }

        .hero-Slider .swiper-slide {
            height: auto;
        }

        /* Testimonial card matched to the Masters .testimonial-card-mini for consistency
           (Subash 6/11): radius 20->12, padding 25->32, +min-height, centered like Masters. */
        .hero-carousel-card {
            background: #fff;
            padding: 32px;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            text-align: left;
            color: var(--text-dark);
            border-radius: 12px;
            min-height: 250px;
            height: 100%;
        }

        .hero-carousel-header {
            display: flex;
            align-items: center;
            gap: 20px;
            margin-bottom: 20px;
            width: 100%;
        }

        .hero-carousel-img {
            width: 120px;   /* match Masters .mini-avatar (was 150px) — Subash 6/11 */
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            flex-shrink: 0;
        }

        .hero-carousel-info {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .hero-carousel-name {
            font-size: 18px;
            font-weight: 600;
            color: var(--text-dark);
            font-family: var(--font-body);
            margin: 0;
        }

        .hero-carousel-journey {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 16px;
            color: var(--text-dark);
            width: 100%;
        }

        .hero-carousel-journey img {
            height: 20px;
            width: auto;
            flex-shrink: 0;
            object-fit: contain;
        }

        .hero-carousel-degree {
            font-size: 16px;
            font-weight: 600;
            color: var(--cta-magenta);
        }

        .hero-carousel-university {
            margin-top: auto;
            padding-top: 10px;
        }

        .hero-carousel-uni-logo {
            height: 40px;
            width: auto;
            object-fit: contain;
        }

        .hero-carousel-testimonial {
            font-size: 16px;
            line-height: 26px;
            color: var(--text-dark);
            margin-top: 10px;
        }

        .destinations-wrap {
            width: 100%;
            max-width: 700px;
        }

        .destinations-label {
            font-family: var(--font-body);
            font-size: 14px;
            color: var(--text-white);
            font-style: italic;
            font-weight: 500;
            margin: 0 0 10px;
        }

        .destinations-track-outer {
            overflow: hidden;
            width: 100%;
        }

        .destinations-track {
            display: flex;
            gap: 10px;
            width: max-content;
            animation: scroll-dests 22s linear infinite;
        }

        .destinations-track:hover {
            animation-play-state: paused;
        }

        @keyframes scroll-dests {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(-50%);
            }
        }

        .dest-chip {
            display: flex;
            align-items: center;
            gap: 8px;
            background: #e6ebff;
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50px;
            padding: 7px 14px;
            white-space: nowrap;
            font-family: var(--font-body);
            font-size: 14px;
            font-weight: 600;
            color: #333333;
            flex-shrink: 0;
        }

        .dest-chip img {
            width: 22px;
            height: 22px;
            border-radius: 50%;
            object-fit: cover;
            display: inline-block;
        }

        .stats-bar {
            background: var(--text-white);
            border-radius: 20px;
            padding: 30px;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
            margin: -80px auto 0;
            max-width: 1062px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, .1);
            text-align: center;
            position: relative;
            z-index: 20;
        }

        .stat-item h2 {
            font-size: 40px;
            color: var(--bg-navy);
            margin-bottom: 4px;
            font-weight: 600;
        }

        .stat-item p {
            font-size: 16px;
            color: var(--text-dark);
            line-height: 26px;
            max-width: 190px;
            margin: 0 auto;
        }

        .stat-item p span {
            color: var(--cta-magenta);
            font-weight: 600;
        }

.aces,
        .global-schools {
            background-color: var(--accent-blue);
            padding: 60px 0;
            overflow: hidden;
        }

        .scholarships {
            background-color: var(--text-white);
            padding: 60px 0;
            overflow: hidden;
        }

        .aces-carousel-container,
        .scholarships-carousel-container,
        .global-schools-carousel-container {
            width: 100%;
            overflow: hidden;
            margin-top: 40px;
            position: relative;
        }

        .aces-carousel-container .swiper-wrapper,
        .scholarships-carousel-container .swiper-wrapper,
        .global-schools-carousel-container .swiper-wrapper {
            align-items: stretch;
        }

        .aces-carousel-container .swiper-slide,
        .scholarships-carousel-container .swiper-slide,
        .global-schools-carousel-container .swiper-slide {
            height: auto;
        }

        .aces-track {
            /* Let Swiper handle layout */
        }

        .ace-card {
            background: var(--text-white);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            position: relative;
            display: flex;
            flex-direction: column;
            height: 100%;
        }

        .scholarships .ace-card {
            background: var(--accent-blue);
        }

        .ace-img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            margin: 0 auto 20px;
            object-fit: cover;
        }

        .ace-name {
            font-size: 20px;
            margin-bottom: 6px;
            font-weight: 600;
            color: var(--text-dark);
        }

        .ace-country {
            color: var(--cta-magenta);
            font-size: 18px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .scholarship-degree {
            color: var(--cta-magenta);
            font-size: 18px;
            margin-bottom: 10px;
            font-weight: 600;
        }

        .ace-university {
            margin-bottom: 15px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: auto;
        }

        .global-uni {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-top: auto;
        }

        .ace-score {
            font-size: 24px;
            font-weight: 700;
            color: var(--text-dark);
            padding: 10px 20px;
            border-radius: 12px;
            display: inline-block;
            border: 2px dashed var(--cta-magenta);
            width: 100%;
            margin-top: auto;
        }

        .card-ribbon {
            position: absolute;
            top: 0;
            right: 0;
            background: #a600a6;
            color: #fff;
            padding: 12px 5px 25px;
            font-size: 14px;
            font-weight: 500;
            text-align: center;
            clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
            width: 110px;
            z-index: 2;
            line-height: 1.1;
            border-top-right-radius: 20px;
        }

        .card-ribbon span {
            display: block;
            font-size: 22px;
            font-weight: 800;
            margin-top: 4px;
        }

        .ace-journey {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            font-size: 16px;
            color: var(--text-dark);
            margin-bottom: 15px;
            font-weight: 500;
        }

        .ace-journey img {
            height: 16px;
            width: auto;
            object-fit: contain;
        }

        .ace-uni-logo {
            height: 60px;
            width: auto;
            object-fit: contain;
        }

        /* CTA Section Styles */
        .cta-expert-admissions {
            background-color: var(--bg-navy);
            padding: 60px 0;
            color: var(--text-white);
        }

        .cta-content-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 40px;
        }

        .cta-text-side {
            flex: 1;
            max-width: 600px;
            text-align: left;
        }

        .cta-text-side h2 {
            font-size: 30px;
            line-height: 40px;
            margin-bottom: 20px;
            color: var(--text-white);
            text-align: left;
        }

        .cta-text-side p {
            font-family: var(--font-body);
            font-size: 18px;
            margin-bottom: 30px;
            line-height: 29px;
            text-align: left;
        }

        .cta-image-side {
            flex: 1;
            display: flex;
            justify-content: center;
        }

        .cta-image-side img {
            max-width: 100%;
            height: auto;
        }

        .groundwork-section {
            background: var(--accent-blue);
            padding: 60px 0;
        }

        .groundwork-table-wrap {
            background: var(--text-white);
            border-radius: 24px;
            overflow-x: auto;
            margin-top: 40px;
        }

        .groundwork-table {
            width: 100%;
            min-width: 760px;
            border-collapse: collapse;
        }

        .groundwork-table thead th {
            background: var(--primary-blue);
            color: var(--text-white);
            font-family: var(--font-heading);
            font-size: 20px;
            font-weight: 600;
            padding: 22px 18px;
            text-align: center;
        }

        .groundwork-table thead th:first-child {
            text-align: left;
            padding-left: 28px;
        }

        .groundwork-table tbody th,
        .groundwork-table tbody td {
            padding: 18px;
            border-bottom: 1px solid #e6e6e6;
            vertical-align: middle;
            border-right: 1px solid #e6e6e6;
        }

        .groundwork-table thead th {
            border-right: 1px solid rgba(255, 255, 255, 0.24);
        }

        .groundwork-table thead th:last-child,
        .groundwork-table tbody th:last-child,
        .groundwork-table tbody td:last-child {
            border-right: none;
        }

        .groundwork-table tbody th {
            width: 34%;
            text-align: left;
            padding-left: 28px;
        }

        .groundwork-activity-title {
            display: block;
            color: var(--cta-magenta);
            font-size: 18px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .groundwork-activity-copy {
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
            font-weight: normal;
        }

        .groundwork-bullets {
            columns: 2;
            padding-left: 20px;
        }

        .groundwork-bullets li {
            margin-bottom: 8px;
        }

        .groundwork-table tbody td {
            text-align: center;
        }

        .groundwork-check {
            width: 24px;
            height: 24px;
            object-fit: contain;
            display: inline-block;
        }

        .ace-score span {
            color: var(--cta-magenta);
        }

        .why-galvanize {
            background-color: var(--bg-navy);
            padding: 60px 0;
        }

        .why-galvanize h2 {
            font-size: 36px;
            color: var(--text-white);
            text-align: center;
        }

        .features-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 30px;
            margin-top: 40px;
        }

        .feature-card {
            display: flex;
            flex-direction: column;
            background: #fff;
            border-radius: 20px;
            padding: 20px;
            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: #fce8fc;
            border-radius: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .feature-icon-box img {
            width: 64px;
            height: 64px;
            object-fit: contain;
        }

        .feature-card h3 {
            font-size: 22px;
            color: var(--primary-blue);
            margin-bottom: 16px;
        }

        .feature-card p {
            font-size: 18px;
            color: #333;
            line-height: 29px;
        }

        .service-btn {
            display: flex;
            align-items: self-end;
            justify-content: center;
            margin-top: auto;
        }

        .service-btn a {
            margin-top: 30px;
        }

        .service-consult {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 25px;
            margin-top: 50px;
        }

        .service-consult p {
            font-size: 22px;
            font-family: var(--font-heading);
            font-weight: 500;
            color: var(--text-white);
            text-align: center;
        }

        .parent-testimonials {
            background: var(--text-white);
            padding: 60px 0;
        }

        .parent-testimonial-slider {
            margin-top: 40px;
            overflow: hidden;
        }

        .parent-testimonial-slider .swiper-wrapper {
            align-items: stretch;
        }

        .parent-testimonial-slider .swiper-slide {
            height: auto;
        }

        .parent-testimonial-card {
            background: #dfe5ff;
            border-radius: 24px;
            padding: 28px;
            max-width: 1100px;
            margin-left: auto;
            margin-right: auto;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .parent-testimonial-top {
            display: grid;
            grid-template-columns: 170px 1fr;
            gap: 28px;
            align-items: start;
        }

        .parent-avatar {
            width: 170px;
            height: 170px;
            border-radius: 50%;
            object-fit: cover;
            display: block;
            background: #f3f4f6;
        }

        .parent-name {
            font-size: 20px;
            color: var(--text-dark);
            margin-bottom: 2px;
        }

        .parent-location {
            font-size: 18px;
            color: var(--cta-magenta);
            font-weight: 600;
            margin-bottom: 30px;
        }

        .parent-quote-box {
            background: #f5f7ff;
            border-radius: 16px;
            padding: 20px 22px 18px;
            position: relative;
        }

        .parent-quote-icon {
            position: absolute;
            top: -14px;
            left: 10px;
            width: 30px;
            height: 30px;
            object-fit: contain;
            display: block;
        }

        .parent-quote {
            font-size: 18px;
            line-height: 29px;
            color: var(--text-dark);
        }

        .parent-quote strong {
            color: var(--cta-magenta);
            font-weight: 600;
        }

        .parent-student-row {
            display: grid;
            grid-template-columns: auto 120px 1fr;
            gap: 18px;
            align-items: center;
            margin-top: auto;
            padding-top: 24px;
        }

        .parent-relationship {
            font-size: 20px;
            color: var(--text-dark);
            white-space: nowrap;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .parent-relationship::before,
        .parent-relationship::after {
            content: "";
            width: 52px;
            height: 1px;
            background: rgba(19, 33, 124, 0.65);
            display: inline-block;
        }

        .parent-student-avatar {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            object-fit: cover;
            display: block;
            background: #f3f4f6;
        }

        .parent-student-meta {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .parent-student-name {
            font-size: 20px;
            font-weight: 600;
            color: var(--text-dark);
        }

        .parent-student-route {
            font-size: 16px;
            color: var(--text-dark);
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
        }

        .parent-route-icon {
            width: 78px;
            height: 24px;
            object-fit: contain;
            display: inline-block;
        }

        .parent-student-program {
            font-size: 18px;
            color: var(--cta-magenta);
            font-weight: 700;
        }

        .parent-university-logo {
            width: 180px;
            height: auto;
            max-width: 100%;
            object-fit: contain;
            display: block;
            border-radius: 12px;
        }

        .partners {
            background: linear-gradient(to bottom, var(--bg-navy) 50%, #e6ebff 50%);
            padding: 60px 0 0;
            overflow: hidden;
        }

        .university-card {
            background: #fff;
            border-radius: 30px;
            padding: 40px 30px;
            max-width: 1062px;
            margin: 0 auto;
        }

        .university-card h2 {
            font-size: 22px;
            color: #3b5bff;
            margin-bottom: 30px;
            font-weight: 600;
        }

        .logo-carousel {
            width: 100%;
            overflow: hidden;
            position: relative;
            padding: 20px 0;
        }

        .logo-track {
            display: flex;
            width: max-content;
            animation: scroll 40s linear infinite;
            gap: 30px;
        }

        @keyframes scroll {
            0% {
                transform: translateX(0);
            }

            100% {
                transform: translateX(calc(-140px * 20));
            }
        }

        .logo-track:hover {
            animation-play-state: paused;
        }

        .logo-item {
            width: 110px;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-shrink: 0;
        }

        .logo-item img {
            height: 45px;
            width: auto;
            max-width: 180px;
            object-fit: contain;
            transition: all .5s ease;
        }

        .logo-item:hover img {
            transform: scale(1.08);
        }

        .testimonials-video {
            background-color: var(--accent-blue);
            padding: 60px 0;
        }

        .video-carousel-container {
            position: relative;
            width: 100%;
            overflow: hidden;
            margin-top: 40px;
        }

        .testimonial-Slider .swiper-wrapper {
            align-items: stretch;
        }

        .testimonial-Slider .swiper-slide {
            height: auto;
        }

        .video-card {
            background: var(--text-white);
            border-radius: 20px;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .video-thumbnail {
            position: relative;
            width: 100%;
            aspect-ratio: 297/285;
            background: #e2e8f0;
        }

        .video-thumbnail a {
            display: block;
            width: 100%;
            height: 100%;
        }

        .video-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .video-info {
            padding: 20px;

        }

        .video-carousel-dots {
            display: none !important;
        }

        .v-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: #cbd5e1;
            cursor: pointer;
            transition: background-color .3s;
        }

        .v-dot.active {
            background: #cc00cc;
        }

        .video-snippet {
            font-size: 18px;
            color: #333;
            text-align: left;
            line-height: 1.5;
        }

        /* CONTACT FORM */
        .contact-form {
            padding: 60px 0 20px;
            background-color: var(--bg-navy);

        }

        .contact-form-wrapper {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        .contact-form-left {
            display: flex;
            align-items: center;
            justify-content: center;
        }


        .contact-form-left img {
            width: 100%;
            height: auto;
        }

        .contact-form-right form {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .contact-form-right form .form-group {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .contact-form-right form .form-group label {
            font-weight: 600;
        }

        .contact-form-right form .form-group input,
        .contact-form-right form .form-group textarea {
            padding: 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

        .contact-form-right form .form-group input:focus,
        .contact-form-right form .form-group textarea:focus {
            outline: none;
            border-color: var(--cta-magenta);
        }

        .contact-form-right form .btn-blue {
            background-color: var(--cta-magenta);
            color: #fff;
            border: none;
            padding: 10px;
            border-radius: 5px;
            cursor: pointer;
        }

        .contact-form-right form .btn-blue:hover {
            background-color: var(--cta-magenta);
        }

        /* FAQ */
        .faq-section {
            padding: 60px 0;
            background: #fff;
        }

        .section-header {
            margin-bottom: 50px;
        }

        .faq-container {
            max-width: 900px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .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;
            border-radius: 8px;   /* match Masters FAQ .faq-item — Subash 6/11 */
        }

        .faq-question {
            padding: 20px 50px 20px 20px;
            font-size: 18px;            /* match Masters FAQ question — Subash 6/12 */
            line-height: 1.5;
            font-weight: 400;
            color: var(--text-white);
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
            user-select: none;
        }

        .faq-question::after {
            content: "›";
            position: absolute;
            right: 20px;                /* match Masters FAQ chevron — Subash 6/12 */
            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 {
            content: "›";
            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 20px;            /* match Masters FAQ answer — Subash 6/12 */
            font-size: 17px;
            line-height: 1.6;
            font-weight: 400;
            color: var(--primary-blue);
        }

        .faq-answer.active {
            max-height: 1600px;
            padding: 20px;
        }


        /* FAQ Layout */
        .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-layout .faq-container {
            max-width: 100%;
            margin: 0;
            padding: 0;
        }

        .video-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
        }

        .video-modal-overlay .video-modal-content {
            position: relative;
            width: min(90vw, 800px);
            aspect-ratio: 16/9;
            background: #000;
        }

        .video-modal-overlay .video-modal-content iframe {
            width: 100%;
            height: 100%;
            border: none;
        }

        .video-modal-overlay .video-modal-close {
            position: absolute;
            top: -36px;
            right: 0;
            background: #fff;
            border-radius: 50%;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-weight: bold;
        }

        @media (max-width:1024px) {
            .hero-carousel-header {
                margin-bottom: 15px;
            }

            .hero-carousel-testimonial {
                font-size: 16px;
                line-height: 26px;
                margin-top: 0;
            }

            .card-ribbon {
                width: 130px;
            }

            .cta-content-wrapper {
                flex-direction: row;
                gap: 20px;
            }

            .cta-image-side {
                justify-content: center;
            }

            .groundwork-intro {
                font-size: 18px;
                margin-bottom: 28px;
            }

            .groundwork-table thead th {
                font-size: 18px;
                padding: 18px 14px;
            }

            .groundwork-activity-title {
                font-size: 20px;
            }

            .groundwork-activity-copy {
                font-size: 16px;
            }

            .container {
                padding: 0 40px;
            }

            .hero .container {
                grid-template-columns: 1.1fr 1fr;
                gap: 30px;
            }

            .hero-content h1 {
                font-size: 38px;
            }

            .hero-content p {
                font-size: 16px;
                margin-bottom: 20px;
            }

            .hero-feature-item {
                font-size: 16px;
                gap: 10px;
                margin-bottom: 20px;
            }

            .hero-features {
                margin-bottom: 30px;
            }

            .hero-img {
                max-width: 380px;
            }

            .feature-card {
                flex: 0 1 calc((100% - 30px) / 2);
            }

            .parent-testimonial-top {
                grid-template-columns: 140px 1fr;
            }

            .parent-avatar {
                width: 140px;
                height: 140px;
            }


        }

        @media (min-width:769px) and (max-width:1023px) {
            .container {
                padding: 0 30px;
            }

            .btn {
                font-size: 16px;
                padding: 10px 22px;
            }

            h2.section-title {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 10px;
            }

            .section-subtitle {
                font-size: 18px;
                line-height: 29px;
            }

            .hero {
                padding: 40px 0 120px;
            }

            .hero .container {
                gap: 20px;
            }

            .hero-content h1 {
                font-size: 26px;
                line-height: 38px;
                margin-bottom: 15px;
            }

            .hero-content p {
                font-size: 18px;
                line-height: 29px;
            }

            .hero-carousel-card {
                padding: 20px;
            }

            .hero-carousel-header {
                flex-direction: row;
                gap: 15px;
            }

            .hero-carousel-img {
                height: 100px;
                width: 100px;
            }

            .hero-carousel-name {
                font-size: 14px;
            }

            .hero-carousel-degree {
                font-size: 12px;
            }

            .hero-carousel-journey {
                font-size: 12px;
                gap: 8px;
            }

            .hero-carousel-uni-logo {
                height: 30px;
            }

            .stat-item h2 {
                font-size: 36px;
            }

            .global-schools,
            .scholarships,
            .aces,
            .cta-expert-admissions,
            .groundwork-section,
            .why-galvanize,
            .parent-testimonials,
            .testimonials-video,
            .faq-section {
                padding: 40px 0;
            }

            .cta-text-side h2 {
                font-size: 24px;
                text-align: center;
                max-width: 700px;
                margin: 0 auto;
                margin-bottom: 15px;
            }

            .cta-text-side p {
                text-align: center;
            }

            .cta-content-wrapper {
                display: grid;
                grid-template-columns: 1fr;
                gap: 0;
                justify-content: center;
            }

            .cta-text-side {
                max-width: none;
                text-align: center;
            }

            .cta-image-side img {
                display: none;
            }

            .groundwork-table-wrap {
                margin-top: 30px;
            }

            .groundwork-bullets {
                columns: 1;
            }

            .groundwork-activity-title {
                font-size: 18px;
            }

            .features-grid {
                gap: 20px;
                margin-top: 30px;
            }

            .service-consult {
                margin-top: 40px;
                gap: 20px;
            }

            .parent-testimonial-slider {
                margin-top: 30px;
            }

            .video-carousel-container {
                margin-top: 30px;
            }

            .contact-form {
                padding: 40px 0 20px;
            }

            .faq-layout {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .faq-image-col {
                display: none;
            }

            h2.faq-title {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 20px;
            }

        }



        @media (max-width:768px) {

            nav button,
            nav a {
                padding: 10px 14px;
            }

            .container {
                padding: 0 20px;
            }

            .btn {
                font-size: 16px;
                padding: 10px 22px;
            }

            .aces,
            .global-schools,
            .scholarships,
            .why-galvanize,
            .cta-expert-admissions,
            .groundwork-section,
            .parent-testimonials,
            .testimonials-video,
            .faq-section {
                padding: 30px 0;
            }

            h2.section-title {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 10px;
            }

            .section-subtitle {
                font-size: 18px;
                line-height: 29px;
            }

            .hero {
                padding: 30px 0 140px;
            }

            .hero .container {
                grid-template-columns: 1fr;
                gap: 20px;
                text-align: left;
                padding: 0 20px;
            }

            .hero-content h1 {
                font-size: 24px;
                line-height: 38px;
                text-align: left;
                width: 100%;
                overflow-wrap: break-word;
                word-break: break-word;
                white-space: normal !important;
                margin-bottom: 15px;
            }

            .hero-content p {
                font-size: 18px;
                line-height: 29px;
                margin-bottom: 15px;
            }

            .hero-feature-item {
                font-size: 16px;
                margin-bottom: 15px;
            }

            .hero-feature-item svg {
                height: 20px;
                width: 20px;
            }

            .hero-testimonial {
                width: 100%;
                justify-content: center;
                margin-top: 20px;
                align-items: center;
            }

            .hero-carousel-header {
                flex-direction: row;
                gap: 15px;
            }


            .hero-carousel-score-box {
                margin: 5px auto 0;
            }

            .hero-carousel-name {
                font-size: 18px;
            }

            .hero-carousel-country {
                font-size: 18px;
            }

            .hero-carousel-testimonial {
                text-align: left;
            }

            .hero-img {
                max-width: 100%;
                border-radius: 12px;
            }

            .feature-card {
                flex: 0 1 100%;
            }

            .stats-bar {
                margin: -90px auto 0;
            }

            .stat-item h2 {
                font-size: 30px;
            }

            .stat-item p {
                font-size: 14px;
                line-height: 22px;
                max-width: 200px;
            }

            .card-ribbon {
                width: 100px;
                padding: 12px 5px 20px;
                font-size: 12px;
            }

            .cta-content-wrapper {
                flex-direction: column;
                gap: 0;
            }

            .cta-image-side img {
                display: none;
            }

            .cta-text-side {
                text-align: center;
            }

            .cta-text-side h2 {
                font-size: 24px;
                line-height: 38px;
                margin-bottom: 10px;
                text-align: center;
            }

            .cta-text-side p {
                font-size: 18px;
                line-height: 29px;
                margin-bottom: 30px;
                text-align: center;
            }

            .groundwork-table-wrap {
                margin-top: 30px;
            }

            .groundwork-bullets {
                columns: 1;
            }

            .groundwork-activity-title {
                font-size: 18px;
            }

            .features-grid {
                margin-top: 30px;
            }

            .feature-card {
                padding: 25px;
            }

            .feature-card h3 {
                font-size: 20px;
            }

            .service-consult {
                margin-top: 30px;
            }

            .service-consult p {
                font-size: 20px;
            }

            .parent-testimonial-slider {
                margin-top: 30px;
            }

            .parent-testimonial-card {
                padding: 20px;
                border-radius: 30px;
            }

            .parent-testimonial-top {
                grid-template-columns: 1fr;
                gap: 18px;
                place-items: center;
            }

            .parent-avatar {
                width: 132px;
                height: 132px;
            }

            .parent-name,
            .parent-location {
                text-align: center;
            }

            .parent-quote {
                font-size: 18px;
                text-align: center;
            }

            .parent-student-row {
                display: flex;
                flex-direction: column;
                gap: 14px;
            }

            .parent-student-row {
                padding: 0;
                margin-top: 30px;
            }

            .parent-relationship {
                white-space: normal;
            }

            .parent-student-meta {
                place-items: center;
            }

            .parent-university-logo {
                width: auto;
                height: 60px;
                margin: 0 auto;
            }

            .university-card h2 {
                font-size: 20px;
                line-height: 29px;
            }

            .partners {
                padding: 20px 0 0;
            }

            .video-card {
                /* Let Swiper set the width */
                margin: 0;
            }

            .video-carousel-dots {
                display: none;
            }

            .contact-form {
                padding: 30px 0;
            }

            .contact-form-wrapper {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .contact-form-left img {
                display: none;
            }

            .faq-layout {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .faq-title {
                font-size: 24px;
                margin-bottom: 20px;
            }

            .faq-image-col {
                display: none;
            }

            .ace-name {
                font-size: 18px;
                line-height: 29px;
            }

            .ace-country {
                font-size: 16px;
                line-height: 26px;
            }

        }

        @media (max-width:480px) {
            .container {
                padding: 0 20px;
            }

            .hero {
                padding: 30px 0 220px;
            }

            .hero-content h1 {
                font-size: 36px;
                line-height: 42px;
                margin-bottom: 20px;
            }

            .hero-content p {
                font-size: 20px;
                margin-bottom: 20px;
            }


            .hero-carousel-header {
                flex-direction: column;

            }

            .hero-carousel-info {
                align-items: center;
                text-align: center;
            }

            .hero-carousel-journey {
                justify-content: center;
            }

            .hero-carousel-university {
                text-align: center;
            }

            .hero-carousel-testimonial {
                text-align: center;
            }

            .stats-bar {
                grid-template-columns: 1fr;
                margin: -180px auto 0;
            }

            .stat-item h2 {
                font-size: 40px;
            }

            .stat-item p {
                font-size: 16px;
            }

            .global-schools-carousel-container {
                margin-top: 30px;
            }

            .feature-card h3 {
                font-size: 22px;
            }

            .aces-carousel-container,
            .scholarships-carousel-container {
                margin-top: 30px;
            }

            .parent-testimonial-slider {
                margin-top: 30px;
            }

            .faq-title {
                font-size: 24px;
                line-height: 38px;
            }
        }

/* ════════════════════════════════════════════════════════════════════════════
   Bricks integration reset (bachelors variant) — same neutralizer as
   admissions.css, with this comp's body (Inter, lavender #e6ebff).
   ════════════════════════════════════════════════════════════════════════════ */
body.single-admissions_program #brx-content.brxe-container,
body.single-admissions_program .brxe-container.brxe-admrt,
body.single-admissions_program .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.single-admissions_program #brx-content.brxe-container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
body.single-admissions_program {
    font-family: 'Inter', system-ui, sans-serif;
    color: #333;
    background: #e6ebff;
}
body.single-admissions_program h1,
body.single-admissions_program h2,
body.single-admissions_program h3,
body.single-admissions_program h4 {
    font-family: 'Poppins', sans-serif;
}
/* Dest chips as internal links to /study-in-X/ (SEO cluster links) — visually
   identical to the comp's plain divs. */
.dest-chip, .dest-chip:hover {
    text-decoration: none;
    color: #333333;
}

/* ════════════════════════════════════════════════════════════════════════════
   Guides & Resources shell — same block as admissions.css (Subash 6/10 PM
   scheme: guides = white section + lavender cards; resources = lavender
   section + white cards; 60px padding; left-aligned card text).
   ════════════════════════════════════════════════════════════════════════════ */
.diagnostic {
    background-color: #fffdfe;
    padding: 60px 0;
}
.diagnostic .section-title {
    text-align: center;
    margin-bottom: 15px;
}
.text-left {
    text-align: left;
}
.diagnostic-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}
@media (min-width: 1025px) {
    .diagnostic-grid > .test-card:nth-child(2n+1):last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 15px);
    }
}
@media (max-width: 1024px) {
    .diagnostic-grid {
        grid-template-columns: 1fr;
    }
}
.test-card {
    background: #e6ebff;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e6ebff;
    display: flex;
    flex-direction: column;
}
.test-title {
    font-size: 22px;
    color: #3b5bff;
    margin-bottom: 8px;
    font-weight: 600;
}
.test-card p {
    font-size: 18px;
    color: #808080;
    margin-bottom: 20px;
}
