@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/* ============== Default Element Style ================ */
* {
    margin: 0px;
    padding: 0px;
}

html {}

.overflow-x-hidden {
    overflow-x: hidden !important;
    scrollbar-width: none !important;
}

ul,
li {
    width: fit-content;

}

/*@media (max-width:992px) {
ul{
    list-style-type: none;
}
}*/
body {
    font-family: "Quicksand", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    background-color: #FFF2E7;
}

p {
    margin: 0;
}

.bg-white {
    color: #fff;
}

.text-violet {
    color: #3F142E;

}

h1 {
    font-size: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #3F142E;
}

h2 {
    font-size: 45px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: #3F142E;
}
#balandir-introduction h2
{
    font-size: 35px;
}

/*
h2 {
    font-size: 45px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: #3F142E;
}*/

h3 {
    font-size: 28px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    color: #3F142E;
}



h4 {
    font-size: 24px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 500;
    color: #3F142E;
}

/*----font-size:32px----*/
h5 {
    font-size: 18px;
    font-family: 'Quicksand', sans-serif;
    color: #333 !important;
    font-weight: 500
}

/*----font-size:18px----*/
h6 {
    font-size: 1rem;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #ff3333;
}

/*----font-size:16px----*/
p,
a {
    font-style: normal;
    font-family: 'Quicksand', sans-serif;
    font-weight: 400;
    color: #393939;
}

a,
a:hover,
a:focus {
    text-decoration: none !important;

}


.quick-link ul li {
    padding: 5px 0;
}


img {
    border-style: none;
}

.padding-100 {
    padding: 80px 0px;
}

.padding-top {
    padding-top: 80px;
}

.padding-bottom {
    padding-bottom: 80px;
}

#homepage {
    top: 0px;
    width: 100%;
}

#scroll-top {
    z-index: 999 !important;
}

.fixed {
    position: fixed !important;
    padding: 15px 0 !important;
    width: 100%;
    top: 0 !important;
    color: #000;
    background-color: #fff;
    z-index: 999 !important;
    animation: slideDown 0.5s ease;
    border-bottom: 1px solid #39393922;
}

.navbar .dropdown-menu {
    background: #3F142E;
}

.navbar .dropdown-menu .dropdown-item {
    background: #3F142E;
    transition: all 0.3s ease-in-out !important;
}

.navbar .dropdown-menu li a {
    color: #fff !important;
}

.navbar li,
.navbar ul {
    width: unset !important
}

.navbar .dropdown-menu .dropdown-item:hover {
    background: #200917 !important;
}


.navbar-toggler {
    transform: scale(0.7);
}

@media (min-width:992px) {
    .navbar-brand {
        width: 25% !important
    }

    .banner-text {
        width: 70%;
    }
}

@media (max-width:992px) {
    .navbar-brand {
        width: 75% !important
    }


}

.nav-link.active,
.nav-link:active,
.nav-link:hover,
.nav-link:focus {
    color: #294BAD !important;
}

.nav-link {
    transition: all 0.3s ease-in-out;
}

#banner img {
    max-height: 255px;
    width: 100%;
}

#hm-banner .banner-content {
    margin: auto;
    position: absolute;
    top: 29%;
    left: 0%;
    right: 0;
    color: #FFF;
}

#banner .banner-content {
    margin: auto;
    position: absolute;
    top: 52%;
    left: 0%;
    right: 0;
    color: #FFF;
}

#hm-banner .banner-content h1 {
    font-size: 50px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #3F142E;
}

@media(max-width:1200px) {
    #hm-banner .banner-content {
        top: 19%;
    }

    h2 {
        font-size: 40px;
    }
}

@media(max-width:992px) {
    #hm-banner .banner-content {
        top: 33%;
    }

    #banner .banner-content {
        top: 55%;
    }

    h2 {
        font-size: 35px;
    }

}

@media(max-width:768px) {
    #hm-banner .banner-content {
        /*top: 32%;*/
    }

    #hm-banner .banner-content h1 {
        font-size: 35px;
    }

    #hm-banner .banner-content h3 {
        font-size: 16px;
    }

    #banner .banner-content {
        top: 51%;
    }

    h2 {
        font-size: 28px;
    }
}

@media(max-width:576px) {
    #hm-banner .banner-content {
        /*top: 25%;*/
    }

    #banner img {
        max-height: 360px;
    }


}

@media (max-width: 387px) {


    #banner img {
        min-height: 300px;
    }

    h2 {
        font-size: 24px;
    }
}

@media(max-width:360px) {
    #hm-banner .banner-content {
        top: 7%;
    }

}

#hm-banner img {
    /* max-height: 100%; */
    object-fit: cover;
    width: 100%;
}

#footer {
    background: url(../img/footer-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.divider {
    border: 1px solid #393939
}

.bg-violet {
    background: #3F142E;
}



.btn_theme_dark {
    background: #3F142E;
    border: 0;
    color: #fff;
    transform: scale(1);
    border-radius: 8px;
    padding: 16px 30px;
    transition: all 0.3s ease-in-out;
    display: block;
    width: fit-content;
}

.btn_theme_dark:hover {
    transform: scale(0.95) !important;
    /* Adjust the scale value as needed */
    color: #fff;
}

.btn_theme_dark_large {
    background: #3F142E;
    border: 0;
    color: #fff;
    transform: scale(1);
    border-radius: 8px;
    padding: 16px 75px;
    transition: all 0.3s ease-in-out;
    display: block;
    width: fit-content;
}

.btn_theme_dark_large:hover {
    transform: scale(0.95) !important;
    /* Adjust the scale value as needed */
    color: #fff;
}

.btn_theme_light {
    background: #fff;
    border: 2px solid #3F142E;
    color: #3F142E;
    transition: all 0.3s ease-in-out;
    transform: scale(1);
    border-radius: 8px;
    padding: 16px 75px;
    display: block;
    font-weight: 600;
    width: fit-content;
}

.btn_theme_light:hover,
.btn_theme_light:focus {
    transform: scale(0.95);
    color: #3F142E;
}

.image-box {
    border-bottom: 1px solid #3F142E
}

#what-we-offer h3 {

    font-size: 18px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    color: #3F142E;
}

#what-we-offer .box img {
    transition: all 1s ease-out;
    /* display: block !important; */
    transform: rotate(0deg);
}

#what-we-offer .box:hover img {
    transform: rotate(180deg);
}

/* 
#contact-section {
     
} */

.bg-violet#donation-section #donation-section-heading {
    color: #CC6600;
}


.bg-violet .form-floating>.form-control:focus~label {
    color: #fff !important;
}

.bg-violet .form-floating>.form-control:not(:placeholder-shown)~label {
    color: #fff
}

.form-floating>.form-control:focus~label {
    color: #3F142E;
}

.contact-form .form-floating>.form-control:focus~label {
    color: #5E5E5E;
}


.bg-violet .form-floating input,
.bg-violet .form-floating textarea {
    background: transparent !important;
    border-radius: 0 !important;
    color: #fff;
    border: 1px solid #fff !important;

}

.bg-violet .form-floating input:focus,
.bg-violet .form-floating textarea:focus {
    background: transparent !important;
    color: #fff !important;
    box-shadow: unset !important;
    border: 1px solid #fff !important;
}

.form-floating input:focus,
.form-floating textarea:focus {
    background: transparent !important;
    color: #3F142E;
    box-shadow: unset !important;
    border: 1px solid #3F142E !important;
}

.form-floating input,
.form-floating textarea {
    background: transparent !important;
    color: #3F142E;
    box-shadow: unset !important;
    border: 1px solid #3F142E !important;
    border-radius: 0%;
}

.contact-form .form-floating input:focus,
.contact-form .form-floating textarea:focus {
    background: #fff !important;
    color: #5E5E5E !important;
    box-shadow: unset !important;
    border: 1px solid #E1E1E1 !important;
}

.contact-form .form-floating input,
.contact-form .form-floating textarea {
    background: #fff !important;
    color: #5E5E5E;
    box-shadow: unset !important;
    border: 1px solid #E1E1E1 !important;

}

.form-floating textarea {
    min-height: 100px !important;
}

.contact-form .form-floating textarea {
    min-height: 134px !important;
}

.bg-violet .form-floating label {
    color: #fff
}

.form-floating label {
    color: #3F142E
}

.contact-form .form-floating label {
    color: #5E5E5E
}

.bg-violet .form-floating label::after {
    color: #fff !important;
    background: transparent !important;
}

.form-floating label::after {
    color: #3F142E !important;
    background: transparent !important;
}

.contact-form .form-floating label::after {
    color: #5E5E5E !important;
    background: transparent !important;
}


/* #donation-section::after {
    content: "";
    position: absolute;
    background: url("../img/donation-half-bg.png");
    top: 1%;
    left: 50%;
    display: block;
    max-width: 334px;
    max-height: 334px;
} */

#education .car-journey-card .card-contents, #homepage .car-journey-card .card-contents
{
    background: #fff;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 99%;
    margin: 2px;
    /* min-height: 104px !important; */
}

#education .car-journey-card .card-img, #homepage .car-journey-card .card-img
{
    overflow: hidden !important;
}

    #education .car-journey-card .card-img:hover img, #homepage .car-journey-card .card-img:hover img
    {
        transform: scale(1)
    }

    #education .car-journey-card .card-img img, #homepage .car-journey-card .card-img img
    {
        transition: all 0.5s ease-out;
        transform: scale(1.25)
    }

@media (max-width:768px) {

    #education .owl-next,
    #education .owl-prev,
    #homepage .owl-next,
    #homepage .owl-prev
    {
        display: none
    }
}
.doctor-card.car-journey-card{
    margin-bottom: 20px;
}
.doctor-card.car-journey-card .card-contents {
    background: #fff;
    padding: 1px 0px;
    max-width: 100%;
    left: 0px;
    padding-top: 10px;
    right: 0px;
    /* margin: 2px; */
    top: -3px;
    position: relative !important;
}
.doctor-card.car-journey-card  .card-img{
    height: 100%;
    background: #fff;
    border: 2px solid #d9d9d9;

}
.card-img img{
    width: 100%;
    object-fit: cover;
    background: #d9d9d9;
}
.doctor-card.car-journey-card.education-card .card-contents {
    min-height: 100px;
}

@media (max-width:576px) {
    #education .car-journey-card .card-contents
    {
        min-height: 100px;
    }

    .doctor-card.car-journey-card .card-contents {
        min-height: 100px;
    }
}

@media (max-width:768px) {
    #homepage #education .car-journey-card .card-contents
    {
        min-height: 128px;
    }

    .doctor-card.car-journey-card .card-contents {
        padding: 10px;
        max-width: 334px;
        left: 0px;
        right: 0px;
        margin: auto;
        min-height: 80px;
    }


}

@media (min-width:768px) and (max-width:992px) {

    .doctor-card.car-journey-card .card-contents {
        /* padding: 10px;
        max-width: 330px;
        margin-bottom: 2px !important;
        left: 0px;
        right: 0px;
        margin: auto; */
        min-height: 80px;
        /*
        max-height: 65px; */
    }


    .doctor-card.car-journey-card.education-card .card-contents {
        /* padding: 10px;
        max-width: 330px;
        margin-bottom: 2px !important;
        left: 0px;
        right: 0px;
        margin: auto; */
        min-height: 100px;
        /*
        max-height: 65px; */
    }
}

@media (min-width:768px) {
    #education .car-journey-card .card-contents {
        min-height: 104px !important;
    }

}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
    background: none;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
}

/* ----endoscopy----- */
.endoscopy-page .image-click {
    position: relative;
}

.endoscopy-page .image-click .centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* ----Mammography----- */
.mammography-page {
    background-color: #FFF2E7;
    padding: 80px 0;
    color: #393939;

}

.mammography-page p {
    font-size: 18px;
    line-height: 26px;
}

.owl-carousel .owl-dots.disabled,
.owl-carousel .owl-nav.disabled {
    display: none !important;
}

.fa-chevron-left,
.fa-chevron-right {
    background: #3F142E;
    color: #fff;
    padding: 9px 12px;
    border-radius: 8px;
}

.owl-next,
.owl-prev {
    position: absolute;
    top: -90px;

}

.owl-prev {
    right: 52px;
    margin-right: 1rem !important;
}
.temples-heading h2 {
    width:fit-content
}
#medical-centers .decorated-line,
#temples .decorated-line,
.ct-scan .decorated-line
{
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) translateY(50%) !important;
}
@media (min-width:1200px)
{
    #education .decorated-line {
        transform: translateX(146%)!important;
    }

    #about-section .decorated-line {
        transform: translateX(35%) translateY(-50%) !important;
    }

    #donation-section .decorated-line {
        transform: translateX(107%) translateY(-50%) !important;
    }

    #medical-section .decorated-line {
        transform: translateX(85%) translateY(-50%) !important;
    }

    #further-plans .decorated-line {
        transform: translateX(71%) translateY(-50%) !important;
    }


}

@media (min-width:992px) {
    #education .decorated-line {
        transform: translateX(110%) translateY(-50%);
    }

    #about-section .decorated-line {
        transform: translateX(26%) translateY(-50%);
    }

    #donation-section .decorated-line {
        transform: translateX(105%) translateY(-50%);
    }

    #medical-section .decorated-line {
        transform: translateX(85%) translateY(-40%);
    }


    #what-we-offer .decorated-line-center {
        transform: translateY(-50%);
    }

    #mri .decorated-line {
        transform:
            /* translateX(71%)*/
            translateY(-50%) !important;
    }
}

@media (max-width:992px) {
    #education .decorated-line {
        transform: translateY(-146%);
    }

    #about-section .decorated-line,
    #donation-section .decorated-line {
        transform: translateY(-50%);
    }

    #medical-section .decorated-line {
        transform: translateY(-40%);
    }

    #what-we-offer .decorated-line-center {
        transform: translateY(-100%);
    }

    #further-plans .decorated-line {
        transform: translateY(-50%);
    }

    #special-application-mri-heading .decorated-line {
        transform:
            /* translateX(71%)*/
            translateY(-50%) !important;
    }

}

.owl-next {
    right: 13px;
}

.owl-theme .owl-nav [class*=owl-]:hover {
    background: #86979100;
    color: #FFF;
    text-decoration: none;
}

#donation-section {
    background-image: url(../img/donation-half-flower-bg.png);
    background-repeat: no-repeat;
    background-size: 300px;
    background-position: center top;
}

/* contact us */
#contact-us .side-bg {
    background-image: url(../img/ram-mantra-contact-us-side-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
}

#contact-us .contact-form {
    background: #E1E1E1
}

#further-plans ul {
    list-style-image: url('../img/ram-mantra-custom-bullet.png');
}

.pathology ul {
    font-size: 18px;
    font-weight: bold;
}

.pathology .heading h1 {
    font-size: 50px;
    font-weight: 600;
}

@media(max-width: 574px) {
    .pathology .heading h1 {
        font-size: 40px;
    }
}

@media (min-width:1200px) {
    .pathology .infrastructure .decorated-line {
        transform: translateX(165%) translateY(-95%) !important;
    }

    .pathology .disciplinewise-tests .decorated-line {
        transform: translateX(146%) translateY(-95%) !important;
    }

}

@media (min-width:992px) {
    .pathology .infrastructure .decorated-line {
        transform: translateX(152%) translateY(-95%);
    }

    .pathology .disciplinewise-tests .decorated-line {
        transform: translateX(110%) translateY(-95%);
    }

}

@media (max-width:992px) {
    .pathology .infrastructure .decorated-line {
        transform: translateY(-95%);
    }

    .pathology .disciplinewise-tests .decorated-line {
        transform: translateY(-95%);
    }
}

.ophthalmology {
    background-color: #FFF2E7;
    padding: 80px 0;
}

.ophthalmology ul,
.ophthalmology p {
    font-size: 18px;
    line-height: 26px;
}

.medicalcenter {
    background-color: #FFF2E7;
    padding: 80px 0;
}

.medicalcenter p {
    font-size: 18px;
    line-height: 26px;
}

.medicalcenter figcaption {
    font-size: 24px;
    font-weight: 600;
}

.exemption {
    background-color: #FFF2E7;
    padding: 80px 0;
}

.exemption p,
.exemption ul {
    font-size: 18px;
    line-height: 26px;
}

.exemption ul li {
    padding-bottom: 15px;
}

.exemption h1 {
    font-size: 50px;
    font-weight: 600;
}

@media (min-width:768px) {
    .exemption .heading h2 {
        font-size: 30px !important;
    }
}

@media(max-width: 574px) {
    .exemption .heading h1 {
        font-size: 40px;
    }
}

.exemption .decorated-line {
    transform: translateY(-95%);
}


.genesis {
    background-color: #FFF2E7;
    padding: 80px 0;
}

.genesis p {
    font-size: 18px;
    line-height: 26px;
}

.radiology {
    background-color: #FFF2E7;
    padding: 80px 0;
}

.radiology p,
.radiology ul {
    font-size: 18px;
    line-height: 26px;
}

.radiology .heading h1 {
    font-size: 50px;
    font-weight: 600;
}

@media(max-width: 574px) {
    .radiology .heading h1 {
        font-size: 40px;
    }
}

@media (min-width:992px) {
    .radiology .x-ray .decorated-line {
        transform: translateX(68%) translateY(-148%);
    }

    .radiology .Sonography .decorated-line {
        transform: translateX(137%) translateY(-148%);
    }

    .radiology .mri-magnetom .decorated-line {
        transform: translateX(92%) translateY(-148%);
    }
}

@media (max-width:992px) {
    .decorated-line {
        transform: translateY(-146%);
    }
}

.preambleappeal {
    background-color: #FFF2E7;
    padding: 80px 0;
}

.preambleappeal p {
    font-size: 18px;
    line-height: 26px;
}

.emergencyCT {
    background-color: #FFF2E7;
    padding: 60px 0;
}

.emergencyCT p,
.emergencyCT ul {
    font-size: 18px;
    line-height: 26px;
}

.emergencyCT .heading h1 {
    font-size: 50px;
    font-weight: 600;
}

@media(max-width: 574px) {
    .emergencyCT .heading h1 {
        font-size: 40px;
    }
}


@media (min-width:1200px) {
    .emergencyCT .cdi .decorated-line {
        transform: translateX(183%) translateY(-148%) !important;
    }

    .emergencyCT .cardiac-group .decorated-line {
        transform: translateX(76%) translateY(-148%) !important;
    }

    .emergencyCT .non-cardiac-group .decorated-line {
        transform: translateX(120%) translateY(-148%) !important;
    }
}

@media (min-width:992px) {
    .emergencyCT .cdi .decorated-line {
        transform: translateX(148%) translateY(-148%);
    }

    .emergencyCT .cardiac-group .decorated-line {
        transform: translateX(67%) translateY(-148%);
    }

    .emergencyCT .non-cardiac-group .decorated-line {
        transform: translateX(100%) translateY(-148%);
    }
}

@media (max-width:992px) {
    .emergencyCT .decorated-line {
        transform: translateY(-146%);
    }
}

.Orthopantomography p,
.Orthopantomography ul {
    font-size: 18px;
    line-height: 26px;
}


.comingup {
    background-color: #FFF2E7;
    padding: 80px 0;
}

.comingup ul li {
    font-size: 18px;
    line-height: 26px;
    padding-bottom: 8px;
}

#sitemap-list {
    background-color: #FFF2E7;
    padding: 50px 0;
}

#sitemap-list a {
    text-decoration: none;
    color: black;
}

#sitemap-list a:hover {
    text-decoration: underline;
}

#sitemap-list .h3 {
    font-weight: 600;
}
@media (max-width:992px) {
#footer ul{
    list-style-type: none !important;
}
}

.nav-link.active, .dropdown .nav-link.active, #footer ul li a.active{
    color: #3F142E !important;
    font-weight: bold !important;
}