﻿/* ============================================================
   MSI COLLEGE PAGE THEME
   Matching Prestige / Modern premium layout
============================================================ */

:root {
    --accent: #2f5f45;
    --light: #f4f7f5;
    --text-dark: #222;
    --text-light: #666;
    --radius: 18px;
}


/* ============================================================
   HERO SECTION
============================================================ */
.msi-hero {
    position: relative;
    height: 65vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-left: 6vw;
}

.msi-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: brightness(0.55);
    transform: scale(1.1);
}

.msi-hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    color: white;
}

.msi-hero-title {
    font-size: 3.6rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.msi-hero-subtitle {
    font-size: 1.4rem;
    opacity: 0.85;
    margin-bottom: 20px;
}

.msi-hero-desc {
    font-size: 1.15rem;
    line-height: 1.6;
    opacity: 0.9;
}


/* ============================================================
   SECTIONS
============================================================ */
.msi-section {
    padding: 70px 6vw;
}

    .msi-section.light {
        background: var(--light);
    }

.msi-section-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 25px;
}

    .msi-section-title.center {
        text-align: center;
    }


/* ============================================================
   SPLIT LAYOUT (Side Image + Text)
============================================================ */
.split {
    display: flex;
    gap: 50px;
    align-items: center;
}

.split-text {
    flex: 1;
    font-size: 1.1rem;
    color: var(--text-light);
}

.split-image {
    flex: 1;
    height: 360px;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    box-shadow: 0 10px 28px rgba(0,0,0,0.15);
}


/* ============================================================
   PROGRAM GRID (MSI CARDS)
============================================================ */
.msi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.msi-card {
    background: #ffffff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: 0 8px 18px rgba(0,0,0,0.08);
    transition: 0.25s ease;
}

    .msi-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(0,0,0,0.15);
    }

    .msi-card h3 {
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--accent);
        margin-bottom: 10px;
    }


/* ============================================================
   QUICK LINKS
============================================================ */
.msi-quicklinks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.msi-ql {
    padding: 18px;
    border-radius: var(--radius);
    text-align: center;
    background: white;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    transition: 0.25s ease;
}

    .msi-ql:hover {
        background: var(--accent);
        color: white;
        transform: translateY(-4px);
    }


/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 900px) {
    .split {
        flex-direction: column;
    }

    .msi-hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    .msi-hero {
        padding-left: 20px;
    }
}
