/* ===================================
   Hero Section - Images Simples (Remplace le Slider)
   =================================== */
.hero-section {
    padding: 3rem 0;
    background: var(--light-color);
}

.hero-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.hero-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.hero-image {
    position: relative;
    height: 250px;
    overflow: hidden;
    background: linear-gradient(135deg, #4CAF50, #E91E63);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.7));
}

.hero-content {
    padding: 2rem;
    text-align: center;
}

.hero-content h2 {
    font-size: 1.5rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.hero-content .arabic-text {
    color: #E91E63;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: #7F8C8D;
    margin-bottom: 1.5rem;
}

.hero-content .btn {
    padding: 0.75rem 1.5rem;
}

/* ===================================
   Service Icons - Images
   =================================== */
.service-icon-img {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.service-icon-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-icon-fallback {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #4CAF50, #E91E63);
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #FFFFFF;
}

/* ===================================
   Testimonials - Affichage Simple (Sans Slider)
   =================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonials-section .testimonial-card {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    opacity: 1;
    transform: none;
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

/* Masquer les anciens styles de slider */
.testimonials-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.testimonial-container {
    position: relative;
    height: auto;
}

/* ===================================
   Equipment Section Home
   =================================== */
.equipment-section-home {
    padding: 5rem 0;
    background: var(--white);
}

.equipment-grid-home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.equipment-card-home {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    padding-bottom: 1.5rem;
}

.equipment-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.equipment-img {
    height: 200px;
    background: linear-gradient(135deg, #4CAF50, #E91E63);
    position: relative;
    margin-bottom: 1.5rem;
}

.equipment-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.equipment-fallback {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #FFFFFF;
}

.equipment-card-home h3 {
    font-size: 1.2rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
}

.equipment-card-home p {
    color: #7F8C8D;
    font-size: 0.95rem;
    padding: 0 1rem;
}

/* ===================================
   Doctor Section Home (Single Doctor)
   =================================== */
.doctor-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.doctor-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.doctor-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.doctor-main-img {
    width: 100%;
    height: auto;
    display: block;
}

.doctor-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #E91E63;
    color: #FFFFFF;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.doctor-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.doctor-badge .text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.doctor-content h2 {
    font-size: 2.5rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.doctor-content .arabic-text {
    font-size: 1.8rem;
    color: #E91E63;
    margin-bottom: 1.5rem;
}

.doctor-content h3 {
    font-size: 1.8rem;
    color: #4CAF50;
    margin-bottom: 0.5rem;
}

.doctor-role {
    font-size: 1.1rem;
    color: #7F8C8D;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.doctor-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2C3E50;
    margin-bottom: 2rem;
    font-style: italic;
}

.doctor-specs {
    list-style: none;
    margin-bottom: 2rem;
}

.doctor-specs li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.8rem;
    font-size: 1.05rem;
    color: #2C3E50;
}

.doctor-specs i {
    color: #4CAF50;
    font-size: 1.2rem;
}

/* ===================================
   Team Section - Notre Équipe (Page Dédiée)
   =================================== */
.team-section {
    padding: 5rem 0;
    background: var(--white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.team-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.team-image {
    position: relative;
    height: 300px;
    background: linear-gradient(135deg, #4CAF50, #E91E63);
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-image-fallback {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #FFFFFF;
}

.team-info {
    padding: 2rem 1.5rem;
}

.team-info h3 {
    font-size: 1.4rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.team-info .arabic-text {
    color: #E91E63;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.team-role {
    color: #4CAF50;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-specialty {
    color: #7F8C8D;
    font-size: 1rem;
}

.team-cta {
    text-align: center;
}

.team-details {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #ECF0F1;
}

.team-details p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #7F8C8D;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    justify-content: center;
}

.team-details i {
    color: #4CAF50;
}

/* Team Introduction */
.team-intro {
    padding: 3rem 0;
    background: var(--light-color);
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-content h2 {
    font-size: 2rem;
    color: #2C3E50;
    margin-bottom: 0.5rem;
}

.intro-content .arabic-text {
    font-size: 1.5rem;
    color: #E91E63;
    margin-bottom: 1.5rem;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #7F8C8D;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #4CAF50, #E91E63);
    padding: 4rem 0 3rem;
    color: #FFFFFF;
    text-align: center;
}

.page-header-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.page-header-content .arabic-text {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    margin-top: 1rem;
}

.breadcrumb a {
    color: #FFFFFF;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

.breadcrumb span {
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .equipment-grid-home {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .doctor-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .doctor-image-container {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: 200px;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image {
        height: 250px;
    }
    
    .equipment-grid-home {
        grid-template-columns: 1fr;
    }
    
    .doctor-wrapper {
        padding: 1.5rem;
    }
    
    .doctor-content h2 {
        font-size: 2rem;
    }
}
