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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F5F5DC;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

/* Section spacing optimization */
section {
    padding: 60px 0;
    position: relative;
}

/* Optimized section spacing for different screen sizes */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    section {
        padding: 30px 0;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    color: #666;
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
}

/* Navigation */
.navbar {
    background: #03AC13;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    padding: 15px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 1rem;
    position: relative;
}

@media (min-width: 769px) {
    .nav-menu {
        gap: 0.5rem;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 8px 6px;
    }
}

.nav-logo {
    flex-shrink: 0;
    min-width: 0;
}

.nav-logo h2 {
    color: #fff;
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

.nav-logo span {
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 1.3;
    display: block;
    margin-top: 2px;
}

.nav-logo:hover h2 {
    animation-duration: 1.5s;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 0, 0, 0.4);
    filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.6));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    padding: 8px 6px;
    border-radius: 4px;
    white-space: nowrap;
    display: block;
}

.nav-link:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-link.active {
    color: #000;
    background-color: rgba(255, 255, 255, 0.9);
    font-weight: 700;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #000;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    list-style: none;
    padding: 10px 0;
    margin-top: 5px;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.3s ease;
    text-transform: none;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background-color: #f8f9ff;
    color: #03AC13;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 1001;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    -webkit-tap-highlight-color: transparent;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hamburger.active {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
    transform-origin: center;
}

/* Hero Section */
.hero {
    padding: clamp(80px, 15vh, 120px) 0 clamp(60px, 10vh, 80px);
    margin-top: 110px;
    position: relative;
    background: linear-gradient(135deg, #F5F5DC 0%, #F0E68C 100%);
    min-height: 80vh;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 70vh;
}

/* Hero Content - Left Side */
.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, #03AC13, #05C617, #03AC13);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 1px;
    animation: titleSlideIn 1.8s ease-out 0.5s forwards, gradientShift 4s ease-in-out infinite 2s;
    opacity: 0;
    transform: translateX(-100px) scale(0.9);
    transition: transform 0.3s ease;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: #8B0000;
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    animation: subtitleSlideIn 1.5s ease-out 1s forwards, gentleFloat 3s ease-in-out infinite 2.5s;
    opacity: 0;
    transform: translateX(-50px) scale(0.95);
    transition: transform 0.3s ease;
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.7;
    max-width: 500px;
}

.hero-content:hover .hero-title {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.hero-content:hover .hero-subtitle {
    transform: scale(1.01);
    transition: transform 0.3s ease;
}

.hero-features {
    margin-bottom: 2.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #333;
}

.hero-feature i {
    color: #03AC13;
    font-size: 1.3rem;
}

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

.cta-button {
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    min-width: 180px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #03AC13, #05C617);
    color: white;
    border: 2px solid transparent;
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #05C617, #03AC13);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

.cta-button.secondary {
    background: transparent;
    color: #03AC13;
    border: 2px solid #03AC13;
}

.cta-button.secondary:hover {
    background: #03AC13;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.3);
}

/* Hero Carousel Container - Right Side */
.hero-carousel-container {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

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

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Striped Pattern Background for Additional Sections */
.striped-pattern {
    background-image: url('striped-pattern.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-attachment: fixed;
}

.striped-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 245, 220, 0.3) 0%, rgba(240, 230, 140, 0.2) 50%, rgba(210, 180, 140, 0.1) 100%);
    z-index: 1;
}

.striped-pattern > * {
    position: relative;
    z-index: 2;
}

/* Enhanced styling for sections with striped pattern */
.about-preview.striped-pattern {
    background-blend-mode: overlay;
}

.hindi-section.striped-pattern {
    background-blend-mode: soft-light;
}

/* Subtle animation for striped pattern */
.striped-pattern {
    animation: subtleShift 20s ease-in-out infinite;
}

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

/* Doctor Photo */
.doctor-photo {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(0, 128, 128, 0.3), 0 5px 15px rgba(255, 127, 80, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
    position: relative;
}

.doctor-photo.large {
    width: 350px;
    height: 350px;
}

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

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

/* Additional doctor photo optimizations */
.doctor-photo img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Ensure proper aspect ratio */
.doctor-photo::before {
    content: '';
    display: block;
    padding-top: 100%; /* 1:1 aspect ratio */
}

.doctor-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Performance optimizations */
* {
    will-change: auto;
}

.hero-slide,
.doctor-photo,
.nav-link {
    will-change: transform;
}

/* Optimize animations for better performance */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


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

.hero-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-indicator.active {
    background: #03AC13;
    transform: scale(1.3);
    border-color: #03AC13;
}

.hero-indicator:hover {
    background: #05C617;
    transform: scale(1.2);
}





/* Contact Bar */
.contact-bar {
    background: #03AC13;
    color: white;
    padding: 20px 0;
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-bar * {
    color: white !important;
}

.contact-info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 2rem);
    padding: 1rem 0;
    width: 100%;
}

.contact-bar .contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-bar .contact-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.contact-bar .contact-item i {
    color: #fff;
    font-size: 1.2rem;
}

.contact-bar .contact-item span {
    font-weight: 500;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: #fff !important;
    white-space: nowrap;
    opacity: 1;
    visibility: visible;
    display: block;
    line-height: 1.4;
}

/* Contact Link Styles */
.contact-link {
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-link:hover {
    color: #fff !important;
    text-decoration: none;
    transform: translateY(-1px);
}

.contact-link:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Address Link Styles */
.address-link {
    color: #03AC13 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.address-link:hover {
    color: #05C617 !important;
    text-decoration: underline;
    transform: translateY(-1px);
}

.address-link:focus {
    outline: 2px solid #03AC13;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Responsive adjustments for contact bar */
@media (max-width: 768px) {
    .contact-bar .contact-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-bar .contact-item {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
    
    .contact-bar .contact-item span {
        white-space: normal;
        text-align: center;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #F5F5DC 0%, #F0E68C 100%);
    padding: 120px 0 60px;
    margin-top: 70px;
    text-align: center;
}

.page-header h1 {
    color: #03AC13;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.page-header p {
    color: #666;
    font-size: 1.2rem;
}

/* Content Pages Styling */
.privacy-content,
.terms-content {
    padding: 80px 0;
    background: #F5F5DC;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.content-wrapper h2 {
    color: #03AC13;
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #03AC13;
    padding-bottom: 0.5rem;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.content-wrapper li {
    color: #555;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.content-wrapper a {
    color: #03AC13;
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-wrapper a:hover {
    color: #05C617;
    text-decoration: underline;
}

.content-wrapper strong {
    color: #03AC13;
    font-weight: 600;
}

.content-wrapper em {
    color: #666;
    font-style: italic;
}

/* Section Titles */
.section-title {
    text-align: center;
    color: #03AC13;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #03AC13;
}

/* Main Services */
.main-services {
    padding: 80px 0;
    background: #F5F5DC;
}

/* Services Carousel Container */
.services-carousel-container {
    overflow: hidden;
    position: relative;
    margin: 2rem 0;
    padding: 20px 0;
    width: 100%;
}

/* Gradient overlays to indicate scrollable content */
.services-carousel-container::before,
.services-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.services-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #F5F5DC, transparent);
}

.services-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #F5F5DC, transparent);
}

.services-carousel {
    display: flex;
    animation: autoScroll 30s linear infinite;
    gap: 2rem;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Auto-scroll animation with constant speed */
@keyframes autoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.services-carousel-container:hover .services-carousel {
    animation-play-state: paused;
}

/* Service card styles for carousel */
.services-carousel .service-card {
    flex: 0 0 350px;
    margin: 0;
}

/* Responsive carousel adjustments */
@media (max-width: 768px) {
    .services-carousel {
        gap: 1.5rem;
    }
    
    .services-carousel .service-card {
        flex: 0 0 300px;
    }
    
    .services-carousel-container::before,
    .services-carousel-container::after {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .services-carousel {
        gap: 1rem;
    }
    
    .services-carousel .service-card {
        flex: 0 0 280px;
    }
    
    .services-carousel-container::before,
    .services-carousel-container::after {
        width: 20px;
    }
}

/* Responsive testimonial carousel adjustments */
@media (max-width: 768px) {
    .testimonials-carousel {
        gap: 1.5rem;
    }
    
    .testimonials-carousel .testimonial-card {
        flex: 0 0 300px;
    }
    
    .testimonials-carousel-container::before,
    .testimonials-carousel-container::after {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .testimonials-carousel {
        gap: 1rem;
    }
    
    .testimonials-carousel .testimonial-card {
        flex: 0 0 280px;
    }
    
    .testimonials-carousel-container::before,
    .testimonials-carousel-container::after {
        width: 20px;
    }
}

.service-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid #006400;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
    width: 350px;
}

.service-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 15px 15px 0 0;
}

.service-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.service-content {
    padding: 2rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #228B22;
}

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


.service-card h3 {
    color: #03AC13;
    margin-bottom: 1rem;
}

.service-link {
    color: white;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: 2px solid transparent;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.service-link:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    border: 2px solid #ff6b35;
}

/* Detailed Service Cards Styles */
.services-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-card-detailed {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid #006400;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.service-card-detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #228B22;
}

.service-header {
    background: linear-gradient(135deg, #03AC13, #05C617);
    color: white;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.service-header h3 {
    color: white;
    margin: 0;
    font-size: 1.3rem;
}

.service-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #03AC13;
    font-weight: bold;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-cta {
    margin-top: auto;
    padding-top: 1rem;
}

.service-button {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 3px 10px rgba(255, 107, 53, 0.3);
}

.service-button:hover {
    background: linear-gradient(135deg, #ff8c42, #ff6b35);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
    border: 2px solid #ff6b35;
}

/* About Preview */
.about-preview {
    padding: 80px 0;
    background: #F0E68C;
    background-image: url('doc2/iq.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

.about-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(240, 230, 140, 0.3) 0%, rgba(245, 245, 220, 0.2) 50%, rgba(210, 180, 140, 0.1) 100%);
    z-index: 1;
}

.about-preview > * {
    position: relative;
    z-index: 2;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    color: #03AC13;
    margin-bottom: 1.5rem;
}

/* Hindi Section */
.hindi-section {
    padding: 80px 0;
    background: #F0E68C;
    text-align: center;
}

.hindi-content h2 {
    color: #03AC13;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hindi-content p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hindi-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    margin: 3rem 0;
}

.hindi-feature {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #03AC13;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    animation: autoScrollIn 0.8s ease-out forwards, subtleFloat 4s ease-in-out infinite 1s;
}

.hindi-feature:nth-child(1) {
    animation-delay: 0.2s, 1s;
}

.hindi-feature:nth-child(2) {
    animation-delay: 0.4s, 1.5s;
}

.hindi-feature:nth-child(3) {
    animation-delay: 0.6s, 2s;
}

.hindi-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: #05C617;
    animation-play-state: paused;
}


.hindi-feature h3 {
    color: #03AC13;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.hindi-feature p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

/* Hindi Medicine Images */
.hindi-medicine-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.hindi-medicine-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    min-width: 180px;
    opacity: 0;
    transform: translateY(20px);
    animation: hindiMedicineSlideIn 0.6s ease-out forwards;
}

.hindi-medicine-item:nth-child(1) {
    animation-delay: 0.3s;
}

.hindi-medicine-item:nth-child(2) {
    animation-delay: 0.5s;
}

.hindi-medicine-img {
    width: 180px;
    height: 180px;
    object-fit: contain;
    border-radius: 50%;
    transition: all 0.3s ease;
    border: 4px solid #03AC13;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
    background: #f8f9fa;
}

.hindi-medicine-item:hover {
    transform: translateY(-5px) scale(1.02);
}

.hindi-medicine-item:hover .hindi-medicine-img {
    transform: scale(1.1);
    border-color: #05C617;
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.5);
}

.hindi-medicine-item span {
    font-size: 1.3rem;
    font-weight: 700;
    color: #03AC13;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
}

.hindi-medicine-item:hover span {
    color: #05C617;
}

/* Medicine Modal */
.medicine-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: modalFadeIn 0.3s ease-out;
}

.medicine-modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease-out;
    overflow: hidden;
}

.medicine-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.medicine-modal-close:hover {
    color: #03AC13;
    background: white;
    transform: scale(1.1);
}

.medicine-modal-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
    gap: 1.5rem;
}

.modal-medicine-image {
    width: 100%;
    max-width: 500px;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid #03AC13;
}

.modal-medicine-info {
    text-align: center;
    max-width: 600px;
}

.modal-medicine-info h3 {
    color: #03AC13;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.modal-medicine-info p {
    color: #555;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

.hindi-cta {
    margin-top: 2rem;
}

.hindi-cta p {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.hindi-btn {
    background: #03AC13;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.hindi-btn:hover {
    background: #05C617;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(26, 54, 93, 0.3);
}

/* Gallery Preview */
.gallery-preview {
    padding: 80px 0;
    background: #F0E68C;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    margin-bottom: 3rem;
}

.gallery-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.gallery-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-align: center;
    background: linear-gradient(135deg, #03AC13, #05C617);
}

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

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    background: #f8f9fa;
}

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

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

.gallery-cta {
    text-align: center;
}

/* Testimonials Preview */
.testimonials-preview {
    padding: 80px 0;
    background: #1a1a1a;
    color: white;
}

.testimonials-preview .section-title {
    color: white;
}

/* Testimonials Carousel Container */
.testimonials-carousel-container {
    overflow: hidden;
    position: relative;
    margin: 2rem 0 3rem 0;
    padding: 20px 0;
    width: 100%;
}

/* Gradient overlays to indicate scrollable content */
.testimonials-carousel-container::before,
.testimonials-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50px;
    z-index: 2;
    pointer-events: none;
}

.testimonials-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #F5F5DC, transparent);
}

.testimonials-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #F5F5DC, transparent);
}

.testimonials-carousel {
    display: flex;
    animation: autoScrollTestimonials 25s linear infinite;
    gap: 2rem;
    width: max-content;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* Auto-scroll animation for testimonials with constant speed */
@keyframes autoScrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.testimonials-carousel-container:hover .testimonials-carousel {
    animation-play-state: paused;
}

/* Testimonial card styles for carousel */
.testimonials-carousel .testimonial-card {
    flex: 0 0 350px;
    margin: 0;
}

.testimonial-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid #006400;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 3px solid #228B22;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #333;
}

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

.stars i {
    margin-right: 2px;
}

.testimonial-author {
    border-top: 1px solid #f0f0f0;
    padding-top: 1rem;
}

.testimonial-author h4 {
    color: #03AC13;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Colorful Google Icon */
.google-icon {
    width: 18px;
    height: 18px;
    border-radius: 3px;
    position: relative;
    display: inline-block;
    background: 
        linear-gradient(45deg, #4285F4 0%, #4285F4 25%, transparent 25%, transparent 50%, #EA4335 50%, #EA4335 75%, transparent 75%, transparent 100%),
        linear-gradient(-45deg, #FBBC05 0%, #FBBC05 25%, transparent 25%, transparent 50%, #34A853 50%, #34A853 75%, transparent 75%, transparent 100%);
    background-size: 9px 9px, 9px 9px;
    background-position: 0 0, 0 0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.google-icon::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 1px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 2px;
    z-index: 1;
}

.google-icon::after {
    content: 'G';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4285F4;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Roboto', Arial, sans-serif;
    z-index: 2;
    line-height: 1;
    text-shadow: 0 0 1px rgba(0,0,0,0.1);
}

.testimonials-cta {
    text-align: center;
}

.testimonials-cta .cta-button {
    background: linear-gradient(135deg, #03AC13, #2ECC71);
    color: white;
    border: 2px solid #03AC13;
}

.testimonials-cta .cta-button:hover {
    background: linear-gradient(135deg, #2ECC71, #03AC13);
    border-color: #2ECC71;
    transform: translateY(-2px);
}


/* FAQ Section */
.faq-section {
    background-image: url('fq/Untitled design.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding: 80px 0;
    position: relative;
}

.faq-section .container {
    position: relative;
    z-index: 2;
    text-align: center;
}

.faq-section .section-title {
    background: linear-gradient(135deg, #03AC13, #2ECC71);
    color: white;
    padding: 20px 40px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(3, 172, 19, 0.3);
    border: 3px solid #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    text-align: center;
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section .section-title::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.faq-content {
    margin-top: 40px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #03AC13;
    backdrop-filter: blur(10px);
}

.faq-item:hover {
    box-shadow: 0 10px 25px rgba(3, 172, 19, 0.3);
    transform: translateY(-2px);
    border-color: #2ECC71;
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #03AC13 0%, #2ECC71 100%);
    color: white;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    background: linear-gradient(135deg, #2ECC71 0%, #03AC13 100%);
}

.faq-question::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.faq-question:hover::before {
    transform: translateX(100%);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: white;
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    font-size: 16px;
    transition: transform 0.3s ease;
    color: white;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(46, 204, 113, 0.1));
    border-top: 1px solid rgba(3, 172, 19, 0.2);
}

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 200px;
}

.faq-answer p {
    margin: 0;
    color: #333;
    line-height: 1.6;
    font-size: 16px;
    font-weight: 500;
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        background-attachment: scroll;
    }
    
    .faq-accordion {
        max-width: 100%;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 60px 0;
        background-attachment: scroll;
    }
    
    .faq-section .section-title {
        padding: 15px 25px;
        font-size: 1.5rem;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: #F0E68C;
}

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

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
}

.contact-item i {
    color: #03AC13;
    font-size: 1.5rem;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.contact-item h3 {
    color: #03AC13;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

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

.contact-item a {
    color: #03AC13;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #05C617;
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-instruction {
    background: #f8f9fa;
    color: #000;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #25d366;
}

.form-instruction p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
}

.form-instruction i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #03AC13;
}

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

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.submit-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.2);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Form Messages */
.message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
    animation: slideInDown 0.5s ease-out;
}

.message.success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background: linear-gradient(135deg, #d1ecf1, #bee5eb);
    color: #0c5460;
    border: 1px solid #bee5eb;
}

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

/* Form Field Error States */
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

/* Loading State */
.submit-btn .loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-right: 8px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #03AC13, #05C617);
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-section .cta-button {
    background: white;
    color: #03AC13;
}

.cta-section .cta-button:hover {
    background: #f8f9ff;
    color: #05C617;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

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

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

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

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

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #03AC13;
}

.footer-section i {
    color: #03AC13;
    margin-right: 0.5rem;
    width: 20px;
}

/* Social Links Styles */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.social-link {
    display: flex;
    align-items: center;
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-radius: 5px;
}

.social-link:hover {
    color: #03AC13;
    background-color: rgba(26, 54, 93, 0.1);
    padding-left: 0.5rem;
}

.social-link i {
    font-size: 1.2rem;
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
}

.social-link span {
    font-size: 0.95rem;
}

/* Social link specific colors */
.social-link[href*="mailto"]:hover i {
    color: #ea4335;
}

.social-link[href*="tel"]:hover i {
    color: #25d366;
}

.social-link[href*="whatsapp"]:hover i {
    color: #25d366;
}

.social-link[href*="facebook"]:hover i {
    color: #1877f2;
}

.social-link[href*="instagram"]:hover i {
    color: #e4405f;
}

.social-link[href*="youtube"]:hover i {
    color: #ff0000;
}

.social-link[href*="maps"]:hover i,
.social-link[href*="g.co"]:hover i {
    color: #4285f4;
}

/* Responsive social links */
@media (max-width: 768px) {
    .social-links {
        gap: 0.6rem;
    }
    
    .social-link {
        padding: 0.4rem 0;
    }
    
    .social-link i {
        font-size: 1.1rem;
        margin-right: 0.6rem;
    }
    
    .social-link span {
        font-size: 0.9rem;
    }
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

.footer-link {
    color: #03AC13;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #05C617;
    text-decoration: underline;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #03AC13;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #05C617;
    transform: translateY(-2px);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-100px);
    transition: all 0.4s ease;
}

.floating-buttons.visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.floating-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: floatingPulse 2s ease-in-out infinite;
}

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

.floating-btn:active {
    transform: translateY(-1px) scale(1.05);
}

/* WhatsApp Button */
.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
    animation-delay: 0.2s;
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128c7e, #25d366);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Call Button */
.call-btn {
    background: linear-gradient(135deg, #03AC13, #05C617);
    animation-delay: 0.4s;
}

.call-btn:hover {
    background: linear-gradient(135deg, #05C617, #03AC13);
    box-shadow: 0 8px 25px rgba(26, 54, 93, 0.4);
}

/* Floating Button Text */
.floating-btn-text {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-btn:hover .floating-btn-text {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* Floating Animation */
@keyframes floatingPulse {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    }
}

/* Ripple Effect */
.floating-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.floating-btn:active::before {
    width: 300px;
    height: 300px;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .floating-buttons {
        bottom: 20px;
        left: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .floating-btn-text {
        right: 65px;
        font-size: 0.8rem;
        padding: 6px 10px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        padding: 12px 16px;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .floating-buttons {
        bottom: 15px;
        left: 15px;
        gap: 10px;
    }
    
    .floating-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .floating-btn-text {
        right: 60px;
        font-size: 0.75rem;
        padding: 5px 8px;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
        padding: 10px 14px;
        font-size: 0.65rem;
    }
}

/* Accessibility Enhancements */
.floating-btn:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .floating-btn {
        border: 2px solid white;
    }
    
    .floating-btn-text {
        background: rgba(0, 0, 0, 0.9);
        border: 1px solid white;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .floating-btn {
        animation: none;
    }
    
    .floating-buttons {
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
    
    .floating-btn-text {
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 110px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: all 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        gap: 0;
        z-index: 999;
        height: calc(100vh - 110px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    /* Mobile menu backdrop */
    .nav-menu::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }
    
    .nav-menu.active::before {
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav-menu li {
        margin: 1rem 0;
    }
    
    .nav-logo h2 {
        font-size: 1.6rem;
    }
    
    .nav-logo span {
        font-size: 0.9rem;
    }
    
    .nav-container {
        gap: 1rem;
        padding: 0 15px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        padding: 15px 20px;
        display: block;
        width: 100%;
        color: #333 !important;
        transition: all 0.3s ease;
        border-radius: 0;
    }
    
    .nav-link:hover {
        background-color: rgba(3, 172, 19, 0.1);
        color: #03AC13 !important;
        transform: translateX(5px);
    }
    
    .nav-link.active {
        background-color: #000;
        color: white !important;
        transform: translateX(5px);
        font-weight: 700;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
        transition: all 0.3s ease;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-item:hover {
        background-color: rgba(3, 172, 19, 0.05);
    }
    
    
    .hero {
        min-height: auto;
        padding: 60px 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-carousel-container {
        height: 350px;
        order: -1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-indicators {
        bottom: 15px;
    }
    
    .hero-indicator {
        width: 12px;
        height: 12px;
    }
    
    .doctor-photo {
        width: 180px;
        height: 180px;
    }
    
    .doctor-photo.large {
        width: 200px;
        height: 200px;
    }
    
    .striped-pattern {
        background-attachment: scroll;
        animation: none;
    }
    
    /* Keep fixed background for About us section on mobile */
    .about-preview {
        background-attachment: fixed;
    }
    
    /* Mobile-specific optimizations */
    .container {
        padding: 0 15px;
    }
    
    .service-card,
    .testimonial-card,
    .gallery-item {
        padding: 1.5rem;
    }
    
    .service-image {
        height: 180px;
    }
    
    .services-carousel .service-card {
        flex: 0 0 300px;
        width: 300px;
        max-width: 300px;
    }
    
    .testimonials-carousel {
        gap: 1.5rem;
    }
    
    .testimonials-carousel .testimonial-card {
        flex: 0 0 300px;
    }
    
    .testimonials-carousel-container::before,
    .testimonials-carousel-container::after {
        width: 30px;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .services-grid-detailed {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .service-header {
        padding: 1.2rem;
    }
    
    .service-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .doctor-photo {
        width: 220px;
        height: 220px;
    }
    
    .doctor-photo.large {
        width: 280px;
        height: 280px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info {
        flex-direction: column;
        text-align: center;
    }
    
    .form-map-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hindi-medicine-images {
        gap: 1.5rem;
    }
    
    .hindi-medicine-item {
        min-width: 150px;
        padding: 0;
    }
    
    .hindi-medicine-img {
        width: 140px;
        height: 140px;
        object-fit: contain;
        background: #f8f9fa;
    }
    
    .hindi-medicine-item span {
        font-size: 1.1rem;
    }
    
    
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .emergency-content {
        flex-direction: column;
        text-align: center;
    }
    
    .filter-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .nav-logo h2 {
        font-size: 1.4rem;
    }
    
    .nav-logo span {
        font-size: 0.8rem;
    }
    
    .nav-container {
        gap: 0.5rem;
        padding: 0 10px;
    }
    
    .hamburger {
        padding: 6px;
    }
    
    .bar {
        width: 22px;
        height: 2.5px;
        margin: 2.5px 0;
    }
    
    .nav-menu {
        top: 100px;
        height: calc(100vh - 100px);
        padding: 1.5rem 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 12px 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .services-grid,
    .testimonials-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card,
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .service-image {
        height: 160px;
    }
    
    .services-carousel .service-card {
        flex: 0 0 280px;
        width: 280px;
        max-width: 280px;
    }
    
    .testimonials-carousel {
        gap: 1rem;
    }
    
    .testimonials-carousel .testimonial-card {
        flex: 0 0 280px;
    }
    
    .testimonials-carousel-container::before,
    .testimonials-carousel-container::after {
        width: 20px;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .services-grid-detailed {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card-detailed {
        margin: 0;
    }
    
    .service-header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .service-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .service-header h3 {
        font-size: 1.1rem;
    }
    
    .service-content {
        padding: 1rem;
    }
    
    .service-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hindi-medicine-images {
        gap: 1rem;
    }
    
    .hindi-medicine-item {
        min-width: 120px;
        padding: 0;
    }
    
    .hindi-medicine-img {
        width: 120px;
        height: 120px;
        object-fit: contain;
        background: #f8f9fa;
    }
    
    .hindi-medicine-item span {
        font-size: 1rem;
    }
    
    /* Keep fixed background for About us section on small mobile */
    .about-preview {
        background-attachment: fixed;
    }
    
    .medicine-modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-medicine-image {
        height: 250px;
    }
    
    .modal-medicine-info h3 {
        font-size: 1.5rem;
    }
    
    .modal-medicine-info p {
        font-size: 1rem;
    }
    
    
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

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

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


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

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

@keyframes titleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px) scale(0.9);
    }
    20% {
        opacity: 0.2;
        transform: translateX(-80px) scale(0.92);
    }
    40% {
        opacity: 0.5;
        transform: translateX(-50px) scale(0.94);
    }
    60% {
        opacity: 0.7;
        transform: translateX(-20px) scale(0.96);
    }
    80% {
        opacity: 0.9;
        transform: translateX(5px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes subtitleSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-50px) scale(0.95);
    }
    60% {
        opacity: 0.8;
        transform: translateX(10px) scale(0.98);
    }
    80% {
        opacity: 0.9;
        transform: translateX(-5px) scale(0.99);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes autoScrollIn {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }
    30% {
        opacity: 0.3;
        transform: translateY(30px) scale(0.95);
    }
    60% {
        opacity: 0.7;
        transform: translateY(10px) scale(1.02);
    }
    80% {
        opacity: 0.9;
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes hindiMedicineSlideIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    50% {
        opacity: 0.7;
        transform: translateY(10px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalFadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #03AC13;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .navbar,
    .footer,
    .cta-section,
    .hamburger {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
}