/* General */
@media (min-width: 768px) {
    .font-48 {
        font-size: 48px !important;
    }

    .font-40 {
        font-size: 40px !important;
    }

    .font-30 {
        font-size: 30px !important;
    }

    .font-24 {
        font-size: 24px !important;
    }

    .font-20 {
        font-size: 20px !important;
    }

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

    .form-text-checkbox {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 768px) {
    .pv-64-mb {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }
}

@media (max-width: 768px) {
    .font-32-mb {
        font-size: 32px !important;
    }

    .font-28-mb {
        font-size: 28px !important;
    }

    .font-24-mb {
        font-size: 24px !important;
    }

    .font-16-mb {
        font-size: 16px !important;
    }

    .mb-32-mb {
        margin-bottom: 32px !important;
    }
}

.pv-120 {
    padding-top: 120px;
    padding-bottom: 120px;
}

.pv-64 {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

.p-32 {
    padding: 32px !important;
}

.font-rem {
    font-size: 1.1rem !important;
}

.form-text {
    color: #0a0a0a !important;
}

.form-text-checkbox {
    color: #0a0a0a !important;
}
/* START: Header */
@media (max-width: 767px) {
    .dropdown-menu {
        background-color: #0000004d;
    }

    .dropdown.nav-link:hover {
        background-color: transparent;
    }

    .language-dropdown-menu {
        display: none;
        flex-direction: row;
        min-width: auto;
        padding: 0.5rem;
        border: 1px solid #ddd;
    }

    .language-dropdown-menu.show {
        display: flex !important;
        gap: 0.5rem;
    }

    .language-dropdown-menu .dropdown-item {
        white-space: nowrap;
        padding: 0.25rem 0.5rem;
        transition: transform 0.3s ease-in-out;
    }

    .language-dropdown-menu .dropdown-item:active {
        transform: scale(0.96);
    }
}
/* END: Header */
/* START: Banner */
.banner-title {
    font-size: 6rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
    .banner-overlay {
        padding-left: 12px;
        padding-right: 12px;
    }
    .banner-title {
        font-size: 2.5rem;
    }

    .banner-subtitle {
        font-size: 1.2rem;
        margin-bottom: 16px;
    }

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

/* END: Banner */
/* START: Intro Section */
@media (max-width: 768px) {
    .sec-2-text {
        line-height: 60px;
        font-weight: 700;
        font-size: 20px !important;
    }
}
/* END: Intro Section */
/* START: About Section */
@media (max-width: 768px) {
    .section-icon {
        scale: 0.75;
    }
}
/* END: About Section */
/* START: MVV Section */
.mvv-card {
    background: #4d4d4dcc;
}

.mvv-title,
.mvv-text {
    text-align: left;
}

@media (max-width: 480px) {
    .mvv-icon img {
        width: 80px;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .mvv-card {
        text-align: center;
        padding: 2rem;
        padding-top: 52px;
        height: 100%;
        position: relative;
    }

    .mvv-icon {
        font-size: 4rem;
        color: white;
        margin-bottom: 1.5rem;
        position: absolute;
        top: -70px;
        left: 50%;
        transform: translateX(-50%);
    }
}
/* END: MVV Section */
/* START: Business Section */
@media (min-width: 1200px) {
    .business-card {
        min-height: 280px;
    }
}

@media (min-width: 992px) {
    .business-card {
        min-height: 328px;
    }
}

@media (max-width: 480px) {
    .business-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }

    .business-section .section-dark {
        padding-left: 32px;
        padding-right: 32px;
    }
}

.business-section .section-dark {
    padding-left: 32px;
    padding-right: 32px;
}

.business-icon {
    font-size: 20px;
    color: white;
    margin: 2rem auto 1rem;
    border: 2px solid white;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 0;
}

.business-text {
    text-align: left;
}
/* END: Business Section */
/* START: Business Info Section */
.info-wrapper {
    padding: 32px;
}

.info-wrapper .row {
    gap: 32px;
}

.info-card {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-card-padding {
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 768px) {
    .info-wrapper .row {
        gap: 0;
    }
    .location-icon {
        scale: 0.75;
    }

    .company-info-item {
        margin-bottom: 16px;
        gap: 0;
    }
}
/* END: Business Info Section */
/* START: Mechanism Section */
.mechanism-section .container {
    padding: 32px !important;
}
/* END: Mechanism Section */
/* START: Automated Risk Detection Section */
.carousel-item .section-title {
    font-size: 30px;
}

#carouselExampleFade .carousel-inner {
    position: relative;
    padding-bottom: 60px;
}

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

.carousel-control-prev,
.carousel-control-next {
    top: auto;
    bottom: 1px;
    transform: none;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    z-index: 10;
}

.carousel-control-prev {
    left: 45%;
}

.carousel-control-next {
    right: 45%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

#carouselExampleFade .carousel-item {
    min-height: 520px;
    padding: 0 24px;
}

.section-number {
    font-size: 18px;
    font-weight: 700;
    border: 2px solid white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 24px;
}

@media (max-width: 992px) {
    #carouselExampleFade .carousel-item {
        min-height: 1000px;
        padding: 40px 0;
    }

    .carousel-title {
        text-align: center;
    }

    .section-number {
        margin: 0 auto 15px auto;
    }

    .carousel-video video,
    .carousel-video img {
        width: 100%;
        margin-top: 20px;
    }

    .carousel-control-prev {
        left: 40%;
    }
    .carousel-control-next {
        right: 40%;
    }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
    #carouselExampleFade .carousel-inner {
        position: relative;
        padding-bottom: 20px;
    }
    #carouselExampleFade .carousel-item {
        min-height: 820px;
        padding: 40px 16px;
        padding-top: 0;
    }

    .section-number {
        font-size: 16px;
        width: 30px;
        height: 30px;
        margin-bottom: 10px;
    }

    .carousel-title {
        flex-direction: column;
        text-align: center;
    }
}

/* Small Mobile (≤ 480px) */
@media (max-width: 480px) {
    /* container relative để căn vị trí nút */
    #carouselExampleFade .carousel-inner {
        position: relative;
        padding-bottom: 20px;
    }

    #carouselExampleFade .carousel-item {
        min-height: 814px;
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 0;
    }

    .carousel-item .section-title {
        font-size: 24px;
    }

    .carousel-title p {
        margin-bottom: 16px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        top: auto;
        bottom: 10px;
        transform: none;
        width: 40px;
        height: 40px;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 1;
        z-index: 10;
    }

    .carousel-control-prev {
        left: 30%;
    }

    .carousel-control-next {
        right: 30%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 20px;
        height: 20px;
        filter: invert(1);
    }
}

/* END: Automated Risk Detection Section */
/* START: Contact Section */
.contact-form-wrapper input:not([type="checkbox"]) {
    /* background-color: #f3f3f5 !important; */
}

.btn-submit {
    background-color: #4a5565;
    color: #fff;
    padding: 8px 16px;
}

.btn-submit:hover {
    background-color: #4a5565;
    color: #fff;
}

.section-white {
    background-color: white;
    position: relative;
    z-index: 2;
    background: #ffffff66;
}

.section-dark {
    background-color: #4d4d4dcc;
    /* color: white; */
    position: relative;
    z-index: 2;
}

.section-text {
    font-size: 15px;
    line-height: 1.4;
    color: white;
    font-weight: 400;
}
