/********** Template CSS **********/
/* *{
    overflow-x: hidden;
} */
/* body {
    overflow-x: hidden;
    /* overflow: hidden; }*/
/* Justify text for paragraphs inside container elements */
/* .container p, .container-fluid p, .text-content p {
    text-align: justify;
} */



.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50px;
    font-weight: normal;
}

.icon-box-primary,
.icon-box-light {
    position: relative;
    padding: 0 0 10px 10px;
    z-index: 1;
}

.icon-box-primary i,
.icon-box-light i {
    font-size: 60px;
    line-height: 0;
}

.icon-box-primary::before,
.icon-box-light::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 35px;
    left: 0;
    bottom: 0;
    border-radius: 35px;
    transition: .5s;
    z-index: -1;
}

.icon-box-primary::before {
    background: var(--bs-primary);
}

.icon-box-light::before {
    background: var(--bs-light);
}


/*** Navbar ***/
/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--bs-dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
    overflow-x: hidden;
}

.navbar {
    padding: 10px 15px;
    /* Ensure padding is not too much */

}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
    /* Adjust padding to prevent overflow */
}

@media (max-width: 767.98px) {
    .navbar .navbar-nav .nav-link {
        padding: 10px;
        /* Reduce padding for smaller devices */
        overflow-x: hidden;
    }

    .container {
        padding: 0;
        /* Remove padding on smaller screens */
        overflow-x: hidden;
    }
}

.d-flex {
    flex-wrap: wrap;
    /* Allow items to wrap */
    overflow-x: hidden;
}


.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
    overflow-x: hidden;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

/* Mobile-first styling */
@media (max-width: 767.98px) {
    .navbar {
        padding: 10px 15px;
    }

    .navbar .navbar-nav {
        text-align: center;
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }

    .navbar .navbar-nav .nav-link {
        font-size: 16px;
        padding: 12px 0;
        margin-right: 0;
    }
}

/* For tablets and small devices */
@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

/* Desktop-specific styling */
@media (min-width: 992px) {
    .sticky-top {
        margin-top: -34px;
    }

    .navbar {
        height: 68px;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* Extra large screen adjustments */
@media (min-width: 1200px) {
    .navbar .navbar-nav .nav-link {
        font-size: 20px;
    }

    .navbar .navbar-nav {
        margin-top: 0;
        padding: 15px 0;
    }
}



/*** Header ***/
@media (min-width: 992px) {

    .header-carousel,
    .page-header {
        margin-top: -34px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(3, 27, 78, .3);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--bs-primary);
    border: 15px solid var(--bs-primary);
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}


/*** ART laboratory Styling Start ***/

/* Feature Section Background */
.feature {
    background: linear-gradient(rgba(3, 27, 78, 0.5), rgba(3, 27, 78, 0.5)),
        url(../img/best-advanced-instrtuements-for-infertility-treatment-Andaman-IVF-PortBlair.webp) center center no-repeat;
    background-size: cover;
    background-attachment: fixed;
    /* Parallax effect for a modern feel */
}

/* Row Shadow */
.feature-row {
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    /* Stronger shadow for better depth */
    border-radius: 12px;
    /* Rounded corners for modern look */
    overflow: hidden;
    /* Ensures content stays within bounds */
}

/* ART Laboratory Item Border */
.feature-item {
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    /* Slightly darker border */
    padding: 40px;
    border-radius: 8px;
    /* Slightly rounded corners */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    /* Smooth transitions */
}

.feature-item:hover {
    transform: translateY(-10px);
    /* Lift the item on hover */
    box-shadow: 0px 15px 35px rgba(0, 0, 0, 0.15);
    /* Deeper shadow on hover */
}

/* Progress Bar Styling */
.experience .progress {
    height: 8px;
    /* Slightly thicker for better visibility */
    background-color: rgba(255, 255, 255, 0.2);
    /* Light background for contrast */
    border-radius: 50px;
    /* Rounded corners for a modern look */
}

.experience .progress .progress-bar {
    background-color: #18ada0;
    /* Primary color for progress */
    transition: width 2s ease;
    /* Smooth transition */
}

/* Nav Pills Text Color */
.experience .nav-pills .nav-link {
    color: var(--dark);
    font-weight: 500;
    /* Slightly bolder for better readability */
}

.experience .nav-pills .nav-link.active {
    color: #ffffff;
    /* Keep the active link white */
    background-color: #18ada0;
    /* Add background color to active link */
    border-radius: 30px;
    /* Rounded nav pills */
}

/* Horizontal Rule in Tab Content */
.experience .tab-content hr {
    width: 50px;
    /* Wider for better visibility */
    border: 2px solid #18ada0;
    /* Use theme color for emphasis */
    margin-top: 15px;
}



/*** About ***/
.about-fact {
    width: 220px;
    height: 220px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

@media (min-width: 576px) {
    .about-fact.mt-n130 {
        margin-top: -130px;
    }
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 36px;
    height: 46px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--bs-primary);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 90px;
    height: 90px;
    background: var(--bs-primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 30px solid #FFFFFF;
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
/* Service Section Styling */
.container-service {
    background-color: #f9f9f9;
    padding-bottom: 50px;
}

.service-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 20px;
    text-align: center;
    height: 100%;
    overflow: hidden;
    /* Prevent content overflow */
    position: relative;
}

.service-item:hover {
    transform: translateY(-10px);
    /* Lift the card on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.service-item .icon-box-primary {
    background-color: #18ada0;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    color: #ffffff;
    font-size: 2rem;
    position: relative;
}

.service-item .icon-box-primary i {
    font-size: 2rem;
}

.service-item h5 {
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-item p {
    font-size: 1rem;
    color: #777777;
    margin-bottom: 20px;
    line-height: 1.6;
}

.btn-light {
    background-color: #18ada0;
    color: #ffffff;
    font-weight: 600;
    border-radius: 30px;
    padding: 10px 20px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-light:hover {
    background-color: #117a72;
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .service-item {
        margin-bottom: 20px;
    }

    .icon-box-primary {
        width: 60px;
        height: 60px;
    }

    .service-item h5 {
        font-size: 1.1rem;
    }

    .service-item p {
        font-size: 0.9rem;
    }
}


/* Adding responsiveness */
/* @media (max-width: 768px) {
    .service-item {
        margin-bottom: 20px;
    }
} */


/*** Team ***/
.container-team {
    position: relative;
}

.container-team::before {
    position: absolute;
    content: '';
    background: var(--bs-light);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    clip-path: polygon(0 70%, 100% 30%, 100% 100%, 0% 100%);
    z-index: -1;
}

.team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/testimonial.jpg) left center no-repeat;
    background-size: cover;
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-left: 15px;
    color: var(--bs-primary);
    font-size: 30px;
    line-height: 0;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(3, 27, 78, .3), rgba(3, 27, 78, .3)), url(../img/footer.png) center center no-repeat;
    background-size: contain;
}

@media (min-width: 992px) {
    .footer::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: rgba(255, 255, 255, .5);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    border-top: 1px dashed rgba(255, 255, 255, .2);
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}

.IVF-logo {
    height: auto;
    width: 8vh;
}

.image-style {
    height: 600px;
    width: 100px;
}



/* Color */
.bg-color {
    background-color: #18ada0;
}

.bg-sea-green {
    background-color: #02534f;
}

.bg-greenish-gray {
    background-color: #95aaa9;
}



.fertility-journey {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: url('/img/stage-of-fertility-journey.webp') no-repeat center center fixed;
    background-size: cover;
    padding: 20px;
}

.fertility-journey h2 {
    font-size: 36px;
    margin-bottom: 40px;
    font-weight: bold;
    color: #444;
}

.stage-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

.stage-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    position: relative;
}

.stage-option:hover {
    transform: scale(1.1);
    z-index: 10;
}

.custom-shape {
    width: 250px;
    height: 250px;
    background-color: #fff;
    position: relative;
    overflow: hidden;
    clip-path: polygon(50% 0%, 80% 20%, 100% 50%, 80% 80%, 50% 100%, 20% 80%, 0% 50%, 20% 20%);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.custom-shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.3);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.stage-option:hover .custom-shape img {
    filter: grayscale(0);
    transform: scale(1.1);
}

.stage-option p {
    font-size: 18px;
    margin-top: 20px;
    color: #333;
    font-weight: 600;
    transition: color 0.3s ease;
}

.stage-option:hover p {
    color: #0073e6;
}

@media (max-width: 1200px) {
    .custom-shape {
        width: 200px;
        height: 200px;
    }
}

@media (max-width: 768px) {
    .fertility-journey {
        height: auto;
        padding: 20px;
    }

    .stage-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .custom-shape {
        width: 180px;
        height: 180px;
    }

    .fertility-journey h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    .custom-shape {
        width: 150px;
        height: 150px;
    }

    .stage-option p {
        font-size: 16px;
    }

    .fertility-journey h2 {
        font-size: 24px;
    }
}

/* Icon size */
.icon-size {
    height: 70px;
}

/* WhatsApp start */
.whatsapp {
    position: fixed;
    left: 20px;
    bottom: 20px;
}

.whatsapp img {
    width: 50px;
    height: auto;
}

/* WhatsApp end */

/* HR styling starts */
hr {
    border: 0;
    height: 2px;
    background: linear-gradient(to right, #f06, #4a90e2);
    margin: 40px 0;
    position: relative;
}

hr:before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background-color: #f06;
    border-radius: 50%;
}

/* HR styling ends */