/* ===== RESET AND BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    min-height: 100vh;
}

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

/* ===== HEADER STYLES ===== */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #d4849a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #be185d;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.language-selector label {
    font-weight: 600;
    color: #555;
}

.language-selector select {
    padding: 8px 12px;
    border: 2px solid #f3e8ff;
    border-radius: 25px;
    background: white;
    color: #333;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.language-selector select:hover,
.language-selector select:focus {
    border-color: #d4849a;
}

/* ===== NAVIGATION STYLES ===== */
nav {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background: #fce7f3;
    color: #ec4899;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero {
    padding: 4rem 0;
    text-align: center;
    background: linear-gradient(135deg, #fdf2f8 0%, #f8fafc 100%);
}

.hero h1 {
    font-size: 2.5rem;
    color: #ec4899;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #d4849a, #f472b6);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 132, 154, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 132, 154, 0.4);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: 4rem 0;
    background: white;
}

.services h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #ec4899;
    margin-bottom: 3rem;
    font-weight: 700;
}

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

.service-card {
    background: linear-gradient(135deg, #fdf2f8, #f8fafc);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(212, 132, 154, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

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

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    padding: 0.5rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.5;
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ec4899;
    font-weight: bold;
    font-size: 1.1rem;
}

/* ===== SERVICE AREAS SECTION ===== */
.service-areas {
    background: #fdf2f8;
    padding: 3rem 0;
    text-align: center;
}

.service-areas h2 {
    color: #ec4899;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.areas-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.area-badge {
    background: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    color: #ec4899;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid rgba(212, 132, 154, 0.1);
    transition: all 0.3s ease;
}

.area-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border-color: #ec4899;
}

/* ===== FORM SECTION ===== */
.form-section {
    padding: 4rem 0;
    background: white;
}

.form-section h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #ec4899;
    margin-bottom: 1rem;
    font-weight: 700;
}

.form-intro {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.intake-form {
    background: linear-gradient(135deg, #fdf2f8, #f8fafc);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(236, 72, 153, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

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

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

.required {
    color: #ec4899;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #f3e8ff;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ec4899;
    box-shadow: 0 0 0 3px rgba(236, 72, 153, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.2rem;
    transform: scale(1.2);
}

.submit-btn {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    color: white;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
    display: block;
    margin: 2rem auto 0;
    min-width: 200px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: 4rem 0;
    background: #fdf2f8;
    text-align: center;
}

.contact h2 {
    color: #ec4899;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(236, 72, 153, 0.1);
    max-width: 500px;
    margin: 0 auto;
}

.contact-info h3 {
    color: #ec4899;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

footer p {
    margin: 0;
    opacity: 0.9;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Styles */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

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

    .intake-form {
        padding: 2rem;
    }

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

    .nav-links {
        gap: 1rem;
    }

    .areas-list {
        flex-direction: column;
        align-items: center;
    }

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

    .services h2,
    .form-section h2,
    .contact h2 {
        font-size: 1.8rem;
    }
}

/* Mobile Styles */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 2rem 0;
    }

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

    .services,
    .form-section,
    .contact {
        padding: 2rem 0;
    }

    .intake-form {
        padding: 1.5rem;
    }

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

    .nav-links a {
        text-align: center;
        padding: 0.75rem 1rem;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }

    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }
}

/* ===== LOADING AND INTERACTION STATES ===== */
.form-group input:invalid {
    border-color: #fca5a5;
}

.form-group input:valid {
    border-color: #86efac;
}

/* Loading state for form submission */
.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.submit-btn.loading:after {
    content: "";
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    display: inline-block;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
/* Focus indicators for keyboard navigation */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid #d4849a;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .service-card,
    .contact-info,
    .intake-form {
        border-width: 2px;
        border-color: #d4849a;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}