/* --- Global Serif Typeface (Times New Roman) --- */
.font-serif,
.acad-banner,
.acad-footer,
.section-tag,
.section-title,
.acad-card,
.pillar-card,
.calendar-interactive-card {
    font-family: 'Times New Roman', Times, serif !important;
}

.bg-light-section {
    background-color: #f7faff;
}

/* --- Hero Banner & Parallax Look --- */
.acad-banner {
    position: relative;
    min-height: 320px;
    background-image: url('../images/b2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    padding: 70px 15px;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 59, 115, 0.92) 0%, rgba(2, 136, 209, 0.82) 100%);
    z-index: 1;
}

.acad-banner .container {
    z-index: 2;
}

.banner-badge {
    display: inline-block;
    background: rgba(255, 213, 79, 0.2);
    border: 1px solid #ffd54f;
    color: #ffd54f;
    font-size: 13px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.acad-main-heading {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.acad-sub-heading {
    font-size: 18px;
    font-style: italic;
    opacity: 0.95;
    max-width: 720px;
    margin: 8px auto 0;
}

.acad-divider {
    width: 65px;
    height: 3px;
    background-color: #ffd54f;
    margin-top: 18px;
    border-radius: 2px;
}

.acad-divider-small {
    width: 50px;
    height: 3px;
    background-color: #0288d1;
    margin-top: 8px;
    border-radius: 2px;
}

/* --- Headings --- */
.section-tag {
    color: #0288d1;
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
}

.section-title {
    font-size: 29px;
    font-weight: 700;
    color: #0f172a;
}

.section-lead {
    font-size: 16px;
    color: #64748b;
    font-style: italic;
}

.section-text {
    font-size: 16px;
    color: #4b5563;
    line-height: 1.7;
}

/* --- Academic Wings Cards & Hover Effects --- */
.acad-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    padding: 30px 22px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.acad-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0288d1, #ffd54f);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

/* Card Hover */
.acad-card:hover {
    transform: translateY(-8px);
    border-color: #0288d1;
    box-shadow: 0 14px 28px rgba(2, 136, 209, 0.18);
}

.acad-card:hover::before {
    transform: scaleX(1);
}

.acad-icon {
    width: 60px;
    height: 60px;
    background-color: #e1f5fe;
    color: #0288d1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
    transition: all 0.35s ease;
}

.acad-card:hover .acad-icon {
    background-color: #0288d1;
    color: #ffffff;
    transform: rotateY(180deg);
}

.acad-card h5 {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.grade-label {
    display: inline-block;
    align-self: flex-start;
    background: #fff8e1;
    color: #b78103;
    font-size: 13px;
    font-weight: bold;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 12px;
}

.acad-card p {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 16px;
}

.wing-features {
    list-style: none;
    padding-left: 0;
    margin-top: auto;
    border-top: 1px dashed #e2e8f0;
    padding-top: 14px;
    margin-bottom: 0;
}

.wing-features li {
    font-size: 13.5px;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
}

.wing-features li i {
    color: #0288d1;
    font-size: 12px;
    margin-right: 8px;
}

/* --- Assessment Grid with Hover Animations --- */
.assessment-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.assessment-item {
    display: flex;
    align-items: flex-start;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.assessment-item:hover {
    background: #ffffff;
    border-color: #0288d1;
    transform: translateX(6px);
    box-shadow: 0 4px 12px rgba(2, 136, 209, 0.12);
}

.assessment-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 8px;
    background-color: #e1f5fe;
    color: #0288d1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-right: 14px;
    transition: all 0.25s ease;
}

.assessment-item:hover .assessment-icon {
    background-color: #0288d1;
    color: #ffffff;
}

/* --- Calendar Box Card --- */
.calendar-interactive-card {
    background: #ffffff;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.calendar-interactive-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.card-glass-header {
    background: linear-gradient(135deg, #0288d1, #01579b);
    padding: 24px;
    color: #ffffff;
    text-align: center;
}

.card-glass-header p {
    color: #e1f5fe !important;
}

.callout-icon {
    font-size: 38px;
    color: #ffd54f;
}

.mini-schedule-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 14.5px;
}

.btn-download-acad {
    background-color: #0288d1;
    color: #ffffff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(2, 136, 209, 0.3);
    transition: all 0.25s ease;
}

.btn-download-acad:hover {
    background-color: #01579b;
    box-shadow: 0 6px 16px rgba(1, 87, 155, 0.4);
    transform: scale(1.02);
}

/* --- Pillar Facility Cards & Image Zoom Hover --- */
.pillar-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: #0288d1;
    box-shadow: 0 10px 22px rgba(2, 136, 209, 0.15);
}

.pillar-img-box {
    position: relative;
    height: 190px;
    background: #e2e8f0;
    overflow: hidden;
}

.pillar-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.pillar-card:hover .pillar-img-box img {
    transform: scale(1.07);
}

.pillar-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 34, 68, 0.85);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
}

.pillar-body {
    padding: 18px 20px 22px;
}

.pillar-body h5 {
    font-size: 18px;
    color: #0f172a;
    margin-bottom: 6px;
}

/* --- Footer --- */
.acad-footer {
    background: #002244;
    font-size: 14px;
}

/* --- Responsive Layout --- */
@media (max-width: 768px) {
    .acad-banner {
        min-height: 240px;
        padding: 50px 15px;
        background-attachment: scroll; /* Mobile scroll fix */
    }
    .acad-main-heading {
        font-size: 26px;
    }
    .acad-sub-heading {
        font-size: 15px;
    }
    .section-title {
        font-size: 23px;
    }
}