/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Navbar Styling */
.navbar {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.nav-brand {
    color: white;
    font-size: 1.5em;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 25px 14px;
    transition: background 0.3s ease;
    font-size: 0.9em;
    font-weight: 500;
    display: block;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    border-bottom: 3px solid #ffc107;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Responsive - Sidebar Drawer */
@media (max-width: 900px) {
    .nav-container {
        height: 60px;
        padding: 0 15px;
    }

    .nav-brand {
        font-size: 1.2em;
    }

    .hamburger {
        display: flex;
    }

    /* Sidebar Drawer Menu */
    .nav-menu {
        position: fixed;
        left: 0;
        top: 60px;
        width: 280px;
        height: calc(100vh - 60px);
        flex-direction: column;
        background: linear-gradient(180deg, #1e3c72 0%, #2a5298 100%);
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateX(0);
    }

    /* Overlay when menu is open */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .nav-link {
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.95em;
        white-space: normal;
    }

    .nav-link.active {
        background: rgba(255, 255, 255, 0.25);
        border-bottom: none;
        border-left: 4px solid #ffc107;
        padding-left: 16px;
    }

    /* Close menu when clicking outside */
    body.menu-open {
        overflow: hidden;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.2em;
    opacity: 0.95;
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1em;
    }
}

/* Container */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Cards */
.card {
    background: white;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(30, 60, 114, 0.15);
}

.card h2 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 1.8em;
    border-bottom: 3px solid #ffc107;
    padding-bottom: 10px;
}

.card h3 {
    color: #2a5298;
    margin-top: 20px;
    margin-bottom: 10px;
}

/* Lists */
.item-list {
    list-style: none;
}

.list-item {
    padding: 20px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-left: 4px solid #2a5298;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.list-item:hover {
    background: #f0f4f8;
    transform: translateX(5px);
}

.item-title {
    font-size: 1.1em;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 5px;
}

.item-subtitle {
    color: #666;
    font-style: italic;
    font-size: 0.9em;
    margin-bottom: 10px;
}

.item-description {
    color: #555;
    line-height: 1.6;
}

/* Links */
.link-btn {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
    margin: 5px;
    border: none;
    cursor: pointer;
    font-size: 0.95em;
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

.footer-location {
    font-size: 0.9em;
    opacity: 0.9;
    margin-top: 10px;
}

/* Responsive Design - General */
@media (max-width: 768px) {
    .card {
        padding: 20px;
        margin-bottom: 20px;
    }

    .card h2 {
        font-size: 1.5em;
    }

    .container {
        padding: 10px;
    }

    .list-item {
        padding: 15px;
    }

    .item-title {
        font-size: 1em;
    }

    .link-btn {
        padding: 10px 20px;
        font-size: 0.85em;
        display: block;
        margin: 8px 0;
        text-align: center;
    }

    .hero {
        padding: 40px 20px;
    }
}

/* Tables */
.award-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.award-table th,
.award-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.award-table th {
    background: #f0f4f8;
    font-weight: 600;
    color: #1e3c72;
}

.award-table tr:hover {
    background: #f8f9fa;
}

/* Contact Items */
.contact-item {
    display: flex;
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2a5298;
}

.contact-item strong {
    color: #1e3c72;
    min-width: 150px;
}

.contact-item p {
    margin: 0;
    color: #555;
}

/* Additional Mobile Fixes */
@media (max-width: 768px) {
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-item label {
        margin-bottom: 5px;
    }

    .award-table {
        font-size: 0.85em;
    }

    .award-table th,
    .award-table td {
        padding: 8px;
    }
}
