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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 80px;
}

/* Header and Navigation */
header {
    background-color: #1B5E20;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

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

.logo.hospital-navbar-left {
    justify-content: flex-start;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    display: flex;
}

.logo img {
    height: 60px;
}

.hospital-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FF5722;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: transparent;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s;
    display: block;
}

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

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

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

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #1B5E20;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        transition: left 0.3s ease;
        gap: 1.5rem;
        z-index: 2000;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
}
/* Hero Section Styles */
.hero {
    min-height: 90vh;
    background: var(--gradient-hero), url('Dr. Varun kumar/slider1.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(76, 77, 76, 0.7) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    animation: heroBgAnim 8s ease-in-out infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 2;
padding-left: 1rem ;
    background: rgba(175, 221, 174, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(8px);
    max-width: 1400px;
    width: 95%;
    margin: 2rem auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #fff;
    text-shadow: 0 4px 24px rgba(0,128,0,0.18);
    margin-bottom: 1.2rem;
    letter-spacing: 0.03em;
    animation: fadeInDown 1.2s cubic-bezier(.77,0,.18,1) 0.2s both;
}

.hero-content p {
    font-size: 1.5rem;
    color: #f3f3f3;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.5s both;
}

.cta-button {
    background: linear-gradient(120deg, #006400 0%, #008000 100%);
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 32px;
    padding: 1.1rem 2.8rem;
    box-shadow: 0 4px 24px 0 rgba(0,128,0,0.18);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    position: relative;
    overflow: hidden;
    outline: none;
    animation: fadeInUp 1.2s cubic-bezier(.77,0,.18,1) 0.8s both;
}

.cta-button:hover {
    background: linear-gradient(120deg, #008000 0%, #006400 100%);
    box-shadow: 0 8px 32px 0 rgba(0,128,0,0.18);
    transform: translateY(-2px) scale(1.04);
}

.treatments-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
    max-width: 800px;
}

.hospital-title {
    font-size: 2.5rem;
    color: #fff;
    font-weight: bold;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.treatment-pill {
    width: 100%;
    min-height: 80px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    background: rgba(0, 100, 0, 0.8);
    backdrop-filter: blur(4px);
}

/* Treatment pill gradients with transparency */
.treatment-pill.cancer { background: linear-gradient(135deg, rgba(229, 57, 53, 0.9), rgba(198, 40, 40, 0.9)); }
.treatment-pill.piles { background: linear-gradient(135deg, rgba(142, 36, 170, 0.9), rgba(106, 27, 154, 0.9)); }
.treatment-pill.panchkarma { background: linear-gradient(135deg, rgba(30, 136, 229, 0.9), rgba(21, 101, 192, 0.9)); }
.treatment-pill.skin { background: linear-gradient(135deg, rgba(67, 160, 71, 0.9), rgba(46, 125, 50, 0.9)); }
.treatment-pill.nadi { background: linear-gradient(135deg, rgba(251, 140, 0, 0.9), rgba(239, 108, 0, 0.9)); }
.treatment-pill.agnikarma { background: linear-gradient(135deg, rgba(216, 27, 96, 0.9), rgba(173, 20, 87, 0.9)); }
.treatment-pill.fertility { background: linear-gradient(135deg, rgba(0, 172, 193, 0.9), rgba(0, 131, 143, 0.9)); }
.treatment-pill.stone { background: linear-gradient(135deg, rgba(109, 76, 65, 0.9), rgba(78, 52, 46, 0.9)); }
.treatment-pill.pain { background: linear-gradient(135deg, rgba(84, 110, 122, 0.9), rgba(55, 71, 79, 0.9)); }
.treatment-pill.marm { background: linear-gradient(135deg, rgba(244, 81, 30, 0.9), rgba(216, 67, 21, 0.9)); }

.treatment-pill:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.image-container {
    flex: 0 0 45%;
    max-width: 600px;
    height: 500px;
    position: relative;
    animation: slideInRight 1s ease-out;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hospital-title-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 100, 0, 0.8);
    padding: 3rem 5rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    white-space: nowrap;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

@media (max-width: 1024px) {
    .treatment-pill {
        width: 100px;
        font-size: 0.8rem;
        padding: 0.6rem;
    }
    
    .hospital-title-overlay {
        font-size: 2.5rem;
        padding: 2.5rem 4rem;
    }
}

@media (max-width: 768px) {
    .treatment-pill {
        width: 90px;
        font-size: 0.75rem;
        padding: 0.5rem;
    }
    
    .hospital-title-overlay {
        font-size: 2rem;
        padding: 2rem 3rem;
    }
}

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

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

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

@media (max-width: 1200px) {
    .hero-content {
        padding: 3rem;
        gap: 2rem;
    }

    .image-container {
        flex: 0 0 40%;
        height: 400px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column-reverse;
        padding: 2rem;
        text-align: center;
        gap: 2rem;
    }

    .treatments-container {
        align-items: center;
        max-width: 100%;
    }

    .treatments-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }

    .image-container {
        flex: 0 0 auto;
        width: 100%;
        max-width: 400px;
        height: 300px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 1.5rem;
        width: 98%;
    }

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

    .treatment-pill {
        min-height: 60px;
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .image-container {
        height: 250px;
    }
}

/* Specialty Care Section */
.specialty-care {
    padding: 5rem 0;
    background-color: #E8F5E9;
    text-align: center;
}

.specialty-care h2 {
    font-size: 2.5rem;
    color: #1B5E20;
    margin-bottom: 1rem;
}

.specialty-care h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 3rem;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.specialty-card {
    background-color: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.specialty-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    margin-bottom: 1rem;
}

.specialty-card h4 {
    color: #1B5E20;
    font-size: 1.2rem;
}

.cta-button-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1B5E20;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.cta-button:hover {
    background-color: #2E7D32;
}

/* Hospital Facilities Section */
.hospital-facilities {
    padding: 5rem 0;
    text-align: center;
}

.hospital-facilities h2 {
    font-size: 2.5rem;
    color: #1B5E20;
    margin-bottom: 3rem;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.facility-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
}

.appointment-button-container {
    display: flex;
    justify-content: center;
}

.appointment-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1B5E20;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.appointment-button:hover {
    background-color: #2E7D32;
}

/* Path to Better Health Section */
.path-to-better-health {
    padding: 5rem 0;
    background-color: #E8F5E9;
    text-align: center;
}

.path-to-better-health h2 {
    font-size: 2.5rem;
    color: #1B5E20;
    margin-bottom: 2rem;
}

.founder-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.founder-info img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #1B5E20;
}

.founder-details {
    text-align: left;
}

.founder-details h3 {
    color: #1B5E20;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.founder-title {
    color: #333;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.founder-experience {
    color: #666;
    font-size: 1.1rem;
}

.health-info h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 1rem;
}

.health-info p {
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

.treatment-cta {
    display: flex;
    justify-content: center;
}

.treatment-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1B5E20;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.treatment-button:hover {
    background-color: #2E7D32;
}

/* Our Specialties Section */
.our-specialties {
    padding: 5rem 0;
    text-align: center;
}

.our-specialties h2 {
    font-size: 2.5rem;
    color: #1B5E20;
    margin-bottom: 3rem;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.specialty-item {
    background-color: #fff;
    padding: 2rem 1rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.specialty-item i {
    font-size: 2.5rem;
    color: #1B5E20;
    margin-bottom: 1rem;
}

.specialty-item h4 {
    color: #333;
}

/* Doctors Section */
.doctors {
    padding: 5rem 0;
    background-color: #E8F5E9;
}

.doctors h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #1B5E20;
}

/* Updated Doctor Cards Styling */
.doctors-grid {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: center;
}

.doctor-card {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: calc(50% - 1rem);
    min-height: 250px;
}

.doctor-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.doctor-card .doctor-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 0.5rem;
}

.doctor-card h3 {
    margin: 0 0 1rem 0;
}

.doctor-card p {
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.doctor-card p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .doctors-grid {
        flex-direction: column;
    }
    
    .doctor-card {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .doctor-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .doctor-card img {
        width: 150px;
        height: 150px;
    }

    .doctor-card .doctor-info {
        align-items: center;
        padding-top: 1rem;
    }
}

.doctor-contact {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    margin-top: auto;
    background-color: #1B5E20;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: 600;
    position: absolute;
    left: 50%;
    bottom: 1.5rem;
    transform: translateX(-50%);
}

.doctor-contact:hover {
    background-color: #2E7D32;
}

/* Medical Gallery Section */
.medical-gallery {
    padding: 5rem 0;
    background-color: #fff;
    text-align: center;
}

.medical-gallery h2 {
    font-size: 2.5rem;
    color: #1B5E20;
    margin-bottom: 1rem;
}

.gallery-description {
    max-width: 800px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
}

.gallery-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.3s;
    background: #e0e0e0;
    display: block;
    position: relative;
}

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

.gallery-thumb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.82);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.gallery-thumb-overlay:hover {
    background: rgba(0,0,0,0.92);
}

.see-more-gallery-btn {
    background: none;
    color: #fff;
    border: none;
    font-size: 1.25rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: none;
    padding: 0;
    margin: 0;
    text-decoration: underline transparent;
    transition: text-decoration 0.2s, color 0.2s;
}
.see-more-gallery-btn:hover {
    text-decoration: underline;
    color: #FFEB3B;
}

.gallery-thumb-hidden {
    display: none !important;
}

/* Gallery Modal Styles */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: row;
}

.gallery-modal.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.gallery-modal img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(27,94,32,0.15);
    object-fit: contain;
    background: #fff;
    display: block;
    margin: 0 auto;
}

.gallery-modal-close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(27,94,32,0.8);
    border-radius: 50%;
}

.gallery-modal-close:hover {
    color: #FFEB3B;
    background: rgba(27,94,32,1);
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(27,94,32,0.8);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.2s;
    padding: 16px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#gallery-modal-prev {
    left: 32px;
}

#gallery-modal-next {
    right: 32px;
}

.gallery-modal-nav:hover {
    color: #FFEB3B;
    background: rgba(27,94,32,1);
    transform: translateY(-50%) scale(1.05);
}

/* Gallery Grid Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
}

.gallery-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

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

/* Hospital Locations Section */
.locations {
    padding: 5rem 0;
    background-color: #E8F5E9;
    text-align: center;
}

.locations h2 {
    font-size: 2.5rem;
    color: #1B5E20;
    margin-bottom: 3rem;
}

.locations-merged {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.location-card {
    background: #f7fff9;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(27,94,32,0.06);
    padding: 1.5rem 1.7rem;
    margin-bottom: 0;
    /* border-left: 2px solid #1B5E20; */
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: flex-start;
    padding-left: 1rem;
}

.location-card h3 {
    color: #1B5E20;
    margin-bottom: 0.7rem;
    font-size: 1.15rem;
    font-weight: 700;
}

.location-card p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    color: #333;
    font-size: 1.02rem;
    font-weight: 400;
}

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

.location-links a {
    background: #1B5E20;
    color: #fff;
    border-radius: 7px;
    padding: 0.7rem 1.2rem;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 1px 4px rgba(27,94,32,0.07);
}

.location-links a:hover {
    background: #388e3c;
    color: #FFEB3B;
    transform: scale(1.04);
}

/* Treatments Section */
.treatments {
    position: relative;
    padding: 4rem 0;
    background: url('Dr. Varun kumar/Hospital img6.jpeg') center/cover fixed no-repeat;
    text-align: center;
    z-index: 1;
}

.treatments::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: -1;
}

.treatments h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    position: relative;
    font-weight: 700;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.treatment-item {
    background: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.treatment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.treatment-item h3 {
    color: #1B5E20;
    font-size: 1.4rem;
    margin: 0;
}

/* Treatment item links styling */
.treatments-grid a.treatment-item {
    text-decoration: none;
    color: inherit;
    /* display: block; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.treatments-grid a.treatment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: #E8F5E9;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: #1B5E20;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.testimonial-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

.testimonial-card h3 {
    color: #1B5E20;
    margin-bottom: 1rem;
}

.view-all-container {
    display: flex;
    justify-content: center;
}

.view-all-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #1B5E20;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-weight: bold;
}

.view-all-button:hover {
    background-color: #2E7D32;
}

/* Contact Section */
.contact {
    padding: 5rem 0 3rem 0;
    background: linear-gradient(135deg, #e8f5e9 0%, #fff 100%);
}

.contact h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    color: #1B5E20;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
}

.section-accent {
    display: inline-block;
    width: 48px;
    height: 6px;
    background: #FFEB3B;
    border-radius: 3px;
    margin-bottom: 8px;
    margin-right: 12px;
    vertical-align: middle;
}

.contact-cards {
    display: flex;
    padding: 0 1.5rem;
    gap: 2.5rem;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.contact-card.contact-info {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(27,94,32,0.07);
    padding: 2.2rem 2rem;
    min-width: 280px;
    max-width: 320px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    align-items: flex-start;
    position: relative;
    left: -60px;
    z-index: 2;
    margin-left: 2rem;
}

.contact-info .social-links {
    margin-top: 1rem;
    display: flex;
    flex-direction: row;
    gap: 0.2rem;
    width: 100%;
}

.contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.2rem;
    width: 100%;
}

.contact-info .contact-item p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info .contact-item p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info .contact-item p a:hover {
    color: #1B5E20;
    text-decoration: underline;
}

.locations-merged {
    background: #f7fff9;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(27,94,32,0.07);
    padding: 2.5rem 2.2rem;
    flex: 1 1 600px;
    min-width: 400px;
    max-width: 800px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.location-cards-row {
    display: flex;
    gap: 2.2rem;
    width: 100%;
    justify-content: space-between;
}

.location-card {
    background: none;
    border-radius: 10px;
    box-shadow: none;
    padding: 0;
    flex: 1 1 320px;
    min-width: 220px;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    justify-content: flex-start;
    padding-left: 1.2rem;
}

.location-card h3 {
    color: #1B5E20;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.location-card p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

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

.location-links a {
    background: #1B5E20;
    color: #fff;
    border-radius: 7px;
    padding: 0.5rem 1.1rem;
    font-size: 0.98rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 1px 4px rgba(27,94,32,0.07);
}
.location-links a:hover {
    background: #388e3c;
    color: #FFEB3B;
    transform: scale(1.04);
}

@media (max-width: 1100px) {
    .contact-cards {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }
    .contact-card.contact-info {
        left: 0;
        max-width: 98vw;
        margin: 0 auto;
    }
    .locations-merged {
        max-width: 98vw;
        margin: 0 auto;
    }
    .location-cards-row {
        flex-direction: column;
        gap: 1.2rem;
    }
}

/* Video Section Styles */
.video-section {
    position: relative;
    padding: 4rem 0 3rem 0;
    background: url('Dr. Varun kumar/Hospital img11.jpeg') center/cover fixed no-repeat;
    text-align: center;
    z-index: 1;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: -1;
}

.video-section h2 {
    color: #ffffff;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.video-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #1B5E20, #4CAF50);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem auto;
    padding: 0 5%;
    max-width: 1400px;
}

.video-grid iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.video-grid iframe:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.see-more-videos-container {
    margin-top: 3rem;
}

.see-more-videos-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #1B5E20;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.see-more-videos-btn:hover {
    background: #2E7D32;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 32px;
    background-color: #1B5E20;
    color: white;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #388e3c;
    color: #FFEB3B;
    transform: scale(1.08);
}

.whatsapp-float i {
    font-size: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 60px;
        right: 15px;
        width: 40px;
        height: 40px;
    }

    .whatsapp-float i {
        font-size: 25px;
    }
}

/* Footer */
footer {
    background-color: #1B5E20;
    color: #fff;
    padding: 3rem 0 1rem;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    align-items: flex-start;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    height: 80px;
    margin-bottom: 0.7rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.footer-hospital-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 0.5rem;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-links h3, .footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #FFEB3B;
    letter-spacing: 0.5px;
    text-align: center;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    font-size: 1.05rem;
    justify-content: center;
}

.footer-links a:hover {
    color: #FF5722;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    justify-content: center;
}

.footer-contact strong {
    color: #FFEB3B;
    font-weight: 600;
}

.footer-contact i {
    color: #FFEB3B;
    font-size: 1.2rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding: 1rem 2rem 0;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 1rem;
    color: #FFEB3B;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    .footer-logo-section, .footer-links, .footer-contact {
        align-items: center;
        justify-content: center;
    }
    .footer-hospital-name {
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    .footer-logo {
        display: flex;
        justify-content: center;
    }
    .footer-links h3,
    .footer-contact h3 {
        text-align: center;
    }
    .footer-contact {
        margin-top: 0;
    }
    .footer-bottom {
        font-size: 0.95rem;
        padding: 1rem 0.5rem 0;
    }
    .footer-links a, .footer-contact p {
        justify-content: center;
    }
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    .logo.hospital-navbar-left {
        flex-direction: row;
        align-items: center;
        gap: 0.7rem;
    }
    .nav-links {
        margin-left: 0;
    }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        padding: 0 0.5rem 1.5rem 0.5rem;
    }
    .gallery-item img {
        height: 120px;
    }
}

@media (max-width: 500px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

.contact-container.contact-split {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: space-between;
    align-items: flex-start;
}
.contact-container.contact-split .contact-info {
    flex: 1 1 320px;
    min-width: 280px;
    max-width: 400px;
}
.contact-container.contact-split .locations-merged {
    flex: 1 1 400px;
    min-width: 320px;
    max-width: 700px;
    display: flex;
        flex-direction: column;
    gap: 2rem;
}
@media (max-width: 900px) {
    .contact-container.contact-split {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    .contact-container.contact-split .contact-info,
    .contact-container.contact-split .locations-merged {
        min-width: 0;
        max-width: 98vw;
        width: 100%;
    }
    .contact-container.contact-split .locations-merged {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.contact-value a,
.location-card p a,
.footer-contact p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value a:hover,
.location-card p a:hover,
.footer-contact p a:hover {
    color: #FFEB3B;
    text-decoration: underline;
}

.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem 2rem 1.5rem;
}
.service-hero {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    background: linear-gradient(90deg, #e8f5e9 0%, #fff 100%);
    text-align: center;
    margin-top: 1.5rem;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 2px 8px rgba(27,94,32,0.04);
}
.service-hero h1 {
    font-size: 2.5rem;
    color: #1B5E20;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}
.service-detail.modern-section {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(27,94,32,0.07);
    margin-top: 2.5rem;
    padding: 2.5rem 2rem;
}
.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}
.service-image {
    flex: 1 1 320px;
    min-width: 260px;
    max-width: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(27,94,32,0.08);
    background: #e0e0e0;
}
.service-description {
    flex: 2 1 400px;
    min-width: 260px;
    color: #333;
}
.service-description h2 {
    color: #1B5E20;
    font-size: 1.6rem;
    margin-bottom: 1rem;
}
.service-description h3 {
    color: #388e3c;
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.service-description ul {
    margin-left: 1.2rem;
    margin-bottom: 1rem;
    color: #444;
}
.service-description li {
    margin-bottom: 0.4rem;
    line-height: 1.6;
}
.cta-container {
    margin-top: 2rem;
}
@media (max-width: 900px) {
    .service-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .service-image, .service-description {
        min-width: 0;
        max-width: 100%;
    }
    .service-hero {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .service-detail.modern-section {
        padding: 1.5rem 0.5rem;
    }
}

.social-links a, .footer-social-links a {
    display:flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #1B5E20;
    color: #fff;
    border-radius: 50%;
    font-size: 1.2rem;
    margin-right: 0.7rem;
    transition: background 0.3s, color 0.3s, transform 0.2s;
    box-shadow: 0 2px 8px rgba(27,94,32,0.10);
    text-decoration: none !important;
}
.social-links a:last-child, .footer-social-links a:last-child {
    margin-right: 0;
}
.social-links a:hover, .footer-social-links a:hover {
    background-color: #388e3c;
    color: #FFEB3B;
    transform: scale(1.08);
}

.footer-social-links {
    display: flex;
        gap: 1rem;
    margin-top: 1.2rem;
    justify-content: center;
}

.location-cards-row {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: stretch;
}
@media (max-width: 900px) {
    .location-cards-row {
        flex-direction: column;
        gap: 1.2rem;
        align-items: stretch;
    }
}

.contact-modern-wrapper {
        display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.contact-modern-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(27,94,32,0.10);
    padding: 2.5rem 2.2rem 2.2rem 2.2rem;
    min-width: 320px;
    max-width: 350px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    left: -40px;
    z-index: 2;
}

.contact-modern-location {
    background: #f7fff9;
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(27,94,32,0.07);
    padding: 2.5rem 2.2rem;
    flex: 1 1 600px;
    min-width: 340px;
    max-width: 800px;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    align-items: flex-start;
    justify-content: flex-start;
}

.location-addresses {
    display: flex;
    gap: 2.2rem;
    width: 100%;
    margin-bottom: 1.2rem;
}

.location-address {
    flex: 1 1 260px;
    min-width: 200px;
    max-width: 350px;
    background: none;
    border-radius: 10px;
    box-shadow: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.location-address h3 {
    color: #1B5E20;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.location-address p {
    color: #333;
    font-size: 1rem;
    margin-bottom: 0.2rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.location-address .map-link {
    background: #1B5E20;
    color: #fff;
    border-radius: 7px;
    padding: 0.5rem 1.1rem;
    font-size: 0.98rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    margin-top: 0.3rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
    box-shadow: 0 1px 4px rgba(27,94,32,0.07);
}
.location-address .map-link:hover {
    background: #388e3c;
    color: #FFEB3B;
    transform: scale(1.04);
}

.location-map {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(27,94,32,0.08);
}
.location-map iframe {
    width: 100%;
    min-height: 220px;
    border: none;
    border-radius: 12px;
    display: block;
}

@media (max-width: 1100px) {
    .contact-modern-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
    }
    .contact-modern-card {
        left: 0;
        max-width: 98vw;
        margin: 0 auto;
    }
    .contact-modern-location {
        max-width: 98vw;
        margin: 0 auto;
    }
    .location-addresses {
        flex-direction: column;
        gap: 1.2rem;
    }
}

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

@media (max-width: 900px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Scroll to Top Arrow */
.scroll-to-top {
    position: fixed;
    right: 32px;
    bottom: 32px;
    width: 48px;
    height: 48px;
    background: #1B5E20;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(27,94,32,0.18);
        display: flex;
    align-items: center;
        justify-content: center;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1200;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, background 0.2s, color 0.2s, transform 0.2s;
}
.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}
.scroll-to-top:hover {
    background: #388e3c;
    color: #FFEB3B;
    transform: scale(1.08);
}

/* Ayurveda Benefits Section */
.ayurveda-benefits {
    padding: 3rem 5%;
    background: linear-gradient(to right, #f3f9f4, #e8f5e9);
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.benefits-image {
    flex: 0 0 40%;
}

.benefits-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.benefits-text {
    flex: 1;
    padding: 3rem 4rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(232, 245, 233, 0.95));
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(27, 94, 32, 0.1);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.benefits-text::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, #1B5E20, #4CAF50);
}

.benefits-text h2 {
    color: #1B5E20;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.benefits-text h2::after {
    /* content: ''; */
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: #4CAF50;
}

.benefits-text p {
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.benefits-text p::before {
    /* content: '•'; */
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-size: 1.6rem;
}

@media (max-width: 768px) {
    .benefits-text {
        padding: 2rem;
        min-height: 300px;
        text-align: left;
    }

    .benefits-text h2 {
        font-size: 2rem;
    }

    .benefits-text p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .benefits-container {
        flex-direction: column;
        text-align: center;
    }

    .benefits-image {
        flex: 0 0 100%;
    }

    .benefits-image img {
        max-width: 300px;
    }
}

.contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-value a:hover {
    color: #FF5722;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #1B5E20;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        transition: left 0.3s ease;
        gap: 1.5rem;
        z-index: 2000;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
} 

/* Update mobile responsiveness */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        width: 100%;
    }
    
    nav {
        padding: 0.8rem 3%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .logo img {
        height: 45px;
    }
    
    .hospital-name {
        font-size: 1rem;
    }
    
    .hamburger {
        display: flex;
        margin-right: 5px;
    }

    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #1B5E20;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 2rem 0;
        transition: left 0.3s ease;
        gap: 1.5rem;
        z-index: 2000;
    }

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

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem;
        font-size: 1.2rem;
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Fix section padding for mobile */
    .hero, .specialty-care, .hospital-facilities, 
    .path-to-better-health, .our-specialties, 
    .doctors, .medical-gallery, .treatments, 
    .testimonials, .contact, .video-section {
        padding: 3rem 0;
    }
    
    /* Fix heading sizes for mobile */
    h2 {
        font-size: 2rem !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    /* Fix founder info section */
    .founder-info {
        flex-direction: column;
        text-align: center;
    }
    
    .founder-details {
        text-align: center;
    }
    
    /* Fix doctors grid */
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .doctor-card {
        min-width: auto;
        width: 100%;
    }
    
    /* Fix gallery grid */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    /* Fix treatments grid */
    .treatments-grid {
        grid-template-columns: 1fr;
    }
    
    /* Fix contact section */
    .contact-cards {
        padding: 0 1rem;
    }
}

/* Additional fixes for very small screens */
@media (max-width: 480px) {
    body {
        padding-top: 70px;
    }
    
    header {
        height: 70px;
    }
    
    nav {
        padding: 0.5rem 2%;
    }
    
    .logo img {
        height: 40px;
    }
    
    .hospital-name {
        font-size: 0.9rem;
    }
    
    .nav-links {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    /* Adjust section padding */
    .hero, .specialty-care, .hospital-facilities, 
    .path-to-better-health, .our-specialties, 
    .doctors, .medical-gallery, .treatments, 
    .testimonials, .contact, .video-section {
        padding: 2rem 0;
    }
    
    .contact{
        padding-right: 2rem;
    }
    /* Adjust heading sizes */
    h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* Fix buttons */
    .cta-button, .appointment-button, .treatment-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Fix scroll to top button position */
    .scroll-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Fix for horizontal overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Fix for location cards on mobile */
@media (max-width: 900px) {
    .location-cards-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .location-card {
        max-width: 100%;
        padding-left: 0;
    }
    
    .contact-modern-wrapper {
        padding: 0 1rem;
    }
    
    .contact-modern-card, .contact-modern-location {
        max-width: 100%;
        padding: 1.5rem;
    }
}

.custom-hero-container {
    background: #fff;
    border-radius: 18px;
    padding: 2.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 90vh;
}

.hero-content {
    display: flex;
    gap: 4rem;
    align-items: center;
    height: 100%;
}

.left-content {
    flex: 0 0 40%;
    animation: slideInLeft 1s ease-out;
}

.right-content {
    flex: 0 0 60%;
}

.hospital-title {
    font-size: 2.5rem;
    color: #1B5E20;
    font-weight: bold;
    margin-bottom: 2rem;
    text-align: center;
}

.image-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.doctor-image {
    width: 100%;
    height: auto;
    border-radius: 20px;
    border: 4px solid #1B5E20;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1rem;
}

.treatment-pill {
    padding: 1rem 1.5rem;
    border-radius: 15px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    transform: translateX(50px);
    animation: slideInRight 0.5s ease-out forwards;
    animation-delay: calc(var(--delay) * 1s);
}

/* Treatment pill colors */
.treatment-pill.cancer { background: linear-gradient(135deg, #e53935, #c62828); }
.treatment-pill.skin { background: linear-gradient(135deg, #8e24aa, #6a1b9a); }
.treatment-pill.panchkarma { background: linear-gradient(135deg, #1e88e5, #1565c0); }
.treatment-pill.sk { background: linear-gradient(135deg, #43a047, #2e7d32); }
.treatment-pill.nadi { background: linear-gradient(135deg, #fb8c00, #ef6c00); }
.treatment-pill.agnikarma { background: linear-gradient(135deg, #d81b60, #ad1457); }
.treatment-pill.fertility { background: linear-gradient(135deg, #00acc1, #00838f); }
.treatment-pill.stone { background: linear-gradient(135deg, #6d4c41, #4e342e); }
.treatment-pill.pain { background: linear-gradient(135deg, #546e7a, #37474f); }
.treatment-pill.marm { background: linear-gradient(135deg, #f4511e, #d84315); }

.treatment-pill:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        gap: 2rem;
    }

    .left-content,
    .right-content {
        flex: 0 0 100%;
    }

    .image-container {
        max-width: 300px;
    }

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

@media (max-width: 576px) {
    .treatments-grid {
        grid-template-columns: 1fr;
    }

    .hospital-title {
        font-size: 2rem;
    }

    .image-container {
        max-width: 250px;
    }
}
.custom-hero-left {
    flex: 0 0 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.doctor-image, .clinic-image {
    box-shadow: none !important;
    border-radius: 18px;
    background: #fff;
    border: 4px solid #e3f2fd;
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
}
.clinic-overlay-text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2.1rem;
    font-weight: 700;
    background: rgba(67, 160, 71, 0.85);
    padding: 0.3em 1.2em;
    border-radius: 12px;
    letter-spacing: 0.08em;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
.custom-hero-right {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
}
.main-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.2rem;
}
.highlight-yellow {
    background: #fffde7;
    color: #fbc02d;
    padding: 0.2em 0.7em;
    border-radius: 8px;
    font-size: 2.1rem;
    font-weight: 700;
}
.highlight-orange {
    background: #fff3e0;
    color: #ff9800;
    padding: 0.2em 0.7em;
    border-radius: 8px;
    font-size: 2.3rem;
    font-weight: 700;
}
.disease-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
}
.pill {
    display: inline-block;
    padding: 0.5em 1.3em;
    border-radius: 20px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.2em;
    box-shadow: 0 2px 8px rgba(26,115,232,0.10);
    letter-spacing: 0.01em;
}
.pill-blue { background: #1a73e8; }
.pill-orange { background: #ff9800; }
.pill-pink { background: #e91e63; }
.pill-green { background: #43a047; }
.pill-magenta { background: #ab47bc; }
.pill-brown { background: #8d6e63; }
.pill-yellow { background: #fbc02d; color: #333; }
.pill-navy { background: #0b4f9b; }

.custom-cta {
    background: linear-gradient(90deg, #43a047 60%, #388e3c 100%);
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 32px;
    padding: 1.1rem 2.8rem;
    box-shadow: 0 4px 24px 0 rgba(67,160,71,0.18);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
    outline: none;
    margin-top: 1.2rem;
    display: inline-block;
}
.custom-cta:hover {
    background: linear-gradient(90deg, #388e3c 60%, #43a047 100%);
    box-shadow: 0 8px 32px 0 rgba(67,160,71,0.22);
    transform: translateY(-2px) scale(1.04);
}

@media (max-width: 900px) {
    .custom-hero-container {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .custom-hero-left {
        float: none;
        margin: 0 auto 1.5rem auto;
        display: block;
    }
    .custom-hero-right {
        width: 100%;
    }
}
@media (max-width: 600px) {
    .custom-hero, .custom-hero-container {
        padding: 1.2rem 0.5rem;
    }
    .doctor-image, .clinic-image {
        width: 120px;
        max-width: 120px;
    }
    .clinic-overlay-text {
        font-size: 1.1rem;
        padding: 0.2em 0.7em;
    }
    .main-heading {
        font-size: 1.1rem;
    }
    .creative-pills .pill {
        font-size: 0.92rem;
        padding: 0.3em 0.7em;
    }
}

.treatments-container {
    width: 100%;
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
}

.treatment-pill {
    background: rgba(0, 100, 0, 0.8);
    padding: 1.2rem;
    text-align: center;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.treatment-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background: rgba(0, 128, 0, 0.9);
}

/* Tablet view */
@media (max-width: 1024px) {
    .treatments-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }

    .treatment-pill {
        font-size: 0.9rem;
        padding: 1rem;
        min-height: 50px;
    }
}

/* Mobile view */
@media (max-width: 768px) {
    .treatments-container {
        padding: 0.8rem;
        margin: 1rem auto;
    }

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

    .treatment-pill {
        font-size: 0.85rem;
        padding: 0.8rem;
        border-radius: 10px;
        min-height: 45px;
    }
}

/* Small mobile view */
@media (max-width: 480px) {
    .treatments-container {
        padding: 0.5rem;
    }

    .treatments-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 0.8rem;
    }

    .treatment-pill {
        font-size: 0.9rem;
        padding: 1rem;
        min-height: 50px;
        max-width: 280px;
        margin: 0 auto;
        width: 100%;
    }
}
.hero{
    background: url('Dr. Varun kumar/Hospital\ img1.jpeg') center/cover no-repeat;
}
