@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background: #f8f9fa;
}

h1 {
    color: white !important;
    font-size: 1.3em !important;
    margin-bottom: 20px !important;
    text-align: center;
}


.navbar {
    background: #fff;
    transition: all .6s;
    backface-visibility: hidden;
    border-bottom: 1px solid #ebebeb;
    padding: .5rem 0rem;
}

.navbar-brand {
    width: 162px;
    border: 0;
    color: #ff002b !important;
    font-size: 28px;
    font-weight: 600;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
    border: 0;
}

.navbar-dark .navbar-nav {
    font-size: 13px;
    color: #ff0000;
    height: 100vh;
    padding-top: 60px;

}

.navbar-dark .navbar-nav .nav-link:hover {
    color: #ff0000;
}

.nav-links-title {
    margin: 1rem 0 2rem 0;
}

.navbar-toggler {
    padding: 0px;
}

.social-link a {
    font-size: 3.5vh;
    margin: 1vh;
    color: white;
}

.social-link a:hover {
    color: #007bff;
}

.social-link a:focus {
    color: #007bff;
}

.navbar-dark .navbar-toggler span {
    display: block;
    width: 30px;
    height: 2px;
    margin: 6px auto;
    background: #ff0000;
    transition: all .6s cubic-bezier(0.250, 0.100, 0.250, 1.000);
}

.navbar-dark .navbar-toggler {
    border-color: rgba(255, 255, 255, .0);
}

.navbar-dark .navbar-toggler:focus {
    background: none;
    outline: 0;
}

.navbar-dark .navbar-toggler[aria-expanded="true"] span:first-of-type {
    transform: rotate(45deg) translate(6px, 6px);
}

.navbar-dark .navbar-toggler[aria-expanded="true"] span:nth-of-type(2) {
    opacity: 0;
}

.navbar-dark .navbar-toggler[aria-expanded="true"] span:last-of-type {
    transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-dark .navbar-toggler[aria-expanded="false"] span {
    transform: none;
    opacity: 1;
}

.nav-item {
    text-align: center;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 500;
}

.container {
    transition: all .6s;
    backface-visibility: hidden;
}

.navbard2 {
    background-color: #000 !important;
}


.navbard2 .navbar-brand {
    color: #fff !important;
}

h6 {
    font-size: 1.6rem;
    font-weight: 300;
}


.navbar-dark .container i {
    font-size: 1.4rem;

}

.navbar-dark .container input {
    background-color: #000;
    color: #ebebeb;
}

.topsearch {
    float: right;
    right: 16%;
    top: 5.5%;
    position: fixed;
}

/**********************************************
 Custom CSS to style the search bar ccollapse
***********************************************/

.xclose {
    display: block;
    cursor: pointer;
    right: 16%;
    position: absolute;
}

#xIcon {
    display: none;
}


.full-width-collapse {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.full-width-input {
    width: 80%;
    margin: 0px 0 60px 118px;
    padding: 10px;
    font-size: 18px;
    border: none;
    box-sizing: border-box;
    border-bottom: 2px solid red !important;
    outline: none;
}

.full-width-input::placeholder {
    font-size: 18px;
    color: #888;
}


/*******************************
 Black transition for SearchBar 
********************************/

.navbar-dark.bg-black {
    background-color: black !important;
    transition: 0.3s ease;
}

.icon-red {
    color: red !important;
}

#myDiv {
    background-color: black;
    transition: 0.3s ease;
}

.brand-white {
    color: white !important;
}


/****************************
 Parallax and overlay styles 
*****************************/
.parallax-image1,
.parallax-image2,
.parallax-image3 {
    text-align: left;
    min-height: 500px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.parallax-overlay-text {
    position: absolute;
    top: 34%;
    left: 30%;
    transform: translate(-30%, -30%);
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.parallax-overlay-image2 {
    position: absolute;
    top: 25%;
    left: 30%;
    transform: translate(-30%, -30%);
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
}

.parallax-image1 {
    background-image: url('img/parallax-image1.webp');
}

.parallax-image2 {
    background-image: url('img/parallax-image2.webp');
}

.parallax-image3 {
    background-image: url('img/parallax-image3.webp');
}

.second-parallax {
    background-image: url('sec.jpg');
}

.third-parallax {
    background-image: url('third.jpg');
}

.overlay-text {
    position: absolute;
    top: 34%;
    left: 30%;
    transform: translate(-30%, -30%);
    color: white;
    font-size: 2.5em;
    font-weight: bold;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
    text-align: left;
}


/****************
 video carousel
****************/

.carousel, .carousel-item, .active {
    height: 100vh;
    object-fit: cover;
}

.carousel-inner {
    height: 100%;
}

.flex-center {
    color: #fff;
}

.carousel-caption {
    height: 100%;
    top: 45%;
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.2;
}

.display-3 {
    font-weight: 500;
}

.lead{
    font-size: 1.5rem;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 2;

    .overlay-off & {
        z-index: 0;
    }
}


/******************
 Card styles
*******************/
.card {
    overflow: hidden;
    margin-bottom: 15px;
    min-height: 403px;
}

.card-body {
    background-color: #dfd6c7;
}

.card-text {
    margin-top: 20px;
}

.card-text h6 {
    text-align: left;
    font-size: 1.1em;
    font-weight: bold;
    color: #555;
}

/***********
key-feature
************/
.key-feature {
    min-height: 403px;
}

.btn-primary {
    background: #ff002b !important;
    color: #fff;
    border: 1px solid #d70024 !important;
}

.bg-primary {
    background: #000 !important;
    color: #fff;
}

.bg-primary a {
    color: #fff;
}

.card-title{
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2em;
    color: black;
}



/***************************************************
hover effect for multi-line highlighted text tgitle 
****************************************************/
.highlighted-text {
    text-align: left;
    position: relative;
    display: inline;
    background: linear-gradient(to bottom, #F8FA5B 0%, #F8FA5B 100%);
    background-size: 0 15px;
    /* Increase the height of the yellow hover */
    background-position: 0 100%;
    background-repeat: no-repeat;
    transition: background-size 0.5s ease-in-out;
}

.card:hover .highlighted-text {
    background-size: 100% 15px;
}
.jhsm:hover .highlighted-text {
    background-size: 100% 15px;
}

.highlighted-text:hover {
    background-size: 100% 15px;
    /* Increase the hover height */
}


.card:hover .card-img-top {
    transform: scale(1.1);
    /* Zoom effect on the image */
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;

}

/**************************************
 Join the Health Spark Movement (jhsm) css
 *************************************/

.jhsm {
    background-color: #dfd6c7;
    margin-top: 16px;
}

.jhsm-title {
    font-weight: 300 !important;
    margin-top: .5rem;
    font-size: 1.1em;
}

.jhsm-heading {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2em;
    color: black;
}

.jhsm-para {
    font-weight: 300 !important;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.1em;
}

.jhsm-img-card {
    border: 2px solid #dfd6c7;
    background-color: #fff;
}

.jhsm-img {
    width: 100%;
    height: 525px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.qna-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

@media (max-width: 768px) {

    .jhsm-heading {
        font-size: 1rem;
    }

    .jhsm-para {
        font-size: 0.9rem;
    }

    .qna-img {
        width: 70px;
        height: 80px;
        object-fit: cover;
    }

    .jhsm {
        padding: 1rem !important;
    }

    .jhsm-img-card {
        padding: 1rem !important;
    }

    .jhsm-img {
        height: auto;
        max-height: 250px;
    }

    .col-lg-2,
    .col-sm-3 {
        max-width: 25%;
    }

    .col-lg-10,
    .col-sm-9 {
        max-width: 75%;
    }

    .jhsm-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .col-12.jhsm {
        margin-bottom: 1rem;
    }

    .row.no-gutters {
        flex-wrap: wrap;
    }

    .col-lg-8,
    .col-lg-4 {
        max-width: 100%;
    }

    .container {
        padding: 10px 15px;
    }
}


/**************************************
 The Impact of Health Spark css
 **************************************/
.health-spark-title {
    font-weight: 300 !important;
    margin-top: 1rem;
    font-size: 1.1em;
}

.health-spark-heading {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.2em;
    color: black;
}

.health-spark-img {
    width: 100%;
    height: 525px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.health-spark-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 40px;
}

/********************************
  The Impact of Health Spark css Timeline CSS
 ********************************/
.timeline {
    position: relative;
    margin-top: 20px;
    margin-bottom: 60px;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    width: 2px;
    background-color: #dee2e6;
    height: 80%;
}

.timeline-step {
    position: relative;
    margin-bottom: 30px;
    padding-left: 30px;
    padding-top: 9px;
}

.timeline-step::before {
    content: attr(data-step);
    position: absolute;
    left: -25px;
    top: 0;
    background-color: #f1f1f1;
    color: black;
    border: 2px solid #ced4da;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    line-height: 30px;
    font-size: 14px;
    font-weight: bold;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
}

.timeline-content h5 {
    margin-bottom: 10px;
    font-weight: 600;
}

.timeline-content p {
    margin: 0;
}

/* Fix responsive issues */
@media (max-width: 768px) {
    .timeline {
        padding-left: 0;
    }

    .timeline-step {
        padding-left: 60px;
    }

    .timeline-step::before {
        left: 0;
    }

    .timeline::before {
        left: 19px;
        height: 75%;
    }


    .col-md-7,
    .col-md-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .health-spark-img {
        height: auto;
        width: 100%;
    }
}




.Content-Strategy {
    background-color: #dfd6c7;
    min-height: 352px;
}

.Content-Strategy .img {
    margin-top: 40px;
}

.Content-Strategy .card-img-top {

    width: 120px;
    height: 76.8px;
}


/**************************************
   Meet The Leadership Team
 **************************************/
 .team {
    min-height: 567px;
    border: 2px solid #dfd6c7;
}

.team img {
    border-radius: 50%;
}

.team-designation {
    font-weight: 300 !important;
    margin-top: .5rem;
    font-size: 1.1em;

}

.team-description {
    text-align: justify !important;
    margin-top: 15px;
    font-weight: 200 !important;
    font-size: 0.8em !important;
    color: #000 !important;
}

.team .card-img-top {
    margin: 20px;
    width: 180px;
    height: 176px;
}
 .team-description label {
    cursor: pointer;
}

.read-more-state {
    display: none;
}

.read-more-target {
    opacity: 0;
    max-height: 0;
    font-size: 0;
    transition: .25s ease;
}

.read-more-state:checked~.read-more-wrap .read-more-target {
    opacity: 1;
    font-size: inherit;
    max-height: 999em;
}

.read-more-state~.read-more-trigger:before {
    content: 'Read more';
}

.read-more-state:checked~.read-more-trigger:before {
    content: 'Read less';
}

.read-more-trigger {
    cursor: pointer;
    display: inline-block;

}


/**************************************
   Meet The Leadership Team
 **************************************/

footer {
    background: #000;
    color: #fff;
    font-weight: 300;
    font-size: 14px;
}

.footer-top {
    background: #1a1a1a;
    padding: 25px;
    color: #fff;
}


footer li {
    list-style: none;
}

footer li a {
    color: #efefef;
}


.text-dark {
    border: 1px solid white;
    color: #ffffff !important;
}


/* Ensure cards wrap on smaller screens */
@media (max-width: 768px) {
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 100%;
        margin: 15px 0px;
    }

    .carousel {
        height: 70vh !important;

    }

    .display-3 {
        font-size: 2.50rem !important;
    }

    .lead {
        font-size: 1.30rem !important;
    }

    h1 {

        font-size: 2rem !important;

    }

    h2 {

        font-size: 1.25rem !important;
    }

    .heading-h2 {

        font-size: 2rem !important;
    }

    .btn {
        font-size: 0.8rem;
    }

    .carousel-caption {
        top: 26% !important;
    }

    .topsearch {
        top: 42px !important;
    }

    .full-width-input {
        width: 85%;
        margin: 0px 0 60px 15px;

    }

    .parallax-image {
        min-height: 450px;
    }

    .parallax-image1 {
        background-image: url('img/phone-parallax-image1.jpg') !important;
    }

    .parallax-image2 {
        background-image: url('img/phone-parallax-image2.jpg') !important;
    }

    .parallax-image3 {
        background-image: url('img/phone-parallax-image3.jpg') !important;
    }

}

.custom-carousel-caption{
    position: relative;
    top: 20%;
    color: white;
}

@media (max-width: 768px) {
    .custom-carousel-caption{
        top: 6%;
    }

    
.parallax-image2{
    min-height: 680px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
} 
}