/* --- 1. Global Reset & Variables --- */
:root {
    /* Color Palette */
    --color-primary: #1F2837;      /* Deep Navy/Charcoal for Trust */
    --color-secondary: #00ADB5;    /* Bright Teal/Cyan for Innovation (Accent) */
    --color-light: #F7F7F7;        /* Light Gray Background */
    --color-text: #4A4A4A;         /* Dark Gray for Body Text */
    --color-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. Navigation Bar --- */
.navbar {
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: 900;
    color: var(--color-primary);
}

nav a {
    text-decoration: none;
    color: var(--color-text);
    margin-left: 25px;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-secondary);
}

.cta-nav {
    background-color: var(--color-secondary);
    color: var(--color-white) !important;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
}

.cta-nav:hover {
    background-color: #008C99; /* Slightly darker teal */
}

.hamburger {
    display: none; /* Hide on desktop */
    font-size: 1.5em;
    cursor: pointer;
    color: var(--color-primary);
}


/* --- 3. Hero Section --- */
.hero {
    background-color: var(--color-primary); /* Dark background */
    color: var(--color-white);
    padding: 80px 0 100px 0;
    text-align: center;
    background-image: linear-gradient(rgba(31, 40, 55, 0.85), rgba(31, 40, 55, 0.85)), url('placeholder-tech-bg.jpg'); /* Replace with a high-res tech image */
    background-size: cover;
    background-position: center;
}

.hero-content {
    max-width: 900px;
}

.pre-headline {
    color: var(--color-secondary);
    font-family: var(--font-heading);
    font-size: 1em;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5em; /* Large heading */
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.1;
}

.sub-headline {
    font-size: 1.3em;
    margin-bottom: 40px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-transform: uppercase;
    transition: transform 0.3s, opacity 0.3s;
    font-size: 1.1em;
}

.cta-button.primary {
    background-color: var(--color-secondary);
    color: var(--color-primary);
    border: 2px solid var(--color-secondary);
}

.cta-button.secondary {
    background-color: transparent;
    color: var(--color-white);
    border: 2px solid var(--color-white);
}

.cta-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* --- 4. Trust Bar --- */
.trust-bar {
    background-color: var(--color-white);
    padding: 20px 0;
    text-align: center;
    border-bottom: 5px solid var(--color-secondary);
}

.trust-bar p {
    font-style: italic;
    color: var(--color-text);
}


/* --- 5. Responsiveness (Mobile Optimization) --- */
@media (max-width: 768px) {
    /* Navigation Adjustments */
    nav {
        display: none; /* Hide main links on small screens */
        /* --- ADD THESE STYLES FOR MOBILE MENU LAYOUT --- */
        position: absolute; /* Position it relative to the navbar or viewport */
        top: 65px; /* Adjust based on your navbar height */
        left: 0;
        right: 0;
        background-color: var(--color-white); /* Match navbar background */
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        z-index: 1000; /* Ensure it is above other content */
    }
    
    /* Style for individual links in the mobile menu */
    nav a {
        display: block; /* Make links take up full width */
        margin: 0;
        padding: 15px 20px;
        border-bottom: 1px solid var(--color-light);
        text-align: center;
    }
    
    /* Remove bottom border on the last item */
    nav a:last-child {
        border-bottom: none;
    }

    /* --- CRUCIAL FIX: SHOW THE MENU WHEN 'nav-open' IS PRESENT --- */
    nav.nav-open {
        display: flex; /* Change from 'none' to 'flex' to show the menu */
    }
    
    .cta-nav {
        display: none; /* Hide main CTA button */
    }
    .hamburger {
        display: block; /* Show hamburger icon */
    }

    /* Hero Adjustments */
    .hero {
        padding: 60px 0 70px 0;
    }
    .hero h1 {
        font-size: 2.5em; /* Smaller on mobile */
    }
    .sub-headline {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .hero-ctas {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .cta-button {
        width: 100%;
        text-align: center;
    }
}