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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

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

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: auto;
}

.btn-primary {
    background-color: #1e40af;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #1e3a8a;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #1e40af;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e40af 0%, #374151 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

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

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

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

/* Spacing between hero buttons (works on older Safari that lacks flex-gap) */
.hero-buttons .btn { margin: 0 0.5rem; }

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1e293b;
    margin-bottom: 1rem;
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #374151;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.service-icon svg {
    width: 60px;
    height: 60px;
    stroke: #374151;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: #1e293b;
    margin-bottom: 2rem;
}

.about-features {
    list-style: none;
    text-align: left;
    max-width: 400px;
    margin: 2rem auto;
}

.about-features li {
    padding: 0.5rem 0;
    color: #4b5563;
    font-size: 1.1rem;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #1e40af 0%, #374151 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    padding: 20px;
}

.cta .btn {
    width: auto;
    min-width: 180px;
    max-width: 250px;
    padding: 10px 20px;
    margin: 0 auto;
    display: block;
}

.cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, #1e40af 0%, #374151 100%);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.contact-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
}

.contact-section {
    padding: 80px 0;
    background-color: #f8fafc;
}

.contact-form-wrapper {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-form .btn {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
}

.contact-form-container h2 {
    color: #1e293b;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-info h2 {
    color: #1e293b;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-right: 1rem;
    margin-top: 0.25rem;
}

.contact-details h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-details p {
    color: #6b7280;
    margin: 0;
}

.contact-additional {
    padding: 80px 0;
    background: white;
}

.additional-content {
    text-align: center;
}

.additional-content h2 {
    color: #1e293b;
    margin-bottom: 3rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.step h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.step p {
    color: #6b7280;
}

/* Footer */
footer {
    background-color: #1e293b;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 200px;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #94a3b8;
    margin: 0;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    /* Ensure darker blue on hover/active only in the mobile menu */
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #1e40af;
    }

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

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

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Ensure vertical spacing when buttons stack on old Safari */
    .hero-buttons .btn { margin: 0.5rem 0; }

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


    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

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

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

    .confirmation-hero p {
        font-size: 1rem;
    }

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

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    .services,
    .about,
    .cta,
    .contact-section,
    .contact-additional {
        padding: 60px 0;
    }

    .service-card,
    .contact-form-container,
    .contact-info {
        padding: 1.5rem;
    }

    .nav-container {
        padding: 0 15px;
    }

    .logo-img {
        height: 40px;
        max-width: 150px;
    }
}

/* Confirmation Page Styles */
.confirmation-hero {
    background: linear-gradient(135deg, #1e40af 0%, #374151 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
}

.confirmation-content {
    max-width: 600px;
    margin: 0 auto;
}

.confirmation-icon {
    margin-bottom: 2rem;
}

.confirmation-hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.confirmation-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 0;
}

.next-steps {
    padding: 80px 0;
    background-color: #f8fafc;
}

.next-steps-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.next-steps h2 {
    color: #1e293b;
    margin-bottom: 3rem;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    text-align: left;
}

.timeline-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    flex-shrink: 0;
}

.timeline-content h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: #6b7280;
    margin: 0;
}

.contact-info-section {
    padding: 80px 0;
    background: white;
}

.contact-info-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-info-content h2 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.contact-info-content p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    font-size: 1.5rem;
}

.method-details h3 {
    color: #1e293b;
    margin-bottom: 0.25rem;
    font-size: 1rem;
}

.method-details p {
    color: #6b7280;
    margin: 0;
    font-weight: 500;
}

.confirmation-actions {
    padding: 60px 0;
    background-color: #f8fafc;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
}
