/* Modern CSS with American color scheme inspired by the US flag */
:root {
    --primary: #E63946; /* Red */
    --secondary: #457B9D; /* Blue */
    --dark: #1D3557; /* Navy */
    --light: #F1FAEE; /* Off-white */
    --accent: #A8DADC; /* Light blue */
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: var(--secondary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
}

img, svg {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
    position: relative;
}

.highlight {
    color: var(--primary);
}

/* Header Styles */
header {
    background-color: var(--light);
    box-shadow: var(--shadow-sm);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark);
    font-weight: 700;
    font-size: 1.2rem;
}

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

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    color: var(--dark);
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    border-radius: 3px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    background-color: var(--light);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--secondary);
    margin-bottom: 2rem;
}

.cta-group {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--light);
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.3);
}

.btn-primary:hover {
    background-color: #d62636;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(230, 57, 70, 0.4);
    color: var(--light);
}

.btn-outline {
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--light);
    transform: translateY(-3px);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

.hero-graphic {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-graphic svg {
    width: 100%;
    max-width: 400px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave svg {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 100%;
    fill: var(--accent);
}

/* Technology Section */
.technology {
    background-color: var(--accent);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--secondary);
}

.tech-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tech-card {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    text-align: center;
    height: 100%;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
    background-color: rgba(69, 123, 157, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon svg {
    width: 40px;
    height: 40px;
    color: var(--secondary);
}

.tech-card h3 {
    margin-bottom: 15px;
    color: var(--dark);
}

.tech-card p {
    color: var(--secondary);
    font-size: 0.95rem;
}

/* Features Section */
.features {
    background-color: var(--light);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.feature {
    background-color: white;
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.feature h3 {
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.feature p {
    color: var(--dark);
    margin-bottom: 0;
}

.cta-banner {
    background-color: var(--dark);
    padding: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.cta-banner h3 {
    color: var(--light);
    margin-bottom: 0;
    font-size: 1.5rem;
}

/* Content Section */
.content {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.content::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background-color: rgba(69, 123, 157, 0.1);
    z-index: 0;
}

.content-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.content-text h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: var(--dark);
}

.feature-list {
    margin: 30px 0;
    list-style: none;
}

.feature-list li {
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.stats-row {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.stat {
    flex: 1;
    text-align: center;
    padding: 20px;
    background-color: var(--accent);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--dark);
    font-weight: 500;
}

.content-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.content-graphic {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

.cta-large {
    text-align: center;
    padding: 60px;
    background-color: var(--dark);
    border-radius: var(--radius);
    color: var(--light);
}

.cta-large h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.cta-large p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--accent);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer Styles */
footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 80px 0 30px;
    margin-top: auto;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo span {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--light);
}

.footer-icon {
    width: 40px;
    height: 40px;
}

.footer-brand p {
    color: var(--accent);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    justify-content: space-around;
}

.footer-column h4 {
    color: var(--light);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary);
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--accent);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(241, 250, 238, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    color: var(--accent);
    margin-bottom: 10px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .content-showcase {
        grid-template-columns: 1fr;
    }
    
    .content-visual {
        order: -1;
        margin-bottom: 30px;
    }
    
    .content-graphic {
        max-width: 400px;
    }
    
    .stats-row {
        flex-wrap: wrap;
    }
    
    .stat {
        min-width: calc(50% - 10px);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        max-width: 100%;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    header .container {
        height: 70px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
    
    nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--light);
        padding: 100px 40px;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }
    
    nav.active {
        transform: translateX(0);
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
    }
    
    .hero-content {
        text-align: center;
        order: 2;
    }
    
    .hero-graphic {
        order: 1;
        margin-bottom: 40px;
    }
    
    .cta-group {
        justify-content: center;
    }
    
    .tech-cards {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-banner {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .cta-large {
        padding: 40px 20px;
    }
    
    .cta-large h2 {
        font-size: 2rem;
    }
    
    .stats-row {
        flex-direction: column;
    }
    
    .stat {
        width: 100%;
    }
}
