﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Fixed Header Container */
.fixed-header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.site-header {
    background: #f0f5f7;
    padding: 8px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .logo-section img {
        height: 70px;
        width: auto;
        filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }

.header-text {
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

    .header-text .dept {
        font-size: 22px;
        font-weight: 700;
        letter-spacing: 0.5px;
        color: #7d06b1;
    }

    .header-text .govt {
        font-size: 16px;
        opacity: 0.9;
        margin-top: 4px;
        color: black;
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

    .header-actions a {
        text-decoration: none;
        color: white;
        font-weight: 600;
        padding: 8px 16px;
        border-radius: 4px;
        transition: all 0.3s ease;
        align-items: center;
        gap: 8px;
    }

        .header-actions a.info-link {
            background-color: #5a0b7c;
            border: 1px solid rgba(255, 255, 255, 0.3);
        }

            .header-actions a.info-link:hover {
                background-color: #9545b1;
            }

        .header-actions a.home-link {
            background-color: #5a0b7c;
        }

            .header-actions a.home-link:hover {
                background-color: #9545b1;
                transform: translateY(-2px);
            }

/* Menu Bar - Now Fixed */
.menu-bar {
    background: linear-gradient(135deg, #600664, #75339b, #590568, #531f66) !important;
    color: white;
}

.menu {
    max-width: 1210px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

    .menu a {
        color: white;
        padding: 14px 18px;
        text-decoration: none;
        font-weight: 600;
        position: relative;
        transition: all 0.3s ease;
        font-size: 12px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        display: inline-flex;
        align-items: center;
        gap: 5px;
    }

        .menu a:hover {
            color: black;
            background-color: white;
        }

        .menu a i {
            font-size: 12px;
        }

/* Main Content - Add padding to account for fixed header */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 150px 20px 40px; /* Top padding accounts for fixed header height */
    min-height: calc(100vh - 100px);
}

.date-time {
    font-size: 16px;
    font-weight: 600;
    color: black;
    font-family: 'system-ui';
    height: 70px;
    display: flex;
    align-items: center;
}

/* FOOTER */
footer {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: #ecf0f1;
    padding: 15px 0;
    width: 100%;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.copyright {
    text-align: center;
    font-size: 14px;
    color: #ecf0f1;
    font-weight: 400;
    letter-spacing: 0.3px;
}

    .copyright:hover {
        color: #0b8b80;
        transition: color 0.3s ease;
    }

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .header-actions {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

        .menu a {
            padding: 12px 14px;
            font-size: 12px;
            flex-shrink: 0;
        }

    .main-content {
        padding: 180px 15px 30px;
    }
}

@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        gap: 10px;
    }

        .logo-section img {
            height: 50px;
        }

    .header-text .dept {
        font-size: 18px;
    }

    .header-text .govt {
        font-size: 14px;
    }

    .header-actions {
        flex-direction: column;
        width: 100%;
    }

        .header-actions a {
            width: 100%;
            text-align: center;
            justify-content: center;
        }

    .date-time {
        height: auto;
        margin-bottom: 10px;
    }

    .menu a {
        padding: 10px 12px;
        font-size: 11px;
    }

    .main-content {
        padding: 210px 10px 20px;
    }

    .copyright {
        font-size: 12px;
    }
}


/* More Dropdown Styles */
.more-dropdown {
    position: relative;
    display: inline-block;
}
    .more-dropdown:hover {
        background: white !important;
    }
.more-btn {
    background: transparent !important;
    border: none;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 5px;
}

    .more-btn i.fa-chevron-down {
        font-size: 10px;
        transition: transform 0.3s ease;
    }

.more-dropdown:hover .more-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #600664, #75339b, #590568, #531f66);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 0 0 4px 4px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.more-dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: white !important;
    padding: 12px 16px !important;
    text-decoration: none;
    display: flex !important;
    align-items: center;
    gap: 10px;
    font-size: 12px !important;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
}

    .dropdown-content a:last-child {
        border-bottom: none;
    }

    .dropdown-content a:hover {
        background-color: #9545b1 !important;
        color: white !important;
    }

    .dropdown-content a i {
        width: 16px;
        font-size: 12px;
    }

@media (max-width: 992px) {
    .dropdown-content {
        right: auto;
        left: 0;
    }

        .dropdown-content a {
            white-space: normal;
            font-size: 11px !important;
            padding: 10px 12px !important;
        }
}

@media (max-width: 768px) {
    .more-dropdown {
        width: 100%;
    }

    .more-btn {
        width: 100%;
        justify-content: center;
    }

    .dropdown-content {
        width: 100%;
        position: static;
        display: none;
        background: rgba(0,0,0,0.2);
    }

    .more-dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding-left: 30px !important;
    }
}

@media (max-width: 768px) {
    .more-dropdown .dropdown-content {
        display: none;
    }

    .more-dropdown.active .dropdown-content {
        display: block;
    }
}

/* For very small devices */
@media (max-width: 480px) {
    .main-content {
        padding: 230px 10px 20px;
    }

    .menu a {
        padding: 8px 10px;
        font-size: 10px;
    }
}
