/* General */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;900&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}


:root {
    /* Background Color */
    --primary-color: #004eaa;
    --secondary-color: white;
    --bg-light-blue: #3672bc;
    --bg-dark: #666;
    --bg-white: #fff;

    /* Text Style */
    --primary-font: 'poppins', sans-serif;
    --secondary-font: 'montserrat', sans-serif;
    --primary-text: #6787e7;
    --secondary-text: white;
    --text-white: #fff;
    --text-black: #222;
    --text-light: #ddd;
}

body {
    font-family: var(--primary-font);
    background-color: var(--bg-white);
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out;
    -ms-transition: opacity 0.5s ease-in-out;
    -o-transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

a {
    text-decoration: none;
}

::-webkit-scrollbar {
    width: .5rem;
}

::-webkit-scrollbar-track {
    background: var(--bg-white);
}

::-webkit-scrollbar-thumb {
    background: #004caa;
    border-radius: 1rem;
    -webkit-border-radius: 1rem;
    -moz-border-radius: 1rem;
    -ms-border-radius: 1rem;
    -o-border-radius: 1rem;
}

.wrapper {
    padding: 5rem 0;
}

.fill-btn {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-white);
}

.fill-btn:hover {
    background-color: var(--bg-white);
    border-color: var(--bg-white);
    color: var(--text-black)
}

h1 {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    font-weight: bold;
    color: var(--text-black);
    font-family: var(--secondary-font);
}

h2 {
    font-size: 2.475rem;
    font-weight: 600;
    color: var(--text-white);
    font-family: var(--secondary-font);
}

h3 {
    font-size: 2.25rem;
    font-weight: bold;
    color: var(--text-black);
    font-family: var(--secondary-font);
}

h4 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 2.25rem;
    color: var(--text-black);
    font-family: var(--secondary-font);
}

h5 {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 500;
    color: var(--primary-text);
    margin-bottom: .9375rem;
    font-family: var(--secondary-font);
}

h6 {
    font-size: .875rem;
    font-weight: 300;
    color: var(--text-black);
    margin-bottom: .9375rem;
    text-transform: uppercase;
    font-family: var(--secondary-font);
}

p {
    font-size: 1.2rem;
    color: var(--text-black);
    line-height: 1.625rem;
}

.card {
    border-radius: .625rem;
    background-color: var(--bg-white);
    /* box-shadow: .5084rem 1.1419rem 2.5rem 0 rgb(0 0 0 / 8%); */
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    padding: 3.75rem 3.125rem 4.6875rem;
    -webkit-transition: all .4s;
    transition: all .4s;
    border: 0;
}


@keyframes movebounce {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    50% {
        -webkit-transform: translateY(1.25rem);
        transform: translateY(1.25rem);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
}
}

/* Navbar */
#nav-logo {
    object-fit: contain;
    width: 200px;
    @media (min-width: 0px) and (max-width: 320px) {
        width: 170px;
        padding-left: 0.3rem;
    }
    @media (min-width: 1200px){
        width: 220px;
    }
}

.header_wrapper .navbar {
    padding: .9375rem 0;
    background-color: transparent;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
}

.header_wrapper .navbar-toggler,
.header_wrapper .navbar-toggler:focus {
    border: 0;
    box-shadow: none;
    color: var(--text-black);
    line-height: 2;
}

.header_wrapper .nav-item {
    margin: 0 .625rem;
}

.header_wrapper .nav-item .nav-link {
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--primary-text);
    display: inline-block;
    font-family: var(--secondary-font);
}

.navbar.header-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: var(--bg-white);
    box-shadow: .5084rem 1.1419rem 2.5rem 0 rgb(0 0 0 / 8%);
    transition: .5s ease-in-out;
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -ms-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
}

/* Underline Animation Of Navbar links */
ul.nav-animation li a {
    position: relative;
    /* Ensures the pseudo-element is positioned relative to the <a> */
    display: inline-block;
    /* Ensures the anchor can have pseudo-elements */
    padding: 0px 20px;
    /* Adjust spacing for better visuals */
}

ul.nav-animation li a::after {
    content: "";
    position: absolute;
    width: 0%;
    /* Initially hidden */
    height: 2px;
    background-color: #6787e7;
    bottom: 0;
    left: 0;
    border-radius: .3rem;
    transition: width 0.4s ease-out;
}

ul.nav-animation li a:hover::after {
    width: 100%;
}

/* Banner */
.home .card:hover {
    -webkit-transform: translateY(-0.625rem);
    transform: translateY(-0.625rem);
    -moz-transform: translateY(-0.625rem);
    -ms-transform: translateY(-0.625rem);
    -o-transform: translateY(-0.625rem);
}

.scroll-wrapper {
    padding: 5rem 0 1rem;
}

/* Info-cards */

.info-section .info-head h2 {
    color: var(--text-black);
    font-weight: bolder;
    line-height: 3rem;
}

.info-section .info-points ul {
    font-size: 1rem;
    color: var(--text-black);
    font-weight: 400;
    line-height: 2.7rem;
    margin-bottom: 0;
}

.info-section .info-points i {
    background-color: #004caa;
    color: #ffffff;
    border: 1px solid #004caa;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    padding: .2rem;
}

.info-section .info-img img {
    width: 450px;

    @media screen and (max-width: 767px) {
        width: 350px;
    }
}

.icon-box i {
    font-size: 2.5rem;
    color: white;
}


/* About */
.about_wrapper {
    background-color: #F3F3F3;
}

.about_wrapper h2 {
    color: var(--text-black);
}

.about_wrapper .card {
    width: 80%;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about_wrapper .about-clinic {
    flex: 0 0 auto;
    width: 50%;
}

.about_wrapper .about-clinic:nth-child(1),
.about_wrapper .about-clinic:nth-child(2) {
    margin-bottom: 2.8125rem;
}

.about_wrapper .about-clinic:nth-child(2),
.about_wrapper .about-clinic:nth-child(4) {
    padding-left: 3.75rem;
}

.about_wrapper .line-1,
.about_wrapper .line-2 {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    width: .0313rem;
    height: 100%;
    background: var(--bg-dark);
}

.about_wrapper .line-2 {
    width: 100%;
    height: .0625rem;
}

.about_wrapper .about-animate {
    position: absolute;
    left: -2.5rem;
    bottom: 0;
    -webkit-animation: movebounce 3s linear infinite;
    animation: movebounce 3s linear infinite;
}

.animate-img {
    -webkit-animation: movebounce 3s linear infinite;
    animation: movebounce 3s linear infinite;
}

/* Services */
.services_wrapper {
    background-color: var(--primary-color);
}

.services_wrapper .card {
    background-color: transparent;
    border: .1rem solid var(--bg-light-blue);
    box-shadow: none;
    padding: 2.5rem;
}

.services_wrapper .card:hover {
    background: var(--bg-light-blue);
    cursor: cell;
    border-color: transparent;
}

.services_wrapper .card h4,
.services_wrapper .card p {
    color: var(--text-white);
}

.services_wrapper .icon-box {
    margin-bottom: 1.875rem;
}

/* Pricing Section */

.pricing-card {
    border-radius: 1.5rem;
    -webkit-border-radius: 1.5rem;
    -moz-border-radius: 1.5rem;
    -ms-border-radius: 1.5rem;
    -o-border-radius: 1.5rem;
}

.pricing-card:hover {
    -webkit-transform: translateY(-0.625rem);
    transform: translateY(-0.625rem);
}

.pricing-card .pricing-head {
    margin-bottom: 1.5rem;
}

.pricing-card .pricing-head h4 {
    font-size: 1.8rem;
    color: var(--text-black);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.pricing-card .pricing-head h3 {
    font-size: 1.8rem;
    color: var(--text-black);
    font-weight: 600;
}

.pricing-card .pricing-head p {
    font-size: .9rem;
    color: var(--text-black);
    font-weight: 600;
    opacity: .5;
}

.pricing-card .pricing-content p {
    font-size: 1.1rem;
    color: var(--text-black);
    font-weight: 400;
    opacity: .7;
}

.pricing-card .pricing-content .pricing-btn a {
    font-size: 1rem;
    color: #0d6efd;
    font-weight: 400;
    padding: .5rem 1.5rem;
    background-color: antiquewhite;
    border: none;
    border-radius: .9rem;
    -webkit-border-radius: .9rem;
    -moz-border-radius: .9rem;
    -ms-border-radius: .9rem;
    -o-border-radius: .9rem;
}

.pricing-card .pricing-content .pricing-btn a:hover {
    background-color: #0d6efd;
    color: var(--text-white);
}

.contact_wrapper {
    background-color: #F3F3F3;
}

/* Testimonial */
.testimonial_wrapper .card {
    background-color: rgba(252, 81, 133, .05);
}

.my-word-break {
    /* width: 200px; Set your desired width */
    hyphens: auto;
    /* Enables automatic hyphenation */
    word-break: break-word;
    /* Ensures words break properly */
    overflow-wrap: break-word;
    /* Alternative for better control */
    text-align: justify;
    /* Optional for even spacing */
}

/* footer */
.footer_wrapper {
    background-color: var(--primary-color);
    padding-bottom: 0;
}

.footer_wrapper h5 {
    color: var(--text-white);
}

.footer_wrapper ul li {
    margin-bottom: .5rem;
    list-style: none;
    font-size: .875rem;
}

.footer_wrapper ul li a {
    color: var(--text-white);
}

.footer_wrapper .link-widget li a,
.footer_wrapper p {
    color: var(--text-white);
    font-size: .875rem;
    padding-left: 1.5rem;
    position: relative;
    -webkit-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

.footer_wrapper .link-widget li a::before {
    content: '\f105';
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    position: absolute;
    left: 0.3rem;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.footer_wrapper .link-widget li a:hover {
    margin-left: .625rem;
}

/* social-media links animation */
.footer_wrapper .social-network a {
    width: 2.1875rem;
    height: 2.1875rem;
    margin: .5rem;
    line-height: 2rem;
    font-size: .875rem;
    display: inline-block;
    border: .125rem solid var(--bg-light-blue);
    color: var(--text-light);
    text-align: center;
    border-radius: 100%;
    -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.footer_wrapper .social-network a:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-0.1875rem);
}

.footer_wrapper ::placeholder {
    color: var(--text-light);
}

.footer_wrapper .form-control {
    color: var(--text-light);
}

.footer_wrapper .form-control:focus {
    outline: none;
    box-shadow: none;
    border-color: var(--bg-white);
}

.footer_wrapper .copyright-section {
    padding: .5rem 0;
}

/* <!--Responsive design--> */
@media (max-width: 1199.5px) {

    /* custom css */
    .card {
        padding: 2.5rem 1.875rem;
    }

    /* header */
    .header_wrapper .navbar-nav .nav-link {
        font-size: 1rem;
    }


    /* about */
    .about_wrapper .card {
        width: 100%;
    }

    .about_wrapper .about-animate {
        left: .9375rem;
    }

    /* service */
    .services_wrapper .card {
        padding: 1.875rem 1.25rem;
    }

}

@media (max-width:991px) {

    /* custom css */
    .wrapper {
        padding: 3.125rem 0;
    }

    h1 {
        font-size: 2.8125rem;
        margin-bottom: .625rem;
    }

    h2 {
        font-size: 1.875rem;
    }

    h3 {
        font-size: 1.5625rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    h5 {
        font-size: 1.125rem;
    }

    p {
        font-size: 1.1rem;
        line-height: 1.6rem;
    }

    .card {
        padding: 1.875rem 1rem;
    }

    /* 2 Navbar */
    .header-scrolled {
        height: auto;
    }

    .header_wrapper .menu-navbar-nav {
        text-align: center;
    }

    .header_wrapper .nav-item .nav-link {
        margin-top: .9375rem;
    }

    /* about */
    .about_wrapper .about-clinic:nth-child(1),
    .about_wrapper .about-clinic:nth-child(2) {
        margin-bottom: 1.5625rem;
    }

    .about_wrapper .about-clinic:nth-child(2),
    .about_wrapper .about-clinic:nth-child(4) {
        padding-left: 2.375rem;
    }

    /* services */
    .services_wrapper .card {
        padding: 1.875rem .875rem;
    }
}

@media (max-width: 767px) {

    /* custom css */
    h1 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    h5 {
        font-size: 1.25rem;
    }

    /* footer */
    .footer_wrapper {
        padding-bottom: 0;
    }

    .footer_wrapper>div {
        padding: 0 1.875rem;
    }

}

@media (max-width: 360px) {

    /* about */
    .about_wrapper .about-animate {
        width: 6.875rem;
    }

    .about_wrapper .card {
        padding: 1.25rem .3125rem;
    }

    .about_wrapper .about-clinic:nth-child(2),
    .about_wrapper .about-clinic:nth-child(4) {
        padding-left: .625rem;
    }

}