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

:root {
    --primary-color: #2E8B8B;
    --secondary-color: #48CAE4;
    --accent-color: #0077BE;
    --gold-color: #FFD700;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #888888;
    --white: #FFFFFF;
    --light-bg: #F8FDFF;
    --card-shadow: 0 5px 20px rgba(46, 139, 139, 0.1);
    --hover-shadow: 0 10px 30px rgba(46, 139, 139, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
    max-width: 100vw;
}

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

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: var(--white);
}

.loading-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    animation: pulse 2s infinite;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    z-index: 1000;
    transition: all 0.4s ease;
    box-shadow: 0 2px 20px rgba(46, 139, 139, 0.05);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(46, 139, 139, 0.1);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 700;
    color: var(--primary-color);
    padding: 5px;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.nav-logo:hover {
    background-color: rgba(46, 139, 139, 0.05);
}

.nav-logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 10px rgba(46, 139, 139, 0.15);
    border: 2px solid rgba(46, 139, 139, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(46, 139, 139, 0.25);
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section with Carousel */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

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

.hero-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.95;
}

.hero-slide::after {
    background-color: #F8FDFF;
}

.hero-slide:nth-child(1)::after {
    background: 
        linear-gradient(135deg, rgba(46, 139, 139, 0.1) 0%, rgba(72, 202, 228, 0.1) 100%),
        radial-gradient(circle at 20% 80%, rgba(46, 139, 139, 0.2) 0%, transparent 50%),
        url('hero/1.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-slide:nth-child(2)::after {
    background: 
        linear-gradient(135deg, rgba(72, 202, 228, 0.1) 0%, rgba(255, 215, 0, 0.1) 100%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.2) 0%, transparent 50%),
        url('hero/2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hero-slide:nth-child(3)::after {
    background: 
        linear-gradient(135deg, rgba(0, 119, 190, 0.1) 0%, rgba(46, 139, 139, 0.1) 100%),
        radial-gradient(circle at 30% 70%, rgba(0, 119, 190, 0.2) 0%, transparent 50%),
        url('hero/3.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.slide-icon {
    font-size: 15rem;
    color: rgba(46, 139, 139, 0.05);
    animation: slideIconFloat 8s ease-in-out infinite;
}

@keyframes slideIconFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.05; }
    25% { transform: translateY(-30px) rotate(5deg); opacity: 0.08; }
    50% { transform: translateY(0px) rotate(0deg); opacity: 0.05; }
    75% { transform: translateY(20px) rotate(-5deg); opacity: 0.08; }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px;
    position: relative;
    z-index: 2;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(3px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.hero-text h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(46, 139, 139, 0.1);
}

.hero-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.btn {
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 139, 139, 0.3);
}

.btn-primary:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 139, 0.4);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Carousel Navigation */
.carousel-navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 20;
    transform: translateY(-50%);
    pointer-events: none;
}

.carousel-navigation button {
    pointer-events: auto;
}

.carousel-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(46, 139, 139, 0.2);
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(46, 139, 139, 0.3);
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 20;
    pointer-events: none;
}

.carousel-dots .dot {
    pointer-events: auto;
}

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

.dot.active,
.dot:hover {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Hero Stats Container */
.hero-stats-container {
    position: absolute;
    bottom: 120px;
    left: auto;
    right: 190px;
    transform: none;
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 20px 40px;
    box-shadow: 
        0 10px 30px rgba(46, 139, 139, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    width: auto;
    min-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Hero image styles moved to about section */

.hero-scroll {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    z-index: 10;
}

.hero-scroll a {
    color: var(--primary-color);
    font-size: 1.5rem;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(46, 139, 139, 0.2);
    transition: all 0.3s ease;
}

.hero-scroll a:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

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

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(46, 139, 139, 0.1);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(248, 253, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="medical" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="2" fill="%232E8B8B" opacity="0.1"/><path d="M23 15h4v20h-4zM15 23h20v4H15z" fill="%2348CAE4" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23medical)"/></svg>');
    background-attachment: fixed;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 85% 15%, rgba(46, 139, 139, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

/* Doctor Image Section in About */
.about-image-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.doctor-image-container {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 3/4;
    margin: 0 auto;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(46, 139, 139, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #ffffff, #f0f9ff);
    padding: 8px;
    transition: var(--transition);
    animation: doctorImageFloat 6s ease-in-out infinite;
}

.doctor-image-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--gold-color), var(--primary-color));
    border-radius: 25px;
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
}

.doctor-image-container:hover {
    transform: scale(1.02) rotateY(5deg);
    box-shadow: 
        0 30px 80px rgba(46, 139, 139, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.doctor-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    transition: var(--transition);
}

.doctor-info-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 
        0 10px 30px rgba(46, 139, 139, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.doctor-info-card h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.doctor-info-card p {
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.experience-badge {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    margin-top: 15px;
    display: inline-block;
}

.experience-badge span {
    font-weight: 600;
    font-size: 0.9rem;
}

@keyframes doctorImageFloat {
    0%, 100% { transform: translateY(0px) rotateZ(0deg); }
    25% { transform: translateY(-10px) rotateZ(1deg); }
    50% { transform: translateY(0px) rotateZ(0deg); }
    75% { transform: translateY(-5px) rotateZ(-1deg); }
}

@keyframes borderGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.qualifications {
    margin-top: 40px;
}

.qualifications h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.qualification-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.qualification-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--primary-color);
}

.qualification-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-card {
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: 
        0 10px 25px rgba(46, 139, 139, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 139, 139, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(46, 139, 139, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(46, 139, 139, 0.05) 0%, rgba(72, 202, 228, 0.05) 50%, rgba(248, 253, 255, 1) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><defs><pattern id="waves" width="80" height="80" patternUnits="userSpaceOnUse"><path d="M0 20Q20 0 40 20T80 20V40Q60 60 40 40T0 40Z" fill="%232E8B8B" opacity="0.03"/></pattern></defs><rect width="100%" height="100%" fill="url(%23waves)"/></svg>');
    background-attachment: fixed;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(72, 202, 228, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

.services-tiles {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.service-tile {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(46, 139, 139, 0.1);
    height: 120px;
}

.service-tile.active {
    height: 400px;
}

.service-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.6s ease;
}

.service-tile[data-service="heart"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/1.png');
}

.service-tile[data-service="liver"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/2.png');
}

.service-tile[data-service="kidney"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/3.png');
}

.service-tile[data-service="respiratory"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/4.png');
}

.service-tile[data-service="preventive"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/5.png');
}

.service-tile[data-service="vaccination"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/6.png');
}

.service-tile[data-service="palliative"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/7.png');
}

.service-tile[data-service="geriatric"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/8.png');
}

.service-tile[data-service="hematology"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/9.png');
}

.service-tile[data-service="rheumatology"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/10.png');
}

.service-tile[data-service="neuropsychiatric"] .service-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3)), 
                      url('services/11.png');
}

/* IPD Information Banner */
.ipd-info-banner {
    margin-top: 60px;
    background: linear-gradient(135deg, rgba(46, 139, 139, 0.1) 0%, rgba(72, 202, 228, 0.1) 100%);
    border-radius: 20px;
    padding: 40px;
    border: 2px solid rgba(46, 139, 139, 0.2);
    box-shadow: 0 10px 30px rgba(46, 139, 139, 0.1);
    position: relative;
    overflow: hidden;
}

.ipd-info-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(46, 139, 139, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(72, 202, 228, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.ipd-content {
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.ipd-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(46, 139, 139, 0.3);
}

.ipd-icon i {
    font-size: 2.2rem;
    color: white;
}

.ipd-text {
    flex: 1;
}

.ipd-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.ipd-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.ipd-text strong {
    color: var(--primary-color);
    font-weight: 600;
}

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

.ipd-btn {
    background: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 139, 139, 0.3);
    border: 2px solid var(--primary-color);
}

.ipd-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 139, 139, 0.4);
}

.service-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
    padding: 0;
    text-align: left;
}

.active .service-content {
    padding: 30px;
    text-align: left;
    justify-content: flex-start;
}

.service-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    line-height: 1.3;
    word-wrap: break-word;
    hyphens: auto;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.6s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    padding: 0 20px;
    text-align: left;
}

.active .service-header {
    transform: translateY(0);
    position: relative;
    top: 0;
    left: 0;
    padding: 20px;
    margin-bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent);
    width: 100%;
}

.service-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.active .service-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.service-details {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    visibility: hidden;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    margin-top: auto;
}

.active .service-details {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    padding-top: 40px;
}

.service-details p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-details ul {
    list-style: none;
    margin-bottom: 30px;
}

.service-details li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

.service-btn {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 25px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-card.featured .service-icon {
    background: linear-gradient(135deg, var(--gold-color), var(--primary-color));
}

.service-icon i {
    font-size: 2rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 8px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
}

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

/* Gallery Section */
.gallery {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 253, 255, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="%2348CAE4" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23dots)"/></svg>');
    background-attachment: fixed;
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(46, 139, 139, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(72, 202, 228, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1400px;
    margin: 0 auto;
    animation: fadeIn 0.6s ease-out;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 280px;
    cursor: pointer;
    transform-origin: center;
    background: var(--white);
}

.gallery-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 30px rgba(46, 139, 139, 0.15);
}

.gallery-image-container {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--border-radius);
    position: relative;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.gallery-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-item:hover .gallery-image-container::before {
    opacity: 1;
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    transform-origin: center;
}

.gallery-item:hover .gallery-image-container img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 30px;
    background-size: 200% 200%;
    animation: gradientFlow 8s ease infinite;
}

.placeholder-image.clinic {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color), var(--accent-color));
}

.placeholder-image.consultation {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color), var(--secondary-color));
}

.placeholder-image.equipment {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color), var(--primary-color));
}

.placeholder-image i {
    font-size: 3.5rem;
    margin-bottom: 15px;
    opacity: 0.9;
    transform: translateY(0);
    transition: all 0.4s ease;
}

.gallery-item:hover .placeholder-image i {
    transform: translateY(-5px);
    opacity: 1;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(46, 139, 139, 0.95));
    color: var(--white);
    padding: 25px;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(46, 139, 139, 0.03) 0%, rgba(248, 253, 255, 1) 50%, rgba(72, 202, 228, 0.05) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25 5l7 14 14 2-10 10 2 14-13-7-13 7 2-14-10-10 14-2z" fill="%23FFD700" opacity="0.05"/></pattern></defs><rect width="100%" height="100%" fill="url(%23stars)"/></svg>');
    background-attachment: fixed;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(46, 139, 139, 0.05) 0%, transparent 40%);
    pointer-events: none;
}

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

.testimonial-card {
    display: none;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 
        0 20px 50px rgba(46, 139, 139, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 40%);
    animation: testimonialGlow 8s ease-in-out infinite;
}

@keyframes testimonialGlow {
    0%, 100% { transform: rotate(0deg) scale(0.8); opacity: 0.3; }
    50% { transform: rotate(180deg) scale(1.2); opacity: 0.6; }
}

.testimonial-card.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.stars {
    margin-bottom: 20px;
}

.stars i {
    color: var(--gold-color);
    font-size: 1.2rem;
    margin: 0 2px;
}

.testimonial-content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.testimonial-author strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.testimonial-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border: none;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(248, 253, 255, 0.9) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 80 80"><defs><pattern id="contact" width="40" height="40" patternUnits="userSpaceOnUse"><rect x="18" y="18" width="4" height="4" fill="%232E8B8B" opacity="0.1"/><circle cx="20" cy="20" r="8" fill="none" stroke="%2348CAE4" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23contact)"/></svg>');
    background-attachment: fixed;
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(46, 139, 139, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(72, 202, 228, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: rgba(248, 253, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(46, 139, 139, 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.contact-card:hover {
    box-shadow: 
        0 15px 35px rgba(46, 139, 139, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.7);
    transform: translateY(-5px) scale(1.01);
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.contact-details h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.contact-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--accent-color);
}

.appointment-form {
    background: rgba(248, 253, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 
        0 20px 50px rgba(46, 139, 139, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.appointment-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(46, 139, 139, 0.05) 0%, transparent 50%);
    pointer-events: none;
    border-radius: var(--border-radius);
}

.appointment-form h3 {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(224, 224, 224, 0.5);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    position: relative;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(102, 102, 102, 0.7);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 4px rgba(46, 139, 139, 0.1),
        0 8px 25px rgba(46, 139, 139, 0.15);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-group input:focus::placeholder,
.form-group textarea:focus::placeholder {
    color: transparent;
    transform: translateY(-10px);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 10px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.footer-logo:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.footer-logo h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.footer-logo img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    max-width: calc(100vw - 60px);
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    font-size: 1.5rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.emergency-btn {
    background: linear-gradient(45deg, #ff4444, #cc0000);
    width: 80px;
    height: 80px;
    font-size: 1.8rem;
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4);
    animation: emergencyPulse 2s infinite;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
}

.emergency-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: translateX(-100%);
    animation: emergencyShine 3s infinite;
}

.emergency-text {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
    white-space: nowrap;
}

.emergency-btn:hover {
    background: linear-gradient(45deg, #ff6666, #ff0000);
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(255, 68, 68, 0.6);
}

@keyframes emergencyPulse {
    0%, 100% { 
        box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4), 0 0 0 0 rgba(255, 68, 68, 0.7);
    }
    50% { 
        box-shadow: 0 8px 25px rgba(255, 68, 68, 0.4), 0 0 0 15px rgba(255, 68, 68, 0);
    }
}

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

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

.whatsapp-btn {
    background: #25D366;
}

.scroll-top-btn {
    background: var(--accent-color);
    opacity: 0;
    visibility: hidden;
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .services-tiles {
        padding: 10px;
        gap: 10px;
        max-width: 100%;
        overflow-x: hidden;
    }

    .service-tile {
        height: 90px;
    }

    .service-tile.active {
        height: 350px;
    }

    .service-header {
        padding: 0 15px;
    }

    .service-icon {
        width: 45px;
        height: 45px;
        min-width: 45px;
        font-size: 1.2rem;
    }

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

    .active .service-header {
        padding: 15px;
    }

    .service-details {
        padding: 15px;
    }

    .active .service-details {
        padding-top: 25px;
    }

    .service-details p {
        font-size: 0.95rem;
    }

    .service-details ul {
        margin-bottom: 20px;
    }

    .service-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .hero-stats-container {
        right: 50%;
        transform: translateX(50%);
        min-width: 90%;
        padding: 15px 25px;
        bottom: 40px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: var(--transition);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .about-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-section {
        position: static;
        order: -1;
    }

    .doctor-image-container {
        max-width: 280px;
    }

    .carousel-navigation {
        padding: 0 20px;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .hero-stats-container {
        bottom: 40px;
        padding: 15px 25px;
        max-width: 95%;
        margin: 0 40px;
    }

    .hero-stats {
        gap: 25px;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .slide-icon {
        font-size: 10rem;
    }

    .hero-scroll {
        bottom: 130px;
    }

    .hero-scroll a {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .carousel-dots {
        bottom: 15px;
        gap: 12px;
    }

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

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

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

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

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .floating-buttons {
        bottom: 20px;
        right: 15px;
        max-width: calc(100vw - 30px);
    }

    .floating-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .emergency-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    .emergency-text {
        font-size: 6px;
        bottom: -15px;
    }

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

    .hero {
        padding: 100px 0 80px;
    }

    .about,
    .services,
    .gallery,
    .testimonials,
    .contact {
        padding: 80px 0;
    }

    .ipd-info-banner {
        margin-top: 40px;
        padding: 30px 25px;
    }

    .ipd-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .ipd-icon {
        width: 70px;
        height: 70px;
    }

    .ipd-icon i {
        font-size: 2rem;
    }

    .ipd-text h3 {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

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

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

    .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .appointment-form {
        padding: 30px 20px;
    }

    .floating-buttons {
        bottom: 10px;
        right: 10px;
        max-width: calc(100vw - 20px);
        gap: 8px;
    }

    .floating-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .emergency-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

    .emergency-text {
        font-size: 5px;
        bottom: -12px;
    }

    .carousel-navigation {
        padding: 0 15px;
    }

    .carousel-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .hero-stats-container {
        bottom: 30px;
        padding: 12px 20px;
        max-width: 98%;
        margin: 0 20px;
    }

    .hero-stats {
        gap: 15px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    .slide-icon {
        font-size: 8rem;
    }

    .hero-scroll {
        bottom: 120px;
    }

    .hero-scroll a {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carousel-dots {
        bottom: 10px;
        gap: 10px;
    }

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

    .doctor-image-container {
        max-width: 250px;
    }

    .doctor-info-card {
        padding: 20px;
    }

    .doctor-info-card h4 {
        font-size: 1.2rem;
    }

    .hero {
        padding: 100px 0 80px;
    }

    .ipd-info-banner {
        margin-top: 30px;
        padding: 25px 20px;
    }

    .ipd-content {
        gap: 15px;
    }

    .ipd-icon {
        width: 60px;
        height: 60px;
    }

    .ipd-icon i {
        font-size: 1.8rem;
    }

    .ipd-text h3 {
        font-size: 1.2rem;
    }

    .ipd-text p {
        font-size: 1rem;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 320px) {
    .floating-buttons {
        bottom: 8px;
        right: 8px;
        max-width: calc(100vw - 16px);
        gap: 6px;
    }

    .floating-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .emergency-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
        margin-bottom: 3px;
    }

    .emergency-text {
        font-size: 4px;
        bottom: -10px;
    }

    .container {
        padding: 0 10px;
    }

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

    .btn {
        padding: 10px 15px;
        font-size: 0.9rem;
    }
}

/* Smooth animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
.floating-btn:focus {
    outline: 3px solid rgba(46, 139, 139, 0.5);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .floating-buttons,
    .hero-scroll {
        display: none;
    }
    
    .hero {
        padding-top: 0;
    }
}

/* Beautiful Floating Elements */
.about::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(72, 202, 228, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatLeftRight 8s ease-in-out infinite;
    z-index: 1;
}

.services::after {
    content: '';
    position: absolute;
    top: 15%;
    left: 85%;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(46, 139, 139, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatRotate 10s linear infinite;
    z-index: 1;
}

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

@keyframes floatLeftRight {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(30px); }
}

@keyframes floatRotate {
    0% { transform: rotate(0deg) translateX(20px) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(20px) rotate(-360deg); }
}

/* Enhanced Section Headers */
.section-header {
    position: relative;
    z-index: 2;
}

.section-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(46, 139, 139, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Camp Button and Banner Styles */
.camp-button {
    position: fixed;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    animation: campPulse 2s infinite;
}

.camp-button:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.camp-button i {
    font-size: 18px;
}

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

.camp-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.camp-banner.show {
    display: flex;
}

.camp-banner-content {
    background: white;
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: bannerSlideIn 0.3s ease;
}

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

.camp-header {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.camp-header h3 {
    margin: 0;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.camp-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.camp-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.camp-details {
    padding: 30px;
}

.camp-info {
    margin-bottom: 25px;
}

.camp-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #ff6b6b;
}

.camp-item i {
    color: #ff6b6b;
    font-size: 18px;
    width: 20px;
    text-align: center;
}

.camp-item div {
    flex: 1;
}

.camp-services {
    margin-bottom: 25px;
}

.camp-services h4 {
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
}

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

.camp-services li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.camp-services li:last-child {
    border-bottom: none;
}

.camp-services li i {
    color: #28a745;
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.camp-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.camp-direction-btn,
.camp-call-btn {
    flex: 1;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 150px;
}

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

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

.camp-call-btn {
    background: #28a745;
    color: white;
}

.camp-call-btn:hover {
    background: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(40, 167, 69, 0.3);
}

/* Mobile Responsive for Camp Elements */
@media (max-width: 768px) {
    .camp-button {
        left: 10px;
        padding: 12px 15px;
        font-size: 12px;
    }
    
    .camp-button span {
        display: none;
    }
    
    .camp-banner-content {
        margin: 10px;
        max-height: 95vh;
    }
    
    .camp-details {
        padding: 20px;
    }
    
    .camp-actions {
        flex-direction: column;
    }
    
    .camp-direction-btn,
    .camp-call-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .camp-button {
        left: 5px;
        padding: 10px 12px;
    }
    
    .camp-banner {
        padding: 10px;
    }
    
    .camp-banner-content {
        max-height: 98vh;
        margin: 0;
    }
    
    .camp-header {
        padding: 15px;
    }
    
    .camp-header h3 {
        font-size: 1.2rem;
    }
    
    .camp-details {
        padding: 15px;
    }
    
    .camp-info {
        margin-bottom: 15px;
    }
    
    .camp-item {
        padding: 6px 8px;
        gap: 8px;
        margin-bottom: 8px;
    }
    
    .camp-item i {
        font-size: 16px;
    }
    
    .camp-services {
        margin-bottom: 15px;
    }
    
    .camp-services h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .camp-services li {
        margin-bottom: 6px;
        padding: 4px 0;
        font-size: 14px;
    }
    
    .camp-services li i {
        font-size: 14px;
    }
    
    .camp-actions {
        gap: 10px;
    }
    
    .camp-direction-btn,
    .camp-call-btn {
        padding: 10px 15px;
        font-size: 14px;
    }
}
