/* Patriotic Color Scheme */
:root {
    --navy-blue: #002868;
    --red: #BF0A30;
    --white: #FFFFFF;
    --light-gray: #F5F5F5;
    --dark-gray: #333333;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--navy-blue);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 3px solid var(--red);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--white);
    letter-spacing: 2px;
}

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

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

.nav-links a:hover {
    color: var(--red);
}

/* Hero Section */
.hero {
    background-color: var(--white);
    padding: 150px 0 100px;
    margin-top: 60px;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/american-flag.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--navy-blue);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.5);
}

.tagline {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    color: var(--dark-gray);
}

.subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--dark-gray);
}

.cta-button {
    display: inline-block;
    background-color: var(--red);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--white);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background-color: var(--navy-blue);
    border-color: var(--red);
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: repeating-linear-gradient(
        90deg,
        var(--red) 0px,
        var(--red) 40px,
        var(--white) 40px,
        var(--white) 80px,
        var(--navy-blue) 80px,
        var(--navy-blue) 120px
    );
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--navy-blue);
}

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

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid var(--light-gray);
    border-left: 6px solid var(--navy-blue);
    border-right: 6px solid var(--red);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-left-color: var(--red);
    border-right-color: var(--navy-blue);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--navy-blue);
}

.service-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
    color: var(--navy-blue);
    text-align: center;
    position: relative;
    border-top: 8px solid var(--navy-blue);
    border-bottom: 8px solid var(--red);
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 50px,
            rgba(191, 10, 48, 0.03) 50px,
            rgba(191, 10, 48, 0.03) 100px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 50px,
            rgba(0, 40, 104, 0.03) 50px,
            rgba(0, 40, 104, 0.03) 100px
        );
    pointer-events: none;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    color: var(--navy-blue);
}

.contact-message {
    font-size: 1.3rem;
    font-weight: 300;
    position: relative;
    z-index: 1;
    color: var(--red);
    font-weight: 600;
}

/* Footer */
footer {
    background-color: var(--navy-blue);
    color: var(--white);
    text-align: center;
    padding: 2rem 0;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: repeating-linear-gradient(
        90deg,
        var(--white) 0px,
        var(--white) 30px,
        var(--red) 30px,
        var(--red) 60px
    );
}

footer p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services h2,
    .contact h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        gap: 0.5rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
}
