/* ============================================================
   AIMDUK — main.css  (fixed)
   Page section styles ONLY.
   No navbar or footer styles belong here.
   ============================================================ */


/* ════════════════════════════════════════════
   GLOBAL FIXES
   ════════════════════════════════════════════ */

/* FIX 1: .text-primary-custom used throughout HTML but never defined.
   Bootstrap's .text-primary would show Bootstrap blue — wrong.
   Map to brand primary. */
.text-primary-custom { color: var(--primary) !important; }

/* FIX 2: .member-pane visibility toggling — completely missing.
   Without these rules, ALL panes show at once and tabs do nothing visually. */
.member-pane {
    display: none;
}
.member-pane.active {
    display: block;
}

/* FIX 3: .visible alias for fade-up (JS adds both .is-visible and .visible) */
.fade-up.visible {
    opacity: 1;
    transform: none;
}

/* FIX 4: Hero section top padding so content isn't hidden under sticky navbar
   (navbar min-height: 72px). Without this, on small screens the hero title
   can start behind the navbar. */
.hero-section {
    padding-top: 72px; /* matches navbar min-height */
}


/* ════════════════════════════════════════════
   §1  HERO SECTION
   ════════════════════════════════════════════ */
.hero-section {
    min-height: 100vh;
    background: var(--grad-hero);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top:clamp(100px,8vw,120px);
}

/* Background art layers */
.hero-section__orb-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,150,62,.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    pointer-events: none;
}
.hero-section__orb-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(184,150,62,.07) 0%, transparent 70%);
    bottom: -50px;
    left: -50px;
    pointer-events: none;
}
.hero-section__lines {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(
        90deg,
        rgba(184,150,62,.025) 0px,
        rgba(184,150,62,.025) 1px,
        transparent 1px,
        transparent 80px
    );
    pointer-events: none;
}
.hero-section__mandala {
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    opacity: .07;
    pointer-events: none;
}

/* Content */
.hero-section__eyebrow {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 2rem;
}
.hero-section__eyebrow-line {
    width: 32px;
    height: 1px;
    background: var(--gold-light);
}
.hero-section__eyebrow-text {
    font-family: var(--font-sans);
    font-size: .64rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 600;
    opacity: .9;
}

.hero-section__title {
    font-family: var(--font-serif);
    font-size: clamp(4.5rem, 9vw, 8.5rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: .12em;
    line-height: .95;
}

.hero-section__title-sub {
    font-family: var(--font-sans);
    font-size: .7rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(184,150,62,.75);
    font-weight: 600;
    margin-top: .75rem;
}

.hero-section__subtitle {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: clamp(1.15rem, 2vw, 1.6rem);
    color: rgba(255,255,255,.78);
    font-weight: 300;
    line-height: 1.4;
}

.hero-section__desc {
    font-size: .85rem;
    color: rgba(255,255,255,.5);
    line-height: 1.75;
    max-width: 420px;
}

.hero-section__trust-item {
    font-size: .72rem;
    color: rgba(255,255,255,.45);
    display: flex;
    align-items: center;
    gap: .5rem;
}
.hero-section__trust-item i {
    color: var(--gold-light);
    font-size: .85rem;
}

/* Stat cards (right panel) */
.hero-section__stat-card {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(184,150,62,.2);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    backdrop-filter: blur(8px);
    transition: var(--transition);
}
.hero-section__stat-card:hover {
    background: rgba(184,150,62,.08);
    border-color: rgba(184,150,62,.4);
    transform: translateX(-4px);
}
.hero-section__stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(184,150,62,.12);
    border: 1px solid rgba(184,150,62,.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--gold-light);
    flex-shrink: 0;
}
.hero-section__stat-label {
    font-family: var(--font-sans);
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    font-weight: 500;
    margin-top: .2rem;
}

/* Badge row */
.hero-section__badge {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(184,150,62,.2);
    border-radius: var(--radius-pill);
    padding: .35rem .9rem;
    font-family: var(--font-sans);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
}

/* Scroll indicator */
.hero-section__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    opacity: .5;
    z-index: 2;
}
.hero-section__scroll span {
    font-family: var(--font-sans);
    font-size: .58rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--gold-light);
}
.hero-section__scroll-mouse {
    width: 22px;
    height: 34px;
    border: 1px solid rgba(184,150,62,.45);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}
.hero-section__scroll-dot {
    width: 3px;
    height: 7px;
    background: var(--gold-light);
    border-radius: 2px;
    animation: scrollDot 2s infinite;
}

@media (max-width: 991.98px) {
    .hero-section__mandala { display: none; }
}


/* ════════════════════════════════════════════
   §2  STATS BAR (beneath hero)
   ════════════════════════════════════════════ */
.stats-bar {
    background: var(--grad-maroon);
    padding: 3.5rem 0;
    border-top: 1px solid rgba(184,150,62,.15);
    border-bottom: 1px solid rgba(184,150,62,.15);
}

.stats-bar__item {
    text-align: center;
    padding: 1rem;
}

.stats-bar__plus {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    color: var(--gold);
    vertical-align: top;
    display: inline-block;
    margin-top: .3rem;
    line-height: 1;
}

.stats-bar__label {
    font-family: var(--font-sans);
    font-size: .7rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
    font-weight: 600;
    margin-top: .35rem;
}

.stats-bar__divider {
    width: 1px;
    background: rgba(184,150,62,.2);
    align-self: stretch;
    margin: .5rem 0;
}

@media (max-width: 767.98px) {
    .stats-bar__divider { display: none; }
}


/* ════════════════════════════════════════════
   §3  ABOUT SECTION (Announcements Slider)
   ════════════════════════════════════════════ */
.about-section {
    padding: 6rem 0;
    background: var(--ivory);
}

/* ── Slider shell ── */
.about-section__slider {
    position: relative;
}

/* This inner wrapper does the actual clipping — 
   keeps it inside the container flow properly */
.about-section__viewport {
    overflow: hidden;
    width: 100%;
}

.about-section__track {
    display: flex;
    transition: transform .55s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
    /* Each slide is 100% of this track = 100% of the viewport */
    width: 100%;
}

.about-section__slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    /* Prevent the Bootstrap row gutter from causing overflow */
    box-sizing: border-box;
}

/* Contain the Bootstrap row so negative margins don't cause overflow */
.about-section__slide .row {
    margin-left: 0;
    margin-right: 0;
}
.about-section__slide .row > [class*="col-"] {
    padding-left: 12px;
    padding-right: 12px;
}

/* ── Card base ── */
.about-section__card {
    background: #fff;
    border-radius: var(--radius-md);
    border: 1px solid rgba(184, 150, 62, .12);
    box-shadow: 0 2px 16px rgba(74, 10, 24, .07);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* 3px colored top accent via pseudo */
.about-section__card::before {
    content: '';
    display: block;
    height: 3px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-section__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(74, 10, 24, .12);
}

/* Per-type top accent */
.card--achieve::before {
    background: linear-gradient(90deg, var(--primary) 0%, var(--gold) 100%);
}
.card--news::before {
    background: var(--primary);
}
.card--milestone::before {
    background: linear-gradient(90deg, #2A5A2A 0%, var(--gold) 100%);
}

/* Card inner padding — top offset for the 3px pseudo line */
.about-section__card .card-inner {
    padding: 1.75rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: calc(1.5rem + 3px);
}

/* ── Card icon ── */
.about-section__card-icon {
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 1rem;
}
.icon--achieve   { color: var(--gold); }
.icon--news      { color: var(--primary); }
.icon--milestone { color: #2A5A2A; }

/* ── Badge pill ── */
.about-section__badge {
    font-family: var(--font-sans);
    font-size: .58rem;
    letter-spacing: .18em;
    text-transform: uppercase;
    font-weight: 700;
    padding: .28rem .8rem;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    width: fit-content;
    margin-bottom: .75rem;
}
.badge--achieve {
    background: rgba(184, 150, 62, .1);
    color: #7A5800;
    border: 1px solid rgba(184, 150, 62, .22);
}
.badge--news {
    background: rgba(123, 28, 46, .07);
    color: var(--primary);
    border: 1px solid rgba(123, 28, 46, .14);
}
.badge--milestone {
    background: rgba(30, 80, 30, .07);
    color: #2A5A2A;
    border: 1px solid rgba(30, 80, 30, .14);
}

/* ── Card title ── */
.about-section__card-title {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
    margin-bottom: .6rem;
}

/* ── Card body text ── */
.about-section__card-body-text {
    font-family: var(--font-sans);
    font-size: .83rem;
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 1.1rem;
}

/* ── Card link ── */
.about-section__card-link {
    font-family: var(--font-sans);
    font-size: .8rem;
    font-weight: 600;
    color: var(--gold);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: color .2s ease, gap .2s ease;
    margin-top: auto;
}
.about-section__card-link:hover {
    color: var(--gold-deep);
    gap: .6rem;
}

/* ── Controls ── */
.about-section__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 2.5rem;
}

.about-section__nav {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(74, 10, 24, .18);
    background: #fff;
    color: var(--text-mid);
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    box-shadow: 0 1px 6px rgba(0, 0, 0, .07);
    padding: 0;
    line-height: 1;
}
.about-section__nav:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(74, 10, 24, .25);
}

.about-section__dot {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    border: none;
    background: rgba(74, 10, 24, .18);
    cursor: pointer;
    padding: 0;
    transition: width .3s ease, background .3s ease;
}
.about-section__dot.active {
    width: 28px;
    background: var(--gold);
}
.about-section__dot:hover:not(.active) {
    background: rgba(74, 10, 24, .35);
}

@media (max-width: 767.98px) {
    .about-section__card .card-inner {
        padding: calc(1rem + 3px) 1.25rem 1.25rem;
    }
}
/* ════════════════════════════════════════════
   §4  FEATURES SECTION (Quick Actions)
   ════════════════════════════════════════════ */
.features-section {
    padding: 6rem 0;
    background: var(--ivory-2);
}

.features-section__card {
    background: #fff;
    border: var(--border-gold-soft);
    border-radius: var(--radius-md);
    padding: 2.25rem 1.75rem;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}
.features-section__card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    background: var(--grad-maroon);
    transition: height .35s ease;
    z-index: 0;
}
.features-section__card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-md);
    border-color: rgba(184,150,62,.35);
}
.features-section__card:hover::after { height: 4px; }

.features-section__icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(123,28,46,.07), rgba(184,150,62,.12));
    border: 1px solid rgba(184,150,62,.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition);
    position: relative;
    z-index: 1;
}
.features-section__card:hover .features-section__icon {
    background: var(--grad-maroon);
    color: #fff;
    border-color: var(--primary);
}

.features-section__title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: .6rem;
    position: relative;
    z-index: 1;
}

.features-section__text {
    font-size: .83rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}


/* ════════════════════════════════════════════
   §5  MISSION SECTION (Examinations)
   ════════════════════════════════════════════ */
.mission-section {
    padding: 6rem 0;
    background: #fff;
}

.mission-section__card {
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
    transition: var(--transition);
    position: relative;
}
.mission-section__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 64px rgba(74,10,24,.18);
}

.grad--foundation  { background: linear-gradient(160deg, #5C0E1E 0%, #8B2030 40%, #A83040 100%); }
.grad--intermediate{ background: linear-gradient(160deg, #5A3A05 0%, #8A6010 40%, #B08020 100%); }
.grad--advanced    { background: linear-gradient(160deg, #1A0510 0%, #4A0E1E 40%, #7B1C2E 100%); }

.mission-section__card-inner {
    padding: 2.5rem 2rem 2rem;
    position: relative;
    overflow: hidden;
}
.mission-section__card-inner::before,
.mission-section__card-inner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.04);
    pointer-events: none;
}
.mission-section__card-inner::before { top: -40px; right: -40px; width: 140px; height: 140px; }
.mission-section__card-inner::after  { bottom: -20px; left: -20px; width: 100px; height: 100px; background: rgba(255,255,255,.03); }

.mission-section__level-pill {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: .58rem;
    letter-spacing: .18em;
    font-weight: 700;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.8);
    padding: .28rem .85rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1rem;
    background: rgba(255,255,255,.06);
    backdrop-filter: blur(4px);
}

.mission-section__card-icon {
    font-size: 2.5rem;
    color: rgba(255,255,255,.2);
    margin-bottom: .5rem;
}

.mission-section__card-title {
    font-family: var(--font-serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.mission-section__card-sub {
    font-size: .75rem;
    color: rgba(255,255,255,.55);
    letter-spacing: .04em;
    margin-bottom: 1.5rem;
}

.mission-section__divider {
    height: 1px;
    background: rgba(255,255,255,.12);
    margin: 1.25rem 0;
}

.mission-section__feature {
    display: flex;
    align-items: center;
    gap: .65rem;
    font-size: .82rem;
    color: rgba(255,255,255,.8);
    margin-bottom: .65rem;
}
.mission-section__feature i {
    color: rgba(184,150,62,.9);
    font-size: .85rem;
    width: 16px;
    flex-shrink: 0;
}

.mission-section__meta-item {
    font-size: .72rem;
    color: rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    gap: .4rem;
}
.mission-section__meta-item i {
    color: rgba(184,150,62,.65);
    font-size: .8rem;
}

.mission-section__links a {
    font-size: .7rem;
    color: rgba(184,150,62,.85);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
    letter-spacing: .04em;
}
.mission-section__links a:hover { color: #fff; }

.btn-book-exam {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .85rem;
    background: rgba(255,255,255,.1);
    color: #fff;
    font-family: var(--font-sans);
    font-size: .72rem;
    letter-spacing: .12em;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius-sm);
    margin-top: 1.25rem;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}
.btn-book-exam:hover {
    background: var(--grad-gold);
    color: #1A1A1A;
    border-color: transparent;
    box-shadow: var(--shadow-gold);
}

.mission-section__featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--grad-gold);
    color: #1A1A1A;
    font-family: var(--font-sans);
    font-size: .58rem;
    letter-spacing: .14em;
    font-weight: 800;
    padding: .28rem .75rem;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    box-shadow: 0 2px 10px rgba(139,94,0,.3);
    z-index: 2;
}

/* ===============================
   Achievement Section Images
================================ */

.achievement-section__img-box{
    width:100%;
    aspect-ratio: 5 / 4;
    overflow:hidden;
    border-radius:20px;
}

.achievement-section__image{
    width:100%;
    height:100%;
    object-fit:cover;
}

/* ════════════════════════════════════════════
   §6  ACHIEVEMENTS SECTION (Subjects / Accreditation)
   ════════════════════════════════════════════ */
/* .achievement-section {
    padding: 6rem 0;
    background: var(--ivory);
} */

/* Subject rows */
/* .carnatic_img {
    width: 100%;
    height: 100%;
    flex: 1;
    align-self: stretch;
    background-image: url("../images/Classical_Arts_Subjects/carnatic%20music.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
} */
/* .hindustani_img {
    width: 100%;
    height: 100%;
    flex: 1;
    align-self: stretch;
    background-image: url("../images/Classical_Arts_Subjects/hindustani%20music.png");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
} */
/* .bharatanatyam_img {
    width: 100%;
    height: 100%;
    flex: 1;
    align-self: stretch;
    background-image: url("../images/Classical_Arts_Subjects/Bharathanatyam.jpeg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
} */
.achievement-section__subject-row {
    padding: 4rem 0;
    border-bottom: 1px solid rgba(184,150,62,.1);
}
.achievement-section__subject-row:last-of-type { border-bottom: none; }

.achievement-section__img-box {
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 5 / 4;
    position: relative;
}
/*.img-box--carnatic   { background: linear-gradient(145deg, #4A0810, #7B1C2E, #9B2235); }*/
/*.img-box--hindustani { background: linear-gradient(145deg, #3A2005, #6A4010, #8A5820); }*/
/*.img-box--bharata    { background: linear-gradient(145deg, #0A1835, #1A3060, #2A4590); }*/

/*.achievement-section__img-overlay {*/
/*    position: absolute;*/
/*    inset: 0;*/
/*    display: flex;*/
/*    flex-direction: column;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    gap: 1rem;*/
/*    background: radial-gradient(circle at 70% 30%, rgba(184,150,62,.08) 0%, transparent 55%);*/
/*}*/
.achievement-section__img-overlay {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.achievement-section__img-overlay img{
    object-fit: contain;
}
.subject-image {
    width: 100%;
    height: 100%;
    object-fit: contain; /* shows full image */
    object-position: center;
    display: block;
}
.achievement-section__img-icon {
    font-size: 4rem;
    color: rgba(255,255,255,.15);
}
.achievement-section__img-label {
    font-family: var(--font-sans);
    font-size: .6rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    background: rgba(0,0,0,.5);
    backdrop-filter: blur(6px);
    color: var(--gold-light);
    padding: .4rem 1rem;
    border-radius: 2px;
    font-weight: 700;
    border: 1px solid rgba(184,150,62,.3);
}

.achievement-section__tradition {
    font-family: var(--font-sans);
    font-size: .62rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: .5rem;
}

.achievement-section__sub-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.achievement-section__grade {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-size: .82rem;
    color: var(--text-mid);
    margin-bottom: .5rem;
}
.achievement-section__grade-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--grad-gold);
    flex-shrink: 0;
    margin-top: .45rem;
}

/* Accreditation cards */
.achievement-section__accred-card {
    background: var(--ivory-2);
    border: var(--border-gold-soft);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: var(--transition);
}
.achievement-section__accred-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(184,150,62,.3);
    background: #fff;
}
.achievement-section__accred-icon {
    width: 58px;
    height: 58px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    background: var(--grad-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--gold-light);
    box-shadow: 0 4px 14px rgba(74,10,24,.25);
}
.achievement-section__accred-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: .4rem;
}
.achievement-section__accred-text {
    font-size: .82rem;
    color: var(--text-muted);
    line-height: 1.65;
}

@media (max-width: 767.98px) {
    .achievement-section__subject-row { padding: 2.5rem 0; }
}


/* ════════════════════════════════════════════
   §7  MEMBERSHIP SECTION
   ════════════════════════════════════════════ */
.membership-section {
    padding: 6rem 0;
    background: var(--ivory-2);
}

/* Tab nav */
.membership-section__tabs {
    border-bottom: 1px solid rgba(184,150,62,.18);
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    gap: .3rem;
}

.membership-section__tab-btn {
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    padding: .7rem 1.4rem;
    font-family: var(--font-sans);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.membership-section__tab-btn:hover  { color: var(--primary); }
.membership-section__tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--gold);
}

/* Feature card */
.membership-section__feature-card {
    background: #fff;
    border: var(--border-gold-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 100%;
}
.membership-section__card-header {
    background: var(--grad-maroon);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.membership-section__card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid rgba(184,150,62,.4);
    background: rgba(184,150,62,.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gold-light);
    flex-shrink: 0;
}
.membership-section__card-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}
.membership-section__card-body { padding: 1.75rem; }
.membership-section__card-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}
.membership-section__feature-item {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
    margin-bottom: .55rem;
    font-size: .82rem;
    color: var(--text-mid);
}
.membership-section__feature-item i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
    font-size: .85rem;
}

/* Sidebar */
.membership-section__sidebar {
    background: #fff;
    border: var(--border-gold-soft);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
}
.membership-section__mission-box {
    background: var(--grad-maroon);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 1.25rem;
}

@media (max-width: 575.98px) {
    .membership-section__tab-btn {
        font-size: .65rem;
        padding: .55rem .9rem;
    }
    .hero-section__title {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 9vw, 8.5rem);
    justify-content: center;
    text-align: center;
    align-items: center;
    font-weight: 700;
    color: #fff;
    letter-spacing: .12em;
    line-height: .95;
    }
}


/* ════════════════════════════════════════════
   §8  EVENTS SECTION (UCAS)
   ════════════════════════════════════════════ */
.events-section {
    padding: 5.5rem 0;
    background: var(--grad-maroon);
    position: relative;
    overflow: hidden;
}
.events-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(184,150,62,.08) 0%, transparent 50%);
    pointer-events: none;
}

.events-section .ucas-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}
.events-section .ucas-table th {
    background: rgba(0,0,0,.3);
    color: var(--ivory);
    padding: .7rem 1rem;
    text-align: center;
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid rgba(255,255,255,.07);
}
.events-section .ucas-table td {
    padding: .65rem 1rem;
    text-align: center;
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.06);
}
.events-section .ucas-table tr:nth-child(even) td { background: rgba(255,255,255,.03); }
.events-section .ucas-table tr:hover td { background: rgba(184,150,62,.07); }
.events-section .ucas-table .grade-col { color: #fff; font-weight: 700; }

.events-section__info-box {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(184,150,62,.2);
    border-radius: var(--radius-md);
    padding: 1.5rem;
}
.events-section__ucas-point {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    font-size: .83rem;
    color: rgba(255,255,255,.65);
    margin-bottom: .85rem;
    line-height: 1.5;
}
.events-section__ucas-point i {
    color: var(--gold-light);
    flex-shrink: 0;
    margin-top: 2px;
}

.events-section__table-wrap {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(184,150,62,.18);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-bottom: 1rem;
}
.events-section__table-label {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold-light);
    margin-bottom: 1rem;
}


/* ════════════════════════════════════════════
   §9  NEWS SECTION (Shop / Materials)
   ════════════════════════════════════════════ */
.news-section {
    padding: 6rem 0;
    background: #fff;
}

.news-section__card {
    background: #fff;
    border: var(--border-gold-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    height: 100%;
}
.news-section__card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(184,150,62,.35);
}

.news-section__img-panel {
    width: 140px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.img-panel--carnatic   { background: linear-gradient(160deg, #5C0E1E, #9B2235); }
.img-panel--hindustani { background: linear-gradient(160deg, #4A2A05, #8A5010); }
.img-panel--dance      { background: linear-gradient(160deg, #0D1F4A, #1A3575); }
.img-panel--cert       { background: linear-gradient(160deg, #1A1510, #3A3020); }

.news-section__img-icon {
    font-size: 2rem;
    color: rgba(255,255,255,.25);
}
.news-section__cat-pill {
    position: absolute;
    top: .6rem;
    left: .6rem;
    font-family: var(--font-sans);
    font-size: .55rem;
    letter-spacing: .14em;
    text-transform: uppercase;
    background: rgba(0,0,0,.35);
    color: rgba(255,255,255,.85);
    padding: .22rem .6rem;
    border-radius: 2px;
    font-weight: 700;
    border: 1px solid rgba(255,255,255,.15);
}

.news-section__body {
    padding: 1.4rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-section__title {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: .4rem;
    line-height: 1.3;
}
.news-section__desc {
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    margin-bottom: .85rem;
}
.news-section__price {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
}
.news-section__price-unit {
    font-family: var(--font-sans);
    font-size: .72rem;
    color: var(--text-muted);
    margin-left: .35rem;
}

@media (max-width: 575.98px) {
    .news-section__card { flex-direction: column; }
    .news-section__img-panel { width: 100%; height: 110px; }
}


/* ════════════════════════════════════════════
   §10  TESTIMONIAL SECTION
   ════════════════════════════════════════════ */
.testimonial-section {
    padding: 6rem 0;
    background: var(--ivory);
}

.testimonial-section__card {
    background: #fff;
    border: var(--border-gold-soft);
    border-radius: var(--radius-md);
    padding: 2rem;
    height: 100%;
    transition: var(--transition);
}
.testimonial-section__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial-section__quote-mark {
    font-family: var(--font-serif);
    font-size: 5rem;
    color: rgba(184,150,62,.15);
    line-height: .7;
    font-weight: 700;
}

.testimonial-section__stars {
    color: var(--gold);
    font-size: .75rem;
    letter-spacing: .1em;
    margin-bottom: .85rem;
}

.testimonial-section__text {
    font-size: .86rem;
    line-height: 1.78;
    color: var(--text-muted);
    font-style: italic;
    flex: 1;
    margin-bottom: 1.25rem;
}

.testimonial-section__author {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(184,150,62,.1);
}
.testimonial-section__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--grad-maroon);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: .9rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}
.testimonial-section__name {
    font-weight: 600;
    color: var(--primary);
    font-size: .84rem;
}
.testimonial-section__role {
    font-size: .72rem;
    color: var(--text-muted);
    margin-top: .1rem;
}


/* ════════════════════════════════════════════
   §11  GALLERY SECTION (CTA)
   ════════════════════════════════════════════ */
.gallery-section {
    padding: 5rem 0;
    background: var(--ivory-2);
}

.gallery-section__cta-card {
    background: var(--grad-gold);
    border-radius: var(--radius-xl);
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,.22), inset 0 1px 2px rgba(255,255,255,.4);
    transition: var(--transition);
}
.gallery-section__cta-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 32px 70px rgba(0,0,0,.3), inset 0 1px 3px rgba(255,255,255,.5);
}
.gallery-section__cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    transform: skewX(-15deg);
    animation: cardShimmer 4s ease-in-out infinite;
}
@keyframes cardShimmer {
    0%   { left: -100%; }
    50%  { left: 160%; }
    100% { left: 160%; }
}

.gallery-section__cta-text {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: #1A1A1A;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}
.gallery-section__cta-sub {
    font-family: var(--font-sans);
    font-size: .72rem;
    color: rgba(26,26,26,.65);
    letter-spacing: .12em;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: .5rem;
    position: relative;
    z-index: 1;
}

/* FIX: Ensure CTA card buttons are above the shimmer layer */
.gallery-section__cta-card .btn-maroon-outline {
    position: relative;
    z-index: 1;
}


/* ════════════════════════════════════════════
   §12  FAQ SECTION
   ════════════════════════════════════════════ */
.faq-section {
    padding: 6rem 0;
    background: #fff;
}

/* Override Bootstrap accordion for brand */
.faq-section .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(184,150,62,.12);
    border-radius: 0 !important;
    background: transparent;
}
.faq-section .accordion-button {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--primary);
    background: transparent;
    padding: 1.2rem 0;
    box-shadow: none;
    gap: 1rem;
}
.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary-light);
    background: transparent;
    box-shadow: none;
}
.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%237B1C2E'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 28px;
    height: 28px;
    border: 1px solid rgba(184,150,62,.3);
    border-radius: 50%;
    background-position: center;
    background-size: .75rem;
    flex-shrink: 0;
}
.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-color: var(--primary);
    border-color: var(--primary);
}
.faq-section .accordion-body {
    font-size: .86rem;
    color: var(--text-muted);
    line-height: 1.78;
    padding: 0 0 1.25rem;
}

.faq-section__support-card {
    background: var(--grad-maroon);
    border-radius: var(--radius-md);
    padding: 2.25rem;
    color: #fff;
}
.faq-section__support-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .83rem;
    color: rgba(255,255,255,.7);
    margin-bottom: .9rem;
}
.faq-section__support-item i {
    color: var(--gold-light);
    font-size: 1rem;
    flex-shrink: 0;
}

.faq-section__tips-card {
    background: var(--ivory-2);
    border: var(--border-gold-soft);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    margin-top: 1.5rem;
}
.faq-section__tip-item {
    font-size: .81rem;
    color: var(--text-muted);
    padding: .35rem 0 .35rem 1rem;
    position: relative;
    line-height: 1.55;
}
.faq-section__tip-item::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

.faq-section__social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(184,150,62,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: .9rem;
    text-decoration: none;
    transition: var(--transition);
}
.faq-section__social-icon:hover {
    background: rgba(184,150,62,.15);
    border-color: var(--gold-light);
    color: var(--gold-light);
}


/* ════════════════════════════════════════════
   §13  CONTACT SECTION
   ════════════════════════════════════════════ */
.contact-section {
    padding: 6rem 0;
    background: var(--ivory);
}

.contact-section__form-card {
    background: #fff;
    border: var(--border-gold-soft);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.contact-section .form-label {
    font-family: var(--font-sans);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--text-mid);
    margin-bottom: .4rem;
}

.contact-section .form-control,
.contact-section .form-select {
    border: 1px solid rgba(184,150,62,.25);
    border-radius: var(--radius-sm);
    font-size: .85rem;
    color: var(--text-dark);
    padding: .7rem 1rem;
    background: var(--ivory);
    transition: border-color .2s ease, box-shadow .2s ease;
}
.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184,150,62,.15);
    background: #fff;
    outline: none;
}

.contact-section__info-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    font-size: .85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}
.contact-section__info-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(123,28,46,.08), rgba(184,150,62,.12));
    border: var(--border-gold-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

/* @media (max-width: 994px) {
    .hero-section__eyebrow-text{
        margin-top: 100px;
        display: none;
    }
} */