/* ============================================
   VARIABLES & RESET
   ============================================ */

:root {
    --primary-color: #0055AD;
    --primary-dark: #003d7a;
    --secondary-color: #00d4ff;
    --accent-color: #00a8e8;
    --accent-gold: #D4AF37; /* Nouveau Gold Premium */
    --light-bg: #f0f8ff;
    --dark-text: #333;
    --gray-text: #666;
    --border-color: #b3e0ff;
    --shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 102, 204, 0.15);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    color: var(--dark-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Compense la hauteur de la navbar sticky */
section {
    scroll-margin-top: 5.1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   NAVIGATION & BREADCRUMBS
   ============================================ */

.navbar {
    position: sticky;
    top: 0;
    background: white;
    box-shadow: var(--shadow);
    z-index: 1000;
    animation: slideDown 0.5s ease;
}


@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.7rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.05);
    color: var(--primary-dark);
}


.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    position: relative;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.3rem 0;
    display: block;
}

.nav-item > a:hover {
    color: var(--accent-gold);
}

/* Sous-menus */
.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 85, 173, 0.15);
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu li {
    list-style: none;
}

.submenu a {
    display: block;
    padding: 10px 20px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.submenu a:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* Bouton CTA */
.nav-cta .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    margin: 0;
}

.nav-cta .btn-primary {
    color: white !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ============================================
   HERO SECTION - FULLSCREEN
   ============================================ */

.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    background: linear-gradient(135deg, #0066cc 0%, #00a8e8 50%, #00d4ff 100%);
    transition: background 0.1s ease;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero-video {
        object-position: 35% center;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 50%, transparent 100%);
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-content {
    text-align: left;
    animation: slideInLeft 0.8s ease;
    max-width: 600px;
}

.hero-image-container {
    display: flex;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-image-container {
    position: relative;
    animation: slideInRight 0.8s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image {
    width: 494px;
    height: 585px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}



.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
    cursor: pointer;
    color: white;
    font-weight: 500;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.scroll-indicator i {
    font-size: 1.5rem;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}



/* ============================================
   SECTIONS GÉNÉRALES
   ============================================ */

section {
    padding: 80px 0;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--dark-text);
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   STATISTIQUES
   ============================================ */

.stats {
    background: linear-gradient(135deg, #003d7a 0%, #004d8a 50%, #005b9e 100%);
    color: white;
    min-height: 100vh;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 200, 255, 0.03);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.stats::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(0, 150, 200, 0.03);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.stats .container {
    position: relative;
    z-index: 10;
    width: 100%;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
    position: relative;
    z-index: 10;
}

.stats-header .section-title {
    color: white !important;
    font-size: 3rem !important;
    margin-bottom: 20px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.stats-header .section-title::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4)) !important;
}

.stats-intro {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 10;
    margin-bottom: 60px;
}

.stat-card {
    background: rgba(0, 100, 200, 0.25);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
    animation: slideRight 3s ease-in-out infinite;
}

@keyframes slideRight {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

/* Animations pour la carte du jour actuel */
@keyframes cardGlow {
    0%, 100% {
        box-shadow: inset 0 0 15px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.4), 0 0 40px rgba(0, 212, 255, 0);
    }
    50% {
        box-shadow: inset 0 0 20px rgba(0, 212, 255, 0.3), 0 0 35px rgba(0, 212, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.5);
    }
}

@keyframes cardPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@keyframes borderShine {
    0%, 100% {
        border-color: rgba(0, 212, 255, 0.6);
    }
    50% {
        border-color: rgba(0, 212, 255, 1);
    }
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }
.stat-card:nth-child(5) { animation-delay: 0.5s; }
.stat-card:nth-child(6) { animation-delay: 0.6s; }

.stat-card:hover {
    background: rgba(0, 120, 220, 0.35);
    transform: translateY(-20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(0, 200, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.stat-icon {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

.stat-card:hover .stat-icon {
    color: white;
    transform: scale(1.1);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: #ffffff;
    display: block;
    animation: countUp 5s ease-out;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes countUp {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    20% {
        opacity: 1;
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-label {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.stat-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.stats-highlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    position: relative;
    z-index: 10;
    margin-top: 40px;
}

.highlight-card {
    background: rgba(0, 100, 200, 0.2);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: var(--transition);
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.highlight-card:nth-child(1) { animation-delay: 0.7s; }
.highlight-card:nth-child(2) { animation-delay: 0.8s; }
.highlight-card:nth-child(3) { animation-delay: 0.9s; }

.highlight-card:hover {
    background: rgba(0, 120, 220, 0.28);
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 20px rgba(0, 150, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
}

.highlight-card i {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 15px;
    display: block;
}

.highlight-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: white;
    font-weight: 600;
}

.highlight-card p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ============================================
   À PROPOS
   ============================================ */

.about {
    background: var(--light-bg);
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text {
    animation: fadeInUp 0.8s ease;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 30px;
    line-height: 1.8;
}

.qualifications {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 40px 0;
}

.qualification-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: scaleIn 0.6s ease forwards;
    opacity: 0;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.qualification-card:nth-child(1) { animation-delay: 0.2s; }
.qualification-card:nth-child(2) { animation-delay: 0.4s; }
.qualification-card:nth-child(3) { animation-delay: 0.6s; }

.qualification-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.qualification-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.qualification-card h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.qualification-card ul {
    list-style: none;
}

.qualification-card ul li {
    margin-bottom: 8px;
    color: var(--gray-text);
}

.qualification-card ul li::before {
    content: '✓ ';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 8px;
}

.professional-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    animation: slideInRight 0.8s ease;
}


.professional-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.professional-info p {
    margin-bottom: 10px;
    color: var(--gray-text);
}

.professional-info i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.professional-info ul {
    list-style: none;
}

.professional-info ul li {
    margin-bottom: 8px;
    color: var(--gray-text);
}

.professional-info ul li::before {
    content: '✓ ';
    color: var(--secondary-color);
    font-weight: bold;
    margin-right: 8px;
}

.about-image {
    animation: slideInLeft 0.8s ease;
}

.doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.about-intro {
    font-size: 1.2rem;
    color: var(--dark-text);
    margin-bottom: 30px;
    line-height: 1.8;
    font-weight: 500;
}

/* ============================================
   PLATEAU TECHNIQUE
   ============================================ */

.plateau-technique {
    background: white;
    padding: 80px 0;
}

.plateau-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--gray-text);
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.plateau-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.plateau-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.plateau-card:nth-child(1) { animation-delay: 0.1s; }
.plateau-card:nth-child(2) { animation-delay: 0.2s; }
.plateau-card:nth-child(3) { animation-delay: 0.3s; }
.plateau-card:nth-child(4) { animation-delay: 0.4s; }
.plateau-card:nth-child(5) { animation-delay: 0.5s; }
.plateau-card:nth-child(6) { animation-delay: 0.6s; }

.plateau-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.plateau-image {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.plateau-image i {
    font-size: 4rem;
    opacity: 0.9;
}

.image-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.plateau-card h3 {
    color: var(--primary-color);
    padding: 25px 20px 10px;
    font-size: 1.2rem;
}

.plateau-card p {
    color: var(--gray-text);
    padding: 0 20px 20px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.plateau-card:hover .plateau-image i {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.plateau-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.feature-item {
    text-align: center;
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.feature-item:nth-child(1) { animation-delay: 0.7s; }
.feature-item:nth-child(2) { animation-delay: 0.8s; }
.feature-item:nth-child(3) { animation-delay: 0.9s; }
.feature-item:nth-child(4) { animation-delay: 1s; }

.feature-item i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.feature-item p {
    color: var(--gray-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */

.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    border-top: 4px solid var(--primary-color);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--secondary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    color: var(--secondary-color);
    transform: rotateY(360deg);
    transition: transform 0.8s ease;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
}

.service-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* ============================================
   TARIFS
   ============================================ */

.pricing {
    background: linear-gradient(135deg, #003d7a 0%, #004d8a 50%, #005b9e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.pricing::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 200, 255, 0.03);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.pricing::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(0, 150, 200, 0.03);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.pricing .container {
    position: relative;
    z-index: 10;
}

.pricing-intro {
    text-align: center;
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 60px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease;
}

.price-card-item {
    background: rgba(0, 100, 200, 0.25);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.price-card-item:nth-child(1) { animation-delay: 0.1s; }
.price-card-item:nth-child(2) { animation-delay: 0.2s; }
.price-card-item:nth-child(3) { animation-delay: 0.3s; }
.price-card-item:nth-child(4) { animation-delay: 0.4s; }

.price-card-item:hover {
    background: rgba(0, 120, 220, 0.35);
    transform: translateY(-15px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 30px rgba(0, 200, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.price-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.price-card-item:hover .price-icon {
    color: white;
    transform: scale(1.1);
}

.price-card-item h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin: 15px 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.price-card-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.pricing-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin: 60px 0;
    animation: fadeInUp 0.8s ease;
}

.detail-section {
    background: rgba(0, 100, 200, 0.2);
    padding: 40px;
    border-radius: 15px;
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 8px 20px rgba(0, 0, 0, 0.15);
}

.detail-section h3 {
    color: white;
    font-size: 1.3rem;
    margin-bottom: 25px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.detail-section h3 i {
    margin-right: 10px;
}

.detail-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.95rem;
}

.detail-item i {
    color: #4CAF50;
    font-size: 1.2rem;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.payment-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: white;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.payment-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.payment-item i {
    font-size: 1.8rem;
}

.pricing-note {
    background: rgba(0, 100, 200, 0.2);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: fadeInUp 0.8s ease;
}

.pricing-note i {
    font-size: 1.5rem;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

/* ============================================
   TÉMOIGNAGES
   ============================================ */

.testimonials {
    background: var(--light-bg);
    padding: 80px 0;
}

.testimonials-intro {
    text-align: center;
    color: var(--gray-text);
    font-size: 1.1rem;
    margin-bottom: 50px;
    animation: fadeInUp 0.6s ease forwards;
}

.testimonials .container {
    max-width: 100% !important;
    padding: 0 20px !important;
}

.trustindex-widget-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px auto;
    animation: fadeInUp 0.8s ease forwards;
    width: 50%;
}

.trustindex-widget-container iframe {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .trustindex-widget-container {
        width: 100%;
        padding: 0 20px;
    }
}

/* Legacy grid styling - kept for reference */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-bottom: 4px solid var(--secondary-color);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.testimonial-card:nth-child(1) { animation-delay: 0.1s; }
.testimonial-card:nth-child(2) { animation-delay: 0.2s; }
.testimonial-card:nth-child(3) { animation-delay: 0.3s; }

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.stars {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.stars i {
    color: #ffc107;
    margin-right: 5px;
}

.testimonial-card p {
    font-size: 1.05rem;
    color: var(--gray-text);
    margin-bottom: 20px;
    line-height: 1.8;
    font-style: italic;
}

.patient-name {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   LOCALISATION
   ============================================ */

.location {
    background: white;
    padding: 80px 0;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-card {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.location-card:nth-child(1) { animation-delay: 0.1s; }
.location-card:nth-child(2) { animation-delay: 0.2s; }
.location-card:nth-child(3) { animation-delay: 0.3s; }
.location-card:nth-child(4) { animation-delay: 0.4s; }

.location-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

.location-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.location-card p, .location-card li {
    color: var(--gray-text);
    margin-bottom: 10px;
}

.location-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.location-card a:hover {
    color: var(--secondary-color);
}

.location-card ul {
    list-style: none;
}

.location-card ul li::before {
    content: '➜ ';
    margin-right: 10px;
    color: var(--secondary-color);
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: slideInRight 0.8s ease;
}

.map-container iframe {
    border: none;
}

/* ============================================
   HORAIRES
   ============================================ */

.hours {
    background: linear-gradient(135deg, #003d7a 0%, #004d8a 50%, #005b9e 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hours::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(0, 200, 255, 0.03);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hours::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(0, 150, 200, 0.03);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hours .container {
    position: relative;
    z-index: 10;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.hour-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.hour-card:nth-child(1) { animation-delay: 0.1s; }
.hour-card:nth-child(2) { animation-delay: 0.2s; }
.hour-card:nth-child(3) { animation-delay: 0.3s; }
.hour-card:nth-child(4) { animation-delay: 0.4s; }
.hour-card:nth-child(5) { animation-delay: 0.5s; }
.hour-card:nth-child(6) { animation-delay: 0.6s; }

.hour-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.hour-card.today {
    background: rgba(255, 255, 255, 0.15) !important;
    border: 2px solid rgba(0, 212, 255, 0.6) !important;
    box-shadow: inset 0 0 15px rgba(0, 212, 255, 0.1), 0 0 20px rgba(0, 212, 255, 0.4);
    animation: fadeInUp 0.6s ease forwards, cardGlow 2s 0.6s ease-in-out infinite, cardPulse 3s 0.6s ease-in-out infinite, borderShine 2s 0.6s ease-in-out infinite;
    position: relative;
    opacity: 1 !important;
}

.hour-card.today h4 {
    color: white;
    font-weight: 600;
    margin-bottom: 8px;
}

.hour-card.today p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.hour-card.today::before {
    content: '● AUJOURD\'HUI';
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hour-card.today.closed::before {
    content: '● FERMÉ AUJOURD\'HUI';
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   BOUTON DOCTOLIB - ANIMATION GLOWING
   ============================================ */

.doctolib-button {
    display: block !important;
    text-align: center !important;
    background-color: #0596DE !important;
    color: #ffffff !important;
    font-size: 14px !important;
    overflow: hidden !important;
    width: 257px !important;
    height: 40px !important;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 5px !important;
    z-index: 1000 !important;
    border-top-left-radius: 4px !important;
    border-top-right-radius: 4px !important;
    line-height: 40px !important;
    border: 2px solid rgba(5, 150, 222, 0.6) !important;
    animation: dococlibGlow 2s ease-in-out infinite, docoslibPulse 3s ease-in-out infinite, docoslibBorderShine 2s ease-in-out infinite;
    transition: var(--transition);
}

.doctolib-button:hover {
    background-color: #0477b6 !important;
    transform: scale(1.03);
}

/* Animations spécifiques pour le bouton Doctolib */
@keyframes dococlibGlow {
    0%, 100% {
        box-shadow: inset 0 0 15px rgba(5, 150, 222, 0.1), 0 0 20px rgba(5, 150, 222, 0.4);
    }
    50% {
        box-shadow: inset 0 0 20px rgba(5, 150, 222, 0.3), 0 0 35px rgba(5, 150, 222, 0.8), 0 0 60px rgba(5, 150, 222, 0.5);
    }
}

@keyframes docoslibPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

@keyframes docoslibBorderShine {
    0%, 100% {
        border-color: rgba(5, 150, 222, 0.6) !important;
    }
    50% {
        border-color: rgba(5, 150, 222, 1) !important;
    }
}

.hour-card h4 {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.hour-card p {
    font-size: 1rem;
}

/* ============================================
   CONTACT
   ============================================ */

.contact {
    background: var(--light-bg);
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }

.contact-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-item p {
    color: var(--gray-text);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    animation: slideInRight 0.8s ease;
}

.form-group {
    margin-bottom: 25px;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--dark-text);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.form-group button {
    margin-top: 10px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--dark-text);
    color: white;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--secondary-color);
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        gap: 0;
        padding: 20px 0;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
        position: absolute;
        left: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    .navbar-container {
        justify-content: center;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero {
        height: 100vh;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }

    .btn {
        width: auto;
    }

    .hero-image-container {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .about-content,
    .contact-content,
    .location-content,
    .pricing-content {
        grid-template-columns: 1fr;
    }

    .qualifications {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        padding: 30px 20px;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        display: block;
        padding: 15px 0;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 100vh;
    }

    .hero .container {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .btn {
        width: auto;
        text-align: center;
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .hero-image-container {
        display: none;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-title::after {
        width: 60px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .logo i {
        font-size: 1.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 1.1rem;
    }
}

/* Google Reviews Widget */
.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    cursor: grab; /* Cursor indicates draggable */
}

/* Gradient Fade Effect */
.reviews-container::before,
.reviews-container::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    width: 100px; /* Width of the fade */
    z-index: 2;
    pointer-events: none; /* Allow clicking through */
}

.reviews-container::before {
    left: 0;
    background: linear-gradient(to right, var(--light-bg) 0%, transparent 100%);
}

.reviews-container::after {
    right: 0;
    background: linear-gradient(to left, var(--light-bg) 0%, transparent 100%);
}

.reviews-container:active {
    cursor: grabbing;
}

.reviews-track {
    display: flex;
    gap: 20px;
    /* Transition is handled by JS for drag, but we might need it for auto-scroll if not using requestAnimationFrame */
    /* transition: transform 0.5s ease;  <-- Removed for smooth continuous scroll/drag */
    will-change: transform;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    min-width: 300px;
    max-width: 300px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    flex-shrink: 0;
    user-select: none; /* Prevent text selection while dragging */
    border: 1px solid #eee;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    background: #eee;
    object-fit: cover;
}

.review-author {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.review-stars {
    color: #ffc107;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.review-text {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    height: 80px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

.review-date {
    color: #999;
    font-size: 0.8rem;
    margin-top: 15px;
    font-style: italic;
}

/* Navigation Buttons (Optional, can keep them or rely on drag) */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: background 0.3s;
}

.nav-btn:hover {
    background: #f8f8f8;
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

@media (max-width: 768px) {
    .review-card {
        min-width: 260px;
        max-width: 260px;
    }
}

/* ============================================
   BLOG SECTION (HOME)
   ============================================ */

.blog-section {
    background: white;
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--gray-text);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.blog-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    line-height: 1.4;
    font-weight: 600;
}

.blog-excerpt {
    font-size: 0.95rem;
    color: var(--dark-text);
    margin-bottom: 20px;
    flex-grow: 1;
}

.blog-link {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    align-self: flex-start;
    transition: var(--transition);
}

.blog-link:hover {
    color: var(--accent-gold);
    padding-left: 5px;
}

/* ============================================
   ARTICLE PAGES
   ============================================ */

.article-section {
    padding: 120px 0 80px; /* Top padding for fixed navbar */
    background: #f9f9f9;
    min-height: 100vh;
}

.article-container {
    max-width: 800px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-text);
    text-decoration: none;
    margin-bottom: 30px;
    font-weight: 500;
    transition: var(--transition);
}

.back-link:hover {
    color: var(--primary-color);
    transform: translateX(-5px);
}

.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--gray-text);
    font-size: 0.9rem;
}

.article-main-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 40px;
}

.article-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #444;
}

.article-content h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 40px 0 20px;
    font-family: 'Playfair Display', serif;
}

.article-content h3 {
    color: var(--primary-dark);
    font-size: 1.4rem;
    margin: 30px 0 15px;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.article-content li {
    margin-bottom: 10px;
}

.content-image-right {
    float: right;
    margin: 0 0 20px 30px;
    max-width: 300px;
}

.intro-box {
    background: rgba(0, 85, 173, 0.05);
    padding: 25px;
    border-left: 4px solid var(--primary-color);
    border-radius: 0 8px 8px 0;
    margin-bottom: 30px;
}

.alert-box {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
    display: flex;
    gap: 15px;
    align-items: start;
}

.alert-box.warning {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-box i {
    font-size: 1.5rem;
    color: #856404;
    margin-top: 3px;
}

.alert-box.warning i {
    color: #721c24;
}

.alert-box p {
    margin: 0;
    font-size: 1rem;
}

blockquote {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-gold);
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
}

.source-note {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: var(--gray-text);
    text-align: right;
}

@media (max-width: 768px) {
    .content-image-right {
        float: none;
        margin: 20px auto;
        display: block;
        width: 100%;
        max-width: 100%;
    }
    
    .article-container {
        padding: 20px;
    }
    
    .article-title {
        font-size: 2rem;
    }
}

