@font-face {
    font-family: 'Poppins-Regular';
    src: url('../fonts/Poppins/Poppins-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* ===== Base Styles (same as your code) ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins-Regular';
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: white;
    color: #333;
}

.navbar {
    position: relative;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, .9);
    padding: 16px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    z-index: 9999;
}





.navbar.fixed {
    position: fixed;
    top: 0;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.navbar .logo img {
    width: 53px;
}

.navbar nav ul {
    list-style: none;
    display: flex;
    gap: 3px;
}

.navbar nav ul li a {
    border-radius: 50px;
    padding: 5px 15px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.navbar nav ul li a:hover {
    background: linear-gradient(to right, #4e00c2, #ff007f);
    color: white;
}

.quote-btn {
    background: linear-gradient(135deg, #4e00c2, #ff007f);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    letter-spacing: 1px;
    text-decoration: none;
    font-size: 14px;
}

/* ===== Hamburger Styles ===== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.menu-toggle div {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hamburger animation */
.menu-toggle.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* ===== Responsive ===== */
@media (max-width: 992px) {
    nav {
        position: absolute;
        top: 70px;
        right: 0;
        width: 250px;
        background: white;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease-in-out;
    }

    nav.active {
        max-height: 500px;
        /* Enough for all items */
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 10px 10;
        border-radius: 10px;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
        border-radius: 0;
    }

    .quote-btn {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }
}

/* ================================================HERO SECTION ============================================= */
.hero {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    height: calc(100vh - 80px);
    padding: 27px 50px 0px;
    background: linear-gradient(rgb(23, 1, 54), rgba(0, 0, 0, 0.5)),
        url(../image/hospital-images-org/WhatsApp\ Image\ 2025-08-08\ at\ 15.41.52_22764da6.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.hero-content h1 {
    text-align: center;
    font-size: 53px;
    margin-bottom: 35px;
    line-height: 63px;
    color: white;
}


.hero-content h1 span {
    background: linear-gradient(135deg, #4e00c2, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}


.hero-content p {
    color: white;
    text-align: center;
    font-size: 20px;
    margin-bottom: 30px;
}

.btn {
    text-decoration: none;
    text-align: center;
    background: linear-gradient(135deg, #4e00c2, #ff007f);
    color: white;
    padding: 10px 20px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 30px;
}

/* .hero-image img {
     width: 400px;
    border-radius: 29px;
    border-right: 12px solid;
    border-bottom: 13px solid;
    border-image: linear-gradient(45deg, pink, #ff007f) 1;
} */

/* Hero section default (desktop) already given by you */

/* ===== Responsive Hero Section ===== */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        align-items: center;
        text-align: center;
        height: auto;
        padding: 60px 20px;
    }

    .hero-content {
        max-width: 100%;
        margin-top: 50px;
    }

    .hero-content h1 {
        font-size: 36px;
        line-height: 46px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 25px;
    }



    /* .hero-image {
        display: none;
     } */
}

@media (max-width: 576px) {
    .hero {
        padding: 40px 15px;
    }

    .hero-content h1 {
        font-size: 28px;
        line-height: 38px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}


/* ==========================================service============================================================================= */


.services-section {
    padding: 80px 20px 40px;
    background-color: #fff;
    text-align: center;
    position: relative;
}

.sub-heading {
    font-weight: bold;
    color: #7f5af0;
    display: inline-block;
    padding: 4px 16px;
    margin-bottom: 10px;
    word-spacing: -16px;
    font-size: 18px;
}

.sub-heading span {
    background-color: #efe4ff;
    padding: 4px 15px;
}

.main-heading {
    font-size: 32px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 10px;
}

.services-desc {
    color: #475569;
    max-width: 700px;
    margin: 0 auto 80px auto;
    font-size: 16px;
}

.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 27px;
}

.service-box {
    /* background: #ffffff; */
    background: radial-gradient(50% 50% at 50% 50%, #ff007f12 0, rgba(255, 255, 255, 0.01) 100%);
    padding: 27px;
    width: 290px;
    height: 290px;
    text-align: center;
    border-radius: 7px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}


.service-box:hover {
    transform: translateY(-6px);
    /* box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); */
}


.service-box img {
    width: 48px;
    margin-bottom: 16px;
}

.service-box h4 {
    font-size: 15px;
    color: #0f172a;
    margin-bottom: 10px;
}

.service-box p {
    text-align: center;
    word-spacing: 7px;
    font-size: 14px;
    color: #64748b;
}


.about-section {
    padding: 60px 50px;
    background: #fff;
    font-family: 'Segoe UI', sans-serif;
}

.about-container {
    display: flex;
    align-items: center;
    justify-content: left;
    gap: 30px;
    flex-wrap: wrap;
}

/* Image Styling */
.about-image {
    width: 50%;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}



.about-label {
    font-size: 14px;
    font-weight: bold;
    color: #7f5af0;
    background-color: #efe4ff;
    padding: 4px 12px;
    border-radius: 3px;
    display: inline-block;
    letter-spacing: 1px;
}

.about-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #0f172a;
    line-height: 1.3;
}

.about-content p {
    font-size: 16px;
    color: #475569;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

.about-content ul {
    margin-bottom: 25px;
}


/* .read-more-btn {
    background: linear-gradient(135deg, #4e00c2, #ff007f);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
} */

.read-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(78, 0, 194, 0.3);
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        gap: 30px;
    }

    .about-image,
    .about-content {
        width: 100%;
    }

    .about-image img {
        width: 100%;
        border-radius: 5px;
    }

    .about-content {
        text-align: left;
        font-size: 21px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .about-content p {
        font-size: 15px;
    }
}

@media (max-width: 576px) {
    .about-section {
        padding: 40px 20px;
    }

    .about-content h2 {
        font-size: 24px;
        line-height: 1.4;
    }

    .about-content p {
        font-size: 14px;
    }



    .read-more-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .services-wrapper {
        gap: 15px;
    }
}



/* ===================================IMAGE EFFECT========================================================= */
.image-overlay-container {
    position: relative;
    overflow: hidden;
}

.image-overlay-container img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
    cursor: pointer;
}

.hover-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
    transition: height 0.6s ease;
    pointer-events: none;
}

.image-overlay-container:hover .hover-overlay {
    height: 100%;
}

.image-overlay-container:hover img {
    border-radius: 10px;
    transform: scale(1.05);
}


.about-content {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    width: 100%;
}

@media (max-width: 500px) {
    .about-content {
        width: 100%;
    }
}

/* .about-label {
    font-weight: bold;
    color: #6b4cd1;
    background-color: #e8e1fb;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
} */

.about-content h2 {
    font-size: 32px;
    margin: 30px 0px 23px;
    color: #092c4c;
    /* color: #474747; */
    line-height: 38px;
    text-align: left;
}

.about-content p {
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 20px;
    text-align: left;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.about-content ul li,
.about-content1 ul li,
.about-content2 ul li {
    list-style: none;
    position: relative;
    padding-left: 19px;
    margin-bottom: 10px;
    color: #444;
}

.about-content ul li::before,
.about-content1 ul li::before,
.about-content2 ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: #efaf00;
    font-size: 18px;
}

.read-more-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #4e00c2, #ff007f);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    transition: background 0.3s ease;
}


/* ===========================================FOOTER===================================================== */

.footer {
    background: #20004f;
    color: #fff;
    font-family: 'Segoe UI', sans-serif;
    padding: 60px 0px 40px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1 1 220px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 16px;
    border-radius: 8px;
}

.footer-section>img {
    width: 87px;
    background-color: white;
    border-radius: 5px;
    padding: 11px;
    margin-bottom: 13px;
}

.footer-section h3 {
    position: relative;
    font-size: 21px;
    margin-bottom: 25px;
    color: #fff;
    font-weight: 400;

}

.footer-section h3::after {
    content: '';
    position: absolute;
    top: 30px;
    left: 0;
    width: 120px;
    height: 5px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff007f, #4e00c2, #20014F);
}

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

.footer-section ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 0px;
    word-spacing: 5px;
}

.footer-section ul li::before {
    content: "";
    height: 2px;
    width: 7px;
    position: absolute;
    top: 10px;
    left: -12px;
    background: linear-gradient(#4e00c2, #ff007f);

}

.footer-section ul li a {
    text-decoration: none;
    color: white;
}

.about p {
    font-size: 15px;
    line-height: 1.7;
}

.social-icons a img {
    margin-top: 23px;
    margin-right: 12px;
    width: 35px;
    height: 35px;
}


.services-columns {
    columns: 2;
}

.payment-badge img {
    margin-top: 20px;
    max-width: 160px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    font-size: 14px;
    color: #ccc;
    border-top: 1px solid #345;
}

/* ====================================================contact==========================================*/

.contact-section {
    padding: 80px 20px;
    background: #f8f9fc;
    font-family: 'Segoe UI', sans-serif;
    background: radial-gradient(50% 50% at 50% 50%, #ff007f1a 0, rgba(235, 141, 17, 0) 100%);
    padding: 50px 15px;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

/* .contact-header h1 {
    font-size: 4em;
    letter-spacing: -2px;
    font-weight: 800;
    color: #1a1a1a;
    background: linear-gradient(#4e00c2, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
} */

.contact-header h1 {
    font-size: clamp(2rem, 5vw, 4em);
    /* min 2rem, preferred 5vw, max 4em */
    letter-spacing: -2px;
    font-weight: 800;
    background: linear-gradient(#4e00c2, #ff007f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.contact-header p {
    font-size: 1.1em;
    color: #555;
    margin-top: -10px;
    margin-bottom: 10px;
}

.contact-content {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-card {
    background: white;
    padding: 25px 30px;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.info-card h3 {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    margin-bottom: 10px;
    color: #4e00c2;
    gap: 20px;
}

.info-card h3 img {
    width: 50px;
    height: 50px;
    text-align: center;
}

.info-card p {
    margin-bottom: 8px;
    color: #333;
}

.info-card a {
    color: #4e00c2;
    text-decoration: none;
    font-weight: bold;
}

.contact-form {
    flex: 1.2;
    min-width: 350px;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form .head {
    margin-bottom: 20px;
    color: #4e00c2;
    font-size: 30px;
    font-weight: 600;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
}

.contact-form select {
    padding-right: 40px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('../image/arrow-down.png');
    background-repeat: no-repeat;
    background-position: right 17px center;
    background-size: 22px;
}

.contact-form button {
    padding: 9px 25px;
    background: linear-gradient(to right, #4e00c2, #ff007f);
    color: white;
    font-size: 1em;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: 0.3s ease;
}

/* ================================================= MAp ====================================================== */
.map-container {
    margin-top: 20px;
    width: 90%;
    margin: 0 auto;
}

.map-container h3 {
    color: #4e00c2;
    margin-top: 70px;
    font-size: 30px;
}

.map-container p {
    color: #765a9f;
    margin-bottom: 23px;
}

.map-container h3 {
    color: #4e00c2;
}

.map-container iframe {
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}


/* ========================================================= Programs Page ========================================== */


.services-section {
    text-align: center;
    padding: 60px 20px;
}

.services-section h2 {
    /* margin-top: 53px; */
    font-size: 46px;
    color: #20004f;
}

.services-section h2 span,
.gallery-title span {
    margin-right: -40px;
    background-color: #f0e6ff;
    padding: 0 40px;
}

@media (max-width: 400px) {
    .services-section h2 {
        font-size: 27px;
    }

    .about-content h2 {
        font-size: 27px;
        color: #20004f;
    }
}

.services-description {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #5f5f5f;
    font-size: 16px;
}

.services-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 15px;
    width: 350px;
    height: 400px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 20px;
    text-align: center;
    transition: 0.3s ease;
}

.service-card img {
    width: 100%;
    border-radius: 10px;
    height: 160px;
    object-fit: cover;
    margin-bottom: 15px;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #1e1e1e;
}

.service-card p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.service-card a {
    color: #20004f;
    text-decoration: none;
    font-weight: 600;
}

/* .cta-section {
    background-color: #f0e6ff;
    color: #20004f;
    padding: 50px 20px;
}

.cta-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 30px;
    align-items: center;
     margin: auto;
}



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

.cta-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
    text-align: center;
}

.cta-text p {
    font-size: 15px;
    text-align: center;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.phone {
    font-size: 18px;
    color: #20004f;
    text-decoration: none;
}
 */

/* ==================================service / slider=========================================================== */



.slider-section {
    padding: 40px 20px;
}

.slider-section h1 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: #4e00c2;
}

.slider-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 0.1px #4e00c2;
    margin: 10px 0;
}

.slider-section p {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 30px;
    color: #444;
    font-size: 14px;
}

.slider-container {
    perspective: 1000px;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;

}

.slide {
    min-width: 470px;
    height: 300px;
    margin: 0 10px;
    border-radius: 12px;
    overflow: hidden;
    /* transform: rotateY(0deg) scale(0.9); */
    transition: transform 0.8s ease, opacity 0.8s ease;
    flex-shrink: 0;
    position: relative;
}


.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: bold;
    font-size: 18px;
}

.controls {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.controls button {
    background: white;
    border: 2px solid #4e00c2;
    font-size: 18px;
    padding: 6px 15px;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.controls button:hover {
    background: #1f1254;
    color: white;
    border-color: white;
}



/* ================================================== BANNER CONTENT ======================================================== */

.banner {
    background-image: url('../image/banner-image.jpg');
    background-size: cover;
    background-position: center;
    height: 200px;
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    font-family: 'Poppins', sans-serif;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(46, 27, 71, 0.5);
}

.banner-content {
    position: relative;
    width: 100%;
    padding: 0 50px;
    gap: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
}

.left-text h1 {
    font-size: clamp(20px, 5vw, 36px);
    font-weight: 700;
    margin: 0;
}



.left-text p {
    font-size: 14px;
    letter-spacing: 2px;
    margin-top: 5px;
    text-align: left;
}

.breadcrumb {
    /* font-size: 14px; */
    font-size: clamp(13px, 3vw, 20px);
    background-color: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 6px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.breadcrumb i {
    margin-right: 6px;
}

/* =================================================== Gradiant line ======================================================= */

.gradient-line {
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, white, white, #4e00c2, #ff007f, white, white);
    /* Gradient colors */
    margin: 30px 0;
    border-radius: 5px;
}


/* ======================================================= Department Page =================================================== */

.departments-section {
    padding: 60px 20px;
    background-color: #fff;
}

.departments-section .dept-head {
    font-size: 43px;
    color: #20014F;
    text-align: center;
    text-transform: uppercase;
    margin: 33px 0px;
}

.department-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    /* grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); */
    gap: 40px 20px;
    max-width: 1200px;
    margin: 120px auto;
    text-align: center;
}

.department-card {
    display: flex;
    flex-direction: column;
    width: 160px;
    align-items: center;
    justify-content: center;
    color: #374151;
    /* Tailwind Slate-700 */
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: transform 0.3s ease;
}

.department-card img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 10px;
    transition: transform 0.3s ease;
}

.department-card p {
    font-size: 14px;
    line-height: 1.3;
    text-transform: uppercase;
}

.department-card:hover img {
    transform: scale(1.1);
}

.department-card:hover {
    color: #0074c7;
}




.flagship-project {
    background: #fff;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.flagship-project .container {
    max-width: 1100px;
    margin: auto;
}

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

.section-header h2 {
    font-size: 2.2rem;
    color: #20004f;
    margin-bottom: 10px;
}

.section-header h3 {
    font-size: 1.6rem;
    /* margin-bottom: 15px; */
}

.section-header .intro {
    font-size: 1rem;
    color: #555;
    max-width: 700px;
    margin: auto;
}

/* Two Column Layout */
.two-column {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    margin-bottom: 25px;
}

.two-column .column {
    flex: 1;
    min-width: 280px;
}

.two-column .text {
    flex: 1;
    min-width: 280px;
}

.column-head {
    position: relative;
    font-size: 33px;
    font-weight: 500;
    margin-bottom: 34px;
}

.column-head::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    width: 170px;
    height: 5px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff007f, #4e00c2, #ffffff);
}

.two-column img {
    width: 100%;
    border-radius: 8px;
}

.two-column ul {
    list-style: none;
    padding: 0;
}

.two-column ul li {
    font-size: 20px;
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    margin-bottom: 13px;
}

@media (max-width:500px) {
    .two-column ul li {
        font-size: 16px;
    }
}

.two-column ul li span {
    color: #ffba4f;
    margin-right: 8px;
    font-weight: bold;
}

/* Impact Section */
.impact h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #20004f;
}

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

.impact-grid div {
    background: #fff;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 0.95rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 50px;
    text-align: center;
}

@media (max-width:500px) {
    .impact-grid div {
        margin-bottom: 10px;
    }
}

.impact-grid span {
    color: #4e00c2;
    font-weight: bold;
    margin-right: 5px;
}

/* =======================Facilities Section ===========*/
.facilities {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.facilities h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-align: center;
    color: #20004f;
}

.facility-marquee {
    overflow: hidden;
    position: relative;
    white-space: nowrap;
}

.facility-list {
    display: flex;
    gap: 20px;
    animation: scrollLeft 25s linear infinite;
}

.facility-list div {
    flex: 0 0 auto;
    background: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    color: #444;
    white-space: nowrap;
}

/* Animation */
@keyframes scrollLeft {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .facility-list {
        gap: 30px;
        animation-duration: 20s;
    }

    .facility-list div {
        font-size: 0.9rem;
        padding: 8px 15px;
    }
}

@media (max-width: 480px) {
    .facility-list {
        gap: 20px;
        animation-duration: 15s;
    }

    .facility-list div {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
}


/* Scrollbar Style */
.facility-list::-webkit-scrollbar {
    height: 6px;
}

.facility-list::-webkit-scrollbar-thumb {
    background: #bbb;
    border-radius: 3px;
}

/* Responsive */
@media (max-width: 768px) {
    .two-column {
        flex-direction: column;
    }

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

/* =================================Gallery Page============================================ */

.gallery {
    padding: 40px 20px;
    background: #fafafa;
}

.gallery-title {
    text-align: center;
    font-size: 2em;
    color: #20004f;
    font-weight: 700;
    margin-bottom: 30px;
}

.masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    grid-auto-rows: 200px;
    gap: 15px;
    width: 90%;
    margin: 0 auto;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
}

.masonry-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.masonry-item:hover img {
    transform: scale(1.1);
}

/* Different sizes like Instagram Explore */
.masonry-item.wide {
    grid-column: span 2;
}

.masonry-item.tall {
    grid-row: span 2;
}
/* Mobile Layout Fix */
@media (max-width: 576px) {
  .masonry {
    display: block; /* grid hatakar normal flow */
  }

  .masonry-item {
    width: 100%;
    margin: 0 auto 15px auto; /* center + gap */
    height: auto; /* auto adjust */
  }

  .masonry-item img {
    width: 100%;
    height: auto; /* natural ratio */
    object-fit: contain; /* image cut na ho */
  }

  /* Disable tall & wide on mobile */
  .masonry-item.tall,
  .masonry-item.wide {
    grid-row: auto !important;
    grid-column: auto !important;
  }
}


/* =======================Lightbox Overlay ============================ */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(112, 112, 112, 0.85);  
    backdrop-filter: blur(4px);  
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

/* Expanded Image */
.lightbox-img {
    cursor: pointer;
    margin-top: 2%;
    max-width: 50%;  
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    animation: zoomIn .5s ease;
    transition: transform 0.3s ease;
}

/* On hover thoda zoom */
.lightbox-img:hover {
    transform: scale(1.02);
}

/* Zoom animation */
@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Close Button */
.lightbox .close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 38px;
    font-weight: 500;
    color: #f5f5f5;
    cursor: pointer;
    transition: 0.3s;
    user-select: none;
}

.lightbox .close:hover {
    color: #ff0f6f;
}

 
/* Tablet */
@media (max-width: 992px) {
    .lightbox-img {
        max-width: 75%;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .lightbox-img {
        max-width: 90%;
    }
    .lightbox .close {
        font-size: 28px;
        top: 15px;
        right: 15px;
    }
}
