/**
 * 3Z Printing — Main Stylesheet
 * Design System: Green corporate printing theme
 */

/* ===== CSS Variables ===== */
:root {
    /* Colors — Primary */
    --color-primary: #1B7A2B;
    --color-primary-dark: #145F21;
    --color-primary-light: #E8F5E9;
    --color-secondary: #008a43;
    --color-accent: #F5A623;

    /* Colors — Neutral */
    --color-dark: #1A1A2E;
    --color-heading: #1A1A2E;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-white: #FFFFFF;
    --color-gray-bg: #F5F5F5;
    --color-gray-100: #f0f0f0;
    --color-gray-500: #999999;
    --color-gray-600: #777777;
    --color-gray-700: #555555;
    --color-border: #E0E0E0;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --header-height: 80px;

    /* Border Radius */
    --radius: 8px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Shadows */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.12);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s ease;
    --transition-fast: all 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

/* Fluid Typography Base - Scales rem units down proportionally for smaller laptops */
@media (max-width: 1440px) {
    html {
        font-size: 15px;
    }

    /* Scales 16px to 15px (e.g. 13-14 inch laptops) */
}

@media (max-width: 991px) {
    html {
        font-size: 14px;
    }

    /* Scales to 14px for Tablets */
}

@media (max-width: 576px) {
    html {
        font-size: 13.5px;
    }

    /* Scales to 13.5px for Mobile */
}


body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-white);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-dark);
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    border-color: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(27, 122, 43, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--color-dark);
    border-color: var(--color-dark);
}

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

.btn-outline-green {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    padding: 10px 32px;
}

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

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

.btn-white:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

.btn-white-large {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-white);
    padding: 14px 36px;
    font-size: 1rem;
}

.btn-white-large:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
    transform: translateY(-2px);
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.custom-logo {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.site-logo a,
.logo-text {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 8px;
    letter-spacing: -1px;
}

.logo-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Nav Menu */
.main-nav .nav-menu {
    display: flex;
    align-items: center;
    gap: 0px;
    flex-wrap: nowrap;
}

.main-nav .nav-menu li {
    white-space: nowrap;
}

.main-nav .nav-menu li a {
    display: block;
    padding: 8px 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0px;
    border-radius: 6px;
    transition: var(--transition);
}

.main-nav .nav-menu li a:hover,
.main-nav .nav-menu li.current-menu-item>a,
.main-nav .nav-menu li.current-menu-ancestor>a,
.main-nav .nav-menu li.current-post-ancestor>a,
.main-nav .nav-menu li.current_page_parent>a {
    color: var(--color-primary);
    background: transparent;
}

/* Phone CTA */
.header-cta {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-cta::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    right: -50vw;
    background: var(--color-primary);
    transform: skewX(-25deg);
    z-index: -1;
}

.btn-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 20px 0 60px;
    color: var(--color-white);
    border-radius: 0;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    height: 100%;
}

.btn-phone:hover {
    color: var(--color-white);
    opacity: 0.9;
}

.btn-phone i {
    font-size: 1.25rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero-section {
    margin-top: var(--header-height);
    background: #f8fdf9;
    position: relative;
    padding: 120px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Diagonal Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    height: 100%;
    z-index: 1;
}

.shape-yellow {
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    clip-path: polygon(15% 0, 100% 0, 100% 100%, 0 100%);
}

.shape-green {
    position: absolute;
    inset: 0;
    background: var(--color-primary);
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 3% 100%);
}

.shape-image {
    position: absolute;
    inset: 0;
    clip-path: polygon(25% 0, 100% 0, 100% 100%, 10% 100%);
}

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

/* Inner content */
.hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 40px;
}

.hero-content {
    padding-right: 20px;
}

.hero-spacer {
    display: block;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.hero-highlight {
    color: var(--color-primary);
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 8px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-light);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== FEATURES BAR ===== */
.features-bar {
    background: #2a2a2a;
    padding: 0;
    margin-top: -40px;
    position: relative;
    z-index: 5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    color: var(--color-white);
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition);
}

.feature-item:last-child {
    border-right: none;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.feature-item i {
    font-size: 1.8rem;
    flex-shrink: 0;
    opacity: 0.9;
}

.feature-item h4 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--color-white);
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.75rem;
    opacity: 0.85;
    line-height: 1.4;
}

/* ===== SECTION HEADER ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
}

.title-divider {
    width: 60px;
    height: 4px;
    background: var(--color-primary);
    margin: 12px auto 0;
    border-radius: 2px;
}

.section-cta {
    text-align: center;
    margin-top: 36px;
}

/* ===== SERVICES ===== */
.services-section {
    padding: 80px 0 60px;
    background: var(--color-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    display: block;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    padding-bottom: 24px;
    text-decoration: none;
    color: inherit;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--color-primary);
}

.service-img {
    height: 180px;
    overflow: hidden;
    background: var(--color-gray-bg);
}

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

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-card h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 16px 16px 8px;
    color: var(--color-dark);
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding: 0 16px;
    line-height: 1.5;
}

/* ===== WHY CHOOSE US ===== */
.why-section {
    position: relative;
    padding: 40px 0;
    color: var(--color-white);
    background-color: var(--color-dark);
    /* Fallback */
    overflow: hidden;
    z-index: 1;
}

/* Background image handling via customizer */
.why-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    z-index: -2;
}

.why-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* The Green Polygon */
.why-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    z-index: -1;
    clip-path: polygon(0 0, 56% 0, 42% 100%, 0 100%);
}

.why-inner {
    position: relative;
    z-index: 2;
    /* above the background */
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.why-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: var(--color-white);
    margin-bottom: 24px;
}

.why-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
}

.why-list li i {
    color: var(--color-primary);
    /* Green checkmark */
    background: var(--color-white);
    /* White circle background */
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding-top: 1px;
    /* optical alignment */
}

.why-content .btn-white {
    background: var(--color-white);
    color: var(--color-primary);
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.why-content .btn-white:hover {
    background: #f0f0f0;
    color: var(--color-dark);
}

/* Visual Fallback */
.why-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.why-logo-box {
    text-align: center;
    padding: 40px;
}

.why-logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.3);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.5rem;
    border-radius: 20px;
    margin-bottom: 20px;
}

.why-right-img {
    display: block;
    margin: 0 auto 20px auto;
    max-width: 100px;
    /* Adjust size based on the logo */
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.why-slogan {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    line-height: 1.5;
    letter-spacing: 1px;
    color: var(--color-white);
    margin-top: 15px;
}

.why-slogan strong {
    font-size: 1.4rem;
    display: block;
    font-weight: 800;
}

/* Responsive adjustment for the diagonal */
@media (max-width: 991px) {
    .why-section::before {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .why-bg-image {
        width: 100%;
        opacity: 0.3;
        /* Overlay so text is readable */
    }

    .why-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== STATS ===== */
.stats-section {
    padding: 60px 0;
    background: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 24px;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* ===== PROCESS ===== */
.process-section {
    padding: 80px 0;
    background: var(--color-gray-bg);
}

.process-grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.process-step {
    text-align: center;
    padding: 24px 16px;
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 180px;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    margin-bottom: 12px;
}

.process-step h4 {
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.process-step p {
    font-size: 0.75rem;
    color: var(--color-text-light);
    line-height: 1.4;
}

.process-arrow {
    display: flex;
    align-items: center;
    padding-top: 40px;
    color: var(--color-primary);
    font-size: 1.2rem;
    opacity: 0.5;
}

/* ===== CLIENTS ===== */
.clients-section {
    padding: 60px 0;
    background: var(--color-white);
}

.clients-slider {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.clients-slider--arrows-hidden .clients-slider__control,
.clients-slider__control[hidden] {
    display: none;
}

.clients-slider.is-static .clients-slider__track {
    justify-content: center;
}

.clients-slider.is-static .clients-slider__control {
    display: none;
}

.clients-slider__viewport {
    flex: 1;
    overflow: hidden;
    padding: 10px 0;
    margin: -10px 0;
}

.clients-slider__track {
    display: flex;
    gap: 20px;
    transition: transform 0.45s ease;
    will-change: transform;
}

.clients-slider--marquee .clients-slider__viewport {
    padding: 0;
    margin: 0;
}

.clients-slider--marquee .clients-slider__track {
    width: max-content;
    transition: none;
    animation: clients-marquee var(--clients-marquee-duration, 20s) linear infinite;
}

.clients-slider--reverse .clients-slider__track {
    animation-direction: reverse;
}

.clients-slider--marquee:hover .clients-slider__track,
.clients-slider--marquee:focus-within .clients-slider__track,
.clients-slider--paused .clients-slider__track {
    animation-play-state: paused;
}

.clients-slider__control {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 999px;
    background: var(--color-white);
    color: var(--color-text);
    cursor: pointer;
    transition: var(--transition);
}

.clients-slider__control:hover,
.clients-slider__control:focus-visible {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: var(--shadow);
}

.client-logo {
    flex: 0 0 calc((100% - 80px) / 5);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 18px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-white);
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.clients-slider--marquee .client-logo {
    flex: 0 0 220px;
}

.client-logo img {
    display: block;
    max-width: 100%;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.78;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.client-logo span {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-text-light);
    opacity: 0.65;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.client-logo:hover,
.client-logo:focus-visible {
    transform: translateY(-2px);
    border-color: var(--color-primary);
    box-shadow: var(--shadow);
}

.client-logo:hover img,
.client-logo:focus-visible img {
    filter: grayscale(0);
    opacity: 1;
}

.client-logo:hover span,
.client-logo:focus-visible span {
    opacity: 1;
    color: var(--color-primary);
}

@keyframes clients-marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: 60px 0;
    text-align: center;
}

.cta-inner h2 {
    color: var(--color-white);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-inner p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    margin-bottom: 24px;
}

/* ===== PRE-FOOTER CONTACT ===== */
.pre-footer-contact {
    background: var(--color-dark);
    padding: 40px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pre-footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-white);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--color-primary);
}

.contact-item .contact-label {
    display: block;
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 2px;
}

.contact-item strong {
    font-size: 0.95rem;
    font-family: var(--font-heading);
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.8);
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.5fr 1fr 1.5fr;
    gap: 40px;
}

/* Footer logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.footer-logo .logo-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 8px;
    letter-spacing: -1px;
}

.footer-logo .logo-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-tagline {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 24px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer contact */
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li i {
    color: var(--color-primary);
    margin-top: 4px;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact li a:hover {
    color: var(--color-primary);
}

/* Footer links */
.footer-links li {
    margin-bottom: 8px;
}

.footer-links li a {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--color-primary);
    padding-left: 4px;
}

.footer-view-all {
    display: inline-block;
    margin-top: 10px;
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-view-all:hover {
    color: #fff;
    padding-left: 4px;
}

/* Social */
.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ===== SITE MAIN OFFSET ===== */
.site-main {
    min-height: 60vh;
}

/* Page content */
.page-content {
    padding: 120px 0 60px;
}

.page-title {
    margin-bottom: 24px;
}

.entry-content {
    line-height: 1.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        max-width: 100%;
    }

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

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .why-list li {
        justify-content: center;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .client-logo {
        flex-basis: calc((100% - 40px) / 3);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-arrow {
        display: none;
    }

    .process-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .process-step {
        width: auto;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--color-white);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
        padding: 16px 0;
        z-index: 999;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .main-nav .nav-menu li a {
        padding: 12px 24px;
        border-radius: 0;
        font-size: 0.9rem;
    }

    .header-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-highlight {
        font-size: 1.1rem;
    }

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

    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-slider {
        gap: 12px;
    }

    .clients-slider__track {
        gap: 16px;
    }

    .client-logo {
        flex-basis: calc((100% - 16px) / 2);
        min-height: 84px;
    }

    .clients-slider--marquee .client-logo {
        flex-basis: 180px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-inner h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-highlight {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 2rem;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }

    .clients-slider {
        gap: 10px;
    }

    .clients-slider__control {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .clients-slider__track {
        gap: 12px;
    }

    .client-logo {
        flex-basis: calc((100% - 12px) / 2);
        min-height: 76px;
        padding: 14px;
    }

    .clients-slider--marquee .client-logo {
        flex-basis: 160px;
    }
}

/* =========================================
   ABOUT US PAGE STYLES
========================================= */

.about-hero {
    margin-top: var(--header-height);
    position: relative;
    min-height: 500px;
    padding: 80px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.about-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
}

.about-hero__bg-white {
    flex: 1.2;
    background: var(--color-white);
    position: relative;
    z-index: 2;
}

.about-hero__bg-white::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -80px;
    width: 200px;
    background: var(--color-white);
    transform: skewX(-20deg);
    z-index: -1;
}

.about-hero__bg-shapes {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 55%;
    width: 100px;
    z-index: 3;
}

.about-hero__bg-shapes .shape-green {
    position: absolute;
    top: -50px;
    left: -100px;
    width: 300px;
    height: 120vh;
    background: var(--color-primary);
    transform: skewX(-20deg);
}

.about-hero__bg-shapes .shape-blue {
    position: absolute;
    top: 350px;
    left: -80px;
    width: 120px;
    height: 12px;
    background: #1877F2;
    transform: skewX(-20deg);
}

.about-hero__bg-shapes .shape-pink {
    position: absolute;
    top: 400px;
    left: -100px;
    width: 120px;
    height: 12px;
    background: #E81A6C;
    transform: skewX(-20deg);
}

.about-hero__bg-shapes .shape-dark {
    position: absolute;
    top: 430px;
    left: -150px;
    width: 250px;
    height: 500px;
    background: #222;
    transform: skewX(-20deg);
}

.about-hero__image {
    flex: 1;
    position: relative;
    z-index: 1;
}

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

.about-hero__content {
    position: relative;
    z-index: 5;
    width: 100%;
    display: flex;
}

.about-hero__text {
    width: 55%;
    padding-right: 60px;
}

.about-hero__subtitle {
    display: inline-block;
    color: var(--color-dark);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-hero__subtitle::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 14px;
    background: var(--color-primary);
    margin-right: 8px;
    vertical-align: -1px;
}

.about-hero__title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--color-dark);
    margin-bottom: 20px;
}

.about-hero__divider {
    border-bottom: 4px solid transparent;
    border-image: linear-gradient(to right, var(--color-primary) 30%, #E81A6C 30%, #E81A6C 45%, #ffd700 45%, #ffd700 60%, transparent 60%) 1;
    width: 80px;
    margin-bottom: 30px;
}

.about-hero__desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
}

/* STATS */
.about-stats {
    background: var(--color-primary);
    padding: 30px 0;
    margin: 0;
    position: relative;
    z-index: 10;
}

.about-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.about-stat-item {
    text-align: center;
    color: var(--color-white);
    padding: 0 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.about-stat-item:last-child {
    border-right: none;
}

.about-stat-item__number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 4px;
    line-height: 1;
}

.about-stat-item__title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.about-stat-item__desc {
    font-size: 0.8rem;
    opacity: 0.9;
    line-height: 1.4;
}

/* VISION, MISSION, VALUES */
.about-vvm {
    padding: 80px 0;
    background: #fdfdfd;
}

.about-vvm__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr;
    gap: 30px;
    margin-top: 40px;
}

.vvm-card {
    display: flex;
    gap: 16px;
    padding-right: 20px;
    border-right: 1px dashed #ddd;
}

.vvm-card--values {
    border-right: none;
    padding-right: 0;
}

.vvm-card__icon {
    flex-shrink: 0;
}

.vvm-card__icon i {
    font-size: 1.5rem;
    color: var(--color-white);
    background: var(--color-primary);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}

.vvm-card__content h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--color-dark);
}

.vvm-card__content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--color-text);
}

.cv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cv-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--color-text);
}

.cv-list i {
    color: var(--color-primary);
    margin-top: 5px;
    font-size: 0.85rem;
}

/* FEATURES */
.about-features {
    padding: 0 0 80px;
    background: #fdfdfd;
}

.about-features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    padding: 40px 15px;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 0 25px;
    border-right: 1px solid #eee;
}

.feature-card:last-child {
    border-right: none;
}

.feature-card__icon i {
    font-size: 2.2rem;
    color: var(--color-primary);
}

.feature-card__content h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.feature-card__content p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--color-text-light);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .about-hero__text {
        width: 60%;
        padding-right: 40px;
    }

    .about-hero__title {
        font-size: 2.2rem;
    }

    .about-hero__bg-shapes .shape-green {
        width: 150px;
    }

    .about-hero__bg-shapes .shape-dark {
        display: none;
    }

    .about-vvm__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vvm-card {
        border-right: none;
        border-bottom: 1px dashed #ddd;
        padding-bottom: 30px;
        padding-right: 0;
    }

    .vvm-card--values {
        border-bottom: none;
        padding-bottom: 0;
    }

    .about-features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 0;
    }

    .feature-card:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .about-hero {
        padding: 50px 0;
        min-height: auto;
    }

    .about-hero__bg-shapes {
        display: none;
    }

    .about-hero__bg-white::after {
        display: none;
    }

    .about-hero__bg-white {
        flex: 1;
    }

    .about-hero__image {
        display: none;
    }

    .about-hero__text {
        width: 100%;
        padding-right: 0;
    }

    .about-hero__title {
        font-size: 1.8rem;
    }

    .about-stats {
        padding: 24px 0;
    }

    .about-stats__grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 0;
    }

    .about-stat-item:nth-child(2) {
        border-right: none;
    }

    .about-stat-item:nth-child(1),
    .about-stat-item:nth-child(2) {
        margin-bottom: 20px;
    }

    .about-features__grid {
        grid-template-columns: 1fr;
        gap: 30px 0;
        padding: 30px 0;
    }

    .feature-card {
        border-right: none;
        padding: 0 20px;
    }

    .cv-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   PAGE BANNER
========================================= */
/* ==========================================================================
   Page Banners (Với thiết kế góc chéo)
   ========================================================================== */
.page-banner {
    position: relative;
    margin-top: var(--header-height);
    padding-top: 40px;
    padding-bottom: 40px;
    overflow: hidden;
    background-color: var(--color-dark);
    /* Ẩn ảnh gốc (bằng cách scale về 0) để nhường cho lớp ::after, tránh scale 100% gây vỡ hình */
    background-size: 0 0 !important;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* Lớp phủ chứa ảnh: Chỉ lấy 60% chiều rộng bên phải để ảnh không bị scale quá to gây vỡ nét */
.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 60%;
    background-image: inherit;
    /* Tự động lấy ảnh inline từ HTML */
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Base dark background covering the left side with a slant */
.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -50vw;
    /* Canh right edge theo mép chia góc chéo của header (Header container là 1140px, cta ~230px margin) */
    right: calc(50% - 570px + 230px);
    background-color: var(--color-dark);
    /* Đồng bộ với góc của .header-cta::after là -25deg */
    transform: skewX(-25deg);
    transform-origin: top right;
    /* Dải màu xanh cũng canh theo style */
    border-right: 30px solid var(--color-primary);
    box-shadow: 15px 0 25px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

@media (max-width: 1199px) {
    .page-banner::before {
        right: 230px;
    }
}

/* Ensure the content sits above the pseudo background */
.page-banner .container,
.page-banner__content,
.page-banner__container {
    position: relative;
    z-index: 3;
}

/* Hide fallback image container in templates if any */
.page-banner__bg-image,
.page-banner__bg-dark,
.page-banner__bg-green {
    display: none !important;
}

.page-banner__title {
    color: var(--color-white);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.page-banner__breadcrumb {
    color: #ccc;
    font-size: 0.95rem;
}

.page-banner__breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

.page-banner__breadcrumb a:hover {
    color: var(--color-primary);
}

.page-banner__breadcrumb .current-page {
    color: var(--color-primary);
}

@media (max-width: 768px) {
    .page-banner::before {
        width: 100%;
        transform: none;
        /* No slant on mobile */
        border-right: none;
        box-shadow: none;
        left: 0;
    }
}

/* =========================================
   CONTACT PAGE
========================================= */
.contact-page {
    padding: 80px 0;
    background-color: var(--color-white);
}

.contact-page__container {
    display: grid;
    grid-template-columns: 5fr 7fr;
    gap: 40px;
}

.contact-section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-dark);
    margin-bottom: 25px;
    text-transform: uppercase;
}

/* Left Sidebar Info */
.contact-info__list {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-item__icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
    margin-top: 2px;
}

.contact-item__text strong {
    display: block;
    font-size: 1rem;
    color: var(--color-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-item__text p {
    color: #666;
    line-height: 1.5;
    margin: 0;
    font-size: 0.95rem;
}

.contact-map {
    border-radius: 4px;
    overflow: hidden;
}

/* Right Sidebar Form (CF7 + Mockup) */
.contact-form-wrap {
    border-left: 1px solid #eaeaea;
    padding-left: 40px;
}

.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
}

.cf7-mockup input,
.cf7-mockup textarea {
    margin-bottom: 15px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.cf7-mockup input,
.cf7-mockup textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #333;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.cf7-mockup input:focus,
.cf7-mockup textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.wpcf7-form input[type="submit"],
.cf7-mockup button {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    text-align: center;
}

.wpcf7-form input[type="submit"]:hover,
.cf7-mockup button:hover {
    background-color: #008a43;
}

/* Disable CF7 auto-added br/p gaps if misconfigured */
.wpcf7 p {
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .contact-page__container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form-wrap {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid #eaeaea;
        padding-top: 40px;
    }
}

/* ==========================================================================
   #NEWS MODULE
   ========================================================================== */

/* Layout */
.news-layout {
    display: grid;
    grid-template-columns: 8.5fr 3.5fr;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .news-layout {
        grid-template-columns: 1fr;
    }
}

/* Main Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* News Card */
.news-card {
    background: var(--color-white);
    border-radius: 8px;
    border: 1px solid #eaeaea;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.news-card__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.news-card__thumb img,
.default-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.default-thumb {
    background-color: var(--color-gray-100);
}

.news-card:hover .news-card__thumb img {
    transform: scale(1.05);
}

.news-card__content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--color-gray-600);
    margin-bottom: 12px;
}

.meta-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-weight: 500;
}

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

.news-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__title a:hover {
    color: var(--color-primary);
}

.news-card__excerpt {
    color: var(--color-gray-600);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
    flex-grow: 1;
}

.news-card__readmore {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.news-card__readmore:hover {
    color: var(--color-primary);
}

/* Pagination */
.news-pagination {
    margin-top: 40px;
    margin-bottom: 40px;
}

.news-pagination .nav-links {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
}

.news-pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 4px;
    background-color: var(--color-white);
    color: var(--color-text);
    text-decoration: none;
    font-weight: 500;
    border: 1px solid #eaeaea;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.news-pagination .page-numbers.current {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.news-pagination .page-numbers:not(.current):hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

/* Sidebar */
.news-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    margin-bottom: 0;
}

/* Search Widget */

.search-form {
    display: flex;
    align-items: center;
}

.search-field {
    flex-grow: 1;
    height: 48px;
    padding: 0 15px;
    border: 1px solid #eaeaea;
    border-right: none;
    border-radius: 4px 0 0 4px;
    outline: none;
    font-size: 0.9rem;
    background: var(--color-white);
}

.search-field:focus {
    border-color: #d1d1d1;
}

.search-submit {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 0 4px 4px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-submit:hover {
    background: var(--color-secondary);
}

/* Categories Widget */
.widget-categories {
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #eaeaea;
}

.widget-categories .widget-title {
    background: #333333;
    color: var(--color-white);
    padding: 15px 20px;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    border-bottom: none;
    position: static;
}

.widget-categories .widget-title::after {
    display: none;
}

.widget-categories ul {
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--color-white);
}

.widget-categories li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid #eaeaea;
}

.widget-categories li:last-child {
    border-bottom: none;
}

.widget-categories a {
    color: var(--color-gray-700);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.widget-categories span {
    color: var(--color-gray-500);
    font-size: 0.85rem;
}

/* Banner Widget */
.widget-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, #157936 100%);
    color: var(--color-white);
    padding: 30px 20px;
    border-radius: 4px;
}

.widget-banner h3 {
    color: var(--color-white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
}

.widget-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-banner {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-text);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    font-size: 0.85rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.btn-banner:hover {
    transform: translateY(-2px);
}

/* Recent Posts */
.widget-recent-posts {
    background: var(--color-white);
}

.widget-recent-posts .widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eaeaea;
}

.recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.recent-post-thumb img,
.default-thumb-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recent-post-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    display: block;
}

.recent-post-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.recent-post-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-heading);
    text-decoration: none;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.recent-post-title:hover {
    color: var(--color-primary);
}

.recent-post-date {
    font-size: 0.75rem;
    color: var(--color-gray-500);
}

.recent-post-info .date {
    font-size: 0.8rem;
    color: var(--color-gray-500);
    display: block;
}

/* ==============================================================
 * 12. Single Post (News Detail)
 * ============================================================== */
.single-post-article {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin-bottom: 40px;
}

.single-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.outline-badge {
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.single-post-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 20px;
    line-height: 1.3;
}

.single-post-excerpt {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
}

.single-post-thumbnail {
    margin-bottom: 30px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--color-text);
}

.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
    color: var(--color-heading);
    margin-top: 2em;
    margin-bottom: 1em;
    font-weight: 700;
}

.single-post-content h2 {
    font-size: 1.8rem;
}

.single-post-content h3 {
    font-size: 1.5rem;
}

.single-post-content p {
    margin-bottom: 1.5em;
}

.single-post-content ul,
.single-post-content ol {
    margin-bottom: 1.5em;
    padding-left: 20px;
}

.single-post-content li {
    margin-bottom: 0.5em;
}

/* Green box for blockquotes */
.single-post-content blockquote {
    border: 1px solid var(--color-primary);
    border-left: 4px solid var(--color-primary);
    padding: 20px;
    margin: 30px 0;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-heading);
    background-color: rgba(3, 142, 67, 0.03);
    position: relative;
}

.single-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin: 1.5em 0;
}

/* Share Footer */
.single-post-footer {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid var(--color-gray-100);
}

.post-share-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-weight: 600;
    color: var(--color-heading);
}

.share-icons {
    display: flex;
    gap: 10px;
}

.share-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color-white);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.share-icon:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-icon.fb {
    background-color: #1877f2;
}

.share-icon.tw {
    background-color: #1da1f2;
}

.share-icon.ln {
    background-color: #0a66c2;
}

.share-icon.link {
    background-color: #10b981;
}

.share-icon svg {
    width: 18px;
    height: 18px;
}

/* Navigation blocks */
.post-navigation-block {
    margin-top: 40px;
    margin-bottom: 40px;
}

.nav-links-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.nav-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.nav-card.empty {
    visibility: hidden;
}

.nav-arrow {
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-thumb {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.nav-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.nav-info.text-left {
    text-align: left;
}

.nav-info.text-right {
    text-align: right;
}

.nav-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   26. Service Archive
   ========================================================================== */
.service-content {
    margin-top: 60px;
    margin-bottom: 60px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.service-grid .service-card {
    background: var(--color-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-grid .service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-card__thumb {
    display: block;
    width: 100%;
}

.service-card__thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-card__thumb .default-thumb {
    width: 100%;
    height: 200px;
    background-color: var(--color-gray-bg);
}

.service-card__content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card__title {
    margin: 0 0 10px 0;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.service-card__title a {
    color: var(--color-text);
    text-decoration: none;
    transition: color 0.3s;
}

.service-card__title a:hover {
    color: var(--color-primary);
}

.service-card__excerpt {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.service-card__readmore {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.service-card__readmore:hover {
    gap: 10px;
    color: var(--color-primary-dark);
}

/* CTA Banner */
.service-cta {
    background-color: var(--color-primary);
    border-radius: 10px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
}

.service-cta__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

.service-cta__subtitle {
    margin: 0;
    font-size: 1.05rem;
    opacity: 0.9;
}

.service-cta__action .btn-white {
    background-color: var(--color-white);
    color: var(--color-primary);
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    white-space: nowrap;
}

.service-cta__action .btn-white:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

/* Pagination */
.service-pagination {
    margin-bottom: 60px;
}

/* Responsive — Services & Single Post */
@media (max-width: 991px) {

    /* Hero Section Responsive */
    .hero-section {
        padding: 80px 0;
    }

    .hero-bg-shapes {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: 0;
    }

    .shape-yellow {
        clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
    }

    .shape-green {
        clip-path: polygon(0 18%, 100% 0, 100% 100%, 0 100%);
    }

    .shape-image {
        clip-path: polygon(0 25%, 100% 0, 100% 100%, 0 100%);
    }

    .hero-inner {
        grid-template-columns: 1fr;
        padding-bottom: 50%;
        gap: 30px;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

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

    .hero-spacer {
        display: none;
    }

    /* Existing Services / Single Post */
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-cta {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 30px 20px;
    }

    .single-post-article {
        padding: 30px;
    }

    .single-post-title {
        font-size: 1.8rem;
    }

    .nav-links-grid {
        flex-direction: column;
        gap: 20px;
    }

    .nav-card {
        width: 100%;
    }
}

@media (max-width: 767px) {

    /* Features Bar Responsive */
    .features-grid {
        grid-template-columns: 1fr 1fr;
        /* 2 columns on small screens instead of 4 */
        gap: 20px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-highlight {
        font-size: 1.3rem;
    }

    /* Existing Services / Single Post */
    .service-grid {
        grid-template-columns: 1fr;
    }

    .single-post-article {
        padding: 20px;
    }

    .single-post-title {
        font-size: 1.5rem;
    }
}

/* ========================================== */
/* SMART QUOTE MODAL STYLES */
/* ========================================== */

.sq-frontend-wrap {
    font-family: var(--font-body);
    color: #374151;
}

/* Main Modal Glassmorphism Overlay */
.sq-main-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99990;
}

.sq-main-modal-wrapper {
    width: 100%;
    max-width: 650px;
    padding: 20px;
    box-sizing: border-box;
}

.sq-form-container {
    background: #ffffff;
    border-radius: 24px;
    padding: 35px 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.sq-form-container::-webkit-scrollbar {
    width: 6px;
}

.sq-form-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

/* Pro-Max Header */
.sq-pro-max-header {
    text-align: center;
    margin-bottom: 25px;
}

.sq-icon-pulse {
    font-size: 32px;
    display: inline-block;
    animation: pulseIcon 2s infinite;
    margin-bottom: 8px;
}

.sq-form-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px 0;
    letter-spacing: -0.5px;
}

.sq-subtitle {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.sq-main-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 28px;
    color: #94a3b8;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    z-index: 10;
}

.sq-main-close:hover {
    color: #0f172a;
}

/* Form Elements */
.sq-form-group {
    margin-bottom: 20px;
}

.sq-form-group label {
    display: block;
    font-weight: 700;
    font-size: 13px;
    color: #475569;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sq-form-group select,
.sq-form-group input[type="number"],
.sq-phone-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    background-color: #f8fafc;
    transition: all 0.25s ease;
    box-sizing: border-box;
    color: #0f172a;
    font-weight: 600;
}

.sq-form-group select:focus,
.sq-form-group input:focus,
.sq-phone-input:focus {
    border-color: #3b82f6;
    outline: none;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
    background-color: #ffffff;
}

.sq-row {
    display: flex;
    gap: 15px;
}

.sq-col {
    flex: 1;
    min-width: 0;
}

.sq-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    background: #f8fafc;
    padding: 18px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.sq-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #334155;
    font-weight: 500;
}

.sq-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    accent-color: #3b82f6;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.sq-btn-submit,
.sq-btn-confirm {
    width: 100%;
    padding: 14px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sq-btn-submit:hover,
.sq-btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.sq-btn-submit:disabled,
.sq-btn-confirm:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Sub Modal (Phone Input) */
.sq-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.sq-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.sq-modal-header {
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
    padding: 25px 30px 20px;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
}

.sq-modal-header h4 {
    font-size: 18px;
    margin: 0 0 10px 0;
    color: #0f172a;
    font-weight: 800;
}

.sq-modal-header p {
    color: #475569;
    font-size: 13.5px;
    margin: 0;
    line-height: 1.5;
}

.sq-modal-body {
    padding: 25px 30px 30px;
}

.sq-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 26px;
    color: #94a3b8;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
}

/* Result Box Premium */
.sq-result-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    border: 2px solid #10b981;
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.sq-success-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 6px rgba(16, 185, 129, 0.3));
}

.sq-result-box h4 {
    margin: 0 0 30px 0;
    color: #065f46;
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sq-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 17px;
    color: #334155;
    padding: 0 15px;
}

.sq-price-row.sq-total {
    font-size: 26px;
    font-weight: 900;
    color: #ef4444;
    margin-top: 25px;
    padding: 25px 15px 0;
    border-top: 2px dashed #cbd5e1;
}

.sq-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 30px 0;
}

.sq-note {
    font-size: 15px;
    color: #047857;
    margin-bottom: 30px;
    line-height: 1.6;
    font-weight: 500;
    padding: 20px;
    background: #ecfdf5;
    border-radius: 12px;
}

.sq-btn-reset {
    background: #f1f5f9;
    border: none;
    color: #475569;
    padding: 12px 25px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 15px;
}

.sq-btn-reset:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Utilities */
@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 10px rgba(250, 204, 21, 0.6));
    }

    100% {
        transform: scale(1);
    }
}

/* ==========================================================================
   Smart Quote Banner (Moved from front-page.php)
   ========================================================================== */
.smart-quote-banner {
    padding: 80px 0;
    background-color: #ecfdf5;
    border-top: 1px solid #d1fae5;
    border-bottom: 1px solid #d1fae5;
}

.smart-quote-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.smart-quote-banner .quote-content {
    flex: 1;
    min-width: 300px;
}

.smart-quote-banner .banner-title {
    margin-bottom: 15px;
    color: #065f46;
    font-size: 2.2rem;
    font-weight: 800;
}

.smart-quote-banner .banner-desc {
    color: #047857;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 0;
}

.smart-quote-banner .quote-action {
    flex-shrink: 0;
}

.btn-smart-quote-cta {
    font-family: var(--font-heading);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-smart-quote-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.5);
}



/* ==========================================================================
   404 Page Styles (Pro-Max SEO Optimized)
   ========================================================================== */
.section-404 {
    padding: 100px 0 150px;
    background-image: radial-gradient(#d1fae5 1.5px, transparent 1.5px);
    background-size: 30px 30px;
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
}

.section-404::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -250px;
    width: 600px;
    height: 1000px;
    background-color: var(--color-primary, #10b981);
    transform: rotate(35deg);
    z-index: 0;
    opacity: 0.05;
}

.error-404-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    position: relative;
    z-index: 1;
}

.error-404-content {
    flex: 1;
    max-width: 650px;
}

.error-title {
    font-size: 200px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 20px;
    color: #1e293b;
    letter-spacing: -6px;
    font-family: 'Montserrat', sans-serif;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.03);
}

.error-subtitle {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #0f172a;
    text-transform: uppercase;
    line-height: 1.2;
}

.error-desc {
    font-size: 18px;
    color: #475569;
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 500;
}

.error-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
}

.btn-icon i {
    font-size: 18px;
}

.error-404-image {
    flex: 1;
    text-align: right;
    max-width: 600px;
}

.error-404-image img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(20px 20px 40px rgba(0, 0, 0, 0.15));
    transform: perspective(1000px) rotateY(-5deg);
}

/* Features Banner styling */
.features-banner-section {
    background-color: transparent;
    margin-top: -80px;
    position: relative;
    z-index: 2;
    padding-bottom: 80px;
}

.features-banner-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.features-banner-section .feature-item {
    display: flex;
    gap: 20px;
    padding: 0 25px;
    border-right: 1px solid #e2e8f0;
    align-items: flex-start;
}

.features-banner-section .feature-item:last-child {
    border-right: none;
}

.features-banner-section .feature-icon i {
    font-size: 32px;
    background: -webkit-linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-banner-section .feature-text h3 {
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 10px;
    color: #1e293b;
    text-transform: uppercase;
}

.features-banner-section .feature-text p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive 404 */
@media (max-width: 1200px) {
    .error-title {
        font-size: 150px;
    }

    .error-subtitle {
        font-size: 28px;
    }

    .features-banner-wrapper {
        padding: 30px 15px;
    }

    .features-banner-section .feature-item {
        padding: 0 15px;
    }
}

@media (max-width: 992px) {
    .error-404-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .error-404-image {
        text-align: center;
        margin-top: 40px;
    }

    .error-404-image img {
        transform: none;
    }

    .error-actions {
        justify-content: center;
    }

    .features-banner-wrapper {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 40px;
    }

    .features-banner-section .feature-item:nth-child(2) {
        border-right: none;
    }

    .features-banner-section {
        margin-top: -40px;
    }
}

@media (max-width: 576px) {
    .features-banner-wrapper {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .features-banner-section .feature-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 30px;
        padding-left: 0;
        padding-right: 0;
    }

    .features-banner-section .feature-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .error-title {
        font-size: 120px;
    }

    .error-subtitle {
        font-size: 24px;
    }
}

/* =========================================
   VPS PRODUCTION FIXES (CF7 & Cache)
========================================= */
fieldset.hidden-fields-container {
    display: none !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.cf7-mockup input,
.cf7-mockup textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    color: #333 !important;
    box-shadow: none !important;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.cf7-mockup input:focus,
.cf7-mockup textarea:focus {
    outline: none !important;
    border-color: #008a43 !important;
    box-shadow: 0 0 0 2px rgba(0, 138, 67, 0.1) !important;
}

.wpcf7-form input[type="submit"],
.cf7-mockup button {
    padding: 12px 30px !important;
    background-color: #008a43 !important;
    color: #fff !important;
    border: none !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}

.wpcf7-form input[type="submit"]:hover,
.cf7-mockup button:hover {
    background-color: #006a33 !important;
}

/* =========================================
   BACK TO TOP BUTTON
========================================= */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Fix Back to Top overlapping with CTA stack */
.back-to-top {
    right: auto !important;
    left: 30px !important;
}

@media (max-width: 768px) {
    .back-to-top {
        right: auto !important;
        left: 20px !important;
    }
}

/* Adjust Back to Top position to be left of the CTA stack */
.back-to-top {
    left: auto !important;
    right: 80px !important;
    bottom: 25px !important;
}

@media (max-width: 768px) {
    .back-to-top {
        left: auto !important;
        right: 85px !important;
        bottom: 20px !important;
    }
}

/* Zalo Share Button */
.share-icon.zalo {
    background-color: #0068FF !important;
}

.share-icon.zalo:hover {
    background-color: #0050cc !important;
}