/* ==============================================================
   DIST ADMISSIONS - GLOBAL STYLES (admission.css)
   ============================================================== */

/* 🟢 1. FULL-WIDTH, SLIM, SLANTED HERO BANNER */
.admission-full-banner {
    position: relative;
    background-color: #f8fafd;
    width: 100%;
    display: flex;
    overflow: hidden;
    border-bottom: 1px solid #eef1f6;
}

.banner-text-col {
    width: 60%; /* Increased text width to cover the extra space */
    padding: 40px 5% 40px 8%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.banner-image-col {
    position: absolute;
    top: 0;
    right: 8%; /* 🟢 FIX: Added 8% right margin to perfectly balance the 8% left padding! */
    width: 42%; /* 🟢 FIX: Adjusted width so it fits cleanly */
    height: 100%;
    z-index: 1;
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%);
    border-radius: 0 12px 12px 0; /* 🟢 FIX: Added a smooth, premium rounded curve to the exposed right edge */
}

.banner-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* 🟢 Reset to center! Your new 1600x600 image will now fit flawlessly */
    object-position: center;
}

/* 🟢 2. SLIM TEXT & BADGES */
.hero-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(216, 44, 46, 0.1);
    color: #d82c2e;
    font-family: "Open Sans", sans-serif;
    font-weight: 800;
    font-size: 11px;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-family: "Nunito", sans-serif;
    font-weight: 900;
    color: #002147;
    font-size: 34px;
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-subtitle {
    color: #000000;
    font-family: "Open Sans", sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 90%;
}

.hero-action-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* 🟢 3. SLIMMER ACTION BUTTONS */
.btn-apply-online, .btn-prospectus {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 13px;
    padding: 10px 22px;
    border-radius: 4px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-apply-online { background-color: #d82c2e; color: #ffffff; box-shadow: 0 4px 12px rgba(216, 44, 46, 0.25); }
.btn-prospectus { background-color: #002147; color: #ffffff; box-shadow: 0 4px 12px rgba(0, 33, 71, 0.25); }
.btn-apply-online:hover, .btn-prospectus:hover { background-color: #1f212d; color: #ffffff; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(31, 33, 45, 0.3); }

/* 🟢 4. COURSE TABLES */
.course-table-wrapper { background: #ffffff; border-radius: 8px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); overflow: hidden; border-top: 4px solid #002147; }
.course-table-title { font-family: "Nunito", sans-serif; font-weight: 800; color: #002147; padding: 18px 25px; margin: 0; background: #f8f9fa; border-bottom: 1px solid #eef1f6; font-size: 20px; }
.course-table { width: 100%; margin: 0; border-collapse: collapse; }
.course-table td { padding: 15px 20px; border-bottom: 1px solid #eef1f6; vertical-align: middle; }
.course-table tr:last-child td { border-bottom: none; }
.course-table tr:hover { background-color: #fcfcfc; }
.course-code { font-family: "Nunito", sans-serif; font-weight: 800; color: #d82c2e; font-size: 15px; width: 25%; }
.course-name { font-family: "Open Sans", sans-serif; font-weight: 600; color: #222; font-size: 15px; }
.course-specialization { margin: 5px 0 0 15px; padding: 0; color: #555; font-size: 13px; }
.course-specialization li { margin-bottom: 3px; }


/* 🟢 5. RESPONSIVE MOBILE FIXES */
@media (max-width: 991px) {
    .admission-full-banner {
        flex-direction: column;
    }
    .banner-image-col {
        position: relative;
        width: 100%;
        right: 0; /* 🟢 FIX: Resets margin so it touches edge-to-edge on mobile! */
        border-radius: 0; /* 🟢 FIX: Removes curves on mobile! */
        height: auto;
        aspect-ratio: 8 / 3;
        clip-path: none;
        order: 1;
    }
    .banner-text-col {
        width: 100%;
        padding: 35px 20px;
        text-align: center;
        align-items: center;
        order: 2;
    }
    .hero-subtitle { max-width: 100%; }
    .hero-action-buttons { justify-content: center; }
    .course-table td { padding: 12px 15px; }
    .course-code { width: 30%; }
}

/* ==============================================================
   🟢 6. ADMISSION PROCEDURE PAGE
   ============================================================== */
.admission-page-header {
    background: linear-gradient(135deg, #002147 0%, #0a305e 100%);
    box-shadow: inset 0 4px 10px rgba(0,0,0,0.15);
    padding: 40px 0;
    text-align: center;
    color: white;
}

.admission-page-header h1 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 32px;
    margin-bottom: 8px;
}

.admission-page-header p {
    font-family: "Open Sans", sans-serif;
    color: rgba(255, 255, 255, 0.85);
    font-size: 15px;
    margin: 0;
}

.btn-view-programs {
    display: inline-block;
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.5);
    padding: 8px 20px;
    border-radius: 50px;
    font-family: "Nunito", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.btn-view-programs:hover {
    background: #d82c2e;
    border-color: #d82c2e;
    color: #ffffff;
}

/* Vertical Timeline Card */
.procedure-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 33, 71, 0.05);
    border: 1px solid #eef1f6;
    overflow: hidden;
}

.procedure-header {
    background: #f8fafd;
    padding: 20px 30px;
    border-bottom: 1px solid #eef1f6;
}

.procedure-header h3 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    color: #002147;
    margin: 0;
    font-size: 22px;
}

.procedure-body {
    padding: 40px;
}

/* Timeline Logic */
.step-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.step-list li {
    display: flex;
    position: relative;
    margin-bottom: 30px;
}

.step-list li:last-child {
    margin-bottom: 0;
}

/* The vertical connecting line */
.step-list li:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 24px;
    bottom: -30px;
    width: 2px;
    background: #eef1f6;
    z-index: 1;
}

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #d82c2e;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(216, 44, 46, 0.2);
    margin-right: 25px;
    position: relative;
    z-index: 2;
}

.step-content {
    padding-top: 10px;
}

.step-content strong {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    color: #111111;
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

.step-content p {
    font-family: "Open Sans", sans-serif;
    font-size: 14.5px;
    color: #111111;
    line-height: 1.6;
    margin: 0;
}

.sub-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.sub-list li {
    font-size: 14px;
    color: #000000;
    margin-bottom: 5px;
    display: block !important;
}

.sub-list i {
    color: #22199a;
}

.text-danger-link {
    color: #d82c2e;
    font-weight: 600;
    text-decoration: none;
}

.text-danger-link:hover {
    text-decoration: underline;
}

/* Alert Box */
.process-alert-box {
    background: #f8fafd;
    border-left: 4px solid #002147;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(0, 33, 71, 0.05);
}

.alert-icon i {
    font-size: 32px;
    color: #002147;
    margin-top: 5px;
}

.alert-content h4 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    color: #002147;
    font-size: 18px;
    margin-bottom: 10px;
}

.alert-content p {
    font-family: "Open Sans", sans-serif;
    font-size: 14px;
    color: #000000;
    line-height: 1.6;
    margin: 0;
}

/* Mobile Adjustments for Procedure */
@media (max-width: 767px) {
    .procedure-body {
        padding: 25px 20px;
    }
    .step-list li {
        margin-bottom: 25px;
    }
    .step-list li:not(:last-child)::before {
        left: 20px;
        bottom: -25px;
    }
    .step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 16px;
        margin-right: 15px;
    }
    .step-content strong {
        font-size: 16px;
    }
    .process-alert-box {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
}

/* ==============================================================
🟢 7. MG UNIVERSITY CAP BUTTONS
============================================================== */
.btn-mgu-cap {
display: flex;
align-items: center;
justify-content: center;
background-color: #ffffff;
color: #d82c2e !important;
font-family: "Nunito", sans-serif;
font-weight: 800;
font-size: 13px;
padding: 15px 20px;
border-radius: 8px;
text-transform: uppercase;
letter-spacing: 0.5px;
text-decoration: none !important;
transition: all 0.3s ease;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
border: 2px solid #d82c2e; / 🟢 Red border by default */
}

.btn-mgu-cap:hover {
background-color: #002147;
color: #ffffff !important; / 🟢 Text turns white on hover /
border-color: #002147; / 🟢 Border matches blue fill on hover
transform: translateY(-3px);
box-shadow: 0 8px 25px rgba(0, 33, 71, 0.2);
}
