﻿.document-page {
    background: #f5f7fb;
    padding-bottom: 60px;
}

/* Banner */
.doc-banner {
    background: linear-gradient(to right, #0f4c81, #1e73be);
    padding: 60px 20px;
    text-align: center;
}

    .doc-banner h1 {
        color: #fff;
        font-size: 42px;
        letter-spacing: 2px;
    }

/* Section Title */
.section-title {
    text-align: center;
    font-size: 32px;
    margin: 40px 0 10px;
}

    .section-title span {
        color: #ff6a00;
    }

.school-title {
    text-align: center;
    color: #ff6a00;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Cards */
.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

    /* Rows */
    .info-card .row {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px dashed #ddd;
    }

        .info-card .row:last-child {
            border-bottom: none;
        }

    .info-card span {
        font-weight: 600;
        color: #333;
        width: 45%;
    }

    .info-card p {
        width: 55%;
        text-align: right;
        color: #555;
    }

/* Status */
.status {
    color: green;
    font-weight: 700;
}

/* Responsive */
@media(max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .info-card .row {
        flex-direction: column;
        gap: 6px;
    }

    .info-card p {
        text-align: left;
    }

    .doc-banner h1 {
        font-size: 28px;
    }
}
.details-section {
    margin: 60px auto;
    max-width: 1100px;
    padding: 0 20px;
}

.section-heading {
    text-align: center;
    font-size: 34px;
    margin-bottom: 10px;
}

    .section-heading span {
        color: #ff6a00;
    }

.section-sub {
    text-align: center;
    color: #ff6a00;
    font-weight: 600;
    margin-bottom: 40px;
}

/* Faculty Grid */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.detail-card {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: 0.3s;
}

    .detail-card:hover {
        transform: translateY(-5px);
    }

    .detail-card span {
        display: block;
        font-size: 14px;
        color: #666;
        margin-bottom: 10px;
    }

    .detail-card strong {
        font-size: 28px;
        color: #0f4c81;
    }

/* Table */
.table-wrapper {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-radius: 12px;
    overflow: hidden;
}

    .modern-table thead {
        background: #0f4c81;
        color: #fff;
    }

    .modern-table th,
    .modern-table td {
        padding: 14px 16px;
        text-align: center;
    }

    .modern-table tbody tr:nth-child(even) {
        background: #f2f6fb;
    }
/* Academic Section */
.academic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.academic-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

    .academic-card h4 {
        text-align: center;
        margin-bottom: 20px;
        color: #0f4c81;
        font-size: 20px;
    }

    .academic-card ul {
        list-style: none;
        padding: 0;
        columns: 2;
    }

        .academic-card ul li {
            padding: 6px 0;
            font-weight: 500;
            color: #444;
        }

/* Mobile fix */
@media(max-width: 600px) {
    .gd-header {
        position: absolute;
        top: 0;
        z-index: 9999;
        background: #fff;
    }
    .academic-card ul {
        columns: 1;
    }
}
/* Infrastructure Grid */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Mobile Responsive */
@media(max-width: 768px) {
    .infra-grid {
        grid-template-columns: 1fr;
    }
}
