:root {
    --primary: #fc800a;
    --primary-dark: #ea580c;
    --primary-soft: #fff4ec;
    --primary-light: #fed7aa;
    --primary-glow: rgba(249, 115, 22, .35);
    --dark: #0F172A;
    --text: #334155;
    --light-bg: #F8FAFC;
    --bg: #EAF0F2;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Source Sans 3', sans-serif;

}

html {
    scroll-behavior: smooth;
}

body {
    animation: pageFade 0.8s ease forwards;
    opacity: 0;
    overflow-x: hidden;
}

@keyframes pageFade {
    to {
        opacity: 1;
    }
}


body {

    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
}

/* Typography Overrides */
h1,
h2,
h3,
h4,
.font-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--dark);
}


/* NavBar Hover Enhancement */
.nav-link:hover {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: 50px !important;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-dark) !important;
    border-color: var(--primary-dark) !important;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(249, 115, 22, 0.4);
}

.btn-light {
    font-weight: 600;
    border-radius: 50px !important;
    color: var(--primary) !important;
    transition: all 0.3s ease;
}

.btn-light:hover,
.btn-light:focus,
.btn-light:active {
    background-color: #fff;
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-light {
    font-weight: 600;
    border-radius: 50px !important;
    transition: all 0.3s ease;
}

.btn-outline-light:hover,
.btn-outline-light:focus,
.btn-outline-light:active {
    background-color: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.3);
}

.btn-outline-dark {
    border-color: var(--dark);
    color: var(--dark);
}

.btn-outline-dark:hover {
    background-color: var(--dark);
    color: #fff;
}

/* Gradient text — same palette as AI search border */
.ai-gradient-text {
    background: linear-gradient(90deg, #ff7a18, #ffb347, #8f5eff, #00c6ff, #ff7a18);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: borderMove 8s linear infinite;
}

/* AI Search Section */

.ai-search-section {
    margin-bottom: 1rem;
}

/* wrapper for centering */
.ai-search-wrapper {
    max-width: 900px;
    margin: auto;
}

/* The gradient border magic */
.ai-search {
    position: relative;
    padding: 2px;
    border-radius: 60px;
    background: linear-gradient(90deg,
            #ff7a18,
            #ffb347,
            #8f5eff,
            #00c6ff,
            #ff7a18);
    background-size: 300% 300%;
    animation: borderMove 8s linear infinite;
}

/* inner container (actual input area) */
.ai-search::before {
    content: "";
    position: absolute;
    inset: 0;
    background: white;
    border-radius: 60px;
    z-index: 0;
    margin: 2px;
}

/* input field */
.ai-input {
    width: 100%;
    border: none;
    outline: none;
    padding: 20px 70px 20px 28px;
    border-radius: 60px;
    font-size: 16px;
    font-family: var(--font-body);
    background: transparent;
    position: relative;
    z-index: 2;
}

/* placeholder styling */
.ai-input::placeholder {
    color: #6b7280;
}

/* search button */
.ai-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: #eef2ff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: .25s;
}

.ai-btn:hover {
    background: #dbe3ff;
}

/* glow when typing */
.ai-search:focus-within {
    box-shadow:
        0 0 0 3px rgba(99, 102, 241, .15),
        0 0 35px rgba(99, 102, 241, .35);
}

/* gradient animation */
@keyframes borderMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@media (max-width:768px) {

    .ai-input {
        padding: 16px 60px 16px 20px;
        font-size: 14px;
    }

    .ai-search-wrapper {
        max-width: 100%;
    }

}

/* Feature Box */
.feature-box {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 16px;
    transition: .3s;
    border: 1px solid #eef1f6;
}

.feature-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 55px rgba(249, 115, 22, .18);
    border-color: #ffe2cf;
}

/* Icon circle */
.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary);
    background: linear-gradient(135deg, #fff4ec, #ffe9db);
    transition: .3s;
}

.feature-box:hover .feature-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.08);
}

/* Title */
.feature-box h5 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 10px;
}

/* Text */
.feature-box p {
    color: #6c757d;
    font-size: 15px;
    margin: 0;
}


/* Section header */
.courses-section {
    padding: 4rem 0;
    background-color: var(--bg);
    background-image: url('../images/courses-bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.section-label {
    font-size: 13px;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: var(--primary);
}

.section-title {
    margin-top: 6px;
    margin-bottom: 0.75rem;
}

/* Programme Structure Cards */
.programme-section {
    background: #fff;
    padding: 4rem 0 5rem;
}

.programme-title {
    font-size: 2.5rem;
    font-weight: 500;
    color: #3F51B5;
    margin-bottom: 0;
}

.programme-underline {
    width: 70px;
    height: 7px;
    background: #f97316;
    border-radius: 4px;
    margin: 14px auto 18px;
}

.programme-subtitle {
    max-width: 640px;
    margin: 0 auto;
}

.programme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.programme-card {
    position: relative;
    background: #FFFBF2;
    border-radius: 24px;
    padding: 2.5rem 1.75rem 2rem;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
}

.programme-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(249, 115, 22, 0.12);
}

.programme-ribbon {
    position: absolute;
    top: 18px;
    right: -34px;
    width: 130px;
    background: #f97316;
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 0;
    transform: rotate(45deg);
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.35);
    letter-spacing: .02em;
}

.programme-icon-blob {
    width: 88px;
    height: 88px;
    margin: 0 auto 1.25rem;
    background: #f97316;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.programme-icon-blob i {
    font-size: 2rem;
    color: #fff;
}

.programme-card-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: #3F51B5;
    margin-bottom: 1.1rem;
    line-height: 1.35;
}

.programme-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
    flex-grow: 1;
}

.programme-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    color: #334155;
    margin-bottom: .65rem;
    line-height: 1.5;
    font-weight: 500;
}

.programme-features li i {
    color: #fbbf24;
    font-size: .75rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.programme-actions {
    margin-top: auto;
}

.programme-enroll-btn {
    display: block;
    width: 100%;
    background: #f97316;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: .7rem 1.5rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
    transition: background .2s, transform .2s, box-shadow .2s;
    text-decoration: none;
}

.programme-enroll-btn:hover {
    background: #ea6c0a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.45);
}

.programme-details-link {
    display: inline-block;
    margin-top: .85rem;
    font-size: .9rem;
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
    transition: color .2s;
}

.programme-details-link:hover {
    color: #3F51B5;
}

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

@media (max-width: 575px) {
    .programme-title {
        font-size: 2rem;
    }

    .programme-grid {
        grid-template-columns: 1fr;
    }

    .programme-card {
        padding: 2.25rem 1.5rem 1.75rem;
    }
}

/* About Our Academy (Welcome) Section */
.about-academy-section {
    --about-orange: #ff7a00;
    --about-cream: #fffbf5;
    --about-charcoal: #2d3436;
    --about-body: #666666;
    position: relative;
    --bs-bg-opacity: 1;
    background-color: rgba(255, 255, 255, var(--bs-bg-opacity)) !important;
    padding: 8rem 0 8rem;
    overflow: hidden;
}

.about-academy-section .academic-section-highlight {
    color: var(--about-orange);
}

.about-academy-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.about-academy-decor-bulb {
    left: 2%;
    bottom: 8%;
    width: clamp(72px, 8vw, 110px);
    height: clamp(72px, 8vw, 110px);
    color: var(--about-orange);
    opacity: 0.14;
}

.about-academy-decor-bulb svg {
    width: 100%;
    height: 100%;
}

.about-academy-decor-stars {
    top: 10%;
    right: 4%;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    color: var(--about-orange);
    opacity: 0.35;
}

.about-academy-star {
    display: block;
    width: 18px;
    height: 18px;
    background: currentColor;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.about-academy-star-sm {
    width: 12px;
    height: 12px;
    margin-top: 0.35rem;
    opacity: 0.75;
}

.about-academy-star-xs {
    width: 8px;
    height: 8px;
    margin-top: 0.65rem;
    opacity: 0.55;
}

.about-academy-section .container {
    position: relative;
    z-index: 1;
}

.about-academy-row {
    --bs-gutter-x: 2.5rem;
    --bs-gutter-y: 1.5rem;
}

@media (min-width: 992px) {
    .about-academy-row {
        --bs-gutter-x: 5rem;
        --bs-gutter-y: 2.5rem;
    }
}

@media (min-width: 1200px) {
    .about-academy-row {
        --bs-gutter-x: 6rem;
    }
}

.about-academy-media {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.about-academy-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 24px;
    display: block;
    box-shadow: 0 28px 64px rgba(45, 52, 54, 0.1);
}

.about-academy-float-badge {
    position: absolute;
    top: 1rem;
    left: -0.85rem;
    width: 112px;
    height: 112px;
    border-radius: 50%;
    background: #ffc93c;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 28px rgba(255, 201, 60, 0.45);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.7rem 0.55rem 0.6rem;
    gap: 0.2rem;
}

.about-academy-float-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.about-academy-float-badge-icon i {
    color: var(--about-orange);
    font-size: 1.2rem;
}

.about-academy-float-badge-copy {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    line-height: 1.05;
}

.about-academy-float-badge-copy span {
    font-family: var(--font-body);
    font-size: 0.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #2d3436;
    text-transform: uppercase;
}

.about-academy-legacy-card {
    position: absolute;
    bottom: 1.25rem;
    right: -2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgb(255 255 255 / 38%);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.72);
    color: #4a5568;
    padding: 0.8rem 1.15rem 0.8rem 0.85rem;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(45, 52, 54, 0.14);
    z-index: 2;
}

.about-academy-legacy-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--about-orange);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(255, 122, 0, 0.28);
}

.about-academy-legacy-icon i {
    color: #ffffff;
    font-size: 1.1rem;
}

.about-academy-legacy-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.about-academy-legacy-copy strong {
    color: #2d3436d4;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-academy-legacy-copy span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #94a3b8;
    margin-top: 0.15rem;
    text-transform: uppercase;
}

.about-academy-badge {
    display: inline-block;
    background: var(--about-orange);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1.15rem;
}

.about-academy-title {
    margin-bottom: 1.1rem;
}

.about-academy-title-line {
    display: block;
}

.about-academy-desc {
    margin-bottom: 1.85rem;
    max-width: 100%;
}

.about-academy-cards {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.about-academy-card {
    display: flex;
    align-items: flex-start;
    gap: 1.875rem;
    padding: 2.5rem;
    border-radius: 18px;
}

.about-academy-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    box-shadow: 0 8px 22px rgba(45, 52, 54, 0.1);
}

.about-academy-card-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-academy-card-text {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.about-academy-card-vision {
    background: #f8f9fa;
    border: none;
    color: #334155;
    box-shadow: 0 3px 3px rgba(45, 52, 54, 0.06);
}

.about-academy-card-vision .about-academy-card-icon {
    background: #ffffff;
    color: var(--about-orange);
}

.about-academy-card-vision .about-academy-card-title {
    color: var(--about-charcoal);
}

.about-academy-card-vision .about-academy-card-text {
    color: #666666;
}

.about-academy-card-mission {
    position: relative;
    display: block;
    background: #ff851b;
    color: #ffffff;
    overflow: hidden;
    border-radius: 15px;
    padding: 2.5rem 2.75rem;
    box-shadow: 0 16px 40px rgba(255, 133, 27, 0.22);
}

.about-academy-mission-deco {
    position: absolute;
    right: -26px;
    bottom: 0px;
    width: 170px;
    height: 202px;
    pointer-events: none;
    z-index: 0;
}

.about-academy-mission-deco svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-academy-mission-deco-core {
    fill: rgba(255, 196, 130, 0.42);
}

.about-academy-mission-deco-ring {
    fill: none;
    stroke: rgba(255, 196, 130, 0.36);
    stroke-width: 7;
}

.about-academy-mission-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.about-academy-card-mission::before,
.about-academy-card-mission::after {
    display: none;
}

.about-academy-card-mission .about-academy-card-icon {
    width: 64px;
    height: 64px;
    background: #ff9a45;
    color: #ffffff;
    box-shadow: none;
    flex-shrink: 0;
    font-size: 1.55rem;
}

.about-academy-card-mission .about-academy-mission-content {
    flex: 1;
    min-width: 0;
}

.about-academy-card-mission .about-academy-card-title {
    font-size: 1.3125rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.65rem;
    line-height: 1.25;
}

.about-academy-card-mission .about-academy-card-text {
    font-size: 1.0625rem;
    line-height: 1.55;
    color: #ffffff;
    max-width: 92%;
    padding-right: 0;
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .about-academy-float-badge {
        left: 0.25rem;
    }

    .about-academy-legacy-card {
        right: 0.75rem;
        bottom: 1rem;
    }

    .about-academy-desc {
        max-width: none;
    }

    .about-academy-decor-stars {
        right: 2%;
    }
}

@media (max-width: 575px) {
    .about-academy-section {
        padding: 4rem 0 4.5rem;
    }

    .about-academy-float-badge {
        width: 96px;
        height: 96px;
        left: 0.5rem;
        padding: 0.6rem 0.45rem 0.5rem;
    }

    .about-academy-float-badge-copy span {
        font-size: 0.44rem;
        letter-spacing: 0.04em;
    }

    .about-academy-float-badge-icon i {
        font-size: 1.05rem;
    }

    .about-academy-legacy-card {
        right: 0.5rem;
        bottom: 0.85rem;
        padding: 0.65rem 0.9rem 0.65rem 0.7rem;
        gap: 0.65rem;
    }

    .about-academy-legacy-icon {
        width: 40px;
        height: 40px;
    }

    .about-academy-legacy-copy strong {
        font-size: 1.2rem;
    }

    .about-academy-decor-bulb {
        opacity: 0.1;
    }

    .about-academy-card {
        padding: 1.75rem;
        gap: 1.25rem;
    }

    .about-academy-card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.3rem;
    }

    .about-academy-card-mission {
        padding: 1.75rem 1.5rem;
        border-radius: 28px;
    }

    .about-academy-mission-inner {
        align-items: flex-start;
        gap: 1.25rem;
    }

    .about-academy-card-mission .about-academy-card-icon {
        width: 56px;
        height: 56px;
        font-size: 1.35rem;
    }

    .about-academy-card-mission .about-academy-card-text {
        max-width: none;
    }

    .about-academy-mission-deco {
        width: 185px;
        height: 185px;
        right: -46px;
        bottom: -42px;
    }

    .about-academy-mission-deco-ring {
        stroke-width: 6;
    }
}

/* Academic Pathways (Our Courses + Special Programmes) */
.academic-pathways-section {
    background:#FBF1E3;
    padding: 7rem 0 7rem;
}

.academic-section-badge {
    display: inline-block;
    background: #ff8c1a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.academic-section-title {
    margin-bottom: 0.75rem;
}

.academic-section-highlight {
    color: #ff7a00;
}

.academic-section-desc {
    max-width: 680px;
    margin: 0 auto;
}

.academic-courses-block .col-lg-6 {
    padding-top: 1.5rem;
    overflow: visible;
}

.pathway-card {
    position: relative;
    border-radius: 24px;
    padding: 2rem 2rem 1.75rem;
    min-height: 100%;
    overflow: visible;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
}

.pathway-card-light {
    background: #ffffff;
    color: #334155;
    padding-top: 2.75rem;
}

.pathway-card-accent {
    background: linear-gradient(145deg, #ff9a2e 0%, #fe660e 48%, #f25c05 100%);
    color: #ffffff;
    overflow: visible;
    padding-top: 2.75rem;
    box-shadow: 0 16px 40px rgba(249, 115, 22, 0.28);
}

.pathway-card-accent::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
    z-index: 0;
}

.pathway-card-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-height: 0;
}

.pathway-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.pathway-card-light .pathway-card-icon {
    position: absolute;
    top: -24px;
    left: 1.75rem;
    margin-bottom: 0;
    background: #6c757d;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    z-index: 2;
}

.pathway-card-accent .pathway-card-icon {
    position: absolute;
    top: -24px;
    left: 1.75rem;
    margin-bottom: 0;
    background: #ffffff;
    color: #ff851b;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
    z-index: 3;
}

.pathway-card-icon-sparkles {
    overflow: visible;
}

.pathway-sparkles-svg {
    display: block;
    flex-shrink: 0;
}

.pathway-card-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.pathway-card-title {
    font-size: 1.375rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

.pathway-card-light .pathway-card-title {
    color:#6c757d;
}

.pathway-card-accent .pathway-card-title {
    color: #ffffff;
    font-size: 1.5rem;
}

.pathway-card-badge {
    display: inline-block;
    background: #ff8c1a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
}

.pathway-card-desc {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.35rem;
}

.pathway-card-light .pathway-card-desc {
    color: #64748b;
}

.pathway-card-accent .pathway-card-desc {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
}

.pathway-card-accent .pathway-card-desc strong,
.pathway-card-accent .pathway-card-desc b {
    color: #ffe4c0;
    font-weight: 700;
}

.pathway-card-divider {
    height: 1px;
    border: 0;
    margin: -0.35rem 0 1.35rem;
    background: rgba(255, 255, 255, 0.38);
    opacity: 1;
}

.pathway-card-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    flex-grow: 1;
}

.pathway-card-details li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 0.9rem;
}

.pathway-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.pathway-detail-icon i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1em;
    height: 1em;
    line-height: 1;
}

.pathway-card-light .pathway-detail-icon {
    background: #f1f5f9;
    color: #64748b;
}

.pathway-card-accent .pathway-detail-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.pathway-detail-text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.pathway-detail-label {
    font-weight: 500;
    line-height: 1.3;
    font-size: 0.78rem;
}

.pathway-detail-value {
    font-weight: 700;
    line-height: 1.35;
    font-size: 0.95rem;
}

.pathway-card-light .pathway-detail-label {
    color: #94a3b8;
}

.pathway-card-light .pathway-detail-value {
    color: #0f172a;
}

.pathway-card-accent .pathway-detail-label {
    color: #ffdcb8;
    font-weight: 500;
}

.pathway-card-accent .pathway-detail-value {
    color: #ffffff;
}

.pathway-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
    align-items: stretch;
}

.pathway-card-accent .pathway-card-actions {
    gap: 0.65rem;
}

.pathway-card-accent .pathway-card-actions--single .pathway-btn-enroll {
    flex: 0 1 62%;
    margin-left: auto;
}

.pathway-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.78rem 1.1rem;
    border-radius: 12px;

    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    white-space: nowrap;
}

.pathway-card-light .pathway-btn-brochure {
    flex: 1;
    border: 1px solid #d1d5db;
    color: #64748b;
    background: #ffffff;
}

.pathway-card-light .pathway-btn-enroll {
    flex: 2;
    background: #3d4551;
    color: #ffffff;
    border: 1px solid #3d4551;
}

.pathway-card-accent .pathway-btn-brochure {
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #ffffff;
    background: transparent;
    border-radius: 999px;
}

.pathway-card-accent .pathway-btn-enroll {
    flex: 2;
    background: #ffffff;
    color: #ff851b;
    border: 1px solid #ffffff;
    border-radius: 999px;
}

.pathway-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

/* Courses list page — 3-col grid with orange hover */
.courses-pathway-grid .pathway-card {
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.courses-pathway-grid .pathway-card:hover {
    background: linear-gradient(145deg, #ff9a2e 0%, #ff851b 48%, #f56a00 100%);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(249, 115, 22, 0.32);
}

.courses-pathway-grid .pathway-card-light:hover {
    padding-top: 2.75rem;
}

.courses-pathway-grid .pathway-card:hover .pathway-card-title,
.courses-pathway-grid .pathway-card:hover .pathway-card-desc,
.courses-pathway-grid .pathway-card:hover .pathway-detail-value {
    color: #ffffff;
}

.courses-pathway-grid .pathway-card:hover .pathway-card-desc strong,
.courses-pathway-grid .pathway-card:hover .pathway-card-desc b {
    color: #ffe4c0;
}

.courses-pathway-grid .pathway-card:hover .pathway-detail-label {
    color: #ffdcb8;
}

.courses-pathway-grid .pathway-card:hover .pathway-card-icon {
    position: absolute;
    top: -24px;
    left: 1.75rem;
    margin-bottom: 0;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.courses-pathway-grid .pathway-card-light:hover .pathway-card-icon {
    color: #ffffff;
}

.courses-pathway-grid .pathway-card:hover .pathway-card-icon-sparkles .pathway-sparkles-svg path {
    fill: #ff851b;
}

.courses-pathway-grid .pathway-card:hover .pathway-detail-icon {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.courses-pathway-grid .pathway-card:hover .pathway-card-badge {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.courses-pathway-grid .pathway-card:hover .pathway-btn-brochure {
    flex: 1;
    border-color: rgba(255, 255, 255, 0.75);
    color: #ffffff;
    background: transparent;
    border-radius: 999px;
}

.courses-pathway-grid .pathway-card:hover .pathway-btn-enroll {
    flex: 2;
    background: #ffffff;
    color: #ff851b;
    border-color: #ffffff;
    border-radius: 999px;
}

.special-programme-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.25rem 1.75rem 2rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s, box-shadow 0.25s;
}

.special-programme-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.1);
}

.special-programme-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.15rem;
    font-size: 1.65rem;
    flex-shrink: 0;
}

.special-programme-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.special-programme-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.special-programme-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 auto;
    line-height: 1.55;
    max-width: 18rem;
}

@media (max-width: 768px) {
    .academic-pathways-section {
        padding: 3.5rem 0 4rem;
    }

    .pathway-card-light {
        padding-top: 2.5rem;
    }

    .pathway-card-accent {
        padding-top: 2.5rem;
    }

    .pathway-card-light .pathway-card-icon {
        left: 1.25rem;
        top: -20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .pathway-card-accent .pathway-card-icon {
        left: 1.25rem;
        top: -20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .pathway-sparkles-svg {
        width: 22px;
        height: 22px;
    }

    .pathway-card-accent .pathway-card-actions--single .pathway-btn-enroll {
        flex: 1 1 auto;
        margin-left: 0;
        width: 100%;
    }

    .pathway-card {
        padding: 1.5rem 1.25rem 1.35rem;
    }

    .pathway-card-actions {
        flex-direction: column;
    }

    .pathway-card-accent .pathway-card-actions {
        flex-direction: row;
    }

    .pathway-card-light .pathway-btn-brochure,
    .pathway-card-light .pathway-btn-enroll {
        flex: 1 1 auto;
        width: 100%;
    }

    .pathway-card-light .pathway-btn {
        width: 100%;
    }

    .pathway-card-accent .pathway-btn-brochure {
        flex: 1;
        width: auto;
    }

    .pathway-card-accent .pathway-btn-enroll {
        flex: 2;
        width: auto;
    }
}

/* Card */
.course-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: .35s;
    border: 1px solid #eee;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(249, 115, 22, .18);
}

/* Image */
.course-image {
    position: relative;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: .5s;
}

.course-card:hover .course-image img {
    transform: scale(1.08);
}

/* overlay gradient */
.course-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent);
}

/* badge */
.course-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 30px;
}

.course-badge.hybrid {
    background: #0ea5e9;
}

.course-badge.classroom {
    background: #22c55e;
}

/* Body */
.course-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.course-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.course-body p {
    font-size: 14px;
    color: #64748b;
}

/* Meta chips */
.course-meta {
    margin: 16px 0;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.meta-chip {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 30px;
    font-size: 13px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Actions */
.course-actions {
    margin-top: auto;
}

.details-link {
    display: block;
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.details-link:hover {
    text-decoration: underline;
}



/* WHY SECTION */
.why-section {
    background: #FEF4F2;
    position: relative;
    padding: 4rem 0;
}

/* image wrapper */
.why-image-wrapper {
    position: relative;
}



/* right text */
.why-title {
    margin: 0 0 12px;
}

.why-title-underline {
    width: 56px;
    height: 4px;
    background: #F28A12;
    border-radius: 4px;
    margin-bottom: 20px;
}

.why-desc {
    margin-bottom: 28px;
}

/* Story Flowchart */
.story-flowchart {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    gap: 0;
}

.flowchart-step {
    display: flex;
    align-items: center;
    flex: 1 1 0;
    min-width: 150px;
}

.flowchart-card {
    flex: 1;
    background: #fff;
    border-radius: 14px;
    border: 2px solid #f97316;
    padding: 22px 14px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.07);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.flowchart-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(249, 115, 22, 0.18);
}

.flowchart-num {
    width: 32px;
    height: 32px;
    background: #f97316;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    flex-shrink: 0;
}

.flowchart-icon-fc {
    font-size: 24px;
    color: #f97316;
    margin-bottom: 10px;
}

.flowchart-text {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    margin: 0;
    line-height: 1.5;
}

.flowchart-arrow {
    flex-shrink: 0;
    width: 36px;
    text-align: center;
    font-size: 22px;
    color: #f97316;
    line-height: 1;
}

@media (max-width: 767px) {
    .story-flowchart {
        flex-direction: column;
        align-items: stretch;
    }
    .flowchart-step {
        flex-direction: column;
        align-items: stretch;
    }
    .flowchart-card {
        width: 100%;
    }
    .flowchart-arrow {
        width: 100%;
        padding: 6px 0;
        transform: rotate(90deg);
    }
}



/* CTA */
.why-btn {
    background: #F28A12;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 32px;
    font-weight: 700;
    font-size: 15px;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(242, 138, 18, 0.35);
}

.why-btn:hover {
    background: #d4770a;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(242, 138, 18, 0.45);
}

/* UPCOMING SECTION */
.upcoming-section {
    background: #fdf7f3;
    padding: 4rem 0;
}

/* Card */
.upcoming-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #f1e5dd;
    transition: .35s;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.upcoming-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 70px rgba(249, 115, 22, .18);
    border-color: #ffd9bf;
}

/* Image */
.upcoming-img {
    position: relative;
}

.upcoming-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

/* Admissions badge */
.admission-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: white;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 600;
}

/* Body */
.upcoming-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.upcoming-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.upcoming-body p {
    font-size: 14px;
    color: #64748b;
}

/* Actions */
.upcoming-actions {
    margin-top: auto;
}

.upcoming-actions .btn {
    width: 100%;
    margin-bottom: 12px;
}

/* PARALLAX CTA */
/* GRADIENT CTA CARD */
.gradient-cta-section {
    padding: 3rem 0;
}

.gradient-cta-card {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 55%, #e11d48 100%);
    border-radius: 24px;
    padding: 2.5rem 2.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    color: white;
    box-shadow: 0 12px 40px rgba(249, 115, 22, .35);
}

.gradient-cta-icon {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-cta-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 18px;
}

.gradient-cta-body h2 {
    font-size: 26px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    line-height: 1.3;
    letter-spacing: 1.4px;
}

.gradient-cta-body p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 20px;
}

.gradient-cta-btn {
    background: white;
    color: #ea580c;
    font-weight: 700;
    font-size: 15px;
    padding: 10px 28px;
    border-radius: 50px;
    border: none;
    transition: .3s;
    display: inline-block;
}

.gradient-cta-btn:hover {
    background: #fff7ed;
    color: #c2410c;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.gradient-cta-sub {
    margin-top: 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
}

@media(max-width:768px) {

    .gradient-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.25rem;
        align-items: center;
    }

    .gradient-cta-icon {
        width: 90px;
        height: 90px;
    }

    .gradient-cta-body h2 {
        font-size: 22px;
    }

    .gradient-cta-body p {
        font-size: 14px;
    }

}

.site-footer {
    background: #171E45;
    color: #a0aec0;
    padding: 4.5rem 0 0;
    margin-top: 0;
    position: relative;
}

.footer-main {
    padding-bottom: 2.75rem;
    align-items: flex-start;
}

@media (min-width: 992px) {
    .footer-main {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2.5rem 2rem;
        margin-left: 0;
        margin-right: 0;
    }

    .footer-main > .footer-col {
        width: 100%;
        max-width: none;
        padding-left: 0;
        padding-right: 0;
    }
}

.footer-main > .footer-col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.footer-brand-col {
    text-align: left;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 1.35rem;
    text-decoration: none;
}

.footer-logo {
    max-width: 168px;
    width: 100%;
    height: auto;
    display: block;
}

.footer-brand-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 100%;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.15rem;
    letter-spacing: 0.01em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.footer-links li {
    margin-bottom: 0.7rem;
    position: relative;
    padding-left: 1rem;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: #ff8c1a;
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 700;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.45;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ffffff;
}

.footer-newsletter-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.15rem;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.25rem;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.footer-social a:hover {
    border-color: #ff8c1a;
    color: #ff8c1a;
    background: rgba(255, 140, 26, 0.08);
}

.newsletter-form {
    display: flex;
    align-items: center;
    width: 100%;
    background: #1a2242;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    padding: 4px;
    max-width: 100%;
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: none;
    outline: none;
    padding: 0.72rem 1rem;
    background: transparent;
    color: #ffffff;
    font-size: 0.88rem;
}

.newsletter-form input::placeholder {
    color: #718096;
}

.newsletter-form button {
    background: #ff8c1a;
    border: none;
    color: #ffffff;
    padding: 0.62rem 1.1rem;
    border-radius: 999px;
    font-size: 0.84rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.newsletter-form button:hover {
    background: #e67d12;
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1.15rem 0 1.35rem;
    text-align: left;
}

.footer-copyright {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 400;
    color: #94a3b8;
    letter-spacing: 0.01em;
}

.footer-copyright strong {
    color: #e2e8f0;
    font-weight: 800;
}

@media (max-width: 768px) {
    .site-footer {
        padding-top: 3rem;
    }

    .footer-main > .footer-col,
    .footer-brand-col,
    .footer-newsletter-col {
        align-items: center;
        text-align: center;
    }

    .footer-brand-desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-copyright {
        text-align: center;
        font-size: 0.85rem;
        line-height: 1.5;
    }

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

    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
        border-radius: 16px;
        padding: 0.75rem;
        gap: 0.65rem;
    }

    .newsletter-form input {
        padding: 0.85rem 1rem;
        text-align: center;
    }

    .newsletter-form button {
        width: 100%;
        border-radius: 12px;
        padding: 0.75rem 1rem;
    }
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
    animation: zoomIn .35s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

/* =========================================
   RESPONSIVE ENHANCEMENTS
========================================= */

/* ---------- Large Tablets (≤ 1200px) ---------- */
@media (max-width: 1200px) {

    .gradient-cta-body h2 {
        font-size: 24px;
    }


}


/* ---------- Tablets (≤ 992px) ---------- */
@media (max-width: 992px) {

    /* Courses */
    .course-image img {
        height: 190px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 40px 25px;
    }

    .testimonial-text {
        font-size: 16px;
    }

    /* Why Section */
    .why-section {
        text-align: center;
    }

    .why-image-wrapper {
        margin-bottom: 30px;
    }

    /* Footer */
    .footer-title {
        margin-top: 30px;
    }
}


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

    /* General section spacing */
    .courses-section,
    .testimonials-section,
    .why-section,
    .upcoming-section {
        padding: 3rem 0;
    }


    /* Cards */
    .course-card,
    .upcoming-card {
        margin-bottom: 20px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 35px 20px;
    }

    .testimonial-avatar {
        width: 70px;
        height: 70px;
        top: -35px;
    }

    /* Footer adjustments */
    .site-footer {
        text-align: left;
    }

    .footer-brand-col,
    .footer-newsletter-col {
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

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

    /* Gradient CTA */
    .gradient-cta-body h2 {
        font-size: 20px;
    }

    .gradient-cta-body p {
        font-size: 14px;
    }

    .gradient-cta-btn {
        font-size: 14px;
        padding: 14px 26px;
    }

    /* Instagram grid */
    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


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

    body {
        font-size: 14px;
    }


    .footer-bottom {
        font-size: 13px;
    }

    .insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* SECTION */
.testimonial-referral-section {
    background: #fdf7f3;
    padding: 80px 0;
}

.testimonial-heading {
    font-size: 34px;
    font-weight: 700;
}

/* SWIPER */
.testimonialSwiper {
    padding: 120px 0;
}

/* CARD */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 60px 30px 30px;
    text-align: center;
    transition: .4s ease;
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .08);
}

/* AVATAR */
.testimonial-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid white;
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
}

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

/* TEXT */
.role {
    font-size: 13px;
    color: #64748b;
}

.testimonial-text {
    font-size: 14px;
    color: #475569;
    margin-top: 10px;
}

.stars {
    margin-top: 15px;
    color: #F97316;
    font-size: 16px;
}

/* VIDEO testimonial card */
.testimonial-card-video {
    padding: 20px 20px 25px;
    text-align: center;
}

.t-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
}

/* YouTube Shorts are portrait 9:16 */
.t-video-wrapper.is-short {
    max-width: 200px;
    aspect-ratio: 9 / 16;
    margin-left: auto;
    margin-right: auto;
}

.t-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    display: block;
}

/* SIDE SLIDES — testimonial only */
.testimonialSwiper .swiper-slide {
    transform: scale(0.88);
    transition: transform .4s ease;
}

/* Active center slide */
.testimonialSwiper .swiper-slide-active {
    transform: scale(1.25) !important;
}

/* Make center slightly lifted */
.testimonialSwiper .swiper-slide-active .testimonial-card {
    box-shadow: 0 30px 80px rgba(249, 115, 22, .35);
}

/* Slightly push side slides down */
.testimonialSwiper .swiper-slide-prev,
.testimonialSwiper .swiper-slide-next {
    transform: scale(0.75) translateY(15px) !important;
}

/* TESTIMONIALS PAGE */
.testimonials-page-section {
    background: #fff;
}

.testimonials-page-section-alt {
    background: #fdf7f3;
}

.testimonials-page-section .testimonials-grid {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 3.5rem;
    row-gap: 3.5rem;
}

.testimonials-page-section .testimonial-card {
    padding: 50px 24px 28px;
    margin-top: 0;
}

.testimonials-page-section .testimonial-card-video {
    padding-top: 24px;
}

/* Hero swiper — full-slide carousel (text + image together) */
.hero-swiper-shell {
    position: relative;
}

.hero-swiper-btn {
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 46px;
    height: 46px;
    border: 1px solid #eceff3;
    border-radius: 50%;
    background: #fff;
    color: #ff7a00;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(45, 52, 54, 0.1);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    transform: translateY(-50%);
}

.hero-swiper-btn i {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
}

.hero-swiper-btn:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 28px rgba(45, 52, 54, 0.14);
}

.hero-swiper-btn.swiper-button-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.hero-swiper-prev { left: 12px; }
.hero-swiper-next { right: 12px; }

.heroSwiper {
    overflow: hidden;
    width: 100%;
    padding-bottom: 44px;
    position: relative;
}

.heroSwiper .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    transform: none !important;
    overflow: hidden;
    height: auto;
    box-sizing: border-box;
}

.heroSwiper .swiper-wrapper { align-items: stretch; }
.heroSwiper .swiper-pagination { bottom: 8px; }
.heroSwiper .swiper-pagination-bullet-active { background: #ff7a00; }

/* ===============================
   MODERN HERO
================================= */

.hero-modern {
    --hero-orange: #ff7a00;
    position: relative;
    background:linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(251,241,227,0.4) 100%);
    padding: 0rem 0 6.5rem;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 64 64'%3E%3Cpath d='M32 8c-8.837 0-16 6.925-16 15.45 0 4.89 2.35 9.23 5.98 12.02L24 42.5V46h16v-3.5l2.02-6.03c3.63-2.79 5.98-7.13 5.98-12.02C48 14.925 40.837 8 32 8z' stroke='%23ff7a00' stroke-width='2' opacity='0.08'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 8% 85%;
    background-size: 120px;
    pointer-events: none;
    opacity: 0.7;
}

.hero-slide-row {
    width: 100%;
    margin: 0;
}

.hero-slide-content {
    position: relative;
    z-index: 1;
    padding: 0;
}

.hero-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--hero-orange);
    color: #ffffff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.72rem;
    margin-bottom: 1.25rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.hero-subtitle i {
    font-size: 0.85rem;
}

/* Shared section heading typography (matches .hero-title) */
.hero-title,
.about-academy-title,
.academic-section-title,
.section-title,
.faculty-hp-title,
.inner-page-hero-title,
.why-title,
.contact-dark-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.32;
    letter-spacing: -0.03em;
    color: #6c757d;
}

.hero-title .highlight,
.academic-section-highlight,
.faculty-hp-highlight,
.about-academy-title-line.academic-section-highlight,
.inner-page-hero-highlight,
.contact-dark-highlight,
.reading-room-title-highlight {
    color: #ff7a00;
}

.hero-title {
    margin-bottom: 1.15rem;
    max-width: 560px;
}

/* Shared section description typography (matches .hero-description) */
.hero-description,
.about-academy-desc,
.academic-section-desc,
.why-desc,
.inner-page-hero-desc,
.gallery-hub-desc,
.resources-hub-desc,
.programme-subtitle,
.contact-dark-desc {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: #212529bf;
    line-height: 1.75;
}

.hero-description {
    max-width: 520px;
    margin-bottom: 1.65rem;
}

.hero-actions {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.65rem;
}

.hero-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: var(--hero-orange);
    border: 2px solid var(--hero-orange);
    border-radius: 999px;
    padding: 0.8rem 1.55rem;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: 0 10px 28px rgba(255, 122, 0, 0.28);
    transition: .25s;
}

.hero-btn-primary:hover,
.hero-btn-primary:focus {
    background: #e56e00;
    border-color: #e56e00;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 122, 0, 0.34);
}

.hero-btn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    border: 2px solid var(--hero-orange);
    color: var(--hero-orange);
    border-radius: 999px;
    padding: 0.8rem 1.55rem;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.2rem;
    transition: .25s;
}

.hero-btn-outline:hover,
.hero-btn-outline:focus {
    background: #fff4eb;
    color: var(--hero-orange);
    transform: translateY(-2px);
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.hero-trust-avatars {
    display: flex;
    align-items: center;
}

.hero-trust-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -10px;
    background: #ffe8d1;
    box-shadow: 0 4px 12px rgba(45, 52, 54, 0.08);
}

.hero-trust-avatars .hero-trust-avatar:first-child {
    margin-left: 0;
}

.hero-trust-avatar.is-fallback {
    object-fit: none;
    background: linear-gradient(135deg, #ffb347, #ff7a00);
}

.hero-trust-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.hero-trust-stars {
    display: inline-flex;
    gap: 0.1rem;
    color: #fbbf24;
    font-size: 0.72rem;
}

.hero-trust-text {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: #64748b;
}

.hero-slide-visual {
    display: flex;
    align-items: center;
    justify-content: end;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    padding: 1rem 0.5rem;
}

.hero-image-card {
    position: relative;
    width: 100%;
}

.hero-image-frame {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 64px rgba(45, 52, 54, 0.12);
    background: #fff;
    height: 550px;
}

.hero-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
}

.hero-float-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: #ffffff;
    color: #334155;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(45, 52, 54, 0.12);
    z-index: 5;
    pointer-events: none;
    white-space: nowrap;
    animation: heroTagFloat 4s ease-in-out infinite;
}

.hero-float-tag i {
    font-size: 0.95rem;
    color: var(--hero-orange);
}

.hero-float-tag-left {
    top: 28%;
    left: -4%;
    animation-delay: 0s;
}

.hero-float-tag-top-right {
    top: 6%;
    right: -2%;
    animation-delay: 0.5s;
}

.hero-float-tag-mid-right {
    top: 42%;
    right: -6%;
    animation-delay: 1s;
}

.hero-float-tag-bottom-right {
    bottom: 18%;
    right: 2%;
    animation-delay: 1.5s;
}

@keyframes heroTagFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-feature-badge {
    position: absolute;
    bottom: 8%;
    left: -2%;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    background: #ffffff;
    padding: 0.65rem 1rem 0.65rem 0.7rem;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(45, 52, 54, 0.14);
    z-index: 6;
    max-width: calc(100% - 1rem);
}

.hero-feature-badge-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--hero-orange);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.hero-feature-badge-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.hero-feature-badge-copy strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 800;
    color: #6c757d;
}

.hero-feature-badge-copy span {
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.1rem;
}

/* Hero Video Embed */
.hero-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.hero-video-wrapper.is-short {
    aspect-ratio: 9 / 16;
    max-width: 280px;
    margin: 0 auto;
}

.hero-video-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.hero-vid-controls {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(6px);
    border-radius: 40px;
    padding: 6px 14px;
    z-index: 10;
    pointer-events: auto;
}

.hvc-btn {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    transition: background .2s;
}

.hvc-btn:hover { background: rgba(255,255,255,.2); }
.hvc-btn svg { width: 18px; height: 18px; display: block; }

.hero-vid-controls .icon-pause { display: none; }
.hero-vid-controls.is-playing .icon-play  { display: none; }
.hero-vid-controls.is-playing .icon-pause { display: block; }

.hero-vid-controls .icon-vol-off { display: none; }
.hero-vid-controls.is-muted .icon-vol-on  { display: none; }
.hero-vid-controls.is-muted .icon-vol-off { display: block; }

@media (prefers-reduced-motion: reduce) {
    .hero-float-tag { animation: none; }
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .hero-modern { text-align: center; }

    .hero-swiper-shell { padding: 1rem 0 1.5rem; }

    .hero-swiper-btn { width: 40px; height: 40px; }
    .hero-swiper-prev { left: 6px; }
    .hero-swiper-next { right: 6px; }

    .hero-title,
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-trust-meta {
        align-items: center;
    }

    .hero-image-wrapper {
        max-width: 380px;
        margin-top: 0.5rem;
    }

    .hero-float-tag-left { left: 0; }
    .hero-float-tag-top-right { right: 0; }
    .hero-float-tag-mid-right { right: -2%; }
    .hero-float-tag-bottom-right { right: 4%; }
    .hero-feature-badge { left: 0; }
}

@media (max-width: 768px) {
    .hero-image-frame {
        height: 385px;
    }
}

@media (max-width: 575px) {
    .hero-title,
    .about-academy-title,
    .academic-section-title,
    .section-title,
    .faculty-hp-title,
    .inner-page-hero-title,
    .why-title,
    .contact-dark-title {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
    }

    .hero-float-tag {
        font-size: 0.62rem;
        padding: 0.35rem 0.65rem;
    }

    .hero-feature-badge {
        padding: 0.55rem 0.8rem 0.55rem 0.6rem;
    }

    .hero-feature-badge-icon {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 992px) {
    .testimonialSwiper .swiper-slide-active {
        transform: scale(0.85) !important;
    }

    .testimonialSwiper {
        padding: 60px 0;
    }
}

/* =========================
   MODERN HEADER
========================= */

.modern-header {
    padding: 0;
    background: #fff;
    transition: background-color 0.4s ease;
    position: relative;
    z-index: 100;
    box-shadow: 0 2px 10px #0000000a;
}

.modern-header.sticky {
    background: #ffffff;
    box-shadow: 0 2px 10px #00000005;
}

.header-wrapper {
    background: #fff;
    padding: 20px 0px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    
}

.header-right {
    display: flex;
    align-items: center;
    gap: clamp(1.25rem, 2.5vw, 2rem);
    margin-left: auto;
}

/* Logo */
.header-logo img {
    max-height: 80px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.header-logo-mobile {
    max-height: 56px;
    max-width: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.2vw, 1.75rem);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 16px;
    align-self: stretch;
}

.header-nav a {
    text-decoration: none;
    color: var(--dark);
    position: relative;
    padding-bottom: 6px;
    transition: color 0.25s ease;
    white-space: nowrap;
}

.header-nav a:hover {
    color: var(--primary);
}

.header-nav a.active {
    color: var(--primary);
}

/* Orange underline */
.header-nav a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.25s ease;
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

/* Buttons */
.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.btn-login {
    padding: 10px 20px;
    border-radius: 999px;
    border: 2px solid var(--primary);
    background: #ffffff;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--primary);
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn-login:hover {
    background: #FC800A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
    border-color: var(--primary-dark);
}

.btn-signup {
    padding: 11px 22px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-signup:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px var(--primary-glow);
}

/* Mobile */
.mobile-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* ── Mobile Offcanvas Nav ─────────────────────────────────────── */
.mob-nav-link {
    text-decoration: none;
    color: #1a1209;
    background: none;
    border: none;
    padding: 0;
    transition: color .2s;
}
.mob-nav-link:hover,
.mob-nav-link.mob-nav-active {
    color: var(--primary);
}
.mob-nav-group .mob-nav-link[aria-expanded="true"] .mob-sub-chevron {
    transform: rotate(180deg);
}
.mob-submenu {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 8px 0 4px 16px;
    border-left: 2px solid var(--primary-light);
    margin-top: 4px;
}
.mob-sub-link {
    text-decoration: none;
    font-size: .95rem;
    font-weight: 500;
    color: #4a4035;
    padding: 6px 8px;
    border-radius: 8px;
    transition: background .15s, color .15s;
}
.mob-sub-link:hover,
.mob-sub-link.mob-nav-active {
    background: #fff7f0;
    color: var(--primary);
}
.mob-chevron-btn {
    background: none;
    border: none;
    padding: 4px 8px;
    color: #4a4035;
    cursor: pointer;
    line-height: 1;
}

@media (max-width: 992px) {

    .header-right {
        display: none;
    }

    .mobile-toggle {
        display: block;
        margin-left: auto;
    }
}

/* Fixed Bottom Bar Marquee */
body.has-bottom-bar {
    padding-bottom: 45px;
    /* Adjust based on bar height to prevent overlapping with footer content */
}

.fixed-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--dark);
    color: #fff;
    padding: 10px 0;
    z-index: 1040;
    /* Above most elements, but below offcanvas (1045) */
    overflow: hidden;
    white-space: nowrap;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    font-family: var(--font-body);
    height: 45px;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marqueeScroll 35s linear infinite;
    width: max-content;
}

/* Pause on hover */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.marquee-item a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.marquee-item a:hover {
    color: var(--primary);
}

.marquee-icon-img {
    height: 18px;
    width: auto;
    margin: 0 25px;
}

/* Adding the scrolling animation */
@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
        /* Using 50% since we duplicate the content in two items */
    }
}

/* =================================
   STICKY SOCIAL BAR 
================================== */
.sticky-social-bar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: end;
}

.sticky-social-bar .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #ffffff;
    color: var(--dark);
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s ease;
    border-radius: 8px 0 0 8px;
    border: 1px solid #e2e8f0;
    border-right: none;
    /* Flat on the right side */
    box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.05);
}

.sticky-social-bar .social-icon:hover {
    width: 45px;
}

/* Brand Colors */
.sticky-social-bar .facebook:hover {
    background: #1877F2;
    color: white;
    border-color: #1877F2;
}

.sticky-social-bar .instagram:hover {
    background: #E4405F;
    color: white;
    border-color: #E4405F;
}

.sticky-social-bar .twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.sticky-social-bar .youtube:hover {
    background: #CD201F;
    color: white;
    border-color: #CD201F;
}

.sticky-social-bar .whatsapp:hover {
    background: #25D366;
    color: white;
    border-color: #25D366;
}

@media (max-width: 768px) {
    .sticky-social-bar .social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .sticky-social-bar .social-icon:hover {
        width: 40px;
    }
}

/* =================================
   PAGES SPECIFIC STYLES
================================== */

/* Inner Page Hero — matches homepage hero-modern (cream bg, orange accents) */
.inner-page-hero {
    --inner-hero-orange: #ff7a00;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(3rem, 6vw, 4.25rem);
    background: #fffbf5;
    text-align: center;
    margin-bottom: 0;
    border-bottom: 1px solid rgba(255, 122, 0, 0.1);
}

.inner-page-hero-deco {
    position: absolute;
    pointer-events: none;
    z-index: 0;
}

.inner-page-hero-deco-left {
    left: 4%;
    bottom: 12%;
    width: 110px;
    height: 110px;
    opacity: 0.55;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 64 64'%3E%3Cpath d='M32 8c-8.837 0-16 6.925-16 15.45 0 4.89 2.35 9.23 5.98 12.02L24 42.5V46h16v-3.5l2.02-6.03c3.63-2.79 5.98-7.13 5.98-12.02C48 14.925 40.837 8 32 8z' stroke='%23ff7a00' stroke-width='2' opacity='0.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.inner-page-hero-deco-right {
    right: 6%;
    top: 18%;
    width: 72px;
    height: 72px;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 64 64'%3E%3Cpath d='M12 32l8 8 32-32' stroke='%23ff7a00' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' opacity='0.3'/%3E%3Ccircle cx='48' cy='16' r='6' stroke='%23ff7a00' stroke-width='2' opacity='0.25'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
}

.inner-page-hero-content {
    position: relative;
    z-index: 1;
}

.inner-page-hero-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    background: var(--inner-hero-orange);
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: none;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1.15rem;
    line-height: 1.2;
    box-shadow: 0 6px 18px rgba(255, 122, 0, 0.22);
}

.inner-page-hero-label i {
    font-size: 0.85rem;
}

.inner-page-hero-title {
    margin: 0 auto;
    max-width: 820px;
}

.inner-page-hero-title.is-long-title {
    font-size: clamp(1.55rem, 3.2vw, 2.35rem);
    max-width: 900px;
}

.inner-page-hero-title.has-accent-line::after {
    content: "";
    display: block;
    width: 4.5rem;
    height: 5px;
    margin: 1rem auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #ff8c1a 0%, #f26522 100%);
}

.inner-page-hero-desc {
    display: block;
    max-width: 640px;
    margin: 1.1rem auto 0;
}

.inner-page-hero-extra {
    margin-top: 1.25rem;
}

.inner-page-hero .meta-chip i {
    color: var(--inner-hero-orange);
}

@media (max-width: 768px) {
    .inner-page-hero {
        padding: 2.5rem 0 3rem;
    }

    .inner-page-hero-deco-left {
        width: 72px;
        height: 72px;
        left: 2%;
        bottom: 8%;
        opacity: 0.35;
    }

    .inner-page-hero-deco-right {
        display: none;
    }

    .inner-page-hero-desc {
        padding: 0 0.5rem;
    }
}

/* About Page */
.about-main-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.about-block {
    margin-bottom: 2.25rem;
}

.about-block-title,
.about-approach-title {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 2.8vw, 1.85rem);
    font-weight: 700;
    color: #4452b8;
    margin-bottom: 0.65rem;
}

.about-block-underline {
    width: 56px;
    height: 4px;
    background: #f28a12;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.about-block-text,
.about-approach-text {
    color: #4a607b;
    font-size: 0.98rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.about-mission-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-mission-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.85rem;
    color: #4a607b;
    font-size: 0.98rem;
    line-height: 1.6;
}

.about-mission-list li:last-child {
    margin-bottom: 0;
}

.about-mission-list li i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E91E63;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-top: 2px;
}

.about-collage-image {
    width: 80%;
    height: auto;
    display: block;
    border-radius: 18px;
    object-fit: cover;
    margin: 0 auto;
}

.about-approach-section {
    padding: 3.5rem 0 4.5rem;
    background: #ffffff;
}

.about-approach-text {
    max-width: 760px;
    margin-top: 1rem;
}

.about-wow-section {
    padding-top: 0;
    padding-bottom: 4rem;
}

.about-wow-card {
    background: linear-gradient(135deg, #F57C00, #E91E63);
}

@media (max-width: 991px) {
    .about-main-section {
        padding: 3.5rem 0;
    }

    .about-collage-frame {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .about-approach-section {
        padding: 2.5rem 0 3rem;
    }
}

/* Curriculum Page */
.curriculum-intro-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.curriculum-collage-image {

    width: 80%;
    height: auto;
}

.curriculum-methodology-section {
    padding: 3.5rem 0 4.5rem;
    background: #ffffff;
}

.curriculum-method-grid {
    margin-top: 2.25rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem 0;
}

.curriculum-method-item {
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
    padding: 0 0.5rem;
}

.curriculum-method-arrow {
    display: none;
}

.curriculum-method-card {
    background: #fff8ee;
    border-radius: 20px;
    padding: 2rem 1.25rem 1.5rem;
    text-align: center;

    transition: transform .25s ease, box-shadow .25s ease;
}

.curriculum-method-card:hover {
    transform: translateY(-4px);
  
}

.curriculum-method-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.65rem;

}

.curriculum-method-label {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: #4452b8;
    margin: 0;
}

.curriculum-wow-section {
    padding-top: 0;
    padding-bottom: 4rem;
}

@media (min-width: 768px) {
    .curriculum-method-grid {
        flex-wrap: nowrap;
        gap: 0;
    }

    .curriculum-method-item {
        flex: 1 1 0;
        max-width: 200px;
        padding: 0;
    }

    .curriculum-method-arrow {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        color: #f28a12;
        font-size: 1.35rem;
        font-weight: 700;
        opacity: 0;
        transform: translateX(-8px);
        transition: opacity .28s ease, transform .28s ease;
        pointer-events: none;
    }

    .curriculum-method-item:hover + .curriculum-method-arrow,
    .curriculum-method-arrow:has(+ .curriculum-method-item:hover) {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 991px) {
    .curriculum-intro-section {
        padding: 3.5rem 0;
    }

    .curriculum-collage-frame {
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (max-width: 575px) {
    .curriculum-methodology-section {
        padding: 2.5rem 0 3rem;
    }

    .curriculum-method-card {
        padding: 1.5rem 1rem 1.25rem;
    }

    .curriculum-method-icon {
        width: 60px;
        height: 60px;
        font-size: 1.35rem;
    }
}

/* For Schools Page */
.for-schools-benefits-section {
    padding: 3.5rem 0 4.5rem;
    background: #fdf7f3;
}

.for-schools-benefit-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    border: 1px solid #f3ede6;
    box-shadow: 0 7px 8px rgb(15 23 42 / 5%);
    transition: transform .25s, box-shadow .25s;
}

.for-schools-benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(249, 115, 22, .12);
}

.for-schools-benefit-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}

.for-schools-benefit-icon i {
    font-size: 2rem;
    color: #fff;
}

.for-schools-benefit-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: .5rem;
}

.for-schools-benefit-desc {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.65;
}

@media (max-width: 575px) {
    .for-schools-benefits-section {
        padding: 2.5rem 0 3rem;
    }
}

/* Summer Camp Page */
.summer-camp-programs-section {
    padding: 3.5rem 0 4.5rem;
    background: #fdf7f3;
}

@media (max-width: 575px) {
    .summer-camp-programs-section {
        padding: 2.5rem 0 3rem;
    }
}

/* Faculty Home Section */
/* ── Brands Carousel ──────────────────────────────────────── */
.brands-carousel-section {
    padding: 2.5rem 0;
    background: #f8f9fa;
    border-top: 1px solid #ececec;
    border-bottom: 1px solid #ececec;
}

.brands-track-wrapper {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    width: max-content;
    animation: brandsScroll 28s linear infinite;
}

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

@keyframes brandsScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

.brand-item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
}

.brand-item img {
    height: 48px;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(1) opacity(0.55);
    transition: filter .3s;
}

.brand-item:hover img {
    filter: grayscale(0) opacity(1);
}

.brand-name {
    font-size: 0.75rem;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    transition: color .3s;
    white-space: nowrap;
}

.brand-item:hover .brand-name {
    color: #555;
}

.faculty-hp-section {
    padding: 5rem 0 6rem;
    background: radial-gradient(ellipse at center, #fffdf9 0%, #fff6ef 42%, #fceee6 100%);
}

.faculty-hp-badge {
    display: inline-block;
    background: #ff8c1a;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.faculty-hp-title {
    margin-bottom: 0;
}

.faculty-hp-section .row > [class*="col-"] {
    display: flex;
}

.faculty-card-portrait {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 4 / 3;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    outline: none;
}

.faculty-card-portrait:hover,
.faculty-card-portrait:focus-within {
    transform: translateY(-4px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.faculty-card-portrait-media {
    position: absolute;
    inset: 0;
}

.faculty-card-portrait-img,
.faculty-card-portrait-placeholder {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.faculty-card-portrait-img {
    object-fit: cover;
    object-position: center 15%;
    transition: transform 0.5s ease;
}

.faculty-card-portrait:hover .faculty-card-portrait-img,
.faculty-card-portrait:focus-within .faculty-card-portrait-img {
    transform: scale(1.03);
}

.faculty-card-portrait-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #334155 0%, #1e293b 100%);
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
}

.faculty-card-portrait-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.35) 32%, transparent 58%);
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.faculty-card-portrait:hover .faculty-card-portrait-overlay,
.faculty-card-portrait:focus-within .faculty-card-portrait-overlay {
    opacity: 0.45;
}

.faculty-card-portrait-body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 1rem 1.15rem 1.15rem;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.faculty-card-portrait:hover .faculty-card-portrait-body,
.faculty-card-portrait:focus-within .faculty-card-portrait-body {
    opacity: 0;
    visibility: hidden;
}

.faculty-card-portrait-name {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
    line-height: 1.3;
}

.faculty-card-portrait-subject {
    display: inline-block;
    background: #ff8c1a;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.38rem 0.72rem;
    border-radius: 999px;
    line-height: 1.2;
}

.faculty-card-portrait-hover {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 68%;
    background: #0b0d17;
    padding: 1.35rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-radius: 18px 18px 0 0;
    transform: translateY(100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
}

.faculty-card-portrait:hover .faculty-card-portrait-hover,
.faculty-card-portrait:focus-within .faculty-card-portrait-hover {
    transform: translateY(0);
}

.faculty-card-portrait-hover .faculty-card-portrait-name {
    font-size: 1.05rem;
    margin-bottom: 0.55rem;
}

.faculty-card-portrait-hover .faculty-card-portrait-subject {
    margin-bottom: 0.85rem;
}

.faculty-card-portrait-meta {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.45rem;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.8rem;
    line-height: 1.4;
}

.faculty-card-portrait-meta i {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
    flex-shrink: 0;
}

.faculty-card-portrait-divider {
    width: 100%;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    margin: 0.75rem 0 0.85rem;
}

.faculty-card-portrait-quote {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
    font-style: italic;
    line-height: 1.55;
}

.faculty-view-more-btn {
    background: #ff8c1a;
    color: #ffffff;
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: background 0.25s, transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 18px rgba(255, 140, 26, 0.35);
}

.faculty-view-more-btn:hover {
    background: #e67d12;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 140, 26, 0.45);
}

@media (max-width: 768px) {
    .faculty-hp-section {
        padding: 3.5rem 0 4rem;
    }

    .faculty-card-portrait {
        aspect-ratio: 4 / 3;
        width: 100%;
    }
}

/* Faculty Page */
.faculty-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    text-align: center;
    padding: 30px;
    height: 100%;
}

.faculty-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.faculty-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid #f0f4f8;
}

.faculty-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.faculty-role {
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Contact Page — dark Get in Touch layout */
.contact-dark-section {
    --cd-bg: #0b1020;
    --cd-card: #141b2f;
    --cd-border: rgba(255, 255, 255, 0.08);
    background: linear-gradient(135deg, #171E45 0%, #0d122e 100%);
    padding: 5.5rem 0 3.5rem;
    color: #ffffff;
}

.contact-dark-header {
    max-width: 720px;
    margin: 0 auto 3rem;
}

.contact-dark-badge {
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.contact-dark-title {
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-dark-highlight {
    color: #ff7a00;
}

.contact-dark-desc {
    color: rgba(255, 255, 255, 0.82);
    margin: 0;
}

.contact-dark-main {
    margin-bottom: 3rem;
}

.contact-dark-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
}

.contact-dark-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 1.2rem 1.25rem;
    flex: 1;
}

.contact-dark-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.35rem;
}

.contact-dark-card p {
    margin: 0 0 0.25rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9rem;
    line-height: 1.55;
}

.contact-dark-card p:last-child {
    margin-bottom: 0;
}

.contact-dark-meta {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.82rem;
}

.contact-dark-link {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.contact-dark-link:hover {
    color: var(--primary);
}

.contact-dark-card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
    color: #ffffff;
}

.contact-dark-card-icon-orange { background: var(--primary); }
.contact-dark-card-icon-green { background: #22c55e; }
.contact-dark-card-icon-blue { background: #38bdf8; }

.contact-dark-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem 1.75rem 1.5rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
    height: 100%;
}

.contact-dark-form-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.25rem;
}

.contact-dark-input {
    width: 100%;
    border: none;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
    color: #1e293b;
    transition: box-shadow 0.2s, background 0.2s;
}

.contact-dark-input::placeholder {
    color: #94a3b8;
}

.contact-dark-input:focus {
    outline: none;
    background: #e8eef5;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.18);
}

.contact-dark-textarea {
    resize: vertical;
    min-height: 140px;
}

.contact-dark-submit {
    width: 100%;
    border: none;
    border-radius: 999px;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.98rem;
    padding: 0.95rem 1.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    transition: background 0.2s, transform 0.2s;
}

.contact-dark-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.contact-dark-map-wrap {
    margin-top: 1rem;
    margin-bottom: 0;
}

.contact-dark-map-heading {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.contact-dark-map-heading h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
}

.contact-dark-map-line {
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
}

.contact-dark-map {
    border: 7px solid rgb(255 255 255 / 16%);
    border-radius: 18px;
    overflow: hidden;
    height: 420px;
    background: #0f172a;
}

@media (max-width: 991px) {
    .contact-dark-section {
        padding: 4rem 0 3rem;
    }

    .contact-dark-map {
        height: 320px;
    }
}

/* Legacy contact page helpers (kept for compatibility) */
.contact-info-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    background: #fff7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon-wrapper {
    background: var(--primary);
}

.contact-info-card:hover .contact-icon {
    color: #fff;
}

.contact-form {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
    .contact-form {
        padding: 50px;
    }
}

.contact-form .form-control {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background-color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    outline: none;
}

.contact-form .form-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Our Core Values / Story Cards */
.core-value-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    border-bottom: 3px solid transparent;
}

.core-value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary);
}

.core-value-icon {
    width: 80px;
    height: 80px;
    background: #fff7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.core-value-card:hover .core-value-icon {
    background: var(--primary);
    color: #fff;
}

.core-value-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark);
}

.core-value-desc {
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Course Details Page */
.course-features-list {
    list-style: none;
    padding-left: 0;
}

.course-features-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.course-features-list li i {
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: 15px;
    margin-top: 2px;
}

.course-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    position: sticky;
    /* top: 120px; */
    border-top: 5px solid var(--primary);
}

.course-sidebar .sidebar-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.course-meta-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.course-meta-list li:last-child {
    border-bottom: none;
}

.course-meta-list .meta-icon {
    width: 40px;
    height: 40px;
    background: #fff7f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.course-meta-list .meta-content {
    display: flex;
    flex-direction: column;
    line-height: 1.4;
}

.course-meta-list .meta-content strong {
    color: var(--dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-meta-list .meta-content span {
    color: var(--text);
    font-weight: 500;
}

.course-price-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.about-cta-section {
    background: #fdf7f3;
}

/* =================================
   BLOG STYLES
================================= */

/* -- Filter Toolbar ----------------------------------------- */
.blog-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    border: 1.5px solid #f0f0f0;
}

/* Search input wrap */
.blog-search-wrap {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e8edf2;
    border-radius: 50px;
    padding: 0 10px 0 16px;
    transition: border-color .2s, box-shadow .2s;
}
.blog-search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249,115,22,.10);
    background: #fff;
}
.blog-search-icon {
    color: #aab;
    font-size: .92rem;
    flex-shrink: 0;
    margin-right: 8px;
}
.blog-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: .92rem;
    color: #333;
    padding: 10px 0;
}
.blog-search-input::placeholder { color: #aab; }
.blog-search-clear {
    color: #bbb;
    font-size: .78rem;
    padding: 4px 6px;
    text-decoration: none;
    transition: color .2s;
    flex-shrink: 0;
}
.blog-search-clear:hover { color: #e00; }

/* ── Header Nav Dropdown ─────────────────────────────────────── */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    align-self: stretch;
}
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    user-select: none;
}
.nav-chevron {
    font-size: .7rem;
    transition: transform .25s ease;
    margin-top: 1px;
}
.nav-dropdown:hover .nav-chevron,
.nav-dropdown:focus-within .nav-chevron {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 220px;
    background: #fff;
    border: 1.5px solid var(--primary-light);
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(249,115,22,.12);
    padding: 8px 0;
    z-index: 1050;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
/* invisible bridge covering the gap so mouse can travel to menu */
.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear 0s;
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 20px;
    font-size: .88rem;
    font-weight: 500;
    color: var(--dark);
    text-decoration: none;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: #fff7f0;
    color: var(--primary);
}
.nav-dropdown-menu a::after { display: none; }

/* Custom category dropdown trigger */
.blog-custom-select {
    position: relative;
    flex-shrink: 0;
    min-width: 200px;
}
.blog-custom-select-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    background: #f8fafc;
    border: 1.5px solid #e8edf2;
    border-radius: 50px;
    padding: 10px 16px;
    font-size: .88rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, background .2s;
    white-space: nowrap;
}
.blog-custom-select-btn:hover,
.blog-custom-select.open .blog-custom-select-btn {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(249,115,22,.10);
    background: #fff;
}
.blog-custom-select-btn.has-value {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff5ee;
    font-weight: 600;
}
.blog-select-icon {
    color: var(--primary);
    font-size: .85rem;
    flex-shrink: 0;
}
.blog-select-label { flex: 1; text-align: left; }
.blog-select-chevron {
    font-size: .72rem;
    color: #aaa;
    transition: transform .2s;
    flex-shrink: 0;
}
.blog-custom-select.open .blog-select-chevron { transform: rotate(180deg); }

/* Dropdown panel */
.blog-custom-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1.5px solid #e8edf2;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.12);
    z-index: 9999;
    overflow: hidden;
    padding: 6px;
}
.blog-custom-select-menu.open { display: block; }

.blog-select-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: .88rem;
    color: #444;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.blog-select-option:hover { background: #fff5ee; color: var(--primary); }
.blog-select-option.selected { background: #fff5ee; color: var(--primary); font-weight: 600; }
.blog-select-option span:first-child { flex: 1; }
.blog-select-count {
    background: #f0f0f0;
    border-radius: 20px;
    padding: 1px 9px;
    font-size: .75rem;
    color: #888;
    font-weight: 500;
    flex-shrink: 0;
}
.blog-select-option.selected .blog-select-count,
.blog-select-option:hover .blog-select-count { background: rgba(249,115,22,.15); color: var(--primary); }
.blog-select-option .bi-check2 { color: var(--primary); font-size: .9rem; flex-shrink: 0; }

/* Search button */
.blog-search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 24px;
    font-size: .88rem;
    font-weight: 600;
    cursor: pointer;
    flex-shrink: 0;
    transition: background .2s, box-shadow .2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-search-btn:hover { background: var(--primary-dark); box-shadow: 0 4px 14px rgba(249,115,22,.30); }

/* -- Results & Achievements -------------------------------- */
.results-achievements-section {
    background: #faf9f7;
    padding: 5.5rem 0 5rem;
}

.results-achievements-badge {
    display: inline-block;
    background: #fff3cd;
    color: #e67d12;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

.results-achievement-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #fff8eb 0%, #ffffff 58%);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.04);
}

.results-achievement-card-body {
    flex: 1;
    padding: 2rem 1.5rem 1.35rem;
}

.results-achievement-card-footer {
    background: #ffffff;
    padding: 1.15rem 1.5rem 1.4rem;
    border-top: 1px solid rgba(15, 23, 42, 0.05);
}

.results-achievement-top-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ffffff;
    color: #d97706;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.results-achievement-top-badge i {
    color: #f5b800;
    font-size: 0.72rem;
}

.results-achievement-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 8px 22px rgba(249, 115, 22, 0.32);
}

.results-achievement-icon.is-featured {
    background: linear-gradient(135deg, #fcd34d 0%, #f59e0b 100%);
    box-shadow: 0 8px 22px rgba(245, 158, 11, 0.38);
}

.results-achievement-rank {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2rem);
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 0;
    line-height: 1.15;
}

.results-achievement-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.98rem;
    margin-bottom: 0.2rem;
}

.results-achievement-meta {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.45;
}

.results-achievement-program {
    display: inline-block;
    margin-top: 0.65rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.76rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 0.38rem 0.9rem;
    border-radius: 999px;
}

.results-toppers-block {
    margin-top: 2.75rem;
    padding-top: 2.75rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.results-toppers-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 1.35rem;
}

.results-topper-quote-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 1.75rem 1.65rem 1.5rem;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.04);
    border-left: 4px solid #f5b800;
}

.results-topper-rank-badge {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #fff3cd;
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
}

.results-topper-rank-badge i {
    color: #f5b800;
}

.results-topper-quote-mark {
    display: block;
    font-size: 3rem;
    line-height: 1;
    color: var(--primary);
    font-weight: 800;
    margin-bottom: 0.35rem;
}

.results-topper-quote {
    color: #64748b;
    font-style: italic;
    font-size: 1rem;
    line-height: 1.7;
    margin: 0 0 1.5rem;
    padding-right: 3rem;
}

.results-topper-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.results-topper-avatar,
.results-topper-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
}

.results-topper-avatar {
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.results-topper-avatar-img {
    object-fit: cover;
}

.results-topper-author strong {
    display: block;
    color: #1e293b;
    font-size: 0.95rem;
}

.results-topper-author span {
    display: block;
    color: #64748b;
    font-size: 0.82rem;
}

.results-topper-video-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.1);
    background: #0f172a;
    min-height: 100%;
}

.results-topper-video-link {
    position: relative;
    display: block;
    height: 100%;
    min-height: 280px;
    text-decoration: none;
    color: inherit;
}

.results-topper-video-thumb {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.results-topper-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 28px rgba(249, 115, 22, 0.45);
}

.results-topper-video-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1.15rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, transparent 100%);
}

.results-topper-video-tag {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 0.2rem;
}

.results-topper-video-text {
    display: block;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.4;
}

.results-topper-video-embed iframe {
    border: 0;
    width: 100%;
    height: 100%;
}

@media (max-width: 991px) {
    .results-achievements-section {
        padding: 4rem 0;
    }

    .results-topper-quote {
        padding-right: 0;
    }
}

/* -- Gallery Hub (Award Events) ---------------------------- */
.gallery-hub-section {
    background: #ffffff;
    padding: 5.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.gallery-hub-title {
    margin-top: 0.85rem;
    margin-bottom: 1rem;
    max-width: 420px;
}

.gallery-hub-desc {
    margin-bottom: 1.75rem;
    max-width: 460px;
}

.gallery-hub-cta {
    background: var(--primary);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.65rem;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.32);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.gallery-hub-cta:hover {
    background: var(--primary-dark);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(249, 115, 22, 0.38);
}

.gallery-hub-grid-wrap {
    position: relative;
}

.gallery-hub-glow {
    position: absolute;
    inset: -8% -5% -5%;
    background: radial-gradient(ellipse at 55% 45%, rgba(255, 122, 0, 0.14) 0%, rgba(255, 122, 0, 0.04) 42%, transparent 72%);
    pointer-events: none;
    z-index: 0;
}

.gallery-hub-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.88fr 0.92fr;
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1rem;
    min-height: 460px;
}

.gallery-hub-item {
    display: block;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(15, 23, 42, 0.12);
    background: #e2e8f0;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-hub-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.gallery-hub-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.gallery-hub-item:hover .gallery-hub-img {
    transform: scale(1.04);
}

.gallery-hub-item-main {
    grid-column: 1;
    grid-row: 1 / 3;
}

.gallery-hub-item-mid-top {
    grid-column: 2;
    grid-row: 1;
}

.gallery-hub-item-mid-bottom {
    grid-column: 2;
    grid-row: 2;
}

.gallery-hub-item-tall {
    grid-column: 3;
    grid-row: 1 / 3;
}

@media (max-width: 991px) {
    .gallery-hub-section {
        padding: 4rem 0;
    }

    .gallery-hub-title,
    .gallery-hub-desc {
        max-width: none;
    }

    .gallery-hub-grid {
        min-height: 340px;
    }
}

@media (max-width: 575px) {
    .gallery-hub-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 200px 140px 180px;
        min-height: auto;
    }

    .gallery-hub-item-main {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .gallery-hub-item-mid-top {
        grid-column: 1;
        grid-row: 2;
    }

    .gallery-hub-item-mid-bottom {
        grid-column: 2;
        grid-row: 2;
    }

    .gallery-hub-item-tall {
        grid-column: 1 / 3;
        grid-row: 3;
    }
}

/* -- Test Series & Resources Hub --------------------------- */
.resources-hub-section {
    background: #ffffff;
    padding: 5rem 0 6rem;
}

.resources-hub-desc {
    max-width: 720px;
    margin: 0.75rem auto 0;
}

.resources-hub-test-card {
    background: #faf6f1;
    border-radius: 24px;
    padding: 2rem 2rem 1.75rem;
    box-shadow: 0 12px 36px rgba(45, 52, 54, 0.06);
    display: flex;
    flex-direction: column;
}

.resources-hub-test-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 1.35rem;
}

.resources-hub-test-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    flex: 1;
}

.resources-hub-test-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.resources-hub-test-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff4e8;
    color: #ff7a00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.resources-hub-test-list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #2d3436;
    margin-bottom: 0.2rem;
}

.resources-hub-test-list p {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
}

.resources-hub-test-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    align-self: flex-start;
    background: #ff7a00;
    color: #fff;
    border-radius: 999px;
    padding: 0.7rem 1.25rem;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: none;
    box-shadow: 0 8px 24px rgba(255, 122, 0, 0.28);
    transition: transform 0.2s, box-shadow 0.2s;
}

.resources-hub-test-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 122, 0, 0.34);
}

.resources-hub-library {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.resources-hub-library-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #2d3436;
    margin-bottom: 1.15rem;
}

.resources-hub-tier-label {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 0.65rem;
}

.resources-hub-tier-free {
    color: #16a34a;
}

.resources-hub-tier-premium {
    color: #ff7a00;
}

.resources-hub-tiles {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.resources-hub-tile {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #ffffff;
    border: 1px solid #eceff3;
    border-radius: 14px;
    padding: 0.85rem 1rem;
    text-decoration: none;
    color: #334155;
    font-weight: 700;
    font-size: 0.88rem;
    box-shadow: 0 6px 18px rgba(45, 52, 54, 0.05);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.resources-hub-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(45, 52, 54, 0.1);
    color: #2d3436;
}

.resources-hub-tile-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.resources-hub-tile-free .resources-hub-tile-icon {
    background: #ecfdf5;
    color: #16a34a;
}

.resources-hub-tile-premium .resources-hub-tile-icon {
    background: #fff4e8;
    color: #ff7a00;
}

.resources-hub-tiles-row {
    flex: 1;
}

.resources-hub-browse {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.25rem;
    background: #2d3436;
    color: #ffffff;
    border-radius: 16px;
    padding: 1rem 1rem 1rem 1.25rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.resources-hub-browse:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 52, 54, 0.2);
}

.resources-hub-browse-copy {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.resources-hub-browse-copy strong {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 700;
}

.resources-hub-browse-copy small {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.72);
}

.resources-hub-browse-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    color: #2d3436;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .resources-hub-section {
        padding: 4rem 0 4.5rem;
    }

    .resources-hub-test-card {
        margin-bottom: 0.5rem;
    }
}

/* -- Dedicated Reading Room -------------------------------- */
.reading-room-section {
    --rr-accent: #ff7a00;
    --rr-gallery-height: 580px;
    --rr-bg-start: #141a35;
    --rr-bg-mid: #1c2448;
    --rr-bg-end: #232d52;
    position: relative;
    background:radial-gradient(ellipse at 10% 50%, rgba(252, 128, 10, 0.25) 0%, transparent 55%),        radial-gradient(ellipse at 90% 20%, rgba(151, 63, 234, 0.18) 0%, transparent 50%),        radial-gradient(ellipse at 60% 90%, rgba(249, 110, 160, 0.15) 0%, transparent 45%),        linear-gradient(135deg, #0f1535 0%, #171E45 45%, #1a1060 100%);
    padding: 7rem 0 7rem;
    overflow: hidden;
    color: #ffffff;
}

.reading-room-decor-layer {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.reading-room-decor {
    position: absolute;
    pointer-events: none;
    z-index: 0;
    line-height: 1;
    font-size: clamp(1.75rem, 3vw, 3.25rem);
    opacity: 0.32;
    animation: rrDecorFloat var(--rr-float-duration, 5.5s) ease-in-out infinite;
    animation-delay: var(--rr-float-delay, 0s);
    will-change: transform;
}

.reading-room-decor--solid {
    opacity: 0.42;
}

.reading-room-decor--outline {
    opacity: 0.26;
}

.reading-room-decor--orange { color: #e8954f; }
.reading-room-decor--pink { color: #d98bb8; }
.reading-room-decor--purple { color: #b07cc8; }
.reading-room-decor--green { color: #b5db6a; }
.reading-room-decor--cyan { color: #8eb8e8; }

.reading-room-decor-books { top: 10%; left: 4%; font-size: clamp(2rem, 3.5vw, 3.5rem); }
.reading-room-decor-cap { top: 7%; right: 7%; font-size: clamp(1.85rem, 3vw, 3rem); }
.reading-room-decor-bulb { bottom: 10%; left: 5%; font-size: clamp(2rem, 3.2vw, 3.25rem); }
.reading-room-decor-award { bottom: 24%; left: 11%; font-size: clamp(1.65rem, 2.6vw, 2.75rem); }
.reading-room-decor-pen { top: 20%; left: 24%; font-size: clamp(1.5rem, 2.4vw, 2.5rem); }
.reading-room-decor-journal { bottom: 12%; left: 44%; font-size: clamp(1.55rem, 2.5vw, 2.6rem); }
.reading-room-decor-hourglass { bottom: 30%; right: 22%; font-size: clamp(1.6rem, 2.5vw, 2.65rem); }
.reading-room-decor-stars { bottom: 34%; right: 16%; font-size: clamp(1.1rem, 1.8vw, 1.75rem); }
.reading-room-decor-bookmark { top: 14%; right: 32%; font-size: clamp(1.7rem, 2.7vw, 2.8rem); }
.reading-room-decor-globe { bottom: 9%; right: 5%; font-size: clamp(1.75rem, 2.8vw, 2.9rem); }

@keyframes rrDecorFloat {
    0%, 100% {
        transform: translate3d(0, 0, 0) rotate(var(--rr-rotate, 0deg));
    }
    33% {
        transform: translate3d(5px, -11px, 0) rotate(calc(var(--rr-rotate, 0deg) + 3deg));
    }
    66% {
        transform: translate3d(-4px, -6px, 0) rotate(calc(var(--rr-rotate, 0deg) - 2deg));
    }
}

@media (prefers-reduced-motion: reduce) {
    .reading-room-decor {
        animation: none;
        transform: rotate(var(--rr-rotate, 0deg));
    }
}

@media (max-width: 991px) {
    .reading-room-decor-pen,
    .reading-room-decor-journal,
    .reading-room-decor-stars,
    .reading-room-decor-bookmark {
        display: none;
    }
}

@media (max-width: 575px) {
    .reading-room-decor-award,
    .reading-room-decor-hourglass,
    .reading-room-decor-globe {
        display: none;
    }
}

.reading-room-section .container {
    position: relative;
    z-index: 1;
}

.reading-room-gallery {
    display: grid;
    grid-template-columns: 1.45fr 0.72fr;
    gap: 0.9rem;
    max-width: 560px;
    margin: 0;
    min-height: var(--rr-gallery-height);
    align-items: stretch;
}

.reading-room-gallery-main {
    position: relative;
    grid-row: span 2;
    min-height: var(--rr-gallery-height);
    height: 100%;
}

.reading-room-gallery-img-main,
.reading-room-gallery-img-side {
    width: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid #99999942;
    display: block;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.reading-room-gallery-img-main {
    height: 100%;
    min-height: var(--rr-gallery-height);
}

.reading-room-gallery-side {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    grid-row: span 2;
    min-height: var(--rr-gallery-height);
    height: 100%;
}

.reading-room-gallery-img-side {
    flex: 1 1 0;
    min-height: 0;
    width: 100%;
    height: auto;
}

.reading-room-gallery-badge {
    position: absolute;
    bottom: 1.1rem;
    left: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(255, 255, 255, 0.97);
    color: #2d3436;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.4rem 0.85rem 0.4rem 0.4rem;
    border-radius: 999px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.reading-room-gallery-badge-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--rr-accent);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.reading-room-content {
    padding-left: 0;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .reading-room-content {
        padding-left: 50px;
    }
}

.reading-room-badge {
    display: inline-block;
    background: var(--rr-accent);
    color: #ffffff;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.42rem 0.95rem;
    border-radius: 999px;
    margin-bottom: 1.1rem;
}

.reading-room-section .reading-room-title {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: #ffffff;
    text-align: left;
}

.reading-room-features {
    background: rgb(255 255 255 / 18%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    padding: 2rem 2.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    width: 100%;
}

.reading-room-feature {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    min-width: 0;
}

.reading-room-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.3rem;
    box-shadow: none;
}

.reading-room-feature:nth-child(1) .reading-room-feature-icon,
.reading-room-feature:nth-child(3) .reading-room-feature-icon {
    background: #ffffff;
    color: #4a5568;
}

.reading-room-feature:nth-child(2) .reading-room-feature-icon {
    background: #ff8c00;
    color: #ffffff;
}

.reading-room-feature:nth-child(4) .reading-room-feature-icon {
    background: #00b4ff;
    color: #ffffff;
}

.reading-room-feature-icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    line-height: 1;
}

.reading-room-feature-text {
    min-width: 0;
}

.reading-room-feature strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0.35rem;
    color: #ffffff;
    line-height: 1.25;
}

.reading-room-feature p {
    margin: 0;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.45;
}

.reading-room-membership {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: nowrap;
    background: rgb(57 45 22 / 27%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 19px;
    padding: 1.35rem 1.5rem;
    margin-bottom: 1.35rem;
    width: 100%;
}

.reading-room-membership-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
    flex: 1 1 auto;
}

.reading-room-membership-icon {
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    color: var(--rr-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.85rem;
    line-height: 1;
    box-shadow: none;
}

.reading-room-membership-info strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.25;
}

.reading-room-membership-info span {
    display: block;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 0.2rem;
    line-height: 1.35;
}

.reading-room-prices {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

.reading-room-price {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 1.15rem;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
    line-height: 1.2;
}

.reading-room-price:hover {
    transform: translateY(-1px);
    color: inherit;
}

.reading-room-price-light {
    background: #ffffff;
    color: #141a35;
}

.reading-room-price-accent {
    background: var(--rr-accent);
    color: #ffffff;
    box-shadow: none;
}

.reading-room-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: auto;
    min-width: 200px;
    max-width: none;
    background: #ffffff;
    color: #5d646d;
    border-radius: 999px;
    padding: 0.9rem 2rem;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    align-self: flex-start;
    text-decoration: none;
}

.reading-room-cta i {
    color: var(--rr-accent);
    font-size: 1.1rem;
    line-height: 1;
}

.reading-room-cta:hover,
.reading-room-cta:focus,
.reading-room-cta:active {
    background: #ffffff;
    color: #5d646d;
    transform: none;
    box-shadow: none;
    border: none;
    outline: none;
}

@media (max-width: 991px) {
    .reading-room-section {
        padding: 4rem 0 4.5rem;
    }

    .reading-room-gallery {
        margin: 0 auto 0.5rem;
    }

    .reading-room-features {
        padding: 1.75rem 1.5rem;
        gap: 1.5rem;
        border-radius: 28px;
    }

    .reading-room-feature strong {
        font-size: 1.1rem;
    }

    .reading-room-membership {
        flex-direction: column;
        align-items: stretch;
        flex-wrap: wrap;
        padding: 1.25rem 1.25rem;
        border-radius: 24px;
    }

    .reading-room-prices {
        width: 100%;
        margin-left: 0;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 0.55rem;
    }

    .reading-room-price {
        flex: 1 1 auto;
        min-width: 0;
    }

    .reading-room-content {
        text-align: left;
    }

    .reading-room-section .reading-room-title {
        text-align: left;
    }

    .reading-room-cta {
        width: 100%;
        max-width: none;
        align-self: stretch;
    }
}

@media (max-width: 575px) {
    .reading-room-gallery {
        grid-template-columns: 1fr;
        min-height: auto;
        max-width: 100%;
    }

    .reading-room-features {
        gap: 1.35rem;
        padding: 1.5rem 1.25rem;
        border-radius: 24px;
    }

    .reading-room-feature {
        align-items: flex-start;
    }

    .reading-room-feature-icon {
        width: 52px;
        height: 52px;
        font-size: 1.15rem;
    }

    .reading-room-feature strong {
        font-size: 1rem;
    }

    .reading-room-gallery-main {
        grid-row: auto;
    }

    .reading-room-gallery-img-main {
        min-height: 320px;
        aspect-ratio: 4 / 5;
        height: auto;
    }

    .reading-room-gallery-side {
        flex-direction: row;
        grid-row: auto;
        min-height: 0;
        height: auto;
    }

    .reading-room-gallery-img-side {
        height: auto;
        aspect-ratio: 1;
        flex: 1;
    }

    .reading-room-cta {
        max-width: none;
        width: 100%;
    }
}

/* -- Knowledge Hub Blog Card -------------------------------- */
.knowledge-hub-section {
    background: radial-gradient(ellipse at center, #fffdf9 0%, #fff6ef 42%, #fceee6 100%);
    padding: 5rem 0 6rem;
}

.knowledge-hub-page {
    padding-top: 3rem;
}

.knowledge-hub-header .academic-section-title {
    margin-bottom: 0;
}

.knowledge-hub-view-all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.35rem;
    border-radius: 999px;
    border: 1.5px solid #ff8c1a;
    color: #ff8c1a;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    white-space: nowrap;
}

.knowledge-hub-view-all:hover {
    background: #ff8c1a;
    color: #ffffff;
    transform: translateY(-1px);
}

.blog-hub-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, box-shadow 0.25s;
}

.blog-hub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.blog-hub-card-header {
    position: relative;
    min-height: 150px;
    padding: 1.5rem 1.25rem 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.blog-hub-card-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -58%);
    font-size: 2.75rem;
    line-height: 1;
    opacity: 0.95;
}

.blog-hub-category {
    position: relative;
    z-index: 2;
    display: inline-block;
    align-self: flex-start;
    background: #ffffff;
    border-radius: 999px;
    padding: 0.3rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-decoration: none;
    margin-bottom: 0.35rem;
}

.blog-hub-date {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    z-index: 2;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-align: center;
}

.blog-hub-card-orange .blog-hub-card-header { background: #ff8c1a; }
.blog-hub-card-orange .blog-hub-card-icon { color: rgba(255, 255, 255, 0.92); }
.blog-hub-card-orange .blog-hub-category { color: #ff8c1a; }
.blog-hub-card-orange .blog-hub-date { color: #ffffff; background: transparent; padding: 0; }

.blog-hub-card-green .blog-hub-card-header { background: #b8d4b8; }
.blog-hub-card-green .blog-hub-card-icon { color: #166534; }
.blog-hub-card-green .blog-hub-category { color: #166534; }
.blog-hub-card-green .blog-hub-date {
    background: #166534;
    color: #ffffff;
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    min-width: 52px;
}

.blog-hub-card-yellow .blog-hub-card-header { background: #fde68a; }
.blog-hub-card-yellow .blog-hub-card-icon { color: #ea580c; }
.blog-hub-card-yellow .blog-hub-category { color: #ea580c; }
.blog-hub-card-yellow .blog-hub-date {
    background: #ea580c;
    color: #ffffff;
    border-radius: 6px;
    padding: 0.35rem 0.5rem;
    min-width: 52px;
}

.blog-hub-card-body {
    padding: 1.35rem 1.25rem 1.4rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-hub-title {
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.45;
    margin: 0 0 0.65rem;
}

.blog-hub-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-hub-card-orange .blog-hub-title a:hover { color: #ff8c1a; }
.blog-hub-card-green .blog-hub-title a:hover { color: #166534; }
.blog-hub-card-yellow .blog-hub-title a:hover { color: #ea580c; }

.blog-hub-excerpt {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1rem;
    flex: 1;
}

.blog-hub-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
}

.blog-hub-read-time {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    color: #94a3b8;
}

.blog-hub-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.2s;
}

.blog-hub-card-orange .blog-hub-read-more { color: #ff8c1a; }
.blog-hub-card-green .blog-hub-read-more { color: #166534; }
.blog-hub-card-yellow .blog-hub-read-more { color: #ea580c; }

.blog-hub-read-more:hover { opacity: 0.8; }

@media (max-width: 768px) {
    .knowledge-hub-section {
        padding: 3.5rem 0 4rem;
    }

    .knowledge-hub-header {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .knowledge-hub-view-all {
        width: 100%;
    }
}

/* Legacy blog card aliases (kept for compatibility) */
.blog-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.06);
    transition: box-shadow .3s, transform .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.12); transform: translateY(-4px); }

.blog-image { position: relative; overflow: hidden; }
.blog-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform .4s;
    display: block;
}
.blog-card:hover .blog-image img { transform: scale(1.05); }

.blog-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background .2s;
}
.blog-badge:hover { background: var(--primary-dark); color: #fff; }

.blog-body {
    padding: 1.4rem 1.4rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.blog-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    font-size: .78rem;
    color: #999;
    margin-bottom: .85rem;
}
.blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-meta i { font-size: .82rem; color: var(--primary); }

.blog-title {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-heading);
    line-height: 1.45;
    margin-bottom: .7rem;
}
.blog-title a { color: #1a1a2e; text-decoration: none; transition: color .2s; }
.blog-title a:hover { color: var(--primary); }

.blog-excerpt { font-size: .88rem; color: #666; line-height: 1.65; margin-bottom: 1rem; flex: 1; }

.blog-read-more {
    font-size: .85rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap .2s, color .2s;
    margin-top: auto;
}
.blog-read-more:hover { gap: 10px; color: var(--primary-dark); }

/* -- Pagination brand colours ------------------------------- */
.pagination .page-link { color: var(--primary); border-radius: 8px !important; }
.pagination .page-item.active .page-link { background-color: var(--primary); border-color: var(--primary); }

/* -- Responsive --------------------------------------------- */
@media (max-width: 640px) {
    .blog-search-wrap,
    .blog-custom-select { min-width: 100%; }
    .blog-search-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   RESOURCES PAGE
   ============================================================ */
.resource-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    height: 100%;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,.13); }

/* Thumbnail area */
.resource-thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
    background: #f5f5f5;
}
.resource-thumb img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.resource-icon-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.resource-icon-placeholder i {
    font-size: 5rem;
    line-height: 1;
    transition: transform .3s ease;
}
.resource-card:hover .resource-icon-placeholder i {
    transform: scale(1.08);
}

.resource-icon-pdf   { background: linear-gradient(145deg, #fff0f0 0%, #fcd6d6 100%); color: #e53935; }
.resource-icon-doc   { background: linear-gradient(145deg, #eef3ff 0%, #d5e4ff 100%); color: #1565c0; }
.resource-icon-image { background: linear-gradient(145deg, #efffef 0%, #d4f5d6 100%); color: #2e7d32; }
.resource-icon-other { background: linear-gradient(145deg, #f7f3ff 0%, #e8deff 100%); color: #6a1b9a; }

/* Badges floating over thumb */
.resource-type-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: rgba(0,0,0,.55);
    color: #fff;
}
.resource-free-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    text-transform: uppercase;
    background: #e8f5e9;
    color: #2e7d32;
}

/* Card body */
.resource-body {
    padding: 1rem 1.1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.resource-category {
    font-size: .73rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .35rem;
}
.resource-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: .4rem;
    line-height: 1.35;
}
.resource-desc {
    font-size: .85rem;
    color: #666;
    line-height: 1.6;
    flex: 1;
    margin-bottom: .5rem;
}
.resource-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #f0f0f0;
    padding: .85rem 1.1rem;
    margin-top: auto;
}
.btn-resource-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--primary);
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s, transform .15s;
    white-space: nowrap;
    width: 100%;
}
.btn-resource-download:hover { background: var(--primary-dark); color: #fff; transform: translateY(-1px); }

/* Resource group cards (listing page) */
.resource-group-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,.08);
    transition: transform .22s, box-shadow .22s;
    color: inherit;
}
.resource-group-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,.13);
    text-decoration: none;
    color: inherit;
}
.resource-group-thumb {
    position: relative;
    aspect-ratio: 4/3;
    background: linear-gradient(145deg, #fff8f0 0%, #ffe4cc 100%);
    overflow: hidden;
}
.resource-group-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.resource-group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3.5rem;
    color: var(--color-primary, #f97316);
    opacity: .85;
}
.resource-group-count {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,.65);
    color: #fff;
    font-size: .72rem;
    padding: 4px 10px;
    border-radius: 999px;
}
.resource-group-body {
    padding: 1.1rem 1.2rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.resource-group-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: .4rem;
    color: #1a1a2e;
}
.resource-group-desc {
    font-size: .85rem;
    color: #6b7280;
    margin-bottom: .75rem;
    flex: 1;
}
.resource-group-link {
    font-size: .85rem;
    font-weight: 600;
    color: var(--color-primary, #f97316);
}

/* ============================================================
   LEGAL PAGES (Privacy Policy / Terms / Disclaimer)
   ============================================================ */
.legal-content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    padding: 2.5rem 3rem;
}
.legal-prose h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 1rem;
}
.legal-prose h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-top: 2rem;
    margin-bottom: .6rem;
}
.legal-prose p {
    font-size: .95rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 1rem;
}
.legal-prose ul, .legal-prose ol {
    font-size: .95rem;
    color: #555;
    line-height: 1.8;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-prose a { color: var(--primary); text-decoration: underline; }
.legal-prose strong { color: #333; }
@media (max-width: 576px) {
    .legal-content-card { padding: 1.5rem 1.25rem; }
}

/* -- Blog Pagination ------------------------------- */
.blog-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1.5px solid #e0e0e0;
    background: #fff;
    color: #333;
    font-size: .9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all .2s;
}
.blog-page-btn:hover:not(.disabled):not(.active) {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.blog-page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
    pointer-events: none;
}
.blog-page-btn.disabled {
    opacity: .4;
    pointer-events: none;
    cursor: default;
}

/* -- Fees Page --------------------------------------------- */
.fees-page-section {
    background: #fff;
}

.fees-intro-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--primary-soft);
    border: 1px solid var(--primary-light);
    border-radius: 14px;
    padding: 1rem 1.15rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.fees-intro-note i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.fees-intro-note p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.55;
}

.fees-block {
    margin-bottom: 2.5rem;
}

.fees-block-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.fees-table-wrap {
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.fees-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    background: #fff;
}

.fees-table th,
.fees-table td {
    padding: 1rem 1.15rem;
    text-align: left;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
}

.fees-table th {
    background: #f8fafc;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

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

.fees-table-meta {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 400;
    margin-top: 0.15rem;
}

.fees-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}

.fees-price-free {
    color: #16a34a;
}

.fees-price-old {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-top: 0.1rem;
}

.fees-view-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
}

.fees-view-link:hover {
    color: var(--primary);
}

.fees-membership-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.fees-membership-card {
    flex: 1;
    min-width: 200px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.fees-membership-card-accent {
    background: var(--primary-soft);
    border-color: var(--primary-light);
}

.fees-membership-label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
}

.fees-membership-price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--dark);
}

.fees-membership-card-accent .fees-membership-price {
    color: var(--primary);
}

.fees-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: 18px;
    padding: 1.75rem 2rem;
    color: #fff;
}

.fees-cta-card h3 {
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 0.35rem;
}

.fees-cta-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.92rem;
}

.fees-cta-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    white-space: nowrap;
}

.fees-cta-btn:hover {
    background: var(--primary-dark);
    color: #fff;
}

@media (max-width: 767px) {
    .fees-table thead {
        display: none;
    }

    .fees-table tr {
        display: block;
        padding: 0.85rem 0;
        border-bottom: 1px solid #eef2f7;
    }

    .fees-table tbody tr:last-child {
        border-bottom: none;
    }

    .fees-table td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        border-bottom: none;
        padding: 0.45rem 1rem;
    }

    .fees-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #64748b;
        flex-shrink: 0;
    }

    .fees-table td[data-label=""]::before {
        content: none;
    }
}
