/* Reset and Base Styles */

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

:root {
    --primary: #00abba;
    --secondary: #333333;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #333333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --primary-gradient: linear-gradient(135deg, #00abba, #00c4d6);
    --secondary-gradient: linear-gradient(135deg, #333333, #2C2C2C);
}

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


/* Social Sidebar */

.social-sidebar {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.social-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 20px;
    color: var(--dark-gray);
}

.social-icon:hover {
    transform: scale(1.15);
    box-shadow: 0 5px 15px rgba(0, 171, 186, 0.3);
}

.social-icon.instagram {
    color: #E4405F;
}

.social-icon.instagram:hover {
    background: rgba(228, 64, 95, 0.1);
}

.social-icon.facebook {
    color: #1877F2;
}

.social-icon.facebook:hover {
    background: rgba(24, 119, 242, 0.1);
}

.social-icon.google {
    color: #4285F4;
}

.social-icon.google:hover {
    background: rgba(66, 133, 244, 0.1);
}

.social-icon.whatsapp {
    color: #25D366;
}

.social-icon.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
}

@media (max-width: 768px) {
    .social-sidebar {
        left: 10px;
        gap: 10px;
        padding: 15px 8px;
    }
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}


/* Global Image Constraints */

img {
    max-width: 100%;
    height: auto;
    display: block;
}


/* Prevent oversized images */

.container img,
section img {
    max-height: 600px;
    object-fit: cover;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--secondary);
}

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


/* Navigation */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: var(--primary);
    font-size: 28px;
}

.nav-logo img {
    height: 48px;
    width: auto;
    display: block;
    background: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

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


/* Hero Section */

.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, #feffff 100%);
    padding-top: 76px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 20px 0;
    width: 100%;
    display: flex;
    align-items: center;
    min-height: calc(100vh - 200px);
}


/* Image Carousel */

.image-carousel {
    padding-top: 40px;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.carousel-track {
    display: flex;
    animation: scroll 25s linear infinite;
    width: calc(400px * 10);
}

.carousel-track img {
    width: 400px;
    height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-right: 1.5rem;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-400px * 5 - 7.5rem));
    }
}

.hero-slideshow {
    width: 100%;
    height: 80vh;
    overflow: hidden;
    position: relative;
}

.slides-container {
    display: flex;
    width: 800%;
    height: 100%;
    animation: slideLeft 20s infinite;
}

.slide {
    width: 12.5%;
    height: 100%;
    flex-shrink: 0;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }
    12.5% {
        transform: translateX(-12.5%);
    }
    25% {
        transform: translateX(-25%);
    }
    37.5% {
        transform: translateX(-37.5%);
    }
    50% {
        transform: translateX(-50%);
    }
    62.5% {
        transform: translateX(-62.5%);
    }
    75% {
        transform: translateX(-75%);
    }
    87.5% {
        transform: translateX(-87.5%);
    }
    100% {
        transform: translateX(0);
    }
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.gold-underline {
    position: relative;
    color: #6d11e6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.gold-underline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: #6d11e6;
    box-shadow: 0 2px 4px rgba(140, 25, 241, 0.5);
    animation: expandWidth 1.5s ease 0.5s both;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 16px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-ctas {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-gold {
    background: #6d11e6;
    color: #fffefe;
    padding: 18px 35px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 5px 15px rgba(140, 25, 241, 0.5);
    transition: all 0.3s ease;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(140, 25, 241, 0.5);
    background: #6d11e6;
}

.btn-navy {
    background: transparent;
    color: #6d11e6;
    padding: 18px 35px;
    border-radius: 35px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border: 3px solid #6d11e6;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background: #6d11e6;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(140, 25, 241, 0.5);
}

.hero-video {
    animation: fadeInUp 1s ease 0.8s both;
    text-align: center;
}

.hero-video video {
    width: 100%;
    max-width: 600px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
    margin: 0 auto;
    display: block;
}

.video-caption {
    text-align: center;
    margin-top: 10px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}


/* Video Container Styling */

video {
    display: block;
    background: #000;
    width: 100%;
    height: auto;
}

video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.8);
}


/* Fix video codec issues */

video {
    -webkit-playsinline: true;
    playsinline: true;
}


/* Ensure videos maintain aspect ratio */

.hero-video,
.video-testimonials,
.video-container {
    position: relative;
}

.hero-video video,
.video-testimonials video,
.video-container video {
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    object-fit: contain;
}

.hero-video video:hover,
.video-testimonials video:hover,
.video-container video:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(26, 188, 156, 0.3);
    transform: scale(1.02);
}

.hero-image {
    position: relative;
    animation: fadeInRight 1s ease 0.5s both;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
    animation: float 6s ease-in-out infinite;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    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="%23D4AF37" opacity="0.3"><animate attributeName="opacity" values="0.3;1;0.3" dur="3s" repeatCount="indefinite"/></circle><circle cx="80" cy="40" r="1.5" fill="%23D4AF37" opacity="0.5"><animate attributeName="opacity" values="0.5;1;0.5" dur="2s" repeatCount="indefinite"/></circle><circle cx="60" cy="80" r="2.5" fill="%23D4AF37" opacity="0.4"><animate attributeName="opacity" values="0.4;1;0.4" dur="4s" repeatCount="indefinite"/></circle></svg>') no-repeat;
    background-size: cover;
    pointer-events: none;
}


/* Image Gallery Section */

.image-gallery-section {
    padding: 40px 0;
    background: var(--white);
}

.image-gallery-section .container {
    padding: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5px;
}

.gallery-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .gallery-grid img {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .gallery-grid img {
        height: 200px;
    }
}


/* Why Kezza Section */

.why-kezza-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

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

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    border-top: 4px solid var(--primary);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease;
    transform-style: preserve-3d;
}

.feature-card:hover {
    transform: translateY(-15px) rotateZ(2deg) scale(1.03);
    box-shadow: 0 25px 50px rgba(26, 188, 156, 0.25), 0 0 20px rgba(26, 188, 156, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}


/* Stats Section */

.stats-section {
    padding: 80px 0;
    background: var(--secondary);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .stat-number {
        font-size: 36px;
    }
    .stat-label {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}


/* Hair Services Section */

.hair-services-section {
    padding: 100px 0;
    background: url('https://toppersnotes.b-cdn.net/kezza/images/hero3.jpg') center/cover;
    position: relative;
}

.hair-services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.6) 0%, rgba(22, 160, 133, 0.7) 100%);
    z-index: 1;
}

.hair-services-section .container {
    position: relative;
    z-index: 2;
}

.section-intro {
    margin-bottom: 60px;
    text-align: center;
}

.hair-services-section .section-intro h2 {
    font-size: 42px;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.section-intro h2 {
    font-size: 42px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 700;
}

.hair-services-section .section-intro p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.95);
    max-width: 800px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.section-intro p {
    font-size: 18px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

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

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    animation: slideUp 0.8s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(5deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(26, 188, 156, 0.3), 0 0 30px rgba(26, 188, 156, 0.1);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 24px;
    color: var(--secondary);
    padding: 20px 25px 10px;
    text-align: center;
    font-weight: 600;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card p {
    color: #666;
    padding: 0 25px;
    line-height: 1.6;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.service-card .explore-btn {
    margin: 20px auto;
}

.explore-btn {
    display: block;
    text-align: center;
    margin: 0 auto 25px;
    width: fit-content;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.explore-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.3);
}


/* Skin Services Section */

.skin-services-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #faf8f2 100%);
}

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

.skin-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
}

.skin-card:hover {
    transform: translateY(-15px) rotateY(-5deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(26, 188, 156, 0.3), 0 0 30px rgba(26, 188, 156, 0.1);
}

.skin-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(26, 188, 156, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.skin-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.skin-card:hover img {
    transform: scale(1.1);
}

.skin-card h3 {
    font-size: 22px;
    color: var(--secondary);
    padding: 20px 25px 10px;
    text-align: center;
    font-weight: 600;
    min-height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skin-card p {
    color: #666;
    padding: 0 25px;
    line-height: 1.6;
    text-align: center;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.skin-card .explore-btn {
    display: block;
    margin: 0 auto 25px;
    width: fit-content;
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.skin-card .explore-btn:hover {
    background: var(--secondary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(51, 51, 51, 0.3);
}


/* Gallery Section */

.gallery-section {
    padding: 100px 0;
    background: url('https://toppersnotes.b-cdn.net/kezza/images/hero1.jpg') center/cover;
    position: relative;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 188, 156, 0.4) 0%, rgba(22, 160, 133, 0.5) 100%);
    z-index: 1;
}

.gallery-section .container {
    position: relative;
    z-index: 2;
}

.gallery-section .section-header h2 {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.gallery-section .section-header p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.before-after-slider {
    max-width: 800px;
    margin: 0 auto;
}

.comparison-slider {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.comparison-slider img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.after-image {
    position: absolute;
    top: 0;
    left: 0;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.3s ease;
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: ew-resize;
    box-shadow: var(--shadow);
    z-index: 10;
}

.slider-handle::before {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
}


/* Doctors Section */

.doctors-section {
    padding: 100px 0;
    background: var(--light-gray);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 40px;
}

.doctor-card {
    display: flex;
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.doctor-card img {
    width: 180px;
    height: 220px;
    object-fit: cover;
}

.doctor-info {
    padding: 30px;
    flex: 1;
}

.doctor-info h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary);
    padding-bottom: 10px;
}

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

.doctor-info li {
    color: #666;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.doctor-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}


/* Testimonials Section */

.testimonials-section {
    padding: 100px 0;
    background: var(--secondary-gradient);
    color: var(--white);
}

.testimonials-section h2 {
    text-align: center;
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 60px;
}

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

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(26, 188, 156, 0.3);
}

.testimonial-card p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-card span {
    color: var(--primary);
    font-weight: 600;
}

.video-testimonials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
    margin-top: 40px;
}

.video-testimonials video {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 171, 186, 0.2);
    transition: all 0.3s ease;
}

.video-testimonials video:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 171, 186, 0.3);
}

@media (max-width: 1024px) {
    .video-testimonials {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .video-testimonials {
        grid-template-columns: 1fr;
        gap: 20px;

    /* Ensure doctor images keep their top visible on small screens */
    .doctor-card img {
        object-position: top center;
    }
    }

@media (max-width: 600px) {
    .doctor-card img {
        object-position: top center;
    }
}
    
    .video-testimonials video {
        width: 280px !important;
        height: 400px !important;
    }
}

@media (max-width: 480px) {
    .video-testimonials video {
        width: 250px !important;
        height: 350px !important;
    }
}


/* Branches Section */

.branches-section {
    padding: 100px 0;
    background: var(--white);
}

.branches-section h2 {
    text-align: center;
    font-size: 42px;
    color: var(--secondary);
    margin-bottom: 60px;
}

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

.branch-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.branch-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 188, 156, 0.2);
}

.branch-card h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 15px;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.branch-card p {
    color: #666;
    margin-bottom: 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn {
    display: block;
    background: #25D366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.map-placeholder img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow);
}


/* Contact CTA Section */

.contact-cta-section {
    padding: 100px 0;
    background: var(--primary-gradient);
    text-align: center;
    color: var(--white);
}

.contact-cta-section h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.contact-cta-section p {
    font-size: 20px;
    margin-bottom: 40px;
}

.btn-white {
    background: var(--white);
    color: var(--secondary);
    padding: 15px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-white:hover {
    background: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}


/* Footer */

.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.footer-stats {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.footer-stats span {
    background: rgba(0, 171, 186, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 171, 186, 0.3);
}

.contact-info p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-locations {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-locations h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 171, 186, 0.3);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    text-align: center;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    background: rgba(0, 171, 186, 0.2);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(0, 171, 186, 0.3);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-column p {
    line-height: 1.6;
    margin-bottom: 10px;
}

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

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
    
    .footer-column {
        padding: 0 10px;
    }
    
    .footer-column h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: var(--primary);
    }
    
    .footer-column p,
    .footer-column li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 8px;
    }
    
    .footer-stats {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .footer-stats span {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
        margin: 2px;
    }
    
    .footer-bottom {
        margin-top: 2rem;
        padding-top: 1.5rem;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-social {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-link {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-column {
        padding: 0 5px;
    }
    
    .footer-column h3 {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .footer-column p,
    .footer-column li {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 6px;
    }
    
    .footer-stats span {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
    
    .social-link {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .footer-bottom p {
        font-size: 0.8rem;
    }
}


/* Animations */

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

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

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

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

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


/* Mobile Menu Toggle */

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--secondary);
    transition: all 0.3s ease;
}


/* Responsive Design */

@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-title {
        font-size: 34px;
    }
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .nav-menu li {
        margin: 15px 0;
    }
    .nav-cta {
        display: none;
    }
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .doctors-grid {
        grid-template-columns: 1fr;
    }
    .doctor-card {
        flex-direction: column;
    }
    .doctor-card img {
        width: 100%;
        height: 300px;
    }

    .hero-video video {
        max-width: 100%;
        height: 180px;
        object-fit: cover;
    }
    .hero-image img {
        height: 250px;
    }
    .service-card img,
    .skin-card img {
        height: 180px;
    }
    .doctor-card img {
        width: 100%;
        height: 200px;
    }
    .map-placeholder img {
        height: 200px;
    }
    .video-caption {
        color: #666;
        text-shadow: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    .section-header h2 {
        font-size: 32px;
    }
    .contact-cta-section h2 {
        font-size: 36px;
    }
    .services-grid,
    .skin-services-grid {
        grid-template-columns: 1fr;
    }
}