/* Premium School Theme — shared across all pages */
:root {
    --premium-primary: #FE5D37;
    --premium-dark: #103741;
    --premium-light: #FFF5F3;
    --premium-gold: #F4A261;
    --premium-shadow: 0 20px 60px rgba(16, 55, 65, 0.12);
    --premium-radius: 20px;
}

body { font-family: 'Plus Jakarta Sans', 'Heebo', sans-serif; }

/* ── Page Header ── */
.premium-page-header,
.fees-page-header {
    background: linear-gradient(105deg, rgba(16,55,65,.92) 0%, rgba(16,55,65,.75) 50%, rgba(254,93,55,.35) 100%),
                url('../img/carousel-1.jpg') center center / cover no-repeat;
    padding: 70px 0 90px;
    position: relative;
}
.premium-page-header::after,
.fees-page-header::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 19px;
    background: url(../img/bg-header-bottom.png) center center repeat-x;
}
.page-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.25);
    color: #fff;
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .5px;
    padding: 7px 16px;
    border-radius: 50px;
    margin-bottom: 1rem;
}
.page-badge .dot {
    width: 7px; height: 7px;
    background: var(--premium-gold);
    border-radius: 50%;
}
.premium-page-title,
.fees-page-title {
    font-family: 'Playfair Display', 'Lobster Two', cursive;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.premium-page-desc,
.fees-page-desc {
    color: rgba(255,255,255,.88);
    font-size: 1.05rem;
    line-height: 1.75;
    max-width: 680px;
}
.breadcrumb-premium .breadcrumb-item a,
.breadcrumb-fees .breadcrumb-item a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumb-premium .breadcrumb-item.active,
.breadcrumb-fees .breadcrumb-item.active { color: #fff; }
.breadcrumb-premium .breadcrumb-item + .breadcrumb-item::before,
.breadcrumb-fees .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* ── Section Headers ── */
.section-label {
    display: inline-block;
    background: var(--premium-light);
    color: var(--premium-primary);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 10px;
}
.section-title {
    font-family: 'Playfair Display', 'Lobster Two', cursive;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--premium-dark);
    line-height: 1.25;
}
.section-desc {
    color: #6b7c85;
    font-size: 1.02rem;
    line-height: 1.75;
    max-width: 700px;
    margin: 0 auto;
}

/* ── Content Sections ── */
.premium-section {
    padding: 60px 0;
}
.premium-section-light {
    background: linear-gradient(180deg, #fff 0%, var(--premium-light) 100%);
}
.premium-section-alt {
    background: var(--premium-light);
}

/* ── Cards ── */
.premium-card {
    background: #fff;
    border-radius: var(--premium-radius);
    box-shadow: var(--premium-shadow);
    border: 1px solid rgba(16,55,65,.06);
    overflow: hidden;
}
.premium-card-body { padding: 32px; }
.premium-data-wrapper {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--premium-shadow);
    border: 1px solid rgba(16,55,65,.06);
    padding: 8px 8px 16px;
}

/* ── Info Cards ── */
.premium-info-strip {
    margin-top: -50px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}
.info-card {
    background: #fff;
    border-radius: var(--premium-radius);
    padding: 24px 20px;
    text-align: center;
    box-shadow: var(--premium-shadow);
    border: 1px solid rgba(16,55,65,.06);
    height: 100%;
    transition: transform .35s ease;
}
.info-card:hover { transform: translateY(-5px); }
.info-card .info-icon {
    width: 50px; height: 50px;
    background: var(--premium-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    color: var(--premium-primary);
    font-size: 1.2rem;
}
.info-card h6 { font-weight: 700; color: var(--premium-dark); margin-bottom: 4px; }
.info-card p { color: #6b7c85; font-size: .88rem; margin: 0; }

/* ── Contact / Feature Cards ── */
.premium-icon-card {
    background: #fff;
    border-radius: var(--premium-radius);
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(16,55,65,.08);
    border: 1px solid rgba(16,55,65,.05);
    height: 100%;
    transition: all .35s ease;
}
.premium-icon-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(16,55,65,.14);
}
.premium-icon-card .icon-wrap {
    width: 70px; height: 70px;
    background: var(--premium-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px;
    color: var(--premium-primary);
    font-size: 1.5rem;
}
.premium-icon-card h5 { font-weight: 700; color: var(--premium-dark); margin-bottom: 8px; }
.premium-icon-card p { color: #6b7c85; margin: 0; font-size: .95rem; }

/* ── Chip Selector ── */
.premium-selector-section {
    background: linear-gradient(180deg, var(--premium-light) 0%, #fff 100%);
    padding: 40px 0 30px;
}
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}
.class-radio {
    position: absolute;
    opacity: 0;
    width: 0;
    pointer-events: none;
}
.class-radio + label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(16,55,65,.08);
    border: 2px solid rgba(16,55,65,.08);
    font-weight: 600;
    font-size: .95rem;
    color: var(--premium-dark);
    transition: all .3s ease;
    cursor: pointer;
    min-width: 80px;
}
.class-radio:not(:disabled) + label:hover {
    border-color: var(--premium-primary);
    color: var(--premium-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254,93,55,.15);
}
.class-radio:checked + label {
    background: var(--premium-primary);
    border-color: var(--premium-primary);
    color: #fff;
    box-shadow: 0 8px 25px rgba(254,93,55,.35);
}
.class-radio:checked + label::before {
    font-family: "Font Awesome 5 Free";
    content: "\f00c";
    font-weight: 900;
    margin-right: 7px;
    font-size: .8rem;
}

/* ── Tables ── */
.premium-table-wrap {
    padding: 20px 24px;
    overflow-x: auto;
}
.premium-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
}
.premium-table thead {
    background: linear-gradient(135deg, #FE5D37 0%, #e84e2b 100%);
}
.premium-table th {
    padding: 16px 14px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    border: none;
    font-size: .88rem;
    white-space: nowrap;
}
.premium-table th:first-child { border-radius: 12px 0 0 12px; }
.premium-table th:last-child { border-radius: 0 12px 12px 0; }
.premium-table tbody tr {
    background: #fafbfc;
    transition: all .25s ease;
}
.premium-table tbody tr:hover {
    background: var(--premium-light);
}
.premium-table td {
    padding: 14px 12px;
    text-align: center;
    border: none;
    font-size: .92rem;
    color: #4a5c65;
}
.premium-table td:first-child { border-radius: 10px 0 0 10px; font-weight: 600; color: var(--premium-dark); }
.premium-table td:last-child { border-radius: 0 10px 10px 0; }

/* ── Accordion ── */
.premium-accordion .accordion-item {
    border: 1px solid rgba(16,55,65,.08);
    border-radius: var(--premium-radius) !important;
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(16,55,65,.06);
}
.premium-accordion .accordion-button {
    font-weight: 700;
    color: var(--premium-dark);
    background: #fff;
    padding: 20px 24px;
    font-size: 1.05rem;
}
.premium-accordion .accordion-button:not(.collapsed) {
    background: var(--premium-light);
    color: var(--premium-primary);
    box-shadow: none;
}
.premium-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(254,93,55,.15);
}
.premium-accordion .accordion-body {
    padding: 0;
    background: #fff;
}

/* ── Forms ── */
.premium-form .form-control,
.premium-form .form-select {
    border: 2px solid rgba(16,55,65,.08);
    border-radius: 12px;
    padding: 12px 16px;
    transition: border-color .3s;
}
.premium-form .form-control:focus,
.premium-form .form-select:focus {
    border-color: var(--premium-primary);
    box-shadow: 0 0 0 3px rgba(254,93,55,.12);
}
.premium-form label { color: #6b7c85; font-weight: 500; }

/* ── CTA ── */
.cta-premium {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    border: 1px solid rgba(16,55,65,.06);
}
.cta-premium .cta-img-wrap {
    min-height: 400px;
    position: relative;
    overflow: hidden;
}
.cta-premium .cta-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.cta-premium:hover .cta-img-wrap img { transform: scale(1.05); }
.cta-premium .cta-body { padding: 48px 40px; }
.cta-premium .cta-body h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--premium-dark);
}

/* ── Gallery ── */
.premium-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.premium-gallery-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(16,55,65,.1);
    transition: all .4s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
}
.premium-gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(16,55,65,.18);
}
.premium-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.premium-gallery-item:hover img { transform: scale(1.08); }

/* ── About Section ── */
.about-text p { color: #5a6b74; line-height: 1.85; font-size: 1.02rem; }
.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}
.feature-item .icon-box {
    flex-shrink: 0;
    width: 44px; height: 44px;
    background: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: var(--premium-primary);
    box-shadow: 0 4px 15px rgba(16,55,65,.08);
    font-size: 1.1rem;
}
.feature-item h6 { font-weight: 700; color: var(--premium-dark); margin-bottom: 2px; }
.feature-item small { color: #7a8d96; }
.about-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}
.about-gallery .gallery-main {
    grid-column: 1 / -1;
    border-radius: var(--premium-radius);
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    aspect-ratio: 16/9;
}
.about-gallery .gallery-main img,
.about-gallery .gallery-sub img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.about-gallery .gallery-sub {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(16,55,65,.1);
    aspect-ratio: 4/3;
}
.about-gallery .gallery-sub:hover img,
.about-gallery .gallery-main:hover img { transform: scale(1.06); }
.founder-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    padding: 14px 20px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(16,55,65,.08);
    border: 1px solid rgba(16,55,65,.05);
}
.founder-card img {
    width: 52px; height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--premium-light);
}
.team-section { background: var(--premium-light); }
.team-card h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--premium-dark);
    font-size: 1.2rem;
    margin-bottom: 4px;
}
.team-card .designation {
    color: var(--premium-primary);
    font-size: .88rem;
    font-weight: 600;
    margin-bottom: 16px;
}
.team-card .social-links a {
    width: 36px; height: 36px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: var(--premium-light);
    color: var(--premium-primary);
    margin: 0 4px;
    transition: all .3s ease;
    font-size: .85rem;
}
.team-card .social-links a:hover {
    background: var(--premium-primary);
    color: #fff;
    transform: translateY(-3px);
}
.team-card:hover .team-photo { border-color: var(--premium-primary); }

/* ── Team Cards ── */
.team-card {
    background: #fff;
    border-radius: var(--premium-radius);
    box-shadow: 0 10px 40px rgba(16,55,65,.08);
    border: 1px solid rgba(16,55,65,.05);
    transition: all .4s ease;
    text-align: center;
    padding: 36px 24px 28px;
    height: 100%;
}
.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 60px rgba(16,55,65,.15);
}
.team-card .team-photo {
    width: 140px; height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 5px solid var(--premium-light);
    box-shadow: 0 8px 25px rgba(16,55,65,.12);
    transition: border-color .35s ease;
}

/* ── Assignment Cards ── */
.premium-assignment-card {
    background: #fff;
    border-radius: var(--premium-radius);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 8px 30px rgba(16,55,65,.08);
    border-left: 4px solid var(--premium-primary);
    transition: all .3s ease;
}
.premium-assignment-card:hover {
    transform: translateX(4px);
    box-shadow: 0 12px 40px rgba(16,55,65,.12);
}

/* ── Map embed ── */
.premium-map-wrap {
    border-radius: var(--premium-radius);
    overflow: hidden;
    box-shadow: var(--premium-shadow);
    border: 1px solid rgba(16,55,65,.06);
}

/* ── Loading ── */
.premium-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #6b7c85;
}
.premium-loading .spinner {
    width: 44px; height: 44px;
    border: 3px solid var(--premium-light);
    border-top-color: var(--premium-primary);
    border-radius: 50%;
    animation: premium-spin .8s linear infinite;
    margin-bottom: 16px;
}
@keyframes premium-spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 768px) {
    .premium-page-header,
    .fees-page-header { padding: 50px 0 70px; }
    .premium-info-strip { margin-top: -30px; }
    .cta-premium .cta-body { padding: 32px 24px; }
    .radio-group { gap: 8px; }
    .class-radio + label { padding: 8px 16px; font-size: .88rem; }
    .premium-gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
}
