/* =================================
   CSS PERSONNALISÉ CENTRE PATHOLOGIE BERRECHID - PAGE À PROPOS
   Couleurs harmonisées avec le logo CPB
   ================================= */

/* Container Principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Section Hero - Couleurs adaptées au logo CPB */
.hero-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #4a90b8 100%);
    color: white;
    padding: 60px 20px;
    margin-bottom: 60px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(219, 39, 119, 0.1) 0%, transparent 50%);
    animation: particleFloat 8s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    background: rgba(236, 72, 153, 0.15);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.hero-feature-icon {
    font-size: 20px;
}

/* Section Statistiques */
.stats-section {
    margin-bottom: 80px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-card {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1a365d, #ec4899);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #1a365d, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    display: block;
}

.stat-label {
    color: #6b7280;
    font-size: 16px;
    font-weight: 600;
}

/* Section Mission */
.mission-section {
    margin-bottom: 80px;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mission-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 24px;
    line-height: 1.2;
}

.mission-text {
    font-size: 18px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 24px;
}

.mission-cta {
    display: inline-block;
    background: linear-gradient(135deg, #1a365d, #2d5a87);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.mission-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4);
    text-decoration: none;
    color: white;
}

.values-card {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 100%);
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #f8bbd9;
}

.values-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 24px;
}

.values-list {
    list-style: none;
}

.value-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255,255,255,0.7);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255,255,255,0.9);
    transform: translateX(8px);
}

.value-icon {
    width: 24px;
    height: 24px;
    background: #ec4899;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    margin-right: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.value-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1a365d;
    margin-bottom: 4px;
}

.value-content p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* Section Services */
.services-section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a365d;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: #f8bbd9;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    position: relative;
    transition: all 0.3s ease;
}

.service-icon.navy {
    background: linear-gradient(135deg, #1a365d, #2d5a87);
}

.service-icon.pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.service-icon.blue-pink {
    background: linear-gradient(135deg, #2d5a87, #ec4899);
}

.service-icon.deep-navy {
    background: linear-gradient(135deg, #0f172a, #1a365d);
}

.service-icon.rose {
    background: linear-gradient(135deg, #f43f5e, #ec4899);
}

.service-icon.purple-pink {
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 16px;
}

.service-description {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-time {
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.service-time.navy { 
    background: linear-gradient(135deg, #dbeafe, #e0f2fe); 
    color: #1a365d; 
}
.service-time.pink { 
    background: linear-gradient(135deg, #fce7f3, #fdf2f8); 
    color: #db2777; 
}
.service-time.blue-pink { 
    background: linear-gradient(135deg, #dbeafe, #fce7f3); 
    color: #2d5a87; 
}
.service-time.deep-navy { 
    background: linear-gradient(135deg, #e2e8f0, #dbeafe); 
    color: #0f172a; 
}
.service-time.rose { 
    background: linear-gradient(135deg, #ffe4e6, #fce7f3); 
    color: #f43f5e; 
}
.service-time.purple-pink { 
    background: linear-gradient(135deg, #e9d5ff, #fce7f3); 
    color: #7c3aed; 
}

/* Section Équipe */
.team-section {
    margin-bottom: 80px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.doctor-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.doctor-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 800;
    color: white;
    position: relative;
    transition: all 0.3s ease;
}

.doctor-avatar.navy {
    background: linear-gradient(135deg, #1a365d, #2d5a87);
}

.doctor-avatar.pink {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.doctor-avatar.blue-pink {
    background: linear-gradient(135deg, #2d5a87, #ec4899);
}

.doctor-card:hover .doctor-avatar {
    transform: scale(1.05);
}

.doctor-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 8px;
}

.doctor-speciality {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
}

.doctor-speciality.navy { color: #1a365d; }
.doctor-speciality.pink { color: #db2777; }
.doctor-speciality.blue-pink { color: #2d5a87; }

.doctor-bio {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 20px;
}

.doctor-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.doctor-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.doctor-badge.navy { 
    background: linear-gradient(135deg, #dbeafe, #e0f2fe); 
    color: #1a365d; 
}
.doctor-badge.pink { 
    background: linear-gradient(135deg, #fce7f3, #fdf2f8); 
    color: #db2777; 
}
.doctor-badge.blue-pink { 
    background: linear-gradient(135deg, #dbeafe, #fce7f3); 
    color: #2d5a87; 
}

/* Section Équipements */
.equipment-section {
    margin-bottom: 80px;
}

.equipment-content {
    background: white;
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid #f1f5f9;
}

.equipment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.equipment-column h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a365d;
    margin-bottom: 20px;
}

.equipment-description {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 30px;
}

.equipment-list {
    list-style: none;
}

.equipment-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    padding: 12px 0;
}

.equipment-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 16px;
    margin-top: 8px;
    flex-shrink: 0;
}

.equipment-bullet.navy { background: #1a365d; }
.equipment-bullet.pink { background: #ec4899; }

.equipment-text {
    font-size: 15px;
    color: #4b5563;
    line-height: 1.6;
}

/* Section CTA */
.cta-section {
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #ec4899 100%);
    color: white;
    text-align: center;
    padding: 60px 40px;
    border-radius: 24px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 75%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 2rem;
    color: white;
    font-weight: 800;
    margin-bottom: 16px;
}

.cta-subtitle {
    text-align: center;
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    min-width: 160px;
}

.btn-primary {
    background: white;
    color: #1a365d;
    box-shadow: 0 4px 15px rgba(255,255,255,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.4);
    color: #1a365d;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a365d;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeInUp 0.8s ease-out;
}

.animate-delay-1 { animation-delay: 0.2s; }
.animate-delay-2 { animation-delay: 0.4s; }
.animate-delay-3 { animation-delay: 0.6s; }

/* RESPONSIVE DESIGN */

/* Tablettes */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .equipment-content {
        padding: 40px;
    }
}

/* Tablettes Portrait */
@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .hero-feature {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 40px 20px;
        margin-bottom: 40px;
        border-radius: 12px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .stat-card {
        padding: 30px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .service-card {
        padding: 30px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .doctor-card {
        padding: 30px 20px;
    }
    
    .doctor-avatar {
        width: 100px;
        height: 100px;
        font-size: 1.5rem;
    }
    
    .equipment-content {
        padding: 30px 20px;
    }
    
    .cta-section {
        padding: 40px 20px;
        border-radius: 16px;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .mission-content h2 {
        font-size: 2rem;
    }
    
    .values-card {
        padding: 30px 20px;
    }
}

/* Extra Small Mobile */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .btn-primary, .btn-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }
}