/* ==========================================================================
   Redwood Marketing Custom Styling
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design System & CSS Variables
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --color-bg-base: #E3CEBE;
    --color-bg-alt: #DBC2B0;
    --color-text-primary: #721216;
    --color-text-secondary: #944649;
    --color-text-dark: #721216;
    --color-accent-copper: #A64B2A;
    --color-accent-glow: #E36436;
    --color-dark-card-bg: rgba(26, 12, 6, 0.96);
    --color-dark-card-border: rgba(227, 100, 54, 0.15);
    --color-white: #FFFFFF;
    
    /* Typography */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
    
    /* Layout */
    --container-width: 1200px;
    --header-height: 65px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

main#primary.site-main {
    background-color: #ebd4c2;
    position: relative;
    width: 100%;
}

/* Custom selection color */
::selection {
    background-color: var(--color-accent-copper);
    color: var(--color-white);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
    background: var(--color-text-secondary);
    border: 3px solid var(--color-bg-base);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-accent-copper);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
}

.section-padding {
    padding: 60px 0;
}

.text-center {
    text-align: center;
}

/* --------------------------------------------------------------------------
   3. Buttons & UI Elements
   -------------------------------------------------------------------------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    border: 1px solid var(--color-text-primary);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--color-text-primary);
    background: transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.btn-primary i {
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    color: var(--color-bg-base);
    background: var(--color-text-primary);
    border-color: var(--color-text-primary);
    box-shadow: 0 4px 12px rgba(74, 35, 18, 0.1);
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    background: var(--color-text-primary);
    color: var(--color-white);
    border: none;
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(74, 35, 18, 0.15);
    transition: var(--transition-smooth);
}

.btn-dark i {
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.btn-dark:hover {
    background: var(--color-accent-copper);
    box-shadow: 0 6px 20px rgba(166, 75, 42, 0.3);
}

.btn-dark:hover i {
    transform: translateX(4px);
}

.section-title {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-text-primary);
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--color-accent-copper);
    margin: 12px auto 0 auto;
}

/* --------------------------------------------------------------------------
   4. Header Navigation
   -------------------------------------------------------------------------- */
.site-header {
    height: var(--header-height);
    width: 100%;
    max-width: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    display: flex;
    align-items: center;
    border-top:    1.5px solid transparent;
    border-left:   1.5px solid transparent;
    border-right:  1.5px solid transparent;
    border-bottom: 1.5px solid rgba(114, 18, 22, 0.25);
    border-radius: 0 0 20px 20px;
    box-shadow: 
        0 8px 30px rgba(74, 35, 18, 0.04),
        inset 0 -1.5px 0 rgba(114, 18, 22, 0.15);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    top: 20px;
    width: calc(100% - 60px);
    max-width: var(--container-width);
    border-top:    1.5px solid rgba(255, 255, 255, 0.6);
    border-left:   1.5px solid rgba(255, 255, 255, 0.4);
    border-right:  1.5px solid rgba(114, 18, 22, 0.3);
    border-radius: 60px;
    box-shadow: 
        0 12px 40px rgba(74, 35, 18, 0.06), 
        0 0 0 1px rgba(114, 18, 22, 0.25),
        0 0 15px rgba(114, 18, 22, 0.3),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1.5px 0 rgba(114, 18, 22, 0.2);
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.menu-primary-container ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.menu-primary-container a {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #721216;
    padding: 8px 0;
    position: relative;
}

.menu-primary-container a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #721216;
    transition: var(--transition-smooth);
}

.menu-primary-container a:hover::after {
    width: 100%;
}

.btn-join {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border: 1px solid rgba(30, 20, 15, 0.4);
    background-color: transparent;
    color: #721216;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.btn-join:hover {
    background-color: #721216;
    color: #F0E0D3;
    border-color: #721216;
    box-shadow: 0 4px 12px rgba(30, 20, 15, 0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    color: var(--color-text-primary);
    cursor: pointer;
}

/* ── Original Site Header Styles ── */
.site-header {
    height: var(--header-height);
    width: 100%;
    max-width: 100%;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
    display: flex;
    align-items: center;
    border-top:    1.5px solid transparent;
    border-left:   1.5px solid transparent;
    border-right:  1.5px solid transparent;
    border-bottom: 1.5px solid rgba(114, 18, 22, 0.25);
    border-radius: 0 0 20px 20px;
    box-shadow: 
        0 8px 30px rgba(74, 35, 18, 0.04),
        inset 0 -1.5px 0 rgba(114, 18, 22, 0.15);
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    top: 20px;
    width: calc(100% - 60px);
    max-width: var(--container-width);
    border-top:    1.5px solid rgba(255, 255, 255, 0.6);
    border-left:   1.5px solid rgba(255, 255, 255, 0.4);
    border-right:  1.5px solid rgba(114, 18, 22, 0.3);
    border-radius: 60px;
    box-shadow: 
        0 12px 40px rgba(74, 35, 18, 0.06), 
        0 0 0 1px rgba(114, 18, 22, 0.25),
        0 0 15px rgba(114, 18, 22, 0.3),
        inset 0 1.5px 0 rgba(255, 255, 255, 0.65),
        inset 0 -1.5px 0 rgba(114, 18, 22, 0.2);
}

.header-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    height: 55px; /* Keep the enlarged logo size */
    width: auto;
    object-fit: contain;
}

/* ── Hero Section (Conceptual Background style) ── */
.hero-section {
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    background-color: #ebd4c2; /* Solid beige color */
    background-image: url('../images/hero_redwood_trunk.png');
    background-repeat: no-repeat;
    background-position: center right;
    background-size: cover;
    overflow: hidden;
    padding-top: var(--header-height);
    box-sizing: border-box;
}

.hero-container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 2;
}

.hero-main-content {
    max-width: 620px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    box-sizing: border-box;
}

.hero-main-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: #721216;
    letter-spacing: 0.18em;
    margin-bottom: 20px;
    display: block;
}

.hero-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 6.2rem;
    font-weight: 600;
    line-height: 0.92;
    color: #721216;
    margin-bottom: 30px;
    margin-top: 0;
    letter-spacing: -0.03em;
}

.hero-main-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: rgba(114, 18, 22, 0.8);
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 480px;
}

.hero-main-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-discover {
    background: #4c0305;
    color: #ffffff !important;
    padding: 15px 35px;
    border-radius: 40px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(76, 3, 5, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-discover:hover {
    background: #8a1318;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(138, 19, 24, 0.3);
}

.action-divider {
    width: 1px;
    height: 35px;
    background: rgba(76, 3, 5, 0.2);
}

.btn-discord-connect {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-discord-connect:hover .discord-circle-btn {
    background: #4c0305;
    color: #ffffff;
    border-color: #4c0305;
}

.btn-discord-connect:hover .discord-btn-label {
    color: #8a1318;
}

.discord-circle-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid rgba(76, 3, 5, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4c0305;
    font-size: 1.15rem;
    transition: all 0.3s ease;
}

.discord-btn-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4c0305;
    margin-left: 14px;
    transition: all 0.3s ease;
}

/* ── Hero Footer Bar ── */
.hero-footer-bar {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 100%;
    z-index: 5;
}

.hero-footer-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align elements to the left */
    gap: 30px;
}

.footer-social-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.social-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(76, 3, 5, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4c0305;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-circle:hover {
    background: #4c0305;
    color: #ffffff;
    border-color: #4c0305;
    transform: translateY(-2px);
}

/* Responsive Navbar & Hero Styles */
@media (max-width: 991px) {
    /* Center contact page header and boxes on mobile */
    .contact-page-header .container {
        text-align: center !important;
    }
    .contact-breadcrumbs {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    .contact-info-card {
        flex-direction: column !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 30px 20px !important;
    }
    .contact-info-card .info-text-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    .contact-info-column, .contact-form-column {
        width: 100% !important;
        max-width: 580px !important;
        margin: 0 auto !important;
    }
    .contact-form-panel {
        text-align: center !important;
    }
    .neumorphic-contact-form {
        text-align: left !important;
    }

    /* Force center hero text and actions on mobile */
    .hero-main-content {
        align-items: center !important;
        text-align: center !important;
    }
    .hero-main-actions {
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        display: flex !important;
    }

    .hero-section {
        background-position: center center;
        background-size: cover;
        padding-top: 120px;
        padding-bottom: 120px;
    }
    .hero-container {
        padding: 0 24px;
    }
    .hero-main-content {
        padding: 40px;
        border-radius: 24px;
        max-width: 100%;
        background-color: #ebd4c2 !important;
        box-shadow: 
            0 15px 30px rgba(0, 0, 0, 0.1),
            0 -1px 8px rgba(255, 255, 255, 0.2),
            inset 0 2px 4px rgba(255, 255, 255, 0.4),
            inset 0 -6px 12px rgba(0, 0, 0, 0.18);
        transform: none !important;
    }
    .hero-main-content:hover {
        transform: none !important;
    }
    .hero-main-content:hover .hero-main-label,
    .hero-main-content:hover .hero-main-title,
    .hero-main-content:hover .hero-main-desc,
    .hero-main-content:hover .hero-main-actions {
        transform: none !important;
    }
    .hero-footer-bar {
        position: relative;
        bottom: 0;
        margin-top: 60px;
    }
    .hero-footer-container {
        padding: 0;
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    .hero-main-title {
        font-size: 4.2rem;
    }
    .hero-main-subtitle {
        font-size: 1.15rem;
    }
}


@media (max-width: 575px) {
    .hero-main-content {
        padding: 30px 20px;
        border-radius: 20px;
        background-color: #ebd4c2 !important;
        box-shadow: 
            0 10px 20px rgba(0, 0, 0, 0.08),
            0 -1px 6px rgba(255, 255, 255, 0.18),
    }
    .hero-layout-image2-container {
        padding: 100px 20px 180px 20px;
    }
}


/* --------------------------------------------------------------------------
   6. Services Section
   -------------------------------------------------------------------------- */
.services-section {
    position: relative;
    padding: 30px 0 60px 0;
    background: var(--color-bg-base);
    overflow: hidden;
}

.services-header {
    margin-bottom: 40px;
}

.services-subtitle {
    color: #721216; /* Brand color */
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.services-title {
    font-size: 3rem;
    color: var(--color-text-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.services-description {
    color: rgba(30, 20, 15, 0.6);
    font-size: 1.1rem;
}

/* Swiper Slider */
.services-slider {
    width: 100%;
    padding: 30px 0 50px;
}

.service-slide {
    width: 130px;
    height: 760px;
    transition: all 0.5s ease;
    opacity: 0.35;
    filter: brightness(0.5) saturate(0.6) blur(4px);
    transform: scale(0.9);
}

.swiper-slide-active.service-slide {
    opacity: 1;
    filter: brightness(1) saturate(1) blur(0);
    transform: scale(1.12);
    z-index: 5;
}

.swiper-slide-prev.service-slide,
.swiper-slide-next.service-slide {
    opacity: 0.75;
    filter: brightness(0.75) saturate(0.8) blur(1.5px);
    transform: scale(0.98);
}

/* #721216 = rgb(114, 18, 22) */
.slide-inner {
    width: 100%;
    height: 100%;
    border-radius: 22px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;

    /* Base colour: layered solid #721216 */
    background:
        /* Top-left specular highlight — simulates light hitting solid face */
        radial-gradient(ellipse at 30% 0%, rgba(255, 200, 205, 0.22) 0%, transparent 60%),
        /* Main colour fill */
        linear-gradient(
            160deg,
            rgba(150, 25, 32, 1) 0%,
            rgba(114, 18, 22, 1) 40%,
            rgba(60, 5, 8, 1) 100%
        );

    backdrop-filter: none;
    -webkit-backdrop-filter: none;

    /* 3D borders: bright top-left edge, dark bottom-right edge */
    border-top:    1.5px solid rgba(255, 180, 185, 0.55);
    border-left:   1.5px solid rgba(255, 180, 185, 0.35);
    border-right:  1.5px solid rgba(40, 5, 8, 0.6);
    border-bottom: 1.5px solid rgba(40, 5, 8, 0.6);

    box-shadow:
        /* Top-edge bright bevel (inside) */
        inset 0 1.5px 0 rgba(255, 195, 200, 0.55),
        /* Bottom-edge dark bevel (inside) */
        inset 0 -1.5px 0 rgba(30, 5, 8, 0.6),
        /* Left-edge bright bevel (inside) */
        inset 1.5px 0 0 rgba(255, 195, 200, 0.25),
        /* Right-edge dark bevel (inside) */
        inset -1.5px 0 0 rgba(30, 5, 8, 0.5);

    color: white;
}

/* Active card — intensified 3D glow + brighter edges */
.swiper-slide-active .slide-inner {
    background:
        radial-gradient(ellipse at 30% 0%, rgba(255, 210, 215, 0.35) 0%, transparent 60%),
        linear-gradient(
            160deg,
            rgba(180, 30, 38, 1) 0%,
            rgba(130, 20, 24, 1) 40%,
            rgba(70, 6, 10, 1) 100%
        );

    border-top:    1.5px solid rgba(255, 220, 225, 0.85);
    border-left:   1.5px solid rgba(255, 200, 205, 0.55);
    border-right:  1.5px solid rgba(40, 5, 8, 0.7);
    border-bottom: 1.5px solid rgba(40, 5, 8, 0.7);

    box-shadow:
        /* Top bright bevel */
        inset 0 1.5px 0 rgba(255, 230, 235, 0.9),
        /* Bottom dark bevel */
        inset 0 -1.5px 0 rgba(30, 5, 8, 0.6),
        /* Left bright bevel */
        inset 1.5px 0 0 rgba(255, 220, 225, 0.4),
        /* Right dark bevel */
        inset -1.5px 0 0 rgba(30, 5, 8, 0.5);
}

/* Navigation Arrow Buttons */
.services-slider {
    position: relative;
}

.svc-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 200, 205, 0.25) 0%, transparent 70%),
        rgba(114, 18, 22, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-top:  1.5px solid rgba(255, 180, 185, 0.6);
    border-left: 1.5px solid rgba(255, 180, 185, 0.35);
    border-right: 1.5px solid rgba(40, 5, 8, 0.5);
    border-bottom: 1.5px solid rgba(40, 5, 8, 0.5);
    color: rgba(255, 215, 220, 0.95);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow:
        0 6px 20px rgba(0,0,0,0.3),
        inset 0 1px 0 rgba(255, 195, 200, 0.5),
        inset 0 -1px 0 rgba(30, 5, 8, 0.4);
}

.svc-nav-btn:hover {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 210, 215, 0.4) 0%, transparent 70%),
        rgba(150, 25, 32, 1);
    border-top-color: rgba(255, 215, 220, 0.9);
    box-shadow:
        0 6px 25px rgba(0,0,0,0.4),
        0 0 15px rgba(200, 25, 35, 0.35),
        inset 0 1px 0 rgba(255, 215, 220, 0.8),
        inset 0 -1px 0 rgba(30, 5, 8, 0.5);
}

.svc-btn-prev { left: 20px; }
.svc-btn-next { right: 20px; }

.svc-nav-btn.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
}

.slide-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 14px 10px 0;
    color: rgba(255, 200, 185, 0.9);
}

.slide-content {
    padding: 0 10px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.slide-content h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    line-height: 1.2;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.sub-services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.sub-services-list li {
    font-size: 0.78rem;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    color: rgba(255, 255, 255, 0.85);
}

.sub-services-list li:last-child {
    border-bottom: none;
}

.slide-actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

.btn-slide {
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    transition: all 0.3s;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    flex: 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-slide:hover {
    background: #721216;
    color: white;
    border-color: #721216;
}

/* Timeline Navigation */
.services-timeline-nav {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.timeline-line {
    position: absolute;
    top: 60px;
    left: 40px;
    right: 40px;
    height: 1px;
    background: rgba(30, 20, 15, 0.15);
    z-index: 1;
}

.timeline-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    text-align: center;
    width: 120px;
    transition: all 0.3s ease;
}

.timeline-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--color-bg-base);
    border: 1px solid rgba(30, 20, 15, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: var(--color-text-dark);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.timeline-item span {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(30, 20, 15, 0.5);
    transition: all 0.3s;
    line-height: 1.4;
}

.timeline-item.active .timeline-icon {
    background: #721216;
    color: white;
    border-color: #721216;
    transform: scale(1.4);
    box-shadow: 0 5px 15px rgba(114, 18, 22, 0.3);
}

.timeline-item.active span {
    color: #721216;
}

/* --------------------------------------------------------------------------
   6.5. Philosophy & Strategic Pillars Sections (Textual)
   -------------------------------------------------------------------------- */

.philosophy-mobile-collapse {
    display: block;
}
.btn-philosophy-read-more {
    display: none;
}
.philosophy-section {
    background-color: #721216;
    border-top: 1px solid rgba(76, 3, 5, 0.08);
    border-bottom: 1px solid rgba(76, 3, 5, 0.08);
    position: relative;
    padding: 100px 0;
    box-shadow: inset 0 20px 40px rgba(0, 0, 0, 0.15), inset 0 -20px 40px rgba(0, 0, 0, 0.15);
}

.philosophy-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-left {
    background-color: #ebd4c2;
    padding: 50px;
    border-radius: 28px;
    box-shadow: inset 8px 8px 16px rgba(76, 3, 5, 0.28), inset -8px -8px 16px rgba(255, 255, 255, 0.9);
    border: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.philosophy-right {
    background-color: #ebd4c2;
    padding: 50px;
    border-radius: 28px;
    box-shadow: inset 8px 8px 16px rgba(76, 3, 5, 0.28), inset -8px -8px 16px rgba(255, 255, 255, 0.9);
    border: none;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-label {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: #8a1318;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.philosophy-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #4c0305;
    margin-bottom: 35px;
    letter-spacing: -0.02em;
}

.philosophy-quote {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.8rem;
    font-style: italic;
    line-height: 1.4;
    color: #8a1318;
    border-left: 3px solid #8a1318;
    padding-left: 25px;
    margin: 0;
}

.philosophy-lead {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1.6;
    color: #4c0305;
    margin-bottom: 30px;
}

.philosophy-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(76, 3, 5, 0.8);
    margin-bottom: 25px;
}

.philosophy-text:last-child {
    margin-bottom: 0;
}

@media (max-width: 991px) {
    .philosophy-section {
        background-color: #721216;
        padding: 60px 0;
    }
    .philosophy-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 24px;
    }
    .philosophy-left, .philosophy-right {
        padding: 40px 30px;
        border-radius: 24px;
    }
}

@media (max-width: 575px) {
    .philosophy-left, .philosophy-right {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .philosophy-heading {
        font-size: 2.4rem;
    }
    .philosophy-quote {
        font-size: 1.4rem;
    }
}

/* Strategic Pillars Section */

.pillar-desc-collapse {
    display: block;
}
.btn-pillar-read-more {
    display: none;
}
.pillars-section {
    background-color: #ebd4c2; /* Warm sand background buffer */
    position: relative;
    height: 250vh; /* Gives 2.5 screens of scroll pinning space */
    overflow: visible;
}

.pillars-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.pillars-editorial-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    grid-template-rows: auto 1fr; /* Row 1: Header, Row 2: Dial & Content */
    gap: 40px 80px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    padding: 60px 40px;
    position: relative;
}

/* Bold Centered Header block */
.pillars-bold-header {
    grid-column: span 2;
    width: 100%;
    text-align: center;
    z-index: 10;
}

.pillars-bold-title {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: #4c0305;
    margin: 10px 0 0 0;
    letter-spacing: -0.02em;
}

/* Left Visual Column - WOVE Dial Player */
.pillars-dial-col {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.wove-dial-player {
    position: relative;
    width: 400px;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Glass Maroon Switcher Box framed on the left side where numbers switch */
.wove-active-glass-tile {
    position: absolute;
    left: 205px; /* Shifted left by 80px */
    top: 50%;
    width: 90px;
    height: 90px;
    margin-top: -45px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(138, 19, 24, 0.95) 0%, rgba(76, 3, 5, 0.98) 100%);
    z-index: 1;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 10px 25px rgba(138, 19, 24, 0.35), 
        inset 0 2px 2px rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

.wove-active-glass-tile::before {
    content: '';
    position: absolute;
    top: 2px; left: 5px;
    width: calc(100% - 10px); height: 35%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
}

.wove-active-dot {
    position: absolute;
    left: 305px; /* Shifted left by 80px */
    top: 50%;
    width: 7px;
    height: 7px;
    background: #8a1318;
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(138, 19, 24, 0.4);
    z-index: 10;
}

.wove-dial-wrap {
    position: absolute;
    left: -410px; /* Center of the dial is shifted 80px further off-screen left */
    top: 50%;
    width: 660px;
    height: 660px;
    border-radius: 50%;
    transform: translateY(-50%) rotate(30deg);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.35, 1);
    z-index: 2;
}

/* Wove Dial SVG for background arc and trailing progress line */
.wove-dial-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg); /* Start circle stroke-dasharray from top center */
    transform-origin: center;
    pointer-events: none;
    z-index: 1;
}

#woveTrailCircle {
    transition: stroke-dashoffset 0.6s cubic-bezier(0.25, 1, 0.35, 1);
}

.dial-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    margin-top: -40px;
    margin-left: -40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: rgba(76, 3, 5, 0.18);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: center;
    transform: rotate(var(--angle)) translate(330px) rotate(calc(-1 * var(--angle)));
    z-index: 3;
}

.dial-item.active {
    color: #ffffff !important; /* White active text inside the red glass box */
    font-size: 3.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Right Content Column */
.pillars-content-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 5;
    height: 100%;
}

.pillars-details-board {
    position: relative;
    width: 100%;
    height: 380px;
}

/* Clean, Free-Floating text layout on desktop */
.pillar-details-card {
    display: none;
    align-items: flex-start;
    gap: 35px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) translateY(20px);
    width: 100%;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    padding: 0;
    overflow: visible;
}

.pillar-details-card.active {
    display: flex;
    opacity: 1;
    transform: translateY(-50%);
}

.giant-num {
    font-family: 'Outfit', sans-serif;
    font-size: 8rem;
    font-weight: 800;
    color: #8a1318; /* Brand red color */
    line-height: 0.8;
    letter-spacing: -0.05em;
    opacity: 0.15;
    z-index: 2;
    transition: all 0.5s ease;
}

.pillar-text-content {
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.pillar-detail-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #4c0305;
    margin-bottom: 15px;
    margin-top: 0;
}

.pillar-detail-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.65;
    color: rgba(76, 3, 5, 0.8);
    margin-bottom: 25px;
    margin-top: 0;
}

.pillar-tag-duration {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #8a1318;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

@media (max-width: 991px) {
    .pillars-section {
        height: 250vh !important;
        overflow: visible !important;
    }
    
    .pillars-sticky-container {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        overflow: hidden !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }
    
    .pillars-editorial-layout {
        position: relative !important;
        display: block !important;
        height: 100% !important;
        max-height: 100vh !important;
        padding: 40px 20px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .pillars-bold-header {
        position: relative !important;
        z-index: 20 !important;
        margin-bottom: 20px !important;
    }
    
    .pillars-bold-title {
        font-size: 2.2rem !important;
    }
    
    .pillars-dial-col {
        position: absolute !important;
        left: 0 !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 200px !important;
        height: 360px !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        overflow: visible !important;
        z-index: 5 !important;
    }
    
    .wove-dial-player {
        position: relative !important;
        width: 100% !important;
        height: 360px !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        overflow: visible !important;
    }
    
    .wove-dial-wrap {
        position: absolute !important;
        left: -230px !important;
        right: auto !important;
        top: 50% !important;
        width: 460px !important;
        height: 460px !important;
        transform: translateY(-50%) rotate(0deg);
        transform-origin: center !important;
        z-index: 2 !important;
    }
    
    .wove-dial-svg {
        width: 460px !important;
        height: 460px !important;
    }
    
    .dial-item {
        font-size: 1.8rem !important;
        width: 40px !important;
        height: 40px !important;
        margin-top: -20px !important;
        margin-left: -20px !important;
        transform: rotate(var(--angle)) translate(230px) rotate(calc(-1 * var(--angle))) !important;
    }
    
    .dial-item.active {
        font-size: 2.2rem !important;
    }
    
    .wove-active-glass-tile {
        right: -45px !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 90px !important;
        height: 90px !important;
    }
    
    .wove-active-dot {
        right: -10px !important;
        left: auto !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    .pillars-content-col {
        position: absolute !important;
        left: 70px !important;
        width: calc(100% - 90px) !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10 !important;
        pointer-events: none !important;
    }
    
    .pillars-details-board {
        width: 100% !important;
        height: auto !important;
        pointer-events: none !important;
    }
    
    .pillar-details-card {
        display: none !important;
    }
    
    .pillar-details-card.active {
        display: flex !important;
        flex-direction: column !important;
        position: relative !important;
        top: auto !important;
        transform: none !important;
        padding: 24px !important;
        background: rgba(235, 212, 194, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        border-radius: 20px !important;
        box-shadow: 10px 10px 30px rgba(76, 3, 5, 0.08) !important;
        gap: 8px !important;
        pointer-events: auto !important;
        box-sizing: border-box !important;
        animation: fadeIn 0.5s ease;
    }
    
    .giant-num {
        font-size: 3.5rem !important;
        line-height: 1 !important;
    }
    
    /* Philosophy collapsable container on mobile */
    .pillar-desc-collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        opacity: 0;
    }
    
    .btn-pillar-read-more {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 8px 16px;
        margin: 15px 0;
        background-color: #ebd4c2;
        border: none;
        border-radius: 8px;
        color: #721216;
        font-family: 'Outfit', sans-serif;
        font-size: 0.8rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        cursor: pointer;
        box-shadow: 3px 3px 8px rgba(76, 3, 5, 0.12), -3px -3px 8px rgba(255, 255, 255, 0.7);
        transition: all 0.25s ease;
    }
    
    .btn-pillar-read-more:active {
        box-shadow: inset 2px 2px 4px rgba(76, 3, 5, 0.15), inset -2px -2px 4px rgba(255, 255, 255, 0.7);
    }
}

/* --------------------------------------------------------------------------
   7. About Us — Tree Bark Interactive Section
   -------------------------------------------------------------------------- */
.about-tree-section {
    background: #721216; /* Restore crimson brand color background */
    position: relative;
    overflow: hidden; /* Prevent horizontal viewport clipping scrollbars */
}

/* ── Background Creme Stencil Leaves ── */
.stencil-leaves-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.stencil-leaf {
    position: absolute;
    width: 180px;
    height: 180px;
    pointer-events: none;
    fill: rgba(227, 206, 190, 0.05); /* Soft creme fill tint */
    stroke: rgba(227, 206, 190, 0.12); /* Soft creme line contour */
    stroke-width: 1.5px;
}

.stencil-leaf.leaf-1 {
    top: 3%;
    left: -30px;
    transform: rotate(35deg);
}

.stencil-leaf.leaf-2 {
    top: 25%;
    right: -40px;
    transform: rotate(-45deg) scale(1.3);
}

.stencil-leaf.leaf-3 {
    bottom: 25%;
    left: -20px;
    transform: rotate(115deg) scale(1.1);
}

.stencil-leaf.leaf-4 {
    bottom: 4%;
    right: 30px;
    transform: rotate(-20deg) scale(1.25);
}

/* ── About Content Wrapper ── */
.about-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* ── Top Header Banner styled like img 2 ── */
.about-header-banner {
    position: relative;
    /* Gradient face to create physical 3D roundness/volume */
    background: linear-gradient(135deg, #f2ded0 0%, #E3CEBE 50%, #cca991 100%);
    border-radius: 40px; /* Smooth squircle corners */
    overflow: hidden;
    padding: 60px 50px;
    margin-bottom: 60px;
    
    /* Deep 3D Neumorphic shadow setup on dark red background */
    box-shadow: 
        25px 25px 50px rgba(20, 2, 3, 0.85), 
        -25px -25px 50px rgba(255, 100, 110, 0.22),
        inset 8px 8px 16px rgba(255, 255, 255, 0.9), 
        inset -8px -8px 16px rgba(135, 108, 89, 0.45);
}

/* Layered capsule shapes on the left side - in sand/beige shades */
.about-header-banner .capsule-overlay {
    pointer-events: none;
    border-radius: 0 300px 300px 0;
}

.about-header-banner .capsule-1 {
    position: absolute;
    top: -50px; left: -150px;
    width: 480px; height: calc(100% + 100px);
    background: rgba(247, 226, 208, 0.4); /* #F7E2D0 tint */
    z-index: 1;
}

.about-header-banner .capsule-2 {
    position: absolute;
    top: -20px; left: -150px;
    width: 380px; height: calc(100% + 40px);
    background: rgba(227, 206, 190, 0.6); /* #E3CEBE tint */
    z-index: 2;
    box-shadow: 10px 0 20px rgba(114, 18, 22, 0.04);
}

.about-header-banner .capsule-3 {
    position: absolute;
    top: 10px; left: -150px;
    width: 280px; height: calc(100% - 20px);
    background: #E3CEBE;
    z-index: 3;
    box-shadow: 10px 0 20px rgba(114, 18, 22, 0.08);
}

/* Content Container */
.about-header-banner-content {
    position: relative;
    z-index: 10; /* high z-index to stay above background capsules */
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.banner-left-col {
    width: 52%;
    text-align: left;
}

.banner-subtitle {
    display: block;
    color: #721216; /* Crimson brand color for subtitle */
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.banner-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.3rem;
    line-height: 1.25;
    font-weight: 700;
    color: #721216; /* Crimson brand color for title */
    margin: 0;
}

/* Vertical divider line */
.banner-divider {
    width: 1.5px;
    height: 90px;
    background: rgba(114, 18, 22, 0.2); /* Crimson divider line */
    margin: 0 45px;
}

.banner-right-col {
    width: 43%;
    text-align: left;
}

.banner-desc {
    font-size: 1.05rem;
    color: rgba(114, 18, 22, 0.85); /* Highly readable crimson text */
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for header banner */
@media (max-width: 991px) {
    .about-header-banner {
        padding: 50px 35px;
    }
    .banner-title {
        font-size: 2rem;
    }
    .banner-divider {
        margin: 0 30px;
    }
}

@media (max-width: 767px) {
    .about-header-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }
    .banner-left-col,
    .banner-right-col {
        width: 100%;
        text-align: left;
    }
    .banner-divider {
        width: 100%;
        height: 1.5px;
        margin: 5px 0;
    }
    .banner-title {
        font-size: 1.8rem;
    }
    .banner-desc {
        font-size: 0.95rem;
    }
}


/* ── Bottom Cards Grid ── */
.about-cards-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px; /* larger gap to accommodate neumorphic shadows */
    background: transparent; /* Floats directly on section background */
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.about-card {
    border-radius: 40px; /* Soft liquid neumorphic corners */
    padding: 35px 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 260px;
    justify-content: flex-start;
    flex: 1 1 calc(33.333% - 27px);
    max-width: calc(33.333% - 27px);
    
    /* Restore dark crimson neumorphic background */
    background: #721216;
    border: none;
    color: #E3CEBE;
    box-shadow: 
        10px 10px 20px rgba(40, 4, 6, 0.55), 
        -10px -10px 20px rgba(255, 90, 100, 0.16);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Override brand colored tiles styles to use pure neumorphic colors */
.about-card.tile-brand {
    background: #721216;
    box-shadow: 
        10px 10px 20px rgba(40, 4, 6, 0.55), 
        -10px -10px 20px rgba(255, 90, 100, 0.16);
}

/* Hover: Neumorphic sunken (pressed) effect */
.about-card:hover {
    transform: scale(0.98);
    box-shadow: 
        inset 8px 8px 16px rgba(40, 4, 6, 0.65), 
        inset -8px -8px 16px rgba(255, 90, 100, 0.14);
}

.about-card.tile-brand h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #E3CEBE;
}

.about-card.tile-brand p {
    font-size: 0.9rem;
    color: rgba(227, 206, 190, 0.8);
    line-height: 1.5;
    margin: 0;
}

/* Icon Wrap: Sunken Neumorphic Well */
.about-card .card-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #721216;
    box-shadow: 
        inset 4px 4px 8px rgba(40, 4, 6, 0.55), 
        inset -4px -4px 8px rgba(255, 90, 100, 0.14);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.8rem;
    color: #E3CEBE;
    position: relative;
    transition: all 0.3s ease;
}

/* Remove long shadows */
.about-card .card-icon-wrap::after {
    display: none;
}

.about-card .card-icon-wrap i,
.about-card .card-icon-wrap svg {
    position: relative;
    z-index: 2;
}

.about-card .card-icon-wrap svg {
    color: #E3CEBE;
}

/* Hover: Icon wrap pops up */
.about-card:hover .card-icon-wrap {
    transform: scale(1.05);
    box-shadow: 
        4px 4px 8px rgba(40, 4, 6, 0.55), 
        -4px -4px 8px rgba(255, 90, 100, 0.14);
}

/* Responsive adjustments for Flex Grid */
@media (max-width: 991px) {
    .about-cards-grid {
        padding: 40px 30px;
        gap: 30px;
    }
    .about-card {
        flex: 1 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .about-cards-grid {
        padding: 30px 20px;
        gap: 20px;
        border-radius: 32px;
    }
    .about-card {
        flex: 1 1 100%;
        max-width: 100%;
        min-height: auto;
        padding: 30px 25px;
    }
}


/* --------------------------------------------------------------------------
   7.5. Leadership Team, Tech Stack, & Partners Sections (Textual B2B)
   -------------------------------------------------------------------------- */
.team-section {
    background-color: #ebd4c2; /* Warm sand background */
    position: relative;
    padding: 100px 0;
}

.team-header {
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.team-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #4c0305;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.team-subheading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    color: rgba(76, 3, 5, 0.8);
}

.team-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.home .team-card-3d {
    width: 350px;
    max-width: 100%;
}

/* 3D Flip Card Container */
.team-card-3d {
    perspective: 1000px;
    height: 380px;
    cursor: pointer;
    width: 100%;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 1.6s cubic-bezier(0.15, 0.9, 0.3, 1); /* Slower, high-end spin */
    transform-style: preserve-3d;
}

/* Flip trigger on hover - flips Y-axis and lifts Z-axis to pop forward */
.team-card-3d:hover .team-card-inner {
    transform: rotateY(180deg) translateZ(15px);
}

/* Shared Face Styling */
.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 24px;
    padding: 45px 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-style: preserve-3d; /* Allows nested elements to animate in 3D */
}

/* Front Face Styling - Glowing Brand Red Glass Box (translateZ pushes forward by 10px) */
.team-card-front {
    background: linear-gradient(135deg, rgba(138, 19, 24, 0.9) 0%, rgba(76, 3, 5, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    transform: translateZ(10px); /* Pushes face to front edge of 3D box */
    box-shadow: 
        0 15px 35px rgba(138, 19, 24, 0.22), 
        inset 0 2px 2px rgba(255, 255, 255, 0.25);
    overflow: hidden;
}

/* Back Face Styling - Deep Red Maroon Glass Box (translateZ pushes forward in reverse Y-plane) */
.team-card-back {
    background: linear-gradient(135deg, rgba(76, 3, 5, 0.96) 0%, rgba(20, 0, 1, 0.98) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    transform: rotateY(180deg) translateZ(10px); /* Pushes face to back edge of 3D box */
    box-shadow: 
        0 20px 45px rgba(0, 0, 0, 0.35), 
        inset 0 2px 2px rgba(255, 255, 255, 0.15);
    overflow: hidden;
    text-align: left;
    align-items: flex-start;
    justify-content: flex-start;
}

/* 3D Box Sides (Volumetric Thickness Panels) */
.card-side {
    position: absolute;
    background: linear-gradient(to bottom, #721216 0%, #200001 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 0;
    border-radius: 12px; /* Smooth corners matching front/back radius */
}

/* Left panel: sits on left edge and folds back along the Z-axis, centered at X=0 */
.card-side-left {
    width: 20px;
    height: 100%;
    top: 0;
    left: -10px;
    transform-origin: center center;
    transform: rotateY(-90deg);
}

/* Right panel: sits on right edge and folds back along the Z-axis, centered at X=width */
.card-side-right {
    width: 20px;
    height: 100%;
    top: 0;
    right: -10px;
    transform-origin: center center;
    transform: rotateY(90deg);
}

/* Top panel: sits on top edge and folds back along the Z-axis, centered at Y=0 */
.card-side-top {
    height: 20px;
    width: 100%;
    left: 0;
    top: -10px;
    transform-origin: center center;
    transform: rotateX(90deg);
}

/* Bottom panel: sits on bottom edge and folds back along the Z-axis, centered at Y=height */
.card-side-bottom {
    height: 20px;
    width: 100%;
    left: 0;
    bottom: -10px;
    transform-origin: center center;
    transform: rotateX(-90deg);
}

/* Glass Specular Gloss Highlight Overlay */
.team-card-front::before,
.team-card-back::before {
    content: '';
    position: absolute;
    top: 3px; left: 8px;
    width: calc(100% - 16px); height: 35%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 20px;
    border-top: 1.2px solid rgba(255, 255, 255, 0.45);
    pointer-events: none;
    z-index: 1;
}

.member-initials-wrapper {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 25px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    z-index: 2;
}

.card-marcus .member-initials-wrapper {
    background: linear-gradient(135deg, #f0c39e 0%, #d89f76 100%);
    color: #4c0305;
    box-shadow: 0 6px 15px rgba(216, 159, 118, 0.3);
}

.card-evelyn .member-initials-wrapper {
    background: linear-gradient(135deg, #ff8a90 0%, #e33c44 100%);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(227, 60, 68, 0.3);
}

.card-julian .member-initials-wrapper {
    background: linear-gradient(135deg, #ebd4c2 0%, #ff8a90 100%);
    color: #ffffff;
    box-shadow: 0 6px 15px rgba(255, 138, 144, 0.3);
}

.team-card-3d:hover .member-initials-wrapper {
    transform: scale(1.05) rotate(5deg);
}

.member-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.member-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #ffffff; /* White text on red glass background */
    margin-bottom: 8px;
}

.member-role {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ebd4c2; /* Sand gold color contrast */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Back Face Typographies */
.back-member-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    margin-top: 0;
}

.back-member-role {
    font-family: 'Outfit', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff8a90;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 25px;
}

.back-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.back-details-list li {
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
    position: relative;
    padding-left: 18px;
}

.back-details-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: -1px;
    color: #ff8a90;
    font-size: 1.1rem;
}

/* Responsive grid updates for 3D team cards */
@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .team-card-3d {
        height: 400px;
    }
}

@media (max-width: 767px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 400px;
        margin: 0 auto;
    }
    .team-card-3d {
        height: 380px;
    }
}

/* ── Section B: Platform Integrations & Tech Stack ── */
.tech-section {
    background-color: #faf7f4; /* Clean warm off-white */
    position: relative;
    padding: 100px 0;
    border-bottom: 1px solid rgba(76, 3, 5, 0.05);
}

.tech-header {
    max-width: 800px;
    margin-bottom: 60px;
}

.tech-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    color: #4c0305;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.tech-subheading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    line-height: 1.5;
    color: rgba(76, 3, 5, 0.8);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-card {
    background: #ffffff;
    border: 1.5px solid rgba(76, 3, 5, 0.06);
    border-radius: 16px;
    padding: 35px 30px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.tech-card:hover {
    transform: translateY(-6px);
    background: linear-gradient(180deg, #ffffff 0%, #faf6f2 100%);
    box-shadow: 0 15px 35px rgba(138, 19, 24, 0.08);
    border-color: rgba(138, 19, 24, 0.35);
}

.tech-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(138, 19, 24, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #8a1318;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.tech-card:hover .tech-icon-wrapper {
    transform: scale(1.1);
    color: #ebd4c2;
    background: #8a1318;
}

.tech-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #4c0305;
    margin-bottom: 12px;
}

.tech-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(76, 3, 5, 0.8);
    margin: 0;
}

/* ── Section C: Partners & Ecosystem Ticker ── */
.ticker-section {
    background-color: #faf7f4;
    padding: 80px 0 100px 0;
    position: relative;
    overflow: hidden;
}

.ticker-header {
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.ticker-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: #4c0305;
}

.logo-ticker-wrap {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.logo-ticker-wrap::before,
.logo-ticker-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.logo-ticker-wrap::before {
    left: 0;
    background: linear-gradient(to right, #faf7f4 0%, rgba(250, 247, 244, 0) 100%);
}

.logo-ticker-wrap::after {
    right: 0;
    background: linear-gradient(to left, #faf7f4 0%, rgba(250, 247, 244, 0) 100%);
}

.logo-ticker {
    display: flex;
    width: max-content;
}

.ticker-group {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
    animation: ticker-scroll 30s linear infinite;
}

.ticker-item {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: rgba(76, 3, 5, 0.4);
    display: flex;
    align-items: center;
    gap: 15px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.ticker-item i {
    font-size: 2rem;
}

.ticker-item:hover {
    color: #8a1318;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@media (max-width: 991px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .tech-card {
        padding: 20px !important;
        border-radius: 20px !important;
    }
    .tech-icon-wrapper {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    .tech-title {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }
    .tech-desc {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
    }
    
    .team-section, .tech-section {
        padding: 70px 0;
    }
    
    .team-heading, .tech-heading {
        font-size: 2.6rem;
    }
}

/* --------------------------------------------------------------------------
   8. Case Studies Section
   -------------------------------------------------------------------------- */
/* ── Our Process Section ── */
.process-section {
    background: #ebd4c2; /* Soft sand background as a buffer */
    position: relative;
    overflow: hidden;
    padding: 40px 0 40px 0;
    border-bottom: 1.5px solid rgba(114, 18, 22, 0.08);
}

.process-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-subtitle {
    display: block;
    color: #721216;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.process-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem;
    color: #1e140f;
    font-weight: 700;
    margin-bottom: 15px;
}

.process-desc {
    color: rgba(30, 20, 15, 0.65);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Frosted Crystal Card Style */
.process-card {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.7);
    padding: 35px 30px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.03),
        inset 0 2px 4px rgba(255, 255, 255, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.process-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.process-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    color: rgba(114, 18, 22, 0.25);
    line-height: 1;
}

.process-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(114, 18, 22, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #721216;
    font-size: 1.2rem;
    border: 1px solid rgba(114, 18, 22, 0.1);
}

.process-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #1e140f;
    margin-bottom: 12px;
}

.process-card-desc {
    color: rgba(30, 20, 15, 0.68);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Hover scales up and casts a warm maroon shadow */
.process-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 
        0 25px 45px rgba(114, 18, 22, 0.08),
        inset 0 2px 4px rgba(255, 255, 255, 0.8);
}

.process-card:hover .process-num {
    color: #721216;
    text-shadow: 0 0 10px rgba(114, 18, 22, 0.15);
}

.process-card:hover .process-icon {
    background: #721216;
    color: #ebd4c2;
    border-color: #721216;
    transform: rotate(15deg);
    transition: all 0.3s ease;
}

/* Responsive grid breaks */
@media (max-width: 991px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 575px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    .process-card {
        padding: 20px 15px !important;
        border-radius: 20px !important;
    }
    .process-card-title {
        font-size: 1.1rem !important;
        margin-bottom: 6px !important;
    }
    .process-card-desc {
        font-size: 0.82rem !important;
        line-height: 1.4 !important;
    }
    .process-num {
        font-size: 1.5rem !important;
    }
    .process-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.95rem !important;
    }
}

/* ── Case Studies Section ── */
.case-studies-section {
    background: radial-gradient(circle at 50% 30%, #8a1318 0%, #4c0305 60%, #150001 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 0 100px 0;
}

/* ── Blogs Glass Header Tile (Mockup Design) ── */
/* ── Blogs Glass Header Tile (Mockup Design) ── */
.blogs-header-tile {
    position: relative;
    border-radius: 60px;
    overflow: hidden;
    margin-bottom: 70px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 50px 60px;
    background: linear-gradient(135deg, rgba(245, 235, 225, 0.65) 0%, rgba(227, 206, 190, 0.45) 100%);
    backdrop-filter: blur(25px) saturate(130%);
    -webkit-backdrop-filter: blur(25px) saturate(130%);
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    box-shadow: 
        0 30px 60px rgba(114, 18, 22, 0.04), 
        inset 0 3px 10px rgba(255, 255, 255, 0.65),
        inset 0 -3px 10px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: center;
    min-height: 200px;
}

.glass-reflection-shine {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 20%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, 0.06) 100%);
    pointer-events: none;
    z-index: 1;
}

.tile-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    width: 100%;
}

.tile-text-wrap {
    flex-grow: 1;
}

.tile-subtitle {
    display: block;
    color: #721216;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tile-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    color: #1e140f;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
}

.tile-desc {
    color: rgba(30, 20, 15, 0.75);
    font-size: 1.05rem;
    line-height: 1.65;
    max-width: 750px;
}

/* Tablet & Mobile responsive for Blogs Tile */
@media (max-width: 991px) {
    .blogs-header-tile {
        padding: 40px;
        border-radius: 40px;
        margin-bottom: 50px;
    }
    .tile-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .blogs-header-tile {
        padding: 30px 20px;
    }
    .tile-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    .tile-toggle-btn {
        width: 80px;
        height: 80px;
    }
    .tile-toggle-inner {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    .tile-title {
        font-size: 1.8rem;
    }
    .tile-desc {
        font-size: 0.95rem;
    }
}

/* ── Case Studies Layout (Blogs Switcher) ── */
.case-studies-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Left: Blog Info Display */
.cs-info-display {
    position: relative;
    min-height: 400px;
    background: linear-gradient(135deg, rgba(245, 235, 225, 0.6) 0%, rgba(227, 206, 190, 0.4) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    padding: 45px;
    box-shadow: 
        0 25px 50px rgba(114, 18, 22, 0.04), 
        inset 0 3px 10px rgba(255, 255, 255, 0.55),
        inset 0 -3px 10px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.cs-content-panel {
    position: absolute;
    top: 45px; left: 45px;
    width: calc(100% - 90px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cs-content-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.cs-meta {
    display: block;
    color: #721216;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.cs-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    color: #1e140f;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.25;
}

.cs-desc {
    color: rgba(30, 20, 15, 0.7);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 30px;
}

.cs-metric-wrap {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.cs-metric-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: #721216;
    line-height: 1;
    letter-spacing: -0.02em;
}

.cs-metric-lbl {
    font-size: 0.95rem;
    text-transform: uppercase;
    color: rgba(30, 20, 15, 0.6);
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Right: Control Deck pedestal */
.cs-control-deck {
    background: linear-gradient(135deg, rgba(245, 235, 225, 0.6) 0%, rgba(227, 206, 190, 0.4) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 40px;
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    box-shadow: 
        0 25px 50px rgba(114, 18, 22, 0.04), 
        inset 0 3px 10px rgba(255, 255, 255, 0.55),
        inset 0 -3px 10px rgba(0, 0, 0, 0.02);
}

.deck-label {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(114, 18, 22, 0.75);
    text-transform: uppercase;
}

.deck-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
}

/* Switcher Buttons exactly matching the mockups */
/* Switcher Buttons exactly matching the mockups */
.cs-trigger-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    user-select: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-sizing: border-box;
    width: 100%;
    
    /* Base style for dark maroon glossy candy buttons */
    background: linear-gradient(180deg, #3a0003 0%, #1a0001 100%);
    border-radius: 50px;
    padding: 15px 10px;
    text-align: center;
    font-weight: 700;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.35),
        inset 0 2px 2px rgba(255, 255, 255, 0.25),
        inset 0 -6px 12px rgba(0, 0, 0, 0.5);
    
    /* Inactive State: slightly dimmed and scaled down */
    opacity: 0.75;
    transform: scale(0.96);
    filter: saturate(90%);
}

.cs-trigger-btn .btn-text {
    z-index: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 5px;
}

/* Glass specular pill shine overlay exactly matching the photo */
.cs-trigger-btn::before {
    content: '';
    position: absolute;
    top: 3px; left: 8px;
    width: calc(100% - 16px); height: 38%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0) 100%);
    border-radius: 20px;
    border-top: 1.2px solid rgba(255, 255, 255, 0.55);
    pointer-events: none;
    z-index: 1;
}

/* Hover & Active Glowing States matching the photo red halo */
.cs-trigger-btn:hover,
.cs-trigger-btn.active {
    opacity: 1;
    transform: scale(1.03);
    filter: saturate(100%);
    background: linear-gradient(180deg, #500104 0%, #8c0c11 50%, #300002 100%);
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.22), 
        inset 0 2px 2px rgba(255, 255, 255, 0.4), 
        inset 0 -6px 12px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
}

/* Retain classes mapping to prevent template conflicts, all pointing to the same look */
.cs-trigger-btn.btn-glow-red,
.cs-trigger-btn.btn-glow-amber,
.cs-trigger-btn.btn-glow-orange,
.cs-trigger-btn.btn-glow-green,
.cs-trigger-btn.btn-glow-yellow,
.cs-trigger-btn.btn-glow-teal,
.cs-trigger-btn.btn-glow-blue,
.cs-trigger-btn.btn-glow-indigo,
.cs-trigger-btn.btn-glow-purple,
.cs-trigger-btn.btn-glow-pink {
    /* Mapped to standard styles above */
}

/* Responsive Styles */
@media (max-width: 991px) {
    .case-studies-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .cs-info-display {
        min-height: 320px;
        text-align: center;
    }
    .cs-meta {
        margin-bottom: 10px;
    }
    .cs-title {
        font-size: 2.2rem;
    }
    .cs-metric-wrap {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .cs-control-deck {
        padding: 30px 15px;
    }
    .deck-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .cs-trigger-btn {
        height: 50px; /* slightly shorter to fit well */
    }
    .cs-trigger-btn .btn-text {
        font-size: 0.75rem; /* smaller text to prevent truncation */
        padding: 0 2px;
    }
}

/* --------------------------------------------------------------------------
   9. FAQ Section
   -------------------------------------------------------------------------- */
.faq-section {
    background-color: #faf7f4;
    padding: 100px 0;
    position: relative;
    border-top: 1px solid rgba(76, 3, 5, 0.05);
}

.faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 60px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left Branding Card styling as a frosted beige crystal shield */
.faq-brand-card {
    background: rgba(245, 235, 225, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 15px 35px rgba(76, 3, 5, 0.05);
    position: sticky;
    top: 120px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(76, 3, 5, 0.1);
    border-color: rgba(255, 255, 255, 0.85);
}

.faq-q-bubble, .faq-a-bubble {
    display: flex;
    gap: 20px;
    position: relative;
}

.faq-q-bubble {
    margin-bottom: 30px;
    border-bottom: 1.5px solid rgba(76, 3, 5, 0.08);
    padding-bottom: 24px;
}

.faq-brand-card .badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #4c0305;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(76, 3, 5, 0.15);
}

.faq-a-bubble .badge {
    background: #8a1318;
}

.faq-q-bubble h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    color: #4c0305;
    line-height: 1.3;
    margin: 0;
}

.faq-a-bubble p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.02rem;
    color: rgba(76, 3, 5, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* Right Accordion styling */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 18px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-item:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(138, 19, 24, 0.25);
    transform: translateX(5px);
}

.accordion-item.active {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(138, 19, 24, 0.35);
    box-shadow: 0 15px 35px rgba(76, 3, 5, 0.06);
}

.accordion-header {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Outfit', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #4c0305;
    text-align: left;
    transition: all 0.3s ease;
}

.accordion-header .icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(138, 19, 24, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a1318;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.accordion-item.active .accordion-header {
    color: #8a1318;
}

.accordion-item.active .accordion-header .icon {
    background: #8a1318;
    color: #ffffff;
    transform: rotate(45deg); /* Spin '+' to 'x' close */
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 30px;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s ease;
}

.accordion-content p {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: rgba(76, 3, 5, 0.8);
    line-height: 1.65;
    padding-bottom: 24px;
    margin: 0;
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Generous height boundary */
    padding: 0 30px;
}

/* --------------------------------------------------------------------------
   10. Let's Talk CTA Section
   -------------------------------------------------------------------------- */
.lets-talk-section {
    padding: 40px 0 60px 0;
    background: var(--color-bg-base); /* Warm beige background to blend smoothly */
    position: relative;
    z-index: 2; /* Sit above footer */
}

.lets-talk-container {
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 40px;
    background-color: transparent;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-cta-image-only {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-cta-image-only:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.cta-image-link {
    display: block;
    width: 100%;
}

.cta-image-link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* --------------------------------------------------------------------------
   11. Footer
   -------------------------------------------------------------------------- */
.custom-premium-footer {
    background-color: #721216 !important;
    position: relative;
    padding: 60px 0 40px 0 !important;
    overflow: hidden;
    color: #ffffff !important;
    border-top: none !important;
}

/* Custom top shape */
.footer-top-shape-svg {
    position: absolute;
    top: -49px;
    left: 0;
    width: 100%;
    height: 50px;
    z-index: 2;
    pointer-events: none;
}

.footer-top-shape-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Top Row: Brand & Links Grid (Inside Cream Card) */
.footer-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-branding-col {
    max-width: 320px;
}

.footer-logo-main {
    height: 60px; /* Slightly scaled for the card */
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline-text {
    font-size: 0.95rem;
    color: rgba(42, 10, 12, 0.7); /* Dark brown/red tagline */
    line-height: 1.5;
    font-weight: 500;
}

.footer-links-grid {
    display: flex;
    gap: 80px;
}

.footer-links-col h3 {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #721216; /* Brand crimson headers */
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-col ul a {
    font-size: 0.9rem;
    color: rgba(42, 10, 12, 0.75); /* Dark brown links */
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links-col ul a:hover {
    color: #721216; /* Hover brand crimson */
    padding-left: 4px;
}

/* Cream Newsletter Card */
.footer-newsletter-card {
    background-color: #E1CCBC; /* Exact cream/beige color from image */
    border-radius: 36px;
    padding: 50px;
    margin-bottom: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(114, 18, 22, 0.05);
}

.footer-newsletter-card .card-divider {
    border: none;
    border-top: 1px solid rgba(114, 18, 22, 0.1);
    margin: 35px 0;
}

/* Card Header */
.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.btn-card-cta {
    background: #721216;
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1.5px solid #721216;
    box-shadow: 0 4px 12px rgba(114, 18, 22, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-card-cta:hover {
    background: #ffffff;
    color: #721216 !important;
    border-color: #721216;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(114, 18, 22, 0.35);
}

.card-newsletter-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.8rem; /* Scaled down for side-by-side */
    color: #2a0a0c;
    font-weight: 700;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Card Footer Row */
.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.card-newsletter-info {
    font-size: 0.82rem;
    color: rgba(42, 10, 12, 0.7);
    line-height: 1.5;
    max-width: 500px;
    margin: 0;
    text-align: left;
}

.card-socials-wrap {
    display: flex;
    gap: 12px;
}

.card-socials-wrap a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid #721216;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #721216;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.card-socials-wrap a:hover {
    background: #721216;
    color: #ffffff;
    transform: translateY(-3px);
}

/* Outside/Bottom details */
.footer-anti-spam-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 0 10px;
}

.card-anti-spam-text {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 250px;
    line-height: 1.4;
    font-weight: 500;
}

/* Bottom copyright & legal */
.footer-bottom-copyright-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 25px;
}

.footer-bottom-copyright-row p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
}

.footer-legal-links {
    display: flex;
    gap: 15px;
    font-size: 0.82rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

.footer-legal-links .separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive Premium Footer */
@media (max-width: 991px) {
    .card-header-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .card-newsletter-title {
        font-size: 2.5rem;
    }
    
    .footer-top-row {
        flex-direction: column;
        gap: 40px;
        align-items: center;
        text-align: center;
    }
    
    .footer-links-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .card-footer-row {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .card-newsletter-info {
        text-align: center;
        margin: 0 auto;
    }
    
    .footer-newsletter-card .card-divider {
        margin: 25px 0;
    }
}

@media (max-width: 767px) {
    .footer-links-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        text-align: left !important;
    }
    .footer-links-col h3 {
        font-size: 0.72rem !important;
        margin-bottom: 12px !important;
    }
    .footer-links-col ul li {
        margin-bottom: 8px !important;
    }
    .footer-links-col ul li a {
        font-size: 0.76rem !important;
    }
    
    .footer-newsletter-card {
        padding: 30px 20px;
        border-radius: 24px;
    }
    
    .card-newsletter-title {
        font-size: 2.2rem;
    }
    
    .footer-anti-spam-bar {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        text-align: center;
    }
    
    .footer-bottom-copyright-row {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding-bottom: 90px;
    }
    .footer-bottom-copyright-row > p {
        order: 1;
    }
    .footer-bottom-copyright-row .footer-legal-links {
        order: 2;
    }
    .footer-bottom-copyright-row .made-with-love {
        order: 3;
        margin-top: 5px;
    }
}

/* --------------------------------------------------------------------------
   12. Micro-Animations & Scroll Effects
   -------------------------------------------------------------------------- */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-actions {
    animation-delay: 0.4s;
}

.hero-description {
    animation-delay: 0.2s;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll reveal defaults */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   13. Responsive Styles (Mobile Adaptations)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .footer-newsletter {
        grid-column: span 3;
    }
    
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .hero-date-wrapper {
        display: none; /* Hide date overlays on smaller tablets */
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .site-header {
        position: fixed;
        background: rgba(255, 255, 255, 0.45);
        box-shadow: 
            0 8px 25px rgba(74, 35, 18, 0.05), 
            0 0 0 1px rgba(114, 18, 22, 0.2),
            0 0 12px rgba(114, 18, 22, 0.25);
    }
    
    .header-container {
        position: relative;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .menu-primary-container {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: -20px;
        right: -20px;
        background: var(--color-bg-base);
        border-bottom: 1px solid rgba(74, 35, 18, 0.1);
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
    }
    
    .menu-primary-container.active {
        display: block;
    }
    
    .menu-primary-container ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .services-grid-container {
        grid-template-columns: 1fr;
    }
    
    .services-spine-spacer {
        display: none;
    }
    
    .services-left, .services-right {
        text-align: left;
        padding: 0;
    }
    
    .services-left .service-card {
        flex-direction: row;
    }
    
    /* Arch layout tablet scaling */
    .circle-carousel-wrapper {
        --arch-radius: 270px; /* Increased to support wider tablet layout */
        gap: 15px;
    }
    .circle-arena {
        width: 600px;
        height: 315px;
        overflow: hidden;
    }
    .arch-track {
        width: 540px;
        height: 540px;
        top: 45px;
        left: 50%;
        margin-left: -270px;
    }
    .arch-card {
        width: 90px;
        height: 90px;
        margin-left: -45px;
        margin-top: -45px;
        border-radius: 16px;
    }
    .arch-center-placard-wrapper {
        margin: -100px auto 40px;
        gap: 20px;
        padding: 0 10px;
    }
    .arch-center-placard {
        position: absolute;
        bottom: 0; left: 50%;
        transform: translateX(-50%);
        width: 300px;
        height: 215px;
        min-height: auto;
        border-radius: 150px 150px 18px 18px;
    }
    .placard-slide {
        padding: 45px 25px 20px;
    }
    .placard-title {
        font-size: 1.25rem;
        margin-bottom: 6px;
    }
    .placard-desc {
        font-size: 0.78rem;
        max-width: 170px;
    }
    .placard-icon-wrap {
        width: 36px;
        height: 36px;
        margin-bottom: 8px;
    }
    .placard-icon-wrap i {
        font-size: 1rem;
    }
    
    @media (max-width: 600px) {
        .circle-carousel-wrapper {
            flex-wrap: wrap;
            gap: 15px;
        }
        .circle-arena {
            order: 1;
        }
        .arch-nav-btn.prev-btn {
            order: 2;
        }
        .arch-nav-btn.next-btn {
            order: 3;
        }
    }
    
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .case-card {
        flex: 0 0 100%;
    }
    
    .case-card.featured {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-newsletter {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }
    
    /* Arch layout mobile scaling */
    .circle-carousel-wrapper {
        --arch-radius: 140px; /* Reduced for safe mobile scaling */
        gap: 10px;
    }
    .circle-arena {
        width: 320px;
        height: 175px;
        overflow: hidden;
    }
    .arch-track {
        width: 280px;
        height: 280px;
        top: 35px;
        left: 50%;
        margin-left: -140px;
    }
    .arch-card {
        width: 70px;
        height: 70px;
        margin-left: -35px;
        margin-top: -35px;
        border-radius: 12px;
    }
    .arch-card-overlay i {
        font-size: 1.1rem;
    }
    .arch-center-placard {
        position: absolute;
        bottom: 0; left: 50%;
        transform: translateX(-50%);
        width: 180px;
        height: 115px;
        border-radius: 90px 90px 12px 12px;
    }
    .placard-slide {
        padding: 25px 12px 10px;
    }
    .placard-count {
        font-size: 0.65rem;
        padding: 2px 8px;
    }
    .placard-icon-wrap {
        display: none; /* Hide icon inside circular placard on mobile screen sizes to fit description text */
    }
    .placard-title { font-size: 0.95rem; margin-bottom: 4px; }
    .placard-desc { font-size: 0.65rem; max-width: 130px; line-height: 1.4; }
    .arch-features-row {
        flex-direction: column;
        gap: 25px;
    }
    
    .btn-join {
        display: none; /* Hide Join Us button on tiny screens */
    }
}

/* ── Case Studies Home Banner & Page Template ── */

/* Page Header */
.case-studies-page-header {
    background: #DBC2B0; /* Alternate sandy peach shade */
    padding: 100px 0 60px;
    text-align: center;
    border-bottom: 1px solid rgba(74, 35, 18, 0.1);
}

.case-studies-page-header .page-subtitle {
    color: #721216;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: inline-block;
}

.case-studies-page-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    color: #2a0a0c;
    margin-bottom: 20px;
    font-weight: 700;
}

.case-studies-page-header .page-description {
    color: rgba(30, 20, 15, 0.7);
    font-size: 1.15rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Grid Layout */
.case-studies-grid-section {
    background: var(--color-bg-base); /* Warm sandy peach-beige `#E3CEBE` */
    padding: 80px 0 100px;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card-item {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(25px) saturate(1.2);
    -webkit-backdrop-filter: blur(25px) saturate(1.2);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 
        0 15px 35px rgba(74, 35, 18, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.case-card-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(114, 18, 22, 0.25);
    box-shadow: 0 25px 50px rgba(114, 18, 22, 0.12);
}

.case-card-item .case-industry {
    font-size: 0.72rem;
    font-weight: 700;
    color: #721216;
    background: rgba(114, 18, 22, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.case-card-item .case-client {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.8rem;
    color: #2a0a0c;
    margin-bottom: 25px;
    font-weight: 700;
}

.case-card-item .case-stats-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    border-top: 1px solid rgba(74, 35, 18, 0.08);
    border-bottom: 1px solid rgba(74, 35, 18, 0.08);
    padding: 20px 0;
    margin-bottom: 25px;
}

.case-card-item .case-stat-box {
    display: flex;
    flex-direction: column;
}

.case-stat-box .stat-val {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    color: #721216;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 4px;
}

.case-stat-box .stat-lbl {
    font-size: 0.72rem;
    color: rgba(42, 10, 12, 0.6);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.case-card-item .case-project-desc {
    font-size: 0.85rem;
    color: rgba(42, 10, 12, 0.75);
    line-height: 1.6;
    margin-bottom: 30px;
    flex: 1;
}

.case-card-item .case-read-btn {
    font-size: 0.78rem;
    font-weight: 700;
    color: #721216;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: auto;
}

.case-card-item:hover .case-read-btn {
    gap: 12px;
}

.case-card-item .case-read-btn i {
    font-size: 0.85rem;
}

/* Grid Layout Math to Center Row 2 items */
@media (min-width: 992px) {
    .case-studies-grid {
        grid-template-columns: repeat(6, 1fr);
    }
    .case-card-item:nth-child(1),
    .case-card-item:nth-child(2),
    .case-card-item:nth-child(3) {
        grid-column: span 2;
    }
    .case-card-item:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .case-card-item:nth-child(5) {
        grid-column: 4 / span 2;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    .case-studies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .case-card-item:nth-child(5) {
        grid-column: span 2;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .case-studies-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .case-studies-page-header h1 {
        font-size: 2.5rem;
    }
    .case-card-item {
        padding: 30px 20px;
    }
}

/* --------------------------------------------------------------------------
   Robot Mascot Interaction
   -------------------------------------------------------------------------- */
.robot-mascot {
    position: absolute;
    top: -30px;
    right: 15px;
    width: 160px;
    height: auto;
    z-index: -1;
    transform: translateY(20%); /* Default: slightly bulging out */
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.swiper-slide:hover .robot-mascot,
.robot-mascot:hover {
    transform: translateY(-40%); /* Eye level on hover */
}

.robot-legal {
    right: auto;
    left: 50%;
    transform: translate(-50%, 20%);
}

.swiper-slide:hover .robot-legal,
.robot-legal:hover {
    transform: translate(-50%, -40%);
}

.robot-lead {
    top: 20%;
    right: 20px; /* Hidden completely behind the card */
    transform: translateY(10%) rotate(0deg);
}

.swiper-slide:hover .robot-lead,
.robot-lead:hover {
    transform: translateY(0) translateX(100px) rotate(15deg); /* Slides out to the right and tilts */
}

.robot-brand {
    right: auto;
    left: 20px; /* Hidden behind left side */
    top: 20%;
    transform: translateY(10%) rotate(0deg);
}

.swiper-slide:hover .robot-brand,
.robot-brand:hover {
    transform: translateY(0) translateX(-100px) rotate(-15deg); /* Pops out to the left and tilts */
}

.robot-product {
    right: auto;
    left: 0;
    top: -20px;
    transform: translate(30px, 30px) rotate(0deg); /* Hidden inside/behind top left */
}

.swiper-slide:hover .robot-product,
.robot-product:hover {
    transform: translate(-40px, -40px) rotate(-15deg); /* Pops out from top-left corner */
}

.robot-digital {
    right: 0;
    top: -20px;
    transform: translate(-30px, 30px) rotate(0deg); /* Hidden inside/behind top right */
}

.swiper-slide:hover .robot-digital,
.robot-digital:hover {
    transform: translate(40px, -40px) rotate(10deg); /* Pops out from top-right corner */
}

.robot-finance {
    right: auto;
    left: 20px; /* Hidden behind left side */
    top: 15%;
    transform: translateY(10%) rotate(0deg);
}

.swiper-slide:hover .robot-finance,
.robot-finance:hover {
    transform: translateY(0) translateX(-120px) rotate(-15deg); /* Pops out to the left with a tilt */
}

.robot-business {
    right: auto;
    left: 20px; /* Hidden behind left side */
    top: 25%;
    transform: translateY(10%) rotate(0deg);
}

.swiper-slide:hover .robot-business,
.robot-business:hover {
    transform: translateY(0) translateX(-110px) rotate(-10deg); /* Pops out to the left */
}

.swiper-slide {
    position: relative; /* Ensure the swiper slide contains the absolute positioned robot */
    overflow: visible !important;
}

.services-slider, 
.services-slider .swiper-wrapper {
    overflow: visible !important;
}

/* Robot Modal Overlay */
.robot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.4s, opacity 0.4s ease;
}

.robot-modal.open {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.robot-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
}

.robot-modal-content {
    position: relative;
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    width: 90%;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.robot-modal.open .robot-modal-content {
    transform: scale(1) translateY(0);
}

.modal-robot-img {
    max-height: 70vh;
    width: auto;
    max-width: 50%;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}

.glass-tile {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(1.5);
    -webkit-backdrop-filter: blur(20px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 50px 40px;
    color: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    flex: 1;
}

.glass-tile h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
    font-weight: 700;
}

.glass-tile p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.robot-modal-close {
    position: absolute;
    top: -40px;
    right: -40px;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.robot-modal-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .robot-modal-content {
        flex-direction: column;
        gap: 20px;
    }
    .modal-robot-img {
        max-height: 40vh;
        max-width: 80%;
    }
    .robot-modal-close {
        top: -10px;
        right: 10px;
    }
    .robot-mascot.peek {
        transform: translateY(-25%) scale(0.8);
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   SERVICES PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */

.services-page-main {
    background-color: var(--color-bg-base);
    background-image: none !important; /* Removes default body/main spine-bg image */
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Breadcrumbs Styling */
.services-breadcrumbs {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.services-breadcrumbs a {
    color: var(--color-bg-base); /* Beige links inside red header */
    text-decoration: none;
    transition: color 0.3s ease;
}

.services-breadcrumbs a:hover {
    color: var(--color-white);
}

.services-breadcrumbs .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}

.services-breadcrumbs .breadcrumb-current {
    color: rgba(255, 255, 255, 0.75);
}

/* Services Header (Red Hero Background) */
.services-page-header.red-hero-bg {
    background-color: var(--color-text-primary); /* Crimson background */
    padding: 160px 24px 70px 24px;
    position: relative;
    z-index: 2;
}

.services-page-header .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left; /* Left aligned matching mockup */
}

.services-main-title {
    font-family: var(--font-serif);
    font-size: 4.8rem;
    color: var(--color-white); /* White main text */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.services-main-title .gradient-accent-text {
    /* Beige-glowing accent text */
    background: linear-gradient(135deg, var(--color-bg-base) 30%, #FFF0E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.services-page-header .page-description {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    color: rgba(227, 206, 190, 0.85); /* Soft beige description */
    line-height: 1.6;
    max-width: 720px;
    margin: 0;
}

/* Sticky Tab Bar Navigation */
.services-sticky-nav-bar {
    position: sticky;
    top: 70px; /* Aligns just beneath the main website header */
    z-index: 99;
    background: rgba(227, 206, 190, 0.9); /* Frosted base matching theme bg */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(114, 18, 22, 0.08);
    border-bottom: 1px solid rgba(114, 18, 22, 0.08);
    padding: 14px 24px;
    transition: all 0.3s ease;
}

.services-sticky-nav-bar .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-tabs-scroll-container {
    display: flex;
    gap: 36px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none; /* Hide scrollbar on Firefox */
    -ms-overflow-style: none; /* Hide scrollbar on IE/Edge */
}

.services-tabs-scroll-container::-webkit-scrollbar {
    display: none; /* Hide scrollbar on Chrome/Safari/Webkit */
}

.services-tab {
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease, font-weight 0.3s ease;
    text-transform: none;
    letter-spacing: normal;
}

.services-tab:hover {
    color: var(--color-text-primary);
}

.services-tab.active {
    color: var(--color-text-primary);
    font-weight: 700;
}

.services-tab.active::after {
    content: '';
    position: absolute;
    bottom: -15px; /* Aligns underline right at the nav border */
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-text-primary);
}

/* Statistics Metrics Row */
.services-stats-section {
    padding: 70px 24px 40px 24px;
}

.services-stats-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card.glass-card {
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(114, 18, 22, 0.06);
    border-radius: 16px;
    padding: 36px 24px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(114, 18, 22, 0.015);
}

.stat-card.glass-card .stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    line-height: 1;
}

.stat-card.glass-card .stat-label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    font-weight: 600;
}

/* Scrolling Sections Container */
.services-content-sections {
    padding: 40px 24px 140px 24px;
}

.services-content-sections .container {
    max-width: 1200px;
    margin: 0 auto;
}

.services-category-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
}

/* Scrolling Sections */
.services-category-section {
    scroll-margin-top: 150px; /* Space for sticky headers during anchor scrolls */
}

.category-header {
    margin-bottom: 44px;
    text-align: left;
}

.category-tag-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 20px;
    border: 1px solid var(--color-text-primary);
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-primary);
    letter-spacing: 0.08em;
    margin-bottom: 22px;
}

.category-title {
    font-family: var(--font-serif);
    font-size: 3.2rem;
    color: var(--color-text-primary);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.category-title .gradient-accent-text {
    background: linear-gradient(135deg, var(--color-text-primary) 30%, var(--color-accent-copper) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-subtitle {
    font-family: var(--font-sans);
    font-size: 1.2rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 820px;
    margin: 0;
}

/* Service Detail Cards Grid */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-detail-card.glass-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(114, 18, 22, 0.05);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 12px 40px rgba(114, 18, 22, 0.01);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.service-detail-card.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(114, 18, 22, 0.18);
    box-shadow: 0 24px 50px rgba(114, 18, 22, 0.05);
}

.service-card-num {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-copper);
    margin-bottom: 18px;
    letter-spacing: 0.05em;
}

.service-detail-card.glass-card h3 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-detail-card.glass-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Overrides */
@media (max-width: 1199px) {
    .services-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .services-main-title {
        font-size: 3.8rem;
    }
    .services-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-page-header {
        padding: 120px 20px 50px 20px;
    }
    .services-main-title {
        font-size: 3rem;
    }
    .services-content-sections {
        padding: 40px 20px 100px 20px;
    }
    .category-title {
        font-size: 2.6rem;
    }
}

@media (max-width: 575px) {
    .services-main-title {
        font-size: 2.4rem;
    }
    .services-page-header .page-description {
        font-size: 1.15rem;
    }
    .services-sticky-nav-bar {
        padding: 10px 16px;
        top: 60px; /* Fit responsive menu size */
    }
    .services-tab {
        font-size: 0.9rem;
    }
    .services-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .services-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .category-title {
        font-size: 2rem;
    }
    .service-detail-card.glass-card {
        padding: 24px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   NEUMORPHIC ABOUT PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */

.about-page-main {
    background-color: var(--color-bg-base);
    background-image: none !important; /* Removes default body/main spine-bg image */
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Breadcrumbs Styling */
.about-breadcrumbs {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.about-breadcrumbs a {
    color: var(--color-bg-base); /* Beige links inside red header */
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-breadcrumbs a:hover {
    color: var(--color-white);
}

.about-breadcrumbs .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}

.about-breadcrumbs .breadcrumb-current {
    color: rgba(255, 255, 255, 0.75);
}

/* Header Red Background */
.about-page-header.red-hero-bg {
    background-color: var(--color-text-primary); /* Crimson background */
    padding: 160px 24px 70px 24px;
    position: relative;
    z-index: 2;
}

.about-page-header .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.about-main-title {
    font-family: var(--font-serif);
    font-size: 4.8rem;
    color: var(--color-white); /* White main text */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.about-main-title .gradient-accent-text {
    background: linear-gradient(135deg, var(--color-bg-base) 30%, #FFF0E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.about-page-header .page-description {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    color: rgba(227, 206, 190, 0.85); /* Soft beige description */
    line-height: 1.6;
    max-width: 720px;
    margin: 0;
}

/* Neumorphism Base Styles */
.neumorphic-card {
    background-color: #E3CEBE;
    border-radius: 24px;
    box-shadow: 10px 10px 20px #c3ad9d, -10px -10px 20px #ffffff;
    border: none !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.neumorphic-card:hover {
    transform: translateY(-4px);
    box-shadow: 14px 14px 28px #bda797, -14px -14px 28px #ffffff;
}

.neumorphic-inset {
    background-color: #E3CEBE;
    border-radius: 24px;
    box-shadow: inset 8px 8px 16px #c3ad9d, inset -8px -8px 16px #ffffff;
    border: none !important;
}

/* Sections Styling */
.about-pillars-section,
.about-philosophy-section,
.about-timeline-section,
.about-leadership-section {
    padding: 80px 24px;
    position: relative;
    z-index: 2;
}

.about-pillars-section .container,
.about-philosophy-section .container,
.about-timeline-section .container,
.about-leadership-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--color-text-primary);
    font-weight: 700;
    margin-bottom: 48px;
}

/* Pillars grid */
.about-pillars-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin-top: 20px;
}

.about-pillar-card {
    flex: 0 1 360px;
    padding: 40px 32px;
}

.about-pillar-card .card-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(114, 18, 22, 0.05);
    border: 1px solid rgba(114, 18, 22, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--color-text-primary);
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.about-pillar-card:hover .card-icon-wrap {
    transform: scale(1.05) rotate(2deg);
}

.about-pillar-card h3 {
    font-family: var(--font-sans);
    font-size: 1.4rem;
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 14px;
}

.about-pillar-card p {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Philosophy Inset panel */
.philosophy-inset-panel {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px;
}

.philosophy-label {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--color-accent-copper);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 16px;
}

.philosophy-content h2 {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.philosophy-content p {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.65;
    margin-bottom: 20px;
}

.philosophy-content p:last-child {
    margin-bottom: 0;
}

/* Timeline Layout */
.about-timeline-wrapper {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0 auto;
    padding: 40px 0;
}

.timeline-center-spine {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 8px;
    transform: translateX(-50%);
    border-radius: 4px;
    box-shadow: inset 3px 3px 6px #c3ad9d, inset -3px -3px 6px #ffffff;
}

.timeline-milestone-item {
    display: flex;
    justify-content: flex-end;
    position: relative;
    width: 50%;
    margin-bottom: 60px;
}

.timeline-milestone-item.item-left {
    justify-content: flex-start;
    align-self: flex-start;
    margin-left: 0;
}

.timeline-milestone-item.item-right {
    align-self: flex-end;
    margin-left: 50%;
}

.milestone-content {
    width: 90%;
    padding: 32px;
    position: relative;
}

.milestone-year {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent-copper);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 12px;
}

.milestone-content h4 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 10px;
}

.milestone-content p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

.timeline-node-wrap {
    position: absolute;
    top: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.timeline-milestone-item.item-left .timeline-node-wrap {
    right: -20px;
}

.timeline-milestone-item.item-right .timeline-node-wrap {
    left: -20px;
}

.timeline-node {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #E3CEBE;
    box-shadow: 4px 4px 8px #c3ad9d, -4px -4px 8px #ffffff;
}

.timeline-node.active {
    background: var(--color-text-primary);
    box-shadow: 0 0 0 4px #E3CEBE, 0 0 0 8px rgba(114, 18, 22, 0.12);
}

/* Leadership grid */
.about-leadership-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 50px;
}
.about-leadership-grid .leadership-neumorphic-card {
    flex: 0 1 680px;
    width: 100%;
}

.leadership-neumorphic-card {
    padding: 44px 32px;
    text-align: center;
}

.member-initials.neumorphic-inset {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 auto 24px auto;
    box-shadow: inset 5px 5px 10px #c3ad9d, inset -5px -5px 10px #ffffff;
}

.leadership-neumorphic-card h3 {
    font-family: var(--font-serif);
    font-size: 1.65rem;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    font-weight: 700;
}

.member-title {
    font-family: var(--font-sans);
    font-size: 0.92rem;
    color: var(--color-accent-copper);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 20px;
}

.member-desc {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Overrides for About Page */
@media (max-width: 991px) {
    .about-main-title {
        font-size: 3.8rem;
    }
    .about-leadership-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-page-header {
        padding: 120px 20px 50px 20px;
    }
    .about-main-title {
        font-size: 3rem;
    }
    .about-pillars-section,
    .about-philosophy-section,
    .about-timeline-section,
    .about-leadership-section {
        padding: 60px 20px;
    }
    .philosophy-inset-panel {
        padding: 40px;
    }
    .philosophy-content h2 {
        font-size: 2.3rem;
    }
    .about-timeline-wrapper {
        margin-top: 40px;
    }
    .timeline-center-spine {
        left: 20px;
    }
    .timeline-milestone-item {
        width: 100%;
        margin-left: 0 !important;
        align-self: stretch !important;
        justify-content: flex-start !important;
        padding-left: 45px;
        margin-bottom: 40px;
    }
    .timeline-milestone-item.item-left .timeline-node-wrap, 
    .timeline-milestone-item.item-right .timeline-node-wrap {
        left: 0;
    }
    .milestone-content {
        width: 100%;
        padding: 24px;
    }
}

@media (max-width: 575px) {
    .about-main-title {
        font-size: 2.4rem;
    }
    .about-page-header .page-description {
        font-size: 1.15rem;
    }
    .about-leadership-grid {
        grid-template-columns: 1fr;
    }
    .about-pillar-card {
        flex: 1 1 100%;
        padding: 30px 24px;
    }
    .philosophy-inset-panel {
        padding: 24px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   GLASSMORPHIC BLOG PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */

.blog-page-main {
    background-color: var(--color-bg-base);
    background-image: none !important; /* Removes default body/main spine-bg image */
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Breadcrumbs Styling */
.blog-breadcrumbs {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.blog-breadcrumbs a {
    color: var(--color-bg-base); /* Beige links inside red header */
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-breadcrumbs a:hover {
    color: var(--color-white);
}

.blog-breadcrumbs .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}

.blog-breadcrumbs .breadcrumb-current {
    color: rgba(255, 255, 255, 0.75);
}

/* Header Red Background */
.blog-page-header.red-hero-bg {
    background-color: var(--color-text-primary); /* Crimson background */
    padding: 160px 24px 70px 24px;
    position: relative;
    z-index: 2;
}

.blog-page-header .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.blog-main-title {
    font-family: var(--font-serif);
    font-size: 4.8rem;
    color: var(--color-white); /* White main text */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.blog-main-title .gradient-accent-text {
    background: linear-gradient(135deg, var(--color-bg-base) 30%, #FFF0E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.blog-page-header .page-description {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    color: rgba(227, 206, 190, 0.85); /* Soft beige description */
    line-height: 1.6;
    max-width: 720px;
    margin: 0;
}

/* Blog Grid Section */
.blog-posts-section {
    padding: 100px 24px;
    position: relative;
    z-index: 2;
}

.blog-posts-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.blog-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Glassmorphic Blog Cards */
.blog-post-card.glass-card {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(114, 18, 22, 0.05);
    border-radius: 18px;
    padding: 40px;
    box-shadow: 0 12px 35px rgba(114, 18, 22, 0.015);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.blog-post-card.glass-card:hover {
    transform: translateY(-6px);
    border-color: rgba(114, 18, 22, 0.18);
    box-shadow: 0 25px 50px rgba(114, 18, 22, 0.05);
}

.featured-post {
    grid-column: span 2;
}

/* Post Contents */
.post-category {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-accent-copper);
    display: block;
    margin-bottom: 16px;
    letter-spacing: 0.05em;
}

.blog-post-card .post-title {
    font-family: var(--font-sans);
    font-size: 1.45rem;
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 14px;
    line-height: 1.35;
}

.featured-post .post-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    margin-bottom: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.post-desc {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: 30px;
}

.post-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(114, 18, 22, 0.08);
    padding-top: 24px;
    margin-top: auto;
}

.post-metric-badge .metric-val {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--color-text-primary);
    line-height: 1.1;
    margin-bottom: 4px;
}

.post-metric-badge .metric-lbl {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.post-read-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(114, 18, 22, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
}

.blog-post-card:hover .post-read-link {
    background: var(--color-text-primary);
    color: var(--color-bg-base);
}

.featured-post .post-read-link {
    width: auto;
    height: auto;
    border-radius: 20px;
    background: rgba(114, 18, 22, 0.05);
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.featured-post:hover .post-read-link {
    background: var(--color-text-primary);
    color: var(--color-bg-base);
}

/* Responsive Overrides */
@media (max-width: 1199px) {
    .blog-grid-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    .featured-post {
        grid-column: span 2;
    }
}

@media (max-width: 991px) {
    .blog-main-title {
        font-size: 3.8rem;
    }
}

@media (max-width: 768px) {
    .blog-page-header {
        padding: 120px 20px 50px 20px;
    }
    .blog-main-title {
        font-size: 3rem;
    }
    .blog-posts-section {
        padding: 60px 20px;
    }
    .blog-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .featured-post {
        grid-column: span 1;
    }
    .featured-post .post-title {
        font-size: 1.7rem;
    }
}

@media (max-width: 575px) {
    .blog-main-title {
        font-size: 2.4rem;
    }
    .blog-page-header .page-description {
        font-size: 1.15rem;
    }
    .blog-post-card.glass-card {
        padding: 24px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   NEUMORPHIC SERVICES OVERRIDES
   ───────────────────────────────────────────────────────────────────────── */

.services-page-main {
    background-color: var(--color-bg-base) !important;
    background-image: none !important;
}

.services-sticky-nav-bar {
    background-color: #E3CEBE !important;
    box-shadow: 0 8px 24px rgba(195, 173, 157, 0.5) !important;
    border: none !important;
}

.service-card-num-badge.neumorphic-inset {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: 24px;
    box-shadow: inset 4px 4px 8px #c3ad9d, inset -4px -4px 8px #ffffff;
}

.services-stats-grid .stat-card.neumorphic-card {
    padding: 30px;
    text-align: center;
}

.service-detail-card.neumorphic-card {
    padding: 32px;
}

.service-detail-card.neumorphic-card h3 {
    font-family: var(--font-sans);
    font-size: 1.35rem;
    color: var(--color-text-primary);
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}

.service-detail-card.neumorphic-card p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 575px) {
    .service-detail-card.neumorphic-card {
        padding: 24px;
    }
}


/* ─────────────────────────────────────────────────────────────────────────
   NEUMORPHIC CONTACT PAGE STYLES
   ───────────────────────────────────────────────────────────────────────── */

.contact-page-main {
    background-color: #721216; /* Crimson background */
    background-image: none !important; /* Removes default body/main spine-bg image */
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Ensure cards and forms on the contact page are beige neumorphic containers */
.contact-page-main .contact-info-card,
.contact-page-main .contact-form-panel {
    background-color: #ebd4c2 !important; /* Keep background beige */
    box-shadow: 10px 10px 30px rgba(0, 0, 0, 0.35), -10px -10px 30px rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 28px !important;
    color: #4c0305 !important;
}

/* Ensure inner neumorphic inset items have matching contrast */
.contact-page-main .info-icon-wrap.neumorphic-inset {
    background-color: #ebd4c2 !important;
    box-shadow: inset 4px 4px 8px #c3ad9d, inset -4px -4px 8px #ffffff !important;
    color: #721216 !important;
}

/* Ensure text inside beige card has correct colors */
.contact-page-main .info-text-wrap h4,
.contact-page-main .contact-form-panel h3 {
    color: #4c0305 !important;
}

.contact-page-main .info-text-wrap p,
.contact-page-main .info-text-wrap p a,
.contact-page-main .form-desc {
    color: rgba(76, 3, 5, 0.8) !important;
}

.contact-page-main .info-note {
    color: rgba(114, 18, 22, 0.6) !important;
}

/* Style the labels inside the contact form panel */
.contact-page-main .neumorphic-contact-form label {
    color: #4c0305 !important;
}

/* Ensure inputs inside the form remain neumorphic inside the beige panel */
.contact-page-main .neumorphic-input {
    background-color: #ebd4c2 !important;
    box-shadow: inset 3px 3px 6px #c3ad9d, inset -3px -3px 6px #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    color: #4c0305 !important;
}

/* Breadcrumbs Styling */
.contact-breadcrumbs {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.contact-breadcrumbs a {
    color: var(--color-bg-base); /* Beige links inside red header */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-breadcrumbs a:hover {
    color: var(--color-white);
}

.contact-breadcrumbs .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 10px;
}

.contact-breadcrumbs .breadcrumb-current {
    color: rgba(255, 255, 255, 0.75);
}

/* Header Red Background */
.contact-page-header.red-hero-bg {
    background-color: var(--color-text-primary); /* Crimson background */
    padding: 160px 24px 70px 24px;
    position: relative;
    z-index: 2;
}

.contact-page-header .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.contact-main-title {
    font-family: var(--font-serif);
    font-size: 4.8rem;
    color: var(--color-white); /* White main text */
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 900px;
    letter-spacing: -0.02em;
}

.contact-main-title .gradient-accent-text {
    background: linear-gradient(135deg, var(--color-bg-base) 30%, #FFF0E2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.contact-page-header .page-description {
    font-family: var(--font-sans);
    font-size: 1.3rem;
    color: rgba(227, 206, 190, 0.85); /* Soft beige description */
    line-height: 1.6;
    max-width: 720px;
    margin: 0;
}

/* Contact Grid Content Section */
.contact-content-section {
    padding: 100px 24px;
    position: relative;
    z-index: 2;
}

.contact-content-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

/* Contact Info Cards (Left Column) */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.info-icon-wrap.neumorphic-inset {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--color-text-primary);
    flex-shrink: 0;
    box-shadow: inset 4px 4px 8px #c3ad9d, inset -4px -4px 8px #ffffff;
}

.info-text-wrap h4 {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 6px;
}

.info-text-wrap p {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
    margin: 0;
}

.info-text-wrap p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text-wrap p a:hover {
    color: var(--color-accent-copper);
}

.info-note {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    color: rgba(114, 18, 22, 0.6);
    display: block;
    margin-top: 6px;
}

/* Neumorphic Form Panel (Right Column) */
.contact-form-panel {
    padding: 50px;
}

.form-tagline {
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--color-accent-copper);
    letter-spacing: 0.12em;
    display: block;
    margin-bottom: 12px;
}

.contact-form-panel h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: var(--color-text-primary);
    font-weight: 700;
    margin-bottom: 14px;
}

.form-desc {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin-bottom: 36px;
}

.neumorphic-contact-form .form-field-group {
    margin-bottom: 24px;
}

.neumorphic-contact-form label {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 10px;
}

.neumorphic-input,
.neumorphic-textarea {
    width: 100%;
    padding: 16px 20px;
    background-color: #E3CEBE;
    border: none !important;
    border-radius: 12px;
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--color-text-primary);
    box-shadow: inset 4px 4px 8px #c3ad9d, inset -4px -4px 8px #ffffff;
    transition: box-shadow 0.3s ease;
    outline: none;
}

.neumorphic-input::placeholder,
.neumorphic-textarea::placeholder {
    color: rgba(114, 18, 22, 0.4);
}

.neumorphic-input:focus,
.neumorphic-textarea:focus {
    box-shadow: inset 6px 6px 12px #bda797, inset -6px -6px 12px #ffffff;
}

.custom-select-box {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23721216'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    padding-right: 40px;
}

/* Neumorphic Submit Button */
.neumorphic-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background-color: #E3CEBE;
    border: none;
    border-radius: 14px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-primary);
    cursor: pointer;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 6px 6px 12px #c3ad9d, -6px -6px 12px #ffffff;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.neumorphic-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 8px 8px 16px #bda797, -8px -8px 16px #ffffff;
}

.neumorphic-submit-btn:active {
    transform: translateY(0);
    box-shadow: inset 4px 4px 8px #c3ad9d, inset -4px -4px 8px #ffffff;
}

/* Responsive contact page styles */
@media (max-width: 991px) {
    .contact-main-title {
        font-size: 3.8rem;
    }

    .contact-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-page-header {
        padding: 120px 20px 50px 20px;
    }
    .contact-main-title {
        font-size: 3rem;
    }
    .contact-content-section {
        padding: 60px 20px;
    }
    .contact-form-panel {
        padding: 40px;
    }
}

@media (max-width: 575px) {
    .contact-main-title {
        font-size: 2.4rem;
    }
    .contact-page-header .page-description {
        font-size: 1.15rem;
    }
    .contact-form-panel {
        padding: 24px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   NEUMORPHIC FAQ ACCORDION STYLES
   ───────────────────────────────────────────────────────────────────────── */
.contact-faq-section {
    padding: 100px 24px 140px 24px;
    position: relative;
    z-index: 2;
}

.contact-faq-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.faq-header {
    margin-bottom: 60px;
}

.faq-tagline {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent-copper);
    letter-spacing: 0.15em;
    display: inline-block;
    margin-bottom: 16px;
}

.faq-section-title {
    font-family: var(--font-serif);
    font-size: 2.8rem;
    color: var(--color-text-primary);
    font-weight: 700;
    margin-bottom: 20px;
}

.faq-section-desc {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

.faq-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item.neumorphic-card {
    border-radius: 16px;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    background: none;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    gap: 20px;
}

.faq-trigger span {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-text-primary);
    transition: color 0.3s ease;
}

.faq-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-primary);
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: inset 3px 3px 6px #c3ad9d, inset -3px -3px 6px #ffffff;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-trigger:hover span {
    color: var(--color-accent-copper);
}

.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-content {
    padding: 0 30px 30px 30px;
}

.faq-answer-content p {
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Active Open State */
.faq-item.active .faq-icon-wrap {
    transform: rotate(180deg);
    color: var(--color-accent-copper);
}

/* Responsive FAQs */
@media (max-width: 991px) {
    .faq-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .contact-faq-section {
        padding: 60px 20px 80px 20px;
    }
    .faq-section-title {
        font-size: 2.2rem;
    }
    .faq-trigger {
        padding: 20px 24px;
    }
    .faq-answer-content {
        padding: 0 24px 24px 24px;
    }
}

/* ─────────────────────────────────────────────────────────────────────────
   NEUMORPHIC PILL MOBILE NAVIGATION BAR STYLES
   ───────────────────────────────────────────────────────────────────────── */
.mobile-bottom-nav {
    display: none;
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: block;
        position: fixed;
        bottom: 24px;
        left: 20px;
        right: 20px;
        z-index: 99999;
        box-sizing: border-box;
    }

    /* Raised border wall style container */
    .neumorphic-nav-outer {
        background-color: #ebd4c2;
        border-radius: 40px;
        padding: 8px;
        box-shadow: 8px 8px 20px rgba(76, 3, 5, 0.12), -8px -8px 20px rgba(255, 255, 255, 0.85);
        border: 1px solid rgba(255, 255, 255, 0.6);
        box-sizing: border-box;
    }

    /* Recessed inner track style container */
    .neumorphic-nav-inner {
        background-color: #ebd4c2;
        border-radius: 32px;
        box-shadow: inset 6px 6px 12px rgba(76, 3, 5, 0.15), inset -6px -6px 12px rgba(255, 255, 255, 0.85);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 6px;
        box-sizing: border-box;
    }

    /* Navigation item structure */
    .mobile-nav-item {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 52px;
        color: #721216 !important; /* Inactive text and icon in brand cherry */
        text-decoration: none !important;
        font-family: 'Outfit', sans-serif;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
        border-radius: 24px;
        box-sizing: border-box;
        text-align: center;
        padding: 4px 0;
    }

    .mobile-nav-item i {
        font-size: 1.15rem;
        margin-bottom: 2px;
        transition: transform 0.3s ease;
    }

    /* Floating Dark Crimson Active Capsule overlay */
    .mobile-nav-item.active {
        background-color: #721216 !important; /* Solid Brand Crimson */
        color: #ffffff !important; /* Active text/icon turns white */
        box-shadow: 3px 3px 10px rgba(76, 3, 5, 0.35), -1px -1px 3px rgba(255, 255, 255, 0.1);
        transform: scale(1.02);
    }

    .mobile-nav-item.active i {
        color: #ffffff !important;
    }

    /* Desktop Masthead modifications for mobile view */
    .site-header .menu-toggle,
    .site-header .menu-primary-container,
    .site-header .header-actions {
        display: none !important;
    }

    .site-header,
    .site-header.scrolled {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        background: rgba(255, 255, 255, 0.18) !important;
        backdrop-filter: blur(20px) saturate(1.2) !important;
        -webkit-backdrop-filter: blur(20px) saturate(1.2) !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05) !important;
        border-radius: 0 !important;
        transform: none !important;
        margin: 0 !important;
        padding: 8px 0 !important;
        z-index: 9999 !important;
    }

    .site-header .header-container {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        max-width: 100% !important;
        padding: 0 20px !important;
        margin: 0 auto !important;
    }

    .site-header .site-branding {
        margin: 0 auto !important;
        float: none !important;
        display: inline-block !important;
    }

    .site-header .site-logo {
        height: 100px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    /* Prevent fixed navbar overlapping body content */
    body {
        padding-bottom: 110px !important;
    }

    /* Hero background, beige color and height reduction */
    .hero-section {
        background-image: none !important;
        background-color: #721216 !important; /* Crimson background on mobile */
        min-height: auto !important;
        height: auto !important;
        padding-top: 116px !important;
        padding-bottom: 40px !important;
    }
    .hero-container {
        height: auto !important;
        padding-top: 0 !important;
    }
    .hero-footer-bar {
        display: none !important;
    }

    /* Services Timeline Nav Removal */
    .services-timeline-nav {
        display: none !important;
    }

    /* Philosophy collapsable container on mobile */
    .philosophy-mobile-collapse {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
        opacity: 0;
    }
    .btn-philosophy-read-more {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 24px;
        margin-top: 20px;
        background-color: #ebd4c2;
        border: none;
        border-radius: 12px;
        color: #721216;
        font-family: 'Outfit', sans-serif;
        font-size: 0.85rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        cursor: pointer;
        box-shadow: 4px 4px 10px rgba(76, 3, 5, 0.15), -4px -4px 10px rgba(255, 255, 255, 0.75);
        transition: all 0.25s ease;
    }
    .btn-philosophy-read-more:active {
        box-shadow: inset 2px 2px 5px rgba(76, 3, 5, 0.2), inset -2px -2px 5px rgba(255, 255, 255, 0.75);
    }

    /* About Swiper mobile styles */
    .about-swiper-container,
    .about-pillars-swiper-container {
        padding-bottom: 50px !important;
        overflow: hidden !important;
        width: 100% !important;
    }
    .about-swiper-container .about-cards-grid,
    .about-pillars-swiper-container .about-pillars-grid {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
    }
    .about-swiper-container .about-card,
    .about-pillars-swiper-container .about-pillar-card {
        flex-shrink: 0 !important;
        height: auto !important;
        box-sizing: border-box !important;
        margin-bottom: 0 !important;
        width: 85% !important; /* slide card width to see next slide */
    }
    
    /* Swiper Pagination styling */
    .about-swiper-pagination,
    .about-pillars-swiper-pagination {
        bottom: 10px !important;
        text-align: center !important;
        width: 100% !important;
    }
    .about-swiper-pagination .swiper-pagination-bullet,
    .about-pillars-swiper-pagination .swiper-pagination-bullet {
        width: 10px !important;
        height: 10px !important;
        background: #721216 !important;
        opacity: 0.3 !important;
        transition: all 0.3s ease !important;
    }
    .about-swiper-pagination .swiper-pagination-bullet-active,
    .about-pillars-swiper-pagination .swiper-pagination-bullet-active {
        width: 24px !important;
        border-radius: 5px !important;
        background: #721216 !important;
        opacity: 1 !important;
    }
}

/* Desktop overrides to prevent Swiper from breaking grid layouts */
@media (min-width: 992px) {
    .about-swiper-container,
    .about-pillars-swiper-container {
        overflow: visible !important;
    }
    .about-swiper-container .about-cards-grid {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 40px !important;
        transform: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .about-pillars-swiper-container .about-pillars-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 30px !important;
        transform: none !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .about-card {
        width: calc(33.333% - 27px) !important;
        margin-bottom: 0 !important;
    }
    .about-pillar-card {
        width: 100% !important;
        margin-bottom: 0 !important;
    }
    .about-swiper-pagination,
    .about-pillars-swiper-pagination {
        display: none !important;
    }
}


/* ── Single Card Grid Center Align Overrides ── */



/* ── Crimson Subpage Tiles Overrides ── */
.about-pillar-card.neumorphic-card,
.service-detail-card.neumorphic-card,
.blog-post-card.glass-card {
    background-color: #721216 !important;
    background: #721216 !important;
    border: 1.5px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 10px 10px 30px rgba(40, 4, 6, 0.4), -10px -10px 30px rgba(255, 255, 255, 0.05) !important;
}

.about-pillar-card.neumorphic-card:hover,
.service-detail-card.neumorphic-card:hover,
.blog-post-card.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.3) !important;
    box-shadow: 14px 14px 40px rgba(40, 4, 6, 0.45), -14px -14px 40px rgba(255, 255, 255, 0.08) !important;
    transform: translateY(-5px) !important;
}

/* Subpage Tile Elements Inner Color Overrides */
.about-pillar-card.neumorphic-card h3,
.service-detail-card.neumorphic-card h3,
.blog-post-card.glass-card .post-title,
.blog-post-card.glass-card .featured-post .post-title {
    color: #ebd4c2 !important;
}

.about-pillar-card.neumorphic-card p,
.service-detail-card.neumorphic-card p,
.blog-post-card.glass-card .post-desc,
.about-pillar-card.neumorphic-card ul li {
    color: rgba(235, 212, 194, 0.85) !important;
}

.about-pillar-card.neumorphic-card .card-icon-wrap {
    background: rgba(235, 212, 194, 0.1) !important;
    border-color: rgba(235, 212, 194, 0.2) !important;
    color: #ebd4c2 !important;
}

.service-detail-card.neumorphic-card .service-card-num-badge.neumorphic-inset {
    background-color: #4c0305 !important;
    color: #ebd4c2 !important;
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.4), inset -4px -4px 8px rgba(255, 255, 255, 0.05) !important;
}

.blog-post-card.glass-card .post-category {
    color: #ebd4c2 !important;
    opacity: 0.95 !important;
}

.blog-post-card.glass-card .post-meta-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.blog-post-card.glass-card .post-metric-badge .metric-val {
    color: #ebd4c2 !important;
}

.blog-post-card.glass-card .post-metric-badge .metric-lbl,
.blog-post-card.glass-card .post-read-time {
    color: rgba(235, 212, 194, 0.7) !important;
}

.blog-post-card.glass-card .post-read-link {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ebd4c2 !important;
}

.blog-post-card.glass-card:hover .post-read-link {
    background: #ebd4c2 !important;
    color: #721216 !important;
}


/* Center alignment for section title underlines when centered */
.text-center.section-title::after,
.section-title.text-center::after {
    margin: 15px auto 0 auto !important;
}

/* Core values custom styles to ensure perfect desktop alignment */
.about-values-section {
    padding: 80px 0 !important;
    background: #faf7f4 !important;
    text-align: center !important;
    width: 100% !important;
    display: block !important;
    clear: both !important;
}

.about-values-section .container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    text-align: center !important;
    display: block !important;
}

.about-values-section h2.section-title {
    text-align: center !important;
    margin: 0 auto 40px auto !important;
    display: block !important;
    width: 100% !important;
}

.about-values-section .section-title::after {
    margin: 15px auto 0 auto !important;
}

.values-flex-wrap {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    max-width: 900px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.value-tag {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    font-family: 'Outfit', sans-serif !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #721216 !important;
    letter-spacing: 0.05em !important;
    background-color: #E3CEBE !important;
    box-shadow: inset 4px 4px 8px #c3ad9d, inset -4px -4px 8px #ffffff !important;
}


/* ── Custom HTML CTA Section ── */
.lets-talk-section {
    padding: 100px 0 !important;
    background: #faf7f4;
}

.home-custom-cta-card {
    background-color: #fcfaf7;
    border-radius: 40px;
    border: 1px solid rgba(114, 18, 22, 0.08);
    position: relative;
    overflow: hidden;
    padding: 60px 80px;
    box-shadow: 0 20px 50px rgba(114, 18, 22, 0.04);
}

.cta-inner-grid {
    display: grid;
    grid-template-columns: 62% 38%;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 3;
}

.cta-content-left {
    display: flex;
    flex-direction: column;
    z-index: 5;
    text-align: left;
}

.cta-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.cta-logo-img {
    height: 38px;
    width: auto;
}

.cta-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.cta-logo-text .logo-redwood {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #721216;
    letter-spacing: 0.05em;
}

.cta-logo-text .logo-marketing {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e140f;
    letter-spacing: 0.35em;
    margin-top: 2px;
}

.cta-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #1e140f;
    margin: 0 0 15px 0;
}

.cta-accent-red {
    color: #721216;
}

.cta-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(30, 20, 15, 0.7);
    max-width: 580px;
    margin: 0;
}

.cta-features-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    margin-top: 40px;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(114, 18, 22, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #721216;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feat-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}

.feat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1e140f;
    letter-spacing: 0.05em;
}

.feat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #721216;
    letter-spacing: 0.05em;
}

.cta-feature-item-divider {
    width: 1px;
    height: 30px;
    background: rgba(30, 20, 15, 0.15);
}

.cta-action-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 280px;
}

.btn-custom-cta-lets-grow {
    background: #121212;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 20px 38px;
    border-radius: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

.btn-custom-cta-lets-grow:hover {
    background: #721216;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(114, 18, 22, 0.3);
}

.btn-custom-cta-lets-grow .arrow-wrap {
    color: #e35a64;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.btn-custom-cta-lets-grow:hover .arrow-wrap {
    transform: translate(2px, -2px);
}

.cta-bg-rings-svg {
    position: absolute;
    right: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 440px;
    height: 440px;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 991px) {
    .home-custom-cta-card {
        padding: 50px 40px;
    }
    .cta-inner-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .cta-content-left {
        align-items: center;
        text-align: center;
    }
    .cta-logo-row {
        justify-content: center;
    }
    .cta-main-title {
        font-size: 2.8rem;
    }
    .cta-subtitle {
        text-align: center;
        margin: 0 auto;
    }
    .cta-features-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        width: 100% !important;
    }
    .cta-feature-item-divider {
        display: none !important;
    }
    .cta-action-right {
        min-height: auto;
        padding-top: 20px;
    }
    .cta-bg-rings-svg {
        right: 50%;
        transform: translate(50%, -50%);
        width: 320px;
        height: 320px;
        opacity: 0.15;
    }
}

@media (max-width: 575px) {
    .home-custom-cta-card {
        padding: 40px 20px;
    }
    .cta-main-title {
        font-size: 2.2rem;
    }
    .cta-features-row {
        grid-template-columns: 1fr !important;
        justify-items: start;
        max-width: 280px;
        margin: 30px auto 0 auto;
    }
    .btn-custom-cta-lets-grow {
        width: 100%;
        justify-content: center;
    }
}





/* ── Blog cards mobile truncate and tap-to-read-more ── */
@media (max-width: 767px) {
    .blog-post-card .post-desc {
        position: relative !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        cursor: pointer !important;
        margin-bottom: 12px !important;
        transition: max-height 0.4s ease !important;
    }

    .blog-post-card:not(.expanded) .post-desc::after {
        content: '... Tap to read more' !important;
        display: block !important;
        font-family: 'Outfit', sans-serif !important;
        font-size: 0.8rem !important;
        font-weight: 700 !important;
        color: #ebd4c2 !important;
        letter-spacing: 0.05em !important;
        margin-top: 6px !important;
        opacity: 0.85 !important;
    }

    .blog-post-card.expanded .post-desc {
        display: block !important;
        -webkit-line-clamp: none !important;
        overflow: visible !important;
    }
}


/* ── Landing page blogs text-to-box ratio and mobile read more ── */
.cs-info-display {
    min-height: 480px !important; /* Increase desktop height to give text breathing room */
}

@media (max-width: 991px) {
    .cs-info-display {
        min-height: 480px !important; /* Increase mobile height to fit the read more button and large metrics */
    }
    
    .cs-desc {
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important; /* Truncate description on mobile */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 15px !important;
        cursor: pointer !important;
    }
    
    .cs-content-panel.expanded .cs-desc {
        display: block !important;
        -webkit-line-clamp: none !important;
        overflow: visible !important;
    }
    
    
}


/* ── Fix mobile services slider dimensions and readability ── */
@media (max-width: 991px) {
    .services-slider {
        padding: 20px 0 40px 0 !important;
        overflow: hidden !important;
    }
    .service-slide {
        /* Let Swiper handle width on mobile */
        max-width: 88vw !important; /* Avoid card being wider than mobile viewport */
        height: auto !important; /* Let content determine height */
        min-height: 280px !important; /* Reduced minimum height to make cards shorter */
        filter: none !important; /* Remove blur/brightness filters on mobile for crystal-clear readability */
        opacity: 1 !important;
        transform: none !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    }
    .swiper-slide-active.service-slide,
    .swiper-slide-prev.service-slide,
    .swiper-slide-next.service-slide {
        filter: none !important;
        opacity: 1 !important;
        transform: scale(1) !important; /* Keep cards uniform size on mobile for cleaner layout */
    }
    .slide-inner {
        height: 100% !important;
    }
    .sub-services-list {
        margin-bottom: 15px !important;
    }
    .sub-services-list li {
        font-size: 0.85rem !important; /* Slightly larger text on mobile for accessibility */
    }
}


/* ── Mobile Centering Overrides for Hero and Contact Page ── */
@media (max-width: 991px) {
    /* Hero section elements absolute centering */
    .hero-main-content,
    .hero-main-content h1,
    .hero-main-content h2,
    .hero-main-content p,
    .hero-main-content span,
    .hero-main-content div,
    .hero-main-title,
    .hero-main-subtitle,
    .hero-main-desc {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Contact Page Boxes & Form centering overrides */
    .contact-page-main .contact-grid-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        gap: 30px !important;
    }

    .contact-info-column,
    .contact-form-column {
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
    }

    .contact-info-card,
    .contact-form-panel {
        width: 100% !important;
        max-width: 540px !important;
        margin: 0 auto !important;
        text-align: center !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 35px 25px !important;
        box-sizing: border-box !important;
    }

    .contact-info-card .info-text-wrap,
    .contact-form-panel form,
    .contact-form-panel .form-field-group {
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .neumorphic-contact-form input,
    .neumorphic-contact-form select,
    .neumorphic-contact-form textarea {
        text-align: center !important;
        width: 100% !important;
    }
    
    .form-field-group label {
        text-align: center !important;
        width: 100% !important;
        margin-bottom: 8px !important;
    }
}


/* ── Custom HTML CTA Card Section ── */
.lets-talk-section {
    padding: 100px 0 !important;
    background: #faf7f4;
}

.home-custom-cta-card {
    background-color: #fcfaf7;
    border-radius: 40px;
    border: 1px solid rgba(114, 18, 22, 0.08);
    position: relative;
    overflow: hidden;
    padding: 60px 80px;
    box-shadow: 0 20px 50px rgba(114, 18, 22, 0.04);
}

.cta-inner-grid {
    display: grid;
    grid-template-columns: 60% 40%;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 3;
}

.cta-content-left {
    display: flex;
    flex-direction: column;
    z-index: 5;
}

.cta-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.cta-logo-img {
    height: 38px;
    width: auto;
}

.cta-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.cta-logo-text .logo-redwood {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #721216;
    letter-spacing: 0.05em;
}

.cta-logo-text .logo-marketing {
    font-family: 'Outfit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e140f;
    letter-spacing: 0.35em;
    margin-top: 2px;
}

.cta-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #1e140f;
    margin: 0 0 15px 0;
}

.cta-accent-red {
    color: #721216;
}

.cta-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: rgba(30, 20, 15, 0.7);
    max-width: 580px;
    margin: 0;
}

.cta-features-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 25px;
    margin-top: 40px;
}

.cta-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feat-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(114, 18, 22, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #721216;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feat-text-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.feat-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    color: #1e140f;
    letter-spacing: 0.05em;
}

.feat-val {
    font-family: 'Outfit', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    color: #721216;
    letter-spacing: 0.05em;
}

.cta-feature-item-divider {
    width: 1px;
    height: 30px;
    background: rgba(30, 20, 15, 0.15);
}

.cta-action-right {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 280px;
}

.btn-custom-cta-lets-grow {
    background: #121212;
    color: #ffffff !important;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 20px 38px;
    border-radius: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

.btn-custom-cta-lets-grow:hover {
    background: #721216;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(114, 18, 22, 0.3);
}

.btn-custom-cta-lets-grow .arrow-wrap {
    color: #e35a64;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.cta-bg-rings-svg {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 420px;
    height: 420px;
    pointer-events: none;
    z-index: 1;
}

@media (max-width: 991px) {
    .home-custom-cta-card {
        padding: 50px 40px;
    }
    .cta-inner-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .cta-content-left {
        align-items: center;
    }
    .cta-logo-row {
        justify-content: center;
    }
    .cta-main-title {
        font-size: 2.8rem;
    }
    .cta-subtitle {
        text-align: center;
    }
    .cta-features-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
        margin-top: 30px !important;
    }
    .cta-feature-item-divider {
        display: none !important;
    }
    .cta-action-right {
        min-height: auto;
        padding-top: 20px;
    }
    .cta-bg-rings-svg {
        right: 50%;
        transform: translate(50%, -50%);
        width: 320px;
        height: 320px;
        opacity: 0.15;
    }
}

@media (max-width: 575px) {
    .home-custom-cta-card {
        padding: 40px 20px;
    }
    .cta-main-title {
        font-size: 2.2rem;
    }
    .btn-custom-cta-lets-grow {
        width: 100%;
        justify-content: center;
    }
    .cta-features-row {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
        align-items: flex-start !important;
        width: 100% !important;
    }
    .cta-feature-item {
        justify-content: flex-start !important;
        text-align: left !important;
    }
}


/* ── Mobile Beige Top Navbar on All Pages ── */
@media (max-width: 991px) {
    .site-header, .site-header.scrolled {
        background-color: #ebd4c2 !important;
        background: #ebd4c2 !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
        border-bottom: 1.5px solid rgba(114, 18, 22, 0.1) !important;
    }
}

/* --- Crimson Leaves Texture & Center Logo --- */
body, .bg-beige {
    background-image: url('../images/crimson-leaves-texture.png');
    background-repeat: repeat;
    background-size: 300px 300px;
    background-attachment: scroll;
}

.wove-center-logo {
    position: absolute;
    left: -80px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    z-index: 1;
    opacity: 0.6;
    pointer-events: none;
}

@media (max-width: 991px) {
    .wove-center-logo {
        left: 0;
        width: 280px;
    }
}
/* ------------------------------------------- */

    /* Proper Read More Button for mobile that doesn't break line-clamp */
    
    
    @media (max-width: 991px) {
        
        
        
        
        .cs-desc {
            margin-bottom: 15px !important;
        }
    }

/* Real Read More Button Styles */
.cs-read-more-btn {
    display: none; /* Hidden on desktop */
}

@media (max-width: 991px) {
    .cs-read-more-btn {
        display: inline-block;
        font-family: 'Outfit', sans-serif;
        font-size: 0.85rem;
        font-weight: 700;
        color: #8a1318;
        margin-bottom: 20px;
        cursor: pointer;
        background: transparent;
        border: none;
        padding: 0;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .cs-content-panel.expanded .cs-read-more-btn::after {
        content: 'Read less ▴';
        display: block;
    }
    
    .cs-content-panel:not(.expanded) .cs-read-more-btn::after {
        content: 'Read more ▾';
        display: block;
    }
    
    /* Hide the actual text content of the button to use the pseudo-element for toggling text */
    .cs-read-more-btn {
        font-size: 0; /* hides the hardcoded 'Read more' text */
    }
    .cs-read-more-btn::after {
        font-size: 0.85rem; /* restores size for the pseudo text */
    }
}
