/* Color Variables */
:root {
    --color-navy: #003E7E;
    --color-cyan: #00D9FF;
    --color-light-blue: #E0F7FF;
    --color-cream: #F5F9F8;
    --color-teal: #0B6E7F;
    --color-dark-charcoal: #2C3E50;
    --color-gray: #6B7280;
    --color-light-gray: #F3F4F6;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--color-dark-charcoal);
    background: white;
    line-height: 1.6;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--color-gray);
    margin-bottom: 1rem;
}

.navy {
    color: var(--color-navy);
}

.cyan {
    color: var(--color-cyan);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-navy {
    color: var(--color-navy);
}

.logo-cyan {
    color: var(--color-cyan);
    margin-left: 0.5rem;
}

.logo-image {
    height: 40px;
    width: auto;
    max-width: 400px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-navy);
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
}

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

.nav-link {
    background: none;
    border: none;
    color: var(--color-navy);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--color-cyan);
}

/* Main Content */
main {
    margin-top: 60px;
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--color-cyan);
    color: var(--color-navy);
}

.btn-primary:hover {
    background-color: #00BFDB;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 217, 255, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--color-navy);
    color: white;
    transform: translateY(-2px);
}

.btn-cta {
    padding: 14px 40px;
    background-color: var(--color-cyan);
    color: var(--color-navy);
}

.btn-cta:hover {
    background-color: #00BFDB;
    transform: translateY(-2px);
}

.btn-submit {
    width: 100%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

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

/* Hero Section */
.hero {
    padding-top: 80px;
    padding-bottom: 60px;
    background: linear-gradient(to bottom, white, var(--color-light-blue));
    min-height: 100vh;
    display: flex;
    align-items: center;
}

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

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-cyan);
    text-align: center;
}

.indicator {
    flex: 1;
}

.indicator-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 0;
}

.indicator-label {
    color: var(--color-gray);
    margin: 0;
    font-size: 0.9rem;
}

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

.illustration-box {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-navy));
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 62, 126, 0.2);
}

.illustration-icon {
    width: 128px;
    height: 128px;
    color: white;
    margin-bottom: 1rem;
}

.illustration-box p {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: white;
}

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

.service-card {
    padding: 2rem;
    background: linear-gradient(to bottom right, var(--color-light-blue), var(--color-cream));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 12px 24px rgba(0, 62, 126, 0.1);
    transform: translateY(-8px);
}

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

.service-card h3 {
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--color-gray);
}

/* Features Section */
.features {
    padding: 60px 0;
    background: linear-gradient(to bottom, var(--color-light-blue), white);
}

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

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--color-cyan);
    color: var(--color-navy);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.feature-content h3 {
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--color-gray);
    margin: 0;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(to right, var(--color-navy), var(--color-teal));
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
}

.cta-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.cta-box p {
    color: var(--color-light-blue);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Contact Section */
.contact {
    padding: 60px 0;
    background: white;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.contact-item {
    padding: 2rem;
}

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

.contact-item h3 {
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--color-gray);
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--color-light-blue);
    padding: 2rem;
    border-radius: 16px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--color-navy);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px;
    border: 2px solid var(--color-cyan);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-navy);
    box-shadow: 0 0 0 3px rgba(0, 62, 126, 0.1);
}

.form-group textarea {
    resize: vertical;
    grid-column: 1 / -1;
}

.form-message {
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    display: none;
}

.form-message.success {
    background-color: #D1FAE5;
    color: #065F46;
    display: block;
}

.form-message.error {
    background-color: #FEE2E2;
    color: #991B1B;
    display: block;
}

/* Field-level error messages */
.error-message {
    color: #DC2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
    font-weight: 500;
}

.error-message.show {
    display: block;
}

/* Invalid input styling */
.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
    border-color: #DC2626;
    background-color: #FEF2F2;
}

.form-group input.invalid:focus,
.form-group textarea.invalid:focus,
.form-group select.invalid:focus {
    border-color: #DC2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: white;
}

.footer-section h3 .cyan {
    color: var(--color-cyan);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 0.75rem 0;
    }

    .menu-toggle {
        display: block;
    }

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

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

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

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

    .contact-info {
        grid-template-columns: 1fr;
    }

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

    .cta-box {
        padding: 2rem;
    }

    .cta-box h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .trust-indicators {
        flex-direction: row;
    }

    .indicator-number {
        font-size: 1.5rem;
    }

    .indicator-label {
        font-size: 0.8rem;
    }
}