@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200..700&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

body {

    width: 100%;
    height: 100%;
}

p {
    text-align: justify;
    font-family: "Roboto", sans-serif;

}

a {
    text-decoration: none;
    color: #000;
}

h5 {
    color: red;
}

h1,
h2 {
    color: #267d86;
    font-size: 40px;
    font-family: "Oswald", sans-serif;
}

.home h1 {
    color: #fff;
}

.topbar {
    background: linear-gradient(140deg, #2a7f87 0%, #277e88 5%, #ffffff 5%, #ffffff 6%, #fe0000 6%, #fe0000 11%, #ffffff 11%, #ffffff 12%, #f8c035 12%, #f8c035 17%, #ffffff 17%, #ffffff 18%, #ffffff 100%);
    padding-top: 3px;
    padding-bottom: 3px;
}

.topbar p {
    color: #2f2f2f;
    font-size: 15px;
    margin-bottom: 0px;
}

.topbar h5 {
    color: #2f2f2f;
    font-size: 15px;
    margin-bottom: 0px;
}

.topbar a {
    color: #2f2f2f;
    font-size: 15px;
    margin-bottom: 0px;
}

.topbar a:hover {
    color: #000000;
}

.topbar marquee {
    background-color: transparent;
    margin-left: 18%;
}


/* navbar */
/* Logo Size */
nav .logo {
    width: 175px;
}

/* Active link styling in light navbar */
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .show>.nav-link {
    color: rgb(254, 0, 0);
    font-weight: 600;
}

/* Dropdown item active style */
.dropdown-item.active,
.dropdown-item:active {
    color: rgb(254, 0, 0);
    text-decoration: none;
    background-color: transparent;
}

/* Hover effect for navbar links */
.navbar-light .navbar-nav .nav-link:hover {
    color: rgba(254, 0, 0, 0.425);
    font-weight: 600;
}

/* Optional: make transition smoother */
.navbar-nav .nav-link {
    transition: color 0.3s ease;
}

/* Optional: Dropdown menu appearance */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Optional: Dropdown item hover */
.dropdown-item:hover {
    color: rgb(254, 0, 0);
    background-color: #f8f9fa;
}



/* car */
.carousel-item {
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.carousel-item::after {
    content: '';
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scaleY(-1);
    /* Mirror vertically */
    opacity: 0.3;
    z-index: 1;
}

.carousel-item.active::after {
    background-image: inherit;
}

.overlay-gradient {
  position: relative;
  background: linear-gradient(118deg, #1fcadc7d, #c2f6ffba, #fe000061, #f3afaff0);
  z-index: 2;
}

    
.min-vh-custom {
    min-height: 80vh;
}

.slide-img {
    max-height: 470px;
}



@media (max-width: 768px) {
  .top-banner h2 {
    font-size: 22px !important;
    padding: 8px !important;
    text-align: center !important;
  }


    .slide-img {
        max-height: 250px;
    }

     h1,h2 {
        font-size: 30px;
    }
}




/* Main Heading (h1) */
.carousel-item h1 {
  font-size: 2.5rem;         /* Large on desktop */
  font-weight: 700;
  color: #0c3c60;            /* Deep healthcare blue */
  margin-bottom: 20px;
}

/* Sub-heading (h3) */
.carousel-item h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #2c3e50;            /* Slightly muted blue */
  margin-bottom: 15px;
}

/* Paragraph Text (p) */
.carousel-item p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 700px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-item h1 {
    font-size: 1.8rem;
  }

  .carousel-item h3 {
    font-size: 1.2rem;
  }

  .carousel-item p {
    font-size: 1rem;
    line-height: 1.5;
  }
}

.carousel-item h1,
.carousel-item h3,
.carousel-item p {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Subtle text shadow for contrast */
}





footer .logo {
    width: 250px;
}

footer {
    background: linear-gradient(328deg, #00e7ff69, #ffffff, #fe00004d, #f8c33f4f, #ffffffbf, #f8c33f7a), url(../images/footer.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 100px;
    padding-bottom: 50px;
    color: #ffffff;
    font-weight: bold;
}

footer a {
    color: #fff;
}

footer .container {
    background-color: #0000001f;
    padding: 10px;
    border-radius: 20px;
}

footer .logo {
    background-color: #fff;
    padding: 10px;
    border-radius: 20px;
}




.top-banner {
    background: linear-gradient(82deg, #1fcadc26, #ffffffc4, #fe000038, #ffffff9c, #f8c33f7a), url(../images/top-banner.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    padding-top: 200px;
    padding-bottom: 200px;
    width: 100%;
}

.top-banner h2 {
    color: #000;
    font-weight: bold;
    font-size: 45px;
    background-color: #ffffff5c;
    padding: 10px;

}

.top-banner h6 {
    color: #000;
    font-weight: bold;
    font-size: 20px;
    background-color: #ffffff5c;
    padding: 10px;

}

/* .about img {
    width: 400px;
    height: auto;
    border-radius: 5px;
} */


/* .section-one .card {
    padding: 40px;
    font-family: "Oswald", sans-serif;
    background: linear-gradient(#e4fcfffc, #69edff66);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-bottom: 10px;
    border-radius: 36%;
    height: 215px;
    border: #ff221b 2px solid;

}
.section-one .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}





.section-one .card h4 {
    color: #000000;
    font-size: 22px;
    text-align: center;
} */

.section-one {
    background-color: #f9fbfd;
    padding: 60px 0;
}

.section-one .card {
    padding: 40px 25px;
    font-family: "Oswald", sans-serif;
    background: linear-gradient(145deg, #e4fcfffc, #b8f5ffb6);
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 28px;
    height: 230px;
    border: 2px solid #ff221b;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 15px 40px rgba(194, 16, 16, 0.301);
}

.section-one .card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.section-one .card h4 {
    color: #111;
    font-size: 24px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-one .card p {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
    margin: 0;
}

.section-one .card {
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.45);
    border: 2px solid rgba(255, 34, 27, 0.4);
}

/* Responsive tweaks */
@media (max-width: 991.98px) {
    .section-one .card {
        height: auto;
        padding: 30px 20px;
        margin-bottom: 20px;
    }

    .section-one .card h4 {
        font-size: 20px;
    }

    .section-one .card p {
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {
    .section-one .card {
        border-radius: 20px;
        padding: 25px 15px;
    }

    .section-one .card h4 {
        font-size: 18px;
    }

    .section-one .card p {
        font-size: 14px;
    }
}


/* gallery  */

.gallery-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 20px 0;
}

.gallery-track {
    display: flex;
    width: calc(300px * 10);
    /* 10 images */
    animation: scroll 30s linear infinite;
}

.gallery-container:hover .gallery-track {
    animation-play-state: paused;
}

.gallery-track img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 8px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Optional: Responsive adjustments */
@media (max-width: 768px) {
    .gallery-track img {
        width: 250px;
        height: 160px;
    }
}


/* counter */
#counter {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(355deg, #fff, #5072a717, #fff, #5072a71a);
    padding: 40px 0px;
    width: 100%;
}

 #counter .item {
        background: #fff;
        width: 96%;
        height: 167px;
        padding: 29px 29px;
        margin: 3px;
        text-align: center;
        border-radius: 20px;
        -webkit-box-shadow: 0px 0px 38px -8px rgba(0, 0, 0, 0.34);
        -moz-box-shadow: 0px 0px 38px -8px rgba(0, 0, 0, 0.34);
        box-shadow: 0px 0px 38px -8px rgba(0, 0, 0, 0.34);
    }

#counter .item .count {
    color: #e8b12d;
    margin-bottom: 5px;
    font-size: 40px;
}

#counter .item h3 {
    color: #000000;
    text-transform: capitalize;
}

/* slider home */
.home .slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.home .slides {
    display: flex;
    width: 100%;
    height: 100%;
    animation: slide 60s infinite;
}

.home .slide {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
}

.home .slide1 {
    background-image: url('../images/slider1.png');
}

.home .slide2 {
    background-image: url('../images/slider-2.png');
}

.home .slide3 {
    background-image: url('../images/slider-4.png');
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }

    33% {
        transform: translateX(-100%);
    }

    66% {
        transform: translateX(-200%);
    }

    100% {
        transform: translateX(0);
    }
}

.home .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.home .slider-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    z-index: 10;
}

.home .slider-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.home .slider-text p {
    font-size: 1.2rem;
}


.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



/* doctor tab section */
.tab-block {
    width: 100%;
    height: 100%;
    margin: 50px auto;
}

.tab-block .tab-mnu {
    align-items: center;
    display: flex;
    list-style: none;
    justify-content: center;
}

.tab-block .tab-mnu:after {
    content: "";
    display: table;
    clear: both;
}

.tab-block .tab-mnu li {
    box-sizing: border-box;
    float: left;
    background-color: #267d86;
    color: #fff;
    width: 132px;
    text-align: center;
    padding-top: 13px;
    padding-bottom: 13px;
    cursor: pointer;
}

* .tab-block .tab-mnu li:not(:last-child) {
    border-right: 1px solid #4c607c;
}

.tab-block .tab-mnu li:hover:not(.active) {
    background-color: #c0c7cb;
}

.tab-block .tab-mnu .active {
    background-color: #ffc36d;
    color: #000000;
    border-bottom: 1px solid #f91111;
    cursor: default;

}

.tab-block .tab-cont {
    box-sizing: border-box;
    border-top: 1px solid white;
    background-color: white;
    color: #292d2f;
}

.tab-block .tab-cont .tab-pane {
    padding: 20px 25px;
}




.mission .d-flex p {
    margin-bottom: 0px;
}

.mission .d-flex {
    margin-bottom: 20px;
}


/* sevices card*/
:root {
    --white: #fff;
    --main-color: #f8c035;
}

/* services */
.services .serviceBox a {
    background-color: var(--main-color);
    color: #000;
    padding: 7px 13px;

}


.serviceBox {
    color: var(--main-color);
    background: var(--main-color);
    margin-bottom: 20px;
    padding: 50px 20px 40px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    height: 400px;
}

.serviceBox:before {
    content: "";
    background: var(--white);
    width: 100%;
    height: 100%;
    border-radius: 0 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.serviceBox .title {
    color: var(--main-color);
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    margin: 0 0 7px;
}

.serviceBox .description {
    color: #888;
    font-size: 15px;
    line-height: 25px;
    text-align: justify;
    margin: 0;

}

.serviceBox .service-icon {
    color: var(--white);
    background: var(--main-color);
    font-size: 40px;
    width: 75px;
    height: 75px;
    line-height: 75px;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    margin: 0 0 15px;
}

.serviceBox .service-icon i {
    line-height: inherit;
}

.serviceBox.yellow {
    --main-color: #F8B501;
}

.serviceBox.red {
    --main-color: #F54646;
}

.serviceBox.purple {
    --main-color: #267d86;
}

.choose .d-flex p {
    margin-bottom: 0px;
}

.choose .d-flex i {
    font-size: 20px;
    background: #267d86;
    padding: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    color: #ffffff;
    margin-right: 10px;
    margin-bottom: 10px;
    box-shadow: -3px 0px 3px 0px #267d86;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 5;
    margin-bottom: 10px;
}

.social-icon i {
    background-color: #ffffff;
    padding: 5px;
    margin-right: 5px;
    border: 1px solid #ffffff;
    border-radius: 50%;
    color: #267d86;
}

.testimonial-slider {
    background: linear-gradient(286deg, #fff, #5072a717, #fff, #5072a71a);
    padding: 2em 2em 3em;
}

.testimonial-title {
    color: #fff;
}

.testimonial-title h2 {
    padding-left: 0.2em;
}

.card {
    margin: 0 0.5em;
    box-shadow: 2px 6px 8px 0 rgba(22, 22, 26, 0.18);
    border: none;
    height: 100%;
}

.carousel-control-prev,
.carousel-control-next {
    background-color: #fff;
    width: 3em;
    height: 3em;
    border-radius: 50%;
    top: 60%;
    transform: translateY(-50%);
}


.call-buton .cc-calto-action-ripple {
    z-index: 99999;
    position: fixed;
    right: 2rem;
    bottom: 1rem;
    background: #ec8b00;
    width: 35px;
    height: 35px;
    padding: 10px;
    border-radius: 100%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #ffffff;
    -webkit-animation: cc-calto-action-ripple 0.6s linear infinite;
    animation: cc-calto-action-ripple 0.6s linear infinite;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    justify-items: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    text-decoration: none;
}

.call-buton .cc-calto-action-ripple i {
    -webkit-transition: 0.3s ease;
    transition: 0.3s ease;
    font-size: 1.2rem;
}

.call-buton .cc-calto-action-ripple:hover i {
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

@-webkit-keyframes cc-calto-action-ripple {
    0% {
        -webkit-box-shadow: 0 4px 10px rgba(236, 139, 0, 0.2), 0 0 0 0 rgba(236, 139, 0, 0.2), 0 0 0 5px rgba(236, 139, 0, 0.2), 0 0 0 10px rgba(236, 139, 0, 0.2);
        box-shadow: 0 4px 10px rgba(236, 139, 0, 0.2), 0 0 0 0 rgba(236, 139, 0, 0.2), 0 0 0 5px rgba(236, 139, 0, 0.2), 0 0 0 10px rgba(236, 139, 0, 0.2);
    }

    100% {
        -webkit-box-shadow: 0 4px 10px rgba(236, 139, 0, 0.2), 0 0 0 5px rgba(236, 139, 0, 0.2), 0 0 0 10px rgba(236, 139, 0, 0.2), 0 0 0 20px rgba(236, 139, 0, 0);
        box-shadow: 0 4px 10px rgba(236, 139, 0, 0.2), 0 0 0 5px rgba(236, 139, 0, 0.2), 0 0 0 10px rgba(236, 139, 0, 0.2), 0 0 0 20px rgba(236, 139, 0, 0);
    }
}

@keyframes cc-calto-action-ripple {
    0% {
        -webkit-box-shadow: 0 4px 10px rgba(236, 139, 0, 0.2), 0 0 0 0 rgba(236, 139, 0, 0.2), 0 0 0 5px rgba(236, 139, 0, 0.2), 0 0 0 10px rgba(236, 139, 0, 0.2);
        box-shadow: 0 4px 10px rgba(236, 139, 0, 0.2), 0 0 0 0 rgba(236, 139, 0, 0.2), 0 0 0 5px rgba(236, 139, 0, 0.2), 0 0 0 10px rgba(236, 139, 0, 0.2);
    }

    100% {
        -webkit-box-shadow: 0 4px 10px rgba(236, 139, 0, 0.2), 0 0 0 5px rgba(236, 139, 0, 0.2), 0 0 0 10px rgba(236, 139, 0, 0.2), 0 0 0 20px rgba(236, 139, 0, 0);
        box-shadow: 0 4px 10px rgba(236, 139, 0, 0.2), 0 0 0 5px rgba(236, 139, 0, 0.2), 0 0 0 10px rgba(236, 139, 0, 0.2), 0 0 0 20px rgba(236, 139, 0, 0);
    }
}


/* back to top */
#button {
    display: inline-block;
    background-color: #FF9800;
    width: 35px;
    height: 35px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 100px;
    right: 30px;
    transition: background-color .3s,
        opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#button::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 20px;
    line-height: 35px;
    color: #fff;
}

#button:hover {
    cursor: pointer;
    background-color: #333;
}

#button:active {
    background-color: #555;
}

#button.show {
    opacity: 1;
    visibility: visible;
}



/* whatsapp Button */
.float {
    position: fixed;
    width: 35px;
    height: 35px;
    bottom: 1rem;
    left: 25px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 23px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
}

.my-float {
    margin-top: 16px;
}








@media only screen and (max-width: 1199px) {
    .serviceBox {
        margin: 0 0 30px;
    }
}