/* ============================================
   Admission Documents Page Styles
   ============================================ */

/* Page Hero Banner */
.admdocs-hero {
    background: linear-gradient(135deg, #3a3182 0%, #1a1452 60%, #0d0a30 100%);
    padding: 80px 0 50px;
    position: relative;
    overflow: hidden;
}

.admdocs-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(234, 165, 33, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.admdocs-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(234, 165, 33, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.admdocs-hero h1 {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    color: #fff;
    margin-bottom: 10px;
    position: relative;
}

.admdocs-hero h1 span {
    color: #eaa521;
}

.admdocs-hero p {
    color: rgba(255, 255, 255, 0.75);
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    max-width: 600px;
    margin: 0 auto;
}

.admdocs-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.admdocs-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.admdocs-breadcrumb a:hover {
    color: #eaa521;
}

.admdocs-breadcrumb span {
    color: #eaa521;
    font-weight: 600;
}

.admdocs-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

/* Documents Section */
.admdocs-section {
    padding: 60px 0 80px;
    background: #f8f9fa;
    min-height: 60vh;
}

.admdocs-counter {
    text-align: center;
    margin-bottom: 40px;
}

.admdocs-counter .count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 24px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #555;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.admdocs-counter .count-badge i {
    color: #3a3182;
}

.admdocs-counter .count-badge strong {
    color: #3a3182;
}

/* Document Cards Grid */
.admdocs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Individual Document Card */
.admdoc-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.admdoc-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #3a3182, #eaa521);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.admdoc-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(58, 49, 130, 0.12);
    border-color: rgba(58, 49, 130, 0.15);
}

.admdoc-card:hover::before {
    transform: scaleX(1);
}

/* PDF Icon */
.admdoc-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #fee8c8, #fdd49e);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.admdoc-card:hover .admdoc-icon {
    transform: scale(1.08);
}

.admdoc-icon i {
    font-size: 1.8rem;
    color: #c0392b;
}

/* Card Info */
.admdoc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admdoc-info h3 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(0.85rem, 1.2vw, 0.95rem);
    font-weight: 700;
    color: #2c2c54;
    margin: 0;
    line-height: 1.4;
    word-break: break-word;
}

.admdoc-info .file-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.78rem;
    color: #999;
}

.admdoc-info .file-meta i {
    font-size: 0.7rem;
}

/* Action Buttons */
.admdoc-actions {
    display: flex;
    gap: 10px;
    width: 100%;
    margin-top: 4px;
}

.admdoc-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.admdoc-btn-view {
    background: #3a3182;
    color: #fff;
    border: none;
}

.admdoc-btn-view:hover {
    background: #2a2362;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 49, 130, 0.3);
}

.admdoc-btn-download {
    background: transparent;
    color: #3a3182;
    border: 1.5px solid #3a3182;
}

.admdoc-btn-download:hover {
    background: #eaa521;
    color: #fff;
    border-color: #eaa521;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(234, 165, 33, 0.3);
}

/* No Documents State */
.admdocs-empty {
    text-align: center;
    padding: 80px 20px;
}

.admdocs-empty i {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 16px;
}

.admdocs-empty h3 {
    font-family: 'Nunito', sans-serif;
    color: #999;
    font-weight: 700;
}

.admdocs-empty p {
    color: #bbb;
}

/* Navbar Dropdown Override (for Admission menu) */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
}

.navbar .dropdown-menu {
    background: #fff;
    border: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 220px;
    animation: dropFadeIn 0.3s ease;
}

@keyframes dropFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-item {
    padding: 10px 20px;
    font-size: clamp(14px, 0.75vw, 15px);
    font-weight: 500;
    color: #333;
    transition: all 0.25s ease;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: linear-gradient(90deg, rgba(58, 49, 130, 0.08), rgba(234, 165, 33, 0.08));
    color: #3a3182;
    padding-left: 26px;
}

.navbar .dropdown-item i {
    width: 20px;
    text-align: center;
    margin-right: 6px;
    color: #eaa521;
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .admdocs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .admdocs-hero {
        padding: 70px 0 40px;
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        padding: 0 0 0 15px;
    }
}

@media (max-width: 575.98px) {
    .admdocs-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .admdoc-card {
        padding: 22px 18px;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .admdoc-info {
        align-items: flex-start;
    }

    .admdoc-info .file-meta {
        justify-content: flex-start;
    }

    .admdoc-icon {
        width: 52px;
        height: 52px;
        border-radius: 12px;
    }

    .admdoc-icon i {
        font-size: 1.5rem;
    }

    .admdoc-actions {
        flex-direction: column;
    }

    .admdocs-hero {
        padding: 70px 0 35px;
    }

    .admdocs-section {
        padding: 40px 0 60px;
    }
}
