/* ====== Reset & Variables ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    font-family: var(--bs-font-sc);
}
:root {
    --primary: #1E60AA;
    --secondary: #FF4917;
    --light: #EDF1FC;
    --dark: #17224D;
    --bs-font-sc: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}
.__variable_518cef {
    --bs-font-sans-serif: "Roboto", "Roboto Fallback", system-ui, -apple-system, Segoe UI, Roboto, Helvetica Neue, Noto Sans, Liberation Sans, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}

.__className_518cef {
    font-family: var(--bs-font-sc);
    font-style: normal;
}

/* ====== Utility Classes ====== */
.fw-medium { font-weight: 600 !important; }
.transition-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.transition-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15) !important;
}
.shake { animation: shake 0.5s; }
.overflow-x-auto {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* ====== Buttons ====== */
.btn { font-weight: 600; transition: .5s; }
.btn.btn-primary, .btn.btn-secondary { color: #FFFFFF; }
.btn-square { width: 38px; height: 38px; }
.btn-sm-square { width: 32px; height: 32px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-sm-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.btn-primary {
    background-color: #007bff;
    border: none;
    padding: 10px 20px;
    font-weight: 500;
    border-radius: 25px;
}
.btn-primary:hover {
    background-color: #0056b3;
    transform: scale(1.05);
    transition: all 0.3s ease;
}

/* ====== Floating Card ====== */
.floating-card {
    position: absolute;
    top: 100px;
    right: 100px;
    width: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    background-color: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 20;
}
.floating-card img {
    width: 100%;
    height: auto;
    display: block;
}
.floating-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 35px 60px rgba(0, 0, 0, 0.3);
}

/* ====== Back to Top ====== */
.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/* ====== Spinner ====== */
#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;
}

/* ====== Navbar ====== */
.top-bar { height: 75px; padding: 0 4rem; }
.nav-bar {
    position: relative;
    padding: 0 4.75rem;
    transition: .5s;
    z-index: 9999;
}
.nav-bar.sticky-top {
    position: sticky;
    padding: 0;
    z-index: 9999;
}
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}
.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    outline: none;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar-nav .nav-link.active {
    font-weight: bold;
    color: #00BFFF !important;
}
@media (max-width: 991.98px) {
    .nav-bar { padding: 0; }
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }
    .navbar-light .navbar-nav {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #EEEEEE;
    }
}
@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }
    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/* ====== Header & Carousel ====== */
.header-carousel .container,
.page-header .container {
    position: relative;
    padding: 45px 0 45px 35px;
    border-left: 15px solid #FFFFFF;
}
.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100px;
    height: 15px;
    background: #FFFFFF;
}
.header-carousel .container::after,
.page-header .container::after {
    top: 100%;
    margin-top: -15px;
}
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }
    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}
.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}
.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}
.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}
.page-header {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}

/* ====== Facts Section ====== */
.fact {
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/bg.jpg) center center no-repeat;
    background-size: cover;
}

/* ====== Service List ====== */
#service-list li.list-group-item {
    transition: background-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease, border-radius 0.4s ease;
    cursor: pointer;
    border: none;
    padding: 18px 25px;
    font-weight: 500;
    font-size: 1.1rem;
    border-radius: 8px;
    color: #003366;
    background-color: #f0f4f8;
}
#service-list li.list-group-item:hover {
    background: linear-gradient(135deg, #6384a5, #0056b3);
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(0, 86, 179, 0.6);
    transform: translateX(10px) scale(1.05);
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.15rem;
}
#service-list li.list-group-item:hover a {
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 2px;
    text-decoration-color: #a8d0ff;
}
#service-list li.list-group-item a {
    color: inherit;
    display: block;
    text-decoration: none;
    transition: inherit;
    user-select: none;
}
#service-list li.list-group-item.highlight {
    background-color: #0056b3;
    color: white;
}
#service-list li.list-group-item.highlight a {
    color: white;
    font-weight: 600;
}

/* ====== Booking & Video ====== */
.video {
    position: relative;
    padding: 8rem 0 12rem 0;
    background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), url(../img/carousel-1.jpeg) center center no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.video .btn-play {
    position: relative;
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
    margin-bottom: 4rem;
}
.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}
.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: #FFFFFF;
    border-radius: 50%;
    transition: all 200ms;
}
.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}
.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--primary);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
}
@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}
#videoModal { z-index: 99999; }
#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}
#videoModal .modal-body {
    position: relative;
    padding: 0px;
}
#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}
.bootstrap-datetimepicker-widget.bottom { top: auto !important; }
.bootstrap-datetimepicker-widget .table * { border-bottom-width: 0px; }
.bootstrap-datetimepicker-widget .table th { font-weight: 500; }
.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}
.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}
.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

/* ====== Team ====== */
.team-item img { transition: .5s; }
.team-item:hover img { transform: scale(1.1); }
.team-item .team-text {
    height: 90px;
    overflow: hidden;
}
.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
    position: relative;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: .5s;
}
.team-item .team-text .bg-primary { flex-direction: row; }
.team-item:hover .team-text .bg-light { margin-top: -90px; }
.team-item .team-text .bg-primary .btn {
    color: var(--primary);
    background: #FFFFFF;
}
.team-item .team-text .bg-primary .btn:hover {
    color: #FFFFFF;
    background: var(--secondary);
}

/* ====== Testimonial ====== */
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
    position: relative;
    transition: .5s;
}
.testimonial-carousel .owl-item.center .testimonial-text {
    background: var(--primary) !important;
}
.testimonial-carousel .owl-item.center .testimonial-text * {
    color: #FFFFFF !important;
}
.testimonial-carousel .owl-item .testimonial-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    left: 50%;
    bottom: -30px;
    transform: translateX(-50%);
    border: 15px solid;
    border-color: var(--light) transparent transparent transparent;
    transition: .5s;
}
.testimonial-carousel .owl-item.center .testimonial-text::after {
    border-color: var(--primary) transparent transparent transparent;
}
.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}
.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}
.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    font-size: 30px;
    color: var(--primary);
}
.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

/* ====== Footer ====== */
.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}
.footer .btn.btn-social:hover { color: var(--primary); }
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}
.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}
.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}
.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}
.footer .copyright a { color: var(--light); }

/* ====== Hero & Topbar Section ====== */
.hero-section {
    background-image: url("static/img/backgr.jpg");
    background-size: cover;
    background-position: center;
    min-height: 100vh;
}
.topbar-section {
    background: url('static/img/backgr.jpg') no-repeat center center / cover;
    min-height: 60vh;
}

/* ====== Animation Keyframes ====== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px);}
    to { opacity: 1; transform: translateY(0);}
}
@keyframes pulse {
    0% { transform: scale(1);}
    50% { transform: scale(1.08);}
    100% { transform: scale(1);}
}
@keyframes shake {
    0%,100% { transform: translate(0, 0);}
    25% { transform: translate(-3px, 3px);}
    50% { transform: translate(3px, -3px);}
    75% { transform: translate(-3px, 3px);}
}

/* ====== Highlight & Active Styles ====== */
.highlight-title {
    font-family: var(--bs-font-sc);
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* ====== Process Flow Styles ====== */
.process-flow {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 10px;
    margin-left: 8.5vw;
    margin-bottom: 0rem;
    scroll-behavior: smooth;
}
.process-flow::-webkit-scrollbar {
    height: 6px;
}
.process-flow::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* hoặc center nếu cần */
    flex: 0 0 auto;
    min-width: 100px;
    text-align: center;
}
.process-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.process-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.process-connector {
    flex-grow: 0;
    width: 40px;
    height: 4px;
    background: linear-gradient(to right, #d1d5db, #a0aec0);
    margin: 0 10px;
    border-radius: 2px;
    position: relative;
}
.process-connector::after {
    content: '';
    position: absolute;
    right: -10px;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #007bff;
}

/* Color gradients */
.gradient-red { background: linear-gradient(135deg, #ff4d4d, #ff8c8c); }
.gradient-orange { background: linear-gradient(135deg, #ff8c00, #ffb84d); }
.gradient-yellow { background: linear-gradient(135deg, #ffd700, #ffe066); }
.gradient-green { background: linear-gradient(135deg, #32cd32, #90ee90); }
.gradient-blue { background: linear-gradient(135deg, #1e90ff, #87cefa); }

/* Responsive adjustments */
@media (max-width: 767px) {
    .process-step {
        display: inline-block;
        text-align: center;
    }
    .process-connector {
        width: 30px;
        margin: 0 6px;
    }
    .process-connector::after {
        top: -4px;
        right: -10px;
        border-top: 6px solid transparent;
        border-bottom: 6px solid transparent;
        border-left: 10px solid #007bff;
    }
}
@media (max-width: 576px) {
    .process-circle {
        width: 64px;
        height: 64px;
    }
    .process-circle i {
        font-size: 1.25rem;
    }
    .process-step p {
        font-size: 0.85rem;
    }
}


/* ====== Modal Styles ====== */
.modal-content {
    background: linear-gradient(to bottom, #e3f2fd, #ffffff);
    border-radius: 15px;
    border: 1px solid #007bff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}
.modal-header {
    background: linear-gradient(to right, #007bff, #28a745);
    color: #ffffff;
    border-bottom: none;
    padding: 1.5rem;
    display: flex;
    align-items: center;
}
.modal-title {
    font-weight: 700;
    font-size: 1.75rem;
    margin-left: 10px;
}
.modal-body {
    padding: 2rem;
    color: #333;
    font-size: 1.1rem;
    line-height: 1.8;
}
.modal-body h6 {
    font-weight: 600;
    color: #007bff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}
.modal-body ul {
    list-style: none;
    padding-left: 0;
}
.modal-body ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.2rem;
    background: #ffffff;
    padding: 10px 15px;
    border-left: 4px solid #28a745;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.modal-body ul li i {
    margin-right: 12px;
    color: #28a745;
    margin-top: 2px;
}
.modal-footer {
    border-top: none;
    padding: 1.5rem;
    background: #f8f9fa;
}

/* ====== Service Card ====== */
.service-card {
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    min-height: 350px;
    background: #1870a0; /* Đổi BG service card thành màu text của product */
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.service-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.service-card-footer { margin-top: auto; }
.service-card .slide.slide1,
.service-card .slide.slide2 {
    background: #1870a0; /* Đảm bảo cả 2 slide đều có BG mới */
}
.service-card .slide.slide1 .img-title,
.service-card .slide.slide2 h4,
.service-card .slide.slide2 p,
.service-card .slide.slide2 ul,
.service-card .slide.slide2 li {
    color: #1870a0 !important; /* Đổi text thành trắng cho nổi bật trên BG xanh */
}
.service-card .service-detail {
    display: none;
    transition: all 0.3s;
}
.service-card:hover .service-detail {
    display: block;
}

/* ====== Company Info ====== */
.company-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #00B9E4;
    text-align: center;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}
.company-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    text-align: justify;
}
.strengths-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #007bff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.strengths-list {
    list-style: none;
    padding-left: 0;
}
.strengths-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #444;
}
.strengths-list li i {
    margin-right: 0.75rem;
    margin-top: 0.3rem;
}
.commitment-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #007bff;
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
}
.office-info {
    background-color: #e6f0fa;
    border-left: 2px solid #007bff;
}
@media (max-width: 768px) {
    .company-title { font-size: 2.5rem; }
    .company-intro { font-size: 1rem; }
}

/* ====== Fullpage Section ====== */
.fullpage-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ====== Office Info and Map Container ====== */
.office-info, .map-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}
.office-info {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* border-left đã có ở trên */
}
.office-info:hover { transform: translateY(-1px); }
.map-container { padding: 0; overflow: hidden; }
.map-container iframe {
    border: 0;
    width: 100%;
    height: 100%;
    min-height: 200px;
}
@media (max-width: 768px) {
    .office-info, .map-container { margin-bottom: 1.5rem; }
    .office-info { margin-bottom: 1rem; }
}

/* ====== Banner Section ====== */
.banner-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}
.banner-top {
    background-color: #ffd700;
    height: 25vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.banner-top.visible {
    opacity: 1;
    transform: translateY(0);
}
.banner-top h1 {
    color: #333;
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.2;
    opacity: 0;
    transition: opacity 0.5s ease-out 0.2s;
}
.banner-top.visible h1 { opacity: 1; }
.banner-bottom {
    background-color: #800080;
    height: 75vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    padding: 40px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.banner-bottom.visible {
    opacity: 1;
    transform: translateY(0);
}
.banner-bottom-content {
    max-width: 1200px;
    opacity: 0;
    transition: opacity 0.5s ease-out 0.2s;
}
.banner-bottom.visible .banner-bottom-content { opacity: 1; }
.banner-bottom h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}
.banner-bottom p {
    font-size: 1.8rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.banner-bottom ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 1.8rem;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .banner-top h1 { font-size: 0.9rem; }
    .banner-bottom h2 { font-size: 0.9rem; }
    .banner-bottom p { font-size: 0.9rem; }
    .banner-bottom ul { font-size: 0.9rem; }
    .banner-bottom { padding: 20px; }
}

/* ====== Video Container ====== */
.video-container {
    max-width: 1000px;
    margin-top: 2rem;
    margin-bottom: 15rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}
video {
    width: 100%;
    height: 500px; /* 👈 chỉnh tại đây */
    object-fit: cover; /* Đảm bảo video không bị méo */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* ====== Card Hover Effects ====== */
.product-card-hover,
.service-card-hover {
    transition: transform 0.3s cubic-bezier(.25,.8,.25,1), box-shadow 0.3s cubic-bezier(.25,.8,.25,1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 12px;
}
.product-card-hover:hover,
.product-card-hover:focus,
.product-card-hover.hovered,
.service-card-hover:hover,
.service-card-hover:focus,
.service-card-hover.hovered {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 12px 32px rgba(24,112,160,0.18), 0 2px 8px rgba(0,0,0,0.08);
    z-index: 2;
}

/* ====== Benefit & Animate Cards ====== */
.benefit-card,
.animate-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease-out forwards;
}
.benefit-card:hover,
.animate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}
/* Sequential animation delays for each card */
.benefit-card:nth-child(1), .animate-card:nth-child(1) { animation-delay: 0.1s; }
.benefit-card:nth-child(2), .animate-card:nth-child(2) { animation-delay: 0.2s; }
.benefit-card:nth-child(3), .animate-card:nth-child(3) { animation-delay: 0.3s; }
.benefit-card:nth-child(4), .animate-card:nth-child(4) { animation-delay: 0.4s; }
.benefit-card:nth-child(5), .animate-card:nth-child(5) { animation-delay: 0.5s; }

/* ====== Service Item Top Expand ====== */
.service-item-top.expanded {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(24,112,160,0.18), 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(.25,.8,.25,1);
    position: relative;
}
.service-item-top.expanded .service-card-detail {
    display: block !important;
    animation: fadeInUp 0.4s;
}
.service-item-top .service-card-detail {
    display: none;
    transition: all 0.3s;
}

/* Card Hover Slide Effect */
.service-item-top {
    perspective: 800px;
    margin-bottom: 2rem;
}
.service-card {
    width: 100%;
    height: 320px;
    position: relative;
    cursor: pointer;
    transition: box-shadow 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border-radius: 16px;
    overflow: visible;
    background: transparent;
}
.service-card .slide {
    width: 100%;
    height: 320px;
    position: absolute;
    left: 0;
    top: 0;
    border-radius: 16px;
    transition: 0.6s cubic-bezier(.25,.8,.25,1);
    backface-visibility: hidden;
    box-shadow: none;
}
.service-card .slide.slide1 {
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    background: #fff;
    transition: 0.6s;
    transform: translateY(0);
    padding: 0;
}
.service-card .slide.slide1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px 16px 0 0;
    box-shadow: none;
    display: block;
}
.service-card .slide.slide1 .img-title {
    width: 100%;
    background: #fff;
    text-align: center;
    padding: 16px 0 12px 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1870a0;
    border-radius: 0 0 16px 16px;
    letter-spacing: 0.5px;
    margin-top: -8px;
}
.service-card .slide.slide2 {
    z-index: 1;
    background: #f8f9fa;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translateY(40px);
    transition: 0.6s;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.service-item-top:hover .service-card .slide.slide1 {
    transform: translateY(-60px) scale(0.95);
    opacity: 0.7;
}
.service-item-top:hover .service-card .slide.slide2 {
    opacity: 1;
    transform: translateY(0);
    z-index: 3;
}
.service-card .slide.slide2 h4 {
    color: #1870a0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
    font-weight: 700;
}
.service-card .slide.slide2 ul {
    padding-left: 18px;
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
    color: #444;
}
.service-card .slide.slide2 li {
    margin-bottom: 0.3rem;
}
.service-card-title { display: none; }
.service-card-detail { display: none !important; }


.slogan-banner {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364); /* gradient nền */
    color: #ffffff;
    padding: 20px 10px;
    background-size: cover;
    background-position: center;
    min-height: 10vh;
}
.slogan-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.4;
}
.slogan-description {
    font-size: 1.6rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}
.nexus-keyword {
    color: #ffd700;
    font-weight: bold;
}
@media (max-width: 768px) {
    .slogan-title {
        font-size: 2rem;
    }
    .slogan-description {
        font-size: 1.1rem;
    }
}

/* Add 20vh margin-bottom to the title and description row */
.services-header-row {
    margin-bottom: 10vh;
}
@media (max-width: 768px) {
    .services-header-row {
        margin-bottom: 10vh; /* Reduce spacing on smaller screens */
    }
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-from-left {
    animation: slideInLeft 1.2s ease-out forwards;
}

.animate-from-right {
    animation: slideInRight 1.2s ease-out forwards;
}


.animate-from-right {
    animation: slideInRight 1.2s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0; /* cần để delay có hiệu ứng */
}

  html {
    scroll-behavior: smooth;
  }

  .navbar-nav .nav-link.active {
    color: #1870a0 !important;
    font-weight: bold;
    border-bottom: 2px solid #1870a0;
  }

  /* ====== Custom Service Card Slide Effect ====== */
.custom-service-card {
  width: 100%;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  transition: all 0.5s ease;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  cursor: pointer;
  max-height: 140px; /* đủ chứa title + subtitle */
}

/* Mở rộng card khi hover */
.custom-service-card:hover {
  max-height: 1000px; /* mở rộng ra khi hover */
}

/* Title + subtitle */
.service-title-slide {
  font-size: 4.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.15);
}

.service-subtitle {
  font-size: 2rem;
  color: #0d6efd; /* Bootstrap primary blue */
  margin-top: 0.5rem;
}



/* Nội dung mở rộng */
.service-hover-content {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.custom-service-card:hover .service-hover-content {
  opacity: 1;
  transform: translateY(0);
}

/* Hình ảnh */
.service-image img {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.custom-service-card:hover .service-image img {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.hero-clean-section {
  min-height: 100vh;
  padding-top: 150px; /* header fixed */
  padding-bottom: 40px;
  position: relative;
  background-color: #f8f9fa;
  overflow: hidden;
  background: linear-gradient(180deg, #f8f9fa 0%, #e8eff5 100%);
  background-image: url("../img/backgroup.jpg");

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-clean-section::before,
.hero-clean-section::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

/* Góc trên trái */
.hero-clean-section::before {
  top: 0;
  left: 0;
  width: 350px;
  height: 350px;
  /* background-image: url('static/img/decor-top-left.svg'); */
}

/* Góc dưới phải */
.hero-clean-section::after {
  bottom: 0;
  right: 0;
  width: 400px;
  height: 400px;
  /* background-image: url('static/img/decor-bottom-right.svg'); */
}

.hero-clean-section .hero-bg-img {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.5;
  pointer-events: none;
}

/* Đảm bảo nội dung phía trên */
.hero-clean-section > *:not(.hero-bg-img) {
  position: relative;
  z-index: 2;
}


/* Hiện ngay từ đầu */
.show-now {
  opacity: 1;
  transform: none;
  transition: opacity 1s ease, transform 1s ease;
}

/* Ẩn ban đầu */
.section-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

/* Hiện khi cuộn đến */
.section-visible {
  opacity: 1 !important;
  transform: none !important;
}

/* custom.css */
.section-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.section-visible {
  opacity: 1 !important;
  transform: none !important;
}

.show-now {
  opacity: 1;
  transform: none;
}

/* .section-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.section-visible {
  opacity: 1 !important;
  transform: none !important;
} */

.show-now {
  opacity: 1;
  transform: none;
}

.section {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background-color: #fff;
}


.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  padding: 0;
}


.service-fullscreen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.service-text-block,
.service-image-block {
  flex: 1 1 50%;
  padding: 1rem;
}

.service-image-block img {
  width: 80%;
  max-width: 80%;
  height: auto;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

@media (max-width: 992px) {
  .service-fullscreen {
    flex-direction: column;
    text-align: center;
  }
  .service-text-block,
  .service-image-block {
    flex: 1 1 100%;
  }
}





.section-hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.9s ease, transform 0.6s ease;
}

.section-visible {
    opacity: 1 !important;
    transform: none !important;
}


.section-spacing {
    margin-top: 20vh;
    margin-bottom: -20vh;
}

/* ====== Service Feature List ====== */
.service-feature-list {
  list-style: disc;              /* Hiện dấu • */
  padding-left: 1.5rem;          /* Thụt đầu dòng để thấy dấu */
  margin-bottom: 1.5rem;
}

.service-feature-list li {
  display: list-item;            /* Quan trọng: đảm bảo list-style hoạt động */
  font-size: 1.5rem;
  color: #212529;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

/* Xoá phần dành cho icon (không còn dùng <i>) */
.service-feature-list li i {
  display: none;
}



#company-section {
    min-height: 100vh; /* Đảm bảo chiều cao tối thiểu */
    position: relative;
}

.service-description {
    font-size: 1.5rem;
}

.company {
	font-size: 1.6rem;
}






/* ========== CƠ BẢN ========== */
body, html {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ========== SECTION CHUNG ========== */
.section {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
  overflow: hidden;
}

.bg-gray-service {
  background-color: #f0f0f0;
}

.bg-white-service {
  background-color: #ffffff;
}

/* ========== CONTAINER FULLSCREEN ========== */
.service-fullscreen {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1600px;
  gap: 40px;
  flex-wrap: wrap;
}

/* ========== TEXT BLOCK ========== */
.service-text-block {
  flex: 6;
  padding: 20px;
  min-width: 0;
}

.service-title {
  font-size: 3rem;
  line-height: 1.2;
  color: #222;
  margin-bottom: 20px;
}


.service-subtitle {
  font-size: 1.6rem;
  margin-bottom: 15px;
  color: #0073e7;
}

.service-feature-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
  color: #444;
}

.service-feature-list li {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.service-description {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555;
}

/* ========== IMAGE BLOCK ========== */
.service-image-block {
  flex: 4;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-image-block img {
  width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
}

/* ========== CTA BUTTON ========== */
.cta-button {
  font-size: 1.2rem;
  padding: 12px 28px;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
  margin-top: 20px;
}

@media screen and (max-width: 768px) {
  .cta-button {
    font-size: 1rem;
    padding: 10px 24px;
  }
}

@media screen and (max-width: 480px) {
  .cta-button {
    font-size: 0.95rem;
    padding: 10px 20px;
    width: 100%;         /* full width on small screens */
    text-align: center;
  }
}


/* ========== RESPONSIVE ========== */
@media screen and (max-width: 1024px) {
  .service-fullscreen {
    flex-direction: column;
    gap: 20px;
    padding: 40px 20px;
  }

  .service-text-block,
  .service-image-block {
    width: 100%;
    flex: unset;
    padding: 10px;
    text-align: center;
  }



  .service-subtitle {
    font-size: 1.2rem;
  }

  .service-feature-list li {
    font-size: 1rem;
  }

  .service-description {
    font-size: 1rem;
  }

  .service-image-block img {
    max-width: 35%;
    height: auto;
    max-height: 300px;
  }
}

@media screen and (max-width: 1024px) {
  .service-title {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 768px) {
  .service-title {
    font-size: 2rem;
  }
}

@media screen and (max-width: 480px) {
  .service-title {
    font-size: 1.6rem;
  }
}




