/*_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  1. VARIABLES & ROOT
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_*/
:root {
    /* Brand Colors */
    --primary-color: #0A192F;
    /* Dark Navy */
    --secondary-color: #112240;
    /* Light Navy */
    /* Note: 'Teal' variable currently holds a Crimson Red value. 
       Kept name for compatibility, but color is #DC143C. */
    --accent-teal: #DC143C;
    --accent-white: #E6F1FF;
    /* Off White */
    --accent-gray: #8892B0;
    /* Slate Gray */
    --text-dark: #020c1b;

    /* Spacing & Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-spacing: 80px;
    --card-spacing: 2.5rem;

    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
}

/*_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  2. RESET & BASE STYLES
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--primary-color);
    color: var(--accent-gray);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/*_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  3. LAYOUT & UTILITIES
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_*/
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Section Titles */
.section-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    /* Dynamic font size */
    color: var(--accent-white);
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-teal);
    margin-top: 10px;
}

/* Button Component */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.btn-primary {
    color: var(--accent-teal);
    border-color: var(--accent-teal);
    background: transparent;
}

.btn-primary:hover {
    /* Fixed: using color consistent with accent-teal (#DC143C) instead of cyan */
    background: rgba(220, 20, 60, 0.1);
}

/*_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  4. HEADER & NAVIGATION
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_*/
header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0 5%;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-teal);
    letter-spacing: 1px;
}

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

.nav-links a {
    color: var(--accent-white);
    font-size: 0.9rem;
}

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

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--accent-teal);
    cursor: pointer;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: 0;
        top: var(--header-height);
        background: var(--secondary-color);
        height: calc(100vh - var(--header-height));
        width: 70%;
        max-width: 300px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    }

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

    .menu-toggle {
        display: block;
    }
}

/*_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  5. HERO SECTION (Home)
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_*/
.hero {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content {
    max-width: 800px;
    width: 100%;
}

.hero h1 {
    /* Fluid typography: scales between 2.5rem and 4rem depending on viewport */
    font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
    color: var(--accent-white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .highlight {
    color: var(--accent-teal);
}

/*_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
  6. FOOTER
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_*/
footer {
    background: var(--secondary-color);
    padding: 50px 0;
    text-align: center;
    margin-top: var(--section-spacing);
}

footer p {
    font-size: 0.9rem;
    color: var(--accent-gray);
}