/* ==========================================
   Base Styles - Shared across all pages
   ========================================== */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

/* ==========================================
   Navigation (Light theme default)
   ========================================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 24px 40px;
    display: flex;
    justify-content: center;
}

.nav-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 12px 32px;
    display: flex;
    align-items: center;
    gap: 48px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.logo {
    height: 28px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: #1d1d1f;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #2563eb;
}

.nav-buttons {
    display: flex;
    gap: 12px;
}

.btn-apply-nav {
    background: #1e3a8a;
    color: white;
    border: none;
    padding: 10px 28px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.btn-apply-nav:hover {
    background: #1e40af;
    transform: translateY(-1px);
}

/* ==========================================
   Dropdown Menu
   ========================================== */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 12px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    margin-top: 8px;
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #1d1d1f;
    font-size: 14px;
    transition: background 0.2s;
}

.dropdown-menu a:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 12px 12px;
}

.dropdown-menu a:hover {
    background: #f5f5f7;
    color: #2563eb;
}

/* ==========================================
   Hamburger Menu
   ========================================== */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1d1d1f;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ==========================================
   Footer
   ========================================== */
footer {
    background: #1e3a8a;
    color: white;
    padding: 60px 40px 24px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-branding {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    height: 32px;
    width: auto;
    object-fit: contain;
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.8;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background 0.2s, transform 0.2s;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.footer-contact p {
    font-size: 14px;
    line-height: 1.8;
    opacity: 0.85;
}

.footer-right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 16px;
    opacity: 0.7;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.9;
    transition: opacity 0.2s, padding-left 0.2s;
}

.footer-column ul li a:hover {
    opacity: 1;
    padding-left: 4px;
}

.footer-apply-btn {
    background: white;
    color: #1e3a8a;
    text-decoration: none;
    display: inline-block;
    width: fit-content;
    padding: 12px 32px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.footer-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}

/* ==========================================
   Scroll Reveal Animations
   ========================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Focus States
   ========================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 4px;
}

/* ==========================================
   Responsive - Shared
   ========================================== */
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        flex-wrap: wrap;
        padding: 12px 20px;
        border-radius: 20px;
        gap: 0;
    }

    .nav-links,
    .nav-buttons {
        display: none;
        width: 100%;
        padding-top: 16px;
    }

    .nav-links.open,
    .nav-buttons.open {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .nav-buttons {
        justify-content: center;
        padding-bottom: 8px;
    }

    .logo {
        margin-right: auto;
    }

    footer {
        padding: 40px 24px 20px;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
        opacity: 1;
        visibility: visible;
        margin-top: 0;
        min-width: 0;
    }

    .dropdown-menu a {
        color: #1d1d1f;
        text-align: center;
        padding: 8px 20px;
    }

    .dropdown-menu a:hover {
        background: transparent;
        color: #2563eb;
    }
}
