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

:root {
    --primary: #00a8a8;
    --secondary: #0e7c86;
    --accent: #ff6b6b;
    --dark: #1a1a1a;
    --light: #f8fafb;
    --text: #333;
    --border: #e0e0e0;
    --shadow: 0 10px 30px rgba(0, 168, 168, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: #fff;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo::before {
    content: "🦷";
    font-size: 2rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.cta-btn {
    background: var(--primary);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary);
}

.cta-btn:hover {
    background: transparent;
    color: var(--primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    background: none;
    border: none;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    margin-top: 70px;
    color: white;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

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

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero-bg-image.active {
    opacity: 1;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(14, 124, 134, 0.75) 0%, rgba(0, 168, 168, 0.65) 100%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-content {
    animation: slideUpLeft 0.8s ease;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
}

.stat {
    text-align: left;
}

.stat h3 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stat p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
}

/* Stats counter animation styles */
.stat h3 {
    transition: all 0.3s ease;
}

.stat-number {
    display: inline-block;
    font-weight: 900;
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes slideUpLeft {
    from {
        opacity: 0;
        transform: translateY(30px) translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0);
    }
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Hero Carousel */
.hero-carousel {
    animation: slideUpRight 0.8s ease;
}

.carousel-main {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.carousel-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    display: block;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--primary);
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    color: var(--secondary);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* Section Styles */
section {
    padding: 5rem 2rem;
}

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

section h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    color: var(--dark);
    text-align: center;
}

.section-subtitle {
    text-align: center;
    color: var(--primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 3rem;
}

/* Services Section */
#services {
    background: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.service-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.service-card h3 {
    color: var(--secondary);
    margin: 1.5rem 1.5rem 0 1.5rem;
    font-size: 1.3rem;
}

.service-card p {
    color: #666;
    line-height: 1.8;
    padding: 0.8rem 1.5rem 1.5rem 1.5rem;
    margin: 0;
    flex-grow: 1;
    font-size: 0.95rem;
}

/* Doctor Section */
#doctor {
    background: white;
}

.doctor-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.doctor-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.doctor-badge {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background: var(--primary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
}

.doctor-info h3 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.doctor-title {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.doctor-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1rem;
}

.qualifications {
    background: var(--light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.qualifications h4 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.qualifications ul {
    list-style: none;
}

.qualifications li {
    padding: 0.5rem 0;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

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

/* Clinic Section */
#clinic {
    background: var(--light);
}

.clinic-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.clinic-info h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.clinic-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.clinic-features {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    font-size: 2rem;
    min-width: 50px;
}

.feature h4 {
    color: var(--secondary);
    margin-bottom: 0.3rem;
}

.feature p {
    color: #666;
    margin: 0;
}

.clinic-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.clinic-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 250px;
}

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

/* Before & After */
#beforeafter {
    background: white;
    padding: 5rem 2rem;
}

.ba-carousel-wrapper {
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 15px;
    padding: 2rem 0;
}

.ba-carousel {
    display: flex;
    animation: scrollRight 60s linear infinite;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

@keyframes scrollRight {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.ba-carousel-item {
    min-width: 300px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.ba-carousel-item:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.ba-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Testimonials */
#testimonials {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

#testimonials h2 {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
}

.author-info h4 {
    margin: 0;
    font-weight: 600;
}

.author-info p {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Contact Section */
#contact {
    background: var(--light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-item-icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Footer */
footer {
    background: var(--dark);
    color: white;
    text-align: center;
    padding: 2rem;
}

footer p {
    margin: 0;
    opacity: 0.9;
}

/* Services Text Carousel */
.services-text-carousel-section {
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--primary) 100%);
    padding: 2rem 0;
    overflow: hidden;
    position: relative;
}

.services-text-carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.services-text-carousel {
    display: flex;
    animation: scrollTextLeft 60s linear infinite;
    gap: 3rem;
    padding: 1rem 0;
    white-space: nowrap;
    align-items: center;
}

@keyframes scrollTextLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.service-text-item {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    flex-shrink: 0;
    cursor: default;
}

.service-text-item::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    margin-right: 0.5rem;
}

/* Gallery Carousel Section */
.gallery-carousel-section {
    background: linear-gradient(180deg, var(--light) 0%, white 100%);
    padding: 4rem 2rem;
    overflow: hidden;
}

.gallery-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.gallery-carousel {
    display: flex;
    animation: scrollLeft 80s linear infinite;
    gap: 1.5rem;
    padding: 1.5rem;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.gallery-item {
    min-width: 280px;
    height: 280px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0, 168, 168, 0.25);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366 0%, #20ba5b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 5px 30px rgba(37, 211, 102, 0.4);
    z-index: 999;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    width: 70px;
    height: 70px;
    box-shadow: 0 8px 40px rgba(37, 211, 102, 0.6);
    transform: scale(1.1);
}

.whatsapp-float i {
    animation: pulse 2s ease-in-out infinite;
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.whatsapp-tooltip {
    position: absolute;
    background: white;
    color: #25d366;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    left: -120px;
    top: 50%;
    transform: translateY(-50%) scale(0);
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* Responsive WhatsApp Button */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 1.8rem;
    }

    .whatsapp-float:hover {
        width: 65px;
        height: 65px;
    }

    .whatsapp-tooltip {
        left: -100px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
        font-size: 1.5rem;
    }

    .whatsapp-float:hover {
        width: 60px;
        height: 60px;
    }

    .whatsapp-tooltip {
        left: -90px;
        font-size: 0.75rem;
    }

    .gallery-carousel-section {
        padding: 2rem 1rem;
    }

    .gallery-carousel {
        gap: 0.8rem;
        padding: 0.8rem;
    }

    .gallery-item {
        min-width: 200px;
        height: 200px;
    }

    .services-text-carousel-section {
        padding: 1rem 0;
    }

    .services-text-carousel {
        gap: 1rem;
        padding: 0.6rem 0;
    }

    .service-text-item {
        font-size: 0.85rem;
        padding: 0.2rem 0.6rem;
    }

    @keyframes scrollLeft {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

    @keyframes scrollTextLeft {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-text-carousel {
        gap: 2rem;
    }

    .service-text-item {
        font-size: 1.1rem;
        padding: 0.4rem 1rem;
    }

    .nav-container {
        padding: 1rem;
    }

    nav ul {
        gap: 1.5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .carousel-main {
        height: 400px;
    }

    .doctor-container,
    .clinic-content {
        gap: 2rem;
    }

    .clinic-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        max-height: 400px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    nav li {
        padding: 0;
    }

    nav a {
        display: block;
        padding: 1rem 2rem;
        color: var(--text);
    }

    nav a::after {
        bottom: 0;
        height: 3px;
    }

    .cta-btn {
        display: none;
    }

    .services-text-carousel-section {
        padding: 1.5rem 0;
    }

    .services-text-carousel {
        gap: 1.5rem;
        padding: 0.8rem 0;
    }

    .service-text-item {
        font-size: 0.95rem;
        padding: 0.3rem 0.8rem;
    }

    .hero {
        margin-top: 70px;
        padding: 3rem 1.5rem;
        min-height: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

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

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

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

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

    .carousel-main {
        height: 350px;
    }

    .carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .ba-carousel-wrapper {
        padding: 1.5rem 0;
        margin: 2rem 0;
    }

    .ba-carousel {
        gap: 1rem;
        padding: 0 1rem;
    }

    .ba-carousel-item {
        min-width: 250px;
        height: 250px;
    }

    .gallery-carousel-section {
        padding: 3rem 1.5rem;
    }

    .gallery-carousel {
        gap: 1rem;
        padding: 1rem;
    }

    .gallery-item {
        min-width: 240px;
        height: 240px;
    }

    section {
        padding: 3rem 1.5rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .service-image {
        height: 150px;
    }

    .service-card h3 {
        font-size: 1.1rem;
        margin: 1rem 1rem 0 1rem;
    }

    .service-card p {
        padding: 0.6rem 1rem 1rem 1rem;
        font-size: 0.9rem;
    }

    .doctor-container,
    .clinic-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctor-image {
        border-radius: 15px;
    }

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

    .clinic-image {
        height: 200px;
    }

    .ba-carousel-item {
        min-width: 280px;
        height: 280px;
    }

    @keyframes scrollRight {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

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

    .contact-item {
        gap: 1rem;
    }

    .submit-btn {
        padding: 0.8rem;
        font-size: 0.95rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.4rem;
    }

    .logo::before {
        font-size: 1.6rem;
    }

    .hero {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .hero-container {
        gap: 1.5rem;
    }

    .hero h1 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        border-top: none;
        padding-top: 0;
    }

    .stat {
        text-align: center;
    }

    .stat h3 {
        font-size: 1.8rem;
    }

    .stat p {
        font-size: 0.8rem;
    }

    .carousel-main {
        height: 300px;
    }

    .carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .ba-carousel-wrapper {
        padding: 1rem 0;
        margin: 1.5rem 0;
    }

    .ba-carousel {
        gap: 0.8rem;
        padding: 0 0.8rem;
    }

    .ba-carousel-item {
        min-width: 200px;
        height: 200px;
    }

    @keyframes scrollRight {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }

    section h2 {
        font-size: 1.6rem;
    }

    .section-subtitle {
        font-size: 0.85rem;
    }

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

    .service-image {
        height: 180px;
    }

    .service-card h3 {
        font-size: 1.1rem;
    }

    .service-card p {
        font-size: 0.85rem;
    }

    .doctor-info h3 {
        font-size: 1.8rem;
    }

    .clinic-info h3 {
        font-size: 1.6rem;
    }

    .feature {
        gap: 0.8rem;
    }

    .feature-icon {
        font-size: 1.5rem;
    }

    .ba-label {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }

    .testimonial-text {
        font-size: 0.85rem;
    }

    .contact-item-icon {
        font-size: 1.5rem;
    }

    .contact-item h4 {
        font-size: 0.95rem;
    }

    .contact-item p {
        font-size: 0.85rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem;
        font-size: 0.95rem;
    }

    .form-group label {
        font-size: 0.9rem;
    }
}
