:root {
    /* Soft Pastel Palette */
    --primary-color: #5C7285;
    /* Slate Blue */
    --primary-light: #7A93A7;
    --secondary-color: #DDBEA9;
    /* Warm Sand */
    --secondary-hover: #CBA58C;
    --accent-color: #F4E1D2;
    /* Soft Peach */
    --bg-color: #F4F7F6;
    /* Light Pastel Blue/Gray */
    --bg-white: #FFFFFF;
    --text-main: #333333;
    --text-muted: #666666;

    --border-radius: 16px;
    --transition: all 0.3s ease;
    --shadow-soft: 0 8px 30px rgba(92, 114, 133, 0.08);
    --shadow-hover: 0 12px 40px rgba(92, 114, 133, 0.15);
}

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

html {
    /* Native scrolling feels best */
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
}

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

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

/* Typography */
h1,
h2,
h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

/* Navigation & Toggle */
.navbar {
    background-color: var(--bg-white);
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95% !important;
}

.logo {
    height: 95px;
    object-fit: contain;
}

.lang-toggle {
    position: relative;
}

.lang-switch {
    display: none;
}

.lang-label {
    display: flex;
    background-color: var(--bg-color);
    border-radius: 30px;
    padding: 4px;
    cursor: pointer;
    position: relative;
    width: 80px;
    border: 1px solid rgba(92, 114, 133, 0.2);
}

.lang-label span {
    flex: 1;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    z-index: 2;
    padding: 4px 0;
    color: var(--text-muted);
    transition: var(--transition);
}

.lang-label span.active {
    color: var(--primary-color);
}

.lang-label::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 36px;
    height: calc(100% - 8px);
    background-color: var(--bg-white);
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
    transition: var(--transition);
}

.lang-switch:checked+.lang-label::after {
    transform: translateX(36px);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--accent-color) 100%);
}

.hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    text-align: left;
}

.hero-form {
    flex: 0 0 450px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.hero-details {
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.detail-card {
    background: var(--bg-white);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.detail-card .icon {
    font-size: 2rem;
}

/* Hero Benefits Pills */
.hero-benefits {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.benefit-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(221, 190, 169, 0.3);
}

.benefit-pill .icon {
    font-size: 1.2rem;
}

/* Doctors Section */
.doctors-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.doctor-card {
    background: var(--bg-white);
    padding: 30px 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--secondary-color);
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.doctor-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    border: 3px solid var(--accent-color);
    background-color: var(--bg-color);
    display: block;
}

.doctor-card h3 {
    margin-bottom: 10px;
    font-size: 1.4rem;
}

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

.doc-exp {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #8c7362;
    font-weight: 600;
    background-color: var(--accent-color);
    padding: 4px 10px;
    border-radius: 12px;
}

/* Form Styling */

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(92, 114, 133, 0.1);
}

.form-subtitle {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.half-width {
    flex: 1;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

input,
select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: #FAFAFA;
    transition: var(--transition);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(92, 114, 133, 0.1);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--secondary-color);
    color: var(--text-main);
    padding: 14px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(221, 190, 169, 0.4);
}

.btn-primary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(203, 165, 140, 0.5);
}

.full-width {
    width: 100%;
}

/* Loader */
.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--text-main);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 30px;
}

.success-icon {
    width: 60px;
    height: 60px;
    background-color: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 40px 0 20px;
    text-align: center;
}

.footer h3 {
    color: white;
    margin-bottom: 15px;
}

.footer a {
    color: white;
    text-decoration: none;
}

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

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        height: 50px;
    }

    .hero-container {
        flex-direction: column;
        gap: 20px;
    }

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

    .hero-details {
        justify-content: center;
        gap: 15px;
    }

    .detail-card {
        padding: 10px 15px;
        width: 100%;
        justify-content: center;
    }

    .hero-benefits {
        justify-content: center;
        gap: 10px;
    }

    .hero-form {
        flex: 1;
        width: 100%;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .form-row {
        flex-direction: column;
        gap: 15px;
    }

    .form-wrapper {
        padding: 20px;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .doctor-card {
        padding: 20px 15px;
    }
}