/* ==========================================================================
   ADMISSION CRITERIA - COMPACT GRID DESIGN
   ========================================================================== */

/* Banner Styles (PRESERVED) */
.inner-banner {
    background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(10, 37, 64, 0.8)), url(https://www.mmgs.edu.in/images/slide-1.jpg) center/cover fixed;
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.admission-banner {
    background: linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.85)), url(https://www.mmgs.edu.in/images/slide-1.jpg) center/cover fixed !important;
}

.inner-banner .banner-content {
    position: relative;
    z-index: 2;
    animation: slideUpFade 0.8s ease;
}

.inner-banner h1 {
    font-family: var(--font-head);
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 15px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 25px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

.breadcrumb a {
    color: #fff;
    transition: 0.3s;
}

.breadcrumb a:hover,
.breadcrumb .current {
    color: var(--accent);
}

.banner-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1;
}

.banner-shape svg {
    width: 100%;
    height: 100%;
}

@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main Section */
body {
    background-color: #f8fafc;
}

.admission-main-section {
    padding: 60px 0 80px;
}

/* Intro */
.page-intro {
    max-width: 900px;
    margin: 0 auto 40px;
}

.page-intro h2 {
    font-size: 40px;
    font-family: var(--font-head);
    color: var(--primary);
    font-weight: 800;
    margin: 0;
}

.page-intro h2 span {
    color: var(--accent);
}

.ornate-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    gap: 15px;
}

.ornate-divider::before,
.ornate-divider::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent));
    border-radius: 5px;
}

.ornate-divider::after {
    background: linear-gradient(270deg, transparent, var(--accent));
}

.ornate-divider i {
    font-size: 24px;
    color: var(--primary);
}

.intro-desc {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-top: 20px;
}

/* Grid Container */
.ad-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.full-width {
    grid-column: 1 / -1;
}

/* Cards */
.ad-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ad-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.ad-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 15px;
}

.ad-card-header i {
    font-size: 24px;
    color: #fff;
    background: var(--accent);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.ad-card-header h3 {
    font-size: 20px;
    font-family: var(--font-head);
    color: var(--primary);
    font-weight: 700;
    margin: 0;
}

.ad-card-body p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Document List */
.doc-simple-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
}

.doc-simple-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--text-main);
    margin-bottom: 10px;
}

.doc-simple-list li i {
    color: #10b981;
    font-size: 18px;
    margin-top: 2px;
}

/* Age Table */
.age-table-wrapper {
    margin-top: 15px;
    overflow-x: auto;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.age-table {
    width: 100%;
    border-collapse: collapse;
}

.age-table th {
    background: #f8fafc;
    color: var(--primary);
    padding: 10px 15px;
    text-align: left;
    font-family: var(--font-head);
    border-bottom: 2px solid #e2e8f0;
    font-size: 15px;
}

.age-table td {
    padding: 10px 15px;
    border-bottom: 1px solid #e2e8f0;
    color: var(--text-main);
    font-size: 14px;
}

.age-table tr:last-child td {
    border-bottom: none;
}

.age-table td:nth-child(3),
.age-table th:nth-child(3) {
    border-left: 1px solid #e2e8f0;
}

.age-table tr:nth-child(even) {
    background-color: #fafbfc;
}

/* Compact Helpline CTA */
.helpline-clean {
    background: #fff;
    padding: 30px 40px;
    border-radius: 12px;
    margin: 50px auto 0;
    max-width: 1000px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.help-text-side {
    display: flex;
    align-items: center;
    gap: 20px;
}

.help-icon-small {
    width: 50px;
    height: 50px;
    background: rgba(244, 162, 29, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.help-content-small h3 {
    font-size: 22px;
    font-family: var(--font-head);
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 5px;
}

.help-content-small p {
    font-size: 15px;
    color: var(--text-light);
    margin: 0;
}

.help-buttons {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.help-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.help-btn i {
    font-size: 18px;
}

.solid-btn {
    background: var(--accent);
    color: #fff;
}

.solid-btn:hover {
    background: #e6910d;
    color: #fff;
    transform: translateY(-2px);
}

.line-btn {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.line-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .ad-grid-container {
        grid-template-columns: 1fr;
    }

    .helpline-clean {
        flex-direction: column;
        text-align: center;
        justify-content: center;
        padding: 30px 25px;
    }

    .help-text-side {
        flex-direction: column;
        text-align: center;
    }

    .help-buttons {
        flex-direction: column;
        width: 100%;
    }

    .help-btn {
        justify-content: center;
        width: 100%;
    }
}