/* ============================================================
   REDOLENCE FRONTEND — frontend.css
   Covers: layout globals, all page sections, components
   ============================================================ */


/* ────────────────────────────────────────
   CSS CUSTOM PROPERTIES
──────────────────────────────────────── */
:root {
    --red:    #dc3545;
    --red-dk: #b02a37;
    --dark:   #1a1a2e;
    --light:  #f8f9fb;
    --radius: 14px;
}


/* ────────────────────────────────────────
   STICKY HEADER
──────────────────────────────────────── */
.header-section {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    transition: box-shadow .3s;
}
.header-section.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, .12);
}


/* ────────────────────────────────────────
   BACK TO TOP BUTTON
──────────────────────────────────────── */
#back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9990;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    border: none;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity .3s, transform .3s;
    box-shadow: 0 4px 14px rgba(220, 53, 69, .4);
    display: flex;
    align-items: center;
    justify-content: center;
}
#back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}
#back-to-top:hover {
    background: var(--red-dk);
}


/* ────────────────────────────────────────
   ACTIVE NAV LINK
──────────────────────────────────────── */
.menubar ul li a.active {
    color: var(--red) !important;
    font-weight: 700;
}


/* ────────────────────────────────────────
   SCROLL-REVEAL ANIMATION
──────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .65s ease, transform .65s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ────────────────────────────────────────
   SECTION HEADING
──────────────────────────────────────── */
.section-heading {
    margin-bottom: 2.5rem;
}
.section-heading h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
}
.section-heading h2 span {
    color: var(--red);
}
.section-heading p {
    color: #6c757d;
    font-size: 1.05rem;
    margin-bottom: 0;
}
.heading-bar {
    display: block;
    width: 52px;
    height: 4px;
    background: var(--red);
    border-radius: 4px;
    margin: .6rem auto 0;
}
.heading-bar.left {
    margin-left: 0;
}


/* ────────────────────────────────────────
   PAGE HERO (inner pages)
──────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d44 100%);
    padding: 3.5rem 0 2.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: rgba(220, 53, 69, .12);
    border-radius: 50%;
}
.page-hero::before {
    content: '';
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, .04);
    border-radius: 50%;
}
.page-hero .breadcrumb-item a {
    color: rgba(255, 255, 255, .55);
    text-decoration: none;
}
.page-hero .breadcrumb-item.active {
    color: rgba(255, 255, 255, .9);
}
.page-hero h1 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: .3rem;
}
.page-hero h1 span {
    color: var(--red);
}
.page-hero p {
    color: rgba(255, 255, 255, .65);
    font-size: 1rem;
    margin: 0;
}


/* ────────────────────────────────────────
   CTA BANNER SECTION
──────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--red) 0%, #6f0015 100%);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .06);
    border-radius: 50%;
}
.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 380px;
    height: 380px;
    background: rgba(255, 255, 255, .04);
    border-radius: 50%;
}
.cta-section h2 {
    color: #fff;
    font-weight: 900;
    font-size: clamp(1.5rem, 3vw, 2.4rem);
}
.cta-section p {
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
}
.btn-cta-white {
    background: #fff;
    color: var(--red);
    padding: .85rem 2.2rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: transform .22s, box-shadow .22s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
}
.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
    color: var(--red);
}
.btn-cta-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .7);
    padding: .85rem 2.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    display: inline-block;
    transition: background .22s, border-color .22s;
}
.btn-cta-outline:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    color: #fff;
}


/* ────────────────────────────────────────
   PHOTO ZOOM MODAL
──────────────────────────────────────── */
@keyframes zoomPop {
    from { transform: scale(.8);  opacity: 0; }
    to   { transform: scale(1);   opacity: 1; }
}
#zoomImgWrap:active { cursor: grabbing; }


/* ============================================================
   HOME PAGE SECTIONS
   ============================================================ */

/* ── Notice ticker ── */
.notice-strip {
    background: var(--dark);
    color: #fff;
    overflow: hidden;
    padding: .45rem 0;
}
.notice-strip .label {
    background: var(--red);
    padding: .3rem 1rem;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .05em;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-track {
    overflow: hidden;
    flex: 1;
}
.ticker-inner {
    display: inline-flex;
    gap: 0;
    white-space: nowrap;
    animation: ticker 35s linear infinite;
}
.ticker-inner:hover { animation-play-state: paused; }
.ticker-item {
    padding: 0 2.5rem;
    font-size: .85rem;
    color: #e0e0e0;
    text-decoration: none;
    transition: color .2s;
    border-right: 1px solid rgba(255, 255, 255, .12);
}
.ticker-item:hover { color: #ffc107; }
.ticker-item i { color: var(--red); margin-right: .4rem; }
@keyframes ticker {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Hero slider ── */
.hero-slider { position: relative; }
.hero-slider .carousel-item {
    max-height: 88vh;
    overflow: hidden;
}
.hero-slider .carousel-item img {
    width: 100%;
    height: 88vh;
    object-fit: cover;
    object-position: center top;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26,26,46,.82) 0%, rgba(26,26,46,.4) 60%, transparent 100%);
    display: flex;
    align-items: center;
}
.hero-text { max-width: 600px; }
.hero-text .badge-label {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    padding: .3rem .9rem;
    border-radius: 20px;
    margin-bottom: .9rem;
    text-transform: uppercase;
}
.hero-text h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.hero-text h1 span { color: #ffc107; }
.hero-text p {
    color: rgba(255, 255, 255, .82);
    font-size: 1.05rem;
    margin-bottom: 1.6rem;
}
.hero-btn-group { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn-hero-primary {
    background: var(--red);
    color: #fff;
    border: none;
    padding: .75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 6px 20px rgba(220, 53, 69, .45);
    text-decoration: none;
    display: inline-block;
}
.btn-hero-primary:hover {
    background: var(--red-dk);
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 10px 28px rgba(220, 53, 69, .55);
}
.btn-hero-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, .7);
    padding: .75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    transition: background .25s, border-color .25s;
    text-decoration: none;
    display: inline-block;
}
.btn-hero-outline:hover {
    background: rgba(255, 255, 255, .15);
    border-color: #fff;
    color: #fff;
}
.carousel-control-prev,
.carousel-control-next {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, .2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1.2rem;
    backdrop-filter: blur(4px);
    opacity: 1;
    transition: background .25s;
}
.carousel-control-prev:hover,
.carousel-control-next:hover { background: var(--red); }
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    border: none;
    margin: 0 4px;
}
.carousel-indicators .active { background: var(--red); }

/* ── Stats bar ── */
.stats-bar {
    background: var(--red);
    padding: 1.4rem 0;
}
.stat-item {
    text-align: center;
    color: #fff;
    padding: .6rem 0;
}
.stat-item .stat-num {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1;
    display: block;
}
.stat-item .stat-label {
    font-size: .8rem;
    opacity: .88;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, .25);
    align-self: stretch;
    margin: .3rem 0;
}

/* ── About section (home) ── */
.about-section { background: #fff; }
.about-img-wrap {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}
.about-img-wrap img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}
.about-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: var(--red);
    color: #fff;
    padding: .8rem 1.4rem;
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 8px 24px rgba(220, 53, 69, .4);
}
.about-badge span { font-size: 1.5rem; display: block; }
.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.about-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: #fff0f1;
    color: var(--red);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.about-feature h6 { font-weight: 700; margin-bottom: .2rem; font-size: .92rem; }
.about-feature p  { color: #6c757d; font-size: .85rem; margin: 0; }

/* ── Programs section ── */
.programs-section { background: var(--light); }
.program-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
    transition: transform .28s, box-shadow .28s;
    height: 100%;
}
.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(220, 53, 69, .15);
}
.program-card .prog-img {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.program-card .prog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.program-card:hover .prog-img img { transform: scale(1.07); }
.program-card .prog-tag {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--red);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: .25rem .75rem;
    border-radius: 20px;
    text-transform: uppercase;
}
.program-card .prog-body { padding: 1.4rem 1.4rem 1.6rem; }
.program-card .prog-body h4 { font-weight: 800; color: var(--dark); font-size: 1.15rem; }
.program-card .prog-body p  { color: #6c757d; font-size: .88rem; margin-bottom: 1.1rem; }
.btn-prog {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: var(--red);
    color: #fff;
    text-decoration: none;
    padding: .55rem 1.4rem;
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 700;
    transition: background .22s, transform .22s;
}
.btn-prog:hover {
    background: var(--red-dk);
    color: #fff;
    transform: translateX(3px);
}

/* ── Why choose us ── */
.why-section { background: var(--dark); }
.why-section .section-heading h2 { color: #fff; }
.why-section .section-heading p  { color: rgba(255, 255, 255, .6); }
.why-card {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: var(--radius);
    padding: 1.8rem 1.4rem;
    text-align: center;
    transition: background .3s, transform .3s, border-color .3s;
    height: 100%;
}
.why-card:hover {
    background: rgba(220, 53, 69, .18);
    border-color: rgba(220, 53, 69, .4);
    transform: translateY(-6px);
}
.why-icon {
    width: 64px;
    height: 64px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 8px 24px rgba(220, 53, 69, .35);
}
.why-card h5 { color: #fff; font-weight: 700; font-size: .95rem; margin-bottom: .5rem; }
.why-card p  { color: rgba(255, 255, 255, .55); font-size: .82rem; margin: 0; }

/* ── Gallery ── */
.gallery-section { background: #fff; }
.gallery-item {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .08);
    cursor: zoom-in;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform .38s;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(220, 53, 69, .55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    font-size: 1.5rem;
    color: #fff;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── Instructors ── */
.instructors-section { background: var(--light); }
.instructor-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
    transition: transform .25s, box-shadow .25s;
}
.instructor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(220, 53, 69, .15);
}
.instructor-photo-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.instructor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .38s;
}
.instructor-card:hover .instructor-photo { transform: scale(1.07); }
.instructor-no-photo {
    width: 100%;
    height: 100%;
    background: #fee2e2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--red);
}
.instructor-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(220,53,69,.65) 0%, transparent 55%);
    opacity: 0;
    transition: opacity .3s;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 14px;
}
.instructor-card:hover .instructor-overlay { opacity: 1; }
.instructor-serial {
    background: rgba(255, 255, 255, .2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 20px;
    padding: 3px 14px;
    font-size: .78rem;
    font-weight: 600;
    backdrop-filter: blur(4px);
}
.instructor-info { padding: 14px 12px 16px; text-align: center; }
.instructor-name {
    font-size: .95rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Notice + Contact section ── */
.notice-contact-section { background: var(--light); }
.notice-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
    height: 100%;
}
.notice-card .card-header {
    background: var(--red);
    color: #fff;
    padding: 1rem 1.4rem;
}
.notice-card .card-header h5 { margin: 0; font-weight: 700; font-size: 1rem; }
.notice-card .card-body {
    padding: 1rem 1.4rem;
    max-height: 380px;
    overflow-y: auto;
}
.notice-list { list-style: none; padding: 0; margin: 0; }
.notice-list li {
    padding: .7rem 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: .88rem;
    display: flex;
    align-items: flex-start;
    gap: .6rem;
}
.notice-list li:last-child { border-bottom: none; }
.notice-list li i { color: var(--red); margin-top: .15rem; flex-shrink: 0; }
.notice-list li a { color: var(--dark); text-decoration: none; transition: color .2s; }
.notice-list li a:hover { color: var(--red); }
.contact-form-card {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
}
.contact-form-card .card-header {
    background: var(--dark);
    color: #fff;
    padding: 1rem 1.4rem;
}
.contact-form-card .card-header h5 { margin: 0; font-weight: 700; }
.contact-form-card .card-body { padding: 1.4rem; }
.contact-form-card .form-control {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    font-size: .9rem;
    padding: .65rem .9rem;
}
.contact-form-card .form-control:focus {
    border-color: var(--red);
    box-shadow: 0 0 0 .2rem rgba(220, 53, 69, .18);
}


/* ============================================================
   ABOUT PAGE SECTIONS
   ============================================================ */

/* ── Mission / Vision cards ── */
.mv-card {
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .07);
    padding: 1.8rem 1.5rem;
    height: 100%;
    border-top: 4px solid var(--red);
    transition: transform .28s, box-shadow .28s;
}
.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(220, 53, 69, .12);
}
.mv-icon {
    width: 54px;
    height: 54px;
    background: #fff0f1;
    color: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}
.mv-card h5 { font-weight: 800; color: var(--dark); margin-bottom: .5rem; }
.mv-card p  { color: #6c757d; font-size: .9rem; margin: 0; }

/* ── Concern items ── */
.concern-section { background: var(--light); }
.concern-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fff;
    border-radius: var(--radius);
    padding: 1.4rem;
    box-shadow: 0 3px 14px rgba(0, 0, 0, .06);
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.concern-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(220, 53, 69, .1);
}
.concern-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--red);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.concern-item h6 { font-weight: 700; color: var(--dark); margin-bottom: .3rem; font-size: .95rem; }
.concern-item p  { color: #6c757d; font-size: .85rem; margin: 0; }

/* ── Partners strip ── */
.partners-section { background: var(--dark); }
.partner-badge {
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: 1.5rem 1.2rem;
    text-align: center;
    color: #fff;
    transition: background .25s, border-color .25s;
}
.partner-badge:hover {
    background: rgba(220, 53, 69, .18);
    border-color: rgba(220, 53, 69, .4);
}
.partner-badge i { font-size: 2rem; color: var(--red); display: block; margin-bottom: .7rem; }
.partner-badge h6 { font-weight: 700; font-size: .88rem; margin-bottom: .25rem; }
.partner-badge p  { color: rgba(255, 255, 255, .5); font-size: .78rem; margin: 0; }

/* ── Key facts ── */
.facts-section { background: #fff; }
.fact-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: var(--radius);
    background: var(--light);
    height: 100%;
}
.fact-item .fact-num {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--red);
    display: block;
    line-height: 1;
}
.fact-item .fact-label { color: #6c757d; font-size: .85rem; margin-top: .3rem; }


/* ============================================================
   GRAMMAR SCHOOL PAGE SECTIONS
   ============================================================ */

/* ── Intro strip ── */
.intro-strip {
    background: var(--red);
    color: #fff;
    padding: 1.8rem 0;
}
.intro-strip p { margin: 0; font-size: 1.05rem; line-height: 1.7; opacity: .92; }

/* ── Feature cards ── */
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 1.5rem 1.2rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .07);
    height: 100%;
    border-bottom: 3px solid transparent;
    transition: transform .28s, box-shadow .28s, border-color .28s;
    text-align: center;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(220, 53, 69, .13);
    border-color: var(--red);
}
.feature-icon {
    width: 56px;
    height: 56px;
    background: #fff0f1;
    color: var(--red);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: .9rem;
}
.feature-card h6 { font-weight: 700; color: var(--dark); font-size: .88rem; margin: 0; }

/* ── Fees table ── */
.fees-section { background: var(--light); }
.fees-table-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 22px rgba(0, 0, 0, .09);
    background: #fff;
}
.fees-table-wrap .table thead th {
    background: var(--dark);
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    vertical-align: middle;
    text-align: center;
    border-color: rgba(255, 255, 255, .1);
    padding: .85rem .6rem;
}
.fees-table-wrap .table tbody td {
    vertical-align: middle;
    text-align: center;
    font-size: .85rem;
    padding: .75rem .6rem;
}
.fees-table-wrap .table tbody tr:hover { background: #fff5f5; }
.fees-table-wrap .table tbody td:nth-child(2) { font-weight: 700; color: var(--dark); }
.grade-badge {
    display: inline-block;
    background: #fff0f1;
    color: var(--red);
    border-radius: 20px;
    padding: .2rem .8rem;
    font-size: .8rem;
    font-weight: 700;
}
.fees-header {
    background: var(--red);
    color: #fff;
    padding: 1rem 1.4rem;
    display: flex;
    align-items: center;
    gap: .6rem;
}
.fees-header h4 { margin: 0; font-weight: 800; font-size: 1.1rem; }

/* ── Foundation card ── */
.foundation-section { background: #fff; }
.foundation-card {
    background: var(--light);
    border-radius: var(--radius);
    padding: 2rem;
    border-left: 5px solid var(--red);
    box-shadow: 0 3px 14px rgba(0, 0, 0, .06);
}

/* ── Admission requirements ── */
.req-section { background: #fff; }
.req-item {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: .9rem 0;
    border-bottom: 1px solid #f0f0f0;
}
.req-item:last-child { border-bottom: none; }
.req-num {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .75rem;
    font-weight: 800;
}
.req-item p { margin: 0; font-size: .9rem; color: var(--dark); line-height: 1.5; }

/* ── Guardian training card ── */
.guardian-card {
    background: linear-gradient(135deg, var(--dark) 0%, #2d2d44 100%);
    border-radius: var(--radius);
    overflow: hidden;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}
.guardian-card::after {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(220, 53, 69, .15);
    border-radius: 50%;
}
.guardian-card .gift-icon {
    width: 64px;
    height: 64px;
    background: var(--red);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 24px rgba(220, 53, 69, .4);
}
.guardian-card h4 { color: #fff; font-weight: 800; }
.guardian-card p  { color: rgba(255, 255, 255, .75); margin-bottom: 1.5rem; }


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    .hero-text h1 { font-size: 1.7rem; }
    .hero-slider .carousel-item img { height: 55vw; min-height: 220px; }
    .hero-overlay { align-items: flex-end; padding-bottom: 2rem; }
    .hero-text { max-width: 100%; }
    .about-img-wrap img { height: 280px; }
    .stat-divider { display: none; }
    .section-heading h2 { font-size: 1.6rem; }
    .page-hero { padding: 2.5rem 0 1.8rem; }
}
