:root {
    --green: #00984a;
    --aqua: #0cb6e1;
    --small-font: 14px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Noto Sans Display', sans-serif;
}

*.btn:hover {
    background-color: var(--aqua);
}
html,body {
    scroll-behavior: smooth;
}

body {
    background: white;
    font-size: var(--small-font);
}

.breadcrumb a {
    color: gray;
    text-transform: capitalize;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}

#heading {
    background-color: var(--green);
}

.dropdown-menu {
    display: none;
    font-size: 13px;
}

.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0px;
}

#navbarNavDropdown .dropdown-menu li a::before {
    content: '🔗';
    padding: 5px;
}

main #carouselExampleAutoplaying img {
    height: 470px;
    object-fit: cover;

}

#doctorinformation {
    background-color: rgba(28, 67, 68, 0.1);
}

#doctorinformation .card {
    padding-top: 10px;
    background-color: rgb(139, 157, 180, 0.1);
}

#doctorinformation img {
    border-radius: 50%;
    width: 70%;
    margin: auto;
    display: block;
    border: 1px solid var(--green);

}

.container-fluid .fadeinUp {
    transform: translateX(-100%);
    opacity: 0;
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
}

.container-fluid .visible {
    transform: translateX(0);
    opacity: 1;
}

.container-fluid .fadeinUp img {
    cursor: pointer;
}

#card-container .card {
    cursor: pointer;
    overflow: hidden;
    box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    transition: 0.2s ease-out;

}

#card-container .card:hover {
    transform: translateY(-4px);
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8),
        -2px -2px 6px rgba(0, 0, 0, 0.8);
}
#information-card .card:hover {
    transform: translateY(-4px);
    transition: 0.2s ease-out;
}

/* style for modal img preview */
.popup {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
    padding-top: 100px;
    overflow: auto;
    animation: zoom 0.3s linear;
}

@keyframes zoom {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.popup .close {
    position: absolute;
    font-size: 35px;
    font-weight: bold;
    color: white;
    top: 30px;
    right: 35px;
    cursor: pointer;
    transition: 0.2s linear;
    user-select: none;
}

.popup .close:hover {
    color: red;
}

.popup .madal-img {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 900px;
    border-radius: 7px;
}

.bg-dark {
    background-color: #172646 !important;
}

.bd-footer .list-unstyled a {
    display: inline-block;
    text-decoration: none;
    color: #dee2e6;
    transition: 0.1s linear;
    padding: 3px;
}

.bd-footer .list-unstyled a:hover {
    color: var(--green);
    letter-spacing: 1.5px;
}

.copyright p {
    font-size: 16px;
}

.copyright a {
    text-decoration: none;
    color: white;
}

.copyright a:hover {
    color: var(--green);
    text-decoration: underline;
}

#backTop {
    position: fixed;
    bottom: 70px;
    right: 50px;
    cursor: pointer;
    background-color: var(--aqua);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    padding-top: 10px;
    font-size: 18px;
   
}


@media (max-width: 576px) {
    .popup .madal-img {
        width: 100%;
    }

    #heading h2 {
        font-size: 20px;
    }

    #heading h3 {
        display: none;
    }

    #heading img {
        width: 50px;
    }
    #backTop {
        width: 30px;
        height: 30px;
        right: 20px;
        padding-top: 5px;
        font-size: 16px;
    }
    
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

}

@media (min-width: 992px) {
    .dropdown-menu.shadow {
        width: 600px;
    }
}