* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Cairo', sans-serif;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1586773860418-d37222d8fce3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1400&q=80');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    color: #fff;
    min-height: 100vh;
}

.navbar {
    background: rgba(255,255,255,0.95);
    padding: 15px 30px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-container i {
    font-size: 2.2rem;
    color: #2e7d32;
}

.site-name {
    font-size: 2rem;
    color: #1b5e20;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #2e7d32;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2e7d32;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn {
    background: #2e7d32;
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.login-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46,125,50,0.3);
}

.main-content {
    min-height: calc(100vh - 80px);
    padding: 40px 20px;
    backdrop-filter: blur(3px);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* رأس صفحة الدكتور */
.doctor-header {
    background: rgba(255,255,255,0.95);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.doctor-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(46,125,50,0.1), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.doctor-image-large {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.doctor-image-large i {
    font-size: 6rem;
    color: white;
}

.doctor-info-large {
    flex: 1;
}

.doctor-info-large h1 {
    font-size: 2.5rem;
    color: #1b5e20;
    margin-bottom: 10px;
}

.doctor-title {
    font-size: 1.3rem;
    color: #2e7d32;
    margin-bottom: 20px;
}

.doctor-sub-specialties {
    font-size: 1.05rem;
    color: #1b5e20;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.6;
}

.doctor-badges {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.badge {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
}

.doctor-stats {
    display: flex;
    gap: 30px;
    margin: 25px 0;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1b5e20;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.doctor-price-large {
    background: #2e7d32;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 1.8rem;
    font-weight: 700;
    display: inline-block;
}

/* تبويبات المعلومات */
.profile-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 15px 30px;
    border-radius: 15px;
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 120px;
}

.tab-btn:hover {
    background: rgba(46,125,50,0.3);
}

.tab-btn.active {
    background: #2e7d32;
    color: white;
    border-color: #2e7d32;
}

/* محتوى التبويبات */
.tab-content {
    background: rgba(255,255,255,0.95);
    border-radius: 30px;
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

/* معلومات الدكتور */
.info-section {
    margin-bottom: 30px;
}

.info-section h3 {
    color: #1b5e20;
    margin-bottom: 20px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.info-card {
    background: #f8faf8;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #e8f5e9;
}

.info-card h4 {
    color: #2e7d32;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}

/* العيادة */
.clinic-card {
    background: #f8faf8;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
}

.clinic-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.clinic-icon {
    width: 60px;
    height: 60px;
    background: #e8f5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-icon i {
    font-size: 1.8rem;
    color: #2e7d32;
}

.clinic-details {
    flex: 1;
}

.clinic-details h4 {
    color: #1b5e20;
    margin-bottom: 5px;
}

.clinic-details p {
    color: #666;
}

/* مواعيد العمل */
.working-hours {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.hour-item {
    background: white;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e8f5e9;
}

.hour-item .day {
    color: #1b5e20;
    font-weight: 600;
    margin-bottom: 5px;
}

.hour-item .time {
    color: #2e7d32;
    font-size: 0.95rem;
}

/* التقييمات */
.reviews-summary {
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
    padding: 30px;
    border-radius: 20px;
    color: white;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.rating-large {
    text-align: center;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
}

.rating-stars {
    color: gold;
    font-size: 1.5rem;
}

.review-card {
    background: #f8faf8;
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.reviewer-name {
    font-weight: 600;
    color: #1b5e20;
}

.review-date {
    color: #999;
    font-size: 0.9rem;
}

.review-text {
    color: #666;
    line-height: 1.8;
}

/* حجز موعد */
.booking-sidebar {
    background: rgba(255,255,255,0.95);
    border-radius: 30px;
    padding: 30px;
    position: sticky;
    top: 100px;
}

.booking-sidebar h3 {
    color: #1b5e20;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.booking-calendar {
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    margin-bottom: 20px;
}

.calendar-day {
    text-align: center;
    padding: 10px;
    background: #f8faf8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: #1b5e20;
    font-weight: 600;
}

.calendar-day:hover {
    background: #e8f5e9;
}

.calendar-day.selected {
    background: #2e7d32;
    color: #e8f5e9;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.time-slot {
    padding: 12px;
    background: #f8faf8;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    color: #1b5e20;
}

.time-slot:hover {
    background: #e8f5e9;
}

.time-slot.selected {
    background: #2e7d32;
    color: #e8f5e9;
}

.booking-btn {
    background: #2e7d32;
    color: white;
    border: none;
    padding: 15px;
    border-radius: 15px;
    width: 100%;
    font-family: 'Cairo', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

.booking-btn:hover {
    background: #1b5e20;
    transform: translateY(-2px);
}

/* التذييل */
.footer {
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 60px 30px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h3 {
    color: #2e7d32;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    text-decoration: none;
    color: rgba(255,255,255,0.8);
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #2e7d32;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #2e7d32;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* تصميم متجاوب */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .doctor-header {
        flex-direction: column;
        text-align: center;
    }
    
    .doctor-image-large {
        margin: 0 auto;
    }
    
    .doctor-stats {
        justify-content: center;
    }
    
    .profile-tabs {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
}