:root {
    --primary-color: #2563eb;
    --text-color: #1f2937;
    --bg-color: #f9fafb;
    --nav-bg: #ffffff;
    --card-bg: #ffffff;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden; /* Prevents side-scrolling on mobile */
}

/* Navigation */
nav {
    background: var(--nav-bg);
    padding: 0 10%;
    height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 0;
}

.nav-links a:hover, .nav-links a.active-link {
    color: var(--primary-color);
}

/* Hamburger Menu Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    transition: 0.3s;
    border-radius: 2px;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 1.5rem;
}

section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); margin-bottom: 1.5rem; }
h2 { font-size: 1.5rem; margin: 1.5rem 0 1rem; color: var(--primary-color); }
h3 { font-size: 1.2rem; margin: 1.2rem 0 1rem; color: var(--primary-color); }

footer {
    text-align: center;
    padding: 3rem 0;
    color: #6b7280;
}

/* Responsive Mobile Styles */
@media (max-width: 768px) {
    nav { padding: 0 5%; }

    .menu-toggle { display: flex; }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 0;
        height: 100vh;
        width: 250px;
        background: var(--nav-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-links.active { right: 0; }

    /* Hamburger Animation */
    .menu-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.open span:nth-child(2) { opacity: 0; }
    .menu-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

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

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--nav-bg);
    min-width: 180px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    list-style: none;
    padding: 0.5rem 0;
    z-index: 2000;
}

.dropdown-menu li a {
    padding: 0.8rem 1.5rem;
    display: block;
    text-align: center;
}

.dropdown-trigger {
    cursor: pointer;
}

/* Show dropdown on hover (Desktop) */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

/* Mobile Dropdown adjustment */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
        text-align: center;
    }

    .dropdown-menu {
        position: static;
        display: block;
        transform: none;
        background: rgba(0,0,0,0.03);
        box-shadow: none;
        width: 100%;
        margin-top: 0.5rem;
    }

    .dropdown-trigger {
        font-weight: 700;
        pointer-events: none; /* Make it a label on mobile */
    }
}

.blue-button {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    justify-content: center;
}
.blue-button a {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 32px;
    text-decoration: none;
    transition: box-shadow 0.25s ease, filter 0.25s ease;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    text-align: center;
}

.blue-button a:hover {
    box-shadow: 0 0 4px var(--primary-color);
    filter: brightness(1.15);
    /* padding-left: 3rem;
    padding-right: 3rem; */
    /* width: 256px; */
}