@import url('https://fonts.googleapis.com/css2?family=Lato:wght@400;500;600&family=Poppins:wght@500;600;700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600&family=Work+Sans:wght@400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Work Sans', sans-serif !important;
}

h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif !important;
}



body {
        overflow-x: hidden;
    }

    /* Header */
    header {
        position: fixed;
        top: 0;
        width: 100%;
        padding: 20px 50px;
        background: rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transition: all 0.3s ease;
    }

    header.scrolled {
        background: rgba(0, 0, 0, 0.9);
    }

    nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo img {
    height: 50px;
    width: auto;
    border-radius: 50%; /* si quieres redondo */
}

    .logo {
        display: flex;
        align-items: center;
        color: white;
        font-size: 18px;
        font-weight: bold;
    }

    .nav-links {
        display: flex;
        list-style: none;
        gap: 30px;
    }

    .nav-links a {
        color: white;
        text-decoration: none;
        font-size: 14px;
        font-weight: 300;
        letter-spacing: 1px;
        transition: all 0.3s ease;
        position: relative;
    }

    .nav-links a:hover {
        color: #d4a574;
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: #d4a574;
        transition: width 0.3s ease;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .schedule-btn {
        background: #8b4513;
        color: white;
        padding: 12px 25px;
        border: none;
        border-radius: 25px;
        font-size: 14px;
        font-weight: bold;
        cursor: pointer;
        transition: all 0.3s ease;
        letter-spacing: 1px;
    }

    .schedule-btn:hover {
        background: #d4a574;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(212, 165, 116, 0.3);
    }

    /* Hero Section */
    .hero, .hero-section {
        height: 100vh;
        background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="%23f5f5f5"/><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
        background-size: cover;
        background-position: center;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: white;
        position: relative;
        overflow: hidden;
    }

    .hero::before, .hero-section::before {
        content: '';
        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="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.15"/><circle cx="40" cy="70" r="1" fill="white" opacity="0.1"/></svg>');
        animation: float 20s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0px) rotate(0deg); }
        50% { transform: translateY(-20px) rotate(1deg); }
    }

    .hero-content {
        max-width: 800px;
        z-index: 2;
        position: relative;
    }

    .hero h1, .hero-section h1 {
        font-size: 4rem;
        font-weight: 300;
        letter-spacing: 8px;
        margin-bottom: 30px;
        opacity: 0;
        animation: slideInUp 1.5s ease-out 0.5s forwards;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        font-weight: 200;
        letter-spacing: 4px;
        margin-bottom: 20px;
        opacity: 0;
        animation: slideInUp 1.5s ease-out 1s forwards;
    }

    .hero-description {
        font-size: 1.2rem;
        font-weight: 200;
        letter-spacing: 3px;
        margin-bottom: 50px;
        opacity: 0;
        animation: slideInUp 1.5s ease-out 1.5s forwards;
    }

    @keyframes slideInUp {
        from {
            opacity: 0;
            transform: translateY(50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .cta-btn {
        background: linear-gradient(45deg, #8b4513, #d4a574);
        color: white;
        padding: 18px 40px;
        border: none;
        border-radius: 50px;
        font-size: 16px;
        font-weight: bold;
        cursor: pointer;
        letter-spacing: 2px;
        transition: all 0.4s ease;
        opacity: 0;
        animation: slideInUp 1.5s ease-out 2s forwards;
        position: relative;
        overflow: hidden;
    }

    .cta-btn::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.6s ease;
    }

    .cta-btn:hover::before {
        left: 100%;
    }

    .cta-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(212, 165, 116, 0.4);
    }

    /* WhatsApp Button */
    .whatsapp-btn {
        position: fixed;
        bottom: 30px;
        right: 30px;
        width: 60px;
        height: 60px;
        background: #25D366;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
        z-index: 1000;
        animation: pulse 2s infinite;
    }

    .whatsapp-btn:hover {
        transform: scale(1.1);
        box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
    }

    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.05); }
        100% { transform: scale(1); }
    }

    .whatsapp-btn svg {
        width: 30px;
        height: 30px;
        fill: white;
    }

    /* Mobile Menu */
    .mobile-menu {
        display: none;
        flex-direction: column;
        cursor: pointer;
        gap: 4px;
    }

    .mobile-menu span {
        width: 25px;
        height: 3px;
        background: white;
        transition: 0.3s;
    }

    .mobile-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Responsive */
    @media (max-width: 768px) {
        header {
            padding: 15px 20px;
        }

        .nav-links {
            position: fixed;
            top: 70px;
            left: -100%;
            width: 100%;
            height: calc(100vh - 70px);
            background: rgba(0, 0, 0, 0.95);
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            gap: 40px;
            padding-top: 50px;
            transition: left 0.3s ease;
        }

        .nav-links.active {
            left: 0;
        }

        .nav-links a {
            font-size: 18px;
        }

        .mobile-menu {
            display: flex;
        }

        .schedule-btn {
            display: none;
        }

        .hero h1, .hero-section h1 {
            font-size: 2.5rem;
            letter-spacing: 4px;
        }

        .hero-subtitle {
            font-size: 1.2rem;
            letter-spacing: 2px;
        }

        .hero-description {
            font-size: 1rem;
            letter-spacing: 2px;
        }

        .cta-btn {
            padding: 15px 30px;
            font-size: 14px;
        }

        .whatsapp-btn {
            width: 50px;
            height: 50px;
            bottom: 20px;
            right: 20px;
        }

        .whatsapp-btn svg {
            width: 25px;
            height: 25px;
        }
    }

    /* Particles Animation */
    .particles {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
        pointer-events: none;
    }

    .particle {
        position: absolute;
        width: 2px;
        height: 2px;
        background: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        animation: particleFloat 15s linear infinite;
    }

    @keyframes particleFloat {
        0% {
            transform: translateY(100vh) rotate(0deg);
            opacity: 0;
        }
        10% {
            opacity: 1;
        }
        90% {
            opacity: 1;
        }
        100% {
            transform: translateY(-100px) rotate(360deg);
            opacity: 0;
        }
    }

    /* Container */
    .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 50px;
    }
    
    /* Ensure sections are connected without gaps */
    section {
        margin: 0;
        padding: 0;
    }
    
    section.procedures,
    section.consultation {
        margin: 0;
    }
    
    /* Prevent any transform on hero that could affect following sections */
    .hero, .hero-section {
        transform: none !important;
    }

    /* Procedures Section */
    .procedures {
        background: linear-gradient(to bottom, #f2f2f2 0%, #e8d5c0 30%, #dcc4a0 70%, #d4a574 100%);
        padding: 60px 0;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .procedures-header {
        margin-bottom: 40px;
    }

    .procedures .section-subtitle {
        color: #2c1810;
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: 3px;
        margin-bottom: 10px;
    }

    .procedures h2 {
        color: #2c1810;
        font-size: 3rem;
        font-weight: 300;
        letter-spacing: 6px;
        margin: 0;
    }

    /* Carrusel de Procedimientos */
    .procedures-carousel-container {
        position: relative;
        width: 100%;
        margin: 0;
        overflow: hidden;
        padding: 0 20px;
    }

    .procedures-carousel {
        display: flex;
        transition: transform 0.6s ease;
        will-change: transform;
        gap: 30px;
    }

    .procedure-card {
        min-width: calc(33.333% - 20px);
        background: white;
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        height: auto;
        border: 1px solid rgba(0, 0, 0, 0.05);
    }

    @media (max-width: 1024px) and (min-width: 769px) {
        .procedure-card {
            min-width: calc(50% - 15px);
        }

        .procedure-image {
            height: 200px;
        }

        .procedure-content {
            padding: 22px 26px 28px 26px;
        }

        .procedure-content h3 {
            font-size: 1.4rem;
        }

        /* Professional cards para tablets */
        .professional-card {
            min-width: 400px;
            width: 400px;
        }

        .professionals-carousel-container {
            max-width: 1200px;
            padding: 0 60px;
        }

        /* Testimonials para tablets */
        .testimonials-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            max-width: 900px;
        }

        .testimonial-card {
            min-width: 350px;
        }

        /* Cases Section para Tablets */
        .cases-grid {
            grid-template-columns: 1fr;
            gap: 25px;
            max-width: 500px;
        }




    }

    .procedure-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
    }

    .procedure-image {
        width: 100%;
        height: 320px;
        position: relative;
        overflow: hidden;
        border-radius: 0;
        margin: 0;
        border: none;
    }

    .procedure-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }

            .procedure-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        font-size: 2rem;
        border-radius: 0;
    }

    .procedure-content {
        padding: 20px 20px 24px 20px;
        display: flex;
        flex-direction: column;
        text-align: center;
        position: relative;
        min-height: 140px;
    }

    .procedure-content h3 {
        font-size: 1.3rem;
        font-weight: 600;
        color: #2c3e50;
        margin-bottom: 6px;
        letter-spacing: 0.5px;
        text-transform: capitalize;
        line-height: 1.2;
    }

    .procedure-subtitle {
        font-size: 0.9rem;
        color: #6c757d;
        margin-bottom: 16px;
        font-weight: 400;
    }

    .procedure-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-bottom: 12px;
    }

    .procedure-list span {
        color: #495057;
        font-size: 0.8rem;
        line-height: 1.3;
        font-weight: 400;
        padding: 4px 10px;
        background: #f8f9fa;
        border-radius: 14px;
        border: 1px solid #e9ecef;
        white-space: nowrap;
    }



    .expand-icon {
        display: none;
    }

    /* Controles del Carrusel */
    .carousel-controls {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        display: flex;
        justify-content: space-between;
        pointer-events: none;
        z-index: 10;
        transform: translateY(-50%);
    }

    .carousel-btn {
        background: white;
        border: 1px solid #e9ecef;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        pointer-events: all;
        color: #6c757d;
        font-size: 1rem;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
        opacity: 1;
        visibility: visible;
    }

        .carousel-btn:hover {
            background: #f8f9fa;
            color: #495057;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
        }

        .prev-btn {
            margin-left: -40px;
        }

        .next-btn {
            margin-right: -40px;
        }        .prev-btn {
        margin-left: -50px;
    }

    .next-btn {
        margin-right: -50px;
    }

    /* Indicadores del Carrusel */
    .carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 40px;
    }

    .indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #dee2e6;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .indicator.active {
        background: #d4a574;
        transform: scale(1.2);
    }

    .indicator:hover {
        background: #adb5bd;
    }

    /* Mensaje cuando no hay procedimientos */
    .no-procedures-message {
        background: rgba(255, 255, 255, 0.1);
        color: white;
        padding: 60px 40px;
        border-radius: 15px;
        margin: 0 auto;
        max-width: 600px;
        text-align: center;
        border: 2px dashed rgba(255, 255, 255, 0.3);
    }

    .no-procedures-message p {
        margin: 10px 0;
        font-size: 1.1rem;
        letter-spacing: 1px;
    }

    .no-procedures-message a {
        color: white;
        text-decoration: underline;
    }

    .no-procedures-message a:hover {
        color: #f0f0f0;
    }

    /* Botón de administrar procedimientos */
    .admin-procedures-link {
        text-align: center;
        margin-top: 30px;
    }

    .admin-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(255, 255, 255, 0.15);
        color: white;
        padding: 12px 24px;
        border-radius: 25px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(5px);
    }

    .admin-link:hover {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
        color: white;
        text-decoration: none;
    }

    .admin-link i {
        font-size: 0.8rem;
    }

    /* Consultation Section */
    .consultation {
        background: linear-gradient(to bottom, #d4a574 0%, #d8aa7a 25%, #deb285 50%, #e4bb90 75%, #eac49b 100%);
        padding: 60px 0;
        position: relative;
        z-index: 1;
    }

    .consultation-content {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 60px;
        align-items: center;
        min-height: 600px;
    }

    .consultation-image {
        position: relative;
        width: 100%;
        height: 500px;
        overflow: hidden;
        border-radius: 15px;
    }

    .consultation-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 15px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
    }

    .consultation-image:hover img {
        transform: scale(1.02);
    }

    .consultation-text {
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .consultation-text h2 {
        font-size: 3.2rem;
        font-weight: 300;
        letter-spacing: 4px;
        color: #2c1810;
        margin-bottom: 15px;
        line-height: 1.1;
    }

    .consultation-subtitle {
        font-size: 1.3rem;
        font-weight: 300;
        color: #2c1810;
        margin-bottom: 25px;
        letter-spacing: 1px;
    }

    .consultation-description {
        margin-bottom: 30px;
        max-width: 95%;
    }

    .consultation-description p {
        font-size: 1rem;
        line-height: 1.8;
        color: #666;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
        word-wrap: break-word;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .consultation-btn {
        background: #d4a574;
        color: white;
        padding: 15px 40px;
        border: none;
        border-radius: 30px;
        font-size: 1rem;
        font-weight: bold;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
    }

    .consultation-btn:hover {
        background: #8b4513;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(139, 69, 19, 0.3);
    }

    /* Cases Section */
    .cases {
        background: linear-gradient(to bottom, #eac49b 0%, #edcaa3 25%, #f0d0ab 50%, #f2d6b3 75%, #f4dcbb 100%);
        padding: 60px 0;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .cases-header {
        margin-bottom: 30px;
    }

    .cases h2 {
        color: #2c1810;
        font-size: 3rem;
        font-weight: 300;
        letter-spacing: 4px;
        margin-bottom: 10px;
    }

    .cases-subtitle {
        color: #2c1810;
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: 2px;
    }

    .cases-filters {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
        margin-bottom: 40px;
    }

    .filter-btn {
        background: transparent;
        color: #8b4513;
        border: 2px solid #8b4513;
        padding: 10px 20px;
        border-radius: 25px;
        font-size: 0.9rem;
        font-weight: 300;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .filter-btn:hover,
    .filter-btn.active {
        background: #8b4513;
        color: white;
    }

    .cases-carousel-container {
        position: relative;
        max-width: 1500px;
        margin: 0 auto 20px;
        overflow: visible;
        padding: 20px 30px 40px 30px;
        min-height: 540px;
    }

    .cases-carousel {
        display: flex;
        gap: 30px;
        padding: 20px 0;
        align-items: flex-start;
        min-height: 480px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-right: 50px;
        scroll-snap-type: x mandatory;
    }

    .cases-carousel::-webkit-scrollbar {
        display: none;
    }        .case-item {
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        display: block;
        flex: 0 0 500px;
        width: 500px;
        min-width: 500px;
        height: 420px;
        margin-bottom: 20px;
        scroll-snap-align: start;
    }

    .case-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .case-image {
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
        border-radius: 20px;
    }

    .case-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
        border-radius: 20px;
    }

    .case-item:hover .case-img {
        transform: scale(1.05);
    }

    .case-placeholder {
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: #f5f5f5;
        color: #d4a574;
    }

    .case-placeholder i {
        font-size: 3rem;
    }



    .cases-navigation {
        display: flex;
        justify-content: center;
        gap: 20px;
        margin-top: 40px;
    }

    .nav-arrow {
        background: rgba(139, 69, 19, 0.8);
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        font-size: 1.2rem;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-arrow:hover {
        background: #8b4513;
        transform: scale(1.1);
    }        /* Team Section */
    .team {
        background: linear-gradient(to bottom, #f4dcbb 0%, #f6e2c3 25%, #f7e7cb 50%, #f8ecd3 75%, #f9f1db 100%);
        padding: 60px 0;
        position: relative;
        z-index: 1;
    }

    .team-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 80px;
        align-items: center;
    }

    .team-image {
        position: relative;
    }

    .team-image img {
        width: 100%;
        height: auto;
        border-radius: 15px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .team-circles {
        position: absolute;
        top: -20px;
        right: -20px;
        width: 200px;
        height: 200px;
    }

    .circle {
        position: absolute;
        border: 2px solid #d4a574;
        border-radius: 50%;
        opacity: 0.3;
    }

    .circle-1 {
        width: 80px;
        height: 80px;
        top: 0;
        right: 0;
    }

    .circle-2 {
        width: 120px;
        height: 120px;
        top: 30px;
        right: 30px;
    }

    .circle-3 {
        width: 60px;
        height: 60px;
        top: 60px;
        right: 60px;
    }

    .team-text {
        padding: 40px 0;
    }

    .team-text h2 {
        font-size: 2.5rem;
        font-weight: 300;
        letter-spacing: 3px;
        color: #2c1810;
        margin-bottom: 40px;
        line-height: 1.2;
    }

    .team-description {
        margin-bottom: 40px;
    }

    .team-description p {
        font-size: 1rem;
        line-height: 1.8;
        color: #666;
        margin-bottom: 20px;
        letter-spacing: 0.5px;
    }

    .team-btn {
        background: #d4a574;
        color: white;
        padding: 15px 30px;
        border: none;
        border-radius: 30px;
        font-size: 1rem;
        font-weight: bold;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
    }

    .team-btn:hover {
        background: #8b4513;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(139, 69, 19, 0.3);
    }

    /* Team Header for Dynamic Content */
    .team-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .team-header h2 {
        font-size: 2.5rem;
        font-weight: 300;
        letter-spacing: 3px;
        color: #2c1810;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .team-subtitle {
        font-size: 1.2rem;
        color: #666;
        font-weight: 300;
        letter-spacing: 1px;
    }

    /* Professionals Carousel Container */
    .professionals-carousel-container {
        position: relative;
        max-width: 1400px;
        margin: 0 auto 60px auto;
        overflow: hidden;
        padding: 0 80px;
    }

    /* Professionals Carousel */
    .professionals-carousel {
        display: flex;
        gap: 40px;
        transition: transform 0.5s ease;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-behavior: smooth;
    }

    /* Inner track for professionals carousel to allow safe transform without altering layout */
    .professionals-track {
        display: flex;
        gap: 40px;
        align-items: stretch;
        transition: transform 0.5s ease;
    }

    .professionals-carousel::-webkit-scrollbar {
        display: none;
    }

    /* Professional Card - Vertical Design */
    .professional-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        min-width: 450px;
        width: 450px;
        height: 550px;
        flex-shrink: 0;
    }

    .professional-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }

    /* Professional Image */
    .professional-image {
        position: relative;
        width: 100%;
        height: 400px;
        overflow: hidden;
    }

    .professional-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

    .professional-card:hover .professional-image img {
        transform: scale(1.05);
    }

    .professional-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #f0e6d6, #e6d7c3);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #d4a574;
        font-size: 3rem;
    }

    /* Professional Content */
    .professional-content {
        padding: 20px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .professional-content h3 {
        font-size: 1.3rem;
        font-weight: bold;
        color: #8b4513;
        margin-bottom: 6px;
        letter-spacing: 1px;
        line-height: 1.2;
    }

    .professional-specialty {
        font-size: 0.9rem;
        color: #d4a574;
        font-weight: 500;
        margin-bottom: 10px;
        letter-spacing: 0.5px;
        text-transform: uppercase;
    }

    .professional-description {
        flex-grow: 1;
        text-align: left;
        overflow: hidden;
    }

    .professional-description p {
        font-size: 0.85rem;
        line-height: 1.4;
        color: #666;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .professional-description p:last-child {
        margin-bottom: 0;
    }

    /* Professionals Carousel Controls */
    .professionals-carousel-controls {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        transform: translateY(-50%);
        pointer-events: none;
        z-index: 10;
    }

    .professionals-carousel-btn {
        background: rgba(212, 165, 116, 0.9);
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        pointer-events: all;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .professionals-carousel-btn:hover {
        background: #8b4513;
        transform: scale(1.1);
    }

    .professionals-carousel-btn.prev-btn {
        margin-left: -25px;
    }

    .professionals-carousel-btn.next-btn {
        margin-right: -25px;
    }

    /* Professionals Carousel Indicators */
    .professionals-carousel-indicators {
        display: flex;
        justify-content: center;
        gap: 10px;
        margin-top: 30px;
    }

    .professionals-indicator {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(212, 165, 116, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .professionals-indicator.active {
        background: #d4a574;
        transform: scale(1.2);
    }

    /* Team CTA */
    .team-cta {
        text-align: center;
        margin-bottom: 40px;
    }

    /* Admin Link Styles */
    .admin-professionals-link {
        text-align: center;
        margin-top: 20px;
    }

    .admin-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #d4a574;
        text-decoration: none;
        font-size: 0.9rem;
        padding: 10px 20px;
        border-radius: 20px;
        background: rgba(212, 165, 116, 0.1);
        transition: all 0.3s ease;
    }

    .admin-link:hover {
        background: rgba(212, 165, 116, 0.2);
        color: #8b4513;
        transform: translateY(-2px);
    }

    .admin-link i {
        font-size: 0.8rem;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .consultation-content {
            grid-template-columns: 1fr;
            gap: 40px;
            min-height: auto;
        }

        .consultation-image {
            height: 350px;
            order: 1;
        }

        .consultation-text {
            order: 2;
            padding: 10px 0;
        }

        .consultation-text h2 {
            font-size: 2.5rem;
            letter-spacing: 3px;
        }

        .consultation-subtitle {
            font-size: 1.1rem;
            margin-bottom: 20px;
        }

        .consultation-description {
            max-width: 100%;
            margin-bottom: 25px;
        }
        .container {
            padding: 0 20px;
        }

        .procedures h2 {
            font-size: 2rem;
            letter-spacing: 3px;
        }

        .procedures-carousel-container {
            padding: 0 10px;
        }

        .procedures-carousel {
            gap: 20px;
        }

        .procedure-card {
            min-width: calc(100% - 20px);
            height: auto;
        }

        .procedure-image {
            height: 180px;
        }

        .procedure-content {
            padding: 20px 20px 25px 20px;
        }

        .procedure-content h3 {
            font-size: 1.3rem;
            margin-bottom: 6px;
        }

        .procedure-subtitle {
            font-size: 0.9rem;
            margin-bottom: 20px;
        }

        .procedure-list {
            gap: 6px;
            margin-bottom: 20px;
        }

        .procedure-list span {
            font-size: 0.8rem;
            padding: 5px 10px;
        }

        .prev-btn {
            margin-left: -30px !important;
        }

        .next-btn {
            margin-right: -30px !important;
        }

        .carousel-btn {
            width: 40px;
            height: 40px;
            font-size: 14px;
        }

        .carousel-btn {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }

        .prev-btn {
            left: -15px;
        }

        .next-btn {
            right: -15px;
        }

        .carousel-btn {
            width: 38px;
            height: 38px;
            font-size: 0.9rem;
        }

        .expand-icon {
            width: 35px;
            height: 35px;
            font-size: 1rem;
            top: -30px;
            right: 15px;
        }

        .no-procedures-message {
            padding: 40px 20px;
            max-width: 95%;
        }

        .consultation-content {
            grid-template-columns: 1fr;
            gap: 40px;
            text-align: center;
        }

        .consultation-text h2 {
            font-size: 2.5rem;
            letter-spacing: 3px;
        }

        .consultation-subtitle {
            font-size: 1.2rem;
        }

        /* Cases Section Responsive */
        .cases h2 {
            font-size: 2rem;
            letter-spacing: 2px;
        }

        .cases-filters {
            flex-direction: column;
            align-items: center;
            gap: 10px;
        }

        .filter-btn {
            width: 200px;
        }

        .cases-carousel-container {
            max-width: 400px;
            padding: 15px;
        }

        .case-item {
            width: 350px;
            min-width: 350px;
            height: 320px;
        }

        .case-image {
            height: 100%;
            border-radius: 15px;
        }

        .case-img {
            border-radius: 15px;
            padding: 8px;
        }





        /* Team Section Responsive */
        .team-content {
            grid-template-columns: 1fr;
            gap: 40px;
            text-align: center;
        }

        .team-text h2 {
            font-size: 2rem;
            letter-spacing: 2px;
        }

        .team-circles {
            display: none;
        }

        /* Professionals Carousel Responsive */
        .team-header h2 {
            font-size: 2rem;
            letter-spacing: 2px;
        }

        .team-subtitle {
            font-size: 1rem;
        }

        .professionals-carousel-container {
            padding: 0 40px;
            margin-bottom: 40px;
        }

        .professionals-carousel {
            gap: 20px;
        }

        .professional-card {
            min-width: calc(100vw - 100px);
            width: calc(100vw - 100px);
            max-width: 380px;
            height: 500px;
        }

        .professional-image {
            height: 350px;
        }

        .professional-content {
            padding: 15px;
        }

        .professional-content h3 {
            font-size: 1.1rem;
        }

        .professional-specialty {
            font-size: 0.8rem;
            margin-bottom: 8px;
        }

        .professional-description p {
            font-size: 0.8rem;
            margin-bottom: 6px;
            -webkit-line-clamp: 2;
            line-clamp: 2;
        }

        .professionals-carousel-btn {
            width: 40px;
            height: 40px;
            font-size: 1rem;
        }

        .professionals-carousel-btn.prev-btn {
            margin-left: -20px;
        }

        .professionals-carousel-btn.next-btn {
            margin-right: -20px;
        }
    }

    /* Footer Styles */
    .footer {
        background: #e6d7c3;
        padding: 60px 0 20px;
        color: #8b4513;
        position: relative;
        z-index: 1;
    }

    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 40px;
        margin-bottom: 40px;
    }

    .footer-section h4 {
        font-size: 1.3rem;
        font-weight: bold;
        color: #d4a574;
        margin-bottom: 25px;
        letter-spacing: 1px;
    }

    .company-info .footer-logo {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 25px;
    }

    .company-info .footer-logo img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }

    .company-info .footer-logo h3 {
        font-size: 1.2rem;
        font-weight: bold;
        color: #d4a574;
        letter-spacing: 1px;
    }

    .clinic-info p {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 10px;
        color: #8b4513;
    }

    .clinic-location {
        font-weight: 500;
    }

    .clinic-phone {
        font-weight: bold;
        font-size: 1.1rem;
    }

    .footer-links {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #8b4513;
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.3s ease;
    }

    .footer-links a:hover {
        color: #d4a574;
    }

    .social-icons {
        display: flex;
        gap: 15px;
        margin-bottom: 30px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
        background: #d4a574;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
        text-decoration: none;
    }

    .social-icon:hover {
        background: #8b4513;
        transform: translateY(-2px);
    }

    .social-icon.whatsapp {
        background: #25D366;
    }

    .social-icon.whatsapp:hover {
        background: #1ebe57;
    }

    .social-icon svg {
        width: 20px;
        height: 20px;
        fill: white;
    }

    .office-hours {
        margin-bottom: 30px;
    }

    .office-hours p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 5px;
        color: #8b4513;
    }

    .office-hours p:first-child {
        font-weight: bold;
        margin-bottom: 10px;
    }

    .technical-data p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 5px;
        color: #8b4513;
    }

    .technical-data p:first-child {
        font-weight: bold;
        margin-bottom: 15px;
    }

    .city-info {
        margin-bottom: 15px;
    }

    .city-info p:first-child {
        font-weight: bold;
        color: #d4a574;
    }

    .footer-bottom {
        border-top: 1px solid #d4a574;
        padding-top: 20px;
        text-align: center;
    }

    .copyright {
        font-size: 0.9rem;
        color: #8b4513;
        margin: 0;
    }

    /* Footer Responsive */
    @media (max-width: 768px) {
        .footer {
            padding: 40px 0 20px;
        }

        .footer-content {
            grid-template-columns: 1fr;
            gap: 30px;
            text-align: center;
        }

        .company-info .footer-logo {
            justify-content: center;
        }

        .social-icons {
            justify-content: center;
        }

        .footer-section h4 {
            font-size: 1.2rem;
        }

        .technical-data {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .city-info {
            text-align: center;
            margin-bottom: 20px;
        }
    }

    /* Testimonials Section */
    .testimonials {
        background: linear-gradient(to bottom, #f9f1db 0%, #f0d8b5 25%, #e7bf8f 50%, #dea669 75%, #d58d43 100%);
        padding: 60px 0;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .testimonials-header {
        margin-bottom: 40px;
    }

    .testimonials-subtitle {
        color: #2c1810;
        font-size: 1.2rem;
        font-weight: 300;
        letter-spacing: 2px;
        margin-bottom: 10px;
    }

    .testimonials h2 {
        color: #2c1810;
        font-size: 4rem;
        font-weight: 300;
        letter-spacing: 6px;
        margin: 0;
    }

    .testimonials-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        max-width: 1500px;
        margin: 0 auto;
    }

    .testimonial-card {
        background: white;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
        min-width: 400px;
    }

    .testimonial-card:hover {
        transform: translateY(-10px);
    }

    .testimonial-image {
        aspect-ratio: 1;
        overflow: hidden;
        height: 400px;
        width: 100%;
    }

    .testimonial-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .testimonial-placeholder {
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #6c757d;
        font-size: 3rem;
    }

    .testimonial-content {
        padding: 50px 35px;
        text-align: center;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.7;
        color: #333;
        margin-bottom: 25px;
        font-style: italic;
        flex: 1;
    }

    .testimonial-author {
        font-size: 1.1rem;
        font-weight: bold;
        color: #d4a574;
        letter-spacing: 1px;
        margin-top: auto;
    }

    /* Blog Section */
    .blog {
        background: linear-gradient(to bottom, #d58d43 0%, #d4945a 25%, #d39b71 50%, #d2a288 75%, #d1a99f 100%);
        padding: 60px 0;
        position: relative;
        z-index: 1;
    }

    .blog-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .blog h2 {
        color: #2c1810;
        font-size: 3rem;
        font-weight: 300;
        letter-spacing: 4px;
    }

    .blog-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 50px;
        max-width: 1500px;
        margin: 0 auto;
    }

    .blog-card {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .blog-card:hover {
        transform: translateY(-5px);
    }

    .blog-image {
        height: 350px;
        overflow: hidden;
    }

    .blog-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .blog-content {
        padding: 40px;
        min-height: 200px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .blog-meta {
        display: flex;
        justify-content: space-between;
        margin-bottom: 20px;
        font-size: 0.95rem;
        color: #d4a574;
        font-weight: 500;
    }

    .blog-card h3 {
        font-size: 1.3rem;
        font-weight: bold;
        line-height: 1.4;
        color: #333;
        margin-bottom: 20px;
    }

    .blog-card p {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #666;
        margin-bottom: 25px;
        flex-grow: 1;
    }

    .blog-btn {
        background: #d4a574;
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 25px;
        font-size: 0.95rem;
        font-weight: bold;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
        text-align: center;
        align-self: flex-start;
    }

    .blog-btn:hover {
        background: #8b4513;
        color: white;
        text-decoration: none;
    }

    /* Admin Blog Link */
    .admin-blog-link {
        text-align: center;
        margin-top: 30px;
    }

    .admin-blog-link .admin-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: rgba(139, 69, 19, 0.15);
        color: #8b4513;
        padding: 12px 24px;
        border-radius: 25px;
        text-decoration: none;
        font-size: 0.9rem;
        font-weight: 500;
        transition: all 0.3s ease;
        border: 1px solid rgba(139, 69, 19, 0.3);
    }

    .admin-blog-link .admin-link:hover {
        background: rgba(139, 69, 19, 0.25);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(139, 69, 19, 0.2);
        color: #8b4513;
        text-decoration: none;
    }

    .admin-blog-link .admin-link i {
        font-size: 0.8rem;
    }

    /* Newsletter Section */
    .newsletter {
        background: linear-gradient(to bottom, #d1a99f 0%, #d6b5ab 25%, #dbc1b7 50%, #e0cdc3 75%, #e5d9cf 100%);
        padding: 60px 0;
        position: relative;
        z-index: 1;
    }

    .newsletter-content {
        max-width: 800px;
        margin: 0 auto;
        text-align: center;
    }

    .newsletter h2 {
        color: #2c1810;
        font-size: 2.5rem;
        font-weight: 300;
        line-height: 1.3;
        margin-bottom: 30px;
        letter-spacing: 2px;
    }

    .newsletter-form {
        background: white;
        padding: 40px;
        border-radius: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 20px;
    }

    .form-row:last-child .form-input {
        grid-column: 1;
    }

    .form-input {
        padding: 15px 20px;
        border: 2px solid #e0e0e0;
        border-radius: 30px;
        font-size: 1rem;
        transition: border-color 0.3s ease;
    }

    .form-input:focus {
        outline: none;
        border-color: #d4a574;
    }

    .email-input {
        grid-column: span 1;
    }

    .newsletter-btn {
        background: #d4a574;
        color: white;
        border: none;
        padding: 15px 30px;
        border-radius: 30px;
        font-size: 1rem;
        font-weight: bold;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s ease;
        grid-column: 2;
    }

    .newsletter-btn:hover {
        background: #8b4513;
        transform: translateY(-2px);
    }

    /* Clinics Section */
    .clinics {
        background: linear-gradient(to bottom, #e5d9cf 0%, #eae0d8 25%, #efe7e1 50%, #f4eeea 75%, #f9f5f3 100%);
        padding: 60px 0;
        position: relative;
        z-index: 1;
    }

    .clinics-header {
        text-align: center;
        margin-bottom: 40px;
    }

    .clinics h2 {
        color: #2c1810;
        font-size: 3rem;
        font-weight: 300;
        letter-spacing: 4px;
    }

    .clinics-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 60px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .clinic-card {
        background: white;
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .clinic-card:hover {
        transform: translateY(-5px);
    }

    .clinic-image {
        aspect-ratio: 16/10;
        overflow: hidden;
    }

    .clinic-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .clinic-info {
        padding: 30px;
    }

    .clinic-info h3 {
        font-size: 1.3rem;
        font-weight: bold;
        color: #8b4513;
        margin-bottom: 20px;
        letter-spacing: 1px;
    }

    .clinic-address {
        font-size: 1rem;
        line-height: 1.6;
        color: #666;
        margin-bottom: 15px;
    }

    .clinic-hours {
        font-size: 1rem;
        font-weight: bold;
        color: #d4a574;
    }

    /* Additional Responsive Styles */
    @media (max-width: 768px) {
        /* Testimonials Responsive */
        .testimonials h2 {
            font-size: 2.5rem;
            letter-spacing: 3px;
        }

        .testimonials-grid {
            grid-template-columns: 1fr;
            gap: 30px;
            max-width: 400px;
        }

        .testimonial-card {
            min-width: auto;
        }

        .testimonial-image {
            height: 300px;
        }

        .testimonial-content {
            padding: 35px 25px;
            min-height: 160px;
        }

        /* Blog Responsive */
        .blog h2 {
            font-size: 2rem;
            letter-spacing: 2px;
        }

        .blog-grid {
            grid-template-columns: 1fr;
            gap: 30px;
            max-width: 450px;
        }

        .blog-image {
            height: 280px;
        }

        .blog-content {
            padding: 30px;
            min-height: 180px;
        }

        .blog-card h3 {
            font-size: 1.2rem;
            margin-bottom: 15px;
        }

        .blog-card p {
            font-size: 1rem;
            margin-bottom: 20px;
        }

        .blog-btn {
            padding: 12px 24px;
            font-size: 0.9rem;
        }

        /* Newsletter Responsive */
        .newsletter h2 {
            font-size: 1.8rem;
            letter-spacing: 1px;
        }

        .newsletter-form {
            padding: 30px 20px;
        }

        .form-row {
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .newsletter-btn {
            grid-column: 1;
            width: 100%;
        }

        /* Clinics Responsive */
        .clinics h2 {
            font-size: 2rem;
            letter-spacing: 2px;
        }

        .clinics-grid {
            grid-template-columns: 1fr;
            gap: 40px;
            max-width: 350px;
        }
    }

    /* Hero Dynamic Background Support */
    .hero-section.hero-image {
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }

    /* Ensure particles background shows when no specific image/video is set */
    .hero-section:not(.hero-image):not(.hero-video) {
        background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3)), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="%23f5f5f5"/><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') !important;
    }

    .hero-section.hero-video {
        position: relative;
        overflow: hidden;
    }

    .hero-video-bg {
        position: absolute;
        top: 50%;
        left: 50%;
        min-width: 100%;
        min-height: 100%;
        width: auto;
        height: auto;
        transform: translateX(-50%) translateY(-50%);
        z-index: 0;
        object-fit: cover;
    }

    .hero-section.hero-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
        z-index: 1;
    }

    .hero-section.hero-video::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(45deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
        z-index: 1;
    }

/* Subtle, non-invasive card animation - transform-only */
@keyframes cardFloatSubtle {
0% { transform: translateY(0) scale(1); }
50% { transform: translateY(-6px) scale(1.01); }
100% { transform: translateY(0) scale(1); }
}

.animate-card {
animation-name: cardFloatSubtle;
animation-duration: 6.5s;
animation-iteration-count: infinite;
animation-timing-function: ease-in-out;
will-change: transform;
backface-visibility: hidden;
transform-origin: center center;
}

/* Slight staggering to avoid synchronous motion */
.animate-card:nth-child(3n) { animation-duration: 7s; }
.animate-card:nth-child(4n) { animation-duration: 7.5s; }

/* Pause on hover/focus/touch to improve UX and accessibility */
.animate-card:hover, .animate-card:focus { animation-play-state: paused; }

/* Login page styles */
.login-card {
background: #fff;
border-radius: 16px;
box-shadow: 0 20px 40px rgba(0,0,0,0.08);
padding: 32px;
border: 1px solid rgba(0,0,0,0.03);
}

.login-card h2 {
margin-bottom: 18px;
color: #8b4513;
font-weight: 600;
}

.form-group { margin-bottom: 16px; }

.form-control {
width: 100%;
padding: 12px 14px;
border-radius: 10px;
border: 1px solid #e6d7c3;
background: #fbf7f3;
transition: box-shadow 0.15s ease, transform 0.15s ease;
font-size: 0.95rem;
}

.form-control:focus {
outline: none;
box-shadow: 0 6px 18px rgba(139,69,19,0.08);
transform: translateY(-2px);
}

.btn-primary {
background: #d4a574;
color: white;
padding: 10px 18px;
border-radius: 999px;
border: none;
font-weight: 600;
cursor: pointer;
transition: background 0.15s ease, transform 0.12s ease;
}

.btn-primary:hover { background: #b88452; transform: translateY(-2px); }

.login-container { display:flex; align-items:center; justify-content:center; min-height:70vh; }

@media (max-width: 480px) {
.login-card { padding: 20px; }
.login-container { padding: 20px; }
}