﻿
.academic-hero {
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.academic-hero h1 {
    font-size: 36px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.academic-hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
}
/* Button Navigation */
.academic-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.academic-btn {
    background-color: #b41b18;
    color: white;
    border: none;
    padding: 12px 15px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 120px;
}

    .academic-btn:hover {
        background-color: #33b040;
        transform: translateY(-3px);
        box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    }

    .academic-btn.active {
        background-color: #ffb303;
        box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
    }

/* Content Sections */
.academic-content {
    margin-bottom: 80px;
}

.content-section {
    display: none;
    animation: fadeIn 0.5s ease;
}

    .content-section.active {
        display: block;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.content-title {
    font-size: 35px;
    color: #a94442;
    margin-bottom: 10px;
    text-align: center;
}

.content-text {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    /* margin-bottom: 10px; */
}

.content-list {
    list-style-type: none;
    padding-left: 0;
}

    .content-list li {
        margin-bottom: 10px;
        padding-left: 35px;
        position: relative;
    }

        .content-list li:before {
            content: '\f00c';
            font-family: 'Font Awesome 5 Free';
            font-weight: 900;
            position: absolute;
            left: 10px;
            color: #a94442;
        }

.table-container {
    overflow-x: auto;
    /* margin: 30px 0; */
}

.academic-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

    .academic-table th, .academic-table td {
        border: 1px solid #ddd;
        padding: 12px 15px;
        text-align: left;
    }

    .academic-table th {
        background-color: #f5f5f5;
        color: #a94442;
        font-weight: 600;
    }

    .academic-table tr:nth-child(even) {
        background-color: #f9f9f9;
    }

.uniform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    /* gap: 30px; */
    margin-top: 30px;
    margin-bottom: 15px;
}

.uniform-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    /* box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); */
    height: 230px;
}

.uniform-image {
    height: 230px;
    overflow: hidden;
}

    .uniform-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.uniform-content {
    padding: 15px;
}

.uniform-title {
    font-size: 20px;
    font-weight: 600;
    color: #a94442;
    margin-bottom: 10px;
}

.uniform-description {
    font-size: 14px;
    line-height: 1.6;
    color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .academic-nav {
        gap: 12px;
    }

    .academic-btn {
        padding: 10px 12px;
        font-size: 15px;
        min-width: 110px;
    }
}

@media (max-width: 768px) {
    .academic-hero h1 {
        font-size: 28px;
    }

    .academic-hero p {
        font-size: 16px;
    }

    .academic-nav {
        flex-direction: row; /* Ensure row layout */
        gap: 8px;
    }

    .academic-btn {
        padding: 10px 8px;
        font-size: 14px;
        min-width: 90px;
    }

    .uniform-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .academic-hero {
        height: 250px;
    }

    .logo-text h1 {
        font-size: 18px;
    }

    .logo img {
        height: 60px;
    }

    .content-title {
        font-size: 24px;
    }

    .academic-nav {
        flex-direction: row;
        gap: 6px;
    }

    .academic-btn {
        width: auto;
        padding: 8px 6px;
        font-size: 12px;
        min-width: 70px;
    }
}

