/* Custom CSS Variables - Luxury Minimalist Gold & Slate Black Palette */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    --primary-color: #583b1f;
    /* Dark Brown Vantix-style primary text */
    --accent-color: #8C6239;
    /* Muted Warm Gold accent */
    --accent-hover: #724E2B;
    /* Darker Gold/Bronze */
    --bg-color: #e5e0da;
    /* Warm Beige background */
    --bg-alt: #e5e0da;
    /* Lighter Cream Off-white */
    --bg-alt-light: #eae6e1;
    /* Extra light cream for transition contrast */
    --text-color: #583b1f;
    /* Dark Brown body text */
    --text-muted: #7E6B60;
    /* Muted grayish-brown */
    --border-color: rgba(88, 59, 31, 0.2);
    /* Thin brownish-gray borders */
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --container-width: 1200px;
    --transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    --shadow-sm: none;
    --shadow-md: none;
    --shadow-lg: none;
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Ensure form controls and buttons inherit the correct body font family */
button,
input,
select,
textarea {
    font-family: inherit;
}

h1,
h2 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
}

h3,
h4,
h5,
h6 {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
}

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

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 150px 0;
}

.section-alt {
    background-color: var(--bg-alt);
}

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

.grid {
    display: grid;
    gap: 2rem;
}

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

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

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

/* Header & Navigation */
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 9rem;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-body);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
}

.logo img {
    height: 8rem;
    margin-right: 0.5rem;
}

.logo span {
    font-weight: 300;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    margin-left: auto;
}

.nav-link {
    font-size: 0.8rem;
    font-weight: 500;
    position: relative;
    padding: 0.25rem 0;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: var(--transition);
}

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

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

.nav-cta {
    background-color: transparent;
    padding: 0.75rem 1.75rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
}

.hamburger {
    display: none;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 1px;
    margin: 6px 0;
    transition: var(--transition);
}

/* --- Header Themes (Homepage Transparent vs Subpage Solid/Dark) --- */

/* Transparent Header (Homepage) */
.header-transparent,
.header-solid {
    background-color: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: 1px solid rgba(88, 59, 31, 0) !important;
    box-shadow: none !important;
}

.header-transparent .logo {
    color: var(--primary-color);
}

.header-transparent .logo span {
    color: var(--accent-color);
    opacity: 1;
}

.header-transparent .nav-link {
    color: var(--text-color);
}

.header-transparent .nav-link::after {
    background-color: var(--accent-color);
}

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

.header-transparent .nav-cta {
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.header-transparent .nav-cta:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.header-transparent .hamburger span {
    background-color: var(--primary-color);
}

/* Solid/Dark Text Header (Subpages - Handled globally above) */

.header-solid .logo {
    color: var(--primary-color);
}

.header-solid .logo span {
    color: var(--accent-color);
    opacity: 1;
}

.header-solid .nav-link {
    color: var(--text-color);
}

.header-solid .nav-link::after {
    background-color: var(--accent-color);
}

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

.header-solid .nav-cta {
    color: var(--primary-color);
    border: 1px solid var(--border-color);
}

.header-solid .nav-cta:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
}

.header-solid .hamburger span {
    background-color: var(--primary-color);
}

/* Mobile Nav Active states */
.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background-color: var(--bg-color);
    color: #ffffff;
}

.hero-content {
    max-width: 100%;
    z-index: 10;
}

.hero-title {
    font-size: clamp(4rem, 10vw, 9rem);
    font-weight: 300;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    color: #eae6e1;
    text-transform: uppercase;
}

.hero-title strong,
.hero-title b {
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.8;
}

/* Common Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    border: 1px solid var(--accent-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.button-group {
    display: flex;
    gap: 1rem;
}

/* Section Header */
.section-header {
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-tag {
    color: var(--accent-color);
    font-family: var(--font-body);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Service Cards (Vantix minimal approach) */
.card {
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-color);
    padding: 2.5rem 0;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    box-shadow: none;
}

.card:hover {
    transform: translateY(-4px);
    border-top-color: var(--accent-color);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    background: transparent;
    color: var(--accent-color);
    border-radius: 0;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.card:hover .card-icon {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.15rem;
    color: var(--primary-color);
    line-height: 1.45;
    font-family: var(--font-body);
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: var(--accent-color);
}

.card-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 2.25rem;
    flex-grow: 1;
}

.card-link {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.card-link svg {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-link:hover {
    color: var(--accent-hover);
}

.card:hover .card-link svg {
    transform: translateX(6px);
}

/* Service Detail Cards on About Page */
.service-detail-card {
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    border-radius: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: none;
}

.service-detail-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--accent-color);
}

.service-detail-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    background: transparent;
    color: var(--accent-color);
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid var(--border-color);
}

.service-detail-card:hover .service-detail-icon-wrap {
    background: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

/* Blog/Insight Cards */
.blog-card {
    background: transparent;
    border: none;
    border-top: 1px solid var(--border-color);
    border-radius: 0;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem 0;
}

.blog-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--accent-color);
}

.blog-img {
    height: 240px;
    position: relative;
    overflow: hidden;
    background-color: var(--bg-alt);
    border-radius: 4px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-card:hover .blog-img img {
    transform: scale(1.03);
}

.blog-body {
    padding: 1.5rem 0 0 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-meta {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.75rem;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-title a:hover {
    color: var(--accent-color);
}

.blog-excerpt {
    color: var(--text-muted);
    font-size: 0.925rem;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

/* Footer Section */
footer {
    background-color: var(--bg-alt);
    color: var(--text-color);
    padding: 5rem 0 2rem 0;
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
}

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

.footer-logo {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.footer-logo span {
    color: var(--accent-color);
}

.footer-desc {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    color: var(--text-muted);
}

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

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    background-color: rgba(81, 54, 41, 0.05);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--accent-color);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Page Banner */
.page-header {
    background-color: var(--bg-alt);
    padding: 8.5rem 0 4.5rem 0;
    border-bottom: none !important;
    position: relative;
}

.page-header-bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.page-header-title {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.breadcrumb {
    display: flex;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
    gap: 0.5rem;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb-separator {
    color: var(--border-color);
}

.breadcrumb-item.active {
    color: var(--accent-color);
    font-weight: 500;
}

/* Contact Page Styles */
.contact-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
}

.contact-card {
    background-color: var(--bg-alt);
    padding: 2.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.contact-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.contact-info-list {
    list-style: none;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    background-color: rgba(88, 59, 31, 0.05);
    color: var(--accent-color);
    border-radius: 4px;
    border: 1px solid var(--border-color);
    flex-shrink: 0;
}

.contact-info-text h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: var(--text-muted);
}

.contact-info-text p {
    font-weight: 600;
    color: var(--primary-color);
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control::placeholder {
    color: rgba(88, 59, 31, 0.5);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(181, 138, 67, 0.2);
}

.text-danger {
    color: #ef4444;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: block;
}

.alert {
    padding: 1rem 1.25rem;
    border-radius: 6px;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

/* About/Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.team-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.team-photo {
    height: 280px;
    background-color: #f1f5f9;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.team-card:hover .team-photo img {
    transform: scale(1.03);
}

.team-info {
    padding: 1.5rem;
}

.team-name {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.team-pos {
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.team-social a {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.team-social a:hover {
    color: var(--accent-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-item .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-weight: 500;
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-item.disabled .page-link {
    color: var(--text-muted);
    background-color: var(--bg-alt);
    cursor: not-allowed;
}

.page-item:not(.active):not(.disabled) .page-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Detail Content styles */
.article-container {
    max-width: 800px;
    margin: 0 auto;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2,
.article-content h3 {
    margin: 2.5rem 0 1.25rem 0;
}

.article-content img {
    max-width: 100%;
    border-radius: 8px;
    margin: 2rem 0;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

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

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

@media (max-width: 768px) {
    .header-desktop-cta {
        display: none !important;
    }

    .section {
        padding: 4rem 0;
    }

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

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

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

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

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

    .hero {
        min-height: 70vh;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .button-group {
        justify-content: center;
    }

    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 4.5rem;
        flex-direction: column;
        background-color: var(--bg-color);
        width: 100%;
        height: calc(100vh - 4.5rem);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .header-transparent .nav-menu .nav-link,
    .header-solid .nav-menu .nav-link {
        color: var(--text-color);
    }

    .header-transparent .nav-menu .nav-link::after,
    .header-solid .nav-menu .nav-link::after {
        background-color: var(--accent-color);
    }

    .header-transparent .nav-menu .nav-link:hover,
    .header-transparent .nav-menu .nav-link.active,
    .header-solid .nav-menu .nav-link:hover,
    .header-solid .nav-menu .nav-link.active {
        color: var(--accent-color);
    }

    #site-header.menu-open {
        background-color: var(--bg-color) !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    #site-header.menu-open .logo {
        color: var(--primary-color) !important;
    }

    #site-header.menu-open .logo span {
        color: var(--accent-color) !important;
    }

    #site-header.menu-open .hamburger span {
        background-color: var(--primary-color) !important;
    }
}

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

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

/* ==========================================================================
   Premium Vantix Partners Style Adaptations (About & Services Pages)
   ========================================================================== */

/* Service Detail Deliverables styling */
.service-deliverables h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 0.75rem 0;
}

.service-deliverables h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 1.25rem 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-deliverables p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.service-deliverables ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.service-deliverables li {
    font-size: 0.875rem;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.service-deliverables li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* 5-Step Methodology Timeline */
.methodology-timeline {
    position: relative;
    padding: 2rem 0;
}

.methodology-timeline .timeline-line {
    position: absolute;
    top: 4.25rem;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(197, 168, 128, 0.4) 20%, rgba(197, 168, 128, 0.4) 80%, transparent);
    z-index: 1;
}

.step-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

.step-badge {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.step-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent-color);
    font-family: var(--font-body);
    transition: var(--transition);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 0 0.5rem;
}

.step-card:hover .step-badge {
    border-color: var(--accent-color);
    background-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(197, 168, 128, 0.15);
}

.step-card:hover .step-number {
    color: #ffffff;
}

/* 7 Commitments Styling */
.commitment-card {
    background: #ffffff;
    padding: 3rem 2.25rem 2.5rem 2.25rem;
    border-radius: 12px;
    /* Cohesive rounded corners matching other cards */
    border: 1px solid var(--border-color);
    border-top: 3px solid rgba(181, 138, 67, 0.15);
    /* Elegant gold top line */
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.015);
}

.commitment-icon-wrap {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(181, 138, 67, 0.1) 0%, rgba(181, 138, 67, 0.02) 100%);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(181, 138, 67, 0.15);
    font-size: 1.25rem;
    box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.commitment-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.85rem;
    font-family: var(--font-body);
    transition: color 0.3s ease;
}

.commitment-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.commitment-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    border-top-color: var(--accent-color);
    box-shadow: 0 20px 40px -15px rgba(181, 138, 67, 0.12), 0 15px 30px -10px rgba(15, 23, 42, 0.04);
}

.commitment-card:hover .commitment-icon-wrap {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(181, 138, 67, 0.25);
}

.commitment-card:hover .commitment-title {
    color: var(--accent-color);
}

/* Grid utilities & Responsive adjustments */
.grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .methodology-timeline .timeline-line {
        display: none;
    }

    .grid-5 {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .step-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .step-badge {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .commitment-card {
        grid-column: span 3 !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
}

/* ==========================================================================
   Premium Homepage 2-Column Hero layout
   ========================================================================== */
.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.hero-image-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    background-color: #ffffff;
    transition: var(--transition);
}

.hero-image-frame img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

.hero-image-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
}

@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

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

/* ==========================================================================
   Additional Premium UI/UX Details & Adjustments
   ========================================================================== */

/* Make entire Service and Blog Cards Clickable smoothly */
.card,
.blog-card {
    position: relative;
}

.card-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5;
    cursor: pointer;
}

/* Ensure links and buttons inside card remain above overlay if needed */
.card-icon,
.card-title,
.card-desc,
.blog-meta,
.blog-title,
.blog-excerpt {
    position: relative;
    z-index: 2;
}

/* Sidebar Active State for Service Detail Page */
.service-sidebar-active {
    background-color: var(--bg-alt) !important;
    border: 1px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    border-left: 4px solid var(--accent-color) !important;
    border-radius: 0 6px 6px 0 !important;
    padding-left: 1.25rem !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   Vantix Partners Pixel-Perfect Additions
   ========================================================================== */

/* Typography */
.text-giant {
    font-size: clamp(2.5rem, 6.5vw, 5rem);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.text-huge {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.05;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

/* Mountain/Alpine Backgrounds */
.bg-hero-mountain {
    background: linear-gradient(to bottom, rgba(88, 59, 31, 0) 0%, rgba(88, 59, 31, 0.45) 45%, rgba(44, 29, 15, 0.75) 100%), url('../images/hero_bg.jpg') no-repeat center center;
    background-size: cover;
}

.bg-challenges-mountain {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1486873249359-2731bd6dafc7?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.bg-challenges-mountain-clipped {
    position: relative;
    padding-top: 150px;
    padding-bottom: 10vw;
    /* Bù phần diện tích bị cắt cong */
    color: #ffffff;
    background-color: transparent;
}

.bg-challenges-mountain-clipped .section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://images.unsplash.com/photo-1486873249359-2731bd6dafc7?auto=format&fit=crop&w=1920&q=80') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    clip-path: url(#section-curve-down);
    z-index: 1;
}

.bg-challenges-mountain-clipped .container {
    position: relative;
    z-index: 2;
}

/* Giant Marquee */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    width: 100%;
    padding: 3rem 0;
    background-color: var(--primary-color);
    position: relative;
}

.marquee-content {
    display: inline-block;
    animation: marquee 25s linear infinite;
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.25);
    letter-spacing: 0.05em;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

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

/* Section Padding & Spacing */
.py-section {
    padding: 150px 0;
}

.py-large {
    padding: 180px 0;
}

/* Accordion */
.accordion-item {
    border-top: 1px solid rgba(88, 59, 31, 0.15);
    padding: 1.5rem 0;
}

.accordion-item:last-child {
    border-bottom: 1px solid rgba(88, 59, 31, 0.15);
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    color: var(--primary-color);
}

.accordion-content {
    padding-top: 1rem;
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Raw HTML/Rich Text Spacing Styles */
.raw-content h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-body);
}

.raw-content h3:first-child {
    margin-top: 0.5rem;
}

.raw-content p {
    margin-bottom: 1rem;
    line-height: 1.65;
    color: var(--text-muted);
}

.raw-content p:last-child {
    margin-bottom: 0;
}


.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

/* Big Logo Break */
.logo-break-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8rem 0;
    background-color: #ffffff;
}

.logo-break-large {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 800;
    letter-spacing: 0.15em;
    color: rgba(88, 59, 31, 0.08);
    text-transform: uppercase;
    user-select: none;
}

/* Bean Button */
.btn-bean {
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 50px;
    padding: 0.85rem 2.5rem;
    font-weight: 600;
    border: none;
    transition: var(--transition);
    cursor: pointer;
}

.btn-bean:hover {
    background-color: var(--accent-color);
    transform: scale(1.03);
}

/* Plain Form Input */
.input-minimal {
    border: none;
    border-bottom: 1px solid rgba(88, 59, 31, 0.3);
    background: transparent;
    border-radius: 0;
    padding: 0.75rem 0;
    width: 100%;
    color: var(--primary-color);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.input-minimal:focus {
    outline: none;
    border-color: var(--primary-color);
}

.input-minimal::placeholder {
    color: rgba(88, 59, 31, 0.5);
}

/* Grid & Layout Helpers */
.w-full {
    width: 100%;
}

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

.gap-x-12 {
    column-gap: 3rem;
}

.gap-y-16 {
    row-gap: 4rem;
}

/* ==========================================================================
   Continuous Curved Sections & Smooth Element Rounding (Vantix Replica)
   ========================================================================= */

/* SVG Dividers ở đáy section */
.section-divider-bottom {
    position: absolute;
    bottom: -1px;
    /* Tránh hở viền 1px trên các trình duyệt */
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 5;
    pointer-events: none;
}

.section-divider-bottom svg {
    display: block;
    width: 100%;
    height: 6vw;
    /* Tỷ lệ chiều cao vát chéo */
    min-height: 35px;
    /* Giới hạn chiều cao tối thiểu trên di động */
    max-height: 80px;
    /* Giới hạn chiều cao tối đa trên desktop */
}

/* Các section phẳng, tự nhiên */
.hero-clipped {
    min-height: 100vh;
    padding-top: 10rem;
    padding-bottom: 8rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.bg-challenges-mountain-clipped {
    position: relative;
    padding: 8rem 0;
    color: #ffffff;
    overflow: hidden;
}

.quote-clipped {
    position: relative;
    padding: 8rem 0;
}

.services-clipped,
.team-clipped,
.contact-clipped {
    position: relative;
    padding: 8rem 0;
}

/* Đồng bộ màu nền */
.hero-clipped {
    background-color: #583b1f !important;
    /* Trùng màu của Challenges */
}

.bg-challenges-mountain-clipped {
    background-color: var(--bg-color) !important;
    /* Trùng màu của Quote */
}

.quote-clipped {
    background-color: var(--bg-alt-light) !important;
    /* Trùng màu của Services */
}

.services-clipped {
    background-color: var(--bg-color) !important;
    /* Trùng màu của Team */
}

.team-clipped {
    background-color: var(--bg-alt-light) !important;
    /* Trùng màu của Contact */
}

.contact-clipped {
    background-color: var(--bg-color) !important;
    /* Trùng màu của Footer */
}

.bg-challenges-mountain-clipped .section-background {
    background: #583b1f;
    /* Màu gỗ nâu */
}

/* Vùng background của các section nền đơn sắc */
.quote-clipped .section-background,
.services-clipped .section-background,
.team-clipped .section-background,
.contact-clipped .section-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* Vùng background của các section có ảnh Parallax */
.hero-clipped .hero-background,
.bg-challenges-mountain-clipped .section-background {
    position: absolute;
    top: -10%;
    left: 0;
    right: 0;
    bottom: -10%;
    width: 100%;
    height: 120%;
    z-index: 1;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    background-attachment: scroll !important;
}

/* Ảnh nền cụ thể */
.hero-clipped .hero-background {
    background: linear-gradient(to bottom, rgba(88, 59, 31, 0) 0%, rgba(88, 59, 31, 0.45) 45%, rgba(44, 29, 15, 0.75) 100%), url('../images/hero_bg.jpg') no-repeat center center;
    background-size: cover;
}

/* Cập nhật góc bo tròn nút bấm dạng viên thuốc */
.btn,
.btn-primary,
.btn-secondary,
.btn-bean,
.nav-cta {
    border-radius: 300px !important;
}

/* Định nghĩa class site-footer */
.site-footer {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-size: 0.85rem;
    position: relative;
    z-index: 0;
    padding-top: 5rem;
    padding-bottom: 3rem;
}

/* ============================
   Core Values Section
   ============================ */
.core-values-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 6rem;
    align-items: start;
}

.core-values-sticky {
    position: sticky;
    top: 6rem;
    padding-bottom: 2rem;
}

/* Mobile: stack vertically, remove sticky, show all items full-color */
@media (max-width: 768px) {
    .core-values-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .core-values-sticky {
        position: static;
        padding-bottom: 0;
    }

    .core-value-item {
        padding: 2rem 0 !important;
    }

    /* On mobile, all items show at full color – no scroll-spy dimming */
    .core-value-title {
        color: var(--primary-color) !important;
        font-size: 1.2rem !important;
    }

    .core-value-desc {
        color: var(--text-muted) !important;
        padding-left: 1.5rem !important;
        max-width: 100% !important;
    }
}

/* ============================
   Image Layout Utility Classes
   ============================ */
.page-header-bg {
    background-size: cover;
    background-position: center;
    position: relative;
    color: #ffffff;
}

.page-header-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(88, 59, 31, 0) 0%, rgba(88, 59, 31, 0.45) 45%, rgba(44, 29, 15, 0.75) 100%);
    z-index: 1;
}

.page-header-bg .container {
    position: relative;
    z-index: 2;
}

.page-header-bg .page-header-title {
    color: #ffffff;
}

.page-header-bg .section-tag {
    color: #c5a880;
}

.page-header-bg .breadcrumb {
    color: rgba(255, 255, 255, 0.7);
}

.page-header-bg .breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
}

.page-header-bg .breadcrumb a:hover,
.page-header-bg .breadcrumb-item.active {
    color: #ffffff;
}

.page-header-bg .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.3);
}

.img-cover {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover;
    border-radius: 8px;
}

.shadow-img {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

.image-column {
    position: relative;
    width: 100% !important;
    height: auto !important;
    align-self: flex-start !important;
}

/* Sticky Column & Sidebar layouts */
.sticky-column {
    position: sticky;
    top: 6rem;
}

.sticky-sidebar {
    position: sticky;
    top: 6.5rem;
    width: 100%;
}

@media (max-width: 768px) {
    .sticky-column {
        position: relative !important;
        top: 0 !important;
    }

    .sticky-sidebar {
        position: relative !important;
        top: 0 !important;
    }

    /* Prevent fixed background attachment layout issues on mobile/tablets */
    .bg-challenges-mountain,
    .bg-challenges-mountain-clipped .section-background {
        background-attachment: scroll !important;
    }
}