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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

:root {
    --primary-blue: #0066cc;
    --dark-blue: #003d99;
    --light-blue: #e6f0ff;
    --gray-text: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

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

/* Navigation */
.navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.nav-brand h1 {
    font-size: 1.8rem;
    color: var(--primary-blue);
    font-weight: 800;
}

.nav-brand .tagline {
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-top: -5px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--light-blue) 0%, #ffffff 100%);
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.btn-large {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-large:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

.hero-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #ffffff;
}

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

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

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.15);
    border-color: var(--primary-blue);
}

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

.feature-card h3 {
    font-size: 1.3rem;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

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

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--light-blue);
}

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

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

.service-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-blue);
}

.service-item h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.service-item ul {
    list-style: none;
}

.service-item li {
    padding: 0.5rem 0;
    color: var(--gray-text);
    padding-left: 1.5rem;
    position: relative;
}

.service-item li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: var(--dark-blue);
    color: white;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #e6f0ff;
}

.stat-label {
    font-size: 1rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: #ffffff;
}

.contact .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-header {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.contact-title {
    max-width: 500px;
    text-align: right;
}

.contact-title h2 {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.contact-title p {
    color: var(--gray-text);
    line-height: 1.8;
    font-size: 1rem;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form select {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s;
}

.contact-form input:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--gray-text);
}

.checkbox input {
    margin-top: 0.25rem;
    cursor: pointer;
}

.checkbox a {
    color: var(--primary-blue);
    text-decoration: none;
}

.checkbox a:hover {
    text-decoration: underline;
}

.btn-submit {
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Footer */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section p {
    opacity: 0.9;
    font-size: 0.95rem;
}

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

.footer-section a {
    color: #e6f0ff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

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

/* Responsive */
@media (max-width: 768px) {
    .hero .container,
    .contact .container {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .features h2,
    .services h2 {
        font-size: 1.8rem;
    }

    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .legal-content {
        padding: 1.5rem 1rem !important;
    }
    
    .legal-content h1 {
        font-size: 1.5rem !important;
    }
}

/* --- NEW FOOTER STYLES (MATCHING INDEX) --- */
.footer-dark {
    padding: 1rem 0;
    background: #151520;
    border-top: 1px solid rgba(0, 243, 255, 0.2);
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.footer-brand-dark p {
    opacity: 0.6;
    color: white;
}

.footer-logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.footer-links-grid a {
    color: white;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s;
}

.footer-links-grid a:hover {
    opacity: 1;
    color: #0066cc;
}

.footer-copy {
    text-align: center;
    opacity: 0.4;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: white;
}

/* Mobile Footer Overrides */
@media (max-width: 1024px) {
    body {
        padding-bottom: 45px; /* Space for fixed footer */
    }

    .footer-dark {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 9999 !important;
        height: 40px !important;
        padding: 0 !important;
        background: #151520 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
        overflow: hidden !important;
    }
    
    .footer-grid {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 5px !important;
        margin: 0 !important;
        padding: 0 10px !important;
    }

    .footer-brand-dark p, .footer-copy {
        display: none !important;
    }

    .footer-logo-container {
        flex-direction: row !important;
        gap: 5px !important;
        margin: 0 !important;
    }

    .footer-logo-container img {
        width: 20px !important;
        height: 20px !important;
    }

    .footer-logo-container div {
        display: none !important;
    }

    .footer-links-grid {
        display: flex !important;
        gap: 8px !important;
        margin: 0 !important;
        flex-wrap: nowrap !important;
    }

    .footer-links-grid a {
        font-size: 0.55rem !important;
        white-space: nowrap !important;
        padding: 0 !important;
    }
}
