:root {
    --primary-blue: #003CC7;
    --secondary-blue: #0EAFFB;
    --dark-navy: #071A4D;
    --text-dark: #334155;
    --text-light: #ffffff;
    --text-gray: #666666;
    --light-bg: #F4F9FF;
    --font-heading: 'Times New Roman', Times, serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.5;
    background-color: var(--light-bg);
}

a {
    text-decoration: none;
    color: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: bold;
}

/* --- Top Bar --- */
.top-bar {
    background-color: var(--dark-navy);
    color: var(--text-light);
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.contact-item svg {
    opacity: 0.8;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-right a {
    transition: opacity 0.3s ease;
    font-weight: 500;
}

.top-bar-right a:hover {
    opacity: 0.8;
}

.btn-top-admission {
    background-color: var(--primary-blue);
    color: white;
    padding: 8px 16px;
    font-weight: 600 !important;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-left: 10px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.btn-top-admission:hover {
    background-color: var(--secondary-blue);
    opacity: 1;
}

/* --- Main Header --- */
.main-header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 70px;
    width: auto;
}

.logo-text h1 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-text p {
    color: var(--text-gray);
    font-size: 0.9rem;
    letter-spacing: 1px;
    font-weight: 500;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

.main-nav a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

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

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

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: var(--primary-blue);
}

.search-icon {
    cursor: pointer;
    color: var(--text-dark);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--dark-navy);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    height: calc(100vh - 150px);
    min-height: 600px;
    overflow: hidden;
}

.hero-slider,
.slide {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    padding-bottom: 80px;
    /* Space for features bar */
}

.hero-title {
    color: var(--text-light);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.text-accent {
    color: var(--secondary-blue);
}

.hero-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
    background-color: var(--text-light);
}

.btn-outline:hover {
    background-color: var(--primary-blue);
    color: var(--text-light);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
}

.prev-slide {
    left: 30px;
}

.next-slide {
    right: 30px;
}

.slider-dots {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* --- Features Bar --- */
.features-wrapper {
    position: relative;
    max-width: 1400px;
    margin: -70px auto 0;
    z-index: 10;
    padding: 0 20px;
}

.features-container {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    padding: 30px 20px;
    justify-content: space-between;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    padding: 0 15px;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 1rem;
    font-family: var(--font-body);
    /* Based on reference, headings in features are sans-serif */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.4;
}

.feature-divider {
    width: 1px;
    background-color: #eeeeee;
    margin: 0 10px;
}

/* --- Common --- */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 100px 0 80px;
}

/* --- About Us Section --- */
.about-us {
    background-color: var(--text-light);
    /* Since the hero features have white bg, this can be white, or light-bg. Let's use white to match the reference. */
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.section-eyebrow {
    color: var(--secondary-blue);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-heading);
    color: var(--primary-blue);
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 25px 0;
}

.stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
}

.stat-val {
    color: var(--dark-navy);
    font-size: 1.5rem;
    margin: 10px 0 5px;
    font-family: var(--font-heading);
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* --- Academics Section --- */
.academics-grid {
    display: flex;
    gap: 50px;
    align-items: center;
}

.academics-content {
    flex: 1.5;
}

.academics-cards {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.academic-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 25px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    flex: 1 1 calc(25% - 20px);
    min-width: 160px;
    text-align: center;
    transition: transform 0.3s ease;
}

.academic-card:hover {
    transform: translateY(-5px);
}

.academic-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.academic-card h3 {
    font-size: 1rem;
    font-family: var(--font-heading);
    color: var(--dark-navy);
    margin-bottom: 10px;
}

.academic-card p {
    font-size: 0.8rem;
    color: var(--text-gray);
    line-height: 1.5;
}

.academics-image-wrapper {
    flex: 1;
    position: relative;
    padding: 20px 0;
}

.academics-img {
    width: 100%;
    border-radius: 200px 200px 10px 10px;
    object-fit: cover;
    height: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.academics-overlay-box {
    position: absolute;
    bottom: -10px;
    left: 10%;
    right: 10%;
    background-color: var(--primary-blue);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.academics-overlay-box h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 5px;
    font-weight: 700;
}

.academics-overlay-box p {
    font-size: 0.9rem;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* --- Facilities Section --- */
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.facility-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease;
}

.facility-card:hover {
    transform: translateY(-5px);
}

.facility-img-wrapper {
    position: relative;
    height: 180px;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.facility-icon {
    position: absolute;
    bottom: -20px;
    left: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--primary-blue);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.facility-content {
    padding: 35px 20px 20px;
    flex: 1;
}

.facility-content h3 {
    font-family: var(--font-heading);
    color: var(--dark-navy);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.facility-content p {
    font-size: 0.85rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* --- Student Life Section --- */
.student-life-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

/* --- CTA Banner --- */
.cta-banner {
    background-color: var(--dark-navy);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 50px;
    color: white;
    box-shadow: 0 10px 30px rgba(7, 26, 77, 0.2);
}

.cta-banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.cta-banner-icon {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    padding: 15px;
    display: flex;
}

.cta-banner-text h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin: 0;
    line-height: 1.3;
}

.cta-banner-divider {
    width: 1px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 30px;
}

.cta-banner-middle {
    flex: 1;
}

.cta-banner-middle p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin: 0;
}

.cta-banner-right {
    flex-shrink: 0;
}

.btn-accent {
    background-color: var(--secondary-blue);
    color: white;
    border: none;
}

.btn-accent:hover {
    background-color: #0c9be0;
}

/* --- Footer Section --- */
.main-footer {
    background-color: var(--dark-navy);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
    padding: 70px 0;
}

.footer-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 30px;
}

.footer-col-1 {
    padding-right: 40px !important;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    color: white;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    /* Optional: filter to make it white if it's black */
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.logo-subtitle {
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--secondary-blue);
    font-weight: 600;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.05rem;
    margin-bottom: 25px;
    color: white;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--secondary-blue);
    transform: translateX(5px);
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-list svg {
    color: var(--secondary-blue);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    background-color: rgba(0, 0, 0, 0.15);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 768px) {
    .footer-bottom .container {
        justify-content: center;
        text-align: center;
    }
}

.footer-bottom p {
    margin: 0;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .features-container {
        flex-wrap: wrap;
        gap: 20px;
    }

    .feature-divider {
        display: none;
    }

    .feature-item {
        flex: 1 1 calc(33.333% - 40px);
    }
}

@media (max-width: 992px) {
    .top-bar {
        display: none;
        /* Hide top bar on smaller screens or implement a mobile version */
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        padding: 20px;
        z-index: 99;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav a {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #eee;
        pointer-events: auto;
    }

    .main-nav a.active::after {
        display: none;
    }

    .search-icon {
        display: none;
    }

    .hero-title {
        font-size: 3rem;
    }

    .feature-item {
        flex: 1 1 calc(50% - 40px);
    }

    .about-grid,
    .academics-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        flex-direction: column;
    }

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

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 20px;
    }

    .cta-banner-left {
        flex-direction: column;
    }

    .cta-banner-divider {
        width: 100%;
        height: 1px;
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .feature-item {
        flex: 1 1 100%;
    }

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

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

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

    .student-life-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col:not(:last-child) {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-right: 0;
        padding-bottom: 40px;
    }

    .footer-col-1 {
        padding-right: 0 !important;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* --- NOC & Documents Table --- */
.docs-wrapper {
    overflow-x: hidden;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.docs-table th {
    text-align: left;
    padding: 18px 20px;
    background-color: var(--light-bg);
    color: var(--dark-navy);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border-bottom: 2px solid #e2e8f0;
}

.docs-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-dark);
    vertical-align: middle;
    transition: background-color 0.2s ease;
}

.docs-table tbody tr:hover {
    background-color: #f8fafc;
}

.docs-table tbody tr:last-child td {
    border-bottom: none;
}

/* --- New Disclosure Card Layout --- */
.disclosure-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 30px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.dc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.dc-title-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.dc-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.dc-title-text h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
}

.dc-title-text p {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    color: #64748b;
}

.dc-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 4px;
    border-bottom: 2px solid;
    letter-spacing: 0.5px;
}

/* Responsive Card Header */
@media (max-width: 768px) {
    .dc-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}

/* Theme Blue */
.theme-blue {
    border-color: #cce4ff;
}

.theme-blue .dc-header {
    background-color: #f5f9ff;
    border-bottom-color: #cce4ff;
}

.theme-blue .dc-icon {
    background-color: #1a73e8;
}

.theme-blue .dc-title-text h3 {
    color: #1a73e8;
}

.theme-blue .dc-badge {
    color: #1a73e8;
    border-bottom-color: #1a73e8;
}

.theme-blue .docs-table th {
    background-color: #e6f0ff;
    color: #0d47a1;
}

.theme-blue .docs-table tbody tr:hover {
    background-color: rgba(26, 115, 232, 0.03);
}

/* Theme Green */
.theme-green {
    border-color: #ccead2;
}

.theme-green .dc-header {
    background-color: #f4fbf6;
    border-bottom-color: #ccead2;
}

.theme-green .dc-icon {
    background-color: #0f9d58;
}

.theme-green .dc-title-text h3 {
    color: #0f9d58;
}

.theme-green .dc-badge {
    color: #0f9d58;
    border-bottom-color: #0f9d58;
}

.theme-green .docs-table th {
    background-color: #e6f6eb;
    color: #0a6638;
}

.theme-green .docs-table tbody tr:hover {
    background-color: rgba(15, 157, 88, 0.03);
}

/* Theme Orange */
.theme-orange {
    border-color: #ffe0b2;
}

.theme-orange .dc-header {
    background-color: #fffaf5;
    border-bottom-color: #ffe0b2;
}

.theme-orange .dc-icon {
    background-color: #f29900;
}

.theme-orange .dc-title-text h3 {
    color: #f29900;
}

.theme-orange .dc-badge {
    color: #f29900;
    border-bottom-color: #f29900;
}

.theme-orange .docs-table th {
    background-color: #fff3e0;
    color: #e65100;
}

.theme-orange .docs-table tbody tr:hover {
    background-color: rgba(242, 153, 0, 0.03);
}

/* Theme Yellow */
.theme-yellow {
    border-color: #fff176;
}

.theme-yellow .dc-header {
    background-color: #fffde7;
    border-bottom-color: #fff176;
}

.theme-yellow .dc-icon {
    background-color: #fbc02d;
}

.theme-yellow .dc-title-text h3 {
    color: #fbc02d;
}

.theme-yellow .dc-badge {
    color: #fbc02d;
    border-bottom-color: #fbc02d;
}

.theme-yellow .docs-table th {
    background-color: #fff9c4;
    color: #f57f17;
}

.theme-yellow .docs-table tbody tr:hover {
    background-color: rgba(251, 192, 45, 0.03);
}

/* Theme Purple */
.theme-purple {
    border-color: #e1bee7;
}

.theme-purple .dc-header {
    background-color: #fbf5fc;
    border-bottom-color: #e1bee7;
}

.theme-purple .dc-icon {
    background-color: #9c27b0;
}

.theme-purple .dc-title-text h3 {
    color: #9c27b0;
}

.theme-purple .dc-badge {
    color: #9c27b0;
    border-bottom-color: #9c27b0;
}

.theme-purple .docs-table th {
    background-color: #f3e5f5;
    color: #4a148c;
}

.theme-purple .docs-table tbody tr:hover {
    background-color: rgba(156, 39, 176, 0.03);
}

/* Clean table inside card */
.disclosure-card .docs-table {
    margin-top: 0;
}

.disclosure-card .docs-table th {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.view-pdf-btn {
    white-space: nowrap;
}

/* --- PDF Modal --- */
.pdf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pdf-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.pdf-modal-container {
    background-color: white;
    width: 90%;
    max-width: 1000px;
    height: 85vh;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.pdf-modal-overlay.active .pdf-modal-container {
    transform: scale(1);
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e2e8f0;
    background-color: var(--light-bg);
}

.pdf-modal-title {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--dark-navy);
    font-size: 1.2rem;
}

.pdf-modal-close {
    background: none;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
    padding: 4px;
}

.pdf-modal-close:hover {
    color: #e53e3e;
}

.pdf-modal-body {
    flex: 1;
    position: relative;
    background-color: #f1f5f9;
}

.pdf-modal-body iframe {
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
    z-index: 2;
}

.pdf-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text-gray);
    font-weight: 500;
    z-index: 1;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 768px) {

    .docs-table th,
    .docs-table td {
        padding: 12px 15px;
    }

    .docs-wrapper {
        padding: 20px !important;
    }

    .pdf-modal-container {
        width: 95%;
        height: 90vh;
    }
}

/* --- Gallery Page Grid --- */
.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-page-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    aspect-ratio: 4 / 3;
}

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

.gallery-page-item:hover img {
    transform: scale(1.05);
}

/* --- Lightbox Modal --- */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.lightbox-overlay.active .lightbox-content img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    z-index: 2001;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
    color: var(--secondary-blue);
    transform: scale(1.1);
}

body.lightbox-open {
    overflow: hidden;
}

/* Responsive Gallery Page Grid */
@media (max-width: 992px) {
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-page-grid {
        grid-template-columns: 1fr;
    }

    .lightbox-close {
        top: 10px;
        right: 15px;
    }
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Page Header Component --- */
.page-header {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 32, 91, 0.85);
    /* Darker primary blue */
    z-index: 1;
}

.page-header-content {
    position: relative;
    z-index: 2;
}

.page-title {
    color: white;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 15px;
    margin-top: 0;
}

.breadcrumbs {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    backdrop-filter: blur(4px);
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.breadcrumbs a:hover {
    color: white;
}

.breadcrumbs .separator {
    color: white;
    margin: 0 10px;
    font-size: 0.9rem;
}

.breadcrumbs .current {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

/* --- About Us Page (Premium Editorial Layout) --- */

/* Utility Tints (Matched to Reference Image) */
.bg-pastel-blue {
    background-color: #f0f7fc;
}

.bg-pastel-orange {
    background-color: #fff6e8;
}

.bg-pastel-teal {
    background-color: #eafbf7;
}

.bg-pastel-pink {
    background-color: #feeff4;
}

.bg-pastel-green {
    background-color: #eff9ed;
}

.bg-pastel-yellow {
    background-color: #fffdf0;
}

.text-pastel-blue {
    color: #4392f1;
}

.text-pastel-orange {
    color: #f9a03f;
}

.text-pastel-teal {
    color: #38b2ac;
}

.text-pastel-pink {
    color: #ed64a6;
}

.text-pastel-green {
    color: #48bb78;
}

.text-pastel-yellow {
    color: #ecc94b;
}

.bg-tint-primary {
    background-color: rgba(0, 60, 199, 0.04);
}

.bg-tint-secondary {
    background-color: rgba(14, 175, 251, 0.05);
}

.decor-stroke {
    position: absolute;
    opacity: 0.5;
    z-index: 0;
}

/* 1. About Intro */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-intro-content .info-box {
    margin-top: 30px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background-color: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.info-box .info-icon {
    color: var(--primary-blue);
    flex-shrink: 0;
}

.about-intro-image-wrapper {
    position: relative;
    border-radius: 12px;
}

.about-intro-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: block;
}

.floating-stat-box {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 20px 30px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 4px solid var(--primary-blue);
    text-align: center;
    z-index: 5;
}

.happy-children-badge {
    position: absolute;
    bottom: 20px;
    right: -30px;
    background: white;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Comic Sans MS', cursive, sans-serif;
    font-size: 0.95rem;
    color: var(--primary-blue);
    transform: rotate(-4deg);
    z-index: 5;
    white-space: nowrap;
    font-weight: bold;
}

@media (max-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .floating-stat-box {
        bottom: 20px;
        left: 20px;
    }

    .happy-children-badge {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .happy-children-badge {
        right: 0;
        bottom: -10px;
        transform: rotate(0deg);
        font-size: 0.85rem;
        padding: 10px 20px;
    }
}

/* 2. Vision Mission Premium Cards */
.vision-mission-cards-premium {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.vm-card-premium {
    background: white;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.decor-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    opacity: 0.05;
    z-index: 0;
    pointer-events: none;
}

.vm-icon-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .vision-mission-cards-premium {
        grid-template-columns: 1fr;
    }

    .vm-card-premium {
        padding: 30px 20px;
    }
}

/* 3. Approach Grid Premium */
.approach-grid-premium {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

@media (max-width: 1200px) {
    .approach-grid-premium {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

.approach-card-premium {
    padding: 40px 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.approach-card-premium:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.05);
}

.ac-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.ac-num {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: bold;
    color: rgba(0, 32, 91, 0.1);
    line-height: 1;
}

.ac-icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.approach-card-premium h3 {
    margin: 0 0 15px 0;
    font-family: var(--font-heading);
    color: var(--dark-navy);
    font-size: 1.3rem;
}

.approach-card-premium p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

@media (max-width: 576px) {
    .approach-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* 4. Values Editorial Grid */
.values-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1.5fr;
    gap: 40px;
    align-items: stretch;
}

.ve-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 20px;
}

.ve-featured {
    background: var(--primary-blue);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 60, 199, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ve-featured-icon {
    color: white;
    margin-bottom: 20px;
    opacity: 0.9;
}

.ve-small-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ve-box {
    background: white;
    padding: 25px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.ve-box-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.ve-box h4 {
    margin: 0 0 8px 0;
    font-family: var(--font-heading);
    color: var(--dark-navy);
    font-size: 1.1rem;
}

.ve-box p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 1200px) {
    .values-editorial-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ve-intro {
        grid-column: 1 / -1;
        text-align: center;
        align-items: center;
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .values-editorial-grid {
        grid-template-columns: 1fr;
    }

    .ve-small-grid {
        grid-template-columns: 1fr;
    }
}

/* 5. Stats Strip */
.stats-strip-container {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    background: white;
}

.stats-strip-img {
    flex: 0 0 35%;
    min-height: 300px;
}

.stats-strip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stats-strip-content {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ss-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ss-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ss-icon {
    color: var(--secondary-blue);
    background: var(--light-bg);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ss-val {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-blue);
    margin: 0 0 2px 0;
    line-height: 1;
}

.ss-label {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1100px) {
    .ss-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .ss-icon {
        display: none;
    }
}

@media (max-width: 768px) {
    .stats-strip-container {
        flex-direction: column;
    }

    .stats-strip-img {
        min-height: 200px;
    }

    .stats-strip-content {
        padding: 40px 20px;
    }
}

/* --- Academics Page Redesign --- */

/* Decorative Elements */
.dotted-pattern {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

.floating-label-blue {
    position: absolute;
    background: var(--secondary-blue);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-family: var(--font-heading);
    box-shadow: 0 10px 20px rgba(14, 175, 251, 0.3);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.floating-label-blue svg {
    width: 18px;
    height: 18px;
}

.decorative-arrow {
    position: absolute;
    opacity: 0.2;
    z-index: 0;
}

/* 1. Academics Intro */
.academics-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.academics-intro-image {
    position: relative;
    border-radius: 20px;
    padding: 20px 20px 0 0;
    /* space for decorative dots */
}

.academics-intro-image::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--secondary-blue) 15%, transparent 15%);
    background-size: 15px 15px;
    opacity: 0.2;
    z-index: 0;
}

.academics-intro-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.academic-highlight-boxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 40px;
}

.ah-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ah-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--secondary-blue);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ah-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.ah-box:hover::after {
    opacity: 1;
}

.ah-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 2. Curriculum Journey */
.curriculum-journey {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    margin-top: 60px;
    gap: 15px;
}

.cj-card {
    flex: 1;
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cj-card:hover {
    transform: translateY(-5px);
}

.cj-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    position: relative;
}

.cj-number {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(0, 60, 199, 0.3);
}

.cj-connector {
    color: var(--secondary-blue);
    opacity: 0.5;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3. Pillars Grid (Asymmetric) */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 30px;
}

.pillar-card-featured {
    grid-row: 1 / span 2;
    background: var(--primary-blue);
    color: white;
    border-radius: 20px;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 60, 199, 0.2);
}

.pillar-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: flex-start;
    gap: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
}

.pillar-bg-icon {
    position: absolute;
    right: -20px;
    bottom: -20px;
    opacity: 0.05;
    transform: rotate(-10deg);
}

/* 4. Learning Pathway */
.pathway-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pathway-image-wrapper {
    position: relative;
    border-radius: 20px;
}

.pathway-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 150px;
    height: 150px;
    background-image: radial-gradient(var(--secondary-blue) 15%, transparent 15%);
    background-size: 20px 20px;
    opacity: 0.15;
    z-index: -1;
}

.pathway-list {
    position: relative;
    padding-left: 50px;
}

.pathway-line {
    position: absolute;
    left: 24px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: rgba(14, 175, 251, 0.3);
    border-radius: 2px;
}

.pathway-item {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.pathway-item:last-child {
    margin-bottom: 0;
}

.pathway-node {
    position: absolute;
    left: -26px;
    /* 50 - 24 = 26 */
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.2rem;
    border: 3px solid white;
    z-index: 2;
}

/* 5. More Than a Classroom */
.academic-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.ac-box {
    background: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ac-box::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-image: radial-gradient(currentColor 15%, transparent 15%);
    background-size: 8px 8px;
    opacity: 0.1;
    border-bottom-left-radius: 16px;
}

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

.ac-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.5);
}

/* 6. Academic Highlights / Stats Panel */
.stats-panel {
    background: var(--light-bg);
    border-radius: 20px;
    padding: 40px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.stats-panel::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--secondary-blue) 15%, transparent 15%);
    background-size: 15px 15px;
    opacity: 0.1;
}

.ss-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.ss-icon {
    margin-bottom: 5px;
}

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

/* Responsive adjustments for Academics */
@media (max-width: 1024px) {

    .academics-intro-grid,
    .pathway-grid {
        grid-template-columns: 1fr;
    }

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

    .pillar-card-featured {
        grid-row: auto;
    }

    .academic-boxes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .curriculum-journey {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .cj-connector {
        transform: rotate(90deg);
        margin: 10px 0;
    }

    .cj-card {
        width: 100%;
        max-width: 400px;
    }

    .stats-panel {
        flex-wrap: wrap;
        gap: 40px;
        justify-content: space-around;
    }

    .ss-divider {
        display: none;
    }
}

@media (max-width: 768px) {
    .academic-boxes-grid {
        grid-template-columns: 1fr;
    }

    .pillar-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .stats-panel {
        flex-direction: column;
    }
}


/* --- Academics Page Redesign --- */

.handwritten-text {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive;
    color: var(--secondary-blue);
    font-size: 1.2rem;
    font-weight: bold;
    line-height: 1.2;
    position: absolute;
    z-index: 10;
    transform: rotate(-10deg);
}

.dotted-square {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: radial-gradient(var(--secondary-blue) 15%, transparent 15%);
    background-size: 10px 10px;
    opacity: 0.3;
    z-index: 0;
}

/* 1. Academics Intro */
.academics-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.academics-intro-image {
    position: relative;
    padding-left: 20px;
    /* space for handwritten text */
    padding-right: 20px;
    padding-bottom: 20px;
}

.academics-intro-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    bottom: 0;
    left: 40px;
    background: var(--dark-navy);
    border-radius: 16px;
    z-index: 1;
}

.academics-intro-image img {
    width: 100%;
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

.floating-badge {
    position: absolute;
    bottom: -10px;
    left: -10px;
    background: white;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.academic-highlight-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ah-box {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: left;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ah-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.ah-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
}

/* 2. Curriculum Journey */
.curriculum-journey {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: relative;
    margin-top: 80px;
    gap: 10px;
    z-index: 2;
}

.curriculum-journey::before {
    content: '';
    position: absolute;
    top: -30px;
    /* Align with center of icons */
    left: 5%;
    right: 5%;
    height: 1px;
    border-top: 2px dashed rgba(14, 175, 251, 0.3);
    z-index: -1;
}

.cj-card {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 50px 15px 30px 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.cj-icon-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
}

.cj-icon-inner {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cj-number {
    position: absolute;
    top: 0;
    right: 0;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.cj-connector {
    color: var(--secondary-blue);
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    /* adjust vertical alignment */
}

/* 3. Pillars Grid */
.pillars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.pillar-card {
    border-radius: 16px;
    padding: 40px 30px 40px 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    border: none;
    overflow: visible !important;
}

.pillar-number {
    position: absolute;
    left: -18px;
    top: 30px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 10;
    white-space: nowrap;
}

/* 4. Learning Pathway */
.pathway-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.pathway-list {
    position: relative;
    padding-left: 60px;
}

.pathway-line {
    position: absolute;
    left: 24px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: rgba(0, 0, 0, 0.05);
}

.pathway-item {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.pathway-node {
    position: absolute;
    left: -56px;
    width: 40px;
    height: 40px;
    background: white;
    border: 2px solid #f0f7fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    font-weight: 700;
    color: var(--primary-blue);
    z-index: 2;
}

.pathway-card {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* 5. More Than a Classroom */
.academic-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.ac-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

/* 6. Stats Panel */
.stats-panel {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.ss-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
}

@media (max-width: 992px) {

    .academics-intro-grid,
    .pathway-grid,
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .academic-highlight-boxes {
        grid-template-columns: 1fr;
    }

    .curriculum-journey {
        flex-direction: column;
    }

    .academic-boxes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .pillar-card-featured {
        grid-row: auto;
    }
}

@media (max-width: 768px) {
    .academic-boxes-grid {
        grid-template-columns: 1fr;
    }

    .stats-panel {
        flex-wrap: wrap;
        gap: 30px;
    }
}

/* --- Facilities Page --- */
.fc-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.fc-page-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.fc-page-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.05);
}

.fc-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--text-gray);
    opacity: 0.5;
}

.fc-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.fc-page-card:hover .fc-icon-wrapper {
    transform: scale(1.05);
}

.fc-page-card h3 {
    margin: 0 0 10px 0;
    font-family: var(--font-heading);
    color: var(--dark-navy);
    font-size: 1.3rem;
}

.fc-page-card p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .fc-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

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