/* --- Global Reset & Variables --- */
:root {
    --primary-color: #323c50;
    /* Brand Blue from Icon */
    --secondary-color: #00b4d8;
    /* Accent Cyan */
    --text-color: #2b2d42;
    /* Dark Slate for readability */
    --light-bg: #f8f9fa;
    /* Light grey for sections */
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
}

/* --- Responsive Navigation Bar --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo a {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

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

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

.cta-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 5px;
}

.cta-btn:hover {
    background-color: var(--secondary-color);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

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

/* --- Global Layout Containers --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 40px;
    color: var(--primary-color);
}

/* --- Footer --- */
footer {
    background-color: #1d3557;
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: left;
    margin-bottom: 20px;
}

/* --- RESPONSIVE MEDIA QUERIES (Cross-Platform Engine) --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        /* Show hamburger on mobile/tablet */
    }

    .nav-links {
        display: none;
        /* Hide links by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        gap: 20px;
        text-align: center;
    }

    .nav-links.active {
        display: flex;
        /* JavaScript triggers this to open menu */
    }

    .container {
        padding: 40px 20px;
        /* Tighter padding on smaller screens */
    }
}