/* HTML5 Semantic Resets & UI Layout Protection */
article,
section,
header,
footer,
aside,
nav,
figure,
figcaption {
    display: block;
}

figure {
    margin: 0;
    padding: 0;
}

figure img {
    max-width: 100%;
    height: auto;
}

figcaption {
    font-size: 0.9rem;
    color: var(--text-secondary, #666);
    margin-top: 0.5rem;
    text-align: center;
}

/* Card & Component Header/Footer Reset */
header.card-header,
footer.card-footer,
header.modal-header,
footer.modal-footer {
    background-color: transparent;
    color: inherit;
    box-shadow: none;
}

.card>header.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, .03);
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}

.card>footer.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgba(0, 0, 0, .03);
    border-top: 1px solid rgba(0, 0, 0, .125);
}

/* Custom variables */
:root {
    --primary-color: #3a5ebc;
    --primary-hover: #2a4380;
    --secondary-color: #ff7f50;
    --accent-color: #19b89e;
    --dark-bg: #1b2534;
    --light-bg: #f8f9fa;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #ffffff;
    --border-radius: 10px;
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --social-primary: #3B5998;
    --social-secondary: #1DA1F2;
    --social-accent: #4267B2;
    --social-light: #F5F8FA;
    --social-dark: #2C3E50;
    --social-gradient: linear-gradient(135deg, var(--social-primary) 0%, var(--social-secondary) 100%);
}

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
    scroll-behavior: smooth;
}

body {
    margin-bottom: 0 !important;
    color: var(--text-primary);
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    line-height: 1.6;
}

/* Overriding Bootstrap variables */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.text-primary {
    color: var(--primary-color) !important;
}

/* Layout Components */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 50%;
}

footer.site-footer,
body>footer,
footer:not(.card-footer):not(.modal-footer):not(.mobile-nav-footer):not(.blockquote-footer) {
    background-color: var(--dark-bg, #1b2534) !important;
    color: var(--text-light, #ffffff) !important;
    padding: 3.5rem 0 2rem 0;
    margin-top: 2rem;
    margin-bottom: 0 !important;
}

footer.blockquote-footer,
.blockquote-footer {
    background: transparent !important;
    background-color: transparent !important;
    color: #6c757d !important;
    padding: 0 !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
}

footer.site-footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
}

footer.site-footer h3,
footer.site-footer h4,
footer.site-footer h5,
footer.site-footer .h5 {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    position: relative;
}

footer.site-footer ul li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

footer.site-footer a {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
    display: inline-block;
}

footer.site-footer a:hover {
    color: #ffffff !important;
    transform: translateX(4px);
    text-decoration: none;
}

.footer-contact-info li {
    color: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.7rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-contact-info i {
    color: var(--secondary-color, #ff7f50);
    font-size: 1.05rem;
    width: 24px;
    min-width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
}

.footer-contact-info span,
.footer-contact-info a {
    flex: 1;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.5;
}

.footer-contact-info a:hover {
    color: #ffffff !important;
    text-decoration: underline;
    transform: none;
}

.footer-social-icons a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light, #ffffff) !important;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
}

.footer-social-icons a:hover {
    background-color: var(--primary-color, #3a5ebc);
    color: #ffffff !important;
    transform: translateY(-3px);
}

.footer-social-icons a.zalo-social-btn,
.mobile-social-icons a.zalo-social-btn {
    padding: 0;
    overflow: hidden;
}

.footer-social-icons a.zalo-social-btn:hover,
.mobile-social-icons a.zalo-social-btn:hover {
    background-color: #0068ff !important;
    transform: translateY(-3px);
}

.footer-social-icons a.zalo-social-btn img,
.mobile-social-icons a.zalo-social-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    display: block;
}

/* Footer QR Code Community Widget */
.footer-qr-community {
    margin-top: 1.25rem;
}

.footer-qr-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    transition: transform 0.25s ease;
}

.footer-qr-link:hover {
    transform: translateY(-3px);
    text-decoration: none !important;
}

.footer-qr-box {
    background-color: #ffffff;
    padding: 6px;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow 0.25s ease;
}

.footer-qr-link:hover .footer-qr-box {
    box-shadow: 0 6px 20px rgba(0, 104, 255, 0.35);
}

.footer-qr-box img {
    display: block;
    width: 105px;
    height: 105px;
    border-radius: 4px;
}

.footer-qr-label {
    color: #ffffff !important;
    font-size: 0.95rem;
    font-weight: 500;
    margin-top: 0.5rem;
    letter-spacing: 0.2px;
    text-align: center;
    transition: color 0.2s ease;
    display: block;
}

.footer-qr-link:hover .footer-qr-label {
    color: #38bdf8 !important;
    text-decoration: none !important;
}

.footer-bottom {
    padding-top: 1.75rem;
    margin-top: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.75) !important;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #ffffff !important;
    text-decoration: underline;
}

/* Hero section enhancements */
.hero-section {
    position: relative;
    padding: 7rem 0;
    background-size: cover;
    background-position: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 30, 80, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-content {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.hero-section .hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.hero-badge .badge {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Section styling */

.section-title {
    margin-bottom: 3rem;
}

.title-separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 1rem auto;
    border-radius: 2px;
}

/* Card styling */
.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

/* USP cards */
.usp-card {
    position: relative;
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transition: height 0.3s ease;
    border-top-left-radius: var(--border-radius);
    border-bottom-left-radius: var(--border-radius);
}

.usp-card:hover::before {
    height: 100%;
}

.icon-wrapper {
    min-width: 60px;
}

.icon-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.benefit-card:hover .icon-circle {
    background-color: var(--primary-color);
    transform: rotateY(180deg);
}

.benefit-card:hover .icon-circle i {
    color: white !important;
    transform: rotateY(180deg);
}

/* Service cards */
.service-card .service-image {
    position: relative;
    overflow: hidden;
}

.service-card .service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.3s ease;
}

.service-card:hover .service-overlay {
    opacity: 0.9;
    background: linear-gradient(rgba(var(--bs-primary-rgb), 0.7), rgba(var(--bs-primary-rgb), 0.9));
}

.service-card:hover .service-image img {
    transform: scale(1.05);
    transition: all 0.5s ease;
}

/* Process card styling */
.process-timeline {
    position: relative;
}

.timeline-line {
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary-color);
    transform: translateX(-50%);
}

.process-icon {
    position: relative;
    z-index: 2;
}

.process-card {
    margin-left: 0;
    position: relative;
    z-index: 1;
}

/* Contact form styling */
.contact-form .form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1rem;
    font-size: 1rem;
}

.contact-form .form-control:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.contact-form .input-group-text {
    background-color: var(--light-bg);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-color);
}

.contact-section {
    position: relative;
}

.contact-bg-element {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    opacity: 0.05;
}

.contact-bg-1 {
    width: 500px;
    height: 500px;
    background-color: var(--primary-color);
    top: -100px;
    left: -100px;
}

.contact-bg-2 {
    width: 300px;
    height: 300px;
    background-color: var(--secondary-color);
    bottom: -50px;
    right: -50px;
}

/* Animation classes */
.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Testimonials */
.testimonial-image {
    width: 120px;
    height: 120px;
    border: 5px solid rgba(var(--bs-primary-rgb), 0.2);
    border-radius: 50%;
    margin: 0 auto;
    object-fit: cover;
}

/* Stats styling */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
}

.stat-item .display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Pricing table */
.pricing-table {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
}

.pricing-table thead th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
    padding: 1rem;
}

.pricing-table tbody tr:nth-child(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.pricing-table tbody tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.pricing-table td {
    padding: 1rem;
    vertical-align: middle;
}

/* Commitment section */
.commitment-icon {
    text-align: center;
    font-size: 2.5rem;
}

/* FAQ accordion */
.custom-accordion .accordion-item {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: var(--box-shadow);
    border: none;
}

/* Media queries for responsive design */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .timeline-line {
        left: 30px;
    }

    .process-icon {
        width: 60px !important;
        height: 60px !important;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 5rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .service-card .col-lg-8 {
        padding: 2rem !important;
    }

    .service-image {
        height: 200px !important;
    }

    .map-card {
        display: none;
    }

    .process-timeline .timeline-line {
        display: none;
    }

    .process-card {
        margin-left: 0;
    }
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

@keyframes pulse-shield {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.title-separator {
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, #6c63ff, #3a86ff);
    margin-bottom: 20px;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Testimonial section enhancements */
.testimonial-carousel .carousel-indicators {
    bottom: -40px;
}

.case-study-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* FAQ section enhancements */
.custom-accordion .accordion-item {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.check-list li {
    position: relative;
    padding-left: 2rem;
}

.check-list li i {
    position: absolute;
    left: 0;
    top: 4px;
}

/* Contact section enhancements */
.contact-section {
    overflow: hidden;
}

.contact-bg-element {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    opacity: 0.05;
}

.contact-bg-1 {
    width: 500px;
    height: 500px;
    background-color: var(--bs-primary);
    top: -100px;
    left: -100px;
}

.contact-bg-2 {
    width: 300px;
    height: 300px;
    background-color: var(--bs-primary);
    bottom: -50px;
    right: -50px;
}

.contact-benefit-card {
    transition: all 0.3s ease;
}

.contact-benefit-card:hover {
    transform: translateY(-10px);
}

.contact-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.contact-card {
    border-radius: 15px;
    overflow: hidden;
}

.contact-image {
    position: relative;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-card {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.contact-info-icon {
    font-size: 2.5rem;
}

.contact-link {
    color: var(--bs-body-color);
    text-decoration: none;
    transition: all 0.2s ease;
}

.contact-link:hover {
    color: var(--bs-primary);
}

.map-container {
    height: 350px;
}

.map-card {
    bottom: 20px;
    left: 20px;
    max-width: 250px;
    z-index: 1000;
}

@media (max-width: 767.98px) {
    .map-card {
        display: none;
    }
}

/* CSS cho dropdown menu đa cấp */
.dropdown-menu li {
    position: relative;
}

.dropdown-menu .dropdown-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: -7px;
}

.dropdown-menu>li:hover>.dropdown-submenu {
    display: block;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navbar Split Dropdown */
.navbar-split-dropdown {
    display: flex;
    align-items: center;
}

/* Đảm bảo dropdown submenu hiển thị đúng */
.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: 0;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s linear;
}

.dropend:hover>.dropdown-submenu,
.dropend:focus-within>.dropdown-submenu {
    visibility: visible;
    opacity: 1;
}

/* Đảm bảo responsive */
@media (max-width: 991.98px) {

    .dropdown-submenu {
        position: static;
        visibility: visible;
        opacity: 1;
        display: none;
        padding-left: 2rem;
    }

    .dropdown-submenu.show {
        display: block;
    }
}

/* Split Nav Item - Kiểu menu đơn giản với nút dropdown riêng */
.split-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.split-nav-item .main-link {
    padding-right: 0.5rem !important;
    text-decoration: none;
    cursor: pointer;
}

.split-nav-item .dropdown {
    position: relative;
}

.split-nav-item .dropdown-btn {
    background: transparent;
    border: none;
    padding: 0 0.5rem;
    color: rgba(0, 0, 0, 0.55);
    transition: all 0.2s ease;
}

.split-nav-item .dropdown-btn:hover,
.split-nav-item .dropdown-btn:focus {
    color: var(--primary-color);
}

.split-nav-item .dropdown-menu {
    margin-top: 0.5rem;
}

/* CSS cho dropdown menu con */
.dropend .dropdown-toggle::after {
    display: none;
    /* Ẩn mũi tên mặc định */
}

.dropdown-submenu {
    position: absolute;
    left: 100%;
    top: 0;
    display: none;
}

.dropend:hover>.dropdown-submenu {
    display: block;
}

/* Responsive */
@media (max-width: 991.98px) {
    .split-nav-item {
        display: block;
        position: relative;
        padding-right: 40px;
        /* Để có chỗ cho nút dropdown */
    }

    .split-nav-item .dropdown {
        position: absolute;
        right: 0;
        top: 0;
    }

    .split-nav-item .dropdown-btn {
        height: 100%;
        padding: 0.5rem 1rem;
    }

    .dropdown-submenu {
        position: static;
        margin-left: 1rem;
    }
}

.client-logo-wrapper {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

.client-logo-wrapper:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.client-logo-wrapper img {
    max-height: 40px;
    object-fit: contain;
    filter: brightness(1.2);
}

/* Logo styling */
.logo-container {
    display: flex;
    align-items: center;
    height: 48px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.03);
}

.site-logo {
    height: auto;
    width: auto;
    max-height: 100%;
    max-width: 180px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.05));
}

@media (max-width: 767.98px) {
    .logo-container {
        height: 42px;
    }

    .site-logo {
        max-width: 150px;
    }
}

/* Navbar adjustment to enhance logo visibility */
.navbar {
    padding: 0.75rem 0;
    background: white !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
}

.navbar-scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    background-color: rgba(255, 255, 255, 0.98) !important;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    transform: translateX(-50%);
}

.timeline-dot {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 3px solid var(--primary-color);
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
}

.col-lg-6.pe-lg-5 .timeline-dot {
    right: -20px;
}

.col-lg-6.ps-lg-5 .timeline-dot {
    left: -20px;
}

.timeline-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.timeline-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.timeline-content h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    font-weight: 700;
}

/* Contact Section */
.contact-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.25rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Tweaks */
@media (max-width: 991.98px) {
    .timeline-content {
        padding-left: 60px;
        margin-bottom: 40px;
    }

    .timeline-dot {
        left: 0;
        top: 0;
    }

    .col-lg-6.pe-lg-5 .timeline-dot,
    .col-lg-6.ps-lg-5 .timeline-dot {
        left: 0;
        right: auto;
    }
}

#widget-contact {
    width: 50px;
    position: fixed;
    left: 10px;
    bottom: 170px;
    z-index: 10000;
}

#widget-contact a,
#widget-support a {
    display: block;
    width: 50px;
    height: 50px;
    margin-top: 10px;
    text-align: center;
    cursor: pointer;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 13px 0 rgba(0 0 0 / 0.25);
    -moz-box-shadow: 0 0 13px 0 rgba(0, 0, 0, .25);
    box-shadow: 0 0 13px 0 rgba(0 0 0 / 0.25);
}

#widget-contact img {
    width: 100%;
}

.hig-alo-phone {
    position: fixed;
    left: 20px;
    bottom: 90px;
    background-color: transparent;
    width: 80px;
    height: 60px;
    cursor: pointer;
    z-index: 2000 !important;
    -webkit-backface-visibility: hidden;
    -webkit-transform: translateZ(0);
    -webkit-transition: visibility .5s;
    -moz-transition: visibility .5s;
    -o-transition: visibility .5s;
    transition: visibility .5s;
}

.hig-alo-phone span {
    display: block;
    background-color: #ff1494;
    color: #fff;
    padding: 0 30px 0 60px;
    line-height: 46px;
    font-size: 1.5rem;
    position: absolute;
    top: 1px;
    left: 5px;
    white-space: nowrap;
    -moz-border-radius: 20px;
    -webkit-border-radius: 20px;
    border-radius: 20px;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.hig-alo-phone.hig-alo-green .hig-alo-ph-circle {
    border-color: #e8000b;
    opacity: .5;
}

.hig-alo-phone.hig-alo-green .hig-alo-ph-img-circle {
    background-color: #ff1494;
}

.hig-alo-phone.hig-alo-green .hig-alo-ph-circle-fill {
    background-color: rgba(216, 2, 208, .5);
    opacity: .75 !important;
}

.hig-alo-ph-circle-fill {
    width: 66px;
    height: 66px;
    top: -10px;
    left: -10px;
    position: absolute;
    background-color: #000;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    opacity: .1;
    -webkit-animation: hig-alo-circle-fill-anim 2.3s infinite ease-in-out;
    -moz-animation: hig-alo-circle-fill-anim 2.3s infinite ease-in-out;
    -o-animation: hig-alo-circle-fill-anim 2.3s infinite ease-in-out;
    animation: hig-alo-circle-fill-anim 2.3s infinite ease-in-out;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    -o-transition: all .5s;
    transition: all .5s;
    -webkit-transform-origin: 50% 50%;
    -moz-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    -o-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

.hig-alo-ph-img-circle {
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
    padding: 8px;
    position: absolute;
    background: rgba(30, 30, 30, .1) url(/images/phone.png) no-repeat center center;
    background-size: 30px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    box-sizing: initial;
    -webkit-box-shadow: 0 0 5px 0 rgba(0 0 0 / 0.75);
    -moz-box-shadow: 0 0 5px 0 rgba(0, 0, 0, .75);
    box-shadow: 0 0 5px 0 rgba(0 0 0 / 0.75);
}

@media (max-width: 575px) {
    .hig-alo-phone span {
        display: none;
    }
}

/* Button styles */
.gplay-btn {
    background-color: var(--gplay-accent);
    border-color: var(--gplay-accent);
    color: white;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gplay-btn:hover {
    background-color: var(--gplay-dark);
    border-color: var(--gplay-dark);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 204, 255, 0.3);
}

.gplay-btn-outline {
    background-color: transparent;
    border: 2px solid var(--gplay-accent);
    color: var(--gplay-accent);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.gplay-btn-outline:hover {
    background-color: var(--gplay-accent);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(59, 204, 255, 0.3);
}

:root {
    --gplay-primary: #3BCCFF;
    --gplay-secondary: #0F9D58;
    --gplay-light: #E8F5FE;
    --gplay-dark: #0078D4;
    --gplay-accent: #4285F4;
    --gplay-gradient: linear-gradient(135deg, #4285F4 0%, #34A853 33%, #FBBC05 66%, #EA4335 100%);
}

.notification-toast {
    max-width: 400px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--social-primary);
}

.notification-toast .toast-header {
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

.notification-toast .toast-body {
    padding: 1rem;
}

/*contact form*/
.contact-sidebar {
    background: linear-gradient(150deg, #0062E6, #33374D);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.contact-card {
    background: rgba(255, 255, 255, 0.15) !important;
    border-left: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(0);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-5px) !important;
    border-left: 3px solid #fff;
}

/* Form controls in contact section */
.contact-form .form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--gplay-accent);
    box-shadow: 0 0 0 0.25rem rgba(66, 133, 244, 0.25);
}

.form-floating>label {
    color: #666;
}

.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label {
    color: var(--gplay-accent);
    opacity: 1;
}

/* Fix for the section background */
#contact {
    background-color: #f5f9ff;
}

/* Z-index fixes for elements */
.contact-content {
    z-index: 1;
}

.z-1 {
    z-index: 1;
}

/* Font size helper */
.fs-7 {
    font-size: 0.9rem !important;
}

/* Benefits Section */
.benefit-box {
    padding: 2rem;
    border-radius: 10px;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: var(--social-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--social-primary);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.benefit-box:hover .benefit-icon {
    background-color: var(--social-primary);
    color: white;
}

/* Button styles */
.social-entity-btn {
    background-color: var(--social-accent);
    border-color: var(--social-accent);
    color: white;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-entity-btn:hover {
    background-color: #2851A3;
    border-color: #2851A3;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(66, 103, 178, 0.3);
}

.social-entity-btn-outline {
    background-color: transparent;
    border: 2px solid white;
    color: white;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-entity-btn-outline:hover {
    background-color: white;
    color: var(--social-primary);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.3);
}

/* Mobile Navigation Styles */
.mobile-nav-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100%;
    z-index: 2000;
    background: #fff;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.mobile-nav-panel.show {
    right: 0;
}

.mobile-nav-open {
    overflow: hidden;
    position: relative;
}

.mobile-nav-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
}

.mobile-nav-header {
    background: #fff;
    border-bottom: 1px solid #eee;
}

.mobile-nav-close {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-nav-body {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
}

.mobile-nav-footer {
    padding: 15px 0;
    background: #f8f9fa;
    border-top: 1px solid #eee;
}

.mobile-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-menu li {
    position: relative;
    border-bottom: 1px solid #eee;
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-weight: 500;
}

.mobile-nav-expand {
    position: absolute;
    right: 0;
    top: 10px;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 15px;
    margin-bottom: 10px;
}

.mobile-submenu-heading {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #6c757d;
    margin: 15px 0 10px;
    font-weight: 600;
}

.mobile-nav-submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-submenu li {
    border-bottom: none;
}

.mobile-nav-submenu a {
    display: block;
    padding: 10px 0;
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
}

.mobile-social-icons {
    margin-top: 10px;
}

.mobile-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(var(--bs-primary-rgb), 0.1);
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.mobile-social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Fix for desktop navigation */
@media (min-width: 992px) {
    .navbar-collapse.collapse {
        display: inline-flex !important;
    }
}

/* Announcement Bar & Header Layout Fixes */
.announcement-bar {
    background: linear-gradient(90deg, #1e1b4b 0%, #311b92 50%, #1e1b4b 100%);
    color: white;
    padding: 6px 0;
    overflow: hidden;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-bar a {
    color: white !important;
    text-decoration: none;
}

.announcement-bar a:hover {
    text-decoration: underline;
}

header.site-header {
    z-index: 1040;
}

header.site-header .navbar {
    top: 0 !important;
}

#main-content {
    padding-top: 115px !important;
}

@media (max-width: 991.98px) {
    #main-content {
        padding-top: 125px !important;
    }
}

/* Điều chỉnh padding-top cho body khi có announcement bar / AI banner */
body.has-ai-banner #main-content {
    padding-top: 112px !important;
}

/* AI Referrer Banner Styles */
.solann-ai-banner {
    position: sticky;
    top: 0;
    z-index: 1060;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4338ca 100%);
    border-bottom: 2px solid #818cf8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

body.has-ai-banner header.site-header .navbar {
    top: 84px !important;
}

/* Hero Fast-Track Action Chips */
.fast-track-container {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.fast-track-chip {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b !important;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.fast-track-chip:hover {
    background: #ffffff;
    color: #4f46e5 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}