﻿/* Reset and Base Styles */
:root {
    --primary-blue: #041635;
    --accent-blue: #1494ff;
    --white: #ffffff;
    --text-primary: #1a202c;
    --text-secondary: #4a5568;
    --background-light: #f8f9fa;
    --border-color: #cbd5e0;
    --shadow: rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--white);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1 {
    font-size: 3.25rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.35rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

/* Header */
.main-header {
    background-color: var(--primary-blue);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 2rem;
}

nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--accent-blue);
}

.cta-button {
    background-color: var(--accent-blue);
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    color: var(--white) !important;
}

.cta-button:hover {
    background-color: #007ad6;
    color: var(--white) !important;
}

/* Hero Section */
.hero {
    padding: 8rem 0 4rem;
    background-color: var(--primary-blue);
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.35rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.primary-button {
    background-color: var(--accent-blue);
    color: var(--white);
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.2s ease;
    border: none;
    outline: none;
    display: inline-block;
}

.primary-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--accent-blue), 0 2px 10px var(--shadow);
}

.primary-button:hover {
    background-color: #007ad6;
}

.secondary-button {
    background-color: transparent;
    color: var(--white);
    padding: 0.85rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.2s ease;
}

.secondary-button:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

.hero-image {
    margin-top: 3rem;
}

/* Features Section */
.features-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--background-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow);
}

.testimonial-author {
    margin-top: 1.5rem;
}

.testimonial-author span {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background-color: var(--primary-blue);
    color: var(--white);
    text-align: center;
}

.contact-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.form-group {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

/* Footer */
.main-footer {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer-section a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 2rem;
    max-width: 140px;
    width: auto;
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 2.5rem;
    }

    .main-header .container {
        flex-direction: row;
        gap: 0;
    }
    .logo {
        margin-right: auto;
    }
    .hamburger {
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        gap: 1rem;
    }
}

/* Mobile Navigation */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
}
.hamburger span {
    display: block;
    height: 4px;
    width: 28px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.2s;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 22, 53, 0.97);
    z-index: 2000;
    transition: opacity 0.2s;
    opacity: 0;
    pointer-events: none;
}
.mobile-nav-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    gap: 2rem;
}
.close-mobile-nav {
    background: none;
    border: none;
    color: var(--white);
    font-size: 2.5rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
    cursor: pointer;
}
.mobile-nav a {
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: color 0.2s;
}
.mobile-nav a.cta-button {
    background: var(--accent-blue);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 6px;
    font-size: 1.25rem;
    margin-top: 1.5rem;
}
.mobile-nav a:hover {
    color: var(--accent-blue);
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}
@media (min-width: 769px) {
    .mobile-nav-overlay {
        display: none !important;
    }
    .hamburger {
        display: none !important;
    }
}
