@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    /* Color Palette */
    /* Gray */
    --gray-25: #FDFDFD;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E9EAEB;
    --gray-500: #717680;
    --gray-600: #535862;
    --gray-700: #414651;
    --gray-900: #181D27;

    /* Primary */
    --primary-25: #F5FAFF;
    --primary-400: #53B1FD;
    --primary-500: #2E90FA;
    --primary-600: #1570EF;
    --primary-700: #175CD3;

    /* Brand Olive */
    --brand-600: #6EA737;

    /* Warning */
    --warning-300: #FEC84B;
    --warning-500: #F79009;

    /* Success */
    --success-50: #ECFDF3;
    --success-600: #039855;
    --success-700: #027A48;

    /* Secondary Colors */
    /* Blue Gray */
    --secondary-blue-gray-100: #EAECF5;

    /* Blue Light */
    --secondary-blue-light-600: #0086C9;

    /* Blue */
    --secondary-blue-600: #1570EF;
    --secondary-blue-950: #102A56;

    /* Indigo */
    --secondary-indigo-600: #444CE7;

    /* Purple */
    --secondary-purple-600: #6938EF;

    /* Rosé */
    --secondary-rose-600: #E31B54;

    /* Gradients */
    --gradient-primary: linear-gradient(to bottom, #1E60F0, #0E3894);
    --gradient-orange: linear-gradient(to bottom, #FD853A, #EC4A0A);
    --gradient-black: linear-gradient(to bottom, #595959, #232323);
    --gradient-white: linear-gradient(to bottom, #F9F9F9, #E3E3E3);

    /* Font Sizes */
    --font-size-h1: 3.25rem; /* 52px */
    --font-size-h2: 3rem; /* 48px */
    --font-size-h3: 2.5rem; /* 40px */
    --font-size-h4: 2rem; /* 32px */
    --font-size-h5: 1.5rem; /* 24px */
    --font-size-xl: 1.25rem; /* 20px */
    --font-size-lg: 1.125rem; /* 18px */
    --font-size-base: 1rem; /* 16px */
    --font-size-sm: 0.875rem; /* 14px */

    /* Font Weights */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Effects */
    --effect-drop-shadow-3x: 0px 10px 15px 0px rgba(0, 0, 0, 0.03), 0px 3px 11px 0px rgba(0, 0, 0, 0.06);
}

/* Add your custom styles here */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--gray-900);
    background-color: var(--primary-25);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.2px;
    padding-top: 73px; /* Adjusted for fixed header */
}

h1, h2, h3, h4, h5, h6, p {
    margin: 0;
    padding: 0;
}

h1, .h1 {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    letter-spacing: -2px;
}

h2, .h2 {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    letter-spacing: -2px;
}

h3, .h3 {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    letter-spacing: -0.2px;
}

h4, .h4 {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    letter-spacing: -0.2px;
}

h5, .h5 {
    font-size: var(--font-size-h5);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    letter-spacing: -0.2px;
}

hr {
    border-color: var(--gray-100);
    opacity: 1;
}

/* Custom Bg Color */
.bg-price-yellow {
    background-color: #fb6514
}

/* Custom Typography */
.title-m {
    font-size: var(--font-size-xl); /* 20px */
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
    letter-spacing: -0.02px;
}

.title-s {
    font-size: var(--font-size-lg); /* 18px */
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
    letter-spacing: -0.02px;
}

.body-16-regular {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -0.2px;
}

.body-14-regular {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: -0.2px;
}

.body-14-medium {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.42;
    letter-spacing: -0.2px;
}

.caption-12-medium {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.33;
    letter-spacing: -0.2px;
}

.button-s {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.42;
    letter-spacing: -0.2px;
}

.button-m {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: -0.2px;
}

/* Effect Classes */
.effect-drop-shadow-3x {
    box-shadow: var(--effect-drop-shadow-3x);
}

/* Background Gradients */
.bg-gradient-red {
    background: linear-gradient(180deg, #F97066 0%, #B42318 100%);
}

.bg-gradient-purple {
    background: linear-gradient(180deg, #9B8AFB 0%, #5925DC 100%);
}

.bg-gradient-green {
    background: linear-gradient(180deg, #96C24E 0%, #5A8D2F 100%);
}

.bg-gradient-teal {
    background: linear-gradient(180deg, #3BD0D7 0%, #22989C 100%);
}

.bg-gradient-blue {
    background: linear-gradient(180deg, #53B1FD 0%, #175CD3 100%);
}

.bg-gradient-pink {
    background: linear-gradient(180deg, #F670C7 0%, #C11574 100%);
}

.bg-gradient-rose {
    background: linear-gradient(180deg, #FD6F8E 0%, #C01048 100%);
}

/* Background Colors */
.bg-gray-200 {
    background-color: var(--gray-200);
}

.bg-purple-600 {
    background-color: var(--secondary-purple-600);
}

.bg-blue-600 {
    background-color: var(--secondary-blue-600);
}

.bg-brand-600 {
    background-color: var(--brand-600);
}

.bg-indigo-600 {
    background-color: var(--secondary-indigo-600);
}

.bg-blue-light-600 {
    background-color: var(--secondary-blue-light-600);
}

.bg-success-600 {
    background-color: var(--success-600);
}

/* Text Colors */
.gray-500 {
    color: var(--gray-500);
}

.gray-600 {
    color: var(--gray-600);
}

.gray-700 {
    color: var(--gray-700);
}

/* Buttons */
.btn {
    white-space: nowrap !important;
}

.btn-blue {
    background: var(--gradient-primary);
    color: white;
    font-weight: var(--font-weight-bold);
    border-radius: 6px;
    border: none;
}

.btn-blue:hover {
    color: white;
}

.btn-black {
    background: var(--gradient-black);
    color: white;
    font-weight: var(--font-weight-bold);
    border-radius: 6px;
    border: none;
}

.btn-black:hover {
    color: var(--warning-300);
}

.btn-orange {
    background: var(--gradient-orange);
    color: white;
    font-weight: var(--font-weight-bold);
    border-radius: 6px;
    border: none;
}

.btn-ghost {
    background: var(--gradient-white);
    color: black;
    font-weight: var(--font-weight-bold);
    border-radius: 6px;
    border: none;
}

.btn-ghost:hover {
    color: var(--primary-700);
}

.btn-white {
    background-color: white;
    color: var(--primary-700);
}

.btn-white:hover {
    background-color: white;
    color: var(--warning-500);
}

.btn-outline-light:hover {
    color: var(--primary-700) !important;
}

.btn-gray {
    background-color: var(--gray-25);
    color: black;
    font-weight: var(--font-weight-bold);
    border-radius: 6px;
    border: 1px solid var(--gray-200);
}

.btn-gray:hover {
    border: 1px solid var(--gray-200);
    background-color: white;
}

.btn-customer {
    background: var(--btn-color-customer, var(--gradient-primary));
    color: white;
    padding: 12px 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    transition: all 0.25s ease-in-out;
}

.btn-customer:hover {
    background: var(--btn-color-customer, var(--gradient-primary));
    opacity: 0.9;
    color: white;
}

.btn-logistic-company {
    background: var(--btn-color-logistics, var(--gradient-orange));
    color: white;
    padding: 12px 16px;
    font-weight: bold;
    text-align: center;
    border: none;
    transition: all 0.25s ease-in-out;
}

.btn-logistic-company:hover {
    background: var(--btn-color-logistics, var(--gradient-orange));
    color: white;
    opacity: 0.9;
}

.btn-customer i,
.btn-logistic-company i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
}

/* Float Buttons */
.float-buttons {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
}

.float-buttons-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.3s ease-out;
}

.float-button-toggle {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the icon */
    width: 56px; /* Make it a circle */
    height: 56px; /* Make it a circle */
    padding: 0; /* Remove padding */
    border-radius: 50%;
    color: white;
    text-decoration: none;
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.16), 0px 4px 4px 0px rgba(0, 0, 0, 0.08);
    border: 2px solid white;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    background-color: var(--primary-500);
    margin-bottom: 16px;
}

.float-button-toggle i {
    font-size: 24px; /* Adjust icon size */
}

.float-button-toggle:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.18), 0px 4px 8px 0px rgba(0, 0, 0, 0.10);
    filter: brightness(1.08);
}

.float-button {
    display: flex;
    align-items: center;
    padding: 6px 16px 6px 12px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    box-shadow: 0px 4px 6px 0px rgba(0, 0, 0, 0.16), 0px 4px 4px 0px rgba(0, 0, 0, 0.08);
    border: 2px solid white;
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
    background: var(--bg-color, #0086C9);
}

.float-button:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.18), 0px 4px 8px 0px rgba(0, 0, 0, 0.10);
    filter: brightness(1.08);
}

.float-button img {
    width: 28px;
    height: 28px;
    margin-right: 8px;
}

.float-button div {
    display: flex;
    flex-direction: column;
}

.float-button span {
    font-size: 13px;
    font-weight: 400;
}

.float-button strong {
    font-size: 12px;
    font-weight: 400;
}

.float-button-support {
    background-color: #039855;
}

.float-button-sales {
    background-color: #175CD3;
}

.float-button-chat {
    background-color: #0086C9;
}

.float-button-chat img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
}

.float-button img {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: 50%;
}

.float-button i {
    width: 28px;
    height: 28px;
    font-size: 22px;
}

/* Close Modal Button */
.btn-close-modal {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gradient-white);
    border-radius: 50%;
    padding: 8px;
    opacity: 1;
    border: none;
    color: var(--gray-900);
    font-size: 16px;
    line-height: 1;
    transition: all 0.2s ease-in-out;
}

.btn-close-modal:hover {
    opacity: 0.7;
}

/* Form */
.form-label {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.2px;
    color: var(--gray-700);
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .navbar {
    padding: 12px 0;
}

.header .navbar-brand .logo-desktop {
    height: 49px;
}

.header .nav-link {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--gray-700);
}

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

.language-flag {
    width: 20px;
    max-width: 100%;
    height: auto;
    margin-right: 8px;
}

.language-dropdown .dropdown-menu {
    --bs-dropdown-min-width: 12rem;
}

.language-dropdown .nav-link {
    width: 65px;
}

.language-dropdown li a:hover {
    background-color: var(--primary-100);
}

.language-dropdown .dropdown-menu {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease; /* Giảm thời gian transition */
    display: block;
    visibility: hidden; /* Thêm visibility */
}

.language-dropdown .dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible; /* Hiển thị khi show */
}

.header-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Footer */
.footer {
    background-color: #fff;
}

.footer-top {
    padding: 60px 0;
}

.footer-widget .widget-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 16px;
}

.footer-widget ul li {
    margin-bottom: 24px;
}

.footer-widget ul li a {
    color: var(--gray-700);
    text-decoration: none;
    font-size: 16px;
}

.footer-widget ul li a:hover {
    color: var(--primary-600);
}

.widget-contact {
    margin-bottom: 12px;
}

.widget-contact span {
    font-weight: 500;
}

.widget-contact a {
    text-decoration: none;
    color: var(--gray-700);
}

.widget-contact a:hover {
    color: var(--primary-600);
}

.social-icons a {
    color: black;
    font-size: 23px;
    margin-right: 16px;
}

.social-icons a:last-child {
    margin-right: 0;
}

.social-icons a:hover {
    color: var(--primary-600);
}

.footer-bottom {
    background-color: var(--gray-100);
    padding: 13px 0;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 0;
}

.footer-bottom .copyright-content {
    font-size: 13px;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Register Modal */
#registerModal .modal-content {
    border-radius: 16px;
}

#registerModal .modal-body {
    position: relative;
}

#registerModal .modal-body {
    padding: 24px;
}

#registerModal .modal-title {
    font-size: 24px;
    font-weight: 600;
}

#registerModal p {
    color: var(--gray-500);
}

/* Login Modal */
#loginModal .modal-content {
    border-radius: 16px;
}

#loginModal .modal-body {
    position: relative;
    padding: 24px;
}

#loginModal .modal-title {
    font-size: 24px;
    font-weight: 600;
}

#loginModal p {
    color: var(--gray-500);
}

/* Trial Register Modal */
#trialRegisterModal .modal-dialog {
    max-width: 1344px;
}

#trialRegisterModal .modal-content {
    border-radius: 24px;
    overflow: hidden;
}

#trialRegisterModal .modal-body {
    padding: 0;
    background-color: var(--primary-700);
}

.modal-left-panel {
    padding: 0 48px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    background-color: var(--primary-600);
    border-radius: 16px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 24px;
}

.feature-text h5 {
    margin-bottom: 8px;
}

.modal-right-panel {
    padding: 24px;
}

/* Hero Section */
.hero-section {
    color: white;
    margin-bottom: 150px;
    background-color: #3A4AF8;
    position: relative;
}

.hero-section .hero-bg {
    padding-top: 140px;
    padding-bottom: 250px;
}

.hero-bg-ellipse {
    position: absolute;
    border-radius: 50%;
}

.ellipse1 {
    width: 933px;
    height: 933px;
    left: -130px;
    top: 80px;
    background: #0061FF;
}

.ellipse2 {
    width: 745px;
    height: 400px;
    left: 994px;
    top: -185px;
    background: #00C5CB;
    filter: blur(124px);
}

.ellipse3 {
    width: 745px;
    height: 400px;
    left: -243px;
    top: 534px;
    background: #36C5F0;
    filter: blur(84px);
}

.hero-body {
    z-index: 1;
}

.hero-content {
    flex: 0 0 500px;
    max-width: 500px;
}

.hero-visual {
    flex: 1;
    min-width: 0;
}

.hero-img {
    background: url('../img/hero/hero-bg.png') no-repeat center center;
    background-size: contain;
    width: 100%;
    height: 120%;
}

.hero-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.hero-features li:before {
    content: '';
    background: url("../img/icons/checkmark-starburst-white.svg");
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.hero-stats-container {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translate(-50%, 50%);
    width: 75%;
}

.hero-stats {
    border-radius: 24px;
    padding: 0 3rem;
    box-shadow: var(--effect-drop-shadow-3x);
}

.hero-stats-title {
    text-align: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    color: #1570EF;
    margin-bottom: 4px;
}

.stat-label {
    color: var(--gray-700)
}

/* Introduce Section */
.introduce-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--gray-700);
}

.introduce-features li:before {
    content: '';
    width: 20px;
    height: 20px;
    background: url("../img/icons/checkmark-starburst-green.svg");
    flex-shrink: 0;
}

.introduce-video {
    border-radius: 24px;
    overflow: hidden;
}

/* Feature Section */
.feature-pills .nav-link {
    padding: 16px 24px;
    color: var(--gray-500);
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    margin-bottom: 8px;
    gap: 16px;
    background-color: white;
    width: 100%;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: -0.02px;
    text-align: left;
}

.feature-pills .nav-link.active {
    color: black;
    background-color: white;
    border-color: var(--primary-600);
}

.feature-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-content-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
}

.feature-content-card ul {
    margin: 0;
}

.feature-card-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: -0.2px;
}

.feature-content-card .border-start {
    border-left: 1px solid var(--gray-100) !important;
}

.feature-content-mobile hr {
    display: none;
}

.feature-content-mobile .border-start {
    border-left: none !important;
}

.feature-bg-0 { background: linear-gradient(180deg, #53B1FD 0%, #175CD3 100%); }
.feature-bg-1 { background: linear-gradient(180deg, #3BD0D7 0%, #22989C 100%); }
.feature-bg-2 { background: linear-gradient(180deg, #F670C7 0%, #C11574 100%); }
.feature-bg-3 { background: linear-gradient(180deg, #9B8AFB 0%, #5925DC 100%); }
.feature-bg-4 { background: linear-gradient(180deg, #FD6F8E 0%, #C01048 100%); }
.feature-bg-5 { background: linear-gradient(180deg, #F97066 0%, #B42318 100%); }
.feature-bg-6 { background: linear-gradient(180deg, #96C24E 0%, #5A8D2F 100%); }

/* Solution Section */
.solution-card {
    background-color: #fff;
    border-radius: 16px;
    padding: 48px 40px;
    border: 1px solid var(--gray-50);
    height: 100%;
    display: flex;
    flex-direction: column;
    border-bottom-width: 4px;
    border-bottom-color: var(--color);
}

.row > div:nth-child(1) .solution-card {
    border-bottom-color: var(--color, var(--primary-600));
}

.row > div:nth-child(2) .solution-card {
    border-bottom-color: var(--color, var(--brand-600));
}

.row > div:nth-child(3) .solution-card {
    border-bottom-color: var(--color, var(--secondary-rose-600));
}

/* Pricing Section */
#pricingCarouselMobile .carousel-inner {
    height: 480px;
}

.pricing-card {
    border-radius: 16px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--effect-drop-shadow-3x);
    transform: translateY(-4px);
}

.pricing-card .card-header {
    padding: 24px 16px;
    border-bottom: 1px solid var(--gray-200);
    border-radius: 16px 16px 0 0;
}

.pricing-card .card-body {
    padding: 24px 16px;
}

.pricing-card .price {
    color: black;
    margin-right: 4px;
    font-size: 30px;
    font-weight: var(--font-weight-semibold);
    line-height: 1.3;
    letter-spacing: -0.2px;
}

.pricing-card .period {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: -0.2px;
    color: var(--gray-500);
}

.pricing-features {
    padding-left: 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--gray-700);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: -0.2px;
}


/* Register Section */
.register-section {
    background-color: var(--primary-700);
}

.register-content {
    padding-right: 48px;
}

.register-title {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 48px;
}

.register-feature-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.register-feature-icon {
    background-color: var(--primary-600);
    border-radius: 16px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.register-feature-text h5 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 8px;
}

.register-feature-text p {
    font-size: 16px;
    opacity: 0.9;
}

.register-form-wrapper {
    background-color: white;
    border-radius: 16px;
    padding: 24px;
    color: var(--gray-900);
}

.register-form h3 {
    font-size: 24px;
    font-weight: 600;
    color: black;
}

/* FAQ Section */
.faq-section .accordion-item {
    border: 1px solid var(--gray-100);
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    margin-bottom: 8px;
}

.faq-section .accordion-button {
    color: black;
    background-color: #fff;
    border-top-left-radius: 16px !important;
    border-top-right-radius: 16px !important;
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    padding: 16px 24px;
    font-weight: 500;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: -0.02px;
}

.faq-section .accordion-button:not(.collapsed) {
    box-shadow: unset;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.faq-section .accordion-button::after {
    background-image: none;
    content: "\F282"; /* Bootstrap icon chevron-down */
    font-family: "bootstrap-icons";
    font-size: 12px;
    font-weight: 600;
    color: black;
    transform: none;
    transition: all 0.3s ease;
    /* Tạo nền tròn gradient */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.faq-section .accordion-button:not(.collapsed)::after {
    content: "\F282";
    color: white;
    background: var(--gradient-primary);
    transform: rotate(180deg);
}

.faq-section .accordion-body {
    color: var(--gray-700);
    padding-top: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42;
    letter-spacing: -0.2px;
}

/* Customer Testimonial Section */
.customer-testimonial-section {
    background-color: #fff;
}

.company-logo-container {
    background-color: var(--gray-100);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 96px;
    width: 100%;
}

.company-logo-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#logosCarouselMobile .carousel-inner {
    height: 220px;
}

#testimonialCarouselDesktop .carousel-inner,
#testimonialCarouselMobile .carousel-inner {
    height: 330px;
}

.carousel-inner .carousel-item {
    height: 100%;
}

.testimonial-card {
    border-radius: 16px;
    padding: 24px;
    color: white;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    min-height: 300px;
}

.testimonial-card .quote-icon {
    height: 27px;
    margin-bottom: 16px;
}

.testimonial-company {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 16px;
    margin-bottom: auto;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 4px;
}

.testimonial-title {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 0;
}

.carousel-indicators {
    justify-content: center;
    gap: 12px;
    margin-bottom: 0;
}

.carousel-indicators button {
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%;
    border: none;
    background-color: #D1D5DB !important; /* Gray-300 */
    opacity: 1;
    transition: all 0.3s ease;
    text-indent: 0;
    margin: 0;
}

.carousel-indicators .active {
    background-color: var(--gray-700) !important;
}

/* News Section */
#newsCarouselMobile .carousel-inner {
    height: 335px;
}

.news-card {
    border: 1px solid var(--gray-100);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 16px;
}

.news-card:hover {
    box-shadow: var(--effect-drop-shadow-3x);
    transform: translateY(-4px);
}

.news-card img {
    height: 160px;
    object-fit: cover;
    margin-bottom: 16px;
    border-radius: 8px;
}

.news-card-date {
    font-size: 12px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.news-card .card-content p {
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.news-card-text {
    font-size: 14px;
    color: var(--gray-600);
}

/* News Banner Section */
.news-banner-section {
    position: relative;
    color: white;
    padding: 100px 0;
    background-image: var(--news-banner, url('../img/hero/news-banner.png'));
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.news-banner-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.48);
    z-index: 1;
}

.news-banner-section .container {
    position: relative;
    z-index: 2;
}

.news-banner-title {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
}

/* Article Section */
.article-header .article-meta {
    font-size: 14px;
    color: var(--gray-500);
    margin-bottom: 8px;
}

.article-header .article-title {
    margin-bottom: 24px;
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    letter-spacing: -0.2px;
}

.article-body p {
    color: var(--gray-700);
    margin-bottom: 16px;
}

.article-body h5 {
    margin: 16px 0;
}

.article-body img {
    max-width: 100%;
    height: auto;
}

.article-tags {
    margin: 32px 0;
}

.article-tags .badge {
    font-size: 14px;
    font-weight: 500;
    padding: 8px;
    border: 1px solid var(--gray-200);
    text-decoration: none;
}

.article-tags .badge:hover {
    color: var(--primary-600);
}

.table thead th {
    background-color: var(--secondary-blue-light-600);
    color: white;
    font-weight: 400;
    font-size: 13px;
}

.table th[scope="row"] {
    font-weight: 500;
}

.badge.bg-success-soft {
    background-color: var(--success-50);
    color: var(--success-700);
}

.badge.bg-secondary-soft {
    background-color: var(--gray-100);
    color: var(--gray-700);
}

.news-related-title {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-semibold);
    line-height: 1.2;
    letter-spacing: -2px;
}

/* **************** */
/* **************** */
/* **************** */
/* Responsive Styles */
@media (max-width: 991.98px) {
    body {
        padding-top: 66px !important; /* Remove top padding on smaller screens */
    }

    .header .navbar {
        padding: 8px 0;
    }

    .header .navbar-brand .logo-desktop {
        height: 40px;
        padding: 0 12px;
    }

    .header .navbar-toggler {
        border-color: transparent !important; /* Change border to transparent */
        background-image: none; /* Remove default background image */
        width: 40px; /* Example size */
        height: 40px; /* Example size */
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .header .navbar-toggler:focus {
        box-shadow: none !important; /* Change focus outline color */
    }

    .header .navbar-toggler-icon {
        display: none; /* Hide the default span icon */
    }

    .header .navbar-toggler::before {
        content: "\F479"; /* bi-list icon */
        font-family: "bootstrap-icons";
        line-height: 1;
        font-size: 2rem; /* Adjust size for better visibility */
    }

    .header .navbar-toggler:not(.collapsed)::before {
        content: "\F62A"; /* bi-x icon */
        font-size: 2rem; /* Adjust size for better visibility */
    }

    .header .btn.d-lg-none {
        margin-right: 8px;
    }

    .header .navbar-collapse {
        background-color: var(--secondary-blue-950);
        padding: 16px 24px;
        border-top: 1px solid var(--gray-700);
        position: fixed; /* Position fixed to cover the entire viewport */
        top: 66px; /* Start below the header */
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 66px); /* Adjust height to account for the header */
        z-index: 99; /* Ensure it's below the header */
        overflow-y: auto; /* Allow vertical scrolling for the mobile nav content */
        transition: height 0.2s ease-out, opacity 0.2s ease-out;
    }

    .header .navbar-collapse:not(.show) {
        height: 0;
        opacity: 0;
        overflow-y: hidden; /* Hide overflow when not shown */
    }

    .header .nav-item {
        border-bottom: 1px solid var(--gray-600);
        margin-bottom: 8px; /* Thêm khoảng cách giữa các mục menu chính */
    }

    .header .navbar-nav .nav-link {
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 0; /* Điều chỉnh padding */
    }

    .header .navbar-nav .nav-link::after {
        content: "\F285"; /* Bootstrap icon chevron-right */
        font-family: "bootstrap-icons";
        font-weight: normal; /* Reset font-weight as icons have their own */
        margin-left: auto;
        padding-left: 1rem;
    }

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

    .header .language-dropdown,
    .header .header-buttons {
        margin-top: 1rem;
    }

    .header .language-dropdown .nav-link {
        justify-content: flex-start;
        color: white; /* Set text color to white for mobile */
    }

    .header .language-dropdown .nav-link::after {
        color: white; /* Set icon color to white for mobile */
    }

    .language-dropdown.dropup .dropdown-menu {
        transform: translateY(10px);
    }

    .language-dropdown.dropup .dropdown-menu.show {
        transform: translateY(0);
    }

    .mobile-nav-content .dropdown-menu li .dropdown-item {
        padding-top: 0;
        padding-bottom: 0;
        transition: padding 0.3s ease; /* Add transition for smooth effect */
    }

    .mobile-nav-content .dropdown-menu.show li .dropdown-item {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .mobile-nav-content hr {
        border-color: var(--gray-600) !important;
        margin: 24px 0;
    }

    /* Float Buttons Responsive */
    .float-buttons {
        gap: 0; /* Remove gap when buttons are stacked */
        align-items: end;
    }

    .float-buttons-group {
        max-height: 0;
        opacity: 0;
        pointer-events: none; /* Disable interaction when hidden */
    }

    #float-button-checkbox:checked ~ .float-buttons-group {
        max-height: max-content; /* Adjust based on content height */
        opacity: 1;
        pointer-events: auto; /* Enable interaction when visible */
    }

    /* Hero Section Responsive */
    .hero-section {
        height: auto !important;
        margin-bottom: 200px;
    }

    .hero-img {
        height: 300px;
    }

    .hero-section .hero-bg {
        padding-top: 40px;
        padding-bottom: 200px;
    }

    .hero-content,
    .hero-visual {
        flex: none !important;
        max-width: 100% !important;
    }

    .hero-content .btn {
        font-size: var(--font-size-sm) !important;
        padding: 8px 12px !important;
    }

    .hero-stats-container {
        width: 100%;
    }

    .hero-stats {
        padding: 0 1.5rem;
    }

    .hero-stats-title {
        font-size: var(--font-size-h5) !important;
        line-height: 1.4 !important;
    }

    .stat-number {
        color: #1570EF;
        margin-bottom: 4px;
        font-size: var(--font-size-h4) !important;
    }

    .stat-label {
        font-size: var(--font-size-sm) !important;
    }

    .mobile-nav-content .footer-widget, .mobile-nav-content .footer-widget a {
        color: white !important;
    }

    #featureAccordionMobile .accordion-item {
        margin-bottom: 16px;
        border-radius: 16px !important;
        border: 1px solid var(--gray-100) !important;
    }

    /* Mobile Feature Accordion - Change border color when opened */
    #featureAccordionMobile .accordion-item:has(.accordion-button:not(.collapsed)) {
        border-color: var(--primary-600) !important;
    }

    #featureAccordionMobile .accordion-button {
        border-radius: 16px !important;
    }

    #featureAccordionMobile .accordion-button:not(.collapsed) {
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        background-color: var(--secondary-blue-gray-100) !important;
    }

    /* Mobile Feature Accordion - Remove collapse icon */
    #featureAccordionMobile .accordion-button::after {
        display: none;
    }

    /* Remove focus outline and box-shadow */
    #featureAccordionMobile .accordion-button:focus {
        box-shadow: none !important;
        border-color: inherit !important;
        outline: none !important;
    }
}


