﻿/* Base styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    background: lightgray;
    color: #333;
}

/* Navbar */
.navbar {
    display: -webkit-flex;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    background: #fff;
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

    .navbar .logo img {
        height: 40px;
    }

    .navbar .menu a {
        color: #004080;
        text-decoration: none;
        margin: 0 15px;
        font-size: 1.3rem;
        font-weight: bold;
        padding-right: 20px;
        -webkit-transition: color 0.3s;
        transition: color 0.3s;
    }

        .navbar .menu a:hover,
        .navbar .menu a.active {
            color: #ffcc00;
        }

/* Hamburger */
.hamburger {
    display: none;
    -webkit-flex-direction: column;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
    margin-right: 30px;
}

    .hamburger span {
        height: 4px;
        width: 36px;
        background: #004080;
        margin: 5px 0;
        border-radius: 2px;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;
    }

/* Mobile menu */
.mobile-menu {
    display: none;
    -webkit-flex-direction: column;
    flex-direction: column;
    background: #004080;
    padding: 10px;
    position: fixed; /* fixed works better on iOS Safari */
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1200;
}

    .mobile-menu a {
        color: #fff;
        padding: 12px;
        text-decoration: none;
        border-bottom: 1px solid #003366;
    }

/* Section content */
.section {
    background: #fff;
    margin: 40px auto;
    padding: 30px;
    border-radius: 8px;
    max-width: 900px;
    -webkit-box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

    .section h2 {
        color: #004080;
        margin-bottom: 10px;
        font-size: 28px;
    }

    .section p {
        line-height: 1.6;
        font-size: 18px;
    }

.container {
    padding-top: 80px;
    padding-right: 10px;
    padding-left: 10px;
    padding-bottom: 10px;
}
/* Responsive */
@media (max-width: 768px) {
    .navbar .menu {
        display: none;
    }

    .hamburger {
        display: -webkit-flex;
        display: flex;
    }

    .mobile-menu.active {
        display: -webkit-flex;
        display: flex;
    }
}
