/* IQRA SCHOOL — PART 04 */

:root {
    --academic-blue: #123a73;
    --academic-green: #008b70;
    --academic-gold: #e9ae37;
    --academic-light: #f3f7fc;
    --academic-text: #263548;
}

/* PAGE BANNER */

.academic-banner {
    background: linear-gradient(
        115deg, #092b56, #123a73 55%, #008b70
    );
    padding: 85px 0;
    color: #fff;
}

.academic-eyebrow {
    color: var(--academic-green);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.academic-banner .academic-eyebrow {
    color: #f4cc74;
}

.academic-banner h1 {
    font-family: 'Poppins', 'Hind Siliguri', sans-serif;
    font-size: clamp(30px, 4vw, 48px);
    font-weight: 700;
    margin: 16px 0;
}

.academic-banner p {
    font-size: 17px;
    color: #e5eef7;
    line-height: 1.8;
}

.breadcrumb-custom {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    font-size: 14px;
}

.breadcrumb-custom a {
    color: #fff;
}

.breadcrumb-custom span,
.breadcrumb-custom i {
    color: #f4cc74;
}

/* COMMON SECTION */

.academic-section {
    padding: 85px 0;
}

.academic-light {
    background: var(--academic-light);
}

.section-intro {
    max-width: 750px;
    margin: 0 auto 45px;
}

.section-intro h2,
.academic-heading {
    font-family: 'Poppins', 'Hind Siliguri', sans-serif;
    font-size: clamp(26px, 3vw, 38px);
    color: var(--academic-blue);
    font-weight: 700;
    margin: 12px 0 18px;
}

.section-intro p,
.academic-paragraph {
    color: #64748b;
    font-size: 16px;
    line-height: 1.9;
}

/* ACADEMIC PROGRAM CARDS */

.academic-program-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0,0,0,.055);
    transition: transform .3s, box-shadow .3s;
}

.academic-program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(0,0,0,.11);
}

.academic-program-image {
    position: relative;
}

.academic-program-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: #e5edf4;
}

.academic-program-icon {
    position: absolute;
    bottom: -25px;
    right: 20px;
    width: 56px;
    height: 56px;
    display: grid;
    place-items: center;
    background: var(--academic-green);
    color: white;
    font-size: 25px;
    border: 4px solid white;
    border-radius: 15px;
}

.academic-program-body {
    padding: 37px 23px 27px;
}

.academic-program-body h3 {
    color: var(--academic-blue);
    font-size: 20px;
    font-weight: 700;
}

.academic-level {
    display: block;
    color: var(--academic-green);
    font-size: 13px;
    font-weight: 700;
    margin-top: 9px;
}

.academic-program-body p {
    color: #687789;
    line-height: 1.85;
    min-height: 110px;
    margin: 17px 0;
}

.academic-detail-link {
    color: var(--academic-blue);
    font-weight: 700;
}

.academic-detail-link:hover {
    color: var(--academic-green);
}

.academic-bottom-cta {
    background: linear-gradient(110deg, #123a73, #008b70);
    color: #fff;
    text-align: center;
    padding: 70px 0;
}

.academic-bottom-cta h2 {
    font-weight: 700;
    margin-bottom: 16px;
}

.academic-bottom-cta p {
    color: #e5f4ef;
    margin-bottom: 26px;
}

/* PROGRAM DETAILS */

.program-detail-cover {
    width: 100%;
    max-height: 410px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 35px;
    background: #e8eef4;
}

.program-detail-main h2 {
    color: var(--academic-blue);
    font-weight: 700;
    margin: 14px 0 22px;
}

.program-detail-main h3 {
    color: var(--academic-blue);
    font-size: 24px;
    font-weight: 700;
}

.program-detail-description {
    font-size: 17px;
    line-height: 2;
    color: #5f7083;
}

.curriculum-item {
    display: flex;
    align-items: center;
    gap: 13px;
    background: var(--academic-light);
    border-radius: 12px;
    padding: 17px;
    height: 100%;
    font-weight: 600;
}

.curriculum-item i {
    color: var(--academic-green);
    font-size: 20px;
    flex-shrink: 0;
}

.program-sidebar {
    background: #fff;
    border: 1px solid #e6edf4;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 10px 35px rgba(0,0,0,.055);
    position: sticky;
    top: 100px;
}

.sidebar-icon {
    width: 68px;
    height: 68px;
    background: #e5f5ef;
    color: var(--academic-green);
    display: grid;
    place-items: center;
    border-radius: 18px;
    font-size: 30px;
    margin-bottom: 20px;
}

.program-sidebar h3 {
    color: var(--academic-blue);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 22px;
}

.sidebar-info {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 15px 0;
    border-bottom: 1px solid #e8eef4;
}

.sidebar-info strong {
    color: var(--academic-blue);
}

.sidebar-info span {
    color: #657487;
}

/* STUDENT LIFE */

.student-intro-panel {
    background: linear-gradient(135deg, #123a73, #008b70);
    min-height: 350px;
    border-radius: 24px;
    padding: 45px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.student-intro-panel i {
    color: #f4cc74;
    font-size: 75px;
    margin-bottom: 22px;
}

.student-intro-panel h3 {
    font-weight: 700;
    font-size: 28px;
}

.student-intro-panel p {
    color: #e4f3ef;
    line-height: 1.8;
}

.student-activity-card {
    background: #fff;
    border-radius: 17px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    transition: transform .3s;
}

.student-activity-card:hover {
    transform: translateY(-5px);
}

.student-activity-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    background: #e8eef4;
}

.student-activity-body {
    padding: 25px;
}

.student-activity-body > span {
    display: inline-block;
    background: #e4f5ef;
    color: var(--academic-green);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
}

.student-activity-body h3 {
    color: var(--academic-blue);
    font-size: 21px;
    font-weight: 700;
    margin: 17px 0 12px;
}

.student-activity-body p {
    color: #657487;
    line-height: 1.85;
    margin-bottom: 0;
}

.activity-date {
    color: var(--academic-green);
    font-size: 13px;
    margin-bottom: 12px;
}

/* PHOTO GALLERY */

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.gallery-filter-btn {
    padding: 10px 22px;
    border: 1px solid #dce5ef;
    border-radius: 30px;
    background: white;
    color: var(--academic-blue);
    font-weight: 600;
    transition: .2s;
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    background: var(--academic-green);
    border-color: var(--academic-green);
    color: white;
}

.gallery-photo-card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 17px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 28px rgba(0,0,0,.055);
}

.gallery-open {
    display: block;
    position: relative;
    width: 100%;
    padding: 0;
    border: 0;
    background: #e6edf4;
    cursor: pointer;
    overflow: hidden;
}

.gallery-open img {
    width: 100%;
    height: 245px;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.gallery-open:hover img {
    transform: scale(1.07);
}

.gallery-zoom {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(8,35,73,.35);
    color: white;
    font-size: 30px;
    opacity: 0;
    transition: opacity .3s;
}

.gallery-open:hover .gallery-zoom,
.gallery-open:focus-visible .gallery-zoom {
    opacity: 1;
}

.gallery-photo-info {
    padding: 20px 23px;
}

.gallery-photo-info > span {
    color: var(--academic-green);
    font-size: 12px;
    font-weight: 700;
}

.gallery-photo-info h3 {
    color: var(--academic-blue);
    font-size: 18px;
    font-weight: 700;
    margin: 9px 0;
}

.gallery-photo-info small {
    color: #728095;
}

.gallery-empty {
    padding: 70px 20px;
}

.gallery-empty i {
    color: var(--academic-green);
    font-size: 55px;
}

.gallery-empty h3 {
    color: var(--academic-blue);
    margin-top: 20px;
}

.gallery-lightbox-image {
    max-height: 72vh;
    max-width: 100%;
    object-fit: contain;
}

.pagination .page-link {
    color: var(--academic-blue);
    border-radius: 8px;
    margin: 0 3px;
}

.pagination .page-item.active .page-link {
    background: var(--academic-green);
    border-color: var(--academic-green);
    color: #fff;
}

/* RESPONSIVE */

@media (max-width: 991px) {
    .academic-section {
        padding: 65px 0;
    }

    .program-sidebar {
        position: static;
    }

    .academic-program-body p {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .academic-banner {
        padding: 60px 0;
    }

    .academic-section {
        padding: 55px 0;
    }

    .academic-program-image img {
        height: 220px;
    }

    .student-intro-panel {
        min-height: 280px;
        padding: 30px;
    }

    .gallery-open img {
        height: 230px;
    }

    .gallery-filters {
        gap: 8px;
    }

    .gallery-filter-btn {
        padding: 9px 15px;
        font-size: 13px;
    }

    .program-detail-main h3 {
        font-size: 21px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .academic-program-card,
    .student-activity-card,
    .gallery-open img,
    .gallery-zoom {
        transition: none;
    }
}
