/* =========================================
   HERO SECTION CSS (style.css)
   Specific styling for the study abroad hero
   ========================================= */

/* Base Reset & Body Styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(to right, #fff4e6 0%, #ffffff 50%, #e0f2fe 100%);
    height: 650px;
    min-height: 650px;
    display: flex;
    align-items: flex-end;
}

/* Background Elements */
.bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.6;
    z-index: 0;
    pointer-events: none;
}

.monuments-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('./aadi-home-ui/Hero Bg.webp') no-repeat bottom center;
    background-size: 100% auto;
    z-index: 1;
    pointer-events: none;
    mix-blend-mode: multiply;
}

/* Header Breadcrumb */
.top-breadcrumb {
    position: absolute;
    top: 24px;
    left: 48px;
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
    z-index: 10;
}

/* Hero container specific tweaks */
.hero-container {
    z-index: 10;
    padding-top: 0;
    padding-bottom: 0;
    height: 100%;
    align-items: flex-end !important;
}

/* =========================================
   LEFT TIMELINE COLUMN
   ========================================= */
.timeline-column {
    width: 400px;
    height: 600px;
    position: relative;
    z-index: 10;
}

.timeline-svg {
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.timeline-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 20px 6px 6px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    gap: 12px;
    width: max-content;
    transition: all 0.3s ease-in-out;
    cursor: default;
    /* Critical for perfect vertical alignment with the dots */
    transform: translateY(-50%);
    z-index: 5;
    
    /* Animation */
    opacity: 0;
}

.timeline-item.visible {
    animation: timelineFadeIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes timelineFadeIn {
    0% {
        opacity: 0;
        margin-top: 15px;
    }
    100% {
        opacity: 1;
        margin-top: 0;
    }
}

#time-card-1 { animation-delay: 0.8s; }
#time-card-2 { animation-delay: 1.6s; }
#time-card-3 { animation-delay: 2.4s; }
#time-card-4 { animation-delay: 3.2s; }
#time-card-5 { animation-delay: 4.0s; }

.timeline-item:hover {
    transform: translateY(calc(-50% - 3px)) scale(1.02) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.timeline-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    flex-shrink: 0;
}

/* Icon Colors */
.icon-bg-1 {
    background-color: #0c7eb1;
}

/* Blue */
.icon-bg-2 {
    background-color: #14b8a6;
}

/* Teal */
.icon-bg-3 {
    background-color: #1e40af;
}

/* Dark Blue */
.icon-bg-4 {
    background-color: #0ea5e9;
}

/* Bright Blue */
.icon-bg-5 {
    background-color: #0c7eb1;
}

/* Blue */

.timeline-title {
    font-size: 13px;
    line-height: 1.2;
    margin-bottom: 2px;
    white-space: nowrap;
}

.timeline-desc {
    font-size: 10px;
    color: #64748b;
    white-space: nowrap;
}

/* =========================================
   CENTER TEXT COLUMN
   ========================================= */
.center-column {
    flex: 1;
    margin-top: -60px;
    /* Slight optical adjustment upwards */
}

.trust-badge {
    font-size: 17px;
}

.main-heading {
    font-size: 56px;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-align: center;
}

.sub-text-p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 580px;
    margin-bottom: 24px;
    text-align: center;
}

/* =========================================
   RIGHT IMAGE COLUMN
   ========================================= */
.right-column {
    width: 350px;
    height: 100%;
    position: relative;
}

.girl-image-container {
    position: absolute;
    bottom: 0;
    right: -60px;
    width: 580px;
    height: 108%;
    z-index: 5;
}

.girl-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
}

.girl-placeholder {
    width: 350px;
    height: 500px;
    background: rgba(0, 0, 0, 0.05);
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    color: #94a3b8;
}

/* =========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   ========================================= */

/* Tablet breakpoint */
@media (max-width: 1024px) {
    .hero-section {
        height: auto !important;
        min-height: auto !important;
        padding-top: 40px;
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .hero-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 0;
        position: relative;
    }

    .monuments-bg {
        top: 140px !important;
        bottom: auto !important;
        height: 280px !important;
        background-size: cover !important;
        opacity: 0.2;
    }

    .center-column {
        order: 1;
        margin-top: 0 !important;
        max-width: 600px;
        width: 100%;
        padding: 0 15px;
        z-index: 10;
    }

    .center-column .main-heading {
        font-size: 2.2rem !important;
        line-height: 1.2;
    }

    .center-column .sub-text-p {
        font-size: 14px !important;
        margin-bottom: 25px !important;
    }

    .center-column .btn-primary {
        font-size: 16px;
        padding: 10px 12px 10px 24px;
    }

    /* Girl image: overlaid behind the timeline */
    .right-column {
        order: 2;
        display: flex !important;
        position: relative !important;
        width: 100%;
        max-width: 360px;
        height: 480px;
        z-index: 2;
        pointer-events: none;
        justify-content: center;
        align-items: flex-end;
        margin: 0 auto;
    }

    .girl-image-container {
        position: absolute !important;
        bottom: 0 !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: 320px !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
    }

    .girl-image-container img {
        width: auto !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: bottom center !important;
        display: block !important;
        opacity: 0.95;
    }

    /* Timeline overlays on the girl image */
    .timeline-column {
        order: 3;
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 400px !important;
        height: auto !important;
        aspect-ratio: 400 / 600;
        transform: none !important;
        margin: -380px auto -60px !important;
        z-index: 5;
    }

    .timeline-svg {
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
    }

    /* Removed tablet specific position overrides so inline styles work */
}

/* Mobile breakpoint - matching reference image exactly */
@media (max-width: 768px) {
    .hero-section {
        height: auto !important;
        min-height: auto !important;
        padding-top: 30px;
        padding-bottom: 0;
        background: linear-gradient(to bottom, #fff4e6 0%, #ffffff 40%, #e8f4fd 100%);
    }

    .hero-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 0;
        padding: 0 16px;
    }

    .monuments-bg {
        top: 0 !important;
        bottom: auto !important;
        height: 100% !important;
        background: url('./aadi-home-ui/Hero-mobile.png') no-repeat center 20px !important;
        background-size: 100% auto !important;
        opacity: 1;
    }

    .bg-pattern {
        opacity: 0.3;
    }

    /* Center text column on top */
    .center-column {
        order: 1;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
        max-width: 100%;
        width: 100%;
        padding: 0 10px;
        z-index: 10;
    }

    .trust-badge {
        font-size: 12px;
        margin-bottom: 12px !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        display: block !important;
        white-space: nowrap !important;
        box-shadow: none !important;
    }

    .center-column .main-heading {
        font-size: clamp(1.1rem, 6vw, 1.35rem) !important;
        line-height: 1.18 !important;
        letter-spacing: -0.3px !important;
        margin-bottom: 14px !important;
        word-break: keep-all;
        overflow-wrap: break-word;
        text-align: center !important;
    }

    .center-column .sub-text-p {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
        max-width: 320px;
        margin-left: auto !important;
        margin-right: auto !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .center-column .btn-primary {
        font-size: 14px;
        padding: 10px 10px 10px 20px;
        white-space: nowrap;
    }

    .btn-icon-circle {
        width: 32px;
        height: 32px;
        margin-left: 12px;
    }

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

    /* Girl image in the middle */
    .right-column {
        order: 2;
        display: flex !important;
        position: relative !important;
        width: 100%;
        max-width: 300px;
        height: 380px;
        z-index: 2;
        pointer-events: none;
        justify-content: center;
        align-items: flex-end;
        margin: 20px auto 0;
        /* Reduced gap to stay close to buttons */
    }

    .girl-image-container {
        position: absolute !important;
        bottom: 0 !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: 280px !important;
        height: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
    }

    .girl-image-container img {
        width: auto !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: bottom center !important;
        display: block !important;
        opacity: 0.65;
        /* Faded/light backdrop effect as requested */
    }

    /* Timeline items scale correctly with container and overlap the girl image */
    .timeline-column {
        order: 3;
        display: block !important;
        position: relative !important;
        width: 100% !important;
        max-width: 380px !important;
        height: auto !important;
        aspect-ratio: 400 / 600;
        transform: none !important;
        margin: -340px auto 20px !important;
        z-index: 5;
    }

    .desktop-svg {
        display: none !important;
    }

    .mobile-svg {
        display: block !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
    }

    /* 5-point zigzag positions for mobile exactly next to the dots */
    #time-card-1 {
        left: 40% !important;
        top: 11% !important;
    }

    #time-card-2 {
        left: 14% !important;
        top: 30% !important;
    }

    #time-card-3 {
        left: 40% !important;
        top: 50% !important;
    }

    #time-card-4 {
        left: 13% !important;
        top: 70% !important;
    }

    #time-card-5 {
        left: 40% !important;
        top: 90% !important;
    }

    .timeline-item {
        padding: 5px 14px 5px 5px !important;
        gap: 8px !important;
        max-width: 50% !important;
        /* Ensure cards don't overflow horizontally on right side */
    }

    .timeline-icon {
        width: 36px !important;
        height: 36px !important;
    }

    .timeline-icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .timeline-title {
        font-size: 11px !important;
    }

    .timeline-desc {
        font-size: 9px !important;
    }

    /* Removed mobile position overrides so inline styles are used */
}

/* Small mobile (375px and below) */
@media (max-width: 400px) {
    .center-column .main-heading {
        font-size: 1.6rem !important;
    }

    .center-column .sub-text-p {
        font-size: 12px !important;
        max-width: 280px;
    }

    .center-column .btn-primary {
        font-size: 13px;
        padding: 9px 8px 9px 16px;
    }

    .right-column {
        max-width: 260px;
        height: 340px;
    }

    .girl-image-container {
        width: 240px !important;
    }

    .timeline-column {
        max-width: 300px !important;
        height: 400px !important;
        transform: scale(0.88);
        transform-origin: top center;
    }

    .timeline-item {
        padding: 4px 10px 4px 4px !important;
        gap: 6px !important;
    }

    .timeline-icon {
        width: 32px !important;
        height: 32px !important;
    }

    .timeline-title {
        font-size: 10px !important;
    }

    .timeline-desc {
        font-size: 8px !important;
    }
}


/* =========================================
   STATS BAR SECTION
   ========================================= */
.z-index-20 {
    z-index: 20;
}

.stats-bar {
    background: linear-gradient(to right, #fff7ed 0%, #ffffff 50%, #eff6ff 100%);
    border-radius: 30px;
    padding: 20px 30px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.8);
    margin-top: 30px !important;
    /* Clean spacing separating it from the hero section */
    margin-bottom: 30px !important;
    /* Space before the next section */
}

.stat-item {
    gap: 16px !important;
    padding: 0 10px !important;
}

.stat-icon-circle {
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-icon-circle svg,
.wts-stat-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
}

.stat-number {
    font-size: 34px;
    line-height: 1;
    margin-bottom: 4px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 15px;
    line-height: 1.2;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(0, 0, 0, 0.06);
}

/* Responsiveness for Stats Bar */
@media (max-width: 992px) {
    .stats-bar {
        flex-wrap: wrap;
        padding: 24px 20px;
        gap: 20px;
        margin-top: 20px;
        border-radius: 24px;
    }

    .stat-item {
        width: calc(50% - 12px);
        justify-content: flex-start;
        gap: 12px;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats-bar {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        padding: 20px 10px !important;
        gap: 20px 5px !important;
        margin-top: -10px !important;
        margin-bottom: 20px !important;
        border-radius: 20px !important;
        background: #ffffff !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        border: none !important;
    }

    .stat-item {
        width: 100% !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .stat-icon-circle {
        width: 40px !important;
        height: 40px !important;
        flex-shrink: 0 !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06) !important;
    }

    .stat-icon-circle svg,
    .wts-stat-icon {
        width: 22px !important;
        height: 22px !important;
        object-fit: contain !important;
    }

    .stat-number {
        font-size: 20px !important;
        letter-spacing: -0.5px !important;
    }

    .stat-label {
        font-size: 11px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        overflow-wrap: break-word !important;
    }

    .stat-divider {
        display: none;
    }
}

@media (max-width: 400px) {
    .stats-bar {
        padding: 16px 12px;
        gap: 12px;
    }

    .stat-item {
        width: calc(50% - 8px);
        gap: 8px;
        padding: 0 2px;
    }

    .stat-icon-circle {
        width: 42px;
        height: 42px;
    }

    .stat-icon-circle svg,
    .wts-stat-icon {
        width: 22px;
        height: 22px;
        object-fit: contain;
    }

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

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

/* =========================================
   TOP COUNTRIES SECTION
   ========================================= */
.country-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.country-img-wrapper {
    position: relative;
    height: 220px;
    width: 100%;
}

.country-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-flag {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.country-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #0f172a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.country-content {
    padding: 28px;
}

.country-title {
    font-size: 28px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
}

.country-subtitle {
    font-size: 16px;
    font-weight: 700;
    color: #f97316;
    margin-bottom: 24px;
}

.country-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.country-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 15px;
    color: #475569;
    font-weight: 500;
}

.country-feature-icon {
    color: #3b82f6;
    flex-shrink: 0;
    margin-top: 2px;
}

.btn-explore {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease;
}

.btn-explore-orange {
    background: #f97316;
    color: #ffffff;
}

.btn-explore-orange:hover {
    background: #ea580c;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.btn-explore-blue {
    background: #0f172a;
    color: #ffffff;
}

.btn-explore-blue:hover {
    background: #1e293b;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3);
}

/* =========================================
   TOP COUNTRIES CAROUSEL STYLING
   ========================================= */
.countries-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 40px auto 20px auto;
    overflow: hidden;
    padding: 20px 0;
}

.countries-carousel-container {
    width: 100%;
    overflow: visible;
    padding: 20px 0;
}

.countries-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Base Country Card overrides for Carousel */
.countries-carousel-track .country-card {
    flex: 0 0 380px;
    width: 380px;
    opacity: 0.5;
    transform: scale(0.9);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
}

/* Active Highlight Card styling */
.countries-carousel-track .country-card.active {
    opacity: 1;
    transform: scale(1.05);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.15);
    pointer-events: auto;
}

/* Hover Scale on active card */
.countries-carousel-track .country-card.active:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.22);
}

/* Navigation Buttons */
.carousel-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-btn svg {
    transition: transform 0.3s ease;
}

.carousel-btn:hover {
    background: #ffffff;
    color: #f97316;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.15);
    border-color: rgba(249, 115, 22, 0.3);
    transform: scale(1.08);
}

.carousel-btn:active {
    transform: scale(0.95);
}

/* Bottom Controls Container */
.carousel-controls-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
}

.carousel-controls-bottom .carousel-dots {
    margin: 0;
}

/* Indicator Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 10px 0;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-dots .dot.active {
    background: #f97316;
    width: 28px;
    border-radius: 20px;
}

/* Responsive Carousel Overrides */
@media (max-width: 992px) {
    .countries-carousel-track .country-card {
        flex: 0 0 340px;
        width: 340px;
    }
}

@media (max-width: 768px) {
    .countries-carousel-track .country-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        opacity: 0.5 !important;
        transform: scale(1) !important;
    }

    .countries-carousel-track .country-card.active {
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    .carousel-btn {
        width: 40px !important;
        height: 40px !important;
    }
}

/* Dynamically color active and inactive card buttons */
.countries-carousel-track .country-card .btn-explore {
    background: #0f172a !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.countries-carousel-track .country-card .btn-explore:hover {
    background: #1e293b !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3) !important;
}

.countries-carousel-track .country-card.active .btn-explore {
    background: #f97316 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3) !important;
}

.countries-carousel-track .country-card.active .btn-explore:hover {
    background: #ea580c !important;
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.45) !important;
}

/* =========================================
   5 STEPS JOURNEY SECTION
   ========================================= */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.step-card {
    display: flex;
    border-radius: 28px;
    overflow: hidden;
    min-height: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.6s ease, visibility 0.6s;
}

/* Scrollytelling Setup using CSS Grid (Desktop) */
@media (min-width: 992px) {
    .steps-container {
        display: grid !important;
        grid-template-columns: 1fr 1.1fr;
        gap: 0 40px;
        position: relative;
    }

    .step-card {
        display: contents !important;
    }

    .step-left {
        grid-column: 1;
        /* Extra padding to create scrolling space between text blocks */
        padding: 80px 40px 80px 0 !important;
        opacity: 0.3;
        transition: opacity 0.4s ease;
    }

    /* Push first and last step text to vertically align perfectly with the sticky image */
    .step-card:first-child .step-left {
        padding-top: 180px !important;
    }

    .step-card:last-child .step-left {
        padding-bottom: 180px !important;
    }

    .step-left.active-text {
        opacity: 1;
    }

    .step-right {
        grid-column: 2;
        grid-row: 1 / 6;
        /* Span all 5 rows */
        position: sticky !important;
        top: calc(50vh - 210px);
        height: 500px;
        /* Fixed height for the image area */
        opacity: 0;
        visibility: hidden;
        transform: translateY(30px);
        transition: all 0.5s ease;
        border-radius: 28px;
        /* overflow: visible to allow floating cards */
    }

    .step-right.active-image {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        z-index: 5;
    }
}

/* Background Gradients for each step to mimic the subtle colors */
.step-bg-1 {
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 60%);
}

.step-bg-2 {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 60%);
}

.step-bg-3 {
    background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 60%);
}

.step-bg-4 {
    background: linear-gradient(135deg, #faf5ff 0%, #ffffff 60%);
}

.step-bg-5 {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 60%);
}

.step-left {
    flex: 1;
    display: flex;
    align-items: stretch;
    padding: 60px 40px 60px 60px;
}

.step-number-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 35px;
    width: 48px;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f97316;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.25);
    z-index: 2;
}

.step-line {
    width: 2px;
    flex-grow: 1;
    background: #fed7aa;
    margin-top: 12px;
    margin-bottom: 12px;
    border-radius: 2px;
}

.step-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 450px;
}

.step-title {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.step-desc {
    font-size: 16px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f97316;
    color: #ffffff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    width: max-content;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}

.btn-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.35);
}

.btn-step-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
}

.btn-step-icon svg {
    width: 14px;
    height: 14px;
}

.step-right {
    flex: 1.1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    position: relative;
}

.step-right img {
    width: 100%;
    height: 90%;
    object-fit: cover;
    object-position: right center;
    border-radius: 28px;
}

@media (max-width: 992px) {
    .step-card {
        flex-direction: column-reverse;
    }

    .step-left {
        padding: 40px;
    }

    .step-right {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .step-left {
        padding: 10px 20px 30px 20px;
    }

    .step-number-col {
        margin-right: 20px;
    }

    .step-title {
        font-size: 26px;
    }
}

/* =========================================
   TOP COUNTRIES CAROUSEL STYLING
   ========================================= */
.countries-carousel-wrapper {
    position: relative;
    width: 100%;
    margin: 40px auto 20px auto;
    overflow: hidden;
    /* Clean clipping at wrapper boundaries */
    padding: 20px 0;
}

.countries-carousel-container {
    width: 100%;
    overflow: visible;
    /* Let cards breathe and display shadows correctly */
    padding: 20px 0;
}

.countries-carousel-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

/* Base Country Card overrides for Carousel */
.countries-carousel-track .country-card {
    flex: 0 0 380px;
    width: 380px;
    opacity: 0.5;
    filter: blur(3px) grayscale(40%);
    transform: scale(0.9);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1),
        filter 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    /* Side cards aren't interactive */
}

/* Active Highlight Card styling */
.countries-carousel-track .country-card.active {
    opacity: 1;
    filter: blur(0) grayscale(0);
    transform: scale(1.05);
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.15);
    pointer-events: auto;
    /* Enable hover/clicks on center active card */
}

/* Hover Scale on active card */
.countries-carousel-track .country-card.active:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.22);
}

/* Navigation Buttons default state */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.8);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* Default hidden with slight offset transition */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        transform 0.4s cubic-bezier(0.25, 1, 0.5, 1),
        background 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Offset for smooth entrance slide */
.prev-btn {
    left: 20px;
    transform: translateY(-50%) translateX(-10px);
}

.next-btn {
    right: 20px;
    transform: translateY(-50%) translateX(10px);
}

/* When countries section is hovered, show arrows and reset offset */
.countries-section:hover .prev-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

.countries-section:hover .next-btn {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(-50%) translateX(0);
}

/* Hovering directly on the arrow button itself scales it up slightly */
.countries-section:hover .prev-btn:hover {
    background: #ffffff;
    color: #f97316;
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
    transform: translateY(-50%) translateX(0) scale(1.08);
}

.countries-section:hover .next-btn:hover {
    background: #ffffff;
    color: #f97316;
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.2);
    border-color: rgba(249, 115, 22, 0.4);
    transform: translateY(-50%) translateX(0) scale(1.08);
}

/* Active clicks */
.countries-section:hover .prev-btn:active {
    transform: translateY(-50%) translateX(0) scale(0.95);
}

.countries-section:hover .next-btn:active {
    transform: translateY(-50%) translateX(0) scale(0.95);
}

/* Indicator Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 10px 0;
}

.carousel-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel-dots .dot.active {
    background: #f97316;
    width: 28px;
    border-radius: 20px;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .countries-carousel-track .country-card {
        flex: 0 0 340px;
        width: 340px;
    }
}

@media (max-width: 768px) {
    .countries-carousel-track .country-card {
        flex: 0 0 300px;
        width: 300px;
        opacity: 0.6;
        /* Higher base opacity for smaller devices */
    }

    .prev-btn, .next-btn {
        left: auto !important;
        right: auto !important;
        transform: none !important;
    }

    .carousel-btn {
        position: static !important;
        width: 46px !important;
        height: 46px !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 480px) {
    .countries-carousel-track .country-card {
        flex: 0 0 280px;
        width: 280px;
    }
}

/* Dynamically color active and inactive card buttons */
/* Inactive card buttons: turn them dark blue/black (the second color) */
.countries-carousel-track .country-card .btn-explore {
    background: #0f172a !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.countries-carousel-track .country-card .btn-explore:hover {
    background: #1e293b !important;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.3) !important;
}

/* Active card buttons: turn them orange! */
.countries-carousel-track .country-card.active .btn-explore {
    background: #f97316 !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3) !important;
}

.countries-carousel-track .country-card.active .btn-explore:hover {
    background: #ea580c !important;
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.45) !important;
}

/* =========================================
   STUDY ABROAD SECTION (WTS VIDEO)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

.study-abroad-section {
    background-color: #f8fafc;
    padding: 80px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
    position: relative;
    overflow: hidden;
}

/* Container Card styling */
.container-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    max-width: 1310px;
    width: 100%;
    padding: 50px 60px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Flex layout inside the card */
.flex-layout {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 10;
    width: 100%;
}

/* Left content column */
.content-col {
    flex: 0 0 45%;
    max-width: 45%;
    box-sizing: border-box;
}

/* Right video column */
.video-col {
    flex: 0 0 52%;
    max-width: 52%;
    position: relative;
    box-sizing: border-box;
}

/* Trust Badge styling */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 20px;
}

.star {
    color: #FF7A00;
    font-size: 13px;
}

.badge-text {
    color: #0B1A4A;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Main Heading styling */
.main-heading {
    font-size: 52px;
    font-weight: 800;
    color: #0B1A4A;
    line-height: 1.1;
    margin: 0 0 20px 0;
    letter-spacing: -1.5px;
}

.highlight {
    color: #FF7A00;
}

.sub-text {
    color: #64748b;
    font-size: 18px;
    line-height: 1.5;
    max-width: 380px;
    margin: 0 0 35px 0;
}

/* CTA Group styling */
.cta-group {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

/* Primary CTA Button */
.cta-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #FF7A00;
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    border: none;
    padding: 15px 28px;
    border-radius: 9999px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.3);
    transition: background 0.2s;
    white-space: nowrap;
}

.cta-btn:hover {
    background-color: #e06b00;
}

/* Student Avatar Counter styling */
.avatar-counter {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.avatar-list {
    display: flex;
    align-items: center;
}

.avatar-list img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    object-fit: cover;
    margin-right: -10px;
    position: relative;
    z-index: 1;
    transition: transform 0.2s ease, z-index 0.2s ease;
}

.avatar-list img:hover {
    transform: scale(1.15) translateY(-2px);
    z-index: 10;
}

.avatar-more {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background-color: #FFEAD6;
    color: #FF7A00;
    font-size: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    transition: transform 0.2s ease, z-index 0.2s ease;
}

.avatar-more:hover {
    transform: scale(1.15) translateY(-2px);
    z-index: 10;
}

.counter-text {
    color: #2F80ED;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}

/* Decorative corner borders behind the video player */
.border-top-left {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 90px;
    height: 90px;
    border-top: 4px solid #FF7A00;
    border-left: 4px solid #FF7A00;
    border-radius: 4px 0 0 0;
    pointer-events: none;
    z-index: 1;
}

.border-bottom-right {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 90px;
    height: 90px;
    border-bottom: 4px solid #FF7A00;
    border-right: 4px solid #FF7A00;
    border-radius: 0 0 4px 0;
    pointer-events: none;
    z-index: 1;
}

/* Main Video Player Container */
.video-box {
    position: relative;
    background-color: #000000;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
    width: 100%;
    aspect-ratio: 16 / 11;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    z-index: 5;
}

.video-box video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Center play button wrapper & styling */
.play-btn-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.play-btn {
    width: 70px;
    height: 70px;
    background-color: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.play-btn:hover {
    transform: scale(1.06);
}

.play-triangle {
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 15px solid #0B1A4A;
    margin-left: 4px;
}

.video-box.is-playing .play-btn {
    opacity: 0;
    pointer-events: none;
}

/* Video controls bar at the bottom */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-sizing: border-box;
    z-index: 30;
}

.progress-bar {
    flex: 1;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    position: relative;
    cursor: pointer;
}

.progress-filled {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: #FF7A00;
    border-radius: 9999px;
}

.control-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon {
    width: 16px;
    height: 16px;
    cursor: pointer;
    fill: white;
    opacity: 0.85;
}

/* Background decorative shapes */
.shape-curve {
    position: absolute;
    top: 40px;
    left: 35%;
    width: 110px;
    height: 55px;
    border-top: 1px solid #fed7aa;
    border-right: 1px solid #fed7aa;
    border-radius: 0 40px 0 0;
    opacity: 0.6;
    pointer-events: none;
}

.shape-curve-bottom {
    position: absolute;
    bottom: 40px;
    left: 55%;
    width: 110px;
    height: 55px;
    border-bottom: 1px solid #bfdbfe;
    border-left: 1px solid #bfdbfe;
    border-radius: 0 0 0 40px;
    opacity: 0.6;
    pointer-events: none;
}

.shape-dots {
    position: absolute;
    top: 40px;
    right: 40px;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    opacity: 0.2;
    pointer-events: none;
    z-index: 2;
}

.shape-dots span {
    width: 4px;
    height: 4px;
    background-color: #94a3b8;
    border-radius: 50%;
}

/* Mobile responsive styling overrides */
@media (max-width: 991px) {
    .study-abroad-section {
        padding: 40px 20px;
    }

    .container-card {
        padding: 30px 24px;
    }

    .flex-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        text-align: center !important;
    }

    .content-col {
        display: contents !important;
    }

    .study-abroad-section .trust-badge {
        order: 1 !important;
        margin-bottom: 0 !important;
    }

    .study-abroad-section .main-heading {
        order: 2 !important;
        font-size: 36px !important;
        margin: 0 !important;
    }

    .study-abroad-section .sub-text {
        order: 3 !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    .video-col {
        order: 4 !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        margin-top: 16px !important;
    }

    .study-abroad-section .cta-group {
        order: 5 !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        margin-top: 16px !important;
    }
}

/* =========================================
   EXCLUSIVE STUDENT SUPPORT SERVICES SECTION
   ========================================= */
.services-section-wrapper {
    background-color: #f8fafc;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 50px 24px;
    box-sizing: border-box;
    color: #0b1a4a;
    position: relative;
    overflow: hidden;
}

.services-container {
    max-width: 1350px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* Header Styles */
.services-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
}

.services-sub-title {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.sub-orange {
    color: #ff7a00;
}

.sub-divider {
    width: 16px;
    height: 2px;
    background-color: #ff7a00;
    display: inline-block;
}

.sub-blue {
    color: #0b1a4a;
}

.services-main-title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    color: #0b1a4a;
    margin: 0 auto;
    max-width: 800px;
    letter-spacing: -1px;
}

.title-highlight {
    color: #ff7a00;
}

/* Header bottom decorative line & dot */
.header-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin: 20px auto 0 auto;
}

.header-line::before {
    content: '';
    width: 48px;
    height: 3px;
    background-color: #ff7a00;
    border-radius: 2px;
    display: block;
}

/* .header-line::after {
    content: '';
    width: 16px;
    height: 3px;
    background-color: #f472b6;
    border-radius: 2px;
    display: block;
} */

/* Grid Layout (3 Columns) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* Service Card Styles */
.service-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 40px 32px;
    box-sizing: border-box;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(11, 26, 74, 0.08);
}

/* Dots pattern inside card (Colored by Theme) */
.card-dots {
    position: absolute;
    top: 24px;
    left: 24px;
    display: grid;
    grid-template-columns: repeat(5, 6fr);
    gap: 8px;
    opacity: 0.35;
}

.card-dots span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    display: block;
}

/* Icon Container & Shape (Perfect Circle) */
.icon-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -7px;
    margin-bottom: 27px;
    position: relative;
}

/* SVG Icon styling */
.service-icon {
    width: 70px !important;
    height: 70px !important;
    z-index: 2;
    object-fit: contain;
    display: block;
}

/* Card Content */
.card-title {
    font-size: 22px;
    font-weight: 700;
    color: #0b1a4a;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.card-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

/* Bottom Colored Accent Line */
.card-bottom-line {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.service-card:hover .card-bottom-line {
    width: 45px;
}

/* Individual Card Color Themes (Exactly Like Image) */

/* Card 1: Virtual Tour (Orange) */
.card-orange .icon-wrapper {
    background-color: #fff3e6;
}

.card-orange .card-bottom-line {
    background-color: #ff7a00;
}

.card-orange .card-dots span {
    background-color: #ff7a00;
}

/* Card 2: Airport Pickup (Blue) */
.card-blue .icon-wrapper {
    background-color: #e6f0fa;
}

.card-blue .card-bottom-line {
    background-color: #2f80ed;
}

.card-blue .card-dots span {
    background-color: #2f80ed;
}

/* Card 3: Alumni Discussions (Yellow/Orange) */
.card-yellow .icon-wrapper {
    background-color: #fff8eb;
}

.card-yellow .card-bottom-line {
    background-color: #ff9900;
}

.card-yellow .card-dots span {
    background-color: #ff9900;
}

/* Card 4: Part-Time Job (Green) */
.card-green .icon-wrapper {
    background-color: #e6f6ec;
}

.card-green .card-bottom-line {
    background-color: #27ae60;
}

.card-green .card-dots span {
    background-color: #27ae60;
}

/* Card 5: Accommodation (Purple) */
.card-purple .icon-wrapper {
    background-color: #f3e8ff;
}

.card-purple .card-bottom-line {
    background-color: #9b51e0;
}

.card-purple .card-dots span {
    background-color: #9b51e0;
}

/* Card 6: Loan Assistance (Teal) */
.card-teal .icon-wrapper {
    background-color: #e6f7f6;
}

.card-teal .card-bottom-line {
    background-color: #00a896;
}

.card-teal .card-dots span {
    background-color: #00a896;
}

/* Background decorative shapes */
.decor-curve-orange {
    position: absolute;
    top: 40px;
    left: 15%;
    width: 80px;
    height: 40px;
    border-top: 1px solid #fed7aa;
    border-right: 1px solid #fed7aa;
    border-radius: 0 30px 0 0;
    opacity: 0.6;
    pointer-events: none;
}

.decor-ring-pink {
    position: absolute;
    top: 45%;
    left: 48%;
    width: 12px;
    height: 12px;
    border: 2px solid #f472b6;
    border-radius: 50%;
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .services-main-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .services-main-title {
        font-size: 28px;
    }

    .services-section-wrapper {
        padding: 60px 16px;
    }
}

/* =========================================
   WHY PARENTS CHOOSE WTS SECTION
   ========================================= */
.parents-choose-section {
    background-color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 60px 24px;
    box-sizing: border-box;
    color: #0b1a4a;
    position: relative;
    overflow: visible;
}

.choose-container {
    max-width: 1350px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
}

.choose-header {
    text-align: center;
    margin-bottom: 50px;
}

.choose-main-title {
    font-size: 42px;
    font-weight: 800;
    color: #0b1a4a;
    margin: 0 0 16px 0;
    letter-spacing: -1px;
}

.choose-main-title .title-highlight {
    color: #FF7A00;
}

.choose-subtext {
    font-size: 16px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.choose-cards-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Card General Styling */
.choose-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border-radius: 32px;
    padding: 0;
    box-sizing: border-box;
    position: sticky;
    top: 100px;
    overflow: visible;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 380px;
    box-shadow: 0 -5px 20px rgba(11, 26, 74, 0.05);
    transform: translate3d(0, 0, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.choose-card:nth-child(1) {
    top: 120px;
    z-index: 1;
}

.choose-card:nth-child(2) {
    top: 140px;
    z-index: 2;
}

.choose-card:nth-child(3) {
    top: 160px;
    z-index: 3;
}

.choose-card:nth-child(4) {
    top: 180px;
    z-index: 4;
}

.choose-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 20px 40px rgba(11, 26, 74, 0.04);
}

.choose-card-left {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 50px 0 50px 50px;
    box-sizing: border-box;
}

.choose-card-right {
    flex: 0 0 50%;
    max-width: 50%;
    display: flex;
    align-items: stretch;
    position: relative;
    box-sizing: border-box;
}

/* Themes colors */
.choose-card-orange {
    background: linear-gradient(135deg, #fffcf9 0%, #fff7ed 100%);
    border: 1px solid #ffedd5;
}

.choose-card-blue {
    background: linear-gradient(135deg, #f9fcff 0%, #f0f7ff 100%);
    border: 1px solid #e0f2fe;
}

.choose-card-green {
    background: linear-gradient(135deg, #f8fdf9 0%, #f0faf3 100%);
    border: 1px solid #dcfce7;
}

.choose-card-purple {
    background: linear-gradient(135deg, #faf9fe 0%, #f5f0fa 100%);
    border: 1px solid #f3e8ff;
}

/* Icon design */
.choose-icon-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.choose-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.choose-accent-line {
    width: 24px;
    height: 3px;
    border-radius: 2px;
}

.choose-card-orange .choose-accent-line {
    background-color: #ff7a00;
}

.choose-card-blue .choose-accent-line {
    background-color: #2f80ed;
}

.choose-card-green .choose-accent-line {
    background-color: #27ae60;
}

.choose-card-purple .choose-accent-line {
    background-color: #9b51e0;
}

/* Titles and Texts inside card */
.choose-card-title {
    font-size: 28px;
    font-weight: 800;
    color: #0b1a4a;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.choose-card-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.choose-card-link {
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s ease;
}

.choose-card-orange .choose-card-link {
    color: #ff7a00;
}

.choose-card-blue .choose-card-link {
    color: #2f80ed;
}

.choose-card-green .choose-card-link {
    color: #27ae60;
}

.choose-card-purple .choose-card-link {
    color: #9b51e0;
}

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

.arrow-icon {
    transition: transform 0.2s ease;
}

/* Illustration / Graphics right side */
.choose-illustration-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
}

.choose-main-image {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border-radius: 0 32px 32px 0;
    z-index: 2;
    object-fit: cover;
    display: block;
}

/* Overlay Card Style */
.choose-overlay-card {
    position: absolute;
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(11, 26, 74, 0.06);
    border: 1px solid #f1f5f9;
    z-index: 10;
    transition: transform 0.3s ease;
}

.choose-overlay-card:hover {
    transform: translateY(-3px);
}

.uni-list-card {
    top: 26px;
    left: -5px;
    width: 240px;
}

.overlay-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #0b1a4a;
    margin: 0 0 14px 0;
    letter-spacing: 0.2px;
}

.overlay-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overlay-list li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.uni-logo-crest {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
}

.crest-toronto {
    background-color: #002a5c;
}

.crest-melbourne {
    background-color: #092e6b;
}

.crest-ubc {
    background-color: #002145;
}

.uni-name {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

/* Funding Support Card overlays */
.funding-card {
    top: 53px;
    right: 72px;
    width: 210px;
}

.overlay-list-bullet {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.overlay-list-bullet li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.funding-icon-wrapper {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.bg-orange-light {
    background-color: #fff7ed;
}

.bg-blue-light {
    background-color: #f0f7ff;
}

.bg-green-light {
    background-color: #f0faf3;
}

.funding-text {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
}

/* Responsive Rules for Choose Section */
@media (max-width: 992px) {
    .choose-card {
        flex-direction: column-reverse;
        padding: 40px 30px;
        gap: 30px;
        min-height: auto;
    }

    .choose-card-left {
        flex: 0 0 100%;
        max-width: 100%;
        align-items: center;
        text-align: center;
        padding: 0;
    }

    .choose-icon-container {
        align-items: center;
    }

    .choose-card-right {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        height: 300px;
    }

    .choose-main-image {
        border-radius: 24px;
        min-height: 280px;
        object-fit: cover;
        object-position: top center;
    }

    .uni-list-card,
    .uni-list-card,
    .funding-card,
    .choose-overlay-card {
        position: absolute !important;
        bottom: -20px !important;
        left: 20px !important;
        top: auto !important;
        right: auto !important;
        margin: 0 !important;
        width: calc(100% - 40px) !important;
        max-width: 320px !important;
        transform: none !important;
        box-shadow: 0 10px 24px rgba(11, 26, 74, 0.1) !important;
    }

    .choose-card {
        position: relative !important;
        top: auto !important;
        z-index: auto !important;
        min-height: auto !important;
        box-shadow: 0 12px 28px rgba(11, 26, 74, 0.05) !important;
    }

    .choose-card:nth-child(1),
    .choose-card:nth-child(2),
    .choose-card:nth-child(3),
    .choose-card:nth-child(4) {
        top: auto !important;
    }

    .choose-card:hover {
        transform: none !important;
    }

    .choose-main-title {
        font-size: 32px;
    }
}

/* WTS CTA Section */
.wts-cta-section {
    padding: 60px 0 30px 0;
    background: #ffffff;
    position: relative;
    overflow: visible;
}

.wts-cta-outer-card {
    background-color: #ffffff;
    /* User option: set background image or gradient on the outer background card */
    background-image: linear-gradient(135deg, #fff7ed 0%, #f0f7ff 100%), url('./images/Hero Sectionbg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 48px;
    border: 1px solid #f1f5f9;
    padding: 35px;
    /* Spacing between outer background card and inner white card */
    box-sizing: border-box;
    width: 100%;
    margin: 0 auto;
}

.wts-cta-inner-card {
    background: #ffffff;
    border-radius: 32px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 20px 40px rgba(11, 26, 74, 0.03);
    padding: 40px 50px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    box-sizing: border-box;
}

/* Background elements in CTA Card */
.wts-cta-inner-card::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(240, 247, 255, 0.8) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

.cta-deco-circle {
    position: absolute;
    top: -40px;
    left: 55%;
    width: 80px;
    height: 80px;
    background: #fff7ed;
    border-radius: 50%;
    z-index: 1;
    opacity: 0.8;
}

.cta-deco-star {
    position: absolute;
    z-index: 2;
}

.cta-star-left {
    top: 60px;
    left: 40px;
}

.cta-star-right {
    bottom: 50px;
    left: 55%;
}

/* Columns */
.wts-cta-left {
    flex: 0 0 54%;
    max-width: 54%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.wts-cta-right {
    flex: 0 0 40%;
    max-width: 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

/* 3D WTS Graphic Layout */
.cta-3d-wts-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 960 / 420;
}

.wts-image-back {
    position: absolute;
    top: 6px;
    left: -7px;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    filter: brightness(0.08) opacity(0.8) blur(0.5px) drop-shadow(-8px 12px 12px rgba(0, 0, 0, 0.18));
}

.wts-image-front {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    z-index: 2;
}

/* CTA Right Content Styles */
.cta-badge {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 30px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.badge-star-icon {
    animation: pulse-star 2s infinite ease-in-out;
}

.badge-text {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    letter-spacing: 0.5px;
}

.cta-heading {
    font-size: 52px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    margin: 0 0 16px 0;
    text-align: left;
}

.cta-heading .highlight {
    color: #ff7a00;
}

.cta-divider {
    width: 48px;
    height: 3px;
    background: #ff7a00;
    border-radius: 2px;
    margin-bottom: 18px;
}

.cta-description {
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 28px 0;
}

.cta-btn {
    background: linear-gradient(135deg, #ff7a00 0%, #ff5100 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(255, 122, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 122, 0, 0.32);
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.cta-btn:hover .btn-arrow {
    transform: translateX(4px);
}

@keyframes pulse-star {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* Responsive Rules for CTA Section */
@media (max-width: 992px) {
    .wts-cta-section {
        padding: 40px 0 20px 0;
    }

    .wts-cta-outer-card {
        padding: 20px;
        border-radius: 32px;
    }

    .wts-cta-inner-card {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
        text-align: center;
        min-height: auto;
        border-radius: 24px;
    }

    .cta-deco-circle,
    .cta-star-left,
    .cta-star-right {
        display: none;
    }

    .wts-cta-left {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .wts-cta-right {
        flex: 0 0 100%;
        max-width: 100%;
        align-items: center;
    }

    .cta-heading {
        font-size: 36px;
    }

    .cta-divider {
        margin: 0 auto 18px auto;
    }
}

/* ==========================================
   MEET OUR EXPERTS SECTION STYLES
   ========================================== */

:root {
    --bg-color: #FAF9F6;
    --text-dark: #0D2357;
    --accent-color: #ff7a00;
    --text-muted: #555555;
    --card-bg: #ffffff;
    --badge-bg: #EFF2F8;
    --badge-text: #334E8A;
    --btn-bg: #042A6B;
    --btn-hover: #031E4C;
    --border-light: #f1f1f1;
}

/* Main Parent Section */
.experts-section {
    padding: 4rem 1rem;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    /* background-color: var(--bg-color); */
}

/* Header/Top Title Styling */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.accent-line {
    width: 16px;
    height: 2px;
    background-color: #ff7a00;
}

.subtitle {
    color: #ff7a00;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-heading {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .main-heading {
        font-size: 2.5rem;
    }
}

.main-heading .highlight {
    color: #ff7a00;
}

.description {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

.bottom-line {
    width: 90px;
    height: 2px;
    background-color: #ff7a00;
    margin: 0 auto;
}

/* Cards Layout Grid (Fully Responsive) */
.experts-carousel-wrapper {
    position: relative;
    width: 100%;
}

.experts-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2rem;
    padding: 30px 0.5rem;
    scrollbar-width: none;
    /* Firefox */
}

.experts-grid::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.expert-slider-controls {
    display: none;
}

@media (max-width: 768px) {
    .expert-slider-controls {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: 30px;
    }
}

.expert-prev-btn,
.expert-next-btn {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ff7a00;
    transition: all 0.3s ease;
}

.expert-prev-btn:hover,
.expert-next-btn:hover {
    background: #ff7a00;
    color: white;
    transform: translateY(-2px);
}

/* Individual Card Design (section tag) */
.expert-card {
    background-color: var(--card-bg);
    border-radius: 18px;
    border: 1px solid var(--border-light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    min-width: 320px;
    max-width: 350px;
    scroll-snap-align: center;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .expert-card {
        min-width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

/* Smooth Elevation Hover Effect */
@media (min-width: 768px) {
    .expert-card:hover {
        transform: translateY(-10px) scale(1.03) !important;
        box-shadow: 0 25px 50px rgba(255, 122, 0, 0.15) !important;
        border-color: rgba(255, 122, 0, 0.3);
    }
}

/* Card Profile Header (Image + Title info) */
.card-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.85rem;
}

.profile-img {
    width: 100px;
    height: 100px;
    border-radius: 37%;
    object-fit: cover;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff0e0 100%);
}

.profile-info {
    display: flex;
    flex-direction: column;
    padding-top: 0.25rem;
}

.expert-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin: 10px 0 0 0;
}

.expert-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
    margin-bottom: 0;
    line-height: 1.3;
}

.expert-exp {
    font-size: 0.75rem;
    font-weight: 600;
    color: #ff7a00;
    margin-top: 0.15rem;
    margin-bottom: 0;
}

/* Card Description Paragraph */
.expert-desc {
    font-size: 0.825rem;
    color: var(--text-muted);
    line-height: 1.6;
    min-height: 48px;
    margin-bottom: 0.75rem;
}

/* Divider Line */
.divider {
    width: 100%;
    height: 1px;
    background-color: var(--border-light);
    margin-bottom: 0.75rem;
}

/* Expertise Label Section */
.expertise-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #222222;
    margin-bottom: 0.75rem;
}

.user-icon {
    width: 14px;
    height: 14px;
    fill: #ff7a00;
}

/* Badges Layout Wrapper */
.badges-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-grow: 1;
    /* Pushes button to the exact bottom uniformly */
    align-content: flex-start;
}

.badge {
    background-color: var(--badge-bg);
    color: var(--badge-text);
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.4rem 0.65rem;
    border-radius: 4px;
    letter-spacing: 0.02em;
}

/* Action Button Details */
.talk-btn {
    width: 100%;
    background-color: var(--btn-bg);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    padding: 0.85rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background-color 0.2s ease;
}

.talk-btn:hover {
    background-color: var(--btn-hover);
}

.arrow-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

/* Hover animation for button arrow */
.talk-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* =========================================
   COMPREHENSIVE MOBILE OVERRIDES FOR ALL SECTIONS
   ========================================= */

/* --- Countries Section Mobile --- */
@media (max-width: 768px) {
    .countries-section {
        padding: 20px 0 !important;
    }

    .countries-section .text-center h2 {
        font-size: 26px !important;
        line-height: 1.2 !important;
        padding: 0 10px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .countries-section .text-center p {
        font-size: 14px !important;
        padding: 0 10px;
    }

    .countries-section .d-inline-flex {
        font-size: 12px !important;
    }

    .countries-carousel-wrapper {
        padding: 10px 0;
        margin: 20px auto 10px auto;
    }

    .country-content {
        padding: 20px;
    }

    .country-title {
        font-size: 22px;
    }

    .country-subtitle {
        font-size: 14px;
        margin-bottom: 16px;
    }

    .country-feature-item {
        font-size: 13px;
        gap: 8px;
        margin-bottom: 10px;
    }

    .btn-explore {
        padding: 12px;
        font-size: 14px;
    }
}

/* --- 5 Steps Journey Mobile/Tablet (max-width: 991px) --- */
@media (max-width: 991px) {
    .journey-section {
        padding: 50px 0 !important;
    }

    .journey-section .text-center h2 {
        font-size: 26px !important;
        line-height: 1.2 !important;
        padding: 0 10px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .journey-section .text-center .text-orange {
        font-size: 14px !important;
    }

    .steps-container {
        gap: 30px !important;
        padding: 0 10px;
    }

    .step-card {
        flex-direction: column-reverse !important;
        /* illustration on top, text at bottom */
        min-height: auto !important;
        border-radius: 24px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02) !important;
        overflow: hidden !important;
        display: flex !important;
    }

    .step-left {
        display: flex !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        padding: 24px 20px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .step-number-col {
        margin-right: 16px !important;
        width: 44px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        flex-shrink: 0 !important;
    }

    .step-number {
        width: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .step-line {
        display: none !important;
        /* Hide connecting lines on mobile/tablet */
    }

    .step-text-col {
        flex: 1 !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .step-title {
        font-size: 20px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
        color: #0f172a !important;
        font-weight: 800 !important;
    }

    .step-desc {
        font-size: 13px !important;
        line-height: 1.5 !important;
        margin-bottom: 16px !important;
        color: #475569 !important;
    }

    .btn-step {
        font-size: 14px !important;
        padding: 12px 24px !important;
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        border-radius: 50px !important;
        margin-top: 4px !important;
    }

    .step-right {
        width: 100% !important;
        height: 280px !important;
        min-height: 280px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-end !important;
        position: relative !important;
        overflow: hidden !important;
        /* keep floating items bounded */
        padding: 0 !important;
    }

    .step-right img {
        width: auto !important;
        height: 100% !important;
        max-height: 280px !important;
        max-width: 100% !important;
        object-fit: contain !important;
        object-position: bottom center !important;
        margin: 0 auto !important;
        display: block !important;
    }

    /* Hide overlapping suitcase clip on mobile */
    .step-right img[style*="clip-path"] {
        display: none !important;
    }

    /* Floating UI elements scale down and adjustments */
    .step-floating-ui-card {
        position: absolute !important;
        padding: 8px 10px !important;
        border-radius: 10px !important;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05) !important;
        margin: 0 !important;
        z-index: 5 !important;
        bottom: auto !important;
    }

    .sf-badge {
        padding: 6px 10px !important;
        gap: 6px !important;
    }

    .sf-badge-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 11px !important;
    }

    .sf-badge-title {
        font-size: 9px !important;
    }

    .sf-badge-sub {
        font-size: 7px !important;
    }

    .sf-title {
        font-size: 10px !important;
        margin-bottom: 5px !important;
    }

    .sf-row {
        padding: 3px 0 !important;
        font-size: 9px !important;
    }

    .sf-icon-box {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
        margin-right: 5px !important;
    }

    .sf-arrow {
        font-size: 11px !important;
    }

    .sf-chk {
        font-size: 10px !important;
    }

    .sf-chk-circle {
        width: 14px !important;
        height: 14px !important;
        font-size: 8px !important;
        margin-right: 6px !important;
    }

    /* Step specific positions */
    .step-bg-1 .step-floating-ui-card:not(.sf-badge) {
        top: 32% !important;
        right: 10px !important;
        left: auto !important;
        width: 135px !important;
    }

    .step-bg-1 .step-floating-ui-card.sf-badge {
        top: 10% !important;
        left: 10px !important;
        right: auto !important;
        width: 155px !important;
    }

    .step-bg-2 .step-floating-ui-card:not(.sf-badge) {
        top: 32% !important;
        right: 10px !important;
        left: auto !important;
        width: 135px !important;
    }

    .step-bg-2 .step-floating-ui-card.sf-badge {
        top: 10% !important;
        left: 10px !important;
        right: auto !important;
        width: 145px !important;
    }

    .step-bg-3 .step-floating-ui-card {
        top: 15% !important;
        left: 10px !important;
        right: auto !important;
        width: 125px !important;
    }

    .step-bg-4 .step-floating-ui-card.sf-badge {
        top: 10% !important;
        left: 10px !important;
        right: auto !important;
        width: 145px !important;
    }

    .step-bg-4 .step-floating-ui-card:not(.sf-badge) {
        bottom: 10% !important;
        right: 10px !important;
        left: auto !important;
        top: auto !important;
        width: 145px !important;
    }

    .step-bg-5 .step-floating-ui-card:not(.sf-badge) {
        top: 12% !important;
        left: 10px !important;
        right: auto !important;
        width: 135px !important;
    }

    .step-bg-5 .step-floating-ui-card.sf-badge {
        bottom: 15% !important;
        right: 10px !important;
        left: auto !important;
        top: auto !important;
        width: 145px !important;
    }
}

@media (max-width: 400px) {
    .step-title {
        font-size: 18px !important;
    }

    .step-desc {
        font-size: 12px !important;
    }

    .step-left {
        padding: 16px 12px !important;
    }

    .step-number-col {
        margin-right: 10px !important;
        width: 38px !important;
    }

    .step-number {
        width: 38px !important;
        height: 38px !important;
        font-size: 14px !important;
    }

    .step-right {
        height: 200px !important;
        min-height: 200px !important;
        align-items: stretch !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }

    .step-right img {
        max-height: 200px !important;
        height: 100% !important;
        width: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 28px 28px 0 0 !important;
    }

    .step-floating-ui-card {
        padding: 6px 8px !important;
        bottom: auto !important;
        z-index: 10 !important;
    }

    .step-bg-1 .step-floating-ui-card:not(.sf-badge) {
        width: 130px !important;
        top: 30% !important;
        right: 10px !important;
        left: auto !important;
    }

    .step-bg-1 .step-floating-ui-card.sf-badge {
        width: 120px !important;
        top: 10% !important;
        left: 10px !important;
        right: auto !important;
    }

    .step-bg-2 .step-floating-ui-card:not(.sf-badge) {
        width: 130px !important;
        top: 25% !important;
        left: 10px !important;
        right: auto !important;
    }

    .step-bg-2 .step-floating-ui-card.sf-badge {
        width: 120px !important;
        top: 15% !important;
        right: 10px !important;
        left: auto !important;
    }

    .step-bg-3 .step-floating-ui-card {
        width: 130px !important;
        top: 20% !important;
        left: 10px !important;
        right: auto !important;
    }

    .step-bg-4 .step-floating-ui-card:not(.sf-badge) {
        width: 130px !important;
        top: 20% !important;
        right: 10px !important;
        left: auto !important;
    }

    .step-bg-4 .step-floating-ui-card.sf-badge {
        width: 120px !important;
        top: 10% !important;
        left: 10px !important;
        right: auto !important;
    }

    .step-bg-5 .step-floating-ui-card:not(.sf-badge) {
        width: 130px !important;
        top: 20% !important;
        left: 10px !important;
        right: auto !important;
    }

    .step-bg-5 .step-floating-ui-card.sf-badge {
        width: 120px !important;
        top: 40% !important;
        right: 10px !important;
        left: auto !important;
    }
}

/* --- Study Abroad / Video Section Mobile --- */
@media (max-width: 480px) {
    .study-abroad-section {
        padding: 30px 12px !important;
    }

    .container-card {
        padding: 20px 16px !important;
        border-radius: 18px !important;
    }

    .study-abroad-section .main-heading,
    .content-col .main-heading {
        font-size: 28px !important;
        line-height: 1.15 !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .sub-text {
        font-size: 14px !important;
        max-width: 100% !important;
    }

    .study-abroad-section .study-guide-button {
        font-size: 11px !important;
        padding: 12px 20px !important;
        white-space: normal !important;
        text-align: center !important;
        border-radius: 9999px !important;
        flex-shrink: 0 !important;
        max-width: 180px !important;
        line-height: 1.3 !important;
    }

    .study-abroad-section .cta-group {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 10px !important;
        flex-wrap: nowrap !important;
        width: 100% !important;
    }

    .study-abroad-section .avatar-counter {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2px !important;
        flex-shrink: 0 !important;
    }

    .study-abroad-section .avatar-list img {
        width: 24px !important;
        height: 24px !important;
        border-width: 1.5px !important;
        margin-right: -8px !important;
    }

    .study-abroad-section .avatar-more {
        width: 24px !important;
        height: 24px !important;
        font-size: 8px !important;
        border-width: 1.5px !important;
        margin-right: 0 !important;
    }

    .study-abroad-section .counter-text {
        font-size: 9px !important;
        white-space: nowrap !important;
    }

    /* Extra safety for very small screens */
    @media (max-width: 350px) {
        .study-abroad-section .study-guide-button {
            font-size: 9.5px !important;
            padding: 8px 12px !important;
        }

        .study-abroad-section .cta-group {
            gap: 6px !important;
        }

        .study-abroad-section .avatar-list img,
        .study-abroad-section .avatar-more {
            width: 20px !important;
            height: 20px !important;
        }

        .study-abroad-section .avatar-more {
            font-size: 7px !important;
        }

        .study-abroad-section .counter-text {
            font-size: 8px !important;
        }
    }

    .video-box {
        border-radius: 14px !important;
    }

    .border-top-left,
    .border-bottom-right {
        width: 50px;
        height: 50px;
        border-width: 3px;
    }

    .border-top-left {
        top: -10px;
        left: -10px;
    }

    .border-bottom-right {
        bottom: -10px;
        right: -10px;
    }

    .play-btn {
        width: 50px;
        height: 50px;
        border-radius: 14px;
    }
}

/* --- Services Grid Mobile --- */
@media (max-width: 480px) {
    .services-section-wrapper {
        padding: 40px 12px !important;
    }

    .services-main-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .services-sub-title {
        font-size: 12px !important;
    }

    .service-card {
        padding: 28px 20px;
        border-radius: 18px;
    }

    .icon-wrapper {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .service-icon {
        width: 55px !important;
        height: 55px !important;
    }

    .card-title {
        font-size: 18px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .card-description {
        font-size: 13px;
        word-break: keep-all;
        overflow-wrap: break-word;
    }
}

/* --- Experts Section Mobile --- */
@media (max-width: 768px) {
    .experts-section {
        padding: 2.5rem 0.75rem;
    }

    .experts-section .main-heading {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .experts-section .description {
        font-size: 0.85rem;
    }

    .expert-card {
        padding: 1.25rem;
        transition: none !important;
    }

    .expert-card:hover {
        transform: none !important;
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04) !important;
    }

    .profile-img {
        width: 80px;
        height: 80px;
    }

    .expert-name {
        font-size: 1.1rem;
    }

    .expert-desc {
        font-size: 0.8rem;
        min-height: auto;
    }

    .badge {
        font-size: 0.625rem;
        padding: 0.3rem 0.5rem;
    }

    .talk-btn {
        transition: none !important;
        white-space: nowrap;
    }

    .talk-btn:hover .arrow-icon,
    .talk-btn:hover {
        transform: none !important;
    }
}

/* --- Parents Choose WTS Section Mobile --- */
@media (max-width: 768px) {
    .parents-choose-section {
        padding: 40px 12px;
    }

    .choose-main-title {
        font-size: 26px !important;
        line-height: 1.2 !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .choose-subtext {
        font-size: 14px;
    }

    .choose-header {
        margin-bottom: 30px;
    }

    .choose-cards-list {
        align-items: stretch;
        width: 100%;
    }

    .choose-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 30px auto !important;
        flex-direction: column-reverse;
        padding: 0 !important;
        /* Image touches edges */
        gap: 0;
        min-height: auto;
        border-radius: 24px;
        position: relative !important;
        top: auto !important;
        z-index: auto !important;
        box-shadow: 0 10px 30px rgba(11, 26, 74, 0.08);
        transition: none !important;
        background-color: #ffffff;
    }

    .choose-card-left {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        /* Grid layout for text section */
        display: grid !important;
        grid-template-columns: 60px 1fr !important;
        column-gap: 16px !important;
        row-gap: 10px !important;
        padding: 0 20px 30px 20px !important;
        text-align: left !important;
        align-items: start;
    }

    .choose-icon-container {
        grid-column: 1;
        grid-row: 1 / span 4;
        margin-top: -30px;
        /* Overlaps image bottom */
        position: relative;
        z-index: 5;
        align-items: center !important;
    }

    .choose-icon-wrapper {
        width: 60px !important;
        height: 60px !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
    }

    .choose-accent-line {
        margin-top: 10px;
        margin-left: auto;
        margin-right: auto;
    }

    .choose-card-right {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        height: auto;
        min-height: 220px;
    }

    .choose-illustration-wrapper {
        width: 100%;
        min-height: 220px;
        position: relative;
        justify-content: center;
        align-items: center;
    }

    .choose-main-image {
        border-radius: 24px 24px 0 0 !important;
        min-height: 220px;
        height: 100%;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
        object-position: center;
    }

    .choose-card-title {
        grid-column: 2;
        grid-row: 1;
        font-size: 19px !important;
        word-break: keep-all;
        overflow-wrap: break-word;
        margin: 14px 0 0 0 !important;
    }

    .choose-card-desc {
        grid-column: 2;
        grid-row: 2;
        font-size: 13px !important;
        color: #475569 !important;
        word-break: keep-all;
        overflow-wrap: break-word;
        margin: 0 !important;
    }

    .choose-card-link {
        grid-column: 2;
        grid-row: 3;
        font-size: 14px !important;
        margin: 0 !important;
        transition: none !important;
    }

    /* First card overlay (Top Left) */
    .uni-list-card,
    .choose-overlay-card {
        position: absolute !important;
        top: 16px !important;
        left: 16px !important;
        bottom: auto !important;
        right: auto !important;
        margin: 0 !important;
        width: 240px !important;
        max-width: 240px !important;
        transform: scale(0.65) !important;
        transform-origin: top left !important;
        box-shadow: 0 10px 24px rgba(11, 26, 74, 0.1) !important;
    }

    /* Second card overlay (Top Right) */
    .funding-card {
        position: absolute !important;
        top: 16px !important;
        right: 16px !important;
        left: auto !important;
        bottom: auto !important;
        margin: 0 !important;
        width: 210px !important;
        max-width: 210px !important;
        transform: scale(0.65) !important;
        transform-origin: top right !important;
        box-shadow: 0 10px 24px rgba(11, 26, 74, 0.1) !important;
    }

    .choose-card-link:hover .arrow-icon,
    .choose-card:hover,
    .choose-overlay-card:hover,
    .funding-card:hover {
        transform: scale(0.65) !important;
        /* maintain scale */
    }

    .choose-card:hover {
        transform: none !important;
    }

    .choose-card-link:hover .arrow-icon {
        transform: none !important;
    }
}

@media (max-width: 400px) {
    .choose-main-title {
        font-size: 22px !important;
    }

    .choose-card {
        padding: 20px 12px;
    }

    .choose-card-right {
        height: auto;
    }
}

/* --- WTS CTA Section Mobile --- */
@media (max-width: 768px) {
    .wts-cta-section {
        padding: 30px 0 20px 0;
    }

    .wts-cta-outer-card {
        padding: 14px;
        border-radius: 24px;
        margin: 0 12px;
    }

    .wts-cta-inner-card {
        flex-direction: column;
        padding: 40px 20px 30px 20px;
        gap: 20px;
        min-height: auto;
        border-radius: 20px;
        position: relative;
    }

    .cta-deco-circle {
        display: block !important;
        top: 15px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 20px !important;
        height: 20px !important;
        z-index: 5;
    }

    .wts-cta-left {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .wts-cta-right {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        grid-template-areas:
            "heading heading"
            "divider badge"
            "desc desc"
            "button button";
        row-gap: 16px !important;
        column-gap: 12px !important;
        align-items: center !important;
        text-align: left !important;
    }

    .cta-heading {
        grid-area: heading;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        font-size: 21px !important;
        margin: 0 !important;
        padding-top: 10px;
    }

    .cta-heading br {
        display: none !important;
    }

    .cta-divider {
        grid-area: divider;
        margin: 0 !important;
        width: 40px !important;
        height: 2px !important;
    }

    .cta-badge {
        grid-area: badge;
        margin: 0 0 0 auto !important;
        transform: scale(0.85) !important;
        transform-origin: right center !important;
        margin-bottom: 0 !important;
        white-space: nowrap !important;
    }

    .cta-description {
        grid-area: desc;
        margin: 0 !important;
        font-size: 13px !important;
    }

    .wts-cta-right .study-guide-button {
        grid-area: button;
        justify-self: start !important;
        font-size: 13px !important;
        padding: 10px 20px !important;
        margin-top: 4px !important;
    }
}

@media (max-width: 400px) {
    .cta-heading {
        font-size: 26px !important;
    }

    .wts-cta-outer-card {
        padding: 10px;
        margin: 0 8px;
    }

    .wts-cta-inner-card {
        padding: 20px 12px;
    }
}

/* =========================================
   GLOBAL TEXT OVERFLOW PROTECTION
   ========================================= */
@media (max-width: 768px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    span,
    a,
    li,
    div {
        max-width: 100%;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    .container {
        padding: 0 12px;
        /* overflow-x: hidden; */
    }

    body {
        overflow-x: hidden;
    }
}

/* =========================================
   SPOTLIGHT ACTIVE EFFECT (DESKTOP)
   ========================================= */
@media (min-width: 992px) {

    /* The hovered card stays fully active and pops out */
    .service-card:hover,
    .expert-card:hover,
    .step-card:hover {
        z-index: 20;
    }
}

/* Floating UI Card Hover inside Steps */
.step-floating-ui-card {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease !important;
}

.step-card:hover .step-floating-ui-card {
    transform: translateY(-8px) scale(1.03) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

/* Fixes requested by user */
@media (max-width: 768px) {
    .services-section-wrapper {
        display: none !important;
    }
}

.study-guide-button {
    text-decoration: none !important;
    text-align: center;
    justify-content: center;
}

.study-guide-button svg,
.study-guide-button .arrow-icon {
    stroke-width: 2.5 !important;
}

.study-guide-button:hover {
    text-decoration: none !important;
}

/* Video section heading */
.study-abroad-section .main-heading {
    text-align: left;
}

/* Video section heading removed line-clamp */
@media (max-width: 768px) {
    .study-abroad-section .main-heading {
        text-align: left;
    }
}

.animate-reveal-up {
    animation: revealUpAnim 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    visibility: visible;
}

@keyframes revealUpAnim {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.desktop-svg {
    display: block;
}

.mobile-svg {
    display: none;
}

/* Animations for Timeline and Stats */
.fade-in-up {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out !important;
}

.fade-in-up.is-visible {
    opacity: 1 !important;
    transform: translateY(-50%) !important;
}

/* --- Fixes requested by user --- */
/* Unify all headings below hero section to match new-section-title (Testimonials/Affiliates) */
.countries-section h2,
.countries-section h3,
.countries-section .country-title,
.journey-section h2,
.journey-section h3,
.journey-section .step-title,
.services-section-wrapper h2,
.services-section-wrapper h3,
.services-main-title,
.study-abroad-section h1,
.study-abroad-section h2,
.study-abroad-section h3,
.wts-cta-section h2,
.cta-heading,
.new-countries-section h2,
.new-countries-section h3,
.experts-section h2,
.choose-main-title,
.section-title,
.section-header .subtitle {
    font-weight: 600 !important;
}

/* Ensure main section titles are 2rem */
.countries-section h2,
.journey-section h2,
.services-main-title,
.study-abroad-section h1,
.wts-cta-section h2,
.cta-heading,
.experts-section h2,
.choose-main-title,
.section-title {
    font-size: 2rem !important;
}

/* Ensure Steps button doesn't stretch */
.step-card .study-guide-button {
    width: auto !important;
    align-self: flex-start !important;
}

/* Ensure Top Countries button stretches on desktop */
@media (min-width: 768px) {
    .countries-carousel-track .country-card .study-guide-button {
        width: 100% !important;
        justify-content: center !important;
    }
}

.countries-carousel-track .country-card .study-guide-button svg,
.countries-carousel-track .country-card .study-guide-button .arrow-icon,
.countries-carousel-track .country-card .study-guide-button .btn-arrow {
    stroke-width: 3px !important;
}

/* Mobile Button Size Fixes */
@media (max-width: 768px) {
    .step-card .study-guide-button {
        padding: 8px 16px !important;
        font-size: 13px !important;
    }

    .step-card .study-guide-button .btn-step-icon {
        width: 20px !important;
        height: 20px !important;
        margin-left: 6px !important;
    }

    .step-card .study-guide-button .btn-step-icon svg {
        width: 12px !important;
        height: 12px !important;
    }
}

/* Study Abroad Section Mobile Reordering */
@media (max-width: 992px) {
    .study-abroad-section .flex-layout {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .study-abroad-section .content-col {
        display: contents !important;
    }

    .study-abroad-section .main-heading {
        order: 2 !important;
        text-align: center !important;
    }

    .study-abroad-section .badge-text {
        font-size: 10.5px !important;
        white-space: normal !important;
        text-align: center !important;
    }

    .study-abroad-section .trust-badge {
        order: 1 !important;
        margin: 0 auto 15px auto !important;
        padding: 6px 10px !important;
        height: auto !important;
    }

    .study-abroad-section .sub-text {
        order: 3 !important;
        text-align: center !important;
        margin: 0 auto 20px auto !important;
    }

    .study-abroad-section .video-col {
        order: 4 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
        display: flex !important;
        justify-content: center !important;
    }

    .study-abroad-section .cta-group {
        order: 5 !important;
        width: 100% !important;
        justify-content: center !important;
    }
}

/* =========================================
   MOBILE HEADING & SECTION FIXES
   Ensures all headings fit in max 2 lines
   without being cut off on mobile
   ========================================= */
@media (max-width: 768px) {

    /* Override the global 2rem heading size for mobile */
    .countries-section h2,
    .journey-section h2,
    .services-main-title,
    .study-abroad-section h1,
    .wts-cta-section h2,
    .experts-section h2,
    .experts-section .main-heading,
    .choose-main-title,
    .section-title,
    .new-section-title {
        font-size: 1.45rem !important;
        line-height: 1.25 !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
        hyphens: none !important;
        padding: 0 4px !important;
    }

    /* CTA heading stays compact on mobile */
    .cta-heading {
        font-size: 1.3rem !important;
        line-height: 1.2 !important;
    }

    /* Parents Choose section - tighter card spacing */
    .parents-choose-section {
        padding: 30px 10px !important;
    }

    .choose-cards-list {
        gap: 20px !important;
    }

    .choose-card {
        margin: 0 auto 0 auto !important;
    }

    .choose-card-left {
        padding: 0 16px 24px 16px !important;
        row-gap: 6px !important;
    }

    .choose-card-right {
        min-height: 200px !important;
    }

    .choose-illustration-wrapper {
        min-height: 200px !important;
    }

    .choose-main-image {
        min-height: 200px !important;
    }

    /* WTS CTA section - tighter on mobile */
    .wts-cta-section {
        padding: 20px 0 15px 0 !important;
    }

    .wts-cta-inner-card {
        gap: 16px !important;
        padding: 30px 16px 24px 16px !important;
    }

    .wts-cta-right {
        row-gap: 12px !important;
    }
}

/* Extra small screens */
@media (max-width: 400px) {

    .countries-section h2,
    .journey-section h2,
    .services-main-title,
    .study-abroad-section h1,
    .experts-section h2,
    .experts-section .main-heading,
    .choose-main-title,
    .section-title,
    .new-section-title {
        font-size: 1.25rem !important;
        line-height: 1.25 !important;
    }

    .cta-heading {
        font-size: 1.15rem !important;
    }
}