* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    scroll-behavior: smooth;
}

:root {
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --accent-primary: #0284C7;
    --accent-green: #10B981;
    --text-main: #0F172A;
    --text-muted: #64748B;
    --shadow-soft: 0 10px 25px rgba(15, 23, 42, 0.04);
    --border-light: #E2E8F0;
}

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
}

/* شريط التنقل */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(248, 250, 252, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--accent-primary);
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    font-size: 15px;
    transition: 0.3s;
}

nav a:hover {
    color: var(--accent-primary);
}

.cta-btn {
    background: var(--accent-primary);
    color: white;
    padding: 12px 26px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.2);
    transition: 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    background: #0369a1;
}
.lang-btn {
    background: transparent;
    color: var(--text-main);
    border: 2px solid var(--accent-primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    font-family: inherit;
}

.lang-btn:hover {
    background: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
}
/* القسم الرئيسي */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 140px 8% 60px;
    gap: 40px;
}

.hero-content {
    flex: 1.2;
}

.badge {
    background: rgba(2, 132, 199, 0.08);
    color: var(--accent-primary);
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    border: 1px solid rgba(2, 132, 199, 0.15);
}

.hero h1 {
    font-size: 48px;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 20px;
    color: var(--text-main);
}

.hero h1 span {
    color: var(--accent-primary);
}

.hero p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 580px;
}

.hero-image-container {
    flex: 1;
    display: flex;
    justify-content: center;
}

.doctor-img-box {
    position: relative;
    width: 380px;
    height: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
    border: 4px solid white;
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* الإحصائيات */
.stats-section {
    padding: 40px 8% 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
}

.stat-card h3 {
    font-size: 40px;
    font-weight: 900;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 600;
}

/* الخدمات */
.services {
    padding: 80px 8%;
    background: #F1F5F9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 10px;
    color: var(--text-main);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-primary);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--accent-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text-main);
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
}

/* آراء المرضى */
.testimonials {
    padding: 90px 8%;
    background: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
}

.stars {
    color: #F59E0B;
    margin-bottom: 15px;
    font-size: 14px;
}

.testimonial-card p {
    color: var(--text-main);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.patient-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
}

.patient-info span {
    font-size: 13px;
    color: var(--text-muted);
}

/* الأسئلة الشائعة */
.faq-section {
    padding: 90px 8%;
    background: var(--bg-light);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.01);
}

.faq-question {
    padding: 20px 25px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
    color: var(--text-main);
}

.faq-question:hover {
    color: var(--accent-primary);
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--text-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 150px;
    padding: 0 25px 20px 25px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: var(--accent-primary);
}

/* الحجز (إطار أزرق متكامل وكأنه صفحة مستقلة) */
.booking-section {
    padding: 90px 8%;
    background: #0F172A;
    color: white;
    text-align: center;
}

.booking-box {
    max-width: 700px;
    margin: 0 auto;
    background: #1E293B; /* أزرق غامق متناسق مع الإطار بالكامل */
    padding: 45px;
    border-radius: 24px;
    color: white;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    text-align: right;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-box h3 {
    font-size: 26px;
    font-weight: 900;
    margin-bottom: 8px;
    text-align: center;
    color: white;
}

.booking-box p {
    color: #94A3B8; /* رمادي فاتح هادئ للنص التوضيحي */
    text-align: center;
    margin-bottom: 25px;
    font-size: 15px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 6px;
    color: #E2E8F0;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05); /* خلفية شفافة خفيفة تتماشى مع الإطار الأزرق */
    font-size: 15px;
    font-family: 'Cairo', sans-serif;
    outline: none;
    transition: 0.3s;
    color: white;
}

.form-group input::placeholder {
    color: #64748B;
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.25);
}

.submit-btn {
    width: 100%;
    background: var(--accent-primary);
    color: white;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 6px 15px rgba(2, 132, 199, 0.3);
}

.submit-btn:hover {
    background: #0369a1;
}

.success-msg {
    display: none;
    background: rgba(16, 185, 129, 0.15);
    color: #34D399;
    padding: 14px;
    border-radius: 10px;
    font-weight: 700;
    text-align: center;
    margin-top: 18px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* الفوتر */
footer {
    background: #FFFFFF;
    padding: 70px 8% 30px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.footer-col h3 i {
    color: var(--accent-primary);
}

.footer-col p, .footer-col li {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    list-style: none;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 14px;
}

/* واتساب */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    left: 25px;
    background: #25D366;
    color: white;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: 0.3s;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

/* حركات التمرير */
.reveal-right { opacity: 0; transform: translateX(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-up { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.active { opacity: 1; transform: translateX(0) translateY(0); }

@media (max-width: 968px) {
    .hero { flex-direction: column; text-align: center; padding-top: 130px; }
    .hero p { margin: 0 auto 30px; }
    nav { display: none; }
}