        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Plus Jakarta Sans', sans-serif;
        }

        :root {
            --navy-dark-blue: #010a26;
            --brand-blue: #0b1a4a;
            --brand-red: #c91818;
            --text-muted: #475569;
            --text-dark: #1e293b;
            --white: #ffffff;
            --border-capsule: #cbd5e1;
            --pill-active-bg: #fee2e2;
            --badge-item-height: 22px;
        }

 html, body {
    background-color: #f8fafc;
}

body {
    background-color: #f8fafc;
}

        .hero-container {
            width: 92%;
            max-width: 1400px;
            margin: 0 auto;
            flex-grow: 1;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding-bottom: 220px;
            padding-right: 120px;
            padding-left: 100px;
        }

        .trust-badge {
            background-color: #475569;
            color: var(--white);
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 6px 14px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 20px;
            text-decoration: none;
        }
        .badge-ticker-container {
            height: var(--badge-item-height);
            overflow: hidden;
            width: 190px;
        }

        .badge-ticker-wrapper {
            transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
            will-change: transform;
            animation: badgeScrollText 9s linear fixed infinite;
        }

        .badge-ticker-item {
            height: var(--badge-item-height);
            line-height: var(--badge-item-height);
            color: var(--white);
            font-size: 13px;
            font-weight: 700;
            white-space: nowrap;
            display: block;
            padding: 0 8px;
            border-radius: 6px;
            position: static;
        }
        @keyframes badgeScrollText {
            0%, 25% {
                transform: translateY(0);
            }
            33%, 58% {
                transform: translateY(calc(-1 * var(--badge-item-height)));
            }
            66%, 91% {
                transform: translateY(calc(-2 * var(--badge-item-height)));
            }
            100% {
                transform: translateY(calc(-3 * var(--badge-item-height)));
            }
        }

        .hero-title {
            font-size: 40px;
            font-weight: 700;
            line-height: 1.05;
            margin-bottom: 15px;
            letter-spacing: -1px;
            color: var(--brand-blue);
            transition: transform 0.55s ease, opacity 0.55s ease, font-size 0.25s ease;
            transform-origin: left top;
        }

        .text-blue { color: var(--brand-blue); }
        .text-red { color: var(--brand-red); }

        .hero-description {
            color: #26345f;
            font-size: 16px;
            line-height: 1.6;
            font-weight: 500;
            margin-bottom: 32px;
        }

        .hero-actions {
            display: flex;
            gap: 16px;
            margin-bottom: 35px;
            align-items: center;
            flex-wrap: wrap;
        }

        .btn {
            text-decoration: none;
            padding: 12px 22px;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            min-height: 48px;
            white-space: nowrap;
            transition: all 0.2s ease;
        }

        .btn-red {
            background-color: var(--brand-red);
            color: var(--white);
        }

        .btn-red:hover {
            background-color: #a71212;
        }

        .btn-outline {
            background-color: var(--white);
            color: var(--brand-blue);
            border: 1px solid var(--brand-blue);
            box-shadow: 0 4px 6px rgba(11, 26, 74, 0.04);
            min-width: 230px;
            align-items:center;
                display: inline-block
        }

        .btn-outline:hover {
            background-color: #f1f5f9;
        }

        html {
            scroll-behavior: smooth;
        }

        /* --- HERO BODY SECTION --- */
.hero-container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-right: 120px;
    padding-left: 100px;     
    padding-bottom: 150px; 
    padding-top: 120px; 
}

.hero-content {
            position: relative;
            z-index: 2;
            width: 100%;
    max-width: 1050px; 
        }

        /* Info Badge */
 .info-pill-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.08); 
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-bottom: 20px;

    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px); 
}

 .hero-content h1 {
            font-size: clamp(42px, 4vw, 58px); 
            color: var(--white);
            line-height: 1.2;
            margin-bottom: 18px;
            letter-spacing: -1px;
         font-family: 'Playfair Display', Georgia, serif; 
         font-weight: 700;                                
}

        .hero-content p {
            font-size: 18px; 
            color: rgba(255, 255, 255, 0.85);
            line-height: 1.5;
            margin-bottom: 35px; 
            max-width: 650px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-btns {
            display: flex;
            justify-content: center;
            gap: 16px;
        }

        .hero-btn {
            display: inline-block;
            padding: 14px 28px; 
            border-radius: 8px;
            font-size: 14.5px;
            font-weight: 700;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .btn-consultation {
            background-color: var(--brand-red);
            color: var(--white);
            border: 1px solid var(--brand-red);
        }

        .btn-consultation:hover {
            background-color: #a71212;
            border-color: #a71212;
        }

        .btn-eligibility {
            background-color: transparent;
            color: var(--white);
            border: 2px solid var(--white);
        }

        .btn-eligibility:hover {
            background-color: var(--white);
            color: #010a26;
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
        }

@media (max-width: 768px) {
    .hero-btns {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .hero-btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
    .hero-container { padding: 10px 20px; }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 60px 24px 80px 24px;
    }
}


        .marquee-section {
    background-color: var(--brand-red);
    color: var(--white);
    padding: 12px 0;
    width: 100%;
    position: relative; 
    margin-top: auto;   
    bottom: 0;
    left: 0;
    z-index: 1003;
    overflow: hidden;
    display: flex;
    align-items: center;
}

        .marquee-content {
            display: flex;
            white-space: nowrap;
            will-change: transform;
            animation: marqueeContinuous 9s linear infinite;
        }

        .marquee-item {
            font-size: 13.5px;
            font-weight: 600;
            display: flex;
            align-items: center;
            margin-right: 40px;
        }

        .marquee-item::before {
            content: '';
            display: inline-block;
            width: 5px;
            height: 5px;
            background-color: rgba(255, 255, 255, 0.7);
            border-radius: 50%;
            margin-right: 15px;
        }

        .marquee-section:hover .marquee-content {
            animation-play-state: paused;
        }

        @keyframes marqueeContinuous {
            from { transform: translateX(0%); }
            to { transform: translateX(-100%); }
        }

/* --- WHY CHOOSE AUSTRALIA SECTION STYLES --- */
.why-choose-section {
    background-color: var(--white);
    padding: 80px 0 60px 0;
    width: 100%;
}

.why-choose-container {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: center;
}

.why-choose-graphics {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-right: 20px;
    padding-bottom: 20px;
}

.graphic-accent-box {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 85%;
    height: 60%;
    background-color: var(--brand-red);
    border-radius: 24px;
    z-index: 1;
}

.graphic-image-wrapper {
    position: relative;
    z-index: 2;
    width: calc(100% - 20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(1, 10, 38, 0.08);
}

.graphic-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.why-choose-content {
    flex: 1.1;
    display: flex;
    flex-direction: column;
}

.why-choose-content .sub-badge-text {
    color: var(--brand-red);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.why-choose-content h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 40px;
    color: var(--navy-dark-blue);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.features-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 14px 20px;
    background-color: transparent;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.check-icon-circle {
    width: 22px;
    height: 22px;
    border: 2px solid var(--brand-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.info-note-box {
    background-color: #f4f6fa; 
    position: relative;
    border-radius: 8px; /* Compact corner radius */
    padding: 12px 16px 12px 24px; /* Tight, minimal padding */
    margin: 15px 0;
    text-align: left;
    overflow: hidden; 
}

/* Slimmed down red accent bar */
.info-note-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px; /* Thinned out to match the smaller scale */
    background-color: #c91818; 
    border-top-left-radius: 8px; 
    border-bottom-left-radius: 8px;
}

.info-note-box p {
    color: #4a5c7d; 
    font-size: 13.5px; /* Clean, small readable font size */
    line-height: 1.5; 
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
}

.info-note-box p strong {
    color: #0b1a4a;
    font-weight: 700;
}

.check-icon-circle i {
    font-size: 10px;
    color: transparent;
    transition: all 0.2s ease;
}

.feature-card-text h3 {
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    font-weight: 600; 
    color: var(--navy-dark-blue);
    margin-bottom: 2px;
}

.feature-card-text p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

.feature-card-item:hover {
    background-color: #fdf2f2;
    border-color: #fee2e2;
    transform: translateX(4px);
}

.feature-card-item:hover .check-icon-circle {
    background-color: var(--brand-red);
}

.feature-card-item:hover .check-icon-circle i {
    color: var(--white);
}

.stats-strip-section {
    background-image: url('images/studyAUS.jpg'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax moving effect */
    
    min-height: 220px; 
    padding: 130px 0; 
    width: 100%;
    display: flex;
    align-items: center; 
    position: relative; /* Essential for positioning the overlay layer */
    box-sizing: border-box;
    overflow: hidden;
}
.stats-strip-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 23, 66, 0.70); 
    z-index: 1;
}

.stats-strip-container {

    position: relative;
    z-index: 2; 
    width: 85%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;


    width: 92%; 
    max-width: 1440px; 
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.stat-box-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px; 
    position: relative;
}

/* Thin vertical white divider lines */
.stat-box-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 5%;
    height: 90%; 
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2); 
}

.stat-value {
    font-family: 'Inter', sans-serif;
    font-size: 32px; 
    font-weight: 700;
    color: #ffffff; 
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-weight: 400;
    color: #eae9e9 !important; 
    opacity: 1 !important;     
}

html, body {
    scrollbar-width: none; 
    -ms-overflow-style: none; 
}

html::-webkit-scrollbar, 
body::-webkit-scrollbar {
    display: none; 
}

@media (max-width: 768px) {
    .stats-strip-section { background-attachment: scroll; }
}

/* --- WHY CHOOSE AUSTRALIA DESIGN GRID --- */
.why-choose-section {
    background-color: var(--white);
    padding: 60px 0; 
    width: 100%;
}

.why-choose-container {
    width: 82%;
    max-width: 1200px; 
    margin: 0 auto;
    display: flex;
    gap: 55px; 
    align-items: stretch; 
}

.why-choose-graphics {
    flex: 1; 
    position: relative;
    display: flex;
    padding-right: 25px; 
    padding-bottom: 25px;
}

.graphic-accent-box {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 90%;
    height: 60%; 
    background-color: var(--brand-red);
    border-radius: 15px; 
    z-index: 1;
}

.graphic-image-wrapper {
    position: absolute; 
    top: 0;
    left: 0;
    z-index: 2;
    width: calc(100% - 25px); 
    height: calc(100% - 25px); 
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(1, 10, 38, 0.08);
}

.graphic-image-wrapper img {
    width: 100%;
    height: 100%; 
    display: block;
    object-fit: cover; 
}

/* Right Side Content Component */
.why-choose-content {
    flex: 1.3; 
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
}

.why-choose-content h2 {
    font-size: 34px; 
    color: var(--navy-dark-blue);
    font-weight: 700; 
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.why-choose-content .sub-badge-text {
    color: var(--brand-red);
    font-size: 11px;
    font-weight: 600; 
    letter-spacing: 0.8px;
    margin-bottom: 20px; 
    display: block;
}

.features-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px; 
}

.feature-card-item {
    display: flex;
    align-items: center;
    gap: 14px; 
    padding: 8px 16px; 
    background-color: transparent;
    border: 1px solid #d5a88e; 
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: pointer;
}

.check-icon-circle {
    width: 18px;  
    height: 18px; 
    border: 1.5px solid var(--brand-red);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.check-icon-circle i {
    font-size: 8px; 
    color: var(--brand-red);
    transition: all 0.2s ease;
}

.feature-card-text h3 {
    font-size: 14.5px; 
    font-weight: 600; 
    color: var(--navy-dark-blue);
    margin-bottom: 1px;
}

.feature-card-text p {
    font-size: 12px; 
    color: #64748b;
    font-weight: 400;
    line-height: 1.35;
}







/* --- DARK STATS STRIP STYLES --- */
.stats-strip-section {
    background-color: #111111; 
    padding: 40px 0;
    width: 100%;
}

.stats-strip-container {
    width: 82%; 
    max-width: 1250px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-box-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.stat-box-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 100%;
    width: 2px;
    background-color: rgba(235, 230, 230, 0.678);
}

.stat-value {
    color: var(--white);
    font-size: 24px; 
    font-weight: 600; 
    letter-spacing: -0.5px;
}

.stat-label {
    color: rgba(255, 255, 255, 0.55); 
    font-size: 12.5px;
    font-weight: 400;
}

/* --- UPCOMING INTAKES & DEADLINES SYSTEM --- */
.intakes-section {
    background-color: #f8fafc; 
    padding: 80px 0;
    width: 100%;
}

/* Header Text Alignments */
.intakes-header-container {
    text-align: center;
    margin-bottom: 40px;
}

.intakes-header-container h2 {
    font-family: 'Playfair Display', Georgia, serif; 
    font-size: 38px;
    color: var(--navy-dark-blue);
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.intakes-sub-text {
    font-family: 'Inter', sans-serif;
    color: var(--brand-red);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.intakes-table-container {
    width: 82%; 
    max-width: 1250px;
    margin: 0 auto;
    background-color: var(--white);
    border-radius: 16px;
    overflow: hidden; 
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(1, 10, 38, 0.04);
}

.intakes-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-family: 'Inter', sans-serif;
}

.intakes-table th {
    background-color: var(--navy-dark-blue); 
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    padding: 18px 24px;
    letter-spacing: 0.2px;
}

.intakes-table td {
    padding: 22px 24px;
    font-size: 14px;
    color: #475569; 
    border-bottom: 1px solid #f1f5f9;
}

.intakes-table tr:last-child td {
    border-bottom: none;
}

.intake-name {
    font-weight: 600;
    color: var(--navy-dark-blue);
}

.apply-action-link {
    color: var(--brand-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.apply-action-link i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.apply-action-link:hover {
    opacity: 0.85;
}

.apply-action-link:hover i {
    transform: translateX(4px);
}

.intakes-table tbody tr {
    transition: background-color 0.2s ease;
}

.intakes-table tbody tr:hover {
    background-color: #f8fafc; 
}

.section-divider-line {
    width: 100%;
    max-width: 1280px;
    height: 1px;
    background: linear-gradient(to right, rgba(169, 173, 177, 0.976), #cbd5e1, rgba(230, 234, 239, 0.836));
    margin: 0 auto; 
}

/* --- UNIVERSITIES CARD SYSTEM --- */
.universities-section {
    background-color: #f8fafc; 
    padding: 70px 0 60px 0;
    width: 100%;
}

.uni-header-container {
    text-align: center;
    margin-bottom: 45px;
}

.uni-header-container h2 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 38px;
    color: var(--navy-dark-blue, #0a192f);
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.uni-sub-text {
    font-family: 'Inter', sans-serif;
    color: var(--brand-red, #dc2626);
    font-size: 13.5px;
    font-weight: 500;
}

.page-radio {
    display: none;
}

/* Grid Layout */
.uni-grid-container {
    width: 82%;
    max-width: 1250px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.grid-page-1,
.grid-page-2 {
    display: none;
}

#page1:checked ~ .grid-page-1 {
    display: grid;
}

#page2:checked ~ .grid-page-2 {
    display: grid;
}

/* Card Item Styles (Reset anchor tag styles) */
.uni-card-item {
    background-color: var(--white, #ffffff);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #cbd5e1; 
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;         
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, box-shadow;
}

.uni-card-item:hover {
    transform: translateY(-8px); 
    box-shadow: 0 22px 40px rgba(1, 10, 38, 0.16); 
}

.uni-image-frame {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden; 
}

.uni-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.uni-card-item:hover .uni-image-frame img {
    transform: scale(1.15); 
}

.badge-ranking {
    position: absolute;
    top: 14px;
    right: 14px;
    background-color: var(--white, #ffffff);
    color: var(--brand-red, #dc2626);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 5;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 4px;
}

.badge-ranking i {
    font-size: 10px;
}

.uni-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    font-family: 'Inter', sans-serif;
    flex-grow: 1;
}

.uni-card-body h3 {
    font-size: 16px;
    color: var(--navy-dark-blue, #0a192f);
    font-weight: 600;
    margin-bottom: 4px;
}

.uni-location {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.uni-location i {
    color: #94a3b8;
}

.discipline-title {
    font-size: 12.5px;
    font-weight: 500;
    color: #94a3b8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.discipline-tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 24px;
}

.tag-pill {
    background-color: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.uni-card-footer {
    border-top: 1px dashed #e2e8f0;
    padding-top: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; 
}

.explore-text {
    color: var(--brand-red, #dc2626);
    font-size: 13px;
    font-weight: 600;
}

.arrow-circle-btn {
    width: 24px;
    height: 24px;
    background-color: #fdf2f2;
    color: var(--brand-red, #dc2626);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.uni-card-item:hover .arrow-circle-btn {
    background-color: var(--brand-red, #dc2626);
    color: var(--white, #ffffff);
}

/* PAGINATION STYLING */
.pagination-wrapper {
    margin-top: 40px;
    background-color: transparent; 
}

.pagination-container1 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    background-color: #fef2f2;
    border: 1px solid #fee2e2;
    color: #dc2626;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    user-select: none;
}

.arrow-btn:hover {
    background-color: #fee2e2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.number-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-label {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    user-select: none;
    transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.page-label:hover {
    border-color: #9ca3af;
    color: #111827;
    background-color: #f9fafb;
}

/* Active Page State */
#page1:checked ~ .pagination-wrapper .lbl-p1,
#page2:checked ~ .pagination-wrapper .lbl-p2 {
    background-color: #fef2f2;
    border-color: #fca5a5;
    color: #dc2626;
    font-weight: 700;
    cursor: default;
}

/* --- PAGINATION TOGGLE LOGIC --- */




/* UK Toggle Grid Pages based on selected Radio Button */




/* Active Pagination Button Styles */


@media (max-width: 1024px) {
    .uni-grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .uni-grid-container {
        grid-template-columns: 1fr;
    }
}

    /*how you get you there*/
  

        html, body {
            width: 100%;
            background-color: #f8fafc;
        }


/* Base Section Styling */
.visa-process-section {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    background: linear-gradient(rgba(13, 27, 52, 0.82), rgba(17, 31, 59, 0.82)), 
                url('images/passport.jpg') center/cover no-repeat fixed;
    padding: 80px 20px;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

/* Header Area */
.visa-header {
    text-align: center;
    margin-bottom: 60px;
    z-index: 2;
}

.visa-title {
    font-family: 'Playfair Display', serif; /* Applied requested font */
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 12px 0;
    letter-spacing: -0.2px;
}

.visa-title span {
    color: #e51d24;
}

.visa-description {
    color: #ebedef;
    max-width: 550px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.5;
}

.visa-timeline {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.visa-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #e51d24;
    transform: translateX(-50%);
    z-index: 1;
}

.visa-item {
    display: flex;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    padding-bottom: 35px;
}

.visa-item.left {
    left: 0;
    padding-right: 5px; 
    justify-content: flex-end;
}

.visa-item.right {
    left: 50%;
    padding-left: 5px;
    justify-content: flex-start;
}

.visa-badge {
    position: absolute;
    top: 24px;
    width: 28px;
    height: 28px;
    background-color: #e51d24;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: #ffffff;
    z-index: 3;
    box-shadow: 0 0 12px rgba(229, 29, 36, 0.5);
}

.visa-item.left .visa-badge { 
    right: -14px; 
}

.visa-item.right .visa-badge { 
    left: -14px; 
}

.visa-card {
    background-color: rgba(11, 23, 42, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 18px 22px;
    width: 100%;
    max-width: 360px;
    display: flex;
    gap: 16px;
    align-items: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    transition: all 0.25s ease-in-out;
    cursor: pointer;
}

.visa-icon {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 9px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    box-sizing: border-box;
    transition: all 0.25s ease-in-out;
}

.visa-icon svg {
    width: 20px;
    height: 20px;
    stroke: #38bdf8;
    transition: all 0.25s ease-in-out;
}

.visa-info h3 {
    font-family: 'Playfair Display', serif; 
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
    color: #ffffff;
}

.visa-info p {
    font-size: 13.5px;
    color: #94a3b8;
    line-height: 1.45;
    margin: 0;
}

.visa-card:hover {
    border-color: #e51d24; 
    background-color: rgba(11, 23, 42, 0.9);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.visa-card:hover .visa-icon {
    background-color: #e51d24; 
    border-color: #e51d24;
}

.visa-card:hover .visa-icon svg {
    stroke: #ffffff; 
}

@media (max-width: 768px) {
    .visa-line {
        left: 20px;
        transform: none;
    }
    .visa-item {
        width: 100%;
        left: 0 !important;
        padding-left: 40px !important;
        padding-right: 0 !important;
        padding-bottom: 25px;
        justify-content: flex-start !important;
    }
    .visa-item.left .visa-badge, 
    .visa-item.right .visa-badge {
        left: 6px;
        right: auto;
        top: 24px;
    }
    .visa-card {
        max-width: 100%;
    }
}

.visa-card:hover .visa-icon {
    background-color: #e51d24; 
    border-color: #e51d24;
}

/* Section Container Layout */
.scholarships-section {
    width: 100%;
    clear: both;
    position: relative;
    z-index: 5;
    padding: 60px 0; 
    background-color: #f2f2f2;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header Elements styling */
.scholarships-header {
    text-align: center;
    margin-bottom: 30px; 
    padding: 0 20px;
}

.scholarships-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px; 
    font-weight: 700;
    color: #0b1a30; 
    margin: 0 0 8px 0;
}

.scholarships-subtitle {
    font-size: 14px;
    color: #e51d24; 
    margin: 0;
    font-weight: 500;
}

/* 3-Column Layout Grid */
.scholarships-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px; 
    width: 100%;
    max-width: 1000px; 
    padding: 0 20px;
    margin-bottom: 35px;
    box-sizing: border-box;
}

.scholarship-card {
    background-color: #ffffff;
    border: 1px solid #cbd5e1; 
    border-radius: 12px; 
    padding: 22px 20px; 
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03); 
    position: relative;
    box-sizing: border-box;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.3s ease,
                border-color 0.3s ease;
    cursor: pointer;
}

.scholarship-icon {
    width: 38px; 
    height: 38px; 
    background-color: #fff1f2; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #f43f5e; 
    margin-bottom: 15px; 
}

.scholarship-icon svg {
    width: 18px; 
    height: 18px;
}

.scholarship-name {
    font-size: 17px; 
    font-weight: 700;
    color: #0b1a30;
    margin: 0 0 6px 0;
}

.scholarship-eligibility {
    font-size: 12.5px; 
    font-weight: 500;
    color: #536175; 
    margin: 0 0 15px 0; 
}

.scholarship-tag {
    background-color: #fff1f2; 
    color: #e51d24;
    font-size: 12px; 
    font-weight: 600;
    padding: 5px 12px; 
    border-radius: 6px;
    margin-bottom: 20px; 
}

.scholarship-link {
    font-size: 13px; 
    font-weight: 600;
    color: #0b1a30;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.25s ease;
}

.scholarship-link .arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

/* --- HOVER EFFECTS --- */
.scholarship-card:hover {
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(11, 26, 48, 0.08); 
    border-color: #38bdf8; 
}

.scholarship-card:hover .scholarship-link {
    color: #e51d24; 
}

.scholarship-card:hover .scholarship-link .arrow {
    transform: translateX(4px); 
}

/* Footer Section formatting */
.scholarships-footer {
    text-align: center;
    margin-top: 5px;
    padding: 0 20px;
}

.footer-note {
    font-size: 13px; 
    font-weight:500;
    color: #4a596e;
    margin: 0 0 12px 0;
}

.btn-book {
    background-color: #e51d24;
    color: #ffffff;
    font-size: 13.5px; 
    font-weight: 600;
    padding: 10px 24px; 
    border: none;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(229, 29, 36, 0.25);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-book:hover {
    background-color: #c41218;
    transform: translateY(-1px);
}

@media (max-width: 1024px) {
    .scholarships-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .scholarships-title {
        font-size: 24px;
    }
    .scholarships-grid {
        grid-template-columns: 1fr;
    }
}

.section-separator-bar {
    width: 100%;
    max-width: 1200px;
    height: 0.5px;
    background-color: #000000;
    margin: 0 auto;
    clear: both;
    position: relative;
    z-index: 5;
}

.budget-section {
    width: 100%;
    clear: both;
    position: relative;
    z-index: 5;
    padding: 50px 0 60px 0; 
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.budget-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 0 20px;
}

.budget-title {
    font-family: 'Playfair Display', serif;
    font-size: 30px; 
    font-weight: 700;
    color: #0b1a30; 
    margin: 0 0 8px 0;
}

.budget-subtitle {
    font-size: 14px; 
    color: #e51d24; 
    margin: 0;
    font-weight: 500;
}

.budget-container {
    width: 100%;
    max-width: 720px; 
    background-color: #ffffff;
    border: 1px solid #38bdf8; 
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    overflow: hidden; 
    box-sizing: border-box;
    margin: 0 20px 20px 20px;
}

.budget-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0; 
}

.budget-label {
    font-size: 14px;
    font-weight: 600;
    color: #0b1a30;
}

.budget-value {
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
}

.budget-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background-color: #e51d24;
    color: #ffffff;
}

.total-label {
    font-size: 15px;
    font-weight: 700;
}

.total-value {
    font-size: 15px;
    font-weight: 700;
}

.budget-note {
    font-size: 12px;
    color: #64748b;
    max-width: 600px;
    text-align: center;
    line-height: 1.6;
    margin: 0;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .budget-title {
        font-size: 24px;
    }
    .budget-container {
        margin: 0 15px 15px 15px;
    }
    .budget-row, .budget-total-row {
        padding: 14px 16px;
    }
    .budget-label, .budget-value, .total-label, .total-value {
        font-size: 13px;
    }
}

/* ======= Curve Divider ======= 
.top-top-section {
    width: 100%;
    height: 60px;
    background-color: hwb(60 93% 6%);
}*/
.curve-divider {
    position: relative;
    width: 100%;
    line-height: 0;
    background-color: hwb(60 93% 6%);
}
.curve-divider svg {
    display: block;
    width: 100%;
    height: 0px;
}

/* ======= FAQ Section ======= */
.faq-section {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    padding: 40px 0 60px 0; 
}

.faq-section-inner {
    max-width: 1060px; 
    width: 100%;
    margin: 0 auto;
    padding: 20px 40px; 
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    box-sizing: border-box;
    background-color: white;
}

.faq-content {
    flex: 1.2;
    max-width: 540px; 
    box-sizing: border-box;
}

.faq-content h2,
.faq-content h2 span {
    font-family: 'Playfair Display', 'Georgia', serif !important;
    font-size: 34px; 
    font-weight: 800;
    color: #0b1a4d;
    margin-bottom: 24px;
    line-height: 1.2;
}

.faq-content h2 span {
    color: #e51d24;
}
.faq-content > p {
    color: #64748B;
    font-size: 14.5px;
    font-weight: 500;
    margin-bottom: 28px;
}
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.faq-item {
    border: 1.5px solid #e2e5ea;
    border-radius: 10px;
    overflow: hidden;
    background-color: #ffffff;
    transition: all 0.3s ease;
}
.faq-item.active {
    border-color: #e51d24;
    background-color: #fdf1f1;
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
}
.faq-item.active .faq-question {
    color: #e51d24;
}
.faq-question .q-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.faq-question .q-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #94a3b8;
    background-color: transparent;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.faq-item.active .q-icon {
    border-color: #e51d24;
    background-color: #e51d24;
    color: #ffffff;
}
.faq-question .chevron {
    transition: transform 0.3s ease;
    color: #94a3b8;
    font-size: 13px;
    flex-shrink: 0;
}
.faq-item.active .chevron {
    transform: rotate(180deg);
    color: #e51d24;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer p {
    padding: 0 20px 20px 54px;
    font-size: 14px;
    color: #64748b;
    line-height: 1.7;
}
.faq-illustration {
    flex: 0.9;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 380px; 
    padding: 0;
    margin: 0;
}
.faq-illustration img {
    width: 100%;
    height: auto;
    object-fit: contain;
}
@media (max-width: 1024px) {
    .faq-section {
        padding: 0px 40px;
        gap: 30px;
        flex-direction: column;
    }
    .faq-content, .faq-illustration {
        max-width: 100%;
        width: 100%;
    }
    .faq-illustration {
        order: 2;
    }
}

/* ======= Ready to Study CTA / Booking Section ======= */
.cta-booking-wrapper {
    width: 100%;
    padding: 60px 40px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}
.cta-booking-card {
    max-width: 1200px;
    width: 100%;
    display: flex;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid #f3b9bb;
    box-shadow: 0 20px 50px rgba(11, 26, 77, 0.08);
}
.cta-booking-left {
    flex: 1;
    background-color: #1c1c1e;
    color: #ffffff;
    padding: 48px 44px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cta-booking-left h2 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 32px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 6px;
    color: #ffffff;
}
.cta-booking-left h2 .highlight-red {
    color: #e51d24;
    display: block;
}
.cta-booking-left .cta-sub {
    color: #cbd0da;
    font-size: 14.5px;
    line-height: 1.6;
    margin: 16px 0 28px;
    max-width: 460px;
}
.cta-booking-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.cta-booking-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14.5px;
    font-weight: 600;
    color: #f1f1f1;
}
.cta-booking-list li .li-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid #e51d24;
    color: #e51d24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    flex-shrink: 0;
}
.cta-booking-right {
    flex: 1;
    background-color: #ffffff;
    padding: 44px 40px;
    box-sizing: border-box;
    position: relative;
}
.cta-booking-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #f2c94c 0%, #e51d24 45%, #e07a1f 100%);
}
.cta-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 20px;
}
.cta-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cta-form-group.full-width {
    grid-column: 1 / -1;
}
.cta-form-group label {
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
}
.cta-form-group label .req {
    color: #e51d24;
}
.cta-form-group input,
.cta-form-group select {
    border: 1px solid #d7dde7;
    background-color: #f7f9fc;
    border-radius: 8px;
    padding: 13px 16px;
    font-size: 14px;
    color: #1e293b;
    font-family: inherit;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}
.cta-form-group input::placeholder {
    color: #94a3b8;
}
.cta-form-group.select-wrap {
    position: relative;
}
.cta-form-group.select-wrap::after {
    content: '';
    position: absolute;
    right: 16px;
    bottom: 17px;
    width: 10px;
    height: 10px;
    border-right: 2px solid #334155;
    border-bottom: 2px solid #334155;
    transform: rotate(45deg);
    pointer-events: none;
}
.cta-form-group input:focus,
.cta-form-group select:focus {
    border-color: #e51d24;
}
.cta-submit-btn {
    grid-column: 1 / -1;
    margin-top: 6px;
    background-color: #d13b3b;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s ease;
}
.cta-submit-btn:hover {
    background-color: #a71212;
}
.cta-submit-btn svg {
    width: 16px;
    height: 16px;
}

@media (max-width: 1024px) {
    .cta-booking-card {
        flex-direction: column;
        border-radius: 18px;
    }
    .cta-booking-left, .cta-booking-right {
        padding: 36px 28px;
    }
    .cta-booking-left h2 {
        font-size: 26px;
    }
    .cta-form-grid {
        grid-template-columns: 1fr;
    }
    .cta-booking-wrapper {
        padding: 6px 20px;
    }
}
@media (max-width: 480px) {
    .cta-booking-left h2 {
        font-size: 22px;
    }
    .cta-booking-left, .cta-booking-right {
        padding: 28px 20px;
    }
}





        /* ======== Testimonials Section ======== */
.testimonials-section {

    position: relative !important;
    overflow: hidden !important; 
    padding-bottom: 140px !important; 


    position: relative !important;
    margin-top: -40px !important; 
    background-color: #e6e7e8 !important;
    padding: 60px 80px 30px 80px !important; 
    width: 100% !important;
    overflow: visible !important; 

}

.testimonials-section::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 15vh !important; 
    
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,40 Q720,0 1440,40 Z'%3E%3C/path%3E%3C/svg%3E") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-position: bottom center !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.testimonials-section .navigation-row {
    position: relative !important;
    z-index: 5 !important;
    margin-top: 20px !important; 
    margin-bottom: 40px !important;
}

.testimonials-section .header-area,
.testimonials-section .cards-grid,
.testimonials-section .navigation-row {
    position: relative !important;
    z-index: 5 !important;
}

.testimonials-section .header-area {
    text-align: center;
    margin-bottom: 35px;
}

.testimonials-section .title,
.testimonials-section .title span {
    font-family: 'Lora', 'Georgia', serif !important;
    font-weight: 700 !important;
}

.testimonials-section .subtitle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important; 
}

.testimonials-section .subtitle::before,
.testimonials-section .subtitle::after {
    content: "" !important;
    display: inline-block !important;
    width: 24px !important; 
    height: 2px !important;  
    background-color: #e51d24 !important;
}

.testimonials-section .title {
    font-size: 40px;
    font-weight: 700;
    color: hsl(0, 6%, 3%);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.testimonials-section .title span { color: #e51d24; }
.testimonials-section .description {
    color: #300336;
    max-width: 620px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.6;
}
.cards-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important; 
    justify-content: center !important;
    align-items: stretch !important;
    gap: 32px !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 40px auto !important; 
}
.testimonials-section .testimonial-card {

    background-color: #ffffff !important;
    border: 1px solid #eef2f6 !important; 
    border-radius: 15px !important; 
    padding: 32px 28px !important;  
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04) !important;
    
    flex: 1 1 calc(33.333% - 22px) !important; 
    min-width: 260px !important;   
    max-width: 340px !important;    
    min-height: 320px !important;   
    
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;


    background-color: #ffffff !important;
    border: 1px solid #dbe1e8 !important; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important; 
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;

}

.testimonials-section .navigation-row {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 1200px !important;
    clear: both !important;        
    margin-top: 20px !important;  
    margin-bottom: 20px !important;   

}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-5px) !important;
    border: 2.8px solid #f5c7c6 !important; 
    padding: 30.5px 26.5px !important; 
    box-shadow: 0 15px 35px rgba(252, 218, 217, 0.45) !important; 
}

.testimonials-section .stars-container {
    color: #e51d24;
    font-size: 15px;
    margin-bottom: 16px;
    letter-spacing: 3px;
}
.testimonials-section .review-text {
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 18px;
}
.testimonials-section .card-divider {
    height: 1px;
    background-color: #f1f5f9;
    width: 100%;
    margin-bottom: 16px;
    border: none;
}
.testimonials-section .profile-container {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonials-section .avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}
.testimonials-section .user-details h4 {
    color: #0f172a;
    font-size: 14.5px;
    font-weight: 700;
    margin-bottom: 2px;
}
.testimonials-section .user-details p {
    color: #e51d24;
    font-size: 12.5px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .testimonials-section {
        margin-top: 60px !important;
        padding: 60px 40px 140px 40px !important;
    }
    .testimonials-section::after {
        height: 80px !important; 
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        margin-top: 40px !important;
        padding: 40px 20px 100px 20px !important;
    }
    .testimonials-section::after {
        height: 50px !important;
    }
    .testimonials-section .testimonial-card {
        flex: 0 0 100% !important;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 24px !important;
    }
}

.testimonials-section .arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: none;
}


.testimonials-section .arrow-btn.back {
    background-color: #fcdad9;
    border: 1px solid #e51d24;
}
.testimonials-section .arrow-btn.back:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.testimonials-section .arrow-btn.next {
    background-color: #fcdad9;
    border: 1px solid #e51d24;
}

.testimonials-section .arrow-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: #e51d24;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.testimonials-section .arrow-btn.back svg {
    stroke: #8f3a3a;
}

.testimonials-section .pagination-container {
    display: flex;
    align-items: center;
    gap: 8px;
}


.testimonials-section .page-num {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    background-color: #ffffff !important;
    color: #334155 !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.testimonials-section .page-num.active {
    background-color: #fcdad9 !important; 
    border: 1px solid #e51d24 !important;   
    color: #e51d24 !important;               
}

.testimonials-section .page-num:not(.active):hover {
    border-color: #e51d24 !important;
    background-color: #fcdad9 !important;
}


.testimonials-section .page-dots {
    color: #64748b !important;
    font-weight: 600 !important;
    padding: 0 4px !important;
}

.testimonials-section .navigation-row {
    position: relative !important;
    z-index: 5 !important;
    margin-top: 20px !important; 
    margin-bottom: 20px !important;
}



@media (max-width: 480px) {
    .testimonials-section .arrow-btn {
        width: 42px;
        height: 42px;
    }
}

/* ============================================================
   STUDY ABROAD PAGES — MOBILE RESPONSIVE FIXES
   ============================================================ */

/* --- 768px (Tablet / Large Mobile) --- */
@media (max-width: 768px) {

    /* Hero Section */
    .hero-content h1 {
        font-size: clamp(28px, 6vw, 38px);
    }
    .hero-content p {
        font-size: 15px;
        margin-bottom: 24px;
    }

    /* Why Choose Section */
    .why-choose-section {
        padding: 50px 0 40px 0;
    }
    .why-choose-container {
        flex-direction: column;
        gap: 30px;
    }
    .why-choose-graphics {
        padding-right: 0;
        padding-bottom: 0;
        width: 100%;
    }
    .graphic-accent-box {
        width: 80%;
        height: 50%;
    }
    .why-choose-content h2 {
        font-size: 28px;
    }
    .why-choose-content .sub-badge-text {
        font-size: 10px;
    }

    /* Stats Strip */
    .stats-strip-section {
        padding: 60px 0;
        min-height: auto;
    }
    .stats-strip-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px 0;
    }
    .stat-box-item {
        flex: 0 0 33.33%;
        padding: 10px 8px;
    }
    .stat-box-item:not(:last-child)::after {
        display: none;
    }
    .stat-value {
        font-size: 22px;
    }
    .stat-label {
        font-size: 11px;
    }

    /* Intakes Section */
    .intakes-section {
        padding: 50px 0;
    }
    .intakes-header-container h2 {
        font-size: 28px;
    }
    .intakes-table-container {
        width: 92%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .intakes-table {
        min-width: 600px;
    }

    /* Feature Cards */
    .feature-card-item {
        padding: 10px 14px;
        gap: 12px;
    }
    .feature-card-text h3 {
        font-size: 14px;
    }
    .feature-card-text p {
        font-size: 12px;
    }

    /* FAQ Section */
    .faq-section-inner {
        padding: 0 20px;
    }
    .faq-illustration {
        display: none;
    }

    /* Info Note Box */
    .info-note-box p {
        font-size: 12px;
    }
}

/* --- 480px (Small Mobile) --- */
@media (max-width: 480px) {

    /* Hero Section */
    .hero-content h1 {
        font-size: 24px;
        letter-spacing: -0.5px;
    }
    .hero-content p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    .info-pill-badge {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 14px;
    }
    .hero-btn {
        padding: 12px 20px;
        font-size: 13px;
    }

    /* Why Choose Section */
    .why-choose-section {
        padding: 40px 0 30px 0;
    }
    .why-choose-container {
        width: 92%;
        gap: 24px;
    }
    .why-choose-content h2 {
        font-size: 24px;
    }
    .feature-card-item {
        padding: 8px 12px;
        gap: 10px;
    }
    .check-icon-circle {
        width: 16px;
        height: 16px;
    }
    .check-icon-circle i {
        font-size: 8px;
    }
    .feature-card-text h3 {
        font-size: 13px;
    }
    .feature-card-text p {
        font-size: 11px;
    }

    /* Stats Strip */
    .stats-strip-section {
        padding: 40px 0;
    }
    .stats-strip-container {
        width: 92%;
        gap: 10px 0;
    }
    .stat-box-item {
        flex: 0 0 50%;
        padding: 8px 4px;
    }
    .stat-box-item:last-child {
        flex: 0 0 100%;
    }
    .stat-value {
        font-size: 18px;
    }
    .stat-label {
        font-size: 10px;
    }

    /* Intakes Section */
    .intakes-section {
        padding: 40px 0;
    }
    .intakes-header-container {
        margin-bottom: 24px;
    }
    .intakes-header-container h2 {
        font-size: 22px;
    }
    .intakes-sub-text {
        font-size: 11px;
    }
    .intakes-table-container {
        width: 94%;
        border-radius: 10px;
    }
    .intakes-table th {
        padding: 14px 16px;
        font-size: 12px;
    }
    .intakes-table td {
        padding: 14px 16px;
        font-size: 12px;
    }
    .apply-action-link {
        font-size: 12px;
    }

    /* Scholarships Section */
    .scholarships-title {
        font-size: 22px;
    }
    .scholarships-section {
        padding: 40px 0;
    }

    /* Budget Section */
    .budget-section {
        padding: 40px 0;
    }
    .budget-title {
        font-size: 22px;
    }

    /* FAQ Section */
    .faq-section-inner {
        padding: 0 16px;
    }

    /* CTA Booking Section */
    .cta-booking-card {
        border-radius: 14px;
    }
}

@media (max-width: 400px) {
    .hero-container {
        padding: 14px 12px;
    }

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

    .hero-content p {
        font-size: 12px;
    }

    .info-pill-badge {
        font-size: 10px;
        padding: 5px 12px;
    }

    .hero-btn {
        padding: 10px 18px;
        font-size: 12px;
    }

    .why-choose-section {
        padding: 32px 12px;
    }

    .feature-card-item {
        padding: 14px;
    }

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

    .feature-card-item p {
        font-size: 12px;
    }

    .stats-section {
        padding: 32px 12px;
    }

    .stats-number {
        font-size: 22px;
    }

    .stats-label {
        font-size: 11px;
    }

    .intakes-section {
        padding: 32px 12px;
    }

    .intakes-table th {
        padding: 10px 12px;
        font-size: 11px;
    }

    .intakes-table td {
        padding: 10px 12px;
        font-size: 11px;
    }

    .scholarships-section {
        padding: 32px 0;
    }

    .scholarships-title {
        font-size: 20px;
    }

    .budget-section {
        padding: 32px 0;
    }

    .budget-title {
        font-size: 20px;
    }

    .faq-section-inner {
        padding: 0 12px;
    }

    .faq-section-inner h3 {
        font-size: 18px;
    }

    .cta-booking-left h2 {
        font-size: 18px;
    }

    .cta-booking-left, .cta-booking-right {
        padding: 18px 14px;
    }

    .cta-booking-card {
        border-radius: 12px;
    }

    .testimonials-section {
        padding: 24px 12px !important;
    }

    .testimonials-section .testimonial-card {
        padding: 20px 16px;
        min-height: 260px;
    }

    .testimonials-section .review-text {
        font-size: 13px;
    }

    .testimonials-section .user-details h4 {
        font-size: 13px;
    }

    .testimonials-section .user-details p {
        font-size: 11px;
    }

    .testimonials-section .arrow-btn {
        width: 36px;
        height: 36px;
    }

    .faq-section {
        gap: 24px;
        padding: 24px 12px;
    }

    .faq-section .faq-content h2 {
        font-size: 20px;
    }

    .faq-section .faq-question {
        padding: 12px 14px;
        font-size: 12px;
    }

    .faq-section .faq-answer p {
        font-size: 12px;
        padding: 4px 14px 14px 14px;
    }

    .cta-form-grid {
        gap: 12px;
    }

    .cta-form-grid .form-group label {
        font-size: 12px;
    }

    .cta-form-grid .form-group input,
    .cta-form-grid .form-group select,
    .cta-form-grid .form-group textarea {
        padding: 10px 12px;
        font-size: 12px;
    }
}