﻿body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

.content-wrap {
    flex-grow: 1;
}

footer {
    flex-shrink: 0;
}
/********** Template CSS **********/
:root {
    --primary: #00a0e2;
    --secondary: #e31e25;
    --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: bold !important;
}

.btn {
    font-family: 'Quicksand', 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: 36px;
    height: 36px;
}

.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: 10px;
    z-index: 99;
}

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

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

.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% !important;
}

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

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.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);
}

.twentytwenty-wrapper {
    height: 100%;
}

.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;
}

.bg-appointment {
    background-image: linear-gradient(15deg, #0bade3 0%, #83d5f0 100%);
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.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;
}

.bg-offer {
    background: linear-gradient(#eb2a2e, #eb2a2e);
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

#map {
    /*height: 290px;*/ /* The height is 400 pixels */
    width: 100%; /* The width is the width of the web page */
    /*margin-top:1rem;*/
}

.scale-img{
    object-fit:cover;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    line-height: 1.6;
    color: #333;
    box-sizing: border-box;
}

.nav-link {
    padding: 0.2rem 0.2rem !important;
}

/*css capcha*/
@media only screen and (max-width: 550px) {
    .g-recaptcha {
        transform: scale(0.7);
    }

    .g-recaptcha div div {
        position: absolute;
        left: -45px;
    }

    .mb-resp {
        margin-bottom: 10px;
    }

    .width-resp {
        max-width: 100%;
    }

    /* selector for overflow div */
    div[style*='box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 3px;'] {
        left: 0 !important;
    }
}

.rc-anchor .rc-anchor-content {
    padding-left: 10px !important;
}
.container{
    padding: 2rem 2rem;
}
.container-fluid {
    padding: 2rem 2rem;
}
.menu-flag {
    width: auto !important;
    left: unset !important;
}
img {
    max-width: 100%;
    height: auto;
    max-height: 22vh;
    object-fit: cover;
}

.img-content {
    max-height: unset !important;
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.swal2-popup.my-custom-popup-border {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.swal2-confirm.my-custom-confirm-button {
    background: linear-gradient(135deg, rgb(94, 188, 240) 0%, rgb(27, 147, 210) 100%) !important;
    color: white !important;
    border: none !important;

}

    .swal2-confirm.my-custom-confirm-button:hover {
        background: linear-gradient(135deg, rgb(70, 160, 220) 0%, rgb(20, 120, 190) 100%) !important;
    }

.swal2-cancel.my-custom-cancel-button {
    background-color: #6c757d !important; 
    color: white !important;
    border: none !important;
}

    .swal2-cancel.my-custom-cancel-button:hover {
        background-color: #5a6268 !important;
    }

.img-fluid {
    height: 300px; /* Hoặc chiều cao bạn muốn */
    object-fit: cover; /* Cắt ảnh thông minh để không bị méo */
    border-radius: 15px;
}

.col-md-6 .img-fluid {
    height: 400px; /* Hoặc chiều cao bạn muốn */
    object-fit: cover; /* Cắt ảnh thông minh để không bị méo */
    border-radius: 15px;
}
