* {
    font-family: "IBM Plex Sans", sans-serif;
}
body, html {
    width: 100vw;
    overflow-x: clip;
}
/*----------- font family -----------------*/
.playfair-display{
    font-family: "Playfair Display", serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}


.ibm-plex-sans-normal {
    font-family: "IBM Plex Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-variation-settings: "wdth" 100;
}

/*--------------- custom classes ----------------*/
.themePrimary {
    color: #581d56;
}
.themePrimary-bg {
    background-color: #581d56;
}

.themeSecondary {
    color: #007d9e;
}
.themeSecondary-bg {
    background-color: #007d9e;
}

.themeSecondary-light {
    background-color: rgba(0, 125, 158, 0.4);
}
.themeSecondary-light-clr {
    color: rgba(0, 125, 158, 0.4);
}
.rounded-4{
    border-radius:18px;
}
.custom-btn {
    text-decoration: none;
    background-color: #581d56;
    color: #fff !important;
    padding: 13px 30px;
    border-radius: 15px;
    border: 1px solid #581d56;
    transition: all 0.3s ease; 
}

    .custom-btn:hover {
        background-color: #fff;
        border: 1px solid #581d56;
        color: #581d56 !important;
    }

#topBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #581d56;
    color: white;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 1000;
}
/*------------------ navbar ---------------*/

.navbar-nav .nav-link {
    position: relative;
    display: inline-block;
    color: #fff !important;
    padding-top:8px;
    padding-bottom:8px;
    transition: color 0.3s ease;
    font-size: 18px;
}

    .navbar-nav .nav-link:hover {
        background-color: #3cbfae;
        border-radius:5px;
    }

.navbar-toggler {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.navbar-toggler:focus,
.navbar-toggler:active {
    outline: none;
    box-shadow: none;
    border: none;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
}

.nav-item.dropdown .fa-angle-down {
    transition: transform 0.3s ease;
}

.nav-item.dropdown:hover .fa-angle-down {
    transform: rotate(180deg);
}

.nav-link.dropdown-toggle::after {
    display: none !important;
}
.dropdown-menu .dropdown-item:hover {
    background-color: #3cbfae;
    color: #fff;
}

/*---- footer ----*/
.clinic-footer {
    background-color: #007d9e;
    position: relative;
    color: #fff;
    overflow: hidden;
}

.footer-heading {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

    .footer-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 50px;
        height: 2px;
        background-color: #ffffff;
    }

.footer-link {
    color: #ffffff !important;
    text-decoration: none;
}

    .footer-link:hover {
        color: #ccebf2;
        text-decoration: none;
    }

.footer-icon i {
    background-color: white;
    color: #007d9e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

    .footer-icon i:hover {
        background-color: #ccebf2;
        color: #004f5d;
        transform: scale(1.1);
    }

/*============================== Home Page ===================================*/
.carousel-item img {
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.video-banner {
    position: relative;
    height: 500px;
    overflow: hidden;
}

    .video-banner .video-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 500px;
        object-fit: cover;
        z-index: 1;
    }

.banner-content {
    position: relative;
    z-index: 3;
    top: 40%;
    transform: translateY(-50%);
    width: 100%;
    max-width: 800px; 
    padding: 0 20px;
    text-align: left; 
    margin-left: 5%; 
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); 
    z-index: 2;
}
.text-slider {
    position: relative;
    height: 3.5rem;
    overflow: hidden;
    font-size: 40px;
    margin-top: 10px;
    text-shadow: 2px 2px 2px #581d56;
}

.text-slide {
    font-family: "Playfair Display", serif;
    position: absolute;
    width: 100%;
    left: 0;
    opacity: 0;
    transform: translateY(100%);
    animation: slideText 16s infinite;
}

    .text-slide:nth-child(1) {
        animation-delay: 0s;
    }

    .text-slide:nth-child(2) {
        animation-delay: 4s;
    }

    .text-slide:nth-child(3) {
        animation-delay: 8s;
    }

    .text-slide:nth-child(4) {
        animation-delay: 12s;
    }

@keyframes slideText {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    25% {
        opacity: 1;
        transform: translateY(0);
    }

    35% {
        opacity: 0;
        transform: translateY(-100%);
    }

    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

.banner-para {
    position: absolute;
    bottom: 0;
    left: 90px;
    z-index: 5;
    background-color: rgba(88, 29, 86, 0.8);
    color: #fff;
    padding: 20px;
   border-top-left-radius:16px;
   border-top-right-radius:16px;
    font-size: 1rem;
    max-width: 700px;
}

/*---- service section ----*/

.services-section {
    background: linear-gradient(135deg, #33a1b9, #84457f);
    position: relative;
    overflow: hidden;
}

.service-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .service-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

.icon-box {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: background 0.3s ease;
}

.service-card:hover .icon-box {
    background: rgba(255, 255, 255, 0.3);
}

.card-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.card-text {
    font-size: 0.95rem;
}

.view-more-btn {
    background: linear-gradient(45deg, #66bdd0, #a36a9e);
    color: #fff;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 30px;
    transition: background 0.3s ease, transform 0.2s ease;
    text-decoration: none;
}

    .view-more-btn:hover {
        background: linear-gradient(45deg, #a36a9e, #66bdd0);
        transform: scale(1.05);
        color: #fff;
    }

/*--- why us secion ----*/
.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #333 !important;
    position: relative;
}

    .section-title .highlight {
        color: #007d9e;
    }

.trust-item h4 {
    font-size: 1.2rem;
    color: #222;
    padding-left: 32px;
    position: relative;
}

    .trust-item h4::before {
        content: '\1FA7A';
        position: absolute;
        left: 0;
        top: 0;
        font-size: 20px;
        line-height: 1;
    }


.trust-item p {
    margin-top: 4px;
    color: #6c757d;
    font-size: 0.95rem;
}

.trust-item:hover h4 {
    color: #581d56;
}
/*-- doctor profile--*/
.doctor-image {
    height: 400px;
    width: auto;
    max-width: 100%;
}
.btn-custom-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    font-size:1.2rem;
    font-weight: 600;
    color: #581d56;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .btn-custom-underline::after {
        content: "";
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: #581d56;
        transition: width 0.3s ease;
    }

    .btn-custom-underline:hover {
        color: #581d56;
    }

        .btn-custom-underline:hover::after {
            width: 100%;
        }

/*---- cta strip ----*/
.cta-parallax {
    background-image: url('/images/cta-image.jpg'); 
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    align-items: center;
    position: relative;
}

    .cta-parallax::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6); 
        z-index: 1;
    }

    .cta-parallax .container {
        position: relative;
        z-index: 2;
    }

    .cta-parallax h2,
    .cta-parallax p {
        color: #fff;
    }

/*---- tesimonial section ----*/

.testimonial-stack-wrapper {
    width: 700px;
    position: relative;
    height: auto;
}

.card-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    z-index: 1;
}

.layer1 {
    bottom: 10px;
    right: 10px;
    transform: rotate(-1.5deg);
    z-index: 1;
}

.layer2 {
    bottom: 20px;
    right: 20px;
    transform: rotate(1.8deg);
    z-index: 1;
}

.layer3 {
    bottom: 30px;
    right: 30px;
    transform: rotate(-3deg);
    z-index: 1;
}


.main-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    position: relative;
    z-index: 10;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.testim-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #007d9e;
}

    .testim-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.testimonial-text {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.author-name {
    font-weight: 600;
    color: #007d9e;
}

.carousel-control-next-icon,
.carousel-control-prev-icon {
    filter: brightness(0) saturate(100%) invert(26%) sepia(89%) saturate(561%) hue-rotate(158deg) brightness(90%) contrast(85%);
}

.testimonial-content-scroll {
    height: 120px; 
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 8px; /* Space for scrollbar */
}

    
    .testimonial-content-scroll::-webkit-scrollbar {
        width: 6px;
    }

    .testimonial-content-scroll::-webkit-scrollbar-thumb {
        background: #007d9e;
        border-radius: 10px;
    }

    .testimonial-content-scroll::-webkit-scrollbar-track {
        background: #f3eefe;
    }
.mobile-controls {
    display: none;
}
    /*============================= About Us Page ======================*/

.info-content {
    position: relative;
    z-index: 1;
}

    .info-content::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 250px;
        height: 250px;
        transform: translate(-50%, -50%);
        background: url('/images/logo/CHL-Mobile-Logo.png') no-repeat center;
        background-size: contain;
        opacity: 0.1; 
        z-index: 0;
        pointer-events: none;
    }

/*============================== Services IVF Center ========================*/
#service-tabs .nav-link {
    color: #3a1238; 
    background-color: rgba(88, 29, 86, 0.1);
    border-radius: 0.25rem;
    transition: all 0.3s ease;
}

    #service-tabs .nav-link.active {
        background-color: #581d56;
        color: #fff;
    }

    #service-tabs .nav-link:hover {
        background-color: rgba(88, 29, 86, 0.5); 
        color: #ffffff;
    }
.sticky-tabs {
    position: sticky;
    top: 50px; 
    z-index: 10;
    align-self: flex-start; 
}

.service-div:hover {
    background-color: rgba(0, 125, 158, 0.4);
}
/*==================== Doctor ==============================*/
/*.accordion-item {
    background-color: #fff;
    color: #333;
    border: none;
}*/

/*.accordion-button {
    background-color: #c5c5c5;
    color: #333;
    transition: background-color 0.3s ease, color 0.3s ease;
}*/

    .accordion-button:hover {
        background-color: #c5c5c5;
        color: #000;
    }

    .accordion-button:focus {
        box-shadow: none;
        outline: none;
    }

    .accordion-button:not(.collapsed) {
        background-color: #fff; 
        color: #000;
    }

.other-doctors{
    height:300px;
    width:300px;
    object-fit:cover;
}

/*============================ News Page =======================*/
.news-card img {
    height: 250px;
    width: 100%;
    object-fit: cover; 
}
.news-card a {
    position: relative;
    color: #007d9e; 
    transition: color 0.3s ease;
}

    .news-card a::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -2px;
        width: 0;
        height: 2px;
        background-color: #007d9e;
        transition: width 0.3s ease;
    }

    .news-card a:hover {
        color: #005f74; 
    }

        .news-card a:hover::after {
            width: 100%;
        }
/*---- news detail page ----*/
.news-content p {
    line-height: 1.7;   
}

.news-content {
    font-size: 1.15rem;
}

.news-image{
    width:800px;
    height:auto;
}
/*========================= Contact Page =========================*/
.contact-section {
    background: linear-gradient(135deg, #f9f4fa, #f1f9fb);
}

.contact-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #007d9e; 
}

.custom-input {
    border-radius: 8px;
    border: 1px solid #ccc;
    padding: 10px 14px;
    transition: all 0.2s ease;
}

    .custom-input:focus {
        border-color: #007d9e;
        box-shadow: 0 0 0 0.15rem rgba(0, 125, 158, 0.25);
    }

    .custom-input option:hover {
        background-color: #007d9e !important;
        color: #fff;
    }

/*=========================== About IVF ======================*/

.ivf-need-box {
 border-left: 4px solid #007d9e;
}

.ivf-steps li {
    background-color: #f9f9ff;
    padding: 15px 20px;
    border-radius: 6px;
}

    .ivf-steps li:hover {
        background-color: #f1f1fa;
    }

.ivf-steps h5 {
    color: #007d9e;
}

.ivf-cta-strip {
    background: linear-gradient(135deg, #581d56, #007d9e);
    border-radius: 12px;
    margin-block: 24px;
}


.correct-icon{
    position:relative;
    padding-left:40px;
}
.correct-icon::before{
    content:'\2714';
    position:absolute;
    left:0;
    top:7px;
    width:25px;
    height:25px;
    background-color:#007d9e;
    color:#fff;
    font-size:15px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
}

.ivf-info-section {
    background-color: rgba(88, 29, 86,0.1);
    padding: 80px 0;
    position: relative;
}

.highlight-block {
    position: absolute;
    top: 0;
    left: -5%;
    width: 60%;
    height: 100%;
    background-color: rgba(0, 125, 158,0.1);
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
    z-index: 0;
}

.ivf-info-content {
    max-width: 900px;
    margin: auto;
    padding: 40px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1;
}

    .ivf-info-content p {
        font-size: 1.15rem;
        line-height: 1.8;
        margin-bottom: 18px;
    }

.care-sheet-box {
    background: rgba(0, 125, 158,0.1);
    max-width: 1200px;
    margin: auto;
    padding: 40px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.07);
    position: relative;
    border: 2px solid rgba(88, 29, 86,0.3);
    border-radius: 10px;
}
  
.care-sheet p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

.care-point {
    display: flex;
    align-items: flex-start;
    background: #fdf9ff;
    border-left: 3px solid #007d9e;
    padding: 15px;
    margin: 20px 0;
    border-radius: 6px;
}

    .care-point span {
        font-size: 1.4rem;
        font-weight: bold;
        color: #007d9e;
        margin-right: 12px;
    }

    .care-point h4 {
        margin: 0 0 5px;
        color: #007d9e;
    }

.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 80px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .whatsapp-float:hover {
        background-color: #20b955;
        color: #fff;
    }
