/*
Theme Name: Justice Law
Theme URI: https://example.com/justice-law
Author: TruongNT
Author URI: https://example.com
Description: A premium, modern, and responsive custom WordPress theme for attorneys and law firms, featuring smooth transitions and custom integrations.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: justice-law
*/

/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    /* Color Palette */
    --clr-navy-dark: hsl(218, 50%, 12%);
    --clr-navy-medium: hsl(218, 48%, 18%);
    --clr-navy-light: hsl(218, 35%, 28%);
    --clr-gold: hsl(38, 62%, 50%);
    --clr-gold-hover: hsl(38, 62%, 40%);
    --clr-gold-light: hsl(38, 62%, 92%);
    --clr-cream-bg: hsl(35, 30%, 97%);
    --clr-cream-card: hsl(35, 20%, 94%);
    --clr-white: #ffffff;
    --clr-slate-dark: hsl(218, 20%, 25%);
    --clr-slate-light: hsl(218, 12%, 55%);
    --clr-border: hsl(218, 15%, 90%);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Outfit', 'Inter', sans-serif;

    /* Layout Details */
    --container-max-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    scroll-padding-top: 90px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--clr-slate-dark);
    background-color: var(--clr-cream-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-navy-dark);
    line-height: 1.25;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
}

p {
    margin-bottom: 1rem;
    color: var(--clr-slate-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    outline: none;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    align-items: center;
}

.text-gold {
    color: var(--clr-gold) !important;
}

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

.w-100 {
    width: 100%;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.badge-gold {
    background-color: var(--clr-gold-light);
    color: var(--clr-gold);
}

.section-tag {
    display: block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.section-desc {
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(100%);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover::before {
    transform: translateY(0);
}

.btn-gold {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(207, 158, 62, 0.3);
}

.btn-gold:hover {
    background-color: var(--clr-gold-hover);
    box-shadow: 0 6px 20px rgba(207, 158, 62, 0.4);
    transform: translateY(-2px);
}

.btn-outline-gold {
    border: 2px solid var(--clr-gold);
    color: var(--clr-gold);
}

.btn-outline-gold:hover {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    transform: translateY(-2px);
}

/* Helper Scroll Animations */
.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.active-scroll {
    opacity: 1 !important;
    transform: translate(0) !important;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    display: flex;
    align-items: center;
    z-index: 100;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.site-header.scrolled {
    background-color: var(--clr-white);
    height: 70px;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--clr-border);
}

.site-header .logo-light {
    display: block !important;
}

.site-header .logo-dark {
    display: none !important;
}

.site-header.scrolled .logo-light {
    display: none !important;
}

.site-header.scrolled .logo-dark {
    display: block !important;
}

.site-header.scrolled .logo,
.site-header.scrolled .nav-link {
    color: var(--clr-navy-dark);
}

.site-header.scrolled .nav-link.active {
    color: var(--clr-gold);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--clr-white);
    font-family: var(--font-body);
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    opacity: 0.8;
    line-height: 1.1;
    margin-top: 2px;
    text-transform: uppercase;
}

.logo-icon {
    color: var(--clr-gold);
}

/* Nav Menu */
.nav-menu,
.nav-menu>ul,
.nav-menu .menu>ul {
    height: 100%;
}

.nav-menu>ul,
.nav-menu .menu>ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu ul li {
    position: relative;
}

.nav-menu>ul>li,
.nav-menu .menu>ul>li {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Submenu / Dropdown Styles */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(10px);
    background-color: rgba(18, 27, 43, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    padding: 0.5rem 0;
    min-width: 220px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-out;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    list-style: none;
}

/* Show Submenu on Hover */
.nav-menu ul li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu li {
    width: 100%;
}

.nav-menu .sub-menu a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    border-bottom: none !important;
    position: relative;
}

.nav-menu .sub-menu a::after {
    display: none !important;
}

.nav-menu .sub-menu a:hover {
    color: var(--clr-gold) !important;
    background-color: rgba(255, 255, 255, 0.04);
    padding-left: 1.5rem;
}

/* Hiệu ứng thanh chỉ báo đứng màu vàng gold ở bên trái menu con khi hover */
.nav-menu .sub-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15%;
    height: 70%;
    width: 3px;
    background-color: var(--clr-gold);
    opacity: 0;
    transform: scaleY(0);
    transition: var(--transition);
    border-radius: 0 4px 4px 0;
}

.nav-menu .sub-menu a:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

/* Scrolled Header Submenu Adjustments */
.site-header.scrolled .nav-menu .sub-menu {
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--clr-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.site-header.scrolled .nav-menu .sub-menu a {
    color: var(--clr-navy-dark);
}

.site-header.scrolled .nav-menu .sub-menu a:hover {
    color: var(--clr-gold) !important;
    background-color: var(--clr-cream-bg);
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover {
    color: var(--clr-gold);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--clr-gold);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--clr-gold);
    font-weight: 600;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (max-width: 992px) {

    .site-header .btn-header,
    .site-header .btn-header-two-lines {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .logo-name {
        font-size: 1rem !important;
    }

    .logo-tagline {
        font-size: 0.55rem !important;
    }
}

@media (max-width: 360px) {
    .logo-tagline {
        display: none !important;
    }
}

.btn-header {
    box-shadow: 0 4px 12px rgba(207, 158, 62, 0.2);
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: var(--transition);
}

.btn-header-two-lines {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0.45rem 1.2rem !important;
    border-radius: 6px !important;
    /* Square shape with slight border radius */
    line-height: 1.25 !important;
    height: auto !important;
    text-align: center;
}

.btn-header-two-lines .btn-subtext {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    opacity: 0.85;
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-header-two-lines .btn-maintext {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--clr-white);
    letter-spacing: 0.5px;
    margin-top: 2px;
}


/* Mobile Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    z-index: 101;
}

.hamburger-menu span {
    display: block;
    width: 100%;
    height: 2.5px;
    background-color: var(--clr-white);
    border-radius: 4px;
    transition: var(--transition);
}

.site-header.scrolled .hamburger-menu span {
    background-color: var(--clr-navy-dark);
}

.hamburger-menu.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Slide-out Nav */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: var(--clr-navy-dark);
    z-index: 200;
    display: flex;
    flex-direction: column;
    padding: 3rem 2rem;
    transition: right 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
    /* Enable scroll when content is too long */
    -webkit-overflow-scrolling: touch;
    /* Smooth scroll on mobile devices */
}

@media (max-width: 480px) {
    .mobile-nav {
        width: 250px;
        padding: 3rem 1.25rem;
    }
}

.mobile-nav.open {
    right: 0;
}

.close-mobile-nav {
    font-size: 2.5rem;
    color: var(--clr-white);
    align-self: flex-end;
    margin-bottom: 2rem;
}

.mobile-nav>ul {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: auto;
}

.mobile-nav ul li {
    position: relative;
    width: 100%;
}

.mobile-nav .sub-menu {
    display: none;
    /* Hide submenu by default on mobile */
    flex-direction: column;
    gap: 0.6rem;
    padding-left: 1.2rem;
    margin-top: 0.6rem;
    border-left: 2px solid rgba(207, 158, 62, 0.3);
    list-style: none;
}

/* Caret toggle button styling */
.submenu-toggle-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 38px;
    width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: none;
    border: none;
    outline: none;
    z-index: 5;
}

.submenu-toggle-btn::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    border-bottom: 2px solid rgba(255, 255, 255, 0.6);
    transform: rotate(45deg);
    transition: var(--transition);
}

.mobile-nav li.active>.submenu-toggle-btn::after {
    transform: rotate(-135deg);
    border-color: var(--clr-gold);
}

.mobile-nav .sub-menu li {
    width: 100%;
}

.mobile-nav .sub-menu .mobile-link {
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.3rem 0;
}

.mobile-nav .sub-menu .mobile-link:hover {
    color: var(--clr-gold);
    padding-left: 3px;
}

.mobile-link {
    font-size: 1.2rem;
    color: var(--clr-white);
    font-weight: 500;
    display: block;
    padding: 0.5rem 0;
}

.mobile-link:hover {
    color: var(--clr-gold);
    padding-left: 5px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    background-color: var(--clr-navy-dark);
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 5rem;
    position: relative;
    overflow: hidden;
    color: var(--clr-white);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 158, 62, 0.08) 0%, rgba(207, 158, 62, 0) 70%);
}

.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4rem);
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--clr-white);
}

.hero-content h1 .text-gradient {
    background: linear-gradient(135deg, var(--clr-gold) 0%, #f5cf80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(207, 158, 62, 0.08);
    border: 1px solid rgba(207, 158, 62, 0.25);
    color: var(--clr-gold);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(207, 158, 62, 0.05);
    overflow: hidden;
    transition: var(--transition);
}

/* Hiệu ứng quét sáng chạy trong chữ (Text Shimmer Shine) */
.hero-badge .badge-text {
    color: var(--clr-gold);
    background: linear-gradient(120deg,
            var(--clr-gold) 40%,
            #fff0ca 50%,
            var(--clr-gold) 60%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 4.5s infinite linear;
    display: inline-block;
}

@keyframes textShine {
    0% {
        background-position: 200% center;
    }

    100% {
        background-position: 0% center;
    }
}

.hero-badge:hover {
    background: rgba(207, 158, 62, 0.12);
    border-color: rgba(207, 158, 62, 0.45);
    box-shadow: 0 4px 15px rgba(207, 158, 62, 0.1);
}

.hero-badge .badge-dot {
    position: relative;
    display: inline-flex;
    width: 8px;
    height: 8px;
    margin-right: 4px;
}

.badge-dot-inner {
    width: 8px;
    height: 8px;
    background-color: var(--clr-gold);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 6px var(--clr-gold);
}

.badge-dot-ping {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--clr-gold);
    border-radius: 50%;
    opacity: 0.75;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
    z-index: 1;
}

@keyframes ping {

    75%,
    100% {
        transform: scale(3.5);
        opacity: 0;
    }
}

.hero-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 2.5rem;
    max-width: 520px;
    border-left: 3px solid rgba(207, 158, 62, 0.4);
    padding-left: 1.5rem;
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--border-radius);
    transition: var(--transition);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(135deg, var(--clr-gold) 0%, var(--clr-gold-hover) 100%);
    color: var(--clr-white);
    box-shadow: 0 8px 20px rgba(207, 158, 62, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(207, 158, 62, 0.35);
}

.secondary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--clr-white);
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.secondary-cta svg {
    color: var(--clr-gold);
    transition: transform 0.3s ease;
}

.secondary-cta:hover {
    color: var(--clr-gold);
}

.secondary-cta:hover svg {
    transform: translateX(5px);
}

/* Hero Image Frame */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-hotline-top {
    position: absolute;
    top: -35px;
    right: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.5px;
    z-index: 10;
}

.hero-hotline-top a {
    color: var(--clr-gold);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.hero-hotline-top a:hover {
    color: var(--clr-white);
}

@media (max-width: 992px) {
    .hero-hotline-top {
        position: static;
        text-align: center;
        margin-bottom: 1.5rem;
        width: 100%;
    }
}

.hero-circle-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    max-width: 420px;
    max-height: 420px;
    border-radius: 50%;
    border: 2px dashed rgba(207, 158, 62, 0.3);
    animation: rotate 60s linear infinite;
    z-index: 1;
}

.hero-image-frame {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1.1;
    border-radius: 200px 200px 0 0;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.05);
    background-color: var(--clr-navy-medium);
    box-shadow: var(--shadow-lg);
    z-index: 2;
    position: relative;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-img {
    transform: scale(1.05);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Counters Section
   ========================================================================== */
.counters-section {
    background-color: var(--clr-white);
    padding: 4.5rem 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
    margin-top: -30px;
    border-radius: var(--border-radius);
    max-width: calc(var(--container-max-width) - 40px);
    margin-left: auto;
    margin-right: auto;
}

.startup-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem 1.8rem;
}

.startup-item {
    position: relative;
    padding: 0.5rem 1rem;
    text-align: left;
}

.startup-item svg {
    color: var(--clr-gold);
    transition: var(--transition);
    margin-bottom: 0.75rem;
    display: block;
}

.startup-item:hover svg {
    transform: scale(1.1) translateY(-2px);
    color: var(--clr-gold-hover);
}

.startup-item h4 {
    font-size: 1.05rem;
    color: var(--clr-navy-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.startup-item p {
    font-size: 0.82rem;
    color: var(--clr-slate-light);
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .startup-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .startup-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   About Us Section
   ========================================================================== */
.about-section {
    padding: 8rem 0;
    background-color: var(--clr-cream-bg);
}

.about-images-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

.about-images-grid .grid-col-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: flex-end;
}

.about-images-grid .grid-col-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.img-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--clr-white);
}

.statue-img-wrapper {
    height: 250px;
}

.phone-img-wrapper {
    height: 200px;
}

.desk-img-wrapper {
    height: 380px;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.img-wrapper:hover .about-img {
    transform: scale(1.05);
}

.experience-badge {
    background-color: var(--clr-navy-dark);
    color: var(--clr-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--clr-gold);
    animation: float 4s ease-in-out infinite;
}

.badge-num {
    font-size: 2.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--clr-gold);
    line-height: 1;
}

.badge-txt {
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.about-content {
    padding-left: 2rem;
}

.about-content p {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.about-content .sub-text {
    font-size: 0.95rem;
    margin-bottom: 2rem;
}

.about-features {
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.feature-icon {
    color: var(--clr-gold);
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 7rem 0;
    background-color: var(--clr-white);
}

.services-content {
    padding-right: 2rem;
}

.services-list {
    margin: 2rem 0 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.service-list-item {
    display: flex;
    gap: 1.2rem;
}

.service-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--clr-gold);
    margin-top: 0.6rem;
    flex-shrink: 0;
}

.service-list-item h4 {
    margin-bottom: 0.4rem;
    color: var(--clr-navy-dark);
}

.services-images-wrapper {
    position: relative;
}

.service-main-img-container {
    width: 90%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
}

.service-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-statue-container {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 45%;
    border-radius: var(--border-radius);
    overflow: hidden;
    border: 6px solid var(--clr-white);
    box-shadow: var(--shadow-lg);
    aspect-ratio: 1 / 1.3;
}

.service-statue-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Goals / Achievements Video Section
   ========================================================================== */
.goals-section {
    padding: 8rem 0;
    background-color: var(--clr-cream-bg);
}

.video-preview-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    margin-top: 1rem;
}

.video-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.video-preview-wrapper:hover .video-bg-img {
    transform: scale(1.03);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 26, 44, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    transition: var(--transition);
}

.video-preview-wrapper:hover .video-overlay {
    background-color: rgba(15, 26, 44, 0.5);
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--clr-gold);
    color: var(--clr-white);
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 0 0 rgba(207, 158, 62, 0.4);
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.video-preview-wrapper:hover .play-btn {
    transform: scale(1.1);
    background-color: var(--clr-white);
    color: var(--clr-gold);
}

.play-label {
    color: var(--clr-white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(207, 158, 62, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(207, 158, 62, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(207, 158, 62, 0);
    }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section {
    padding: 7rem 0;
    background-color: var(--clr-white);
}

.testimonial-slider-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 2rem auto 0;
}

.testimonial-slider {
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    align-items: center;
}

.testimonial-slide.active {
    display: grid;
    opacity: 1;
}

.client-image-wrapper {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 1 / 1;
}

.client-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-card {
    background-color: var(--clr-cream-bg);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.quote-icon {
    color: var(--clr-gold-light);
    position: absolute;
    top: 2rem;
    right: 2rem;
}

.testimonial-card h3 {
    margin-bottom: 1rem;
    color: var(--clr-navy-dark);
}

.testimonial-text {
    font-size: 1.15rem;
    color: var(--clr-slate-dark);
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.client-details h4 {
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--clr-navy-dark);
}

.client-title {
    font-size: 0.85rem;
    color: var(--clr-gold);
    font-weight: 600;
}

/* Controls */
.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--clr-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--clr-navy-dark);
    transition: var(--transition);
}

.slider-btn:hover {
    background-color: var(--clr-gold);
    border-color: var(--clr-gold);
    color: var(--clr-white);
    transform: translateY(-2px);
}

/* ==========================================================================
   Callback Request / Contact Section
   ========================================================================== */
.callback-section {
    padding: 8rem 0;
    background-color: var(--clr-cream-bg);
}

.callback-left {
    padding-right: 1.5rem;
}

.callback-form {
    margin-top: 2.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.form-group {
    width: 100%;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--clr-white);
    background-color: var(--clr-white);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--clr-slate-dark);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--clr-gold);
    box-shadow: 0 5px 15px rgba(207, 158, 62, 0.1);
}

.btn-submit {
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    padding: 1.1rem;
}

/* Map Mockup */
.map-container {
    margin-top: 2rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.map-iframe {
    filter: none;
    transition: var(--transition);
}

.callback-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.lawyer-frame {
    width: 100%;
    max-width: 420px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background-color: var(--clr-white);
    border: 8px solid var(--clr-white);
}

.lawyer-img {
    width: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Recent Case Studies Section
   ========================================================================== */
.cases-section {
    background-color: var(--clr-navy-dark);
    color: var(--clr-white);
    padding: 8rem 0;
}

.cases-header h2 {
    color: var(--clr-white);
}

.cases-header-right p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    padding-left: 2rem;
    border-left: 2px solid var(--clr-gold);
}

.cases-list {
    margin: 4rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-item {
    background-color: var(--clr-navy-medium);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.case-item:hover {
    background-color: var(--clr-navy-light);
    border-color: rgba(207, 158, 62, 0.3);
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.case-img-container {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-item:hover .case-img {
    transform: scale(1.08);
}

.case-details {
    flex-grow: 1;
}

.case-date {
    display: block;
    font-size: 0.85rem;
    color: var(--clr-gold);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.case-title {
    color: var(--clr-white);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.case-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    margin-bottom: 0;
}

.case-link-btn {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--clr-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.case-item:hover .case-link-btn {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    transform: rotate(-45deg);
}

.cases-cta {
    margin-top: 3rem;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
    background-color: var(--clr-navy-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 6rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.footer-desc {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--clr-white);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    transform: translateY(-3px);
}

.footer-grid h3 {
    color: var(--clr-white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-grid h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--clr-gold);
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a:hover {
    color: var(--clr-gold);
    padding-left: 5px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.footer-contact svg {
    color: var(--clr-gold);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* ==========================================================================
   Interactive Modals & Popups
   ========================================================================== */
/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 26, 44, 0.95);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.video-modal.open {
    opacity: 1;
    pointer-events: all;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    background-color: var(--clr-navy-dark);
    border-radius: var(--border-radius);
    padding: 10px;
    box-shadow: var(--shadow-lg);
    transform: scale(0.8);
    transition: transform 0.4s ease;
}

.video-modal.open .video-modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: -45px;
    right: 0;
    font-size: 2.5rem;
    color: var(--clr-white);
    background: none;
    border: none;
}

.close-modal:hover {
    color: var(--clr-gold);
}

.video-wrapper {
    position: relative;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 8px;
    overflow: hidden;
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Toast Success Alert */
.toast {
    position: fixed;
    bottom: 30px;
    right: -400px;
    background-color: var(--clr-navy-dark);
    color: var(--clr-white);
    padding: 1.5rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--clr-gold);
    z-index: 1000;
    transition: right 0.5s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.toast.show {
    right: 30px;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.toast-icon {
    color: var(--clr-gold);
}

.toast-message h4 {
    color: var(--clr-white);
    margin-bottom: 0.2rem;
    font-size: 1.1rem;
}

.toast-message p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Responsive Design Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .hero-container {
        text-align: center;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }

    .counters-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .counter-item:nth-child(2)::after {
        display: none;
    }

    .about-content,
    .services-content {
        padding: 0;
    }

    .about-images-grid {
        max-width: 600px;
        margin: 0 auto;
    }

    .services-images-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .callback-left {
        padding-right: 0;
    }

    .callback-right {
        justify-content: center;
    }

    .cases-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cases-header-right p {
        padding-left: 0;
        border-left: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 1200px) {
    .nav-menu {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }
}

@media (max-width: 768px) {
    .btn-header {
        display: none;
    }

    .counters-section {
        margin-top: 2rem;
    }

    .counters-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .counter-item::after {
        display: none !important;
    }

    .case-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .case-img-container {
        margin: 0 auto;
    }

    .case-link-btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-brand {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .hero-cta {
        flex-direction: column;
        gap: 1.5rem;
    }

    .hero-guarantee {
        border-left: none;
        border-top: 2px solid var(--clr-gold);
        padding-left: 0;
        padding-top: 0.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .experience-badge {
        padding: 1.2rem;
    }

    .statue-img-wrapper {
        height: 200px;
    }

    .phone-img-wrapper {
        height: 160px;
    }

    .desk-img-wrapper {
        height: 280px;
    }
}

/* ==========================================================================
   Process Section (Quy trình thực hiện)
   ========================================================================== */
.process-section {
    background-color: var(--clr-navy-dark);
    padding: 8rem 0;
    color: var(--clr-white);
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.process-section::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 158, 62, 0.05) 0%, rgba(207, 158, 62, 0) 70%);
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    margin-top: 4rem;
}

.process-card {
    background: var(--clr-navy-medium);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: var(--clr-gold);
    transition: var(--transition);
}

.process-card:hover {
    transform: translateY(-5px);
    border-color: rgba(207, 158, 62, 0.25);
    box-shadow: var(--shadow-lg);
}

.process-card:hover::before {
    height: 100%;
}

.process-num {
    font-size: 2.8rem;
    font-weight: 800;
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--clr-gold) 0%, #f5cf80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 1.25rem;
    opacity: 0.85;
}

.process-card h4 {
    color: var(--clr-white);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    font-family: var(--font-heading);
}

.process-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ==========================================================================
   Commitments Section (Cam kết vàng)
   ========================================================================== */
.commitments-section {
    padding: 8rem 0;
    background-color: var(--clr-cream-bg);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

.commitments-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.commitment-card {
    background-color: var(--clr-white);
    padding: 3.5rem 2.2rem 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    transition: var(--transition);
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.commitment-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.commitment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(207, 158, 62, 0.2);
}

.commitment-card:hover::after {
    opacity: 1;
}

.commitment-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--clr-gold-light);
    color: var(--clr-gold);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.75rem;
    transition: var(--transition);
}

.commitment-card:hover .commitment-icon-box {
    transform: rotateY(180deg);
    background-color: var(--clr-gold);
    color: var(--clr-white);
}

.commitment-card h4 {
    color: var(--clr-navy-dark);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.commitment-card p {
    color: var(--clr-slate-dark);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .commitments-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 576px) {
    .commitments-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Page Templates Styling (Trang đơn)
   ========================================================================== */
.page-banner-section {
    background-color: var(--clr-navy-dark);
    padding-top: calc(var(--header-height) + 4rem);
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
    color: var(--clr-white);
    text-align: center;
    border-bottom: 2px solid rgba(207, 158, 62, 0.2);
}

.page-banner-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 158, 62, 0.05) 0%, rgba(207, 158, 62, 0) 70%);
}

.page-banner-section .page-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--clr-white);
    font-family: var(--font-heading);
    font-weight: 800;
    margin-top: 0.5rem;
}

.page-content-section {
    padding: 5rem 0;
    background-color: var(--clr-cream-bg);
}

.page-content-container {
    background-color: var(--clr-white);
    padding: 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
}

.entry-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--clr-slate-dark);
}

.entry-content p {
    margin-bottom: 1.5rem;
    color: var(--clr-slate-dark);
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--clr-navy-dark);
    font-family: var(--font-heading);
    font-weight: 700;
}

.entry-content h1 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.entry-content h2 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.entry-content h3 {
    font-size: clamp(1.3rem, 2vw, 1.6rem);
}

.entry-content h4 {
    font-size: 1.25rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content ul {
    list-style-type: disc;
}

.entry-content ol {
    list-style-type: decimal;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content a {
    color: var(--clr-gold);
    font-weight: 600;
    border-bottom: 1px dotted var(--clr-gold);
    transition: var(--transition);
}

.entry-content a:hover {
    color: var(--clr-gold-hover);
    border-bottom-style: solid;
}

.entry-content img {
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
    height: auto;
}

.entry-content blockquote {
    border-left: 4px solid var(--clr-gold);
    padding: 1rem 1.5rem;
    background-color: var(--clr-cream-bg);
    margin: 2rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
}

.entry-content blockquote p {
    margin-bottom: 0;
}

/* Page Links for Paginated Posts/Pages */
.page-links {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--clr-border);
    font-weight: 600;
}

/* Responsive page styling */
@media (max-width: 768px) {
    .page-content-container {
        padding: 2.5rem 1.5rem;
    }

    .page-content-section {
        padding: 3rem 0;
    }
}

/* ==========================================================================
   Custom About Us (/gioi-thieu/) Page Styling
   ========================================================================== */
.page-gioi-thieu-template {
    background-color: var(--clr-cream-bg);
}

/* About Hero */
.about-hero-section {
    background-color: var(--clr-navy-dark);
    padding-top: calc(var(--header-height) + 5rem);
    padding-bottom: 7rem;
    position: relative;
    overflow: hidden;
    color: var(--clr-white);
    text-align: center;
    border-bottom: 2px solid rgba(207, 158, 62, 0.2);
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 158, 62, 0.06) 0%, rgba(207, 158, 62, 0) 70%);
}

.about-hero-section::after {
    content: '';
    position: absolute;
    bottom: -150px;
    right: -150px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 158, 62, 0.04) 0%, rgba(207, 158, 62, 0) 70%);
}

.about-hero-section h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    color: var(--clr-white);
    margin-bottom: 1rem;
    font-weight: 800;
}

.about-hero-section h1 .text-gradient {
    background: linear-gradient(135deg, var(--clr-gold) 0%, #f5cf80 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-gold-light);
    opacity: 0.9;
    margin-bottom: 3rem;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
}

.hero-slogans-container {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.hero-slogan-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-white);
}

.hero-slogan-item svg {
    color: var(--clr-gold);
}

.hero-slogan-separator {
    color: rgba(207, 158, 62, 0.4);
    font-weight: 300;
}

/* About Overview & Info Grid */
.about-overview-section {
    padding: 7rem 0;
    background-color: var(--clr-cream-bg);
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.about-overview-container {
    align-items: stretch;
}

/* Sidebar Info Card */
.info-sidebar {
    height: 100%;
}

.info-sidebar-inner {
    background-color: var(--clr-white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.info-sidebar-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--clr-gold);
}

.sidebar-logo-wrapper {
    text-align: center;
    margin-bottom: 2.5rem;
}

.sidebar-logo-wrapper .logo-svg {
    margin: 0 auto 0.75rem;
    display: block;
}

.sidebar-logo-wrapper h3 {
    font-size: 1.4rem;
    color: var(--clr-navy-dark);
    font-weight: 800;
    letter-spacing: 2px;
}

.company-facts-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.company-facts-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--clr-border);
    gap: 1.5rem;
}

.company-facts-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.fact-label {
    font-size: 0.9rem;
    color: var(--clr-slate-light);
    font-weight: 500;
    white-space: nowrap;
}

.fact-value {
    font-size: 0.95rem;
    color: var(--clr-navy-dark);
    font-weight: 600;
    text-align: right;
}

.fact-value.font-bold {
    color: var(--clr-gold);
    font-weight: 700;
}

/* Info Main Content */
.info-main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-main-content h2 {
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.info-main-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--clr-slate-dark);
    margin-bottom: 1.5rem;
}

.info-main-content p.lead-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--clr-navy-dark);
    line-height: 1.7;
    border-left: 3px solid var(--clr-gold);
    padding-left: 1.25rem;
}

.features-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.mini-feature {
    background-color: var(--clr-white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.mini-feature:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(207, 158, 62, 0.2);
}

.mini-feature-num {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-gold);
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.mini-feature-txt {
    font-size: 0.85rem;
    color: var(--clr-slate-light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Vision & Mission Section */
.about-vision-mission-section {
    padding: 7rem 0;
    background-color: var(--clr-white);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.about-section-header {
    margin-bottom: 4rem;
}

.vision-mission-grid {
    gap: 3rem;
}

.card-premium {
    background-color: var(--clr-cream-bg);
    padding: 4rem 3rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-navy-dark), var(--clr-gold));
    opacity: 0.8;
}

.card-premium:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(207, 158, 62, 0.25);
}

.card-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: var(--clr-gold-light);
    color: var(--clr-gold);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    transition: var(--transition);
}

.card-premium:hover .card-icon-box {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    transform: scale(1.05);
}

.card-premium h3 {
    font-size: 1.6rem;
    color: var(--clr-navy-dark);
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.card-premium p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--clr-slate-dark);
    margin-bottom: 1rem;
}

.card-premium p:last-child {
    margin-bottom: 0;
}

/* Core Philosophy Slogans Section */
.about-philosophies-section {
    padding: 7rem 0;
    background-color: var(--clr-cream-bg);
}

.philosophies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}

.philosophy-card {
    background-color: var(--clr-white);
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
}

.philosophy-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--clr-gold), transparent);
    opacity: 0;
    transition: var(--transition);
}

.philosophy-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(207, 158, 62, 0.2);
}

.philosophy-card:hover::after {
    opacity: 1;
}

.philosophy-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(207, 158, 62, 0.15);
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.philosophy-card:hover .philosophy-num {
    color: var(--clr-gold);
    transform: scale(1.05) translateX(3px);
}

.philosophy-card h3 {
    font-size: 1.4rem;
    color: var(--clr-navy-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.philosophy-slogan {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-gold);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.philosophy-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--clr-slate-light);
    margin-bottom: 0;
}

/* Call to Action about page */
.about-cta-section {
    padding: 5rem 0;
    background-color: var(--clr-navy-dark);
    color: var(--clr-white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(207, 158, 62, 0.08) 0%, rgba(207, 158, 62, 0) 70%);
}

.about-cta-container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.cta-logo-wrap {
    margin-bottom: 1.5rem;
}

.cta-logo {
    margin: 0 auto;
    display: block;
}

.about-cta-section h2 {
    color: var(--clr-white);
    margin-bottom: 1rem;
}

.about-cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.about-cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .philosophies-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .about-hero-section {
        padding-top: calc(var(--header-height) + 3rem);
        padding-bottom: 5rem;
    }

    .hero-slogans-container {
        padding: 0.75rem 1.25rem;
        gap: 0.75rem;
        border-radius: 20px;
    }

    .hero-slogan-separator {
        display: none;
    }

    .hero-slogan-item {
        width: 100%;
        justify-content: center;
        font-size: 0.85rem;
    }

    .about-overview-section {
        padding: 4rem 0;
        margin-top: 0;
    }

    .info-sidebar-inner {
        padding: 2rem;
    }

    .features-mini-grid {
        grid-template-columns: 1fr;
    }

    .about-vision-mission-section,
    .about-philosophies-section {
        padding: 4rem 0;
    }

    .card-premium {
        padding: 2.5rem 1.75rem;
    }

    .about-cta-btns {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ==========================================================================
   Contact Form 7 Custom Styling (Giao diện Form liên hệ cao cấp)
   ========================================================================== */
.wpcf7 {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Grid Layout for Fields */
.cf7-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (max-width: 600px) {
    .cf7-form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

.cf7-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cf7-field label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-navy-dark);
}

/* Styling inputs, select and textarea */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 0.95rem 1.25rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--clr-border);
    background-color: var(--clr-cream-bg);
    color: var(--clr-navy-dark);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
    outline: none;
    box-sizing: border-box;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: var(--clr-gold);
    background-color: var(--clr-white);
    box-shadow: 0 0 0 3px rgba(207, 158, 62, 0.15);
}

.wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* Dropdown specific */
.wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Submit Button Custom Styling */
.wpcf7-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 1rem 2.5rem !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: var(--border-radius) !important;
    background-color: var(--clr-gold) !important;
    color: var(--clr-white) !important;
    box-shadow: 0 4px 15px rgba(207, 158, 62, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    width: 100% !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.wpcf7-submit:hover,
.wpcf7-submit:focus,
.wpcf7-submit:active {
    background-color: var(--clr-gold-hover) !important;
    color: var(--clr-white) !important;
    box-shadow: 0 6px 20px rgba(207, 158, 62, 0.4) !important;
    transform: translateY(-2px) !important;
}

.wpcf7-submit:disabled,
.wpcf7-submit[disabled] {
    background-color: var(--clr-gold) !important;
    color: var(--clr-white) !important;
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.cf7-submit-wrapper {
    margin-top: 1rem;
    text-align: center;
}

/* Validation errors & Response output styles */
.wpcf7-not-valid-tip {
    font-size: 0.8rem;
    font-weight: 600;
    color: #e53e3e;
    margin-top: 0.25rem;
    display: block;
}

.wpcf7-response-output {
    margin: 1.5rem 0 0 !important;
    padding: 1rem 1.25rem !important;
    border-radius: var(--border-radius) !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    text-align: center !important;
    line-height: 1.5 !important;
    border: 1px solid transparent !important;
}

/* CF7 Success message */
.wpcf7-form.sent .wpcf7-response-output {
    background-color: rgba(72, 187, 120, 0.15) !important;
    border-color: rgba(72, 187, 120, 0.4) !important;
    color: #276749 !important;
}

/* CF7 Validation / Mail Failed message */
.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
    background-color: rgba(229, 62, 62, 0.1) !important;
    border-color: rgba(229, 62, 62, 0.3) !important;
    color: #9b2c2c !important;
}

/* Loader / spinner */
.wpcf7 .ajax-loader {
    display: none !important;
    visibility: hidden !important;
}

.wpcf7 .ajax-loader.is-active {
    display: block !important;
    visibility: visible !important;
    margin: 0.75rem auto 0 !important;
    width: 20px !important;
    height: 20px !important;
    border: 2px solid rgba(207, 158, 62, 0.2) !important;
    border-top: 2px solid var(--clr-gold) !important;
    border-radius: 50% !important;
    animation: cf7-spin 0.8s linear infinite !important;
    background-color: transparent !important;
    float: none !important;
}

@keyframes cf7-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   Custom Contact Us (/lien-he/) Page Styling
   ========================================================================== */
.contact-page-content-section {
    padding: 6rem 0;
    background-color: var(--clr-cream-bg);
}

.contact-page-container {
    max-width: var(--container-max-width);
}

/* Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-column h2 {
    font-size: 2.2rem;
    color: var(--clr-navy-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.contact-info-desc {
    font-size: 1.05rem;
    color: var(--clr-slate-dark);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.contact-details-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.contact-detail-item .detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--clr-gold-light);
    color: var(--clr-gold);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.contact-detail-item:hover .detail-icon {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    transform: scale(1.05);
}

.contact-detail-item .detail-text h4 {
    font-size: 1rem;
    color: var(--clr-navy-dark);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.contact-detail-item .detail-text p {
    font-size: 0.95rem;
    color: var(--clr-slate-dark);
    margin-bottom: 0;
    line-height: 1.5;
}

.contact-detail-item .detail-text a.hover-gold:hover {
    color: var(--clr-gold);
}

.contact-map-wrapper {
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.contact-map-wrapper:hover {
    box-shadow: var(--shadow-md);
    border-color: rgba(207, 158, 62, 0.2);
}

/* Form Column */
.contact-form-column {
    height: 100%;
}

.contact-form-card {
    background-color: var(--clr-white);
    padding: 3.5rem 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--clr-border);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--clr-gold);
}

.contact-form-card h3 {
    font-size: 1.6rem;
    color: var(--clr-navy-dark);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

/* Responsive updates for Contact page */
@media (max-width: 992px) {
    .contact-page-content-section {
        padding: 4rem 0;
    }

    .contact-form-card {
        padding: 2.5rem 2rem;
        margin-top: 3rem;
    }
}

/* ==========================================================================
   Custom Process (/quy-trinh/) Page Styling
   ========================================================================== */
.page-quy-trinh-template {
    background-color: var(--clr-cream-bg);
}

.process-timeline-section {
    padding: 6rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.process-intro {
    margin-bottom: 5rem;
}

.timeline-wrapper {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

/* Central vertical line */
.timeline-center-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--clr-gold) 0%, rgba(207, 158, 62, 0.15) 100%);
    transform: translateX(-50%);
    border-radius: 4px;
    z-index: 1;
}

/* Timeline Item base */
.timeline-item {
    position: relative;
    width: 100%;
    margin-bottom: 4rem;
    display: flex;
    justify-content: flex-start;
    /* Odd items default to left */
    z-index: 2;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

/* Even items aligned to the right */
.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

/* Bullet badge on the line */
.timeline-badge {
    position: absolute;
    left: 50%;
    top: 15px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--clr-navy-dark);
    border: 3px solid var(--clr-gold);
    color: var(--clr-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    transform: translateX(-50%);
    z-index: 10;
    box-shadow: 0 0 0 6px var(--clr-cream-bg);
    transition: var(--transition);
}

.timeline-item:hover .timeline-badge {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(207, 158, 62, 0.4);
}

/* Card */
.timeline-card {
    width: 44%;
    background-color: var(--clr-white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--clr-border);
    position: relative;
    transition: var(--transition);
}

.timeline-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(207, 158, 62, 0.25);
}

/* Pointer arrows */
.timeline-item:nth-child(odd) .timeline-card::after {
    content: '';
    position: absolute;
    top: 24px;
    right: -10px;
    width: 18px;
    height: 18px;
    background-color: var(--clr-white);
    border-right: 1px solid var(--clr-border);
    border-top: 1px solid var(--clr-border);
    transform: rotate(45deg);
    transition: var(--transition);
}

.timeline-item:nth-child(even) .timeline-card::after {
    content: '';
    position: absolute;
    top: 24px;
    left: -10px;
    width: 18px;
    height: 18px;
    background-color: var(--clr-white);
    border-left: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    transform: rotate(45deg);
    transition: var(--transition);
}

/* Hover pointer color match */
.timeline-item:nth-child(odd) .timeline-card:hover::after {
    border-color: rgba(207, 158, 62, 0.25);
}

.timeline-item:nth-child(even) .timeline-card:hover::after {
    border-color: rgba(207, 158, 62, 0.25);
}

/* Icon box */
.timeline-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    background-color: var(--clr-gold-light);
    color: var(--clr-gold);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.timeline-card:hover .timeline-icon-box {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    transform: scale(1.05);
}

.timeline-card h3 {
    font-size: 1.3rem;
    color: var(--clr-navy-dark);
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.timeline-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--clr-slate-dark);
    margin-bottom: 0;
}

/* Responsive timeline for tablets and mobiles */
@media (max-width: 768px) {
    .timeline-center-line {
        left: 30px;
    }

    .timeline-item {
        justify-content: flex-end !important;
        margin-bottom: 3rem;
    }

    .timeline-badge {
        left: 30px;
        top: 20px;
    }

    .timeline-card {
        width: calc(100% - 70px);
        padding: 2rem 1.5rem;
    }

    /* Arrow direction always left for mobile */
    .timeline-item:nth-child(odd) .timeline-card::after,
    .timeline-item:nth-child(even) .timeline-card::after {
        content: '';
        position: absolute;
        top: 30px;
        left: -10px;
        right: auto;
        width: 18px;
        height: 18px;
        background-color: var(--clr-white);
        border-left: 1px solid var(--clr-border);
        border-bottom: 1px solid var(--clr-border);
        border-right: none;
        border-top: none;
        transform: rotate(45deg);
    }
}

/* ==========================================================================
   Custom Pricing (/bang-gia/) Page Styling
   ========================================================================== */
.page-bang-gia-template {
    background-color: var(--clr-cream-bg);
}

.pricing-content-section {
    padding: 6rem 0 8rem;
}

.pricing-intro {
    margin-bottom: 5rem;
}

.pricing-intro h2 {
    font-size: clamp(2rem, 3.5vw, 2.6rem);
    color: var(--clr-navy-dark);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.pricing-intro .section-desc {
    font-size: 1.1rem;
    color: var(--clr-slate-dark);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.7;
}

.pricing-category-block {
    margin-bottom: 5rem;
}

.pricing-category-block:last-of-type {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid rgba(207, 158, 62, 0.15);
    padding-bottom: 1.25rem;
}

.category-tag {
    background-color: var(--clr-gold-light);
    color: var(--clr-gold);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    flex-shrink: 0;
}

.category-header h3 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--clr-navy-dark);
    font-weight: 700;
    margin: 0;
}

.pricing-grid.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    align-items: stretch;
}

/* Pricing Card Base */
.pricing-card {
    background-color: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: var(--transition);
}

/* Card Hover */
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(207, 158, 62, 0.35);
}

.pricing-card .card-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: var(--clr-gold-light);
    color: var(--clr-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.pricing-card:hover .price-icon-box {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    transform: scale(1.05);
}

.pricing-card h4 {
    font-size: 1.2rem;
    color: var(--clr-navy-dark);
    font-weight: 700;
    line-height: 1.3;
}

/* Price Value Box */
.price-value-box {
    background: linear-gradient(135deg, hsl(38, 60%, 98%) 0%, hsl(38, 60%, 94%) 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: baseline;
    justify-content: center;
    border: 1px solid rgba(207, 158, 62, 0.1);
    transition: var(--transition);
}

.pricing-card:hover .price-value-box {
    border-color: rgba(207, 158, 62, 0.25);
    background: linear-gradient(135deg, hsl(38, 60%, 96%) 0%, hsl(38, 60%, 91%) 100%);
}

.price-prefix {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--clr-slate-light);
    margin-right: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--clr-navy-dark);
    font-family: var(--font-body);
}

.price-suffix {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-gold);
    margin-left: 0.4rem;
}

.price-custom-quote {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--clr-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Description */
.price-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--clr-slate-dark);
    margin-bottom: 2rem;
    flex-grow: 1;
}

/* Card Action Button */
.pricing-card .btn-card-action {
    display: block;
    text-align: center;
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 8px;
    border: 2px solid var(--clr-border);
    color: var(--clr-navy-dark);
    background-color: transparent;
    transition: var(--transition);
}

.pricing-card:hover .btn-card-action {
    border-color: var(--clr-gold);
    background-color: var(--clr-gold);
    color: var(--clr-white);
}

/* Featured Card Override */
.pricing-card.card-featured {
    background-color: var(--clr-navy-dark);
    border-color: var(--clr-gold);
    box-shadow: 0 10px 30px rgba(10, 25, 47, 0.15);
}

.pricing-card.card-featured:hover {
    box-shadow: 0 20px 40px rgba(10, 25, 47, 0.3), 0 0 20px rgba(207, 158, 62, 0.15);
}

.pricing-card.card-featured h4,
.pricing-card.card-featured .price-card-desc {
    color: var(--clr-white);
}

.pricing-card.card-featured .price-card-desc {
    opacity: 0.85;
}

.pricing-card.card-featured .price-icon-box {
    background-color: rgba(207, 158, 62, 0.15);
    color: var(--clr-gold);
}

.pricing-card.card-featured:hover .price-icon-box {
    background-color: var(--clr-gold);
    color: var(--clr-white);
}

.pricing-card.card-featured .price-value-box {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card.card-featured .btn-card-action {
    background-color: var(--clr-gold);
    border-color: var(--clr-gold);
    color: var(--clr-white);
}

.pricing-card.card-featured:hover .btn-card-action {
    background-color: var(--clr-white);
    border-color: var(--clr-white);
    color: var(--clr-navy-dark);
}

/* Disclaimer Box */
.pricing-disclaimer-box {
    margin-top: 5rem;
    background-color: var(--clr-white);
    border-left: 4px solid var(--clr-gold);
    border-top: 1px solid var(--clr-border);
    border-right: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
    padding: 2.2rem 2.5rem;
    border-radius: 4px var(--border-radius) var(--border-radius) 4px;
    box-shadow: var(--shadow-sm);
}

.disclaimer-title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--clr-gold);
}

.disclaimer-title-wrap h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--clr-navy-dark);
    margin: 0;
}

.pricing-disclaimer-box p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--clr-slate-dark);
    margin: 0;
}

/* Responsive Pricing Grid */
@media (max-width: 992px) {
    .pricing-grid.grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }

    .pricing-intro {
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 768px) {
    .pricing-grid.grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .pricing-content-section {
        padding: 4rem 0 5rem;
    }

    .pricing-category-block {
        margin-bottom: 4rem;
    }

    .pricing-disclaimer-box {
        padding: 1.5rem 1.75rem;
        margin-top: 3.5rem;
    }
}

/* ==========================================================================
   15. Floating Support Widget
   ========================================================================== */
.support-widget-container {
    position: fixed;
    bottom: 0;
    right: 30px;
    z-index: 1000;
    font-family: var(--font-body), sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

/* Floating Toggle Button */
.support-toggle-btn {
    background-color: var(--clr-navy-medium);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: none;
    color: var(--clr-white);
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    z-index: 1001;
}

.support-toggle-btn:hover {
    background-color: var(--clr-navy-light);
    color: var(--clr-gold);
}

.support-toggle-btn.active {
    background-color: #1e293b;
    border-color: rgba(207, 158, 62, 0.3);
}

/* Popup Form Card */
.support-popup-card {
    width: 330px;
    background-color: #1e293b;
    border: 1px solid rgba(207, 158, 62, 0.3);
    border-radius: 8px 0 8px 8px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    overflow: hidden;
    margin-top: -1px;
    /* Align perfectly with button border */
    transition: var(--transition);
}

.support-popup-card.open {
    display: flex;
    animation: fadeInUpSupport 0.3s ease-out forwards;
}

@keyframes fadeInUpSupport {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header inside card */
.support-card-header {
    background: var(--clr-white);
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--clr-border);
}

.support-brand-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.support-logo-wrapper {
    background-color: var(--clr-navy-dark);
    color: var(--clr-gold);
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: 1px solid rgba(207, 158, 62, 0.2);
}

.support-title-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.support-title-status {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.support-title-status h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--clr-navy-dark);
    margin: 0;
}

.status-dot-active {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    /* Green active dot */
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px #10b981;
}

.support-subtitle {
    font-size: 0.7rem;
    color: var(--clr-slate-light);
    font-weight: 500;
}

/* Card Body - messages */
.support-card-body {
    background: var(--clr-white);
    padding: 1rem;
    font-size: 0.85rem;
    color: var(--clr-slate-dark);
    line-height: 1.5;
    border-bottom: 1px solid var(--clr-border);
}

.support-card-body p {
    margin-bottom: 0.5rem;
}

.support-card-body p:last-child {
    margin-bottom: 0;
}

/* Form Styling */
.support-quick-form {
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    background-color: #1e293b;
}

.support-input-group input,
.support-input-group textarea {
    width: 100%;
    background-color: var(--clr-white);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    color: var(--clr-slate-dark);
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.support-input-group input:focus,
.support-input-group textarea:focus {
    border-color: var(--clr-gold);
    box-shadow: 0 0 5px rgba(207, 158, 62, 0.2);
}

.support-action-row {
    display: flex;
    gap: 0.5rem;
}

.support-input-group textarea {
    resize: none;
    height: 38px;
    line-height: 1.4;
    padding-top: 0.45rem;
}

.support-submit-btn {
    background-color: var(--clr-gold);
    color: var(--clr-white);
    border: none;
    border-radius: 4px;
    padding: 0 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.support-submit-btn:hover {
    background-color: var(--clr-gold-hover);
}

.support-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive adjustment */
@media (max-width: 480px) {
    .support-widget-container {
        right: 15px;
    }

    .support-popup-card {
        width: 290px;
    }
}