@import url('https://cdn-uicons.flaticon.com/2.1.0/uicons-regular-rounded/css/uicons-regular-rounded.css');
@import url('https://cdn-uicons.flaticon.com/2.3.0/uicons-brands/css/uicons-brands.css');
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif !important;
}

:root {
    --primary-color: #2D55A5;
    --secondary-color: #767D8E;
    --text-primary-color: #949494;
    --text-secondry-color: #777777;
    --light: #FFFFFF;
}

section,
footer {
    padding: 80px 0 !important;
}

@media only screen and (max-width: 768px) {
    section,
    footer {
        padding: 40px 0;
    }
}

.toastify {
    background: linear-gradient(135deg, #18a097, #90B62B);
}

input,
input:active,
input:focus,
textarea,
textarea:active,
textarea:focus {
    font-size: 13px !important;
    color: black !important;
    font-weight: 500 !important;
    outline: none !important;
    box-shadow: none !important;
    border: 1px solid var(--primary-color) !important;
    outline: var(--text-primary-color) !important;
}

.fi {
    display: flex !important;
}

a {
    text-decoration: none !important;
}

.form-control {
    padding: 14px !important;
}

.swal2-show {
    padding: 40px 0;
    border-radius: 20px !important;
}

.swal2-backdrop-show {
    background-color: rgba(24, 160, 151, 0.5) !important;
}

.swal2-title {
    text-transform: uppercase !important;
    font-family: 'Montserrat', sans-serif !important;
}

.swal2-html-container {
    font-family: 'Montserrat', sans-serif !important;
}

.subheading {
    font-size: 20px;
    line-height: 28px;
    color: var(--primary-color);
}

.heading {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
}

.description {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--text-primary-color);
}


/* HEADER */

header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    border-bottom: 3px solid var(--primary-color);
    background-color: var(--light);
}

header .branding {
    height: 60px !important;
    position: relative;
}

header .logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

header .logo h6 {
    color: var(--primary-color);
    font-size: 18px;
    line-height: 20px;
    font-weight: 700;
    margin: 0 !important;
    font-family: "Rubik", sans-serif !important;
}

header ul>li>a {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: black !important;
    font-family: "Rubik", sans-serif !important;
}

header .menu-btn {
    width: 40px;
    height: 40px;
}

header .menu-btn i {
    font-size: 22px;
}


/* LEFT NAV BAR */

@keyframes animateToRight {
    from {
        left: -300px;
        opacity: 0
    }
    to {
        left: 0;
        opacity: 1
    }
}

@keyframes animateToLeft {
    from {
        left: 0;
        opacity: 1;
    }
    to {
        left: -300px;
        opacity: 0;
    }
}

.my-modal {
    display: none;
    position: fixed;
    z-index: 999;
    padding-top: 5%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}

.modal--content {
    position: relative;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    height: 100%;
    border: none;
    background-color: var(--primary-color);
    max-width: 300px;
}

.modal--show {
    animation-name: animateToRight;
    animation-duration: 1s
}

.modal--hide {
    animation-name: animateToLeft;
    animation-duration: 1s
}

.close {
    position: absolute;
    color: var(--light);
    font-size: 36px;
    font-weight: 600;
    cursor: pointer;
    top: 0px;
    right: 12px;
    min-height: min-content;
    padding: 0px 2px;
    border-radius: 4px;
}

.close:hover {
    color: var(--light);
}

.nav-link {
    color: var(--light) !important;
}

.nav--item {
    cursor: pointer;
}

.nav--item.active {
    font-weight: bold;
}

.nav--item:hover {
    font-weight: bold;
}

.nav--item a {
    cursor: pointer;
    color: var(--light) !important;
    text-decoration: none;
}


/* HERO SECTION */

.hero-section {
    padding-block-start: 40px !important;
    padding-block-end: 0 !important;
    margin-block-start: 60px;
}

.hero-section .overlay {
    background-color: rgba(0, 0, 0, 0.575);
}

.hero-section .col-lg-6 {
    height: calc(100vh - 60px);
    max-height: 680px !important;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-section h2 {
    color: var(--light);
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
    font-family: "Rubik", sans-serif !important;
}

.hero-section p {
    color: var(--light);
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
}

.primary-btn {
    font-size: 14px !important;
    line-height: 20px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    padding: 10px 20px !important;
    border-radius: 5px !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--light) !important;
    background-color: var(--primary-color) !important;
    transition: all .3s ease !important;
}

.primary-btn:hover {
    background-color: var(--light) !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    transition: all .3s ease !important;
}

.hero-section .slide-btn {
    width: 36px !important;
    height: 36px !important;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 50%;
    border: none;
    box-shadow: none;
    border: 1px solid var(--light) !important;
    color: var(--light);
    background-color: transparent;
}

.hero-section .slide-btn:hover {
    color: var(--light);
    background-color: var(--primary-color);
}

.hero-section img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    vertical-align: bottom;
}


/* ABOUT SECTION */

.about-section {
    padding: 0 !important;
    transform: translateY(-60px);
}

@media only screen and (max-width: 768px) {
    .about-section {
        padding: 60px 0 !important;
        transform: none !important;
    }
}

.about-section .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    vertical-align: top;
    text-align: center;
    position: relative;
    padding: 20px 10px;
    border-radius: 10px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 3px 20px;
    background-color: var(--light);
    transition: all 0.3s ease-in-out;
}

.about-section .card:hover {
    transform: translateY(-40px);
    transition: all 0.3s ease-in-out;
}

.about-section .card img {
    width: 100%;
    height: 100%;
    max-height: 90px;
    object-fit: contain;
    object-position: center center;
}

.about-section .heading {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    font-family: "Rubik", sans-serif !important;
}

.about-section .description {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: var(--text-primary-color);
}


/* EMERGENCY SECTION */

.emergency-section .cover {
    max-width: 350px;
    max-height: 500px;
    position: relative;
}

.emergency-section .cover .bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 300px;
    background-color: var(--primary-color);
    z-index: -1 !important;
    border-radius: 10px;
    overflow: hidden;
}

.emergency-section .cover img {
    width: 100%;
    height: 100%;
    transform: translateX(80px);
    object-fit: cover;
    object-position: center center;
    vertical-align: bottom;
}

.emergency-section .heading {
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    font-family: "Rubik", sans-serif !important;
}

.emergency-section .services-items .item {
    display: flex;
    align-items: center;
    column-gap: 10px;
    padding: 20px;
    border-radius: 10px;
    background-color: #F5F5F5;
    transition: all 0.3s ease-in-out;
}

.emergency-section .services-items .item i {
    font-size: 14px;
    color: #000;
    transition: all 0.3s ease-in-out;
}

.emergency-section .services-items .item p {
    color: #232323;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
}

.emergency-section .services-items .item:hover {
    color: var(--light);
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.emergency-section .services-items .item:hover i,
.emergency-section .services-items .item:hover p {
    color: var(--light);
    transition: all 0.3s ease-in-out;
}


/* SERVICES SECTION */

.services-section .card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-block-end: 20px !important;
    padding: 26px 20px;
    border-radius: 10px;
    border: none !important;
    transition: all 0.3s ease-in-out;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 3px 20px;
}

.services-section .card:hover {
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
}

.services-section .card img {
    height: 100%;
    max-height: 40px;
    object-fit: contain;
    object-position: center center;
    vertical-align: bottom;
}

.services-section .card h6 {
    font-size: 18px;
    line-height: 28px;
    font-weight: 700;
    margin-block-start: 12px;
    font-family: "Rubik", sans-serif !important;
}

.services-section .card p {
    font-size: 15px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 0 !important;
    color: var(--text-primary-color) !important;
}


/* COMMITMENT SECTION */

.commitment-section {
    background-color: var(--primary-color);
}

.commitment-section .heading {
    font-size: 30px;
    line-height: 40px;
    font-weight: 700;
    color: var(--light);
}

.commitment-section .description {
    color: #C5C5C5 !important;
}


/* DOCTORS SECTION */

.doctors-section .info .card {
    border: none !important;
}

.doctors-section .info .card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: translateY(-40px);
    background-color: var(--light);
    border-radius: 10px;
    margin: 0 20px;
    padding: 24px 8px;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 3px 20px;
    transition: all 0.3s ease-in-out;
}

.doctors-section .info .card:hover .card-body {
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.doctors-section .info .card:hover h6,
.doctors-section .info .card:hover p {
    color: var(--light) !important;
    transition: all 0.3s ease-in-out;
}

.doctors-section .info img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 4px;
    max-height: 300px !important;
}

.doctors-section .info h6 {
    font-size: 20px;
    line-height: 28px;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
    font-family: "Rubik", sans-serif !important;
}

.doctors-section .info p {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    transition: all 0.3s ease-in-out;
    color: var(--primary-color);
    margin: 0 !important;
}


/* CONTACT FORM */

.request-section .contact-form {
    background-color: var(--light);
    box-shadow: rgba(0, 0, 0, 0.10) 0px 3px 20px;
}

.request-section .contact-form h4 {
    font-size: 40px;
    line-height: 50px;
    font-weight: 700;
}

.request-section .contact-form .form-control {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    padding: 10px;
    border: none !important;
    color: var(--text-primary-color);
    background-color: #F9F9F9 !important;
}

.gallery-section .card {
    min-height: 200px !important;
    max-height: 200px !important;
    border-radius: 20px;
    border: none !important;
}

.gallery-section .card img {
    width: 100%;
    height: 100%;
    min-height: 200px !important;
    max-height: 200px !important;
    object-fit: cover;
    border-radius: 14px;
    object-position: center center;
    vertical-align: bottom;
}

.gallery-section .primary-btn {
    border: 1px solid var(--light) !important;
}


/* FOOTER */

footer .logo {
    height: 55px;
    position: relative;
}

footer .logo img {
    height: 100%;
    object-fit: contain;
}

footer .logo span {
    color: var(--primary-color);
    font-size: 18px;
    line-height: 22px;
    font-weight: 700;
    margin-inline-start: 6px;
    font-family: "Rubik", sans-serif !important;
}

footer .description {
    color: #8E8E8E !important;
}

footer h6 {
    color: #232323 !important;
    font-size: 16px;
    line-height: 28px;
    font-weight: 500;
    font-family: "Rubik", sans-serif !important;
}

footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin-block-start: 22px;
}

footer ul>li,
footer ul>li>a {
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    margin-bottom: 10px;
    color: var(--text-primary-color) !important;
    text-decoration: none !important;
}

footer ul>li>a:hover {
    color: var(--primary-color) !important;
}

footer .social-icons>li>a>i {
    font-size: 24px;
}

footer .copyright {
    font-size: 14px;
    line-height: 28px;
}


/* MEDIA QUERIES */

@media only screen and (max-width: 768px) {
    .hero-section h2 {
        font-size: 24px;
        line-height: 32px;
        font-weight: 600;
    }
    .hero-section .col-lg-6 {
        height: calc(100vh - 60px);
        max-height: 380px !important;
    }
    .emergency-section .heading {
        font-size: 24px;
        line-height: 32px;
    }
    .emergency-section .cover {
        width: calc(100% - 50px);
        max-height: 500px;
        position: relative;
    }
    .emergency-section .cover .bg-shape {
        width: 100%;
        height: 300px;
    }
    .emergency-section .cover img {
        max-height: 400px;
        transform: translateX(50px);
    }
    .subheading {
        font-size: 18px;
        line-height: 24px;
    }
    .heading {
        font-size: 30px;
        line-height: 34px;
    }
}
