/* color logo - #467c58 */
/* color logoBG - #f4f5e8 */
body {
    margin: 0;
    font-family: "Gill Sans", sans-serif;
}

#header {
    position: absolute;
    z-index: 999;
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

.home {
    background-image: url('../images/doctor-patient.jpg');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 762px;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.home .container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
}

.container {
    margin: auto;
    max-width: 1200px;
    padding: 12px 16px;
    box-sizing: border-box;
}

.navbar {
    position: fixed;
    width: 100%;
}

.navbar-header {
    background-color: white;
    display: flex;
    flex-direction: row;
    height: 74px;
    box-shadow: 0px 2px 4px -2px #6e6e6e;
}

.nav {
    display: inline-flex;
    width: 100%;
    padding: 0;
    flex: 1;
    flex-grow: inherit;
    padding: 0px 16px;
}

.nav li {
    padding: 4px;
    text-align: center;
    width: 86px;
    display: inline-block;
    margin: 8px 0px;
    border-radius: 15px;
}

.nav li a {
    text-decoration: none;
    color: black;
    font-weight: 600;
    position: relative;
}

.nav li a:hover {
    color: #467c58;
}

.nav li .heart-rate {
    position: relative;
    height: 24px;
    display: none;
}

.nav .activeNav a {
    color: #467c58;
}

.nav .activeNav .heart-rate {
    position: relative;
    height: 24px;
    display: block;
}

.nav .activeNav .fade-in {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
    top: 0;
    right: 0;
    animation: heartRateIn 2.5s linear infinite;
}

.nav .activeNav .fade-out {
    position: absolute;
    width: 120%;
    height: 100%;
    top: 0;
    left: -120%;
    animation: heartRateOut 2.5s linear infinite;
    background: rgba(255, 255, 255, 1);
    background: -moz-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    background: -webkit-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    background: -o-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    background: -ms-linear-gradient(left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 80%, rgba(255, 255, 255, 0) 100%);
}

@keyframes heartRateIn {
    0% {
        width: 100%;
    }

    50% {
        width: 0;
    }

    100% {
        width: 0;
    }
}

@keyframes heartRateOut {
    0% {
        left: -100%;
    }

    30% {
        left: -100%;
    }

    100% {
        left: 0;
    }
}

.logoContainer {
    flex: 1;
    display: inline-flex;
}

.appoint_button {
    padding: 8px 16px;
    color: white;
    border: none;
    background: #467c58;
    font-weight: 500;
    font-size: 14px;
    border-radius: 8px;
    box-shadow: 0px 3px 6px -2px #202020;
    cursor: pointer;
}

.footerTop {
    background-color: #f4f5e8;
}

.footerTop .contentFooter {
    text-align: center;
    margin: auto;
    max-width: 1200px;
    padding: 12px 16px;
    box-sizing: border-box;
}

.footerTop .contentFooter .brandName p {
    color: #467c58;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 18px;
}

.brandMail p {
    font-family: Courgette;
    color: #467c58;
    letter-spacing: 2px;
}

.followUs {
    color: #467c58;
    font-size: 24px;
    margin: 20px auto;
    text-align: center;
}

.followUs i {
    margin: 0px 8px;
    cursor: pointer;
}

.footerTop .contentFooter .brandName span {
    letter-spacing: 2px;
    word-spacing: 10px;
    max-width: 600px;
    display: inline-block;
    line-height: 30px;
    justify-content: center;
    text-align: center;
    color: #467c58;
    font-weight: 600;
    font-size: 12px;
}

.footerDown {
    padding: 16px;
    border-radius: 0px;
    color: white;
    font-size: 10px;
    background-color: #467c58;
}

.about {
    background-color: white;
    width: 100%;
}

.grid-card {
    display: flex;
    position: relative;
    top: -110px;
    box-shadow: 0px 5px 11px -5px #272727;
}

.grid-card .Gcard {
    flex: 1;
    height: 235px;
    padding: 24px;
    box-sizing: border-box;
    color: white;
    overflow: hidden;
    position: relative;
    transition: all .4s linear;
    cursor: pointer;
}

.grid-card .Gcard:hover .cardicon {
    font-size: 128px;
}

.grid-card .Gcard:hover .cardtitle {
    opacity: 0;
}

.grid-card .Gcard:hover .carddesc {
    opacity: 0;
}

.Gcard-colorGrad1 {
    background-color: #467c58;
}

.Gcard-colorGrad2 {
    background-color: #5f9872;
}

.Gcard-colorGrad3 {
    background-color: #64b07d;
}

.Gcard-colorGrad4 {
    background-color: #74c18e;
}

.cardicon {
    font-size: 70px;
    text-shadow: 1px 3px 4px #2e2d2d;
    transition: all .4s linear;
}

.cardtitle {
    padding: 10px 0px;
    font-size: 16px;
    font-weight: 600;
    word-spacing: 4px;
}

.carddesc {
    padding: 12px 0px;
    font-size: 12px;
    word-spacing: 0px;
    line-height: 20px;
}

.bookThis {
    position: absolute;
    top: 174px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: 600;
    opacity: 0;
    transition: all .4s linear;
}

.grid-card .Gcard:hover .bookThis {
    opacity: 1;
}

.TitleDescSection {
    text-align: center;
}

.TitleDescSection h1 {
    color: #467c58;
    font-weight: 800;
    letter-spacing: 6px;
    text-shadow: 0px 1px 2px #a4a1a1;
}

.TitleDescSection p {
    letter-spacing: 2px;
    word-spacing: 2px;
    line-height: 34px;
    color: #646363;
    max-width: 720px;
    display: inline-block;
    margin-top: 12px;
}

.hospitalGallery {
    margin-top: 75px;
}

.hospitalGallery .gallery {
    display: flex;
}

.hospitalGallery .gallery .content1 {
    flex: 2;
    height: 400px;
}

.hospitalGallery .gallery .content1 .subTop {
    height: 150px;
    text-align: center;
}

.hospitalGallery .gallery .content1 .subTop h2 {
    color: #467c58;
}

.hospitalGallery .gallery .content1 .subTop p {
    color: #646363;
    max-width: 220px;
    display: inline-block;
}

.hospitalGallery .gallery .content5 h2 {
    color: #467c58;
}

.hospitalGallery .gallery .content5 p {
    color: #646363;
    max-width: 220px;
    display: inline-block;
    text-align: center;
}

.hospitalGallery .gallery .content1 .subBottom {
    background-image: url('../images/icu-bed.jpg');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 231px;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.hospitalGallery .gallery .content2 {
    flex: 1;
    height: 400px;
    background-image: url('../images/ecg.jpg');
    background-repeat: no-repeat;
    background-position: bottom;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.hospitalGallery .gallery .content3 {
    flex: 2;
    height: 400px;
    background-image: url('../images/beds.jpg');
    background-repeat: no-repeat;
    background-position: bottom;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.hospitalGallery .gallery .content4 {
    flex: 1;
    height: 400px;
    background-image: url('../images/equip1.jpg');
    background-repeat: no-repeat;
    background-position: bottom;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.hospitalGallery .gallery .content5 {
    flex: 1;
    height: 400px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hospitalGallery .gallery .content6 {
    flex: 1;
    height: 400px;
    background-image: url('../images/ctScan.jpg');
    background-repeat: no-repeat;
    background-position: bottom;
    width: 100%;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.services {
    background-image: url('../images/doctors.jpg');
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    position: relative;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    transition: all .5s ease-in-out;
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    -ms-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
}

.serviceDesc {
    text-align: center;
    max-width: 600px;
    margin: 105px auto 40px;
}

.services .serviceDesc h1 {
    color: white;
    font-weight: 800;
    letter-spacing: 6px;
    text-shadow: 0px 1px 2px #080808;
}

.services .serviceDesc p {
    letter-spacing: 2px;
    word-spacing: 2px;
    line-height: 34px;
    color: white;
    display: inline-block;
    margin-top: 36px;
}

.servicesContent {
    margin: 10px auto 60px;
}

.servicesContent .sub1,
.sub2 {
    height: auto;
    display: flex;
    margin: 16px auto;
}

.servicesContent .sub1>div,
.sub2>div {
    flex: 1;
    text-align: center;
    box-sizing: border-box;
    padding: 8px;
    color: white;
}

.servicesContent .sub1>div i,
.sub2>div i {
    font-size: 70px;
}

.contact {
    background-color: white;
    width: 100%;
}

.contact .container .contactDetails {
    display: flex;
    margin-top: 30px;
    gap: 30px;
}

.contact .container .contactDetails .details {
    flex: 1;
}

.contact .container .contactDetails .details h3 {
    color: #467c58;
}

.contact .container .contactDetails .details p {
    color: #646363;
}

.contact .container .contactDetails .form {
    flex: 2;
}

.contact .container .contactDetails .form .inputField {
    display: flex;
    padding: 12px 0px;
}

.contact .container .contactDetails .form .inputField input {
    flex: 1;
    margin: 0px 10px;
    padding: 8px 6px;
    box-sizing: border-box;
    outline: none;
    border: 1px solid #646363;
    box-shadow: 0px 1px 4px -2px grey;
    color: #646363;
}

.contact .container .contactDetails .form .textArea {
    padding: 10px;
}

.contact .container .contactDetails .form .textArea textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 8px;
    outline: none;
    border: 1px solid #646363;
    box-shadow: 0px 1px 4px -2px grey;
    color: #646363;
    resize: none;
}

.submitButton {
    text-align: center;
}

.submitButton button {
    padding: 7px 42px;
    margin-top: 6px;
    border: none;
    outline: none;
    background: #467c58;
    color: #f4f5e8;
    border-radius: 4px;
    box-shadow: 0px 3px 4px -2px black;
    cursor: pointer;
    transition: all .2s ease-in-out;
}

.submitButton button:hover {
    box-shadow: 0px 3px 10px -2px black;
}

.submitButton button i {
    margin-left: 8px;
    transition: all .4s ease-in-out;
}

.mapSection {
    margin: auto;
    margin-bottom: 40px;
    width: 100%;
    flex: 3;
}

.careers {
    background-color: white;
    width: 100%;
}

.careermail {
    margin: 20px auto 60px;
    max-width: 290px;
    padding: 10px 4px;
    background: #f4f5e8;
    color: #467c58;
}

.buttonPanel .fa {
    transition: all .5s ease-in-out;
}

.buttonPanel button .fa-bell {
    opacity: 0;
    position: absolute;
}

.buttonPanel button:hover .fa-bell {
    opacity: 1;
}

.buttonPanel button:hover .fa-bell-o {
    opacity: 0;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

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

.whatsapp-link {
    color: #646363 !important;
    text-decoration: none !important;
}

.specialty-carousel-wrapper {
    position: relative;
    overflow: hidden;
    margin-top: 45px;
    height: 425px;
}

.specialty-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    height: 100%;
}

.specialty-carousel::-webkit-scrollbar {
    display: none;
}

.carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    padding: 20px 50px;
    box-sizing: border-box;
    height: 100%;
    background: #f4f5e8;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 45px;
}

.specialty-block {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.specialty-title {
    font-size: 1em;
    font-weight: bold;
    color: #467c58;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.doctor-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 equal columns */
    gap: 20px;
    overflow-y: auto;
    padding: 5px;
    flex-grow: 1;
}

.doctor-card {
    background: rgba(255, 255, 255, 0.6);
    /* translucent white */
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0px 2px 10px -6px #76776c;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 1);
    height: 122.36px;
}

.doctor-appoint-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.doctor-icon {
    flex: 0 0 20%;
    text-align: right;
    font-size: 36px;
    color: #467c58;
}

.doctor-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #467c58;
}

.doctor-degree {
    font-size: 0.7em;
    color: #555;
}

.doctor-specialty {
    font-size: 0.8em;
    color: #777;
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(70, 124, 88, 0.8);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1;
    text-align: center;
    line-height: 10px;
    border-radius: 4px;
    box-shadow: 0px 4px 8px -2px grey;
}

.carousel-nav.left {
    left: 10px;
}

.carousel-nav.right {
    right: 10px;
}

.appointment-btn {
    margin-top: 12px;
    padding: 4px 14px;
    background: rgba(70, 124, 88, 0.8);
    /* semi-transparent green */
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: background 0.3s ease, transform 0.2s ease;
}

.appointment-btn:hover {
    background: rgba(70, 124, 88, 1);
}

/* ================================================= Media Query =========================================== */

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

    .breadCrumb {
        display: block;
    }

    .grid-card {
        display: block;
    }

    .hospitalGallery .gallery {
        display: block;
    }

    .servicesContent .sub1,
    .sub2 {
        display: block;
    }

    .contact .container .contactDetails {
        display: block;
        text-align: center;
    }
}

@media screen and (max-width: 976px) {
    .grid-card {
        display: block;
    }

    .servicesContent .sub1,
    .sub2 {
        display: block;
    }

    .contact .container .contactDetails {
        display: block;
        text-align: center;
    }
}

@media screen and (max-width: 425px) {
    .contact .container .contactDetails .form .inputField {
        display: block;
    }

    .contact .container .contactDetails .form .inputField input {
        margin: 0px;
    }

    .contact .container .contactDetails .form .textArea {
        padding: 10px 0px;
    }
}

@media screen and (max-width: 390px) {
    .contact .container .contactDetails .form .inputField input {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 590px) {
    .typewriter {
        display: none;
    }

    .typewriter2 {
        display: block;
    }
}

@media (max-width: 768px) {
    .doctor-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .doctor-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================= Media Query =========================================== */