/********** Template CSS **********/
:root {
    --primary: #093566 !important;
    --secondary: #519737;
    --light: #EEF9FF;
    --dark: #091E3E;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}
.hospital-info {
    max-width: 1295px;
    margin: -90px auto 0;
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

/* COMMON BOX */

.info-box {
    min-height: 300px;
    padding: 45px 48px;
    color: #fff;
}

/* OPENING HOURS */

.opening-hours {
    background: #083465;
}

.opening-hours h2,
.search-doctor h2,
.appointment h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
}

/* HOURS */

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 17px;
    font-size: 14px;
    font-weight: 500;
}

.hours-row strong {
    font-weight: 600;
}

/* BUTTON */

.info-btn {
    width: 100%;
    border: none;
    background: #fff;
    color: #111;
    height: 42px;
    margin-top: 3px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.info-btn:hover {
    background: #071d3d;
    color: #fff;
    transform: translateY(-3px);
}

/* SEARCH DOCTOR */

.search-doctor {
    background: #071d3d;
}

.search-doctor h2 {
    margin-bottom: 18px;
}

.form-control {
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    padding: 0 14px;
    margin-bottom: 16px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #555;
    background: #eef8fc;
}

.form-control:focus {
    box-shadow: 0 0 0 2px #083465;
}

/* SEARCH BUTTON */

.search-btn {
    width: 100%;
    height: 40px;
    border: none;
    background: #fff;
    color: #111;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #083465;
    color: #fff;
}

/* APPOINTMENT */

.appointment {
    background: #5B9F3C;
}

.appointment p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
    color: #fff;
}

.phone-number {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 1px;
}

/* ANIMATION */

.info-box {
    opacity: 0;
    transform: translateY(50px);
    animation: boxReveal 0.8s ease forwards;
}

.opening-hours {
    animation-delay: 0.1s;
}

.search-doctor {
    animation-delay: 0.25s;
}

.appointment {
    animation-delay: 0.4s;
}

@keyframes boxReveal {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* HEADING ANIMATION */

.info-box h2 {
    opacity: 0;
    transform: translateX(-20px);
    animation: headingReveal 0.7s ease forwards;
    animation-delay: 0.6s;
}

@keyframes headingReveal {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* PHONE PULSE */

.phone-number {
    animation: phonePulse 2.5s infinite;
}

@keyframes phonePulse {

    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

/* BUTTON HOVER */

.info-btn,
.search-btn {
    transition: transform 0.3s ease,
                background 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease;
}

.info-btn:hover,
.search-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

/* RESPONSIVE */

@media (max-width: 1000px) {

    .hospital-info {
        grid-template-columns: 1fr;
        margin: 30px 25px 0;
    }

    .info-box {
        min-height: auto;
    }
}

@media (max-width: 600px) {

    .hospital-info {
        margin: 20px 15px;
    }

    .info-box {
        padding: 35px 28px;
    }

    .info-box h2 {
        font-size: 22px;
    }

    .hours-row {
        font-size: 13px;
    }

    .phone-number {
        font-size: 24px;
    }
}
.dg-appointment-section {
    position: relative;
    width: 100%;
    min-height: 540px;

    background-image: url("images/hospital-bg.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    overflow: hidden;
    font-family: 'Montserrat', Arial, sans-serif;
}


/* DARK BACKGROUND OVERLAY */

.dg-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(8, 23, 51, 0.94) 0%,
            rgba(8, 23, 51, 0.82) 50%,
            rgba(8, 23, 51, 0.70) 100%
        );

    z-index: 1;
}


/* MAIN CONTAINER */

.dg-appointment-container {
    position: relative;
    z-index: 2;

    max-width: 1180px;
    min-height: 540px;

    margin: auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
}


/* ==========================================
   LEFT CONTENT
   ========================================== */

.dg-content {
    padding: 85px 55px 70px 20px;

    color: #ffffff;

    display: flex;
    flex-direction: column;
    justify-content: center;

    opacity: 0;
    transform: translateX(-60px);

    animation: dgContentReveal 1s ease forwards;
}


.dg-small-title {
    display: inline-block;

    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: 2px;

    margin-bottom: 18px;

    opacity: 0.9;
}


.dg-content h2 {
    font-size: 44px;

    line-height: 1.18;

    font-weight: 800;

    margin: 0 0 22px;

    max-width: 600px;
}


.dg-content p {
    font-size: 15px;

    line-height: 1.8;

    color: rgba(255,255,255,0.90);

    max-width: 590px;

    margin-bottom: 25px;
}


/* FEATURES */

.dg-features {
    display: flex;

    flex-wrap: wrap;

    gap: 12px 25px;
}


.dg-feature {
    font-size: 13px;

    font-weight: 600;

    color: #ffffff;
}


.dg-feature span {
    display: inline-flex;

    width: 22px;
    height: 22px;

    align-items: center;
    justify-content: center;

    margin-right: 7px;

    background: #62A643;

    border-radius: 50%;

    font-size: 12px;
}


/* ==========================================
   FORM BOX
   ========================================== */

.dg-form-box {

    background: rgba(181, 31, 104, 0.90);

    padding: 65px 48px;

    backdrop-filter: blur(4px);

    opacity: 0;
    transform: translateX(60px);

    animation: dgFormReveal 1s ease 0.2s forwards;
}


.dg-form-box h2 {
    color: #ffffff;

    text-align: center;

    font-size: 34px;

    font-weight: 800;

    margin: 0 0 28px;
}


/* FORM ROW */

.dg-form-row {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

    margin-bottom: 14px;
}


.dg-input-group {
    width: 100%;
}


.dg-input-group input,
.dg-input-group select {

    width: 100%;

    height: 55px;

    border: none;

    outline: none;

    background: #ffffff;

    color: #555;

    padding: 0 15px;

    font-family: 'Montserrat', Arial, sans-serif;

    font-size: 13px;

    border-radius: 1px;

    transition: all 0.3s ease;
}


.dg-input-group select {
    cursor: pointer;
}


.dg-input-group input:focus,
.dg-input-group select:focus {

    box-shadow:
        0 0 0 3px rgba(255,255,255,0.30);

    transform: translateY(-2px);
}


/* PLACEHOLDER */

.dg-input-group input::placeholder {
    color: #777;
}


/* FULL WIDTH */

.dg-full {
    width: 100%;
}


/* ==========================================
   SUBMIT BUTTON
   ========================================== */

.dg-submit-btn {

    position: relative;

    width: 100%;

    height: 58px;

    border: none;

    background: #071d3d;

    color: #ffffff;

    font-family: 'Montserrat', Arial, sans-serif;

    font-size: 14px;

    font-weight: 700;

    cursor: pointer;

    overflow: hidden;

    margin-top: 5px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
}


.dg-submit-btn span {
    position: relative;
    z-index: 2;
}


.dg-submit-btn i {

    position: absolute;

    right: 25px;

    top: 50%;

    transform: translateY(-50%);

    font-size: 20px;

    font-style: normal;

    opacity: 0;

    transition: all 0.3s ease;
}


.dg-submit-btn:hover {

    transform: translateY(-4px);

    box-shadow: 0 12px 25px rgba(0,0,0,0.25);

    background: #04142d;
}


.dg-submit-btn:hover i {

    opacity: 1;

    right: 18px;
}


/* ==========================================
   SUCCESS MESSAGE
   ========================================== */

#dg-form-message {

    text-align: center;

    color: #ffffff;

    font-size: 13px;

    margin-top: 15px;

    font-weight: 600;
}


/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes dgContentReveal {

    0% {
        opacity: 0;
        transform: translateX(-60px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }

}


@keyframes dgFormReveal {

    0% {
        opacity: 0;
        transform: translateX(60px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }

}


/* ==========================================
   INPUT STAGGER ANIMATION
   ========================================== */

.dg-input-group {

    opacity: 0;

    transform: translateY(15px);

    animation: dgInputReveal 0.5s ease forwards;
}


.dg-form-row:nth-child(1) .dg-input-group {
    animation-delay: 0.8s;
}


.dg-form-row:nth-child(2) .dg-input-group {
    animation-delay: 0.95s;
}


.dg-form-row:nth-child(3) .dg-input-group {
    animation-delay: 1.1s;
}


.dg-form-row:nth-child(4) .dg-input-group {
    animation-delay: 1.25s;
}


@keyframes dgInputReveal {

    to {
        opacity: 1;
        transform: translateY(0);
    }

}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 900px) {

    .dg-appointment-container {

        grid-template-columns: 1fr;

    }


    .dg-content {

        padding: 70px 30px;

    }


    .dg-content h2 {

        font-size: 36px;

    }


    .dg-form-box {

        padding: 50px 30px;

    }

}


@media (max-width: 600px) {

    .dg-appointment-section {

        background-attachment: scroll;

    }


    .dg-content {

        padding: 55px 22px;

    }


    .dg-content h2 {

        font-size: 30px;

    }


    .dg-content p {

        font-size: 13px;

    }


    .dg-features {

        flex-direction: column;

        gap: 10px;

    }


    .dg-form-box {

        padding: 40px 20px;

    }


    .dg-form-box h2 {

        font-size: 27px;

    }


    .dg-form-row {

        grid-template-columns: 1fr;

        gap: 12px;

        margin-bottom: 12px;

    }


    .dg-input-group input,
    .dg-input-group select {

        height: 52px;

    }


    .dg-submit-btn {

        height: 55px;

    }

}
h2 {
    color: #fff !important;
}
img.logo {
    width: 130px;
}
.btn.btn-primary.py-2.px-4.ms-3 {
    animation: emergencyColor 2s infinite;
}

@keyframes emergencyColor {
    0% {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }

    50% {
        background-color: #dc3545;
        border-color: #dc3545;
    }

    100% {
        background-color: #0d6efd;
        border-color: #0d6efd;
    }
}
a.btn.btn-primary.py-md-3.px-md-5.me-3.animated.slideInLeft {
    border-radius: 25px;
}
a.btn.btn-secondary.py-md-3.px-md-5.animated.slideInRight {
    border-radius: 25px;
}
a.btn.btn-primary.py-3.px-5.mt-4.wow.zoomIn {
    border-radius: 25px;
}
a.btn.btn-primary.py-3.px-5 {
    border-radius: 25px;
}
@media (min-width: 1200px) {
    h3, .h3 {
        font-size: 21px;
    }
}
.floating-contact {
    position: fixed;
    right: 20px;
    bottom: 190px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 9999;
}

.floating-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    position: relative;
}

.floating-btn span {
    font-size: 24px;
}

.floating-btn strong {
    position: absolute;
    right: 65px;
    background: #222;
    color: #fff;
    padding: 7px 12px;
    border-radius: 5px;
    font-size: 13px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.floating-btn:hover strong {
    opacity: 1;
    visibility: visible;
}

.floating-btn:hover {
    transform: scale(1.1);
}

.call-btn {
    background: #1565c0;
}

.whatsapp-btn {
    background: #25D366;
}

@media (max-width: 768px) {
    .floating-contact {
        right: 15px;
        bottom: 20px;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-btn strong {
        display: none;
    }
}