* {
    margin: 0;
    padding: 0;
}

/* Body Background Image */
body {
    background: url("./images/bgimage.avif") no-repeat center center fixed;
    background-size: cover;
    margin: 0;
    padding: 0;
    height: 100vh;
    position: relative;
}

/* Light Overlay for Fading Background */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    /* Adjust transparency (higher = lighter) */
    z-index: -1;
}


/* Sticky Transparent Content */

:root {
    --bg-overlay-color: #cccccc85;
}

.lightgray {
    background-color: rgb(204 204 204);
}

.class-h4 {
    font-weight: 600;
    /* font-style: italic; */
    font-size: 28px !important;
    letter-spacing: 0.05em !important;
}

.class-h5 {
    font-weight: 600;
    /* font-style: italic; */
    font-size: 20px !important;
    letter-spacing: 0.05em !important;
}

.rowgap {
    gap: 40px !important;
}

.max_width {
    width: 75% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.homecard{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.font-lightgray {
    color: #919191 !important;
}

.navbtn {
    background-color: rgb(204 0 0) !important;
    color: white !important;
    font-size: 14px !important;
    width: 150px !important;
    height: 40px !important;
    border-radius: 0px !important;
}

.navbtn:hover {
    background-color: black !important;
}

.navbar-brand img {
    height: 150px;
    /* Adjust logo size */
}

.nav-link {
    font-weight: bold;
    color: rgb(0 0 0);
}

.nav-link.active,
.nav-link:hover {
    color: red !important;
}

.b-bottom {
    border-bottom: 3px solid red;
}

.bg-red {
    background-color: rgb(255 0 0);
}

.h1-heading {
    font-size: 42px !important;
}

.paratext {
    font-size: 20px !important;
    font-weight: 500;
}

.ls-5 {
    letter-spacing: 1px !important;
}

.image-container {
    padding: .3rem;
    background-color: white;
    position: relative;
    width: 200px;
    /* Adjust as needed */
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
}

.custom-icon {
    font-size: 26px;
    /* Icon ka size bara karna */
    background-color: black;
    /* Background black */
    color: white;
    /* Icon color white */
    padding: 7px;
    /* Icon ke andar padding */
    border-radius: 50%;
    /* Circle shape dena */
}

.image-container-small {
    padding: .3rem;
    background-color: white;
    position: relative;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
}

/* Section Animation */
/* Default hidden state */
.fade-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* When visible in viewport */
.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}


.image-container-medium {
    padding: .3rem;
    background-color: white;
    position: relative;
    width: 170px;
    /* Adjust as needed */
    height: 170px;
    border-radius: 50%;
    overflow: hidden;
}


.hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(145, 145, 145, 0.6);
    color: white;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 50%;
}

.image-container:hover .overlay {
    opacity: 1;
}

.image-container-small:hover .overlay {
    opacity: 1;
}

.image-container-medium:hover .overlay {
    opacity: 1;
}

.imagetext {
    font-size: 12px !important;
    color: white !important;
}

.bg-overlay {
    background-color: var(--bg-overlay-color);
}

.wellness-banner {
    position: relative;
    background-image: url('https://static.wixstatic.com/media/6f68e0_6b653477977d45e7912f02d6e30e3dfd~mv2.jpg/v1/fill/w_1470,h_260,al_c,q_85,usm_0.66_1.00_0.01,enc_avif,quality_auto/6f68e0_6b653477977d45e7912f02d6e30e3dfd~mv2.jpg');
    background-size: cover;
    background-position: center;
    height: 173px;
    padding: 1rem;
}

@media screen and (max-width: 768px) {
    .max_width {
        width: 90% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .class-h4 {
        font-size: 16px !important;
    }

    .navbar-brand img {
        height: 80px;
        /* Adjust logo size */
    }

    .navbtn {
        background-color: rgb(204 0 0) !important;
        color: white !important;
        font-size: 12px !important;
        width: 120px !important;
        height: 40px !important;
        border-radius: 0px !important;
    }

    .image-container-medium {
        width: 150px;
        height: 150px;
    }
}

@media screen and (max-width: 500px) {
    .mobileheader{
        display: flex;
        flex-direction: column;
    }
    .mobileheader h4{
        margin-bottom: 5px !important;
    }
}