/* Base Styles */
:root {
    --primary: #1A3A6A; /* Navy blue - American themed */
    --secondary: #5BB5E9; /* Sky blue */
    --accent: #F0F7FF;
    --dark: #333333;
    --light: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --box-shadow: 0 8px 30px rgba(26, 58, 106, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 6px;
}

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

html {
    scroll-behavior: smooth;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--secondary);
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.section-header p {
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-size: 1.1rem;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--text-light);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transition: var(--transition);
    z-index: -1;
}

.btn-primary:hover:after {
    width: 100%;
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-light);
}

.btn:active {
    transform: scale(0.98);
}

.cta-center {
    text-align: center;
    margin-top: 40px;
}

/* Header Styles */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

.logo {
    flex: 0 0 auto;
}

.logo-svg {
    height: 40px;
}

.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 100;
}

.hamburger span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--primary);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: var(--transition);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 8px;
}

.hamburger span:nth-child(3) {
    top: 16px;
}

.hamburger.active span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    top: 8px;
    transform: rotate(-45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    padding-bottom: 5px;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-link:hover:after {
    width: 100%;
}

.nav-link.btn {
    padding: 10px 20px;
    color: var(--text-light);
}

.nav-link.btn:after {
    display: none;
}

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(240, 247, 255, 0.9) 0%, rgba(255, 255, 255, 0.9) 100%);
    overflow: hidden;
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.hero-content {
    flex: 0 0 55%;
    padding-right: 30px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: var(--accent);
    color: var(--primary);
    border-radius: var(--border-radius);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(26, 58, 106, 0.2);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Raleway', sans-serif;
}

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

.hero-visual {
    flex: 0 0 45%;
    position: relative;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-decoration {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0.1;
    z-index: 1;
}

.visual-decoration.top {
    width: 200px;
    height: 200px;
    top: -100px;
    right: 0;
}

.visual-decoration.bottom {
    width: 150px;
    height: 150px;
    bottom: -75px;
    left: 0;
}

.hero-image {
    position: relative;
    z-index: 2;
}

/* How It Works Section */
.how-it-works {
    background-color: var(--light);
    padding: 100px 0;
}

.process-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
}

.process-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 calc(33.333% - 40px);
    padding: 30px;
}

.process-icon {
    margin-bottom: 25px;
}

.process-content h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

.process-content p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.process-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 10px;
}

/* Features Section */
.features {
    background-color: var(--accent);
    padding: 100px 0;
}

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

.feature-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, var(--primary), var(--secondary));
    border-image-slice: 1;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    margin: 0 auto 25px;
}

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

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: var(--light);
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 0 0 55%;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
}

.about-content h2:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 2px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-content .btn {
    margin-top: 20px;
}

.about-visual {
    flex: 0 0 40%;
    position: relative;
}

.visual-accent {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    opacity: 0.1;
    top: -30px;
    left: -30px;
    z-index: 0;
}

/* Footer */
.footer {
    background-color: #F8FAFF;
    padding: 80px 0 30px;
    position: relative;
}

.footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-brand {
    flex: 0 0 300px;
}

.footer-brand p {
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.footer-brand-icon {
    margin-top: 20px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-column h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--primary);
    position: relative;
    padding-bottom: 10px;
}

.footer-column h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 1.5px;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column a {
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

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

.footer-bottom p {
    color: var(--text-dark);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

/* Media Queries */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .about-wrapper {
        flex-direction: column;
    }
    
    .about-content, .about-visual {
        flex: 0 0 100%;
    }
    
    .process-arrow {
        display: none;
    }
    
    .process-item {
        flex: 0 0 100%;
        max-width: 350px;
        margin-bottom: 30px;
    }
    
    .process-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--light);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content, .hero-visual {
        flex: 0 0 100%;
        text-align: center;
        padding-right: 0;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        margin-top: 50px;
    }
    
    .visual-decoration.top {
        top: -50px;
        right: 50px;
    }
    
    .visual-decoration.bottom {
        bottom: -50px;
        left: 50px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-brand {
        margin-bottom: 40px;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
    }
    
    .footer-column {
        flex: 0 0 calc(50% - 15px);
        text-align: center;
    }
    
    .footer-column h4:after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        flex: 0 0 100%;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}
