/* Scroll animations are defined in assets/css/main.css */

    /* Responsive Home Banner Carousel */
    .home-banner-carousel {
        position: relative;
        width: 100%;
        overflow: hidden;
        background-color: #EDF2F7;
    }

    .home-banner-track {
        display: flex;
        width: 100%;
        transition: transform 0.65s ease-in-out;
        will-change: transform;
    }

    .home-banner-slide {
        min-width: 100%;
        flex: 0 0 100%;
    }

    .home-banner-slide picture,
    .home-banner-slide img {
        display: block;
        width: 100%;
    }

    .home-banner-slide img {
        height: 500px;
        object-fit: cover;
    }

    .home-banner-dots {
        position: absolute;
        left: 50%;
        bottom: 12px;
        z-index: 2;
        display: flex;
        gap: 8px;
        transform: translateX(-50%);
    }

    .home-banner-dot {
        width: 10px;
        height: 10px;
        padding: 0;
        border: 2px solid #FFFFFF;
        border-radius: 50%;
        background-color: rgba(26, 54, 93, 0.45);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        transition: width 0.25s ease, border-radius 0.25s ease, background-color 0.25s ease;
    }

    .home-banner-dot.active {
        width: 26px;
        border-radius: 10px;
        background-color: #1A365D;
    }

    /* Home Page Inline Styles */
    .section {
        padding: 80px 20px;
        max-width: 1200px;
        margin: 0 auto;
    }

    .section-title {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 22px;
        font-weight: 700;
        color: #1A365D;
        text-align: center;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 18px;
        color: #666;
        text-align: center;
        margin-bottom: 50px;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    /* About Doctor Section */
    .about-doctor {
        background-color: #F5F5F5;
        padding: 80px 20px;
    }

    .doctor-container {
        max-width: 1100px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1fr 2fr;
        gap: 50px;
        align-items: center;
    }

    .doctor-image {
        width: 100%;
        border-radius: 15px;
        box-shadow: 0 10px 40px rgba(0,0,0,0.15);
        background-color: transparent;
        aspect-ratio: 3/3.5;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        overflow: hidden;
    }

    .doctor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        border-radius: 15px;
    }

    .doctor-info h2 {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 32px;
        font-weight: 700;
        color: #1A365D;
        margin-bottom: 10px;
    }

    .doctor-credentials {
        font-size: 18px;
        color: #2C5282;
        font-weight: 600;
        margin-bottom: 15px;
    }

    .experience-badge {
        display: inline-block;
        background-color: #3182CE;
        color: #FFFFFF;
        padding: 10px 25px;
        border-radius: 50px;
        font-weight: 600;
        margin-bottom: 25px;
    }

    .doctor-info p {
        font-size: 16px;
        line-height: 1.8;
        color: #333;
        margin-bottom: 15px;
        text-align: justify !important;
        text-justify: inter-word;
    }

    .specializations {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 25px;
    }

    .specialization-tag {
        background-color: #EDF2F7;
        color: #1A365D;
        padding: 8px 18px;
        border-radius: 25px;
        font-size: 14px;
        font-weight: 500;
    }

    /* Home clinic promo banner (above services) */
    .home-clinic-banner-section {
        padding: 40px 20px 10px;
        background-color: #FFFFFF;
    }

    .home-clinic-banner-wrap {
        max-width: 1200px;
        margin: 0 auto;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 28px rgba(26, 54, 93, 0.12);
        line-height: 0;
    }

    .home-clinic-banner-wrap picture,
    .home-clinic-banner-wrap img {
        display: block;
        width: 100%;
        height: auto;
    }

    /* Services Grid */
    .services-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
        margin-top: 50px;
    }

    .service-card {
        background-color: #FFFFFF;
        border: 2px dotted #E0E0E0;
        border-radius: 15px;
        padding: 35px 25px;
        text-align: center;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .service-card:hover {
        border-color: #3182CE;
        border-style: dotted;
        transform: translateY(-10px);
        box-shadow: 0 15px 40px rgba(49, 130, 206, 0.18);
    }

    .service-icon {
        width: 200px;
        height: 200px;
        margin: 0 auto 20px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 12px;
    }

    .service-icon img {
        width: 200px;
        height: 200px;
        object-fit: cover;
        display: block;
    }

    .service-icon lottie-player {
        width: 100%;
        height: 100%;
    }

    .service-card h3 {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 18px;
        font-weight: 600;
        color: #1A365D;
        margin-bottom: 15px;
    }

    .service-card p {
        font-size: 15px;
        color: #666;
        line-height: 1.6;
        text-align: justify;
    }

    .service-card p.on-site-facilities {
        color: #2C5282;
    }

    /* Why Choose Us */
    .why-choose-us {
        background-color: #EDF2F7;
        color: #1A365D;
        padding: 80px 20px;
    }

    .features-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
        margin-top: 50px;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-item {
        text-align: center;
        border: none;
        border-radius: 0;
        padding: 20px 15px;
        background-color: transparent;
        transition: all 0.3s ease;
    }

    .feature-item:hover {
        border: none;
        background-color: transparent;
        box-shadow: none;
        transform: translateY(-4px);
    }

    .feature-icon {
        width: 260px;
        height: 260px;
        margin: 0 auto 20px auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .feature-icon img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .feature-item h3 {
        font-family: 'Plus Jakarta Sans', sans-serif;
        font-size: 15px;
        font-weight: 600;
        color: #1A365D;
        margin-bottom: 15px;
    }

    .feature-item p {
        font-size: 16px;
        color: #333;
        line-height: 1.7;
        text-align: justify;
    }

    /* Testimonials */
    .testimonials-section {
        background: linear-gradient(135deg, rgba(232, 245, 233, 0.5) 0%, rgba(255, 255, 255, 1) 100%);
        padding: 80px 20px;
    }

    .testimonials-container {
        overflow: hidden;
        margin-top: 50px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
        position: relative;
    }

    .testimonials-grid {
        display: flex;
        gap: 30px;
        animation: scroll-right 60s linear infinite;
        width: fit-content;
    }

    .testimonials-grid.mobile {
        flex-direction: column;
        animation: none;
        gap: 20px;
    }

    .testimonial-card {
        min-width: 300px;
        max-width: 300px;
        flex-shrink: 0;
        width: 300px;
    }

    @keyframes scroll-right {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

    @media (max-width: 768px) {
        .testimonials-container {
            overflow: hidden;
            position: relative;
            height: 400px;
        }

        .testimonials-grid {
            display: block;
            animation: none;
            position: relative;
            height: 100%;
        }

        .testimonial-card {
            min-width: 100%;
            width: 100%;
            opacity: 0;
            transform: translateX(20px);
            transition: opacity 0.8s ease, transform 0.8s ease;
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            margin: 0;
        }

        .testimonial-card.active {
            opacity: 1;
            transform: translateX(0);
            position: relative;
        }
    }

    .testimonial-card {
        background-color: #FFFFFF;
        padding: 35px 30px;
        border-radius: 15px;
        border: 2px dotted rgba(76, 175, 80, 0.3);
        box-shadow: 0 5px 20px rgba(76, 175, 80, 0.1);
        position: relative;
        transition: all 0.3s ease;
    }

    .testimonial-card:hover {
        border-color: rgba(76, 175, 80, 0.6);
        box-shadow: 0 10px 30px rgba(49, 130, 206, 0.18);
        transform: translateY(-5px);
    }

    .quote-icon {
        font-size: 50px;
        color: #3182CE;
        opacity: 0.2;
        position: absolute;
        top: 15px;
        left: 20px;
        font-family: 'Georgia', serif;
    }

    .testimonial-text {
        font-size: 16px;
        color: #333;
        line-height: 1.8;
        margin-bottom: 25px;
        font-style: italic;
        position: relative;
        z-index: 1;
        text-align: justify;
        padding-top: 10px;
    }

    .testimonial-author {
        font-weight: 600;
        color: #1A365D;
        font-size: 16px;
        margin-bottom: 8px;
        display: block;
    }

    .testimonial-rating {
        color: #FFD700;
        font-size: 18px;
        margin-top: 10px;
    }

    /* Appointment Booking Banner */
    .appointment-booking-banner {
        width: 100%;
        overflow: hidden;
        background-color: #EDF2F7;
    }

    .appointment-booking-banner .home-banner-slide picture,
    .appointment-booking-banner .home-banner-slide img {
        display: block;
        width: 100%;
    }

    .appointment-booking-banner .home-banner-slide img {
        height: auto;
    }

    /* Tablet Responsive */
    @media (max-width: 1024px) {
        .doctor-container {
            grid-template-columns: 1fr 1.5fr;
            gap: 40px;
        }

        .services-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }

        .features-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 30px;
        }

    }

    /* Mobile Responsive */
    @media (max-width: 768px) {
        .home-banner-slide img {
            height: auto;
            aspect-ratio: 1 / 1;
        }

        .home-banner-dots {
            bottom: 10px;
        }

        .appointment-booking-banner .home-banner-slide img {
            aspect-ratio: 1 / 1;
            object-fit: contain;
        }
    }

    /* Responsive Design */
    @media (max-width: 768px) {
        .doctor-container {
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .section {
            padding: 50px 20px;
        }

        .home-clinic-banner-section {
            padding: 24px 15px 8px;
        }

        .home-clinic-banner-wrap {
            border-radius: 12px;
        }

        .section-title {
            font-size: 18px;
        }

        .services-grid,
        .features-grid {
            grid-template-columns: 1fr;
        }

        .about-doctor {
            padding: 50px 20px;
        }

        .section-subtitle {
            font-size: 16px;
        }

        .why-choose-us {
            padding: 50px 20px;
        }

        .feature-icon {
            width: 200px;
            height: 200px;
        }

        .testimonials-section {
            padding: 50px 20px;
        }
    }
