﻿body {
    font-family: "Roboto Mono", monospace;
    padding: 0px;
    margin: 0px;
    background-color: rgb(240, 248, 255);
}

.quick-links a:hover {
    color: #007bff !important;
}

.oi:hover, .bi:hover {
    color: #007bff;
    cursor: pointer;
}

.top-bar {
    background: rgb(20, 70, 123);
    padding: 5px 20px;
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    font-size: 14px;
}

.main-nav {
    background: white;
    padding: 10px 20px;
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    margin-top: 20px;
}

    .main-nav a {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        color: black;
        font-weight: 600;
    }

.top-bar {
    padding-left: 100px;
    padding-right: 100px;
}

.fa-brands {
    font-size: 25px;
    border-radius: 50%;
    color: white;
}

.right {
    display: flex;
    gap: 10px;
}

.hero {
    padding: 40px 20px;
    background-image: url(https://healthcarefoundation.co.in/assets/img/banner/welcome.jpg);
    background-size: 100% auto; /* width = 600px, height auto to maintain aspect ratio */
    background-repeat: no-repeat; /* prevent tiling */
    height: 350px;
    background-position: center;
}

.notice-board {
    margin-top: 20px;
    background: #fff;
    padding: 15px;
    border-left: 4px solid #007bff;
}

.events {
    padding: 40px 20px;
}


.header1 {
    display: flex;
    justify-content: space-between;
    padding-left: 100px;
    padding-right: 100px;
}

.notice {
    padding-top: 60px;
    padding-bottom: 60px;
}

.box {
    height: 200px;
    width: 400px;
    border-style: solid;
    border-color: rgb(22, 33, 185);
    border-width: 6px;
}

.notice {
    background-color: rgb(240, 248, 255);
    padding-left: 130px;
    padding-right: 130px;
    display: flex;
    gap: 40px;
    color: rgb(102, 102, 102);
}

.section2-heading {
    font-weight: bolder;
    color: rgb(22, 33, 185);
}

.notice {
    box-shadow: 2px 2px 5px rgba(27, 26, 26, 0.5);
}

.section1-heading {
    background-color: rgb(255,73,73);
    text-align: center;
    margin-bottom: 10px;
}

.section1 {
    margin-top: 10px;
}

.box1 {
    flex: 1 1 calc(50% - 40px);
    border: 1px solid #ccc;
    padding: 10px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    border-radius: 15px;
    min-width: 300px;
}


.events-slider {
    position: relative;
    margin: auto;
    overflow: hidden;
}

    .events-slider h1 {
        text-align: center;
    }

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 200%;
}

.event-slide {
    flex: 0 0 100%;
    box-sizing: border-box;
    padding: 20px;
    background: #f5f5f5;
    border: 1px solid #ccc;
}

#prev, #next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

#prev {
    left: 10px;
}

#next {
    right: 10px;
}

.footer {
    display: flex;
    padding-left: 100px;
    padding-right: 100px;
    padding-top: 50px;
    padding-bottom: 50px;
    gap: 50px;
    background-color: rgb(20, 70, 123);
    color: white;
}

.left {
    width: 50%;
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .quick-links a {
        color: #fff;
        text-decoration: none;
        color: black;
    }

.info {
    margin-left: 100px;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.main-nav a {
    text-decoration: none;
    padding: 10px 15px;
    color: black;
}



/* GALLERY */

.gallery {
   text-align:center;
    background-color: #89b8eb;
   
    color: white;
    width:100%;
}
/* .images{
  padding: 0px 50px;
  line-height: 30px;
}
.image{
  border-radius: 15px;
}
.image:hover {
  transform: scale(0.9);
  color: #111;
  box-shadow: 0 0 100px rgb(111, 120, 252);
} */

.images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center images horizontally */
    gap: 20px; /* Space between images */
    padding: 20px;
}

.image {
    border-radius: 15px;
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 300px; /* Keeps images from getting too large */
    height: auto;
}

    .image:hover {
        transform: scale(0.95);
        box-shadow: 0 0 20px rgba(111, 120, 252, 0.6);
    }

a:hover {
    color: #007bff;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}




/* Responsive Layout */
@media (max-width: 1102px) {
    .header1 {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .main-nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .notice {
        flex-direction: column;
        padding-left: 20px;
        padding-right: 20px;
    }

    .events {
        flex-direction: column;
        padding: 20px;
    }

    .box1 {
        width: 100%;
        max-width: none;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 30px;
    }

    .info {
        margin-left: 0;
        margin-top: 20px;
    }

    .left {
        width: 100%;
    }

    /* .top-bar {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    gap: 10px;
    align-items: center;
  }

  .top-bar div {
    flex-direction: column;
    align-items: center;
    text-align: center;
  } */

    .right {
        justify-content: center;
        gap: 20px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        position: relative;
        bottom: 20px;
    }

        .main-nav a {
            padding: 10px 20px;
            display: block;
            text-align: center;
        }

        .main-nav.nav-open {
            display: flex;
        }

    .menu-toggle {
        display: block;
    }

    .header1 {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .top-bar {
        display: none;
    }

    .gallery {
        position: relative;
        bottom: 50px;
        color: white;
    }
}

@media (max-width: 768px) {

    .images {
        justify-content: center;
        padding: 10px;
    }

    .image {
        max-width: 90%; /* Responsive image size */
    }

    .slider-wrapper {
        flex-direction: column;
    }

    .event-slide img {
        width: 100%;
        height: auto;
    }

    #prev, #next {
        top: auto;
        bottom: 10px;
        transform: none;
        position: relative;
        margin: 10px;
    }

    .events-slider {
        padding: 0 10px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
        z-index: 999;
        position: relative;
        bottom: 20px;
    }

        .main-nav a {
            padding: 10px 20px;
            display: block;
            text-align: center;
        }

        .main-nav.nav-open {
            display: flex;
        }

    .menu-toggle {
        display: block;
    }

    .header1 {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .top-bar {
        display: none;
    }

    .gallery {
        position: relative;
        bottom: 50px;
        color: white;
    }
}


@media (max-width: 480px) {
    .box {
        width: 100%;
        height: auto;
    }

    .section1-heading h1,
    .section2-heading,
    .events h1 {
        font-size: 1.5rem;
        text-align: center;
    }

    .main-nav a {
        font-size: 14px;
    }

    .box1 {
        font-size: 14px;
    }

    .footer {
        padding: 20px;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: white;
        position: absolute;
        top: 100%;
        left: 0;
        padding: 10px 0;
        /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); */
        z-index: 999;
        position: relative;
        bottom: 20px;
    }

        .main-nav a {
            padding: 10px 20px;
            display: block;
            text-align: center;
        }

        .main-nav.nav-open {
            display: flex;
        }

    .menu-toggle {
        display: block;
    }

    .header1 {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }

    .about-outer {
        padding-left: 30px;
        padding-right: 30px;
        position: relative;
        bottom: 30px;
    }

    .gallery {
        position: relative;
        bottom: 50px;
        color: white;
    }
}









/* Basic Navbar Styles */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 40px;
}

.navbar-content ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

    .navbar-content ul li {
        position: relative;
    }

        .navbar-content ul li a {
            display: block;
            padding: 10px 15px;
            text-decoration: none;
            color: #333;
            font-size: 20px;
            font-weight: 700;
        }

.has-submenu .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 200px;
}

/* .has-submenu:hover .dropdown {
  display: block;
} */

/* Hamburger Icon */
.hamburger {
    font-size: 26px;
    cursor: pointer;
    display: none;
}

/* Mobile Styles */
@media (max-width: 1024px) {
    .hamburger {
        display: block;
    }

    .navbar-content {
        display: none;
        width: 100%;
        background: white;
    }

        .navbar-content.active {
            display: block;
        }

        .navbar-content ul {
            flex-direction: column;
        }

            .navbar-content ul li a {
                padding: 15px;
                border-top: 1px solid #ddd;
            }

    .has-submenu .dropdown {
        position: static;
        box-shadow: none;
    }

    .has-submenu.open .dropdown {
        display: block;
    }
}









.has-submenu .dropdown {
    display: none;
}

/* Show dropdown when parent has class 'open' */
.has-submenu.open .dropdown {
    display: block;
}


.has-submenu .dropdown {
    display: none;
}

.has-submenu.open .dropdown {
    display: block;
}


.has-submenu .dropdown {
    display: none;
}

.has-submenu.open .dropdown {
    display: block;
}

@media (max-width: 1024px) {
    .navbar-content {
        display: none;
        width: 100%;
    }

    .bg {
        position: relative;
        top: 10px;
    }

    .abt {
        position: relative;
        top: 20px;
    }

    .slider, .option {
        margin-top: 60px;
    }

    .navbar-content.active {
        display: block;
    }

    .navbar-content ul {
        flex-direction: column;
    }

    .hamburger {
        display: block;
        font-size: 28px;
        cursor: pointer;
    }
}













/* Navbar Base */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: white;
    z-index: 999;
    display: flex;
    justify-content: space-evenly;
    padding: 10px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo {
    height: 40px;
}


.hamburger {
    font-size: 26px;
    cursor: pointer;
    display: none;
}

.navbar-content {
    display: flex;
    justify-content: flex-end;
}

@media (max-width: 1100px) {
    .hamburger {
        display: block;
    }

    .n {
        display: flex;
    }

    .navbar-content {
        display: block;
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: white;
        transition: right 0.3s ease;
        /* box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2); */
        z-index: 1000;
    }

        .navbar-content.active {
            right: 0;
        }

        .navbar-content ul {
            flex-direction: column;
            padding: 50px 20px;
            margin: 0;
        }

            .navbar-content ul li a {
                padding: 15px 0;
                border-bottom: 1px solid #ddd;
                font-size: 18;
            }

    .has-submenu .dropdown {
        position: static;
        box-shadow: none;
    }

    .has-submenu.open .dropdown {
        display: block;
    }
}




.n {
    display: flex;
    align-items: center;
    padding-right: 30px;
}


@media (max-width: 1100px) {
    .n {
        width: 90%;
        justify-content: space-between;
    }
}

.close-btn {
    display: none;
    font-size: 30px;
    cursor: pointer;
    padding: 20px;
}

@media (max-width: 1100px) {
    .close-btn {
        display: block;
    }
}


.gallery {
    margin-top: 100px;
}

@media (max-width: 1100px) {
    body {
        margin-top: 200px;
    }
}