/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: #f8fafc;
    color: #1f2937;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
    box-sizing: border-box;
}

*, *:before, *:after {
    box-sizing: inherit;
}

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

/* Header */
#site-header {
    background-color: #1e3a8a;
    color: white;
    padding: 0;
    position: relative;
    z-index: 1000;
    width: 100%;
}

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

#site-header .logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#site-header .logo h1 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: #f97316;
}

#site-header .logo span {
    font-size: 0.9rem;
    color: #e2e8f0;
    margin-top: -5px;
}

/* Desktop Navigation */
#site-nav {
    background-color: #1e3a8a;
    margin-left: auto;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
}

.nav-menu li {
    margin-left: 20px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    padding: 5px 0;
    transition: color 0.3s ease;
    display: block;
}

.nav-menu a:hover {
    color: #f97316;
}

.nav-menu .highlight {
    font-weight: bold;
    color: #f97316;
    border: 2px solid #f97316;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-menu .highlight:hover {
    background-color: #f97316;
    color: white;
}

/* Desktop Layout */
@media (min-width: 769px) {
    #site-nav {
        position: static;
        display: block !important;
    }
    
    .menu-toggle {
        display: none !important;
    }
}

/* CTA Buttons */
.cta-button {
    background-color: #f97316;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 5px;
    text-align: center;
    display: inline-block;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.cta-button:hover {
    background-color: #ea580c;
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    background-color: #c2410c;
    transform: scale(1.02);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #1e3a8a 0%, #3730a3 100%);
    width: 100%;
    max-width: 100vw;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 50px;
    box-sizing: border-box;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin: 0 0 20px 0;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.3rem;
    margin: 20px 0 30px 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Services Section */
#services {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

#services h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
    font-weight: 700;
}

#services .intro {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #f97316;
}

.service-card h3 {
    font-size: 1.5rem;
    color: #1e3a8a;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
}

/* How It Works Section */
#how-it-works {
    background-color: #f8fafc;
    padding: 80px 0;
    text-align: center;
}

#how-it-works h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 50px;
    font-weight: 700;
}

.how-it-works-list {
    list-style: none;
    padding: 0;
    counter-reset: step-counter;
    max-width: 800px;
    margin: 0 auto;
}

.how-it-works-list li {
    font-size: 1.2rem;
    color: #4b5563;
    margin: 30px 0;
    position: relative;
    padding-left: 80px;
    text-align: left;
    line-height: 1.6;
}

.how-it-works-list li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #f97316;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Consultation Form Section */
#consultation {
    background-color: #ffffff;
    padding: 80px 0;
    text-align: center;
}

#consultation h2 {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 20px;
    font-weight: 700;
}

#consultation .intro {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Styles */
#consultation-form {
    background-color: #fff;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
    text-align: left;
    margin: 50px auto 0;
    max-width: 600px;
    border: 2px solid #e5e7eb;
}

#consultation-form input:not([type="checkbox"]),
#consultation-form select,
#consultation-form textarea {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#consultation-form input:focus,
#consultation-form select:focus,
#consultation-form textarea:focus {
    outline: none;
    border-color: #f97316;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

#consultation-form textarea {
    min-height: 120px;
    resize: vertical;
}

#consultation-form label {
    display: block;
    margin: 20px 0 5px 0;
    font-weight: 600;
    color: #1f2937;
}

#consultation-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Privacy Policy Checkbox */
.privacy-policy {
    display: flex;
    align-items: flex-start;
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(249, 115, 22, 0.05);
    border-radius: 8px;
    border-left: 4px solid #f97316;
    transition: background-color 0.3s ease;
}

.privacy-policy:hover {
    background-color: rgba(249, 115, 22, 0.1);
}

.privacy-policy input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border: 2px solid #f97316;
    border-radius: 4px;
    margin-right: 15px;
    margin-top: 2px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.privacy-policy input[type="checkbox"]:checked {
    background-color: #f97316;
    border-color: #ea580c;
}

.privacy-policy input[type="checkbox"]:checked::after {
    content: "\2713";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    font-weight: bold;
}

.privacy-policy label {
    font-size: 1rem;
    line-height: 1.5;
    color: #374151;
    cursor: pointer;
    margin: 0;
}

.privacy-policy .required-field {
    color: #dc2626;
    font-weight: bold;
    margin-right: 4px;
}

/* Footer */
footer {
    background-color: #1e3a8a;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 50px;
}

footer p {
    margin: 10px 0;
}

footer a {
    color: #f97316;
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ea580c;
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    flex-direction: column;
    background-color: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 10px;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 4px 0;
    background-color: white;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* X icon animation when menu is open */
#site-header.menu-open .menu-toggle .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

#site-header.menu-open .menu-toggle .bar:nth-child(2) {
    opacity: 0;
}

#site-header.menu-open .menu-toggle .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    /* Mobile menu styles */
    .menu-toggle {
        display: flex;
    }
    
    #site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
        background-color: #1e3a8a;
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
        display: none;
    }
    
    #site-header.menu-open #site-nav {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 20px 0;
        margin: 0;
    }
    
    .nav-menu li {
        margin: 0 0 15px 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 1.1rem;
    }
    
    .nav-menu .highlight {
        margin: 10px 20px;
        padding: 15px 25px;
        font-size: 1.2rem;
        background-color: #f97316;
        color: white;
    }

    /* Hero responsive */
    .hero {
        min-height: 400px;
        padding: 60px 20px;
    }

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

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

    /* Services responsive */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* How it works responsive */
    .how-it-works-list li {
        padding-left: 70px;
        font-size: 1.1rem;
    }

    .how-it-works-list li::before {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    /* Form responsive */
    #consultation-form {
        padding: 30px 20px;
        margin: 30px 10px 0;
    }

    #consultation-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .privacy-policy {
        padding: 15px;
        flex-direction: row;
        align-items: flex-start;
    }

    .privacy-policy input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-top: 3px;
    }

    .privacy-policy label {
        font-size: 0.9rem;
    }
}

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

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

    #services h2,
    #how-it-works h2,
    #consultation h2 {
        font-size: 2rem;
    }

    .service-card {
        padding: 20px;
    }

    #consultation-form {
        padding: 20px 15px;
    }
}

/* Form feedback styles */
#form-feedback-placeholder {
    min-height: 0;
    transition: min-height 0.3s ease;
}

.form-error,
.form-success {
    border-radius: 8px;
    font-weight: 500;
}
