@font-face {
    font-family: "Montserrat-Regular";
    src: url("../fonts/Montserrat-Black.otf") format("opentype");
}
@font-face {
    /* font-family: "Montserrat-Bold";
    src: url("../fonts/Montserrat-Bold.otf") format("opentype"); */
}
@font-face {
    font-family: "Montserrat-LightItalic";
    src: url("../fonts/Montserrat-LightItalic.otf") format("opentype");
}
@font-face {
    font-family: "Montserrat-Light";
    src: url("../fonts/Montserrat-Light.otf") format("opentype");
}
@font-face {
    font-family: "Montserrat-Medium";
    src: url("../fonts/Montserrat-Medium.otf") format("opentype");
}
@font-face {
    font-family: "Montserrat-Black";
    src: url("../fonts/Montserrat-Black.otf") format("opentype");
}
@font-face {
    font-family: "Montserrat-Regular";
    src: url("../fonts/Montserrat-Regular.otf") format("opentype");
}
@font-face {
    font-family: "UVNBachDangNang";
    src: url("../fonts/UVNBachDangNang_R.TTF") format("truetype");
}
.header-2 {
    position: relative;
    height: 640px;
    background: url(https://portfolio.fotober.com/wp-content/uploads/2025/02/bg-home.webp) bottom no-repeat;
    background-size: cover;
    text-align: center;
    margin-bottom: 30px;
}
.p-45 {
    padding: 0 45px;
}
.header-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(35, 31, 32, 0.542);
}
.text-uppercase {
    text-transform: uppercase;
}
.title-line {
    position: relative; /* Đảm bảo các tiêu đề văn bản không bị che bởi lớp phủ mờ */
    z-index: 1; /* Đưa phần tử lên trên để hiển thị nội dung trước lớp phủ mờ */
    /* border-left: 2px solid #023263; */
}
.logo-header {
    position: absolute;
    background-color: rgba(35, 31, 32, 0.708);
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    text-align: left;
    border-radius: 10px;
}
.header-text-1 {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: "Montserrat-Black";
    text-align: center;
}
.header-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-family: "Montserrat-Black";
    text-align: center;
}
.title-line h3 {
    font-family: "Monterrat-Black";
    font-weight: bold;
    color: #023263;
    font-size: 22px;
}
.title-3 {
    z-index: 100;
    position: relative;
    font-family: "Montserrat-Black";
    font-weight: bold;
    color: white;
    font-size: 40px;
    text-transform: uppercase;
}
.title-des {
    z-index: 100;
    position: relative;
    font-family: "Montserrat-Regular";
    font-weight: 600;
    font-size: 20px;
    color: white;
    text-align: center;
}
.gap-20 {
    gap: calc(20px);
}
.button-head {
    background: none;
    padding: 15px;
    color: white;
    font-weight: 600;
    border: 1px solid;
    margin-top: 20px;
    transition:
        transform 0.3s ease-in-out,
        box-shadow 0.3s ease-in-out;
}
.button-head:hover {
    background: white;
    color: #003366;
    transform: scale(1.1); /* Zoom in 110% */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Hiệu ứng đổ bóng */
}
.pd-45 {
    padding: 45px 0;
}
.why-choose {
    padding: 30px 0;
}
.why-choose .title-why-choose {
    padding: 0 15px;
}
.why-choose .title-why-choose h3 {
    font-family: "Montserrat-Black";
    font-size: 28px;
    color: #023263;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
}
.why-choose .title-why-choose p {
    font-family: "Montserrat-Regular";
    font-size: 17px;
    text-align: justify;
    margin-bottom: 0;
}
.why-choose .item-why-choose {
    text-align: center;
    padding: 0 15px;
    display: grid;
    justify-items: center;
    gap: 10px;
}
.why-choose .item-why-choose img {
    width: 65px;
    height: 65px;
}
.bell-shake-hover {
    display: inline-block;
    transition: transform 0.2s;
    transform-origin: top center;
}

.bell-shake-hover:hover {
    animation: bellShake 1s ease-in-out infinite;
}

@keyframes bellShake {
    0% {
        transform: rotate(0deg);
    }
    15% {
        transform: rotate(5deg);
    }
    30% {
        transform: rotate(-5deg);
    }
    45% {
        transform: rotate(4deg);
    }
    60% {
        transform: rotate(-4deg);
    }
    75% {
        transform: rotate(2deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

.why-choose .item-why-choose h4 {
    font-family: "Montserrat-Black";
    font-size: 20px;
    color: #023263;
    text-transform: uppercase;
}
.why-choose .item-why-choose p {
    text-align: justify;
    text-align-last: center;
}
.title-our-service h3 {
    font-family: "Montserrat-Black";
    font-size: 28px;
    color: #023263;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 15px;
}
.title-our-service p {
    font-family: "Montserrat-Regular";
    font-size: 20px;
    text-align: justify;
    text-align-last: center;
    margin-bottom: 0;
}
.banner {
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 7px rgba(0, 0, 0, 0.2);
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.overlay {
    position: absolute;
    bottom: 40px;
    left: 20px;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.overlay h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.btn {
    margin-top: 10px;
    padding: 5px 20px;
    background-color: #003366;
    color: white;
    text-decoration: none;
    font-family: "Montserrat-Regular";
    text-transform: uppercase;
    font-size: 12px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mt-30 {
    margin-top: 30px;
}
.pd-30 {
    padding: 2.5rem 0;
}
.btn:hover {
    background-color: #003366;
}
.button-view-home {
    color: #003366;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    font-family: "Montserrat-Black";
    text-transform: uppercase;
    font-size: 20px;
    text-decoration: none;
    border: none;
    width: 100%;
}
.button-3 {
    flex: 0 0 28%;
    max-width: 28%;
}
.button-view-page {
    color: #003366;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 10px 20px;
    font-family: "Montserrat-Black";
    text-transform: uppercase;
    font-size: 30px;
    text-decoration: none;
    border: none;
    width: 100%;
}
.button-actived {
    background: #003366;
    color: white;
}
.box-button {
    text-align: center;
}
.button-view-home:last-child {
    font-size: 17px;
}
.video-editing {
    background-color: #f1f2f2;
}
/* Định dạng video ngang */
.item-video-editing-horizontal {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* Tỷ lệ 16:9 */
    overflow: hidden;
    border-radius: 10px;
}

.item-video-editing-horizontal video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hiển thị video đầy đủ mà không bị méo */
}

/* Định dạng video dọc */
.item-video-editing {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 177.77%; /* Tỷ lệ 9:16 */
    overflow: hidden;
    border-radius: 10px;
}

.item-video-editing video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Hiển thị video đầy đủ mà không bị méo */
}
.button-see-more {
    background: #003366;
    color: white;
    padding: 10px 25px;
    font-family: "Montserrat-Regular";
    font-size: 15px;
    text-decoration: none;
    border: none;
    border-radius: 10px;
}
.virtual-staging {
    background-color: #f1f2f2;
}
.fixed-section {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    padding: 20px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}
.beer-slider {
    font-family: "Montserrat-Regular";
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.feedback .title-feedback h3 {
    font-family: "Montserrat-Black";
    font-size: 28px;
    color: #023263;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.feedback .title-feedback h4 {
    font-family: "Montserrat-Black";
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 15px;
}
.feedback .title-feedback p {
    font-family: "Montserrat-Regular";
    font-size: 17px;
    text-align: justify;
    margin-bottom: 0;
}
.feedback-left {
    padding: 0;
}
.feedback-right {
    padding-right: 5rem;
    padding-top: 35px;
}
.item-feedback {
    padding: 15px;
    display: flex;
    background-color: #003366;
    border-radius: 25px;
    color: white;
    margin: 10px 0;
}
.item-feedback .avatar {
    width: 130px;
    padding-right: 15px;
}
.item-feedback h4 {
    font-family: "Montserrat-Regular";
    font-size: 28px;
    color: white;
    text-transform: uppercase;
}
.item-feedback p {
    font-family: "Montserrat-Bold";
    font-size: 18px;
    text-align: justify;
    margin-bottom: 0;
    margin-right: 15%;
}
.item-feedback:nth-child(odd) {
    margin-left: 10%; /* Áp dụng cho phần tử lẻ */
}

.item-feedback:nth-child(even) {
    margin-right: 10%; /* Áp dụng cho phần tử chẵn */
}

.swiper-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.swiper {
    width: 100%;
    transition: height 0.3s ease-in-out; /* Tăng chiều cao mượt hơn */
    background: linear-gradient(to top, #3498db 66.66%, white 66.66%);
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    padding: 20px 20px 20px 40px;
    min-height: auto; /* Tránh bị kéo dài */
    height: auto !important; /* Quan trọng để đảm bảo chiều cao thay đổi */
}
/* Định vị nút prev (trái) */
.swiper-button-prev {
    top: 60% !important;
}

/* Định vị nút next (phải) */
.swiper-button-next {
    top: 60% !important;
}
/* Biểu tượng mũi tên */
.swiper-button-prev::after,
.swiper-button-next::after {
    content: "" !important;
}

.mt-50 {
    margin-top: 50px;
}
.mt-40 {
    margin-top: 40px;
}
.s1 {
    margin-top: 15px;
}
.s2 {
    margin-top: -5px;
}
.s3 {
    margin-top: -15px;
}
.s4 {
    margin-top: 20px;
}
.content-virtual-staging h4 {
    font-family: "Montserrat-Regular";
    font-size: 18px;
    color: #023263;
    margin-bottom: 5px;
}
.content-virtual-staging p {
    font-family: "Montserrat-Regular";
    font-size: 11px;
    text-align: justify;
    font-style: italic;
    margin-bottom: 0;
}
.item-photo-editing img {
    width: 100%;
    aspect-ratio: 3 / 4; /* Hoặc 4 / 3 tùy theo nhu cầu */
    object-fit: cover;
}
.item-photo-editing-horizontal img {
    width: 100%;
    aspect-ratio: 16 / 9; /* Hoặc 4 / 3 tùy theo nhu cầu */
    object-fit: cover;
}
.section {
    height: 100vh; /* Chiều cao bằng 100% màn hình */
    overflow-y: auto; /* Tạo thanh cuộn dọc khi nội dung vượt quá */
    scroll-behavior: smooth; /* Hiệu ứng cuộn mượt */
    padding: 20px;
    margin-bottom: 15px;
}
.section2 {
    height: 72vh; /* Chiều cao bằng 100% màn hình */
    overflow-y: auto; /* Tạo thanh cuộn dọc khi nội dung vượt quá */
    scroll-behavior: smooth; /* Hiệu ứng cuộn mượt */
    padding: 20px;
    margin-bottom: 15px;
}
.gap20 {
    gap: 20px;
}
.box-term {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 25px;
}
.box-term {
    flex: 0 0 23%; /* Chia đều 4 cột trên desktop */
    max-width: 23%;
}
.box-term-3 {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    padding: 25px;
}
.box-term-3 {
    flex: 0 0 28%; /* Chia đều 4 cột trên desktop */
    max-width: 28%;
}

/* Thiết lập responsive cho .box */
@media (max-width: 992px) {
    /* Tablet */
    .box-term {
        flex: 0 0 48%; /* Chia thành 2 cột */
        max-width: 48%;
    }
}

@media (max-width: 820px) {
}

@media (max-width: 768px) {
    .button-view-page {
        font-size: 22px;
    }
    .header-text-1 {
        top: 5%;
    }
    .fixed-section {
        padding-top: 0;
    }
    .logo-header {
        border-radius: 0;
    }
    .feedback-right {
        padding-right: calc(var(--bs-gutter-x) * 0.5);
    }
    .title-3 {
        font-size: 20px;
    }
    .title-des {
        font-size: 16px;
    }
    .title-why-choose {
        margin-bottom: 20px;
    }
    .why-choose .title-why-choose h3 {
        font-size: 20px;
    }
    .why-choose .title-why-choose p {
        font-size: 15px;
    }
    .why-choose .item-why-choose h4 {
        font-size: 16px;
    }
    .why-choose .item-why-choose p {
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    /* Mobile */
    .box-term {
        flex: 0 0 48%; /* Vẫn giữ 2 cột */
        max-width: 48%;
    }

    .box-term img {
        width: 40px; /* Giảm kích thước icon */
        height: auto;
    }

    .content-virtual-staging h4 {
        font-size: 14px; /* Chữ nhỏ hơn chút */
    }

    .content-virtual-staging p {
        font-size: 12px; /* Để chữ gọn gàng hơn */
    }

    .row {
        gap: 10px; /* Giảm khoảng cách giữa các box */
    }
}

@media (max-width: 420px) and (min-width: 320px) {
}
