/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Empêcher les éléments de déborder au-dessus du header */
body>*:not(.loader):not(.header):not(.whatsapp-float):not(.back-to-top) {
    position: relative;
    z-index: 1;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.65;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    font-weight: 400;
    letter-spacing: 0.01em;
    position: relative;
    /* Optimise le rendu des polices */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Améliore les performances sur mobile */
    -webkit-tap-highlight-color: transparent;
    -webkit-user-select: auto;
    user-select: auto;
}

/* ===== SÉLECTEUR DE LANGUE PREMIUM ===== */
.language-switcher {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 4px;
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    margin-right: var(--spacing-md);
}

.language-switcher::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    border-radius: 50px;
    animation: shimmer 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.language-switcher:hover::before {
    opacity: 1;
}

.language-switcher:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 6px 20px rgba(212, 175, 55, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.lang-toggle {
    display: flex !important;
    position: relative;
    background: transparent;
    border: none;
    border-radius: 40px;
    cursor: pointer;
    outline: none;
    overflow: hidden;
}

.lang-toggle-bg {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 50px;
    height: 26px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 2px 8px rgba(212, 175, 55, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.lang-toggle.english .lang-toggle-bg {
    transform: translateX(50px);
    background: linear-gradient(135deg, var(--secondary-color) 0%, #34495e 100%);
}

.lang-option {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 4px 12px;
    width: 54px;
    height: 30px;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    border-radius: 20px;
}

.lang-option.active {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.lang-option:not(.active):hover {
    color: var(--gray-800);
    background: rgba(212, 175, 55, 0.1);
}

.lang-flag {
    width: 14px;
    height: 10px;
    border-radius: 2px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.lang-option:hover .lang-flag {
    transform: scale(1.1);
}

.lang-text {
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

/* ===== LANGUAGE SWITCHER DROPDOWN (for 3+ languages) ===== */
.language-switcher.dropdown {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-2xl);
    padding: var(--spacing-xs);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all var(--transition-normal);
    margin-right: var(--spacing-md);
}

.language-switcher.dropdown::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: conic-gradient(from 0deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    border-radius: var(--border-radius-2xl);
    animation: shimmer 4s linear infinite;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.language-switcher.dropdown:hover::before {
    opacity: 1;
}

.language-switcher.dropdown:hover {
    transform: translateY(-2px);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.12),
        0 6px 20px rgba(212, 175, 55, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.lang-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow:
        0 2px 8px rgba(212, 175, 55, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: none;
    outline: none;
    min-width: 80px;
    height: 30px;
}

.lang-dropdown-toggle:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    transform: translateY(-1px);
}

.lang-dropdown-toggle .lang-flag {
    width: 14px;
    height: 10px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.lang-dropdown-toggle .lang-text {
    font-size: var(--font-size-xs);
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
}

.lang-dropdown-toggle i {
    font-size: var(--font-size-xs);
    color: var(--white);
    transition: transform var(--transition-normal);
    opacity: 0.8;
}

.lang-dropdown-toggle.active i {
    transform: rotate(180deg);
}

.lang-dropdown-menu {
    position: absolute;
    top: calc(100% + var(--spacing-sm));
    right: 0;
    background: linear-gradient(135deg, var(--white) 0%, var(--gray-100) 100%);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
    border: 1px solid rgba(212, 175, 55, 0.1);
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.lang-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    right: var(--spacing-lg);
    width: 12px;
    height: 12px;
    background: var(--white);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: none;
    border-right: none;
    transform: rotate(45deg);
    z-index: -1;
}

.lang-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.favicon-loader {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.lang-dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-md) var(--spacing-lg);
    text-decoration: none;
    color: var(--gray-700);
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    position: relative;
    overflow: hidden;
}

.lang-dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    transition: width var(--transition-normal);
}

.lang-dropdown-item:last-child {
    border-bottom: none;
}

.lang-dropdown-item:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(212, 175, 55, 0.1) 100%);
    color: var(--primary-dark);
    transform: translateX(2px);
}

.lang-dropdown-item:hover::before {
    width: 3px;
}

.lang-dropdown-item.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.15) 100%);
    color: var(--primary-dark);
    font-weight: 600;
}

.lang-dropdown-item.active::before {
    width: 3px;
}

.lang-dropdown-item .lang-flag {
    width: 20px;
    height: 15px;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.lang-dropdown-item:hover .lang-flag {
    transform: scale(1.05);
}

.lang-dropdown-item .lang-text {
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

/* Responsive adjustments for dropdown */
@media (max-width: 768px) {
    .language-switcher.dropdown {
        margin-right: var(--spacing-sm);
    }

    .lang-dropdown-toggle {
        min-width: 70px;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .lang-dropdown-menu {
        min-width: 140px;
        right: -10px;
    }

    .lang-dropdown-item {
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* Animation for smooth transitions */
@keyframes dropdownSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.lang-dropdown-menu.show {
    animation: dropdownSlideIn var(--transition-normal) ease-out;
}

@keyframes shimmer {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ===== LOADER ===== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-900) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: var(--white);
}

.dental-icon {
    font-size: var(--font-size-6xl);
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    animation: pulse 2s infinite;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    opacity: 0.9;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    z-index: 1050;
    transition: var(--transition-normal);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.header.scrolled {
    box-shadow: var(--shadow-lg);
    background: rgba(255, 255, 255, 0.98);
}

.navbar {
    padding: var(--spacing-lg) 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    color: var(--secondary-color);
    width: 210px;
    margin-right: var(--spacing-lg);
}

.logo i {
    color: var(--primary-color);
}

.logo span {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-xl);
}

.nav-link {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    font-size: var(--font-size-base);
    letter-spacing: 0.01em;
    position: relative;
    transition: var(--transition-normal);
    padding: var(--spacing-sm) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.nav-item.dropdown {
    position: relative;
}

.nav-item .dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    padding: var(--spacing-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

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

.dropdown-menu li {
    list-style: none;
}

.dropdown-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg);
    text-decoration: none;
    color: var(--gray-700);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--primary-dark);
}

.btn-phone {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: var(--transition-normal);
}

.btn-phone:hover {
    color: var(--primary-color);
}

/* ===== BOUTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    border: none;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-whatsapp {
    background: #25d366;
    color: var(--white);
}

.btn-large {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
}

/* ===== HAMBURGER MENU ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-900) 100%);
    overflow: hidden;
    padding-top: 120px;
    padding-bottom: var(--spacing-3xl);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(33, 37, 41, 0.6) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    color: var(--white);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-5xl);
    line-height: 1.15;
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.88;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.005em;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.stat-label {
    font-size: var(--font-size-sm);
    opacity: 0.85;
    font-weight: 400;
    letter-spacing: 0.01em;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.doctor-image {
    position: relative;
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    max-width: 500px;
    margin: 0 auto;
    border: 4px solid var(--primary-color);
    transform: rotate(-2deg);
    transition: var(--transition-normal);
}

.doctor-image:hover {
    transform: rotate(0deg) scale(1.05);
}

.doctor-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    background: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    animation: float 3s ease-in-out infinite;
}

.element-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 30%;
    left: -10%;
    animation-delay: 1s;
}

.element-3 {
    top: 50%;
    right: -5%;
    animation-delay: 2s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: var(--spacing-2xl);
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.scroll-text {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-sm);
}

.scroll-arrow {
    font-size: var(--font-size-lg);
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== SECTIONS COMMUNES ===== */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-md);
    position: relative;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    letter-spacing: -0.015em;
    line-height: 1.25;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.005em;
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-100);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-3xl);
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(10px);
    padding: var(--spacing-3xl);
    border-radius: 25px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 8px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg,
            transparent,
            var(--primary-color),
            var(--primary-light),
            var(--primary-color),
            transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light), var(--primary-color));
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(212, 175, 55, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: rgba(212, 175, 55, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover::after {
    opacity: 0.1;
}

.service-card.featured {
    background: linear-gradient(145deg,
            rgba(212, 175, 55, 0.1),
            rgba(255, 255, 255, 0.95));
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
}

.service-card.featured .service-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.service-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-xl);
    font-size: var(--font-size-2xl);
    color: var(--white);
    box-shadow:
        0 10px 25px rgba(212, 175, 55, 0.3),
        0 5px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, var(--primary-color), transparent, var(--primary-light));
    border-radius: var(--border-radius-full);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 15px 35px rgba(212, 175, 55, 0.4),
        0 8px 15px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.service-card:hover .service-icon::before {
    opacity: 0.6;
}

.service-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--secondary-color), var(--gray-700));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.service-description {
    color: var(--gray-600);
    line-height: 1.75;
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: 400;
    letter-spacing: 0.005em;
    flex-grow: 1;
}

.service-card:hover .service-title {
    transform: translateY(-2px);
}

.service-card .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    display: flex;
    align-items: center;
}

.service-features {
    list-style: none;
    margin-bottom: var(--spacing-xl);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--gray-700);
}

.service-features i {
    color: var(--success-color);
    font-size: var(--font-size-sm);
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--spacing-3xl) 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.badge-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: var(--font-size-sm);
    opacity: 0.9;
}

.about-text {
    text-align: left;
}

.about-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.005em;
}

.qualifications h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-xl);
}

.qualification-list {
    list-style: none;
    margin-bottom: var(--spacing-2xl);
}

.qualification-list li {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    align-items: flex-start;
}

.qualification-list i {
    color: var(--primary-color);
    font-size: var(--font-size-lg);
    margin-top: 2px;
}

.qualification-list strong {
    display: block;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.qualification-list span {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

.achievements {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.achievement-item {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--gray-100);
    border-radius: var(--border-radius-lg);
}

.achievement-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.achievement-label {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

/* ===== GALLERY SECTION ===== */
.gallery {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-100);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    border: 2px solid var(--gray-300);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
    font-weight: 600;
    color: var(--gray-700);
    font-size: var(--font-size-sm);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.gallery-preview {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: var(--spacing-lg);
    width: 100%;
}

@media (max-width: 768px) {
    .gallery-preview {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }

    .case-image-container {
        height: 200px;
    }
}

.gallery-item {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.before-after-container {
    position: relative;
    overflow: hidden;
}

/* Nouveau système vertical avant/après */
.vertical-comparison {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.comparison-split {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.before-section-vertical {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-size: 100% 200%;
    background-position: top;
    background-repeat: no-repeat;
}

.after-section-vertical {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background-size: 100% 200%;
    background-position: bottom;
    background-repeat: no-repeat;
}

.vertical-label {
    position: absolute;
    right: 20px;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.label-before {
    top: 20px;
}

.label-after {
    bottom: 20px;
}

.comparison-divider-horizontal {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    z-index: 5;
    transform: translateY(-50%);
}

/* Ancien système horizontal (garder pour compatibilité) */
.image-comparison {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    border-radius: var(--border-radius-lg);
    background: var(--primary-color);
}

.before-image,
.after-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.before-image {
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.after-image {
    border-radius: 0 var(--border-radius-lg) var(--border-radius-lg) 0;
}

.before-image img,
.after-image img {
    width: 200%;
    height: 100%;
    object-fit: cover;
}

.before-image img {
    object-position: left center;
}

.after-image img {
    object-position: right center;
}

.image-label {
    position: absolute;
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.case-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.case-image-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform var(--transition-normal);
}

.gallery-item:hover .case-image-container img {
    transform: scale(1.05);
}

.case-overlay {
    position: absolute;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-title {
    padding: var(--spacing-md);
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: var(--font-size-base);
    text-align: center;
    line-height: 1.4;
}

.gallery-cta {
    text-align: center;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: var(--spacing-3xl) 0;
    background: var(--secondary-color);
}

.testimonials .section-header {
    color: var(--white);
}

.testimonials .section-title,
.testimonials .section-subtitle {
    color: var(--white);
}

.testimonials .section-subtitle::after {
    background: var(--primary-color);
}

.testimonials-slider {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--spacing-2xl);
    transition: transform 0.4s ease;
    will-change: transform;
}

.testimonials-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.testimonial-card {
    flex: 0 0 calc(50% - 8px);
}

@media (max-width: 768px) {
    .testimonial-card {
        flex: 0 0 100%;
    }
}

.testimonials-slider-wrapper .slider-dots {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    margin: 0;
}

.testimonials-slider-wrapper .slider-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cfcfcf;
    border: none;
    cursor: pointer;
    padding: 0;
}

.testimonials-slider-wrapper .slider-dots .dot.active {
    background: #333;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: var(--spacing-lg);
    font-size: 4rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
    line-height: 1;
}

.stars {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    color: var(--warning-color);
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    line-height: 1.7;
    font-size: var(--font-size-base);
    letter-spacing: 0.005em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Avatar premium généré en CSS */
.testimonial-author .avatar {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xl);
    font-weight: 700;
    color: var(--white);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);

    border: 3px solid var(--white);
    transition: all var(--transition-normal);
}

.testimonial-author .avatar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    z-index: -1;
}

.testimonial-author .avatar::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotate(0deg);
    z-index: -1;
    animation: rotate 8s linear infinite;
}

.testimonial-author .avatar.female {
    background: linear-gradient(135deg, #e91e63 0%, #ad1457 100%);
}

.testimonial-author .avatar.male {
    background: linear-gradient(135deg, #2196f3 0%, #1565c0 100%);
}

.testimonial-author .avatar:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.4);
}

@keyframes rotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Masquer les anciennes images */
.testimonial-author img {
    display: none;
}

.testimonial-author h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.testimonial-author span {
    color: var(--gray-600);
    font-size: var(--font-size-sm);
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--spacing-3xl) 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.contact-info {
    text-align: left;
}

.contact-description {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

.contact-methods {
    margin-bottom: var(--spacing-2xl);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-lg);
    flex-shrink: 0;
}

.method-content h4 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-heading);
}

.method-content a {
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition-normal);
}

.method-content a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: var(--spacing-md);
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--gray-200);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    text-decoration: none;
    transition: var(--transition-normal);
}

.social-link.facebook:hover {
    background: #1877f2;
    color: var(--white);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: var(--white);
}

/* ===== CARTE GOOGLE MAPS ===== */
.contact-map {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}



.map-wrapper {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.map-wrapper:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: var(--border-radius-xl);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 400px;
    background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-xl);
    position: relative;
    overflow: hidden;
}

.map-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23e5e7eb"/><circle cx="80" cy="20" r="2" fill="%23e5e7eb"/><circle cx="20" cy="80" r="2" fill="%23e5e7eb"/><circle cx="80" cy="80" r="2" fill="%23e5e7eb"/><circle cx="50" cy="50" r="2" fill="%23e5e7eb"/></svg>') repeat;
    opacity: 0.5;
}

.map-placeholder-content {
    text-align: center;
    position: relative;
    z-index: 2;
    padding: var(--spacing-2xl);
}

.map-placeholder-content i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    display: block;
}

.map-placeholder-content h4 {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

.map-placeholder-content p {
    color: var(--gray-600);
    margin-bottom: var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.map-placeholder-content .btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* ===== FORMULAIRE ===== */
.contact-form {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-xl);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--spacing-lg) var(--spacing-md);
    border: 2px solid var(--gray-300);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
    background: var(--white);
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    padding: 0 var(--spacing-sm);
    color: var(--gray-600);
    font-size: var(--font-size-base);
    transition: var(--transition-normal);
    pointer-events: none;
}

.form-group textarea+label {
    top: var(--spacing-lg);
    transform: none;
}

.form-group input:focus+label,
.form-group input:valid+label,
.form-group select+label,
.form-group select:focus+label,
.form-group textarea:focus+label,
.form-group textarea:valid+label {
    top: 0;
    transform: translateY(-50%);
    font-size: var(--font-size-sm);
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--secondary-color);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-description {
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-base);
    letter-spacing: 0.005em;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.footer-section h4 {
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: var(--gray-300);
    text-decoration: none;
    transition: var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--gray-300);
}

.footer-contact i {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--gray-600);
    padding-top: var(--spacing-lg);
    text-align: center;
    color: var(--gray-400);
}

/* ===== WHATSAPP FLOTTANT ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition-normal);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* ===== BOUTON RETOUR EN HAUT ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    font-size: var(--font-size-lg);
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
    opacity: 0;
    visibility: hidden;
    z-index: var(--z-fixed);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* ===== NOTIFICATIONS ===== */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-tooltip);
    transform: translateX(400px);
    transition: var(--transition-normal);
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
}

.notification-success {
    border-left: 4px solid var(--success-color);
}

.notification-error {
    border-left: 4px solid var(--danger-color);
}

.notification-info {
    border-left: 4px solid var(--info-color);
}

.notification-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--gray-600);
    margin-left: auto;
}

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

/* ===== TRÈS GRANDS ÉCRANS ===== */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
    }

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

    .services-grid {
        max-width: 1200px;
        margin: 0 auto;
    }
}

/* ===== GRANDS ÉCRANS ===== */
@media (min-width: 1440px) and (max-width: 1919px) {
    .container {
        max-width: 1400px;
    }

    .services-grid {
        gap: var(--spacing-2xl);
    }
}

/* ===== ÉCRANS STANDARDS ===== */
@media (min-width: 1200px) and (max-width: 1439px) {
    .container {
        max-width: 1140px;
    }
}

/* ===== TABLETTES GRANDES ===== */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }

    .hero-content {
        gap: var(--spacing-2xl);
    }

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

    .service-card {
        padding: var(--spacing-2xl);
    }
}

/* ===== TABLETTES ===== */
@media (max-width: 991px) {
    .hero {
        padding-top: 100px;
        padding-bottom: var(--spacing-2xl);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--spacing-3xl);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

    .doctor-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ===== MOBILES LARGES ===== */
@media (max-width: 768px) {

    /* Corrections globales pour mobile */
    * {
        max-width: 100%;
        box-sizing: border-box;
    }

    html,
    body {
        width: 100%;
        overflow-x: hidden;
        max-width: 100vw;
    }

    /* Toutes les sections */
    section {
        width: 100%;
        overflow-x: hidden;
    }

    /* Tous les éléments flexibles et grilles */
    .hero-stats,
    .services-grid,
    .about-content,
    .contact-content,
    .footer-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Images et médias */
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }

    .hero {
        padding-top: 100px;
        padding-bottom: var(--spacing-2xl);
        min-height: 100vh;
        width: 100%;
        overflow-x: hidden;
    }

    .container {
        padding: 0 var(--spacing-md);
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        padding: var(--spacing-xl) var(--spacing-lg);
        z-index: 1000;
        border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
        border-top: 3px solid var(--primary-color);
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu .nav-link {
        padding: var(--spacing-lg) var(--spacing-md);
        text-align: center;
        border-bottom: 1px solid var(--gray-200);
        font-size: 1.1rem;
        font-weight: 600;
        transition: all 0.3s ease;
        border-radius: var(--border-radius-md);
        margin-bottom: var(--spacing-sm);
    }

    .nav-menu .nav-link:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

    .nav-menu .nav-link:hover {
        background: var(--primary-color);
        color: var(--white);
        transform: translateX(5px);
    }

    .hamburger {
        display: flex;
    }

    .navbar {
        padding: var(--spacing-md) 0;
    }

    .nav-actions .btn {
        display: none;
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: var(--spacing-sm);
        margin-left: auto;
    }

    .nav-actions .btn-phone {
        display: none;
    }

    .nav-actions .btn {
        display: none;
    }

    /* Bouton de langue élégant pour mobile */
    .nav-actions .language-switcher {
        margin-right: 0;
        padding: 4px;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow:
            0 2px 12px rgba(0, 0, 0, 0.08),
            0 1px 4px rgba(212, 175, 55, 0.15);
        border: 1px solid rgba(212, 175, 55, 0.2);
        transition: all 0.3s ease;
    }

    .nav-actions .language-switcher:hover {
        transform: translateY(-1px);
        box-shadow:
            0 4px 16px rgba(0, 0, 0, 0.12),
            0 2px 8px rgba(212, 175, 55, 0.25);
    }

    /* Styles raffinés pour les options mobile */
    .nav-actions .lang-toggle-bg {
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
    }

    .nav-actions .lang-toggle.english .lang-toggle-bg {
        background: linear-gradient(135deg, var(--secondary-color) 0%, #34495e 100%);
    }

    .nav-actions .lang-option {
        color: var(--gray-700);
        font-weight: 600;
        font-size: 10px;
        padding: 5px 12px;
        width: 52px;
        height: 28px;
    }

    .nav-actions .lang-option.active {
        color: var(--white);
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    }

    .nav-actions .lang-flag {
        width: 14px;
        height: 10px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-xl);
        align-items: center;
        justify-items: center;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
        overflow-x: hidden;
    }

    .hero-title {
        font-size: 2.3rem;
        line-height: 1.15;
        margin-bottom: var(--spacing-lg);
        font-weight: 600;
        letter-spacing: -0.015em;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: var(--spacing-xl);
        line-height: 1.5;
        font-weight: 400;
        letter-spacing: 0.005em;
        padding: 0 var(--spacing-md);
    }

    .section-title {
        font-size: 1.9rem;
        margin-bottom: var(--spacing-lg);
        line-height: 1.25;
        font-weight: 500;
        letter-spacing: -0.01em;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-xl);
        line-height: 1.5;
        padding: 0 var(--spacing-md);
    }

    .hero-stats {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
        margin: var(--spacing-lg) 0;
        padding: 0 var(--spacing-md);
        order: 2;
        width: 100%;
        max-width: 400px;
    }

    .stat-item {
        text-align: center;
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .stat-number {
        font-size: 2.2rem;
        font-weight: 800;
        margin-bottom: var(--spacing-xs);
    }

    .stat-label {
        font-size: 0.9rem;
        line-height: 1.3;
    }

    .about-content {
        display: flex;
        flex-direction: column;
        gap: var(--spacing-xl);
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
        align-items: center;
    }

    .about-image {
        order: -1;
        margin: 0 auto var(--spacing-xl);
        max-width: 350px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .about-image .image-wrapper {
        position: relative;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .about-image img {
        width: 100%;
        height: auto;
        aspect-ratio: 4/5;
        object-fit: cover;
        object-position: center center;
        border-radius: var(--border-radius-xl);
        display: block;
        margin: 0 auto;
    }

    .about-image .experience-badge {
        position: absolute;
        top: 15px;
        right: 15px;
        background: linear-gradient(135deg, var(--primary-color), #f4d03f);
        color: var(--white);
        padding: var(--spacing-md) var(--spacing-lg);
        border-radius: var(--border-radius-xl);
        text-align: center;
        box-shadow:
            0 8px 25px rgba(212, 175, 55, 0.4),
            0 4px 12px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
        z-index: 2;
        min-width: 85px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(5px);
        transform: rotate(-3deg);
        transition: all 0.3s ease;
    }

    .about-image .experience-badge:hover {
        transform: rotate(0deg) scale(1.05);
        box-shadow:
            0 12px 35px rgba(212, 175, 55, 0.5),
            0 6px 18px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .about-image .badge-number {
        font-size: 1.8rem;
        font-weight: 800;
        line-height: 1;
        margin-bottom: 2px;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    }

    .about-image .badge-text {
        font-size: 0.85rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .about-text {
        order: 1;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .about-text .hero-buttons {
        width: 100%;
        max-width: 350px;
        margin: var(--spacing-xl) auto 0;
    }

    .about-description {
        text-align: center;
        margin-bottom: var(--spacing-lg);
        line-height: 1.6;
        padding: 0 var(--spacing-md);
    }

    /* Centrage spécifique pour tous les boutons about */
    .about .btn {
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .about .hero-buttons,
    .about [class*="buttons"] {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-lg);
        width: 100%;
        max-width: 350px;
        margin: var(--spacing-xl) auto 0;
        padding: 0 var(--spacing-md);
    }

    .achievements {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        margin: var(--spacing-lg) 0;
        justify-items: center;
        max-width: 400px;
        width: 100%;
    }

    .achievement-item {
        text-align: center;
        padding: var(--spacing-md);
    }

    .about .hero-buttons,
    .about-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-lg);
        margin: var(--spacing-xl) auto 0;
        max-width: 350px;
        width: 100%;
        padding: 0 var(--spacing-md);
    }

    .about .hero-buttons .btn,
    .about-buttons .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
        justify-content: center;
        display: flex;
        align-items: center;
        padding: var(--spacing-lg) var(--spacing-xl);
        margin: 0 auto;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        max-width: 500px;
        margin: 0 auto;
    }

    .contact-info {
        text-align: center;
    }

    .contact-map {
        margin: var(--spacing-xl) auto 0;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }

    .map-wrapper {
        height: 300px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .map-wrapper iframe {
        height: 300px;
        width: 100%;
    }

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

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-lg);
        margin: var(--spacing-lg) auto 0;
        padding: 0 var(--spacing-lg);
        width: 100%;
        max-width: 400px;
        order: 3;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: var(--font-size-base);
        font-weight: 600;
        border-radius: var(--border-radius-xl);
        text-transform: none;
        letter-spacing: 0.5px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }



    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        max-width: 400px;
        margin: 0 auto;
        justify-items: center;
    }

    .service-card {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    .services {
        padding: var(--spacing-3xl) 0;
    }

    .about {
        padding: var(--spacing-3xl) 0;
    }

    .gallery {
        padding: var(--spacing-3xl) 0;
    }

    .testimonials {
        padding: var(--spacing-3xl) 0;
    }

    .contact {
        padding: var(--spacing-3xl) 0;
    }

    .section-header {
        margin-bottom: var(--spacing-2xl);
        text-align: center;
    }

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

    .testimonials-slider {
        grid-template-columns: 1fr;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        max-width: 450px;
        margin: 0 auto;
        align-items: center;
        gap: var(--spacing-xl);
    }

    .footer-section {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        justify-content: center;
        margin-bottom: var(--spacing-md);
    }

    .footer-description {
        text-align: center;
        margin-bottom: var(--spacing-lg);
        line-height: 1.6;
    }

    .footer-social {
        justify-content: center;
        margin-bottom: var(--spacing-lg);
        gap: var(--spacing-lg);
    }

    .footer-links {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
        margin-bottom: var(--spacing-lg);
    }

    .footer-links li {
        width: 100%;
        text-align: center;
    }

    .footer-contact {
        text-align: center;
        width: 100%;
    }

    .footer-contact p {
        margin-bottom: var(--spacing-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: var(--spacing-sm);
    }

    .footer-bottom {
        text-align: center;
        padding: var(--spacing-lg);
        margin-top: var(--spacing-lg);
    }

    .footer-bottom p {
        margin: 0;
        text-align: center;
    }

    .whatsapp-float {
        bottom: 25px;
        right: 20px;
        z-index: 1001;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: var(--spacing-lg);
        margin-top: var(--spacing-md);
    }

    .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 45px;
        height: 45px;
    }

    .whatsapp-float a {
        width: 58px;
        height: 58px;
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-float i {
        font-size: 1.4rem;
    }

    .back-to-top {
        bottom: 25px;
        left: 20px;
        width: 45px;
        height: 45px;
    }

    .doctor-image {
        max-width: 280px;
        margin: 0 auto;
        order: -1;
        align-self: center;
        justify-self: center;
    }

    .doctor-image img {
        height: 380px;
        width: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        margin: 0 auto;
    }

    .hero-text {
        order: 1;
        width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-image {
        order: -1;
        width: 100%;
        display: flex;
        justify-content: center;
        margin-bottom: var(--spacing-lg);
    }
}

/* ===== TABLETTES ===== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (max-width: 640px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .service-card {
        min-height: 280px;
        padding: var(--spacing-2xl);
    }

    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: var(--spacing-lg);
    }

    .service-title {
        font-size: 1.2rem;
    }

    .testimonials-slider {
        flex-wrap: nowrap;
    }
}

/* ===== TRÈS PETITS ÉCRANS ===== */
@media (max-width: 480px) {
    .hero {
        padding-top: 90px;
        padding-bottom: var(--spacing-2xl);
        min-height: 100vh;
    }

    .container {
        padding: 0 var(--spacing-md);
        max-width: 100%;
        width: 100%;
        overflow-x: hidden;
    }

    .hero-title {
        font-size: 2.1rem;
        line-height: 1.15;
        margin-bottom: var(--spacing-md);
        font-weight: 600;
        letter-spacing: -0.01em;
    }

    .hero-subtitle {
        font-size: 0.98rem;
        line-height: 1.5;
        margin-bottom: var(--spacing-lg);
        font-weight: 400;
        letter-spacing: 0.005em;
        padding: 0 var(--spacing-sm);
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-md);
        margin: var(--spacing-xl) 0;
    }

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

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

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

    .service-card {
        min-height: 250px;
        padding: var(--spacing-lg);
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.9rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

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

    .doctor-image {
        max-width: 260px;
        margin: 0 auto;
        align-self: center;
        justify-self: center;
        order: -1;
    }

    .doctor-image img {
        height: 340px;
        width: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
        margin: 0 auto;
    }

    .hero-image {
        order: -1;
        margin-bottom: var(--spacing-md);
    }

    .hero-buttons,
    .about .hero-buttons,
    .about-buttons {
        padding: 0 var(--spacing-md);
        gap: var(--spacing-md);
        margin: var(--spacing-lg) auto 0;
        max-width: 350px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .hero-buttons .btn,
    .about .hero-buttons .btn,
    .about-buttons .btn {
        max-width: 250px;
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .about-image {
        max-width: 300px;
        margin: 0 auto var(--spacing-lg);
    }

    .about-image .image-wrapper {
        max-width: 280px;
    }

    .about-image img {
        height: auto;
        aspect-ratio: 4/5;
    }

    .about-image .experience-badge {
        top: 12px;
        right: 12px;
        padding: var(--spacing-sm) var(--spacing-md);
        min-width: 75px;
        transform: rotate(-2deg);
        border-width: 1.5px;
    }

    .about-image .experience-badge:hover {
        transform: rotate(0deg) scale(1.03);
    }

    .about-image .badge-number {
        font-size: 1.5rem;
    }

    .about-image .badge-text {
        font-size: 0.75rem;
    }

    .achievements {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-sm);
        max-width: 350px;
        margin: var(--spacing-md) auto;
    }

    .achievement-item {
        padding: var(--spacing-sm);
    }

    .achievement-number {
        font-size: 1.8rem;
    }

    .achievement-label {
        font-size: 0.8rem;
        line-height: 1.2;
    }

    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-sm);
    }

    .method-icon {
        margin: 0 auto;
    }

    .map-wrapper {
        height: 280px;
    }

    .map-wrapper iframe {
        height: 280px;
    }

    /* Pages spécifiques sur mobile */
    .page-header {
        padding: 100px 0 60px;
    }

    .page-header-content h1 {
        font-size: var(--font-size-2xl);
    }

    .service-detail-card {
        padding: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

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

    .gallery-masonry {
        columns: 1;
    }

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

    .quick-buttons {
        grid-template-columns: 1fr;
    }

    /* Amélioration des interactions tactiles */
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    .service-card {
        touch-action: manipulation;
    }

    /* Éviter le zoom sur les inputs */
    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Scroll fluide sur mobile */
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }

    /* Amélioration des images sur mobile */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Contact section mobile */
    .contact-method {
        padding: var(--spacing-lg);
        margin: 0 auto var(--spacing-md);
        border-radius: var(--border-radius-lg);
        background: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        text-align: center;
        max-width: 350px;
    }

    .contact-methods {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-md);
    }

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

    .method-content h4 {
        margin-bottom: var(--spacing-sm);
        text-align: center;
    }

    /* Gallery mobile */
    .gallery-item {
        margin-bottom: var(--spacing-lg);
    }

    /* Avatars témoignages mobile */
    .testimonial-author .avatar {
        width: 50px;
        height: 50px;
        font-size: var(--font-size-lg);
        flex-shrink: 0;
    }

    .testimonial-author {
        gap: var(--spacing-sm);
    }

    /* Sélecteur de langue mobile */


    /* Menu amélioration */
    .hamburger {
        padding: var(--spacing-sm);
        border-radius: var(--border-radius-md);
        transition: all 0.3s ease;
    }

    .hamburger:active {
        background: rgba(212, 175, 55, 0.1);
        transform: scale(0.95);
    }

    /* Bouton de langue élégant pour très petits écrans */
    .nav-actions .language-switcher {
        margin-right: var(--spacing-xs);
        padding: 3px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.98);
        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.1),
            0 1px 3px rgba(212, 175, 55, 0.2);
        border: 1px solid rgba(212, 175, 55, 0.25);
    }

    /* Touch-friendly mais élégant */
    .nav-actions .lang-option {
        width: 48px;
        height: 30px;
        font-size: 10px;
        font-weight: 600;
        padding: 5px 10px;
        border-radius: 18px;
    }

    .nav-actions .lang-flag {
        width: 13px;
        height: 9px;
    }

    .nav-actions .lang-toggle-bg {
        width: 46px;
        height: 26px;
        top: 2px;
        left: 2px;
        border-radius: 16px;
    }

    .nav-actions .lang-toggle.english .lang-toggle-bg {
        transform: translateX(46px);
    }
}

/* ===== ÉCRANS ULTRA-LARGES (ZOOM OUT) ===== */
@media (min-width: 2560px) {
    .container {
        max-width: 2000px;
    }

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

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

    .service-card {
        padding: var(--spacing-3xl);
        min-height: 400px;
    }

    .service-icon {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }

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

/* ===== OPTIMISATIONS POUR LE ZOOM ===== */
@media (max-resolution: 150dpi) {
    .service-card {
        border-width: 2px;
    }

    .btn {
        border-width: 2px;
    }
}

@media (min-resolution: 150dpi) {
    .service-card {
        border-width: 1px;
    }

    .btn {
        border-width: 1px;
    }

    .service-icon {
        box-shadow:
            0 8px 20px rgba(212, 175, 55, 0.25),
            0 4px 8px rgba(0, 0, 0, 0.08);
    }
}

/* ===== ORIENTATION PAYSAGE MOBILE ===== */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-md);
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }

    .hero-stats {
        margin-bottom: var(--spacing-lg);
    }

    .doctor-image {
        max-width: 300px;
    }

    .doctor-image img {
        height: 300px;
    }
}

/* ===== BOUTON SERVICES CTA ===== */
.services .text-center {
    margin-top: 4rem;
}

.services .btn-large {
    padding: 0.75rem 2rem;
    font-size: var(--font-size-base);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border: none;
    border-radius: 50px;
    box-shadow:
        0 8px 25px rgba(212, 175, 55, 0.3),
        0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.services .btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.services .btn-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        0 15px 35px rgba(212, 175, 55, 0.4),
        0 5px 15px rgba(0, 0, 0, 0.15);
}

.services .btn-large:hover::before {
    left: 100%;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-900) 100%);
    color: var(--white);
    text-align: center;
}

.page-header-content h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-lg);
    font-weight: 600;
}

.page-subtitle {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    opacity: 0.8;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition-normal);
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

/* ===== SERVICES DETAIL ===== */
.services-detail {
    padding: var(--spacing-3xl) 0;
}

.service-detail-card {
    margin-bottom: var(--spacing-3xl);
    padding: var(--spacing-3xl);
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.service-content.reverse {
    direction: rtl;
}

.service-content.reverse>* {
    direction: ltr;
}

.service-header {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.service-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
}

.service-badge.advanced {
    background: var(--info-color);
}

.service-badge.premium {
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
}

.service-badge.revolutionary {
    background: var(--danger-color);
}

.service-benefits {
    margin-bottom: var(--spacing-xl);
}

.service-benefits h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-heading);
}

.service-process {
    margin-bottom: var(--spacing-xl);
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.step {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.price-info {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    margin-left: var(--spacing-lg);
}

/* ===== ABOUT CONTENT ===== */
.about-content {
    padding: var(--spacing-3xl) 0;
}

.about-intro {
    margin-bottom: var(--spacing-3xl);
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.intro-text h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
}

.intro-text p {
    font-size: var(--font-size-lg);
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.education-section {
    margin-bottom: var(--spacing-3xl);
}

.education-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-2xl);
}

.education-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition-normal);
}

.education-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: var(--font-size-2xl);
    color: var(--white);
}

.card-content h3 {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-heading);
}

.year {
    display: inline-block;
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.philosophy-section {
    margin-bottom: var(--spacing-3xl);
    background: var(--gray-100);
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-2xl);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
}

.philosophy-text h2 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
}

.philosophy-text blockquote {
    font-style: italic;
    font-size: var(--font-size-lg);
    color: var(--primary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-2xl);
}

.tech-card {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: var(--font-size-xl);
    color: var(--white);
}

/* ===== GALLERY FULL ===== */
.gallery-full {
    padding: var(--spacing-3xl) 0;
}

.gallery-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-3xl);
    margin-bottom: var(--spacing-3xl);
    text-align: center;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.gallery-item-full {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.gallery-item-full:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.gallery-card {
    padding: var(--spacing-lg);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.card-title {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: var(--font-size-lg);
}

.card-category {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-lg);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.before-after-comparison {
    margin-bottom: var(--spacing-lg);
}

.comparison-container {
    position: relative;
    height: 250px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.before-section,
.after-section {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
}

.before-section {
    left: 0;
}

.after-section {
    right: 0;
}

.before-section img,
.after-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-overlay {
    position: absolute;
    bottom: var(--spacing-sm);
    left: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
}

.comparison-divider {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
    width: 2px;
    background: var(--primary-color);
}

.divider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
}

.case-details {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

.detail-item i {
    color: var(--primary-color);
}

/* ===== CONTACT FULL ===== */
.contact-full {
    padding: var(--spacing-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
}

.contact-methods-full {
    display: grid;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.contact-method-card {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.contact-method-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.contact-method-card.highlight {
    border: 2px solid var(--primary-color);
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.contact-address {
    font-style: normal;
    line-height: 1.6;
}

.schedule-card {
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.schedule-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid var(--gray-200);
}

.schedule-item.emergency {
    border-bottom: none;
    color: var(--danger-color);
    font-weight: 600;
}

.contact-form-full {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.checkbox-label {
    font-size: var(--font-size-sm);
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.form-note {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    text-align: center;
    margin-top: var(--spacing-md);
}

.btn-full {
    width: 100%;
}

.quick-contact {
    margin-top: var(--spacing-2xl);
    padding-top: var(--spacing-2xl);
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.quick-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.quick-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: var(--transition-normal);
    min-width: 80px;
    font-size: var(--font-size-sm);
}

.quick-btn.phone {
    background: var(--accent-color);
    color: var(--white);
}

.quick-btn.whatsapp {
    background: #25d366;
    color: var(--white);
}

.quick-btn.email {
    background: var(--gray-600);
    color: var(--white);
}

.quick-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ===== MAP SECTION ===== */
.map-section {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-100);
}

.map-container {
    margin-bottom: var(--spacing-2xl);
}

.map-placeholder {
    height: 400px;
    background: var(--gray-300);
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.map-info {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

.map-info i {
    font-size: var(--font-size-3xl);
    color: var(--primary-color);
}

/* Styles pour la vraie Google Map sur page contact */
.google-map-contact {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.google-map-contact iframe {
    border-radius: var(--border-radius-lg);
}

.map-info-overlay {
    position: absolute;
    top: var(--spacing-lg);
    left: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    z-index: 10;
}

.map-info-overlay i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.map-info-overlay h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
    font-size: var(--font-size-lg);
}

.map-info-overlay p {
    color: var(--gray-700);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.map-info-overlay .btn {
    font-size: var(--font-size-sm);
    padding: var(--spacing-sm) var(--spacing-md);
}

/* Styles pour les boutons de contact comme dans l'image */
.contact-buttons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: var(--font-size-sm);
    transition: all var(--transition-normal);
    min-height: 70px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-btn i {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xs);
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    color: white;
}

/* Couleurs spécifiques pour chaque bouton */
.contact-btn-phone {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.contact-btn-phone:hover {
    background: linear-gradient(135deg, #2980b9, #1f5f8b);
}

.contact-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #1da851);
}

.contact-btn-whatsapp:hover {
    background: linear-gradient(135deg, #1da851, #128c41);
}

.contact-btn-email {
    background: linear-gradient(135deg, #6c757d, #5a6268);
}

.contact-btn-email:hover {
    background: linear-gradient(135deg, #5a6268, #495057);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .contact-buttons-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .contact-btn {
        min-height: 60px;
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .contact-btn i {
        font-size: 1.1rem;
    }
}

.transportation-info {
    margin-top: var(--spacing-2xl);
}

/* Gallery grid premium */
.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-sm);
}

.gallery-card-premium .single-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    cursor: zoom-in;
}

.single-image a.lightbox-item {
    display: block;
}

@media (max-width: 992px) {
    .gallery-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .gallery-grid-premium {
        grid-template-columns: 1fr;
    }
}

/* Image Preview Modal */
.image-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
}

.image-preview-modal.show {
    display: block;
}

.ipm-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.ipm-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90vw;
    max-width: 1100px;
    height: 80vh;
    max-height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipm-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #111;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-2xl);
    overflow: hidden;
}

#ipm-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ipm-prev,
.ipm-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: #222;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipm-prev {
    left: 10px;
}

.ipm-next {
    right: 10px;
}

.ipm-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--border-radius-full);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

@media (max-width: 576px) {
    .ipm-content {
        width: 95vw;
        height: 75vh;
    }
}

.ipm-modal {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: none;
}

.ipm-modal.show {
    display: block;
}

.ipm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2147483646;
}

.ipm-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(90vw, 1100px);
    max-height: 85vh;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
}

#ipm-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    display: block;
}

.ipm-prev,
.ipm-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    color: #222;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ipm-prev {
    left: 10px;
}

.ipm-next {
    right: 10px;
}

.ipm-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #222;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}

.transport-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
}

.transport-item {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.transport-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: var(--border-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-lg);
    font-size: var(--font-size-xl);
    color: var(--white);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: var(--spacing-3xl) 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
}

.faq-item {
    background: var(--white);
    padding: var(--spacing-2xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.faq-question {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    font-family: var(--font-heading);
}

.faq-answer {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-lg);
}

.cta-content p {
    font-size: var(--font-size-lg);
    opacity: 0.9;
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== TESTIMONIALS GALLERY ===== */
.testimonials-gallery {
    padding: var(--spacing-3xl) 0;
    background: var(--gray-100);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-2xl);
}

/* ===== UTILITAIRES ===== */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.opacity-0 {
    opacity: 0;
}

.opacity-50 {
    opacity: 0.5;
}

.opacity-100 {
    opacity: 1;
}

/* ===== OPTIMISATIONS GÉNÉRALES RESPONSIVE ===== */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Optimisation des vidéos responsive */
video {
    max-width: 100%;
    height: auto;
}

/* Amélioration des conteneurs flexibles */
.container,
.hero-content,
.services-grid,
.about-content {
    width: 100%;
}

/* Text wrapping pour éviter le débordement */
h1,
h2,
h3,
h4,
h5,
h6,
.service-title,
.hero-title {
    word-wrap: break-word;
    hyphens: auto;
}

/* Smooth scaling pour les hover effects */
.service-card,
.btn,
.gallery-item {
    will-change: transform;
}

/* Optimisation pour les écrans haute résolution */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .service-icon,
    .logo i,
    .dental-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Optimisations print */
@media print {

    .header,
    .language-switcher,
    .whatsapp-float,
    .back-to-top,
    .floating-elements {
        display: none !important;
    }

    .hero {
        page-break-after: always;
    }

    .service-card {
        page-break-inside: avoid;
    }
}

/* Protection contre le zoom horizontal excessif */
@media (max-aspect-ratio: 1/1) {
    .container {
        max-width: 100%;
        padding: 0 var(--spacing-sm);
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* Fallback pour navigateurs anciens */
@supports not (display: grid) {
    .services-grid {
        display: flex;
        flex-wrap: wrap;
        gap: var(--spacing-lg);
    }

    .service-card {
        flex: 1 1 300px;
        max-width: 100%;
    }
}

/* ===== MODERN ABOUT PAGE STYLES ===== */

/* Modern Hero Section */
.about-hero-modern {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-900) 100%);
    padding: 120px 0;
    overflow: hidden;
    color: var(--white);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content-left {
    max-width: 650px;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-title-modern {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 16px;
    letter-spacing: -0.025em;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.hero-subtitle-modern {
    font-size: 1.35rem;
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 24px;
    font-style: italic;
    letter-spacing: 0.005em;
}

.hero-description {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.75;
    margin-bottom: 32px;
    font-weight: 400;
    letter-spacing: 0.005em;
}

.hero-buttons-modern {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-top: 50px;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

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

.btn-primary-modern:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary-modern {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px auto;
    max-width: 600px;
}

.stat-item-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 24px 20px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.stat-item-modern:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.stat-number-modern {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-label-modern {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}



.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 15%;
    animation-delay: 4s;
}

/* Doctor Profile Section */
.doctor-profile {
    padding: 120px 0;
    background: var(--gray-100);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.profile-image {
    position: relative;
}

.image-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.image-frame img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.image-frame:hover img {
    transform: scale(1.05);
}

.frame-decoration {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 3px solid transparent;
    border-radius: 35px;
    background: linear-gradient(45deg, #667eea, #764ba2, #ff9a9e);
    background-size: 400% 400%;
    animation: gradientShift 4s ease infinite;
    z-index: -1;
}

.floating-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    animation: pulse 2s infinite;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-text h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--secondary-color);
    line-height: 1.3;
    margin-bottom: 30px;
}

.highlight-text {
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #64748b;
    margin-bottom: 25px;
}

.signature-qualities {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 40px 0;
}

.quality-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
}

.quality-item i {
    color: #667eea;
    font-size: 1.2rem;
    width: 20px;
}

.quality-item span {
    font-weight: 500;
    color: #475569;
}

.doctor-quote {
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: 15px;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #334155;
    margin-top: 40px;
    position: relative;
}

.doctor-quote .quote-mark {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
    opacity: 0.8;
    margin: 0 6px;
    font-style: normal;
}

/* Education Excellence */
.education-excellence {
    padding: 120px 0;
    background: var(--gray-100);
}

.education-timeline {
    position: relative;
    max-width: 900px;
    margin: 80px auto 0;
}

.education-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--primary-dark));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    /* background: linear-gradient(45deg, var(--primary-color), var(--primary-light)); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /* color: white; */
    font-size: 1.5rem;
    /* box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3); */
    z-index: 2;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.timeline-content h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.timeline-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.achievement-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.achievement-badge {
    background: #e0f2fe;
    color: #0369a1;
}

.achievement-badge.premium {
    background: #fef3c7;
    color: #d97706;
}

.achievement-badge.elite {
    background: #f3e8ff;
    color: #7c3aed;
}

.achievement-badge.master {
    background: #ecfccb;
    color: #65a30d;
}

/* Premium Technologies */
.premium-technologies {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--gray-900) 100%);
    color: var(--white);
}

.premium-technologies .section-title {
    color: rgba(255, 255, 255, 0.8);
}

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

.tech-card.premium {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 25px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 2px 8px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tech-card.premium:hover {
    transform: translateY(-15px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 5px 15px rgba(212, 175, 55, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(212, 175, 55, 0.5);
}

.tech-visual {
    position: relative;
    margin-bottom: 30px;
}

.tech-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    color: white;
    box-shadow:
        0 10px 25px rgba(212, 175, 55, 0.3),
        0 5px 10px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.tech-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.tech-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--white);
    font-weight: 700;
}

.tech-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.tech-features {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary-color);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Philosophy & Values */
.philosophy-values {
    padding: 120px 0;
    background: var(--gray-100);
    color: var(--gray-900);
}

.philosophy-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.philosophy-visual {
    position: relative;
}

.visual-frame {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
}

.visual-frame img {
    width: 100%;
    height: auto;
    display: block;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.element-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.element-2 {
    bottom: 30%;
    left: 15%;
    animation-delay: 1s;
}

.element-3 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
}

.core-values {
    margin: 40px 0;
}

.value-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.value-item:hover {
    transform: translateX(10px);
    background: #f8fafc;
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.value-content h4 {
    color: var(--secondary-color);
    margin-bottom: 8px;
    font-weight: 600;
}

.value-content p {
    color: #64748b;
    line-height: 1.6;
    font-size: 0.95rem;
}

.philosophy-quote {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 40px;
    border-radius: 20px;
    margin-top: 40px;
    position: relative;
    border: 1px solid #e2e8f0;
}

.quote-mark {
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    font-family: serif;
    line-height: 1;
}

.philosophy-quote p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 20px;
    padding-left: 40px;
}

.quote-author {
    text-align: right;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
}

/* Premium CTA */
.premium-cta {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    opacity: 1;
}

.gradient-mesh::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 255, 255, 0.02) 50%, transparent 70%);
    animation: shimmerEffect 8s ease-in-out infinite;
}

@keyframes shimmerEffect {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.7;
    }
}

.premium-cta .container {
    position: relative;
    z-index: 2;
}

.premium-cta .cta-content {
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.25), rgba(212, 175, 55, 0.1));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 12px 24px;
    border-radius: 60px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    color: var(--primary-color);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 0 30px rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
}

.premium-cta h2 {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 30px;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.premium-cta p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 50px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
}

.btn-premium {
    background: linear-gradient(135deg, var(--primary-color) 0%, #b8860b 100%);
    color: #0f172a;
    padding: 14px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: var(--font-size-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 12px 40px rgba(212, 175, 55, 0.4),
        0 6px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.btn-premium:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(212, 175, 55, 0.6),
        0 10px 30px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-premium:hover .btn-shine {
    left: 100%;
}

.btn-outline-premium {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    padding: 14px 28px;
    border-radius: 16px;
    font-weight: 600;
    font-size: var(--font-size-base);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-outline-premium:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(255, 255, 255, 0.5);
    }
}

/* Responsive Design pour About Page */
@media (max-width: 1024px) {

    .profile-content,
    .philosophy-content {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .timeline-item {
        flex-direction: column !important;
    }

    .timeline-content {
        width: 80% !important;
        margin: 0 auto !important;
    }

    .education-timeline::before {
        left: 30px;
    }

    .timeline-marker {
        left: 30px !important;
        transform: none !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }

    .hero-content-left {
        max-width: none;
    }

    .stats-grid-modern {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .about-hero-modern {
        min-height: 80vh;
        padding: 100px 0 60px;
    }

    .hero-content-left {
        max-width: 100%;
    }

    .hero-title-modern {
        font-size: 2.5rem;
    }

    .hero-subtitle-modern {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons-modern {
        flex-direction: column;
        gap: 12px;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 500px;
    }

    .stat-item-modern {
        padding: 20px 16px;
    }

    .stat-number-modern {
        font-size: 1.5rem;
    }

    .doctor-profile,
    .education-excellence,
    .premium-technologies,
    .philosophy-values,
    .premium-cta {
        padding: 80px 0;
    }

    .profile-text h2,
    .premium-cta h2 {
        font-size: 2rem;
    }

    .tech-showcase {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 20px;
    }

    .timeline-content {
        width: calc(100% - 80px) !important;
        margin-left: 60px !important;
    }
}

@media (max-width: 480px) {
    .about-hero-modern {
        padding: 80px 0 40px;
    }

    .hero-content-left {
        max-width: 100%;
        width: 100%;
    }

    .hero-title-modern {
        font-size: 1.8rem;
        white-space: normal;
    }

    .hero-subtitle-modern {
        font-size: 1rem;
    }

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

    .hero-badge-modern {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .stats-grid-modern {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        max-width: 400px;
    }

    .stat-item-modern {
        padding: 16px 12px;
    }

    .stat-number-modern {
        font-size: 1.3rem;
    }

    .stat-label-modern {
        font-size: 0.8rem;
    }

    .decoration-circle {
        display: none;
    }

    .profile-text h2 {
        font-size: 1.6rem;
    }

    .premium-cta h2 {
        font-size: 1.8rem;
    }

    .shape-1,
    .shape-2,
    .shape-3 {
        display: none;
    }

    .tech-card.premium {
        padding: 30px 20px;
    }

    .timeline-content {
        width: calc(100% - 60px) !important;
        margin-left: 50px !important;
        padding: 25px;
    }
}

/* ===== SERVICES PAGE PREMIUM STYLES ===== */

/* Services Hero Modern */
.services-hero-modern {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 160px 0 120px;
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.services-hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 25% 25%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    animation: float 6s ease-in-out infinite;
}

.hero-content-center {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.hero-badge-modern i {
    font-size: 16px;
}

.hero-title-modern {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 4.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-modern {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.3;
}

.hero-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Grid Premium */
.services-grid-premium {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fafafa 0%, #ffffff 100%);
}

.services-category {
    margin-bottom: 80px;
}

.category-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.category-title i {
    color: var(--primary-color);
    font-size: 2rem;
}

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

/* Service Card Premium */
.service-card-premium {
    background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg,
            transparent 0deg,
            rgba(212, 175, 55, 0.05) 45deg,
            transparent 90deg,
            rgba(212, 175, 55, 0.05) 135deg,
            transparent 180deg);
    animation: rotate 10s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.service-card-premium:hover::before {
    opacity: 1;
}

.service-card-premium:hover {
    transform: translateY(-10px);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 30px rgba(212, 175, 55, 0.2);
    border-color: rgba(212, 175, 55, 0.3);
}

/* Service Badges */
.service-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.service-card-premium.featured-service .service-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.service-card-premium.popular-service .service-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
}

.service-card-premium.premium-service .service-badge {
    background: linear-gradient(135deg, #6f42c1, #8f5aca);
    color: white;
}

.service-card-premium.exclusive-service .service-badge {
    background: linear-gradient(135deg, #fd7e14, #ff6b35);
    color: white;
}

.service-card-premium.advanced-service .service-badge {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
}

/* Service Icon */
.service-card-premium .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.service-card-premium .service-icon i {
    font-size: 35px;
    color: white;
    transition: all 0.4s ease;
}

.service-card-premium:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.4);
}

/* Service Content */
.service-card-premium .service-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 15px;
    line-height: 1.3;
    z-index: 2;
    position: relative;
}

.service-card-premium .service-description {
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.6;
    z-index: 2;
    position: relative;
    flex-grow: 1;
}

/* Service Price */
.service-price {
    margin-bottom: 25px;
    z-index: 2;
    position: relative;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.price-range {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.price-currency {
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gray-600);
}

/* Service Button */
.btn-service {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.4s ease;
    border: none;
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: fit-content;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
}

.btn-service::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-service:hover::before {
    left: 100%;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
}

.btn-service i {
    transition: transform 0.3s ease;
}

.btn-service:hover i {
    transform: translateX(3px);
}

/* Services CTA Modern */
.services-cta-modern {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.services-cta-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.services-cta-modern .cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    line-height: 1.6;
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.btn-cta-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: var(--font-size-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-cta-primary:hover::before {
    left: 100%;
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(212, 175, 55, 0.5);
    background: linear-gradient(135deg, var(--primary-light), #f1c40f);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 11px 26px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-sm);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.cta-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.decoration-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: -2s;
}

.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    right: 15%;
    animation-delay: -4s;
}



/* Responsive Design for Services */
@media (max-width: 1024px) {
    .services-row {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .service-card-premium {
        padding: 35px 25px;
    }

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

@media (max-width: 768px) {
    .services-hero-modern {
        padding: 140px 0 100px;
        min-height: 60vh;
    }

    .hero-content-center {
        max-width: 100%;
        padding: 0 20px;
    }

    .services-grid-premium {
        padding: 60px 0;
    }

    .services-category {
        margin-bottom: 60px;
    }

    .services-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .service-card-premium .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }

    .service-card-premium .service-icon i {
        font-size: 30px;
    }

    .service-badge {
        font-size: 10px;
        padding: 4px 8px;
        top: 15px;
        right: 15px;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .category-title {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 12px 28px;
        font-size: var(--font-size-sm);
        font-weight: 700;
    }
}

@media (max-width: 480px) {
    .services-hero-modern {
        padding: 120px 0 80px;
    }

    .hero-content-center {
        max-width: 100%;
        padding: 0 15px;
    }

    .services-hero-modern .hero-title-modern {
        white-space: normal;
    }

    .hero-badge-modern {
        font-size: 12px;
        padding: 6px 16px;
    }

    .services-grid-premium {
        padding: 50px 0;
    }

    .service-card-premium {
        padding: 25px 15px;
    }

    .service-card-premium .service-title {
        font-size: 1.2rem;
    }

    .service-badge {
        font-size: 9px;
        padding: 3px 6px;
        top: 12px;
        right: 12px;
        max-width: 100px;
        border-radius: 12px;
    }

    .price-value {
        font-size: 1.8rem;
    }

    .price-range {
        font-size: 1.5rem;
    }

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

    .services-cta-modern {
        padding: 80px 0;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        padding: 12px 28px;
        font-size: var(--font-size-sm);
        font-weight: 700;
        min-height: 44px;
    }
}

/* ===== PREMIUM GALLERY STYLES ===== */

/* Gallery Hero Premium */
.gallery-hero-premium {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 var(--spacing-3xl);
    overflow: hidden;
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.05) 0%,
            rgba(52, 73, 93, 0.05) 50%,
            rgba(212, 175, 55, 0.05) 100%);
}

.gallery-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gallery-hero-background .gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(52, 73, 93, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 40% 60%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    animation: gradientShift 8s ease-in-out infinite;
}

.gallery-hero-background .floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.gallery-hero-background .element {
    position: absolute;
    color: var(--primary-color);
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.gallery-hero-background .element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.gallery-hero-background .element-2 {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.gallery-hero-background .element-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.hero-content-gallery {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge-gallery {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-lg);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.hero-title-gallery {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--spacing-lg);
    color: var(--gray-900);
}

.highlight-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle-gallery {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--spacing-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.stat-item-gallery {
    text-align: center;
    padding: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-xl);
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all var(--transition-normal);
}

.stat-item-gallery:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
}

.stat-number-gallery {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.stat-label-gallery {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
    font-weight: 500;
}

/* Gallery Filters Premium */
.gallery-filters-premium {
    padding: var(--spacing-2xl) 0;
    background: rgba(248, 249, 250, 0.5);
}

.filters-wrapper {
    text-align: center;
}

.filters-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-2xl);
    font-weight: 600;
    color: var(--gray-900);

}

.filters-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.filter-btn-premium {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg) var(--spacing-xl);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--border-radius-xl);
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--gray-600);
    min-width: 120px;
}

.filter-btn-premium:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.15);
}

.filter-btn-premium.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.filter-icon {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

/* Gallery Premium Grid */
.gallery-premium {
    padding: var(--spacing-3xl) 0;
    background: var(--white);
}

.gallery-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-3xl);
}

.gallery-card-premium {
    background: var(--white);
    border-radius: var(--border-radius-2xl);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.gallery-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.card-premium-wrapper {
    padding: var(--spacing-xl);
}

.card-premium-header {
    margin-bottom: var(--spacing-lg);
}

.case-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50px;
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
}

.case-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
}

.before-after-premium {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: var(--spacing-lg);
}

.comparison-premium {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 300px;
}

.image-section {
    position: relative;
    overflow: hidden;
}

.before-premium img,
.after-premium img {
    width: 200%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.before-premium img {
    object-position: left center;
}

.after-premium img {
    object-position: right center;
}

.gallery-card-premium:hover .before-premium img,
.gallery-card-premium:hover .after-premium img {
    transform: scale(1.05);
}

.image-overlay-premium {
    position: absolute;
    top: var(--spacing-md);
    left: var(--spacing-md);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.comparison-divider-premium {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.divider-line-premium {
    width: 2px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    margin: 0 auto;
}

.divider-handle-premium {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--font-size-sm);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.card-premium-content {
    padding-top: var(--spacing-md);
}

.case-description {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: var(--spacing-lg);
}

.case-details-premium {
    display: flex;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.detail-premium {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: var(--gray-700);
    font-weight: 500;
}

.detail-premium i {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Load More Button */
.gallery-load-more {
    text-align: center;
    margin-top: var(--spacing-3xl);
}

.btn-load-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-load-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-load-premium i {
    transition: transform var(--transition-normal);
}

.btn-load-premium:hover i {
    transform: translateY(2px);
}

/* Premium Testimonials */
.testimonials-premium {
    padding: var(--spacing-3xl) 0;
    background: rgba(248, 249, 250, 0.5);
}

.section-header-premium {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.section-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-lg);
}

.section-title-premium {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.testimonials-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-2xl);
}

.testimonial-card-premium {
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-100);
}

.testimonial-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.stars-premium {
    display: flex;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-lg);
    color: var(--primary-color);
}

.testimonial-content-premium blockquote {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--gray-700);
    margin-bottom: var(--spacing-lg);
    font-style: italic;
    position: relative;
    padding-left: var(--spacing-lg);
}

.testimonial-content-premium blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--primary-color);
    font-family: var(--font-heading);
}

.testimonial-author-premium {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.author-info h4 {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--spacing-xs);
}

.author-info span {
    font-size: var(--font-size-sm);
    color: var(--gray-600);
}

/* Premium CTA */
.gallery-cta-premium {
    position: relative;
    padding: var(--spacing-3xl) 0;
    overflow: hidden;
}

.cta-background-premium {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(212, 175, 55, 0.1) 0%,
            rgba(52, 73, 93, 0.1) 50%,
            rgba(212, 175, 55, 0.1) 100%);
    z-index: 1;
}

.cta-content-premium {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-lg);
}

.cta-content-premium h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--spacing-lg);
}

.cta-content-premium p {
    font-size: var(--font-size-lg);
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: var(--spacing-2xl);
}

.cta-buttons-premium {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-premium {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 50px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-cta-premium.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.btn-cta-premium.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.4);
}

.btn-cta-premium.secondary {
    background: var(--white);
    color: var(--gray-900);
    border-color: var(--gray-300);
}

.btn-cta-premium.secondary:hover {
    background: var(--gray-50);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid-premium {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .filters-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
        gap: var(--spacing-md);
    }

    .filter-btn-premium {
        min-width: 100px;
        padding: var(--spacing-md);
    }

    .hero-stats-gallery {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .testimonials-grid-premium {
        grid-template-columns: 1fr;
    }

    .cta-buttons-premium {
        flex-direction: column;
        align-items: center;
    }

    .case-details-premium {
        justify-content: center;
    }

    .comparison-premium {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .gallery-hero-premium {
        padding: 100px 0 var(--spacing-2xl);
    }

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

    .hero-subtitle-gallery {
        font-size: var(--font-size-base);
    }

    .card-premium-wrapper {
        padding: var(--spacing-lg);
    }

    .case-details-premium {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .detail-premium {
        justify-content: center;
    }

    .testimonial-card-premium {
        padding: var(--spacing-lg);
    }

    .btn-cta-premium {
        padding: var(--spacing-md) var(--spacing-xl);
    }
}

/* Animation for gradient background */
@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

/* Smooth scroll behavior for filter buttons */
.filter-btn-premium {
    scroll-behavior: smooth;
}

/* Loading states for images */
.image-section img {
    transition: opacity var(--transition-normal);
}

.image-section img:not([src]) {
    opacity: 0;
}

.image-section img[src] {
    opacity: 1;
}

.gallery-card-premium .single-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}

.gallery-card-premium .single-image a.lightbox-item {
    display: block;
    height: 100%;
}
