/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
}

html {
    scroll-behavior: smooth;
}

/* Ensure smooth scrolling works across all browsers */
* {
    scroll-behavior: smooth;
}

/* Floating Contact Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: auto;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: float 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
    opacity: 1 !important;
    visibility: visible !important;
}

.floating-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.floating-btn:hover::before {
    transform: scale(1);
}

.floating-btn:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.floating-btn.phone {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.floating-btn.phone:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.floating-btn.whatsapp:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
}

.floating-btn .tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-btn .tooltip::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    border-left: 5px solid rgba(0, 0, 0, 0.8);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

.floating-btn:hover .tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Mobile responsive for floating buttons */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 80px;
        right: 15px;
        gap: 8px;
        z-index: 9999;
    }
    
    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        pointer-events: auto;
    }
    
    .floating-btn:hover {
        transform: translateY(-3px) scale(1.05);
    }
    
    .floating-btn:active {
        transform: scale(0.9);
        transition: transform 0.1s ease;
    }
    
    .floating-btn .tooltip {
        display: none;
    }

    /* Ensure hero CTA remains clickable on mobile by disabling overlays */
    .hero-carousel .carousel-image,
    .hero-carousel .carousel-card,
    .hero-carousel .carousel-video {
        pointer-events: none;
        z-index: 1;
    }
    .hero-carousel .carousel-text,
    .hero-carousel .carousel-buttons .btn {
        position: relative;
        z-index: 3000;
        pointer-events: auto;
    }

    /* Hide 'Our Services' button but keep its space on mobile */
    .hero-carousel .carousel-buttons .btn.btn-secondary {
        visibility: hidden;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .floating-buttons {
        bottom: 70px;
        right: 10px;
        gap: 6px;
    }
    
    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        pointer-events: auto;
    }
    
    .floating-btn:active {
        transform: scale(0.9);
        transition: transform 0.1s ease;
    }
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #0c4a6e;
    overflow-x: hidden;
    background: linear-gradient(135deg, #008080 0%, #20B2AA 50%, #48D1CC 100%);
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    background-image: 
        radial-gradient(1px 1px at 50px 50px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 150px 150px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 250px 100px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 350px 200px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 450px 50px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 550px 150px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 650px 100px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 750px 200px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 850px 50px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(1px 1px at 950px 150px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 1050px 100px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 1150px 200px, rgba(255, 255, 255, 0.5), transparent);
    background-repeat: repeat;
    background-size: 1200px 300px;
    background-position: center;
    animation: float 12s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    opacity: 1;
    visibility: visible;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(128, 0, 128, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(128, 0, 128, 0.2);
    box-sizing: border-box;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-container {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.nav-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    max-width: 80px;
    max-height: 80px;
    padding-right: 10px;
    padding-left: 20px;
}

.logo-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: #20B2AA;
    font-size: 2rem;
}

.logo-text h2 {
    color: #f8f6f0;
    font-size: 1.2rem;
    font-weight: 700;
    margin-left: 20px;
    white-space: nowrap;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: nowrap;
}

.nav-link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    padding: 8px 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: #20B2AA;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #38bdf8;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Dropdown Menu Styling */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    position: relative;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.7rem;
    margin-left: 5px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    opacity: 1;
    transform: translateY(-1px) rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(45, 27, 61, 0.98);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dropdown-link {
    display: block;
    padding: 12px 20px;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.dropdown-link:last-child {
    border-bottom: none;
}

.dropdown-link:hover {
    background: rgba(32, 178, 170, 0.2);
    color: #20B2AA;
    transform: translateX(5px);
    padding-left: 25px;
}

.dropdown-link::before {
    content: '🏥';
    margin-right: 8px;
    font-size: 0.8rem;
}

.dropdown-link:hover::before {
    transform: scale(1.2);
}

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

.bar {
    width: 25px;
    height: 3px;
    background: #f8f6f0;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hamburger animation */
.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Carousel Section */
.hero-carousel {
    min-height: 100vh;
    background: linear-gradient(135deg, #006666 0%, #008080 50%, #20B2AA 100%);
    position: relative;
    overflow: hidden;
    color: white;
    padding: 120px 0 20px 0;
}

.hero-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 40px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 90px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 130px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 160px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 200px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 240px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 280px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 320px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 360px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 400px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 440px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 480px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 520px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 560px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 600px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 640px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 680px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 720px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 760px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 800px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 840px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 880px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 920px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 960px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 1000px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 1040px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 1080px 80px, #ffffff, transparent),
        radial-gradient(2px 2px at 1120px 30px, #ffffff, transparent),
        radial-gradient(2px 2px at 1160px 70px, #ffffff, transparent),
        radial-gradient(1px 1px at 1200px 40px, #ffffff, transparent),
        radial-gradient(1px 1px at 1240px 80px, #ffffff, transparent);
    background-repeat: repeat;
    background-size: 1200px 100px;
    animation: sparkle 8s linear infinite;
    opacity: 0.6;
    z-index: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    min-height: calc(160vh - 140px);
    padding-top: 20px;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 102, 102, 0.05) 0%, rgba(32, 178, 170, 0.05) 100%);
    backdrop-filter: blur(5px);
    overflow: hidden;
    padding: 20px 0;
}

.carousel-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 200px 70px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 250px 50px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 300px 100px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 350px 20px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 400px 80px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 450px 40px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 500px 90px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 550px 10px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 600px 60px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 650px 30px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 700px 70px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 750px 50px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 800px 20px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 850px 80px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 900px 40px, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 950px 100px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 1000px 30px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 1050px 70px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 1100px 50px, rgba(255, 255, 255, 0.5), transparent);
    background-size: 1200px 120px;
    animation: sparkleMove 8s linear infinite;
    z-index: 0;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(3px 3px at 150px 150px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 300px 300px, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 450px 450px, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 600px 600px, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 750px 750px, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(3px 3px at 900px 900px, rgba(255, 255, 255, 0.7), transparent);
    background-size: 1000px 1000px;
    animation: sparkleFloat 12s ease-in-out infinite;
    z-index: 0;
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
    animation: slideGlow 2s ease-in-out infinite alternate;
}

.carousel-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    position: relative;
    margin-top: 2rem;
    width: 100%;
}

.carousel-text {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 4rem 3rem 3rem 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    /* display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem; */
    align-items: center;
    max-width: 1200px;
    width: 100%;
    min-height: 500px;
    margin-top: 2rem;
}

.carousel-text h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1s ease;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    hyphens: auto;
}

.carousel-text h2 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: #f0f9ff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1s ease 0.2s both;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.carousel-text p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: #e0f2fe;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease 0.4s both;
    line-height: 1.6;
    font-weight: 400;
}

.carousel-buttons {
    display: flex;
    gap: 1.2rem;
    animation: fadeInUp 1s ease 0.6s both;
    margin-bottom: 1.5rem;
}

/* Ensure hero CTA button rows sit above any overlays and are clickable */
.hero-carousel .carousel-buttons {
    position: relative;
    z-index: 3000;
    pointer-events: auto;
}

.carousel-buttons .btn {
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Ensure hero "Book Appointment" button is always clickable on mobile */
.carousel-buttons .btn,
.book-appointment-btn {
    position: relative;
    z-index: 2005;
    pointer-events: auto;
}

.carousel-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.8s both;
    width: 100%;
    height: 100%;
}

.carousel-text .carousel-image {
    animation: fadeInRight 1s ease 0.8s both;
    margin: 0;
}

.carousel-text .carousel-card {
    min-height: 300px;
    max-width: 400px;
    margin: 0;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.carousel-text .hero-stats {
    margin-top: 1.5rem;
    gap: 2rem;
    display: flex;
    justify-content: flex-start;
}

.carousel-text .stat-item {
    padding: 0.8rem 1rem;
    min-width: 90px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

.carousel-text .stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.carousel-text .stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
    color: #ffffff;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-text .stat-item p {
    font-size: 0.9rem;
    color: #e0f2fe;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.carousel-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(15px);
    padding: 0;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 350px;
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.carousel-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 0;
}

.carousel-card > * {
    position: relative;
    z-index: 3;
}

.carousel-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    border-radius: 25px;
    transition: transform 0.3s ease;
}

.carousel-card:hover .carousel-video {
    transform: scale(1.05);
}

.carousel-card-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    background: rgba(12, 74, 110, 0.8);
    border-radius: 15px;
    margin: 1rem;
    backdrop-filter: blur(10px);
}



.carousel-card:hover {
    transform: translateY(-5px);
}

.carousel-card i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.carousel-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(186, 230, 253, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.carousel-btn:hover {
    background: rgba(186, 230, 253, 0.3);
    transform: scale(1.1);
}

.carousel-btn i {
    font-size: 1.2rem;
}

.carousel-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(248, 246, 240, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #38bdf8;
    transform: scale(1.2);
}

/* Hero Section (for backward compatibility) */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #006666 0%, #008080 50%, #20B2AA 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

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

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #000000;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 1s ease;
}

.hero-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: fadeInUp 1s ease 0.6s both;
}

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

.btn-primary {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 35px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary::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.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #FF5252 0%, #FF7043 100%);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.6);
}

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

.btn-secondary:hover {
    background: #38bdf8;
    color: #0c4a6e;
    transform: translateY(-2px);
}

.hero-image {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease 0.8s both;
}

.hero-card {
    background: rgba(186, 230, 253, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(186, 230, 253, 0.2);
    text-align: center;
    transition: transform 0.3s ease;
}

.hero-card:hover {
    transform: translateY(-10px);
}

.hero-card i {
    font-size: 4rem;
    margin-bottom: 1rem;
    color: #fbbf24;
}

.hero-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    z-index: 1;
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1s ease 1s both;
    padding: 1rem;
    min-width: 120px;
}

.stat-item h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #38bdf8;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.3;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    opacity: 1;
    visibility: visible;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #1e293b;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #bae6fd 0%, #7dd3fc 50%, #38bdf8 100%);
}

.about-content {
    display: block;
    width: 100%;
}

/* Special Doctor Card for Dr. Sanjeev Kumar Tiriya */
.special-doctor-card {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(12, 74, 110, 0.15);
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.special-doctor-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 25px 50px rgba(12, 74, 110, 0.2);
}

.special-doctor-avatar {
    width: 200px;
    height: 200px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    flex-shrink: 0;
}

.special-doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

.special-doctor-card:hover .special-doctor-photo {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.15);
}

.special-doctor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
}

.special-doctor-info h3 {
    color: #2d1b3d;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
}

.special-doctor-info p {
    color: #4b5563;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
}

.special-qualification {
    font-weight: 600;
    color: #0c4a6e !important;
    font-size: 1.1rem !important;
}

.special-speciality {
    font-weight: 600;
    color: #059669 !important;
    font-size: 1.1rem !important;
}

.special-experience {
    font-weight: 600;
    color: #dc2626 !important;
    font-size: 1.1rem !important;
}

.special-introduction {
    margin: 1.5rem 0;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    border-left: 4px solid #0c4a6e;
}

.special-introduction p {
    margin-bottom: 1rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #374151;
}

.special-introduction p:last-child {
    margin-bottom: 0;
}

.special-availability {
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.special-availability strong {
    color: #0c4a6e;
    font-size: 1.1rem;
}

.special-availability ul {
    margin: 0.5rem 0 0 0;
    padding-left: 1.5rem;
}

.special-availability li {
    margin-bottom: 0.3rem;
    color: #4b5563;
    font-size: 0.95rem;
}

/* Team Heading */
.team-heading {
    text-align: center;
    margin: 3rem 0 2rem 0;
    padding: 2rem 0;
    position: relative;
}

.team-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #0c4a6e, #0284c7);
    border-radius: 2px;
}

.team-heading h2 {
    font-size: 2.5rem;
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.team-heading p {
    font-size: 1.2rem;
    color: #4b5563;
    margin: 0;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.about-text h3 {
    font-size: 2rem;
    color: #0c4a6e;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #6b7280;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* Inline Doctor Profile Styles */
.doctor-profile {
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.doctor-profile-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.doctor-photo-inline {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.doctor-photo-inline-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.doctor-photo-inline:hover .doctor-photo-inline-img {
    transform: scale(1.05);
}

.doctor-info-inline {
    flex: 1;
}

.doctor-info-inline h4 {
    color: #0c4a6e;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.doctor-info-inline p {
    color: #6b7280;
    font-size: 1.05rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.qualifications, .clinic-info {
    margin-bottom: 2rem;
}

.qualifications h4, .clinic-info h4 {
    color: #0c4a6e;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.qualifications ul {
    list-style: none;
}

.qualifications li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.qualifications i {
    color: #0284c7;
    width: 20px;
}

.clinic-info p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #6b7280;
}

.clinic-info i {
    color: #0284c7;
    width: 20px;
}

/* Responsive Design for Special Doctor Card */
@media (max-width: 768px) {
    .special-doctor-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }
    
    .special-doctor-avatar {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .special-doctor-info {
        text-align: center;
    }
    
    .special-doctor-info h3 {
        font-size: 1.5rem;
    }
    
    .special-introduction {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .special-introduction p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .special-doctor-card {
        padding: 1rem;
        gap: 1rem;
    }
    
    .special-doctor-avatar {
        width: 120px;
        height: 120px;
    }
    
    .special-doctor-info h3 {
        font-size: 1.3rem;
    }
    
    .special-introduction {
        padding: 0.8rem;
    }
    
    .special-introduction p {
        font-size: 0.85rem;
    }
    
    .team-heading {
        margin: 2rem 0 1.5rem 0;
        padding: 1.5rem 0;
    }
    
    .team-heading h2 {
        font-size: 2rem;
    }
    
    .team-heading p {
        font-size: 1rem;
    }
}

/* Responsive Design for Doctor Cards */
@media (max-width: 1200px) {
    .doctors-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .doctors-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .doctor-card {
        flex-direction: column !important;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
        min-height: auto;
    }
    
    .doctor-avatar {
        width: 100px;
        height: 100px;
        margin: 0 auto;
        order: 1 !important;
    }
    
    .doctor-info {
        text-align: center;
        order: 2 !important;
    }
    
    .doctor-card h3 {
        font-size: 1.1rem;
    }
    
    .doctor-card p {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .doctor-card {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .doctor-avatar {
        width: 100px;
        height: 100px;
    }
    
    .doctor-card h3 {
        font-size: 1rem;
    }
    
    .doctor-card p {
        font-size: 0.8rem;
    }
}

/* Responsive Design for Inline Doctor Profiles */
@media (max-width: 768px) {
    .doctor-profile-header {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .doctor-photo-inline {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .doctor-info-inline h4 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .doctor-profile {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
}

.doctors-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-content: center;
    width: 100%;
}

.doctor-card {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 50%, #7dd3fc 100%);
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(12, 74, 110, 0.1);
    transition: transform 0.3s ease;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transform: scale(1.0);
    width: 100%;
}

.doctor-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.doctor-avatar {
    width: 120px;
    height: 120px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    flex-shrink: 0;
    order: 1;
}

.doctor-avatar i {
    font-size: 4rem;
    color: white;
}

.doctor-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    transition: all 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

.doctor-card:hover .doctor-photo {
    transform: scale(1.03);
    filter: brightness(1.1) contrast(1.15);
}

.doctor-card:hover .doctor-avatar {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.doctor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    order: 2;
    min-width: 0;
    text-align: center;
    width: 100%;
}

.doctor-card h3 {
    color: #2d1b3d;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.doctor-card p {
    color: #6b7280;
    margin-bottom: 0.3rem;
    font-size: 0.85rem;
    line-height: 1.4;
}

.doctor-card p:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: #4b5563;
}

/* Vertical layout for doctor cards */
.doctor-card > * {
    display: block;
}

.doctor-card .doctor-avatar,
.doctor-card .doctor-info {
    display: flex !important;
}

/* Services Section */
.services {
    padding: 120px 0;
    background: linear-gradient(135deg, #d1e7ff 0%, #e6f2ff 50%, #d8d8f0 100%);
    position: relative;
    z-index: 1;
}

.services .container {
    position: relative;
    z-index: 3;
    opacity: 1;
    visibility: visible;
}

.services {
    opacity: 1 !important;
    transform: none !important;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%232d1b3d" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.services-section {
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
    opacity: 1;
    visibility: visible;
}

.services-section:last-child {
    margin-bottom: 0;
}

.section-subtitle {
    font-size: 2.2rem;
    color: #2d1b3d;
    margin-bottom: 3rem;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #8a2be2 0%, #87ceeb 100%);
    border-radius: 2px;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 2rem;
    border-radius: 25px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    opacity: 1;
    visibility: visible;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8a2be2 0%, #87ceeb 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(0, 0, 0, 0.2);
}

/* Comprehensive Services Card */
.comprehensive-services-card {
    margin-top: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(32, 178, 170, 0.2);
}

.comprehensive-services-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #20B2AA, #48D1CC, #20B2AA);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.comprehensive-services-content {
    padding: 2.5rem;
}

.language-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 2rem;
    position: relative;
}

.language-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #20B2AA, #48D1CC);
    border-radius: 2px;
}

.services-points-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.services-points-hindi,
.services-points-english {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(32, 178, 170, 0.2);
}

.services-points-hindi h4,
.services-points-english h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0c4a6e;
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.services-points-hindi h4::after,
.services-points-english h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: #20B2AA;
    border-radius: 1px;
}

.services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.services-list li {
    position: relative;
    padding: 0.8rem 0 0.8rem 2.5rem;
    margin-bottom: 0.8rem;
    font-size: 1rem;
    line-height: 1.6;
    color: #2c3e50;
    border-bottom: 1px solid rgba(32, 178, 170, 0.1);
    transition: all 0.3s ease;
}

.services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.8rem;
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #20B2AA, #48D1CC);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(32, 178, 170, 0.3);
}

.services-list li:hover {
    color: #0c4a6e;
    transform: translateX(5px);
    background: rgba(32, 178, 170, 0.05);
    border-radius: 8px;
    padding-left: 3rem;
}

.services-list li:hover::before {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(32, 178, 170, 0.4);
}

.service-icon {
    width: 200px;
    height: 200px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    overflow: hidden;
    border: 3px solid rgba(0, 0, 0, 0.15);
}

.service-card:hover .service-icon {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-icon i {
    font-size: 2.5rem;
    color: white;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 50%;
    background: transparent;
    transition: all 0.3s ease;
    padding: 10px;
    border: none;
}

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

.service-card h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.service-card p {
    color: #374151;
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Service card technology badge */
.service-tech-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #87ceeb 0%, #5f9ea0 100%);
    color: #2d1b3d;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.service-card:hover .service-tech-badge {
    opacity: 1;
    transform: translateY(0);
}

/* Centers Section */
.centers {
    padding: 100px 0;
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 50%, #e6e6fa 100%);
}

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

.center-card {
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 50%, #e6e6fa 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(45, 27, 61, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.center-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(45, 27, 61, 0.15);
    border-color: #8a2be2;
}

.center-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.center-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2d1b3d 0%, #4c1d95 50%, #8a2be2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.center-icon i {
    font-size: 1.5rem;
    color: white;
}

.center-title h3 {
    color: #2d1b3d;
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.center-location {
    color: #8a2be2;
    font-weight: 600;
    font-size: 0.9rem;
}

.center-details p {
    color: #6b7280;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.center-details p i {
    color: #8a2be2;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.center-features {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.feature-tag {
    background: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    body::before {
        background-size: 100vw 300px;
        width: 100vw;
        max-width: 100vw;
    }
    
    html {
        overflow-x: hidden;
        width: 100%;
    }
    
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    .centers-grid {
        grid-template-columns: 1fr;
    }
    
    .center-header {
        flex-direction: column;
        text-align: center;
    }
    
    .center-icon {
        margin-bottom: 1rem;
    }
}

/* Cashless Facilities Section */
.cashless {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 50%, #d1e7ff 100%);
    position: relative;
}

.cashless::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cashless-dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%232d1b3d" opacity="0.03"/></pattern></defs><rect width="100" height="100" fill="url(%23cashless-dots)"/></svg>');
    pointer-events: none;
}

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

.cashless-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.cashless-section {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(45, 27, 61, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cashless-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(45, 27, 61, 0.15);
    border-color: rgba(138, 43, 226, 0.3);
}

.cashless-section h3 {
    color: #2d1b3d;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.cashless-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #8a2be2 0%, #87ceeb 100%);
    border-radius: 2px;
}

.insurance-grid,
.tpa-grid,
.government-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.insurance-item,
.tpa-item,
.government-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #8a2be2;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #495057;
    font-weight: 500;
}

.insurance-item:hover,
.tpa-item:hover,
.government-item:hover {
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    transform: translateX(5px);
    border-left-color: #87ceeb;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.1);
}

.insurance-item small,
.tpa-item small,
.government-item small {
    color: #6c757d;
    font-size: 0.8rem;
    font-style: italic;
    display: block;
    margin-top: 0.3rem;
}

/* Responsive Design for Cashless Section */
@media (max-width: 768px) {
    .cashless {
        padding: 60px 0;
    }
    
    .cashless-section {
        padding: 1.5rem;
    }
    
    .cashless-section h3 {
        font-size: 1.5rem;
    }
    
    .insurance-grid,
    .tpa-grid,
    .government-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .insurance-item,
    .tpa-item,
    .government-item {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .cashless-section {
        padding: 1rem;
    }
    
    .cashless-section h3 {
        font-size: 1.3rem;
    }
    
    .insurance-item,
    .tpa-item,
    .government-item {
        padding: 0.7rem 0.8rem;
        font-size: 0.85rem;
    }
}

/* Treatment Section */
.treatment {
    padding: 100px 0;
    background-image: url('Carousel/Untitled design (12).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.treatment::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 246, 240, 0.3);
    z-index: 1;
}

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

.treatment {
    opacity: 1 !important;
    transform: none !important;
}

.treatment .section-header h2 {
    color: #1e293b !important;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9) !important;
}

.treatment .section-header p {
    color: #1e293b !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 1) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.treatment-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.treatment-item {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 50%, #e6e6fa 100%);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(45, 27, 61, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.treatment-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8a2be2 0%, #87ceeb 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.treatment-item:hover::before {
    transform: scaleX(1);
}

.treatment-item:hover {
    transform: translateX(15px) translateY(-5px);
    box-shadow: 0 25px 50px rgba(45, 27, 61, 0.2);
    border-color: rgba(138, 43, 226, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #e6f3ff 100%);
}

.treatment-icon {
    width: 180px;
    height: 180px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(135, 206, 235, 0.1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid rgba(45, 27, 61, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.treatment-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #8a2be2 0%, #87ceeb 100%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.treatment-item:hover .treatment-icon::before {
    opacity: 1;
}

.treatment-icon i {
    font-size: 2.5rem;
    color: #8a2be2;
    transition: all 0.3s ease;
}

.treatment-item:hover .treatment-icon i {
    color: white;
    transform: scale(1.1);
}

.treatment-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    background: transparent;
    box-shadow: 0 10px 25px rgba(45, 27, 61, 0.15);
}

.treatment-item:hover .treatment-image {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(45, 27, 61, 0.3);
}

.treatment-details h3 {
    color: #2d1b3d;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
}

.treatment-item:hover .treatment-details h3 {
    color: #8a2be2;
    transform: translateX(5px);
}

.treatment-details p {
    color: #6b7280;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.treatment-item:hover .treatment-details p {
    color: #4b5563;
}

.treatment-details ul {
    list-style: none;
}

.treatment-details li {
    color: #6b7280;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 2rem;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.treatment-item:hover .treatment-details li {
    color: #4b5563;
    transform: translateX(5px);
}

.treatment-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #8a2be2;
    font-weight: bold;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.treatment-item:hover .treatment-details li::before {
    color: #87ceeb;
    transform: scale(1.2);
}

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #e6f3ff 0%, #f0f8ff 50%, #e6e6fa 100%);
}

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

.gallery-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(45, 27, 61, 0.1);
    transition: transform 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

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

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-placeholder {
    height: 250px;
    background: linear-gradient(135deg, #2d1b3d 0%, #4c1d95 50%, #8a2be2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

.gallery-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.gallery-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background-image: url('Carousel/Untitled design (12).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    filter: contrast(1.1) brightness(1.05);
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 246, 240, 0.05);
    z-index: 1;
}

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

.testimonials .section-header h2 {
    color: #ffffff;
    font-size: 2.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.testimonials .section-header p {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    opacity: 0.95;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-item.active {
    display: block;
}

.testimonial-content {
    background: linear-gradient(135deg, #f8f6f0 0%, #f5f2e8 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(45, 27, 61, 0.1);
    text-align: center;
}

.stars {
    margin-bottom: 1.5rem;
}

.stars i {
    color: #fbbf24;
    font-size: 1.2rem;
    margin: 0 0.1rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: #6b7280;
    line-height: 1.8;
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author h4 {
    color: #2d1b3d;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: #6b7280;
    font-size: 0.9rem;
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: #6366f1;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: #4f46e5;
    transform: scale(1.1);
}

/* Blog Section */
.blog {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f6f0 0%, #f5f2e8 100%);
}

.blog-actions {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-form-container {
    background: linear-gradient(135deg, #f8f6f0 0%, #f5f2e8 100%);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(45, 27, 61, 0.1);
}

.blog-form h3 {
    color: #2d1b3d;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.blog-form .form-group {
    margin-bottom: 1.5rem;
}

.blog-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2d1b3d;
    font-weight: 600;
}

.blog-form input,
.blog-form select,
.blog-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.blog-form input:focus,
.blog-form select:focus,
.blog-form textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.blog-form textarea {
    resize: vertical;
    min-height: 200px;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

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

.blog-card {
    background: linear-gradient(135deg, #f8f6f0 0%, #f5f2e8 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(45, 27, 61, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-10px);
}

.blog-image {
    height: 200px;
    background: linear-gradient(135deg, #2d1b3d 0%, #4c1d95 50%, #6366f1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.blog-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.blog-image i {
    font-size: 3rem;
    color: white;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    color: #2d1b3d;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.blog-meta {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-content p {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.blog-content .blog-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1rem;
}

.read-more {
    color: #6366f1;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: #4f46e5;
}

.edit-blog-btn,
.delete-blog-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.edit-blog-btn {
    color: #6366f1;
}

.edit-blog-btn:hover {
    background: #fef3c7;
    color: #4f46e5;
}

.delete-blog-btn {
    color: #ef4444;
}

.delete-blog-btn:hover {
    background: #fef2f2;
    color: #dc2626;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background-image: url('Carousel/Untitled design (12).png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

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

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

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

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(45, 27, 61, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(45, 27, 61, 0.15);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2d1b3d 0%, #4c1d95 50%, #6366f1 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(45, 27, 61, 0.2);
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    transform: scale(1.1);
    box-shadow: 0 12px 25px rgba(45, 27, 61, 0.3);
}

.contact-icon i {
    font-size: 1.8rem;
    color: white;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon i {
    transform: scale(1.1);
}

/* WhatsApp specific styling */
.contact-item .contact-icon .fa-whatsapp {
    color: #25D366;
}

.contact-item:hover .contact-icon .fa-whatsapp {
    color: #128C7E;
}

.contact-details h3 {
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

.contact-details p {
    color: #374151;
    line-height: 1.7;
    font-weight: 600;
    font-size: 1.05rem;
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.9);
}

.contact-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(45, 27, 61, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #6366f1 0%, #fbbf24 100%);
    border-radius: 25px 25px 0 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(45, 27, 61, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    transform: translateY(-2px);
}

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #2d1b3d 0%, #4c1d95 100%);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #fbbf24;
}

.footer-section p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact info links in footer */
.footer-section p a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid transparent;
    padding: 2px 4px;
    border-radius: 4px;
    position: relative;
}

.footer-section p a:hover {
    color: #20B2AA;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    border-bottom: 2px solid #20B2AA;
    transform: translateY(-2px);
    background: rgba(32, 178, 170, 0.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.footer-section p a:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* WhatsApp link specific styling */
.footer-section p a[href*="wa.me"] {
    color: #25D366;
    font-weight: 600;
}

.footer-section p a[href*="wa.me"]:hover {
    color: #128C7E;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Email link specific styling */
.footer-section p a[href^="mailto:"] {
    color: #ffffff;
    font-weight: 600;
}

.footer-section p a[href^="mailto:"]:hover {
    color: #20B2AA;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Phone link specific styling */
.footer-section p a[href^="tel:"] {
    color: #ffffff;
    font-weight: 600;
}

.footer-section p a[href^="tel:"]:hover {
    color: #20B2AA;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Map link specific styling */
.footer-section p a[href*="maps.google.com"] {
    color: #ffffff;
    font-weight: 600;
}

.footer-section p a[href*="maps.google.com"]:hover {
    color: #20B2AA;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Google Business Profile link specific styling */
.footer-section p a[href*="share.google.com"] {
    color: #ffffff;
    font-weight: 600;
    position: relative;
}

.footer-section p a[href*="share.google.com"]:hover {
    color: #4285F4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    background: rgba(66, 133, 244, 0.1);
    border-radius: 4px;
    padding: 2px 4px;
}

.footer-section p a[href*="share.google.com"]:before {
    content: '';
    position: absolute;
    left: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 3px;
    background: #4285F4;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-section p a[href*="share.google.com"]:hover:before {
    opacity: 1;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.footer-section ul li a:hover {
    color: #fbbf24;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #4f46e5;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #4c1d95;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes sparkle {
    0% {
        transform: translateY(0px);
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-20px);
        opacity: 0.6;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(-5px) translateX(-5px);
    }
    75% {
        transform: translateY(-15px) translateX(3px);
    }
}

@keyframes slideGlow {
    0% {
        box-shadow: 0 0 30px rgba(32, 178, 170, 0.3);
    }
    100% {
        box-shadow: 0 0 50px rgba(32, 178, 170, 0.6);
    }
}

@keyframes sparkleMove {
    0% {
        transform: translateX(-1200px);
    }
    100% {
        transform: translateX(1200px);
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-10px) translateX(-10px) rotate(180deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) translateX(5px) rotate(270deg);
        opacity: 0.6;
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body::before {
        background-size: 100vw 300px;
    }
    
    .hamburger {
        display: flex;
        z-index: 1002;
        position: relative;
    }

    .nav-container {
        padding: 0 20px;
        height: 70px;
    }
    
    /* Fix hero section overlap on mobile */
    .hero-carousel {
        padding-top: 90px !important;
        box-sizing: border-box;
    }
    
    /* Ensure no border-box overlap issues */
    .carousel-content {
        box-sizing: border-box;
        margin: 0;
        padding: 1rem;
    }
    
    /* Enhanced button touch interaction on mobile */
    .btn-primary, .book-appointment-btn, .book-appointment-cta {
        min-height: 48px;
        min-width: 48px;
        touch-action: manipulation;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
        cursor: pointer;
        pointer-events: auto;
    }
    
    /* Mobile-specific appointment button enhancements */
    .book-appointment-btn, .book-appointment-cta {
        font-size: 1rem;
        padding: 14px 20px;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .book-appointment-btn:active, .book-appointment-cta:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
    
    /* Fix mobile container padding to prevent content cutoff */
    .container {
        padding: 0 15px !important;
        max-width: calc(100vw - 30px);
        box-sizing: border-box;
    }
    
    /* Ensure all sections have proper mobile spacing */
    .about, .services, .cashless, .treatment, .gallery, .testimonials, .blog, .centers, .contact {
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }
    
    /* Fix service cards and other content from being cut off */
    .service-card, .doctor-card, .special-doctor-card, .treatment-item, .gallery-item, .blog-card {
        margin: 0 5px;
        max-width: calc(100% - 10px);
        box-sizing: border-box;
    }
    
    /* Ensure text content doesn't overflow */
    .service-card h3, .doctor-card h3, .special-doctor-card h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Responsive design for comprehensive services card */
    .services-points-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .comprehensive-services-content {
        padding: 1.5rem;
    }
    
    .language-title {
        font-size: 1.8rem;
    }
    
    .services-points-hindi,
    .services-points-english {
        padding: 1.5rem;
    }
    
    .services-points-hindi h4,
    .services-points-english h4 {
        font-size: 1.3rem;
    }
    
    .services-list li {
        font-size: 0.9rem;
        padding: 0.7rem 0 0.7rem 2.2rem;
    }
    
    /* General mobile text optimization */
    .treatment-details h3,
    .contact-details h3,
    .treatment-details p,
    .contact-details p {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    /* Prevent text cutting in treatment section */
    .treatment-details {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Prevent text cutting in contact section */
    .contact-details {
        max-width: 100%;
        overflow: hidden;
    }
    
    /* Mobile responsive dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(45, 27, 61, 0.95);
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: none;
    }
    
    .dropdown:hover .dropdown-menu {
        transform: none;
    }
    
    .dropdown-link {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .nav-logo {
        gap: 0.5rem;
    }

    .logo-container {
        width: 40px;
        height: 40px;
    }

    .nav-logo-img {
        max-width: 30px;
        max-height: 30px;
    }

    .logo-fallback {
        font-size: 1.2rem;
    }

    .logo-text h2 {
        font-size: 1rem;
    }

    .nav-menu {
        gap: 1rem;
    }

    .nav-link {
        padding: 6px 8px;
        font-size: 0.9rem;
    }

    .nav-menu {
        position: fixed !important;
        left: -100% !important;
        top: 70px !important;
        flex-direction: column !important;
        background-color: rgba(45, 27, 61, 0.98) !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        text-align: center !important;
        transition: 0.3s !important;
        box-shadow: 0 10px 27px rgba(45, 27, 61, 0.1) !important;
        padding: 2rem 0 !important;
        overflow-y: auto !important;
        z-index: 1001 !important;
        display: block !important;
    }

    .nav-menu.active {
        left: 0 !important;
    }
    
    .nav-menu li {
        margin: 0.5rem 0;
    }
    
    .nav-menu .nav-link {
        display: block;
        padding: 1rem 2rem;
        font-size: 1.1rem;
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 0 1rem;
    }
    
    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        background: rgba(32, 178, 170, 0.2);
        color: #20B2AA;
        transform: translateX(5px);
    }

    .hero-carousel {
        padding: 60px 0 20px 0;
    }

    .carousel-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 0 15px;
    }

    .carousel-text {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 3rem 1.5rem 2rem 1.5rem;
        min-height: auto;
        max-width: 100%;
        margin-top: 1rem;
    }

    .carousel-text h1 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
        max-width: 100%;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .carousel-text h2 {
        font-size: 1rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .carousel-text p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .carousel-buttons {
        flex-direction: column;
        gap: 0.8rem;
        margin-bottom: 1rem;
    }

    .carousel-buttons .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }

    .carousel-text .carousel-card {
        min-height: 200px;
        max-width: 280px;
        margin: 0 auto;
    }

    .carousel-text .hero-stats {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
        margin-top: 1rem;
    }

    .carousel-text .stat-item {
        min-width: 100px;
        padding: 0.6rem 0.8rem;
    }

    .carousel-text .stat-item h3 {
        font-size: 1.2rem;
    }

    .carousel-text .stat-item p {
        font-size: 0.8rem;
        margin-bottom: 0;
    }

    .carousel-nav {
        bottom: 100px;
        gap: 1rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
    }

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

    .hero-content h1 {
        font-size: 2rem;
    }

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


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

    .treatment-item {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .treatment-icon {
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
    
    .treatment-details h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .treatment-details p {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .treatment-details li {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        padding-left: 1.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto;
    }
    
    .contact-icon i {
        font-size: 1.5rem;
    }
    
    .contact-details h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .contact-details p {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .contact-form {
        padding: 2rem;
        margin: 0 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Gallery mobile styles */
    .gallery {
        padding: 60px 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .gallery-item {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    .gallery-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    /* Enhanced mobile container padding for small screens */
    .container {
        padding: 0 10px !important;
        max-width: calc(100vw - 20px);
    }
    
    /* Additional hero section padding for small mobile */
    .hero-carousel {
        padding-top: 80px !important;
    }
    
    /* Ensure content doesn't overflow on small screens */
    .about, .services, .cashless, .treatment, .gallery, .testimonials, .blog, .centers, .contact {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Enhanced mobile optimization for treatment section */
    .treatment-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .treatment-icon {
        width: 100px;
        height: 100px;
    }
    
    .treatment-details h3 {
        font-size: 1.2rem;
    }
    
    .treatment-details p {
        font-size: 0.9rem;
    }
    
    .treatment-details li {
        font-size: 0.85rem;
        padding-left: 1.2rem;
    }
    
    /* Enhanced mobile optimization for contact section */
    .contact-item {
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
    
    .contact-details h3 {
        font-size: 1.1rem;
    }
    
    .contact-details p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .contact-form {
        padding: 1.5rem;
        margin: 0 5px;
    }

    .carousel-text h1 {
        font-size: 1.3rem;
    }

    .carousel-text h2 {
        font-size: 0.9rem;
    }

    .carousel-text p {
        font-size: 0.85rem;
    }

    .carousel-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.6rem;
    }

    .carousel-buttons .btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .carousel-text .carousel-card {
        min-height: 180px;
        max-width: 250px;
    }

    .carousel-nav {
        bottom: 60px;
        gap: 0.5rem;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .service-card,
    .blog-card {
        padding: 1.5rem;
    }

    .testimonial-content {
        padding: 2rem;
    }

    /* Gallery small screen styles */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .gallery-image {
        height: 180px;
    }
}

/* Enhanced Appointment Button Styles */
.book-appointment-btn {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: 2px solid #ff6b6b;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 12px 24px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s infinite;
    position: relative;
    overflow: hidden;
    cursor: pointer !important;
    pointer-events: auto !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.book-appointment-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.5s;
}

.book-appointment-btn:hover::before {
    left: 100%;
}

.book-appointment-btn:hover {
    background: linear-gradient(135deg, #ee5a24, #d63031) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4) !important;
    text-decoration: none !important;
}

.book-appointment-btn:active {
    transform: scale(0.95) !important;
    transition: transform 0.1s ease !important;
}

.book-appointment-btn:focus {
    outline: 2px solid #ffffff !important;
    outline-offset: 2px !important;
}

.book-appointment-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(255, 107, 107, 0.6);
    }
    100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
}

/* Floating Appointment Button */
.floating-btn.appointment {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24) !important;
    animation: float 3s ease-in-out infinite, pulse 2s infinite !important;
    font-size: 20px !important;
    z-index: 10000 !important;
    cursor: pointer !important;
}

.floating-btn.appointment:hover {
    background: linear-gradient(135deg, #ee5a24, #d63031) !important;
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5) !important;
}

.floating-btn.appointment:active {
    transform: scale(0.95) !important;
}

/* Navigation Appointment Button */
.nav-appointment {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white !important;
    border-radius: 25px;
    padding: 8px 16px !important;
    margin-left: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-appointment:hover {
    background: linear-gradient(135deg, #ee5a24, #d63031);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

/* Appointment CTA Section */
.appointment-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0;
    color: white;
    text-align: center;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-text {
    flex: 1;
    text-align: left;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
}

.cta-feature i {
    font-size: 1.2rem;
    color: #ffd700;
}

.cta-action {
    flex-shrink: 0;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.book-appointment-cta {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border: none;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

.book-appointment-cta:hover {
    background: linear-gradient(135deg, #ee5a24, #d63031);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.cta-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.8;
    font-style: italic;
}

/* Responsive Design for CTA Section */
@media (max-width: 768px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .cta-text {
        text-align: center;
    }
    
    .cta-text h2 {
        font-size: 2rem;
    }
    
    .cta-features {
        justify-content: center;
    }
    
    .btn-large {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .appointment-cta {
        padding: 60px 0;
    }
    
    .cta-text h2 {
        font-size: 1.8rem;
    }
    
    .cta-text p {
        font-size: 1rem;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .nav-appointment {
        margin-left: 5px;
        padding: 6px 12px !important;
        font-size: 0.9rem;
    }
}

/* Enhanced Blog Form Styles */
.blog-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 0 auto;
}

.blog-form h3 {
    color: #2d1b3d;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.blog-form .form-group {
    margin-bottom: 1.5rem;
}

.blog-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2d1b3d;
}

.blog-form input,
.blog-form select,
.blog-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.blog-form input:focus,
.blog-form select:focus,
.blog-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.blog-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* Media Upload Styles */
.media-upload-section {
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    padding: 1rem;
    background: #f8fafc;
}

.upload-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.upload-tab {
    padding: 8px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.upload-tab.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.upload-tab:hover {
    border-color: #667eea;
    color: #667eea;
}

.upload-tab.active:hover {
    color: white;
}

.upload-content {
    min-height: 200px;
}

.file-upload-area {
    position: relative;
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    background: white;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #667eea;
    background: #f7fafc;
}

.file-upload-area input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.upload-placeholder {
    pointer-events: none;
}

.upload-placeholder i {
    font-size: 3rem;
    color: #cbd5e0;
    margin-bottom: 1rem;
}

.upload-placeholder p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.upload-placeholder span {
    font-size: 0.9rem;
    color: #718096;
}

/* Uploaded Media Display */
.uploaded-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 1rem;
}

.uploaded-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.uploaded-image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.uploaded-image-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.uploaded-video {
    margin-top: 1rem;
}

.uploaded-video-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.uploaded-video-item video {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
}

.uploaded-video-item .remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    cursor: pointer;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Upload Row/Column Layout */
.upload-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.upload-column h4 {
    margin-bottom: 0.5rem;
    color: #2d1b3d;
    font-size: 1rem;
}

/* Blog Card Enhanced Display */
.blog-card {
    position: relative;
    overflow: hidden;
}

.blog-card .blog-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.blog-card .blog-image img,
.blog-card .blog-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card .blog-image .media-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.blog-card .blog-content {
    padding: 1.5rem;
}

.blog-card .blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-top: 0.5rem;
}

.blog-tag {
    background: #667eea;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.form-actions .btn {
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Responsive Design for Blog Form */
@media (max-width: 768px) {
    .blog-form {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .upload-tabs {
        flex-direction: column;
    }
    
    .upload-row {
        grid-template-columns: 1fr;
    }
    
    .uploaded-images {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
    
    .form-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .blog-form {
        padding: 1rem;
    }
    
    .uploaded-images {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
    
    .uploaded-image-item img {
        height: 80px;
    }
}

/* Location Selection Modal */
.location-modal {
    display: none;
    position: fixed;
    z-index: 10001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-in-out;
}

.location-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.4s ease-out;
}

.location-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px 30px;
    border-radius: 20px 20px 0 0;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.location-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.location-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    flex: 1;
}

.location-modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.location-modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.location-modal-body {
    padding: 30px;
}

.location-table {
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    overflow: hidden;
}

.location-table-header {
    background: #f8f9fa;
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1.5fr 1.5fr;
    gap: 20px;
    padding: 15px 20px;
    font-weight: 600;
    color: #495057;
    border-bottom: 2px solid #dee2e6;
}

.location-table-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1.5fr 1.5fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
    align-items: center;
    transition: background-color 0.2s ease;
}

.location-table-row:hover {
    background-color: #f8f9fa;
}

.location-table-row:last-child {
    border-bottom: none;
}

.location-col {
    font-size: 0.9rem;
    line-height: 1.4;
}

.location-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    margin: 2px;
    transition: all 0.3s ease;
    text-align: center;
}

.call-btn {
    background: #007bff;
    color: white;
}

.call-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Modal Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .doctors-cards {
        order: -1;
        margin-bottom: 2rem;
        grid-template-columns: 1fr;
    }
    
    .location-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .location-modal-header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .location-modal-header h2 {
        font-size: 1.3rem;
    }
    
    .location-table-header,
    .location-table-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .location-table-header {
        display: none;
    }
    
    .location-table-row {
        border: 1px solid #e9ecef;
        border-radius: 10px;
        margin-bottom: 15px;
        padding: 20px;
    }
    
    .location-col {
        text-align: center;
    }
    
    .location-col:before {
        content: attr(data-label);
        font-weight: 600;
        color: #495057;
        display: block;
        margin-bottom: 5px;
        font-size: 0.8rem;
        text-transform: uppercase;
    }
    
    .location-btn {
        display: block;
        width: 100%;
        margin: 5px 0;
    }
}




