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

body {
    font-family: "Cairo", sans-serif;
    background: linear-gradient(145deg, #e8f5e9 0%, #c8e6c9 100%);
    color: #1e3a2f;
    line-height: 1.5;
    padding: 2rem 1rem;
}

.app-container {
    max-width: 1280px;
    margin: 0 auto;
}

/* Main Card */
.main-card {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 48px;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(80, 180, 100, 0.2);
    overflow: hidden;
}

/* Hero Section Styles */
.hero-section {
    background: #f1fcf0;
    padding: 2rem 2rem 1.5rem 2rem;
    border-bottom: 2px solid #b9f6ca;
    text-align: center;
}

.main-logo {
    max-width: 180px;
    max-height: 180px;
    margin-bottom: 20px;
}

.hero-title {
    font-weight: 800;
    color: #2e7d32;
    margin-bottom: 15px;
    font-size: 2.2rem;
}

.text-content {
    max-width: 700px;
    margin: 0 auto;
}

.hero-description {
    font-size: 1.25rem;
    color: #444;
    line-height: 1.6;
    margin-bottom: 25px;
}

.top-action {
    margin-bottom: 40px;
}

.btn-cta {
    text-decoration: none;
    display: inline-block;
    background-color: #1b5e20;
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(27, 94, 32, 0.3);
    transition: transform 0.2s;
}

.btn-cta:hover {
    transform: scale(1.05);
}

.section-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 40px auto;
    width: 50%;
}

/* Profile Section Styles */
.profile-header-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.doctor-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: contain;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.profile-name-info {
    text-align: right;
}

.doctor-name-ar {
    font-weight: 800;
    color: #2e7d32;
    font-size: 1.5rem;
    margin: 0;
}

.doctor-name-en {
    font-weight: 600;
    color: #666;
    font-size: 1.1rem;
}

.doctor-title {
    color: #888;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Credentials */
.credentials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 25px 0 10px;
}

.cred-badge {
    background: white;
    padding: 0.8rem 1.8rem;
    border-radius: 60px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 6px 12px -6px rgba(0, 0, 0, 0.05);
    border-right: 4px solid #66bb6a;
    color: #1f4f2d;
    text-align: center;
}

.cred-ar {
    display: block;
    font-weight: 700;
}
.cred-en {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: #4a7653;
    margin-top: 4px;
}

/* Stats Row */
.stats-row {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 30px 0 20px;
    flex-wrap: wrap;
}

.stat-box {
    background: white;
    padding: 1rem 2rem;
    border-radius: 48px;
    text-align: center;
    min-width: 200px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #c8e6c9;
}

.stat-number {
    font-size: 2.7rem;
    font-weight: 800;
    color: #2b5e2b;
    line-height: 1;
}
.stat-label-ar {
    font-weight: 700;
    font-size: 1rem;
}
.stat-label-en {
    font-size: 0.75rem;
    color: #527a5c;
}

/* Motivation Quotes */
.motivation-section {
    background: #eaf7ea;
    margin: 20px 20px 0 20px;
    border-radius: 40px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow:
        inset 0 1px 3px #c8e6c9,
        0 12px 20px -12px rgba(0, 0, 0, 0.1);
}

.quote-text {
    font-size: 1.45rem;
    font-weight: 500;
    line-height: 1.45;
    color: #1c441c;
}
.quote-author {
    margin-top: 12px;
    font-weight: 600;
    color: #2c6e2c;
}

/* Form Section */
.form-section {
    padding: 2rem 2rem 2.5rem 2rem;
}
.form-header {
    text-align: center;
    margin-bottom: 2rem;
}
.form-header h2 {
    font-size: 1.9rem;
    font-weight: 800;
    background: linear-gradient(120deg, #1e5a2a, #4caf50);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
}
.full-width {
    grid-column: span 2;
}
.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.bilingual-label {
    font-weight: 800;
    color: #1a4a2a;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
}
.required-star {
    color: #2e7d32;
}

input,
textarea {
    border: 1.5px solid #d4e6d4;
    border-radius: 28px;
    padding: 12px 20px;
    font-family: "Cairo", sans-serif;
    font-size: 0.95rem;
    background: #ffffff;
    transition: all 0.2s;
    outline: none;
}

input:focus,
textarea:focus {
    border-color: #4caf50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    background: #f9fff9;
    padding: 10px 20px;
    border-radius: 60px;
    border: 1px solid #cfe9cf;
}

.other-input {
    margin-top: 10px;
}
.other-input input {
    width: 100%;
}

.btn-submit {
    background: linear-gradient(105deg, #2b6e2f, #4caf50);
    border: none;
    padding: 16px 28px;
    border-radius: 60px;
    font-weight: 800;
    font-size: 1.2rem;
    color: white;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    box-shadow: 0 10px 20px -6px #2e7d3250;
}

/* Testimonials Section */
.testimonials-section {
    margin-top: 50px;
    padding: 40px 20px;
    background-color: #f1f8e9;
    border-radius: 20px;
}

.testimonials-title {
    text-align: center;
    color: #2e7d32;
    font-weight: 800;
    margin-bottom: 30px;
}

.testimonials-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.stars {
    color: #fbc02d;
    margin-bottom: 10px;
}
.testimonial-text {
    font-style: italic;
    color: #444;
    line-height: 1.6;
}
.testimonial-author {
    margin-top: 15px;
    font-weight: 700;
    color: #2e7d32;
}

/* Footer */
footer {
    text-align: center;
    padding: 1.5rem;
    font-size: 0.8rem;
    color: #426e49;
    border-top: 1px solid #cfe5cf;
}

/* Responsive */
@media (max-width: 750px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    .full-width {
        grid-column: span 1;
    }
    .hero-title {
        font-size: 1.8rem;
    }
    .radio-group {
        flex-direction: column;
        align-items: flex-start;
        border-radius: 20px;
    }
}

.optional-badge {
    font-size: 0.7rem;
    background: #e9f5e9;
    padding: 2px 8px;
    border-radius: 20px;
}
