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

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

/* Smooth scrolling offset for fixed navbar */
section[id] {
    scroll-margin-top: 120px;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

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

/* Scroll Animation Classes */
.scroll-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

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

.scroll-fade-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.scroll-fade-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-fade-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.scroll-fade-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.scroll-scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animations for grid items */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.stagger-item.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Color Variables */
:root {
    --primary-green: #2E7D32;
    --secondary-green: #4CAF50;
    --light-green: #E8F5E8;
    --accent-orange: #FF9800;
    --accent-blue: #2196F3;
    --text-dark: #333;
    --text-light: #666;
    --white: #fff;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.top-bar {
    background: var(--accent-orange);
    padding: 3px 0;
    color: var(--white);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 15px;
    font-size: 12px;
    align-items: center;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.top-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.open-hours {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--white);
    white-space: nowrap;
}

.book-now .btn-primary {
    background: var(--accent-blue);
    color: var(--white);
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.book-now .btn-primary:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

/* Desktop Navbar */
.navbar-desktop {
    display: block;
}

.navbar-mobile {
    display: none;
}

/* Navigation - Two Layer Structure */
.navbar-top {
    padding: 8px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    width: 100%;
}

.navbar-top .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.navbar-bottom {
    padding: 15px 0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 5;
    min-width: 0;
    overflow: visible;
    justify-content: center;
}

.nav-brand-text h1 {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--primary-green);
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-brand-text p {
    font-size: 0.8rem;
    color: var(--primary-green);
    margin: 0;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.nav-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    display: block;
    position: relative;
    z-index: 10;
    min-width: 80px;
    min-height: 80px;
    flex-shrink: 0;
}

.nav-logo:not([src]), 
.nav-logo[src=""], 
.nav-logo[src*="undefined"] {
    display: none;
}

.nav-brand:has(.nav-logo:not([src])), 
.nav-brand:has(.nav-logo[src=""]), 
.nav-brand:has(.nav-logo[src*="undefined"]) {
    background: linear-gradient(135deg, #4a7c59 0%, #2c5530 100%);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.nav-brand:has(.nav-logo:not([src]))::after, 
.nav-brand:has(.nav-logo[src=""])::after, 
.nav-brand:has(.nav-logo[src*="undefined"])::after {
    content: 'SD';
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    gap: 30px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

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

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Page Header and Content Sections */
.page-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    padding: 120px 0 60px 0;
    margin-top: 100px;
    text-align: center;
}

.page-header .breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.page-header .breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.page-header .breadcrumb a:hover {
    opacity: 0.7;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-content {
    padding: 60px 0;
    background: var(--white);
}

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

.main-content h2 {
    color: var(--primary-green);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.main-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.therapy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 100%;
    overflow: hidden;
}

.therapy-card {
    background: var(--white);
    padding: 0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.therapy-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

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

.therapy-card:hover .therapy-image img {
    transform: scale(1.05);
}

.therapy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.therapy-card h3 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin: 20px 20px 15px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.therapy-card h3 i {
    color: var(--accent-orange);
    font-size: 1.2rem;
}

.therapy-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0 20px 20px 20px;
    font-size: 0.95rem;
}

/* Content Sections Below Therapy Cards */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-list li {
    background: var(--light-green);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefits-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.benefits-list li strong {
    color: var(--primary-green);
    font-weight: 600;
}

.main-content h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    margin: 2.5rem 0 1.5rem 0;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.main-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-orange);
    border-radius: 2px;
}

.main-content h4 {
    color: var(--primary-green);
    font-size: 1.4rem;
    margin: 2rem 0 1rem 0;
    font-weight: 600;
}

.main-content ul {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.main-content ul li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.main-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.main-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Schedule Cards for Yoga Page */
.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 2rem 0;
}

.schedule-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.schedule-card h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.schedule-card p {
    color: var(--text-light);
    margin: 8px 0;
    font-size: 1rem;
}

.schedule-card p strong {
    color: var(--accent-orange);
    font-weight: 600;
}

/* Steps Grid for Suvarnprashan Page */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 2rem 0;
}

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-green);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
}

.step-card h4 {
    color: var(--primary-green);
    font-size: 1.3rem;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.step-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Hero Section */
/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    width: 100%;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
    z-index: 1;
    margin-top: 100px; /* Reduced to show content immediately */
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: visible !important;
}

/* Desktop background images (default) */
.carousel-slide[data-desktop-bg] {
    background-image: var(--desktop-bg);
}

/* Mobile background images */
@media (max-width: 768px) {
    .carousel-slide[data-mobile-bg] {
        background-image: var(--mobile-bg);
    }
}



.carousel-slide.active {
    opacity: 1;
    visibility: visible !important;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    visibility: visible !important;
}

.carousel-overlay::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="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: var(--white);
    padding: 80px 40px 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-height: 320px;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out;
    text-align: center;
    width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-align: center;
    width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.4s both;
    text-align: center;
    width: 100%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
    margin-top: 1rem;
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

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

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.indicator.active {
    background: var(--primary-green);
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(46, 125, 50, 0.4);
}

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

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

/* Button Styles */
.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background: #1B5E20;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-read-more {
    background: var(--accent-blue);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-read-more:hover {
    background: #1976D2;
    transform: translateY(-2px);
}

/* Services Overview */
.services-overview {
    padding: 80px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-green);
}

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

.service-card p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.service-image {
    width: 100%;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: block;
}

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

.service-img:not([src]), 
.service-img[src=""], 
.service-img[src*="undefined"] {
    display: none;
}

.service-image:has(.service-img:not([src])), 
.service-image:has(.service-img[src=""]), 
.service-image:has(.service-img[src*="undefined"]) {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image:has(.service-img:not([src]))::after, 
.service-image:has(.service-img[src=""])::after, 
.service-image:has(.service-img[src*="undefined"])::after {
    content: '🖼️';
    font-size: 2rem;
    color: #ccc;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: url('Background/4.png') center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 1;
}

/* Removed overlay - text will display directly on image */

@keyframes paperFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(0.5deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(3px) rotate(-0.3deg);
    }
}

@keyframes paperCrumble {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.02);
    }
}

.about-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
}

.about-text {
    text-align: left;
    max-width: 55%;
    /* margin-left: 40px; */
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    padding-right: 50px;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.about-subtitle {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 30px;
    font-weight: 600;
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-dark);
    line-height: 2;
    position: relative;
    z-index: 1;
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 1.2rem;
}

.about-video {
    display: flex;
    justify-content: center;
}

.video-placeholder {
    width: 300px;
    height: 200px;
    background: var(--white);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.video-placeholder i {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 10px;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-green);
}

/* Hospital Images Section */
.hospital-images-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.hospital-images-section::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="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hospital-images-section .section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.hospital-images-section .section-title {
    color: var(--primary-green);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hospital-images-section .section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.hospital-images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.hospital-image-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    position: relative;
}

.hospital-image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.image-container {
    position: relative;
    overflow: hidden;
    height: 300px;
}

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

.hospital-image-card:hover .hospital-img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--white);
    padding: 30px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.hospital-image-card:hover .image-overlay {
    transform: translateY(0);
}

.image-overlay h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--white);
}

.image-overlay p {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.9;
    margin: 0;
}

.hospital-description {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.hospital-description h3 {
    color: var(--primary-green);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.hospital-description p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    text-align: center;
}

.hospital-description ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.hospital-description li {
    background: var(--light-green);
    padding: 15px 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.hospital-description li:hover {
    background: var(--primary-green);
    color: var(--white);
    transform: translateX(5px);
}

.hospital-description li strong {
    color: inherit;
    font-weight: 600;
}

/* Responsive Design for Hospital Images */
@media (max-width: 768px) {
    .hospital-images-section .section-title {
        font-size: 2rem;
    }
    
    .hospital-images-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .image-container {
        height: 250px;
        max-width: 100%;
        width: 100%;
    }
    
    .hospital-img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .hospital-description {
        padding: 30px 20px;
    }
    
    .hospital-description h3 {
        font-size: 1.5rem;
    }
    
    .hospital-description ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hospital-images-section {
        padding: 60px 0;
    }
    
    .hospital-images-section .section-title {
        font-size: 1.8rem;
    }
    
    .image-container {
        height: 200px;
        max-width: 100%;
        width: 100%;
    }
    
    .hospital-img {
        width: 100%;
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .image-overlay {
        padding: 20px 15px 15px;
    }
    
    .image-overlay h3 {
        font-size: 1.1rem;
    }
    
    .image-overlay p {
        font-size: 0.9rem;
    }
}

/* General responsive image styles for all images */
@media (max-width: 768px) {
    img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }
    
    .facility-img,
    .specialty-img,
    .service-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .facility-image,
    .specialty-image,
    .service-image {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
}

@media (max-width: 480px) {
    img {
        max-width: 100%;
        height: auto;
        width: 100%;
    }
    
    .facility-img,
    .specialty-img,
    .service-img {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: cover;
    }
}

/* Facilities Section */
.facilities-section {
    padding: 80px 0;
    background: var(--white);
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}

.facilities-section .section-title {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    opacity: 1 !important;
    visibility: visible !important;
}

.facility-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    perspective: 1000px;
    position: relative;
}

.facility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Ensure buttons and images retain original spacing inside fronts */
.facility-card .flip-card-front h3,
.treatment-card .flip-card-front h3 {
    margin-bottom: 10px;
}

.facility-card .flip-card-front .btn-read-more,
.treatment-card .flip-card-front .read-more-btn {
    margin-top: 10px;
}

.facility-image {
    width: 100%;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.facility-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
    display: block;
    max-width: 100%;
    min-height: 100%;
}

.facility-img:not([src]), 
.facility-img[src=""], 
.facility-img[src*="undefined"] {
    display: none;
}

.facility-image:has(.facility-img:not([src])), 
.facility-image:has(.facility-img[src=""]), 
.facility-image:has(.facility-img[src*="undefined"]) {
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.facility-image:has(.facility-img:not([src]))::after, 
.facility-image:has(.facility-img[src=""])::after, 
.facility-image:has(.facility-img[src*="undefined"])::after {
    content: 'Image Not Available';
    color: #999;
    font-size: 14px;
    font-weight: 500;
}

.facility-card:hover .facility-img {
    transform: scale(1.05);
}

.facility-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

/* Specialties Section */
.specialties-section {
    padding: 80px 0;
    background: var(--white);
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.specialty-card {
    background: var(--white);
    padding: 25px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.specialty-image {
    width: 100%;
    height: 180px;
    margin: 0 auto 20px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.specialty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.specialty-card:hover .specialty-image img {
    transform: scale(1.05);
}

.specialty-card h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.specialty-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.show-more-container {
    text-align: center;
    margin-top: 40px;
    display: none; /* Hide by default on desktop */
}

.btn-show-more {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-show-more:hover {
    background: #2E7D32;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.btn-show-more i {
    transition: transform 0.3s ease;
}

.btn-show-more.active i {
    transform: rotate(180deg);
}

/* Diseases Section */
.diseases-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.diseases-section::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="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.diseases-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 50px;
    position: relative;
    line-height: 1.3;
}

.diseases-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-green);
    border-radius: 2px;
}

.diseases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.diseases-column {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.diseases-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #4CAF50);
}

.diseases-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.diseases-column h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.diseases-column h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-green);
    border-radius: 1px;
}

.diseases-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.diseases-column.expanded ul {
    max-height: 500px;
    margin-top: 20px;
}

.toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
    color: var(--primary-green);
}

.diseases-column.expanded .toggle-icon {
    transform: rotate(180deg);
}

.diseases-column ul li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 25px;
    transition: all 0.3s ease;
}

.diseases-column ul li:last-child {
    border-bottom: none;
}

.diseases-column ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--primary-green);
    font-size: 1.2rem;
    font-weight: bold;
}

.diseases-column ul li:hover {
    color: var(--primary-green);
    transform: translateX(5px);
    padding-left: 30px;
}

.diseases-column ul li:hover::before {
    color: #2E7D32;
}



/* Treatments Section */
.treatments-section {
    padding: 80px 0;
    background: var(--light-green);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.treatment-card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    perspective: 1000px;
    position: relative;
}

.treatment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.read-more-btn {
    margin-top: 20px;
    align-self: center;
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
}

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

.treatment-image {
    width: 120px;
    height: 120px;
    background: var(--light-green);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    overflow: hidden;
    position: relative;
}

.treatment-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.treatment-card:hover .treatment-img {
    transform: scale(1.05);
}

/* Flip Card Styles shared by facilities and treatments */
.flip-card-inner {
    position: relative;
    width: 100%;
    /* height is auto so the front content defines the card height */
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.facility-card.flipped .flip-card-inner,
.treatment-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.flip-card-front { /* keep normal flow so height is defined by content */
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.flip-card-back {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--white);
    border-radius: 15px;
    transform: rotateY(180deg);
}

.treatment-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.treatment-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.treatments-cta {
    text-align: center;
    margin-top: 50px;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 80px 0;
    background: url('Background/2.png') center center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
    color: var(--text-dark);
}

.why-choose-us::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    z-index: 1;
}

.why-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
}

.why-text {
    text-align: left;
    max-width: 55%;
    margin-left: 40px;
    color: var(--text-dark);
    position: relative;
    z-index: 2;
    padding: 50px;
}

.why-text h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.95);
    font-weight: 700;
    color: var(--text-dark);
}

.why-text h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-green);
    text-shadow: 3px 3px 6px rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.features-list {
    list-style: none;
    margin-bottom: 30px;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text-dark);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

.features-list i {
    color: var(--primary-green);
    font-size: 1.3rem;
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.95);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

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

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background: var(--light-green);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    color: var(--white);
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

.doctor-profile {
    padding: 25px;
}

.doctor-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-green);
    box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

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

.doctor-profile:hover .doctor-image img {
    transform: scale(1.05);
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 15px;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* CTA Section */
.cta-section {
    padding: 60px 0;
    background: var(--primary-green);
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

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

/* Footer */
.footer {
    background: var(--text-dark);
    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 {
    text-align: center;
}

.footer-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 20px;
    color: var(--accent-orange);
}

.footer-links a {
    display: block;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-orange);
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

/* Detail Sections */
.ayurveda-detail-section,
.panchakarma-detail-section,
.yoga-detail-section,
.facilities-detail-section {
    padding: 80px 0;
    background: var(--light-green);
}

.detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
    margin-top: 40px;
}

.detail-text h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.detail-text h4 {
    font-size: 1.3rem;
    color: var(--primary-green);
    margin: 30px 0 15px;
    font-weight: 600;
}

.detail-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.detail-text ul {
    margin-bottom: 20px;
}

.detail-text li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    line-height: 1.6;
}

.detail-text li::before {
    content: '•';
    color: var(--primary-green);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.dosha-grid,
.therapy-grid,
.yoga-grid,
.facility-grid,
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.dosha-item,
.therapy-item,
.yoga-item,
.facility-item,
.service-item {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid var(--primary-green);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.dosha-item h5,
.therapy-item h5,
.yoga-item h5,
.facility-item h5,
.service-item h5 {
    color: var(--primary-green);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.dosha-item p,
.therapy-item p,
.yoga-item p,
.facility-item p,
.service-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.detail-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-btn {
    margin-top: 30px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Fade-in animation for facilities cards */
.facility-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Staggered animation for facilities cards */
.facility-card:nth-child(1) { transition-delay: 0.1s; }
.facility-card:nth-child(2) { transition-delay: 0.2s; }
.facility-card:nth-child(3) { transition-delay: 0.3s; }
.facility-card:nth-child(4) { transition-delay: 0.4s; }
.facility-card:nth-child(5) { transition-delay: 0.5s; }
.facility-card:nth-child(6) { transition-delay: 0.6s; }
.facility-card:nth-child(7) { transition-delay: 0.7s; }
.facility-card:nth-child(8) { transition-delay: 0.8s; }
.facility-card:nth-child(9) { transition-delay: 0.9s; }
.facility-card:nth-child(10) { transition-delay: 1.0s; }
.facility-card:nth-child(11) { transition-delay: 1.1s; }
.facility-card:nth-child(12) { transition-delay: 1.2s; }

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar {
        padding: 3px 0;
    }
    
    .top-bar .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 0 10px;
    }
    
    .contact-info {
        flex-direction: row;
        gap: 6px;
        font-size: 10px;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .contact-info span {
        font-size: 9px;
    }
    
    .top-right {
        flex-direction: row;
        gap: 6px;
        align-items: center;
        flex-shrink: 0;
    }
    
    .open-hours {
        font-size: 9px;
        flex-shrink: 1;
    }
    
    .book-now .btn-primary {
        padding: 4px 10px;
        font-size: 10px;
        flex-shrink: 0;
    }
    
    .navbar-top {
        padding: 10px 0;
    }
    
    .navbar-bottom {
        padding: 10px 0;
        position: relative;
    }
    
    .navbar-bottom .container {
        justify-content: flex-end;
        padding-right: 60px;
    }
    
    /* Mobile Single Bar Layout */
    .navbar-top {
        display: none !important;
    }
    
    .navbar-bottom {
        padding: 8px 0;
    }
    
    .navbar-bottom .container {
        justify-content: space-between;
        align-items: center;
        padding-right: 20px;
        padding-left: 20px;
        display: flex !important;
    }
    
    .nav-brand {
        flex-direction: row;
        gap: 10px;
        display: flex !important;
        order: 1;
    }
    
    .nav-toggle {
        order: 2;
        display: flex !important;
    }
    
    .nav-brand-text h1 {
        font-size: 0.9rem;
        line-height: 1.1;
    }
    
    .nav-brand-text p {
        font-size: 0.6rem;
    }
    
    .nav-logo {
        width: 50px;
        height: 50px;
        min-width: 50px;
        min-height: 50px;
        display: block !important;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
        z-index: 9999;
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
        left: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    

    
    /* Carousel Mobile Styles */
    .hero-carousel {
        height: 70vh;
        min-height: 500px;
        margin-top: 80px; /* Reduced for single bar mobile navbar */
    }
    
    .hero-content {
        padding: 40px 30px 40px 30px;
        min-height: 270px;
    }
    
    .page-header {
        padding: 80px 0 40px 0;
        margin-top: 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
        .content-wrapper {
        max-width: 100%;
        overflow: hidden;
        padding: 0 10px;
    }
    
    .therapy-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }
    
    .therapy-card {
        padding: 25px 20px;
    }
    
    .specialties-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .specialty-card {
        padding: 20px 15px;
    }
    
    .specialty-image {
        height: 150px;
    }
    
    .specialty-card h4 {
        font-size: 1rem;
    }
    
    .specialty-card p {
        font-size: 0.8rem;
    }
    
    /* Hide cards after first 3 on mobile */
    .specialty-card:nth-child(n+4) {
        display: none;
    }
    
    .specialties-grid.expanded .specialty-card:nth-child(n+4) {
        display: block;
    }
    
    /* Show Show More button only on mobile */
    .show-more-container {
        display: block;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-content {
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }
    
    .about-text {
        max-width: 100%;
        margin-left: 0;
        margin: 0 20px;
        text-align: left;
        padding: 20px;
    }
    
    .about-section {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .about-section::before {
        width: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    }
    
    .why-choose-us {
        min-height: 500px;
        padding: 60px 0;
    }
    
    .why-content {
        flex-direction: column;
        justify-content: center;
        text-align: left;
    }
    
    .why-text {
        max-width: 100%;
        margin-left: 0;
        margin: 0 20px;
        text-align: left;
        padding: 30px;
    }
    
    .why-choose-us::before {
        width: 100%;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid,
    .facilities-grid,
    .treatments-grid {
        grid-template-columns: 1fr;
    }
    
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .specialty-card {
        padding: 15px 10px;
    }
    
    .specialty-image {
        height: 120px;
    }
    
    .specialty-card h4 {
        font-size: 0.9rem;
    }
    
    .specialty-card p {
        font-size: 0.7rem;
    }
    
    .dental-tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .dental-tip-card {
        height: 320px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 20px 15px;
    }
    
    .tip-icon {
        width: 60px;
        height: 60px;
    }
    
    .tip-icon i {
        font-size: 1.5rem;
    }
    
    .flip-card-front h3,
    .flip-card-back h3 {
        font-size: 1.1rem;
    }
    
    .tip-details h4 {
        font-size: 0.9rem;
    }
    
    .tip-details ul li {
        font-size: 0.8rem;
    }
    
    .therapy-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
        margin-top: 25px;
    }
    
    .therapy-card {
        padding: 20px 15px;
    }
    
    .therapy-card h3 {
        font-size: 1.1rem;
    }
    
    .therapy-card p {
        font-size: 0.9rem;
    }
    
    .diseases-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .diseases-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }
    
    .diseases-column {
        padding: 25px 20px;
    }
    
    .diseases-column h4 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .diseases-column ul li {
        padding: 10px 0;
        font-size: 0.9rem;
        padding-left: 20px;
    }
    
    .facility-image {
        height: 180px;
    }
    
    .treatment-image {
        width: 100px;
        height: 100px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .top-bar {
        padding: 2px 0;
    }
    
    .top-bar .container {
        padding: 0 8px;
        gap: 4px;
    }
    
    .contact-info {
        font-size: 8px;
        gap: 4px;
        flex-direction: row;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .contact-info span {
        font-size: 8px;
    }
    
    .open-hours {
        font-size: 8px;
        flex-shrink: 1;
    }
    
    .book-now .btn-primary {
        padding: 3px 8px;
        font-size: 9px;
        flex-shrink: 0;
    }
}

@media (max-width: 360px) {
    .top-bar .container {
        padding: 0 5px;
        gap: 3px;
    }
    
    .contact-info {
        font-size: 7px;
        gap: 3px;
    }
    
    .contact-info span {
        font-size: 7px;
    }
    
    .open-hours {
        font-size: 7px;
    }
    
    .book-now .btn-primary {
        padding: 2px 6px;
        font-size: 8px;
    }
    
    .therapy-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .therapy-card {
        padding: 15px 12px;
    }
    
    .therapy-card h3 {
        font-size: 1rem;
    }
    
    .therapy-card p {
        font-size: 0.85rem;
    }
    
    .dental-tips-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .dental-tip-card {
        height: 350px;
    }
    
    .flip-card-front,
    .flip-card-back {
        padding: 25px 20px;
    }
    
    .tip-icon {
        width: 70px;
        height: 70px;
    }
    
    .tip-icon i {
        font-size: 1.8rem;
    }
    
    .navbar-top {
        display: none !important;
    }
    
    .navbar-bottom {
        padding: 6px 0;
    }
    
    .navbar-bottom .container {
        justify-content: space-between;
        align-items: center;
        padding-right: 15px;
        padding-left: 15px;
        display: flex !important;
    }
    
    .nav-brand {
        display: flex !important;
        flex-direction: row;
        gap: 8px;
        order: 1;
    }
    
    .nav-toggle {
        order: 2;
        display: flex !important;
    }
    
    .nav-logo {
        display: block !important;
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
    }
    
    .nav-brand {
        gap: 10px;
    }
    
    .nav-brand-text h1 {
        font-size: 0.9rem;
        line-height: 1.1;
    }
    
    .nav-brand-text p {
        font-size: 0.65rem;
    }
    
    .nav-logo {
        width: 60px;
        height: 60px;
        min-width: 60px;
        min-height: 60px;
    }
    
    .nav-menu {
        top: 60px;
        gap: 15px;
    }
    
    .nav-link {
        font-size: 0.9rem;
        padding: 10px 0;
    }
    
    /* Carousel Small Mobile Styles */
    .hero-carousel {
        height: 85vh;
        min-height: 550px;
        margin-top: 60px; /* Reduced for single bar mobile navbar */
    }
    
    .hero-content {
        padding: 30px 20px 120px 20px;
        min-height: 350px;
    }
    
    .page-header {
        padding: 60px 0 30px 0;
        margin-top: 40px;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
    
    .page-content {
        padding: 40px 0;
    }
    
    .therapy-card {
        padding: 20px;
    }
    
    .main-content h3 {
        font-size: 1.4rem;
        margin: 1.5rem 0 1rem 0;
    }
    
    .main-content h4 {
        font-size: 1.1rem;
    }
    
    .benefits-list li {
        padding: 10px 12px;
        margin-bottom: 10px;
    }
    
    .schedule-grid,
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .schedule-card,
    .step-card {
        padding: 15px;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 2rem;
        margin-bottom: 2rem;
        position: relative;
        z-index: 10;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 12px 24px;
        font-size: 16px;
        width: 220px;
        max-width: 90%;
        font-weight: 600;
        border-radius: 25px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .service-card,
    .facility-card,
    .treatment-card {
        padding: 20px 15px;
    }
    
    .facility-image {
        height: 150px;
    }
    
    .treatment-image {
        width: 80px;
        height: 80px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .detail-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .dosha-grid,
    .therapy-grid,
    .yoga-grid,
    .facility-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-text h3 {
        font-size: 1.8rem;
    }
    
    .detail-text h4 {
        font-size: 1.2rem;
    }
    
    .detail-text p {
        font-size: 1rem;
    }
} 

/* Mobile Navbar Styles */
.navbar-mobile {
    background-color: var(--primary-green);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-mobile .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.mobile-logo {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.mobile-brand-text h1 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.mobile-brand-text p {
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    margin-top: 1px;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 3px;
    padding: 5px;
}

.mobile-menu-toggle .bar {
    width: 22px;
    height: 2px;
    background-color: var(--white);
    transition: 0.3s;
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--white);
    transition: 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.mobile-nav-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: var(--light-bg);
    color: var(--primary-green);
    padding-left: 25px;
}

/* Mobile Responsive - Show Mobile Navbar */
@media (max-width: 768px) {
    .navbar-desktop {
        display: none !important;
    }
    
    .navbar-mobile {
        display: block !important;
    }
    
    /* Adjust hero section for mobile navbar */
    .hero-carousel {
        margin-top: 70px;
    }
    
    .page-header {
        margin-top: 70px;
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .navbar-mobile {
        padding: 8px 0;
    }
    
    .navbar-mobile .container {
        padding: 0 15px;
    }
    
    .mobile-brand {
        gap: 10px;
    }
    
    .mobile-logo {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
    }
    
    .mobile-brand-text h1 {
        font-size: 0.8rem;
    }
    
    .mobile-brand-text p {
        font-size: 0.55rem;
    }
    
    .mobile-menu-toggle .bar {
        width: 20px;
        height: 2px;
    }
    
    .mobile-menu {
        top: 66px;
        height: calc(100vh - 66px);
    }
    
    /* Adjust hero section for smaller mobile navbar */
    .hero-carousel {
        margin-top: 66px;
        height: 90vh;
        min-height: 600px;
    }
    
    .hero-content {
        padding: 25px 15px 100px 15px;
        min-height: 400px;
    }
    
    .hero-buttons {
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
        width: 200px;
    }
    
    .page-header {
        margin-top: 66px;
        padding-top: 70px;
    }
} 