/* Academics Page - Yeldo Mar Baselios College */
/* Uses site color scheme: #24353b, #c43a47, #5a5a5a, #646567, #eee, #e5e5e5 */

/* Hero Section - High Profile Premium Design */
.academics-hero {
    position: relative;
    min-height: 81vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.academics-hero-bg {
    position: absolute;
    inset: 0;
    background: url(../images/banners/INDEX-BANNER-02.jpg) no-repeat center center / cover;
}
.academics-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13, 26, 35, 0.94) 0%, rgba(18, 35, 45, 0.88) 50%, rgba(36, 53, 59, 0.92) 100%);
}
.academics-hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(196, 58, 71, 0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(196, 58, 71, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 70% at 40% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 40% 50%, black 20%, transparent 70%);
}
.academics-hero-glow {
    position: absolute;
    top: -30%;
    right: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(196, 58, 71, 0.08) 0%, transparent 70%);
    pointer-events: none;
}
.academics-hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
}
.academics-hero-inner {
    align-items: center;
    min-height: 57vh;
}
.academics-hero-content {
    padding-right: 40px;
}
.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.eyebrow-line {
    width: 48px;
    height: 2px;
    background: linear-gradient(90deg, #c43a47, transparent);
}
.eyebrow-text {
    font-size: 11px;
    color: #c43a47;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 500;
}
.academics-hero h1 {
    font-size: clamp(42px, 5.5vw, 64px);
    color: #fff;
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    text-transform: none;
}
.academics-hero h1 em {
    font-style: italic;
    color: #c43a47;
    font-weight: 400;
}
.academics-hero .hero-subtitle {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    font-weight: 300;
    line-height: 1.8;
    max-width: 520px;
    margin-bottom: 38px;
}
.academics-hero .hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.academics-hero .btn-primary {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: #c43a47;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    border: none;
    margin: 0;
    transition: all 0.35s ease;
}
.academics-hero .btn-primary:hover {
    background: #fff;
    color: #24353b !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.academics-hero .btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 14px 30px;
    border: 1px solid rgba(255,255,255,0.35);
    color: #fff !important;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
    transition: all 0.35s ease;
}
.academics-hero .btn-ghost:hover {
    border-color: #c43a47;
    background: rgba(196, 58, 71, 0.15);
    color: #fff !important;
}
/* Stats - Right Side Premium Layout */
.academics-hero-stats-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.academics-hero .hero-stats {
    display: flex;
    flex-direction: column;
    gap: 36px;
    padding: 45px 50px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 3px solid #c43a47;
}
.academics-hero .stat-item {
    text-align: right;
}
.academics-hero .stat-num {
    display: block;
    font-size: 42px;
    font-weight: 700;
    color: #c43a47;
    line-height: 1;
    letter-spacing: -0.02em;
}
.academics-hero .stat-label {
    display: block;
    font-size: 10px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-top: 8px;
}
/* Scroll Indicator */
.academics-hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.scroll-line {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, #c43a47, transparent);
    animation: scrollPulse 2.2s ease-in-out infinite;
    transform-origin: top;
}
.scroll-text {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.25em;
    text-transform: uppercase;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

/* Content Section */
.academics-content {
    padding-top: 70px !important;
    padding-bottom: 50px !important;
}
.academics-welcome-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.12);
    padding: 45px 50px;
    border-left: 5px solid #c43a47;
    margin-bottom: 35px;
}
.academics-welcome-card .sec-label {
    display: block;
    font-size: 12px;
    color: #c43a47;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.academics-welcome-card h2 {
    font-size: 26px;
    color: #24353b;
    margin-bottom: 25px;
    text-transform: none;
    font-weight: 600;
}
.academics-welcome-card p {
    font-size: 15px;
    line-height: 1.9;
    color: #5a5a5a;
    margin-bottom: 18px;
}
.academics-welcome-card p:last-child {
    margin-bottom: 0;
}
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.pillar-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #e5e5e5;
    border-left: 4px solid #24353b;
    transition: all 0.3s ease;
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}
.pillar-num {
    font-size: 12px;
    color: #c43a47;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
}
.pillar-card h4 {
    font-size: 16px;
    color: #24353b;
    margin-bottom: 12px;
    text-transform: none;
    font-weight: 600;
}
.pillar-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #5a5a5a;
    margin: 0;
}

/* Programmes Section */
.academics-programmes {
    background: #eee !important;
    padding: 70px 0;
}
.academics-programmes .section-title {
    text-align: center;
    margin-bottom: 45px;
}
.academics-programmes .sec-label {
    display: block;
    font-size: 12px;
    color: #c43a47;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.academics-programmes .section-title h2 {
    font-size: 32px;
    color: #24353b !important;
    margin-bottom: 0;
}
.academics-programmes .section-title h2 span {
    color: #24353b !important;
}
.academics-programmes .programmes-grid {
    list-style: none;
    padding: 0;
    margin: 0 -15px;
}
.academics-programmes .programmes-grid li {
    margin-bottom: 30px;
    position: relative;
}
.academics-programmes .programmes-grid li a {
    display: block;
    position: relative;
}

/* Academic Head Section */
.academics-head {
    padding: 70px 0;
    background: #fff;
}
.academics-head .section-title {
    text-align: center;
    margin-bottom: 45px;
}
.academics-head .sec-label {
    display: block;
    font-size: 12px;
    color: #c43a47;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.academics-head .section-title h2 {
    font-size: 32px;
    color: #24353b;
    margin-bottom: 0;
}
.head-content {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 50px;
    align-items: start;
}
.head-portrait {
    position: sticky;
    top: 100px;
}
.portrait-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: #f5f5f5;
    border: 2px solid #e5e5e5;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
}
.portrait-placeholder i {
    font-size: 60px;
    color: #c43a47;
    opacity: 0.5;
}
.portrait-placeholder span {
    font-size: 12px;
    color: #646567;
    letter-spacing: 1px;
}
.name-plate {
    margin-top: 20px;
    padding: 20px 25px;
    background: #24353b;
    border-radius: 8px;
    border-left: 4px solid #c43a47;
}
.name-plate h3 {
    font-size: 22px;
    color: #fff;
    margin: 0 0 8px 0;
    text-transform: none;
}
.name-plate p {
    font-size: 13px;
    color: #c43a47;
    margin: 0;
    letter-spacing: 1px;
}
.head-bio .head-quote {
    font-size: 20px;
    font-style: italic;
    color: #24353b;
    line-height: 1.6;
    margin-bottom: 25px;
    padding-left: 25px;
    border-left: 4px solid #c43a47;
}
.head-bio p {
    font-size: 15px;
    line-height: 1.9;
    color: #5a5a5a;
    margin-bottom: 18px;
}
.credentials-list {
    margin-top: 30px;
}
.cred-item {
    display: flex;
    gap: 20px;
    padding: 20px 25px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #24353b;
}
.cred-item i {
    font-size: 24px;
    color: #c43a47;
    flex-shrink: 0;
}
.cred-item strong {
    display: block;
    color: #24353b;
    margin-bottom: 5px;
}
.cred-item div {
    font-size: 14px;
    color: #5a5a5a;
    line-height: 1.6;
}
.ministry-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 25px;
    margin-top: 25px;
    border: 2px solid #c43a47;
    background: rgba(196, 58, 71, 0.06);
    border-radius: 8px;
    font-size: 14px;
    color: #24353b;
    font-weight: 600;
}

/* Facilities Section */
.academics-facilities {
    background: #f5f5f5;
    padding: 70px 0;
}
.academics-facilities .section-title {
    text-align: center;
    margin-bottom: 45px;
}
.academics-facilities .sec-label {
    display: block;
    font-size: 12px;
    color: #c43a47;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.academics-facilities .section-title h2 {
    font-size: 32px;
    color: #24353b;
    margin-bottom: 0;
}
.facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}
.fac-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid #e5e5e5;
    transition: all 0.3s ease;
}
.fac-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(0,0,0,0.1);
    border-color: #c43a47;
}
.fac-icon {
    font-size: 36px;
    color: #c43a47;
    margin-bottom: 20px;
}
.fac-card h4 {
    font-size: 18px;
    color: #24353b;
    margin-bottom: 12px;
    text-transform: none;
    font-weight: 600;
}
.fac-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #5a5a5a;
    margin: 0;
}

/* Approach Section */
.academics-approach {
    padding: 70px 0;
    background: #fff;
}
.academics-approach .section-title {
    text-align: center;
    margin-bottom: 45px;
}
.academics-approach .sec-label {
    display: block;
    font-size: 12px;
    color: #c43a47;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.academics-approach .section-title h2 {
    font-size: 32px;
    color: #24353b;
    margin-bottom: 0;
}
.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    overflow: hidden;
}
.step-card {
    padding: 35px 30px;
    background: #fff;
    border-right: 1px solid #e5e5e5;
    transition: background 0.3s ease;
}
.step-card:last-child {
    border-right: none;
}
.step-card:hover {
    background: #fafbfc;
}
.step-num {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: rgba(196, 58, 71, 0.2);
    line-height: 1;
    margin-bottom: 15px;
}
.step-card h4 {
    font-size: 18px;
    color: #24353b;
    margin-bottom: 12px;
    text-transform: none;
    font-weight: 600;
}
.step-card p {
    font-size: 14px;
    line-height: 1.7;
    color: #5a5a5a;
    margin: 0;
}

/* CTA Section */
.academics-cta {
    background: linear-gradient(135deg, #24353b 0%, #1a2830 100%);
    padding: 70px 0;
}
.academics-cta h2 {
    font-size: 36px;
    color: #fff;
    margin-bottom: 20px;
    text-transform: none;
}
.academics-cta p {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 35px;
}
.academics-cta .btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: #c43a47;
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    margin: 0 10px 10px 0;
    transition: all 0.3s ease;
}
.academics-cta .btn-primary:hover {
    background: #fff;
    color: #24353b !important;
}
.academics-cta .btn-ghost {
    display: inline-block;
    padding: 14px 35px;
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    margin: 0 10px 10px 0;
    transition: all 0.3s ease;
}
.academics-cta .btn-ghost:hover {
    border-color: #c43a47;
    background: rgba(196, 58, 71, 0.3);
    color: #fff !important;
}

/* Responsive */
@media (max-width: 991px) {
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .head-content { grid-template-columns: 1fr; }
    .head-portrait { position: static; }
    .facilities-grid { grid-template-columns: repeat(2, 1fr); }
    .approach-steps { grid-template-columns: repeat(2, 1fr); }
    .step-card { border-right: none; border-bottom: 1px solid #e5e5e5; }
    .step-card:last-child { border-bottom: none; }
}
@media (max-width: 991px) {
    .academics-hero-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 50px;
    }
    .academics-hero .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .academics-hero .hero-actions {
        justify-content: center;
    }
    .academics-hero-stats-wrap {
        justify-content: center;
    }
    .academics-hero .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 35px 40px;
    }
    .academics-hero .stat-item {
        text-align: center;
    }
}
@media (max-width: 768px) {
    .academics-hero {
        min-height: auto;
        padding: 80px 0 60px;
    }
    .academics-hero-inner {
        min-height: auto;
    }
    .academics-hero h1 { font-size: 32px; }
    .academics-hero .hero-subtitle { font-size: 15px; }
    .academics-hero .hero-stats { gap: 25px; padding: 30px 25px; }
    .academics-hero .stat-num { font-size: 32px; }
    .academics-hero-scroll { display: none; }
    .academics-welcome-card,
    .academics-content { padding: 30px 25px; }
    .pillars-grid { grid-template-columns: 1fr; }
    .facilities-grid { grid-template-columns: 1fr; }
    .approach-steps { grid-template-columns: 1fr; }
    .academics-cta h2 { font-size: 26px; }
}
