/* === ENHANCED ANIMATIONS FROM PROVIDED CSS === */
:root {
    --primary: #3a9c8d;
    --primary-light: #6bc9bb;
    --primary-dark: #2d7c6e;
    --secondary: #b88598;
    --secondary-light: #d9b1be;
    --secondary-dark: #a46d84;
    --accent: #ffb74d;
    --white: #ffffff;
    --light-1: #f8f9fa;
    --light-2: #f0f3f5;
    --light-3: #e8ecef;
    --gray-1: #dee2e6;
    --gray-2: #adb5bd;
    --gray-3: #6c757d;
    --dark: #495057;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 15px 50px rgba(0, 0, 0, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* === PRELOADER ANIMATION === */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.pulse-loader {
    position: relative;
    width: 120px;
    height: 120px;
}

.pulse-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border: 4px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: pulse 2s infinite;
    animation-delay: calc(var(--i) * 0.4s);
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0;
    }
}

.preloader-text {
    margin-top: 30px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 2px;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* === ENHANCED HERO ANIMATIONS === */
.hero {
    padding: 180px 0 120px;
    margin-top: 140px;
    position: relative;
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.05) 0%, rgba(184, 133, 152, 0.05) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    opacity: 0.1;
    filter: blur(20px);
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
    animation: float 20s infinite ease-in-out;
}

.shape-2 {
    width: 200px;
    height: 200px;
    bottom: 100px;
    left: -50px;
    animation: float 25s infinite ease-in-out reverse;
}

.shape-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 20%;
    animation: float 15s infinite ease-in-out;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 200px;
    right: 30%;
    animation: float 18s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-30px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

.pulse-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.03;
    animation: pulse-dots 20s infinite linear;
}

@keyframes pulse-dots {
    0% { background-position: 0 0; }
    100% { background-position: 50px 50px; }
}

/* === HERO STATS COUNTER STYLES === */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    animation: fadeInUp 0.8s ease-out 0.9s both;
}

.stat-item {
    text-align: center;
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-width: 0; /* Prevents overflow */
    padding: 20px;
    background: rgba(66, 183, 165, 0.05);
    border-radius: var(--radius-lg);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    line-height: 1;
    white-space: nowrap;
}

.stat-prefix {
    font-size: 2.2rem;
    margin-right: 3px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--gray-3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    margin-top: 5px;
}

/* === ENHANCED MEDICAL VISUAL ANIMATION === */
.medical-visual-enhanced {
    position: relative;
    width: 100%;
    height: 500px;
    margin: 0 auto;
}

.visual-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.rotating-element {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
}

.ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: rotate infinite linear;
}

.ring-1 {
    width: 300px;
    height: 300px;
    border-color: rgba(58, 156, 141, 0.2);
    animation-duration: 20s;
}

.ring-2 {
    width: 220px;
    height: 220px;
    border-color: rgba(184, 133, 152, 0.2);
    animation-duration: 15s;
    animation-direction: reverse;
}

.ring-3 {
    width: 140px;
    height: 140px;
    border-color: rgba(58, 156, 141, 0.3);
    animation-duration: 10s;
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    animation: pulse 2s infinite;
}

.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-card {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    color: var(--primary);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    animation: float-card infinite ease-in-out;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    left: 10%;
    animation-duration: 8s;
    animation-delay: 0s;
}

.card-2 {
    top: 20%;
    right: 15%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.card-3 {
    bottom: 15%;
    left: 20%;
    animation-duration: 12s;
    animation-delay: 2s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* === ENHANCED SERVICE CARD ANIMATIONS === */
.service-card-enhanced {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
}

.service-card-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.service-card-inner {
    padding: 40px 30px;
    position: relative;
    z-index: 1;
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(58, 156, 141, 0.05), transparent);
    transition: left 0.5s ease;
}

.service-card-enhanced:hover .service-card-overlay {
    left: 100%;
}

/* === ENHANCED CELL ANIMATION === */
.medical-animation-enhanced {
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 0 auto;
    position: relative;
}

.cell-enhanced {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary);
    opacity: 0.7;
    animation: cell-move-enhanced 10s infinite linear;
    box-shadow: 0 0 20px rgba(58, 156, 141, 0.4);
}

.cell-enhanced:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}

.cell-enhanced:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.cell-enhanced:nth-child(3) {
    top: 40%;
    left: 40%;
    animation-delay: 2s;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.cell-enhanced:nth-child(4) {
    top: 70%;
    left: 60%;
    animation-delay: 3s;
    background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
}

.cell-enhanced:nth-child(5) {
    top: 30%;
    left: 80%;
    animation-delay: 4s;
    background: linear-gradient(135deg, var(--primary), var(--accent));
}

@keyframes cell-move-enhanced {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, 30px) scale(1.2);
    }
    50% {
        transform: translate(-20px, 40px) scale(0.9);
    }
    75% {
        transform: translate(40px, -20px) scale(1.1);
    }
}

.pulse-line-enhanced {
    position: absolute;
    width: 3px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pulse-line-enhanced 2s infinite ease-in-out;
}

@keyframes pulse-line-enhanced {
    0%, 100% {
        height: 100px;
        opacity: 0.7;
        box-shadow: 0 0 10px var(--primary);
    }
    50% {
        height: 150px;
        opacity: 1;
        box-shadow: 0 0 20px var(--primary);
    }
}

/* === ENHANCED BUTTON ANIMATIONS === */
.btn-enhanced {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 30px;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary-enhanced {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary-enhanced:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* === EXISTING STYLES ENHANCED === */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 5;
}

.hero-text {
    flex: 1;
    padding-right: 30px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease-out 0.5s both;
    font-family: var(--font-heading);
    font-weight: 600;
}

.hero-title .highlight {
    color: var(--primary);
}

.title-line {
    display: block;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--gray-3);
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero responsive fixes */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    
    .hero-title {
        margin-top: 100px;
        font-size: 2.8rem;
    }
    
    .medical-visual-enhanced {
        height: 400px;
    }
    
    .floating-card {
        width: 90px;
        height: 90px;
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .hero {
        padding: 150px 0 80px;
        margin-top: 120px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero-text {
        padding-right: 0;
        text-align: center;
    }
    
    .hero-title {
        margin-top: 100px;
        font-size: 2.4rem;
    }
    
    .hero-description {
        max-width: 100%;
        margin: 0 auto 30px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        max-width: 600px;
        margin: 40px auto 0;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
    
    .medical-visual-enhanced {
        height: 350px;
        order: -1; /* Put visual above text on mobile */
    }
    
    .hero-intro {
        margin-top: 0px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 60px;
        margin-top: 100px;
    }
    
    .hero-title {
        margin-top: 100px;
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        max-width: 300px;
        gap: 10px;
    }
    
    .stat-item {
        padding: 20px 15px;
    }
    
    .medical-visual-enhanced {
        height: 300px;
    }
    
    .rotating-element {
        width: 250px;
        height: 250px;
    }
    
    .ring-1 {
        width: 250px;
        height: 250px;
    }
    
    .ring-2 {
        width: 180px;
        height: 180px;
    }
    
    .ring-3 {
        width: 110px;
        height: 110px;
    }
    
    .floating-card {
        width: 80px;
        height: 80px;
        font-size: 0.7rem;
    }
    
    .hero-wave {
        height: 80px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        margin-top: 100px;
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .medical-visual-enhanced {
        height: 250px;
    }
    
    .rotating-element {
        width: 200px;
        height: 200px;
    }
    
    .ring-1 {
        width: 200px;
        height: 200px;
    }
    
    .ring-2 {
        width: 140px;
        height: 140px;
    }
    
    .ring-3 {
        width: 80px;
        height: 80px;
    }
    
    .center-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .floating-card {
        width: 70px;
        height: 70px;
    }
    
    .hero-wave {
        height: 60px;
    }
}
/* === End hero section styles === */

/* HERO WAVE STYLES */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.hero-wave svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: var(--light-1);
}

.hero-wave path {
    animation: heroWaveFloat 15s ease-in-out infinite;
}

.hero-wave path:nth-child(1) {
    animation-delay: 0s;
    fill: var(--light-1);
    opacity: 1;
}

.hero-wave path:nth-child(2) {
    animation-delay: 3s;
    fill: var(--light-2);
    opacity: 0.8;
}

.hero-wave path:nth-child(3) {
    animation-delay: 6s;
    fill: var(--light-3);
    opacity: 0.6;
}

@keyframes heroWaveFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* BADGE STYLES */
.global-badge{
    position: absolute;
    top: -140px;
}

.badge{
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(69, 183, 166, 0.1), rgba(203, 150, 167, 0.1));
    padding: 12px 20px;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-badge {
    animation: fadeInDown 0.8s ease-out 0.3s both;
}

.hero-badge .badge i {
    font-size: 1.1rem;
    animation: spinSlow 20s infinite linear;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Services Section Enhanced */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.1), rgba(184, 133, 152, 0.1));
    padding: 10px 25px;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease-out;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--primary);
}

.section-description {
    color: var(--gray-3);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.decoration-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.decoration-dot {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

/* Services Grid */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Service Card */
.service-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(58, 156, 141, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(58, 156, 141, 0.2);
}

.service-card-inner {
    padding: 40px 30px;
    position: relative;
    z-index: 2;
    background: var(--white);
}

.service-card-overlay {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(58, 156, 141, 0.05), transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.service-card:hover .service-card-overlay {
    left: 100%;
}

/* Service Icon */
.service-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 25px;
}

.icon-container {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.1), rgba(184, 133, 152, 0.1));
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2rem;
    position: relative;
    z-index: 2;
    transition: all var(--transition-normal);
}

.service-card:hover .icon-container {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.15), rgba(184, 133, 152, 0.15));
}

.icon-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.1;
    animation: pulse 2s infinite;
}

/* Service Content */
.service-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark);
    line-height: 1.3;
}

.service-description {
    color: var(--gray-3);
    margin-bottom: 20px;
    line-height: 1.7;
    font-size: 1rem;
}

.service-features {
    list-style: none;
    margin-bottom: 25px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 0.95rem;
}

.service-features i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Service Actions */
.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition-normal);
    flex: 1;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.service-link i {
    font-size: 0.9rem;
    transition: transform var(--transition-normal);
}

.service-link:hover i {
    transform: translateX(3px);
}

.service-appointment {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.1), rgba(184, 133, 152, 0.1));
    border-radius: var(--radius-md);
    color: var(--primary);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

.service-appointment:hover {
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.15), rgba(184, 133, 152, 0.15));
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Services CTA */

.services-cta {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--gray-1);
}

.services-cta p {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 25px;
    font-weight: 500;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline i {
    transition: transform var(--transition-normal);
}

.btn-outline:hover i {
    transform: translateX(5px);
}

.services {
    padding: 100px 0;
    background-color: var(--light-1);
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray-3);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

/* Animation Section Enhanced */
.animation-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--white), var(--light-2));
    position: relative;
    overflow: hidden;
}

/* End Services Section Enhanced */

/*=== Avis / Témoignage ===*/

.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 249, 250, 0.95));
    overflow: hidden;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 35px 30px;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(58, 156, 141, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(58, 156, 141, 0.2);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0.8;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 120px;
    font-family: serif;
    color: rgba(58, 156, 141, 0.05);
    line-height: 1;
    font-weight: bold;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.patient-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.1), rgba(184, 133, 152, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.patient-info {
    flex: 1;
}

.patient-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 8px;
}

.patient-rating {
    display: flex;
    gap: 3px;
}

.patient-rating i {
    color: var(--accent);
    font-size: 1.1rem;
}

.testimonial-content {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    color: var(--gray-3);
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    border-radius: 2px;
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(58, 156, 141, 0.1);
}

.treatment-type {
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.1), rgba(184, 133, 152, 0.1));
    padding: 6px 15px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
}

.treatment-date {
    color: var(--gray-2);
    font-size: 0.9rem;
}

.testimonials-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 35px;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

.btn-primary i {
    font-size: 1.2rem;
}

/* Floating background elements for testimonials */
.testimonials::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(30px);
    animation: float 20s infinite ease-in-out;
}

.testimonials::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--secondary-light), var(--primary));
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(20px);
    animation: float 25s infinite ease-in-out reverse;
}

/* Responsive Styles for Testimonials */
@media (max-width: 1200px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }
}

@media (max-width: 992px) {
    .testimonials {
        padding: 80px 0;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
    
    .testimonials-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-outline, .btn-primary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .testimonial-content p {
        font-size: 1rem;
    }
    
    .patient-avatar {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .patient-name {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .patient-info {
        text-align: center;
    }
    
    .testimonial-footer {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .testimonials::before,
    .testimonials::after {
        display: none;
    }
}

/* End Avis/Témoignage Section Enhanced */

/*  Technologies Section Enhanced */
/* === TECHNOLOGIES SECTION STYLES === */
.technologies {
    padding: 100px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
}
.tech-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.tech-track {
    display: flex;
    gap: 30px;
    animation: autoSlide 30s linear infinite;
    padding: 20px 0;
    will-change: transform;
}

/* Pause animation on hover */
.tech-slider:hover .tech-track {
    animation-play-state: paused;
}

@keyframes autoSlide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100% - 30px));
    }
}

.tech-item {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 350px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.tech-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(58, 156, 141, 0.2);
    animation-play-state: paused;
}

.tech-track:hover {
    animation-play-state: paused;
}

@keyframes slideInfinite {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 15px)); /* Half of total width + half of gap */
    }
}

.tech-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.05), rgba(184, 133, 152, 0.05));
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.tech-item:hover::before {
    opacity: 1;
}

.tech-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.tech-item:hover .tech-icon::after {
    opacity: 0.2;
}

.tech-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(58, 156, 141, 0.1), rgba(184, 133, 152, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 2.5rem;
    position: relative;
    transition: all var(--transition-normal);
}

.tech-item:hover .tech-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: var(--white);
}

.tech-item h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.tech-item p {
    color: var(--gray-3);
    line-height: 1.6;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

.tech-arrows {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.tech-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-size: 1.2rem;
    box-shadow: var(--shadow-sm);
}

.tech-arrow:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: var(--shadow-md);
}

.tech-arrow:active {
    transform: scale(0.95);
}

/* Background elements */
.technologies::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(20px);
    animation: float 20s infinite ease-in-out;
}

.technologies::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 5%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--secondary), var(--primary-light));
    border-radius: 50%;
    opacity: 0.05;
    filter: blur(15px);
    animation: float 25s infinite ease-in-out reverse;
}

/* Responsive Styles for Technologies */
@media (max-width: 1200px) {
    .tech-item {
        flex: 0 0 calc(33.333% - 20px);
        min-width: 320px;
    }
}

@media (max-width: 992px) {
    .tech-item {
        flex: 0 0 calc(50% - 15px);
        min-width: 300px;
    }
}

@media (max-width: 768px) {
    .tech-slider {
        overflow: hidden;
        width: 100%;
        position: relative;
    }
    
    .tech-track {
        display: flex;
        gap: 20px;
        width: max-content; /* Important pour mobile */
        animation: autoSlideMobile 25s linear infinite;
        padding: 20px 0;
    }
    
    .tech-item {
        flex: 0 0 calc(100vw - 60px); /* Prend toute la largeur moins marges */
        min-width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
        margin: 0 10px;
        scroll-snap-align: start;
    }
    
    /* Animation plus rapide pour mobile avec plus d'items */
    @keyframes autoSlideMobile {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% - 10px)); /* 50% car on a dupliqué les items */
        }
    }
}

@media (max-width: 480px) {
    .tech-track {
        gap: 15px;
        animation: autoSlideMobileSmall 20s linear infinite;
    }
    
    .tech-item {
        flex: 0 0 calc(100vw - 40px);
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
        margin: 0 10px;
        padding: 25px 20px;
    }
    
    @keyframes autoSlideMobileSmall {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-50% - 7.5px));
        }
    }
}
/* End Avis/Témoignage Section Enhanced */

/* === foother enhanced === */
/* === FOOTER STYLES === */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 120px 0 30px;
    position: relative;
    margin-top: 100px;
}

.footer-wave {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 120px;
    z-index: 1;
    pointer-events: none;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: var(--white);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.footer-column {
    animation: fadeInUp 0.8s ease-out;
}

.footer-column:nth-child(1) { animation-delay: 0.1s; }
.footer-column:nth-child(2) { animation-delay: 0.2s; }
.footer-column:nth-child(3) { animation-delay: 0.3s; }
.footer-column:nth-child(4) { animation-delay: 0.4s; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
    animation: pulse 4s infinite ease-in-out;
}

.logo-text-container {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}

.logo-sub {
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-top: 3px;
    font-weight: 500;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 15px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 25px;
    padding-bottom: 10px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    animation: slideInRight 0.5s ease-out;
}

.footer-links li:nth-child(1) { animation-delay: 0.1s; }
.footer-links li:nth-child(2) { animation-delay: 0.2s; }
.footer-links li:nth-child(3) { animation-delay: 0.3s; }
.footer-links li:nth-child(4) { animation-delay: 0.4s; }
.footer-links li:nth-child(5) { animation-delay: 0.5s; }

.footer-links a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all var(--transition-normal);
    font-size: 0.95rem;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--primary);
    transition: transform var(--transition-normal);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 5px;
}

.footer-links a:hover i {
    transform: translateX(3px);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    animation: fadeInLeft 0.5s ease-out;
}

.contact-item:nth-child(1) { animation-delay: 0.1s; }
.contact-item:nth-child(2) { animation-delay: 0.2s; }
.contact-item:nth-child(3) { animation-delay: 0.3s; }
.contact-item:nth-child(4) { animation-delay: 0.4s; }

.contact-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 2px;
    min-width: 20px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3px;
}

.contact-value {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color var(--transition-normal);
}

.contact-value:hover {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-copyright a {
    color: var(--secondary-light);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.footer-copyright a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.footer-copyright .fa-heart {
    color: #ff4d6d;
    animation: heartbeat 1.5s infinite ease-in-out;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all var(--transition-normal);
    position: relative;
}

.footer-legal a:hover {
    color: var(--primary-light);
}

.footer-legal a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--transition-normal);
}

.footer-legal a:hover::after {
    width: 100%;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: var(--font-heading);
    animation: float 3s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    box-shadow: 0 8px 25px rgba(66, 183, 165, 0.4);
    animation: vibrate 0.3s linear;
}

.floating-whatsapp i {
    font-size: 24px;
    margin-bottom: 2px;
    transition: transform var(--transition-normal);
}

.floating-whatsapp:hover i {
    transform: rotate(15deg);
}

.floating-whatsapp .whatsapp-text {
    font-size: 11px;
    font-weight: 600;
    line-height: 1;
}

.whatsapp-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(66, 183, 165, 0.2);
    animation: pulse 2s infinite;
    z-index: -1;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@keyframes vibrate {
    0%, 100% { transform: scale(1.1) translateX(0) rotate(0deg); }
    25% { transform: scale(1.1) translateX(-2px) rotate(-2deg); }
    75% { transform: scale(1.1) translateX(2px) rotate(2deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer {
        padding: 100px 0 30px;
    }
    
    .footer-content {
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-legal {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 80px 0 30px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .footer-wave {
        height: 80px;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .floating-whatsapp i {
        font-size: 22px;
    }
    
    .floating-whatsapp .whatsapp-text {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-links a {
        justify-content: center;
    }
    
    .footer-links a:hover {
        padding-left: 0;
        transform: translateX(5px);
    }
    
    .contact-item {
        text-align: center;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .floating-whatsapp {
        bottom: 15px;
        right: 15px;
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 480px) {
    .footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .footer-legal a::after {
        display: none;
    }
}
/* === End Footer Enhanced Styles === */

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Ensure hero intro spacing works with separate files */
.hero-intro{
    margin-top: -120px;
}

/* === SERVICES GRID FIX === */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    opacity: 1 !important; /* Force l'opacité */
    transform: none !important; /* Désactive les transformations */
}

/* Service Card */
.service-card {
    position: relative;
    background-color: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    height: 100%;
    border: 1px solid rgba(58, 156, 141, 0.1);
    opacity: 1 !important; /* Force l'opacité */
    transform: translateY(0) !important; /* Force la position */
    display: block !important; /* Force l'affichage */
}

/* Supprimez toutes les animations problématiques */
.service-card {
    animation: none !important;
}

/* Assurez-vous que toutes les cartes sont visibles */
.service-card,
.service-card-inner,
.service-icon,
.service-title,
.service-description {
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}