/* CHERUKARAS BRAND STYLE GUIDE & LAYOUT SYSTEM */

:root {
    --bg-primary: #faf9f6; /* Warm Ivory Clean Canvas */
    --bg-secondary: #ffffff; /* Crisp pure white panels */
    --bg-card: #ffffff;
    --border-color: rgba(0, 0, 0, 0.06);
    --border-hover: rgba(230, 74, 25, 0.2);
    --accent-orange: #d84315; /* Rich Roasted Chili Red */
    --accent-gold: #e65100; /* Warm turmeric orange */
    --accent-green: #2e7d32; /* Pure Cardamom Green */
    --text-primary: #1c1d21; /* High contrast charcoal */
    --text-muted: #616670;
    --text-light: #ffffff;
    --font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    --header-height: 85px;
    --glow-chili: radial-gradient(circle, rgba(216, 67, 21, 0.04) 0%, rgba(0,0,0,0) 70%);
    --glow-turmeric: radial-gradient(circle, rgba(230, 81, 0, 0.03) 0%, rgba(0,0,0,0) 70%);
}

/* Global Reset overrides */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    letter-spacing: -0.01em;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

h1:focus, h1:focus-visible,
h2:focus, h2:focus-visible,
#hero-text-block:focus, #hero-text-block:focus-visible,
section:focus, section:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

/* Scroll Progress indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(to right, var(--accent-orange), var(--accent-gold));
    z-index: 1000;
    width: 0%;
    transition: width 0.1s ease-out;
}

/* Responsive Container margins */
.container {
    width: 100%;
    max-width: 1360px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 30px;
    padding-right: 30px;
}

/* Navigation Link hover animation */
.nav-link {
    position: relative;
    padding: 6px 0;
    color: var(--text-primary) !important;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Button UI system */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #b71c1c 100%);
    color: var(--text-light) !important;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 20px rgba(216, 67, 21, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(216, 67, 21, 0.35);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary) !important;
    text-decoration: none;
    padding: 16px 36px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border: 2px solid var(--text-primary);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--text-light) !important;
    transform: translateY(-2px);
}

/* Base layouts grids */
.grid-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.grid-catalog {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Product Card animations */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 67, 21, 0.3);
    box-shadow: 0 16px 35px rgba(216, 67, 21, 0.09), 0 5px 15px rgba(0, 0, 0, 0.03);
}

.product-card:hover .product-card-img,
.product-card:hover .product-card-emoji {
    transform: scale(1.08);
}

.product-card:hover .product-card-title-link {
    color: var(--accent-orange) !important;
}

.product-card:hover .product-card-btn .btn-arrow {
    transform: translateX(4px);
}

/* Variant Pill Selector Buttons */
.variant-pill-btn {
    border: 1px solid var(--border-color);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    font-family: var(--font-body);
}

.variant-pill-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange) !important;
    transform: translateY(-1px);
}

/* Category Filter Tabs system */
.tabs-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 40px;
    justify-content: center;
}

.tabs-scroll::-webkit-scrollbar {
    height: 3px;
}

.tabs-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.tab-btn {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
    border-color: rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* =====================================================
   HERO SECTION LAYOUT SYSTEM
   ===================================================== */
.grid-hero {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 50px;
    align-items: center;
    width: 100%;
    min-height: 500px;
}

#hero-text-block {
    width: 100%;
    max-width: 100%;
}

#hero-visual-display {
    width: 400px;
    max-width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-full-card {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.hero-full-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12) !important;
}

.hero-fade-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-fade-out {
    opacity: 0;
    transform: scale(0.97);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

/* Hero Badges & Buttons Layout */
.hero-badges-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
    align-items: center;
}

.hero-buttons-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.badge-tag {
    background-color: rgba(216, 67, 21, 0.06);
    border: 1px solid rgba(216, 67, 21, 0.18);
    color: var(--accent-orange);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}

.badge-tag:hover {
    transform: translateY(-2px);
    background-color: rgba(216, 67, 21, 0.1);
    border-color: rgba(216, 67, 21, 0.3);
}

/* RESPONSIVE BREAKPOINTS (MEDIA QUERIES) */

/* Tablets & Small Laptops (under 1024px) */
@media (max-width: 1024px) {
    .grid-hero {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
        padding-top: 20px;
    }
    
    #hero-text-block {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badges-wrapper {
        justify-content: center;
        width: 100%;
        gap: 10px;
        margin-bottom: 35px;
    }

    .hero-buttons-wrapper {
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    #threejs-container {
        position: relative;
        width: 100%;
        height: 380px;
        display: flex;
        justify-content: center;
        align-items: center;
        right: auto;
        top: auto;
        transform: none !important;
    }

    #threejs-container .simulated-card {
        transform: rotate(0deg) !important;
        animation: float-mobile 5s ease-in-out infinite !important;
    }

    .tabs-scroll {
        justify-content: flex-start;
        padding-left: 10px;
    }
}

/* Phones & Small Tablets (under 768px) */
@media (max-width: 768px) {
    :root {
        --header-height: 75px;
    }

    .container {
        padding-left: 20px;
        padding-right: 20px;
    }

    /* Responsive Typography & Focus Reset */
    #hero-text-block,
    #hero-text-block h1,
    h1 {
        outline: none !important;
        box-shadow: none !important;
    }
    
    #hero-text-block h1 {
        font-size: 2.5rem !important;
    }

    #hero-text-block p {
        font-size: 1.05rem !important;
        margin-bottom: 25px !important;
    }

    .hero-badges-wrapper {
        justify-content: center;
        width: 100%;
        gap: 8px;
        margin-bottom: 30px;
    }

    .badge-tag {
        padding: 8px 16px;
        font-size: 0.8rem;
        border-radius: 100px;
    }

    .hero-buttons-wrapper {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .hero-buttons-wrapper .btn-primary,
    .hero-buttons-wrapper .btn-secondary {
        width: 100% !important;
        justify-content: center;
        padding: 15px 20px;
        font-size: 0.95rem;
        text-align: center;
    }

    /* Spacings */
    section {
        padding: 50px 0 !important;
    }
}

@keyframes float-mobile {
    0%, 100% { transform: translateY(0) scale(0.95); }
    50% { transform: translateY(-10px) scale(0.95); }
}

/* NAVIGATION & LAYOUT STYLES */
.nav-link.active-link {
    color: var(--accent-orange) !important;
    font-weight: 800 !important;
}
.nav-link.active-link::after {
    width: 100% !important;
}

.header-scrolled {
    background: rgba(250, 249, 246, 0.96) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* MOBILE DRAWER NAVIGATION */
.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    max-width: 85vw;
    height: 100vh;
    background: #ffffff;
    z-index: 999;
    padding: 30px 24px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.35s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mobile-drawer.open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

@media (min-width: 1025px) {
    .mobile-drawer-overlay,
    .mobile-drawer {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}


/* UI COMPONENT ANIMATIONS & HELPERS */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
    color: #ffffff;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #25d366;
    opacity: 0.6;
    animation: pulse-wave 2s infinite;
    z-index: -1;
}

@keyframes pulse-wave {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ACCORDION UTILITIES */
.accordion-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background-color: var(--bg-card);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(216, 67, 21, 0.3);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    text-align: left;
}

.accordion-content {
    padding: 0 24px 20px 24px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

/* TIMELINE UTILITIES */
.timeline-container {
    position: relative;
    padding-left: 40px;
}
.timeline-container::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-orange), var(--accent-gold));
}

.timeline-dot {
    position: absolute;
    left: 6px;
    top: 24px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-orange);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 2px var(--accent-orange);
}

/* TRUST BADGE SYSTEM */
.trust-badge-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.trust-badge-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 16px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trust-badge-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 67, 21, 0.25);
    box-shadow: 0 12px 30px rgba(216, 67, 21, 0.08);
}

.trust-badge-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(216, 67, 21, 0.06);
    border: 1px solid rgba(216, 67, 21, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.trust-badge-card:hover .trust-badge-icon {
    transform: scale(1.1);
    background: rgba(216, 67, 21, 0.12);
}

.trust-badge-title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.trust-badge-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-weight: 400;
}

@media (max-width: 1200px) {
    .trust-badge-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .trust-badge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .trust-badge-card {
        padding: 20px 12px;
    }
    
    .trust-badge-title {
        font-size: 0.98rem;
    }
    
    .trust-badge-subtitle {
        font-size: 0.78rem;
    }
}

/* =====================================================
   EDITORIAL MOSAIC CATEGORY GRID & CARD STYLES
   ===================================================== */
.category-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 270px;
    gap: 24px;
}

/* Card Sizing Layout Classes */
.category-card-hero {
    grid-column: span 2;
    grid-row: span 2;
}

.category-card-medium {
    grid-column: span 1;
    grid-row: span 1;
}

.category-card-small {
    grid-column: span 1;
    grid-row: span 1;
}

.category-card-wide {
    grid-column: span 2;
    grid-row: span 1;
}

/* Category Card Wrapper & Content */
.category-card-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 32px 28px;
    text-decoration: none !important;
    color: #ffffff !important;
    background-color: #1c1d21;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.4s ease;
    cursor: pointer;
    min-height: 240px;
}

.category-card-wrapper:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25), 0 10px 25px rgba(216, 67, 21, 0.15);
    border-color: rgba(216, 67, 21, 0.4);
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.8s ease;
    z-index: 1;
}

.category-card-wrapper:hover .category-card-bg {
    transform: scale(1.08);
}

.category-accent-glow {
    position: absolute;
    top: -20%;
    right: -20%;
    width: 60%;
    height: 60%;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.25;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.category-card-wrapper:hover .category-accent-glow {
    opacity: 0.5;
}

.category-card-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
}

.category-watermark-icon {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #ffffff;
    opacity: 0.1;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.5s ease;
}

.category-card-wrapper:hover .category-watermark-icon {
    transform: scale(1.15) rotate(5deg);
    opacity: 0.22;
}

.category-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-orange);
    display: inline-block;
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.category-card-hero .category-card-title {
    font-size: 2.6rem;
}

.category-card-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
    font-weight: 300;
    margin-bottom: 18px;
    max-width: 480px;
}

.category-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    position: relative;
}

.category-cta-link span {
    position: relative;
}

.category-cta-link span::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
}

.category-card-wrapper:hover .category-cta-link span::after {
    width: 100%;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.category-card-wrapper:hover .cta-arrow {
    transform: translateX(5px);
}

/* Mobile & Tablet Layout (2-Column Grid with Full-Width First & Last Cards) */
@media (max-width: 1024px) {
    .category-mosaic-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: minmax(210px, auto);
        gap: 16px;
    }

    /* All inner cards default to 1 column */
    .category-card-wrapper,
    .category-card-hero,
    .category-card-medium,
    .category-card-small,
    .category-card-wide {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        width: 100% !important;
    }

    /* First Card (Curry Powders): Full Width across 2 columns */
    .category-mosaic-grid > .category-card-wrapper:first-child {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    /* Last Card (Coffee): Full Width across 2 columns */
    .category-mosaic-grid > .category-card-wrapper:last-child {
        grid-column: span 2 !important;
        grid-row: span 1 !important;
    }

    .category-card-wrapper {
        padding: 24px 20px;
        min-height: 200px;
    }

    .category-card-title {
        font-size: 1.4rem;
    }

    .category-card-hero .category-card-title,
    .category-mosaic-grid > .category-card-wrapper:first-child .category-card-title,
    .category-mosaic-grid > .category-card-wrapper:last-child .category-card-title {
        font-size: 1.7rem;
    }

    .category-watermark-icon {
        top: 10px;
        right: 12px;
        opacity: 0.08;
    }

    .category-watermark-icon svg {
        width: 85px;
        height: 85px;
    }
}

/* =====================================================
   HERITAGE SECTION, TIMELINE & BRAND VALUES STYLES
   ===================================================== */

/* Image Zoom Effect */
.heritage-image-wrapper:hover .heritage-img-container {
    transform: scale(1.06);
}

/* Vertical Timeline Track Line */
.heritage-timeline-track {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    background: linear-gradient(180deg, var(--accent-orange) 0%, var(--accent-gold) 50%, rgba(216, 67, 21, 0.2) 100%);
    border-radius: 4px;
    z-index: 1;
}

.heritage-timeline-list {
    display: flex;
    flex-direction: column;
    gap: 48px;
    position: relative;
    z-index: 2;
}

/* Individual Timeline Item (Desktop Alternating 2-Column Grid) */
.heritage-timeline-item {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    position: relative;
}

.heritage-timeline-item .timeline-item-content {
    grid-column: 1 / 2;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    text-align: right;
}

.heritage-timeline-item.timeline-item-reversed .timeline-item-content {
    grid-column: 3 / 4;
    text-align: left;
}

.heritage-timeline-item .timeline-item-content:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 67, 21, 0.3);
    box-shadow: 0 12px 30px rgba(216, 67, 21, 0.08);
}

/* Timeline Node Marker Dot */
.timeline-node-marker {
    grid-column: 2 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

.timeline-node-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--accent-orange);
    border: 4px solid #ffffff;
    box-shadow: 0 0 0 3px rgba(216, 67, 21, 0.25);
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.heritage-timeline-item:hover .timeline-node-dot {
    transform: scale(1.25);
    background: var(--accent-gold);
}

.timeline-year-badge {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--accent-orange);
    background: rgba(216, 67, 21, 0.08);
    border: 1px solid rgba(216, 67, 21, 0.2);
    padding: 4px 14px;
    border-radius: 100px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.timeline-item-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.3;
}

.timeline-item-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* BRAND VALUES GRID */
.heritage-values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.heritage-value-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.heritage-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 67, 21, 0.3);
    box-shadow: 0 14px 32px rgba(216, 67, 21, 0.08);
}

.value-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.heritage-value-card:hover .value-card-icon {
    transform: scale(1.1);
}

.value-card-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.value-card-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* RESPONSIVE TIMELINE & VALUES (TABLET & MOBILE) */
@media (max-width: 1024px) {
    .heritage-editorial-split {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .heritage-values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .heritage-quote-section blockquote {
        font-size: 2.2rem !important;
    }
}

@media (max-width: 768px) {
    /* Collapses timeline to single column on left track */
    .heritage-timeline-track {
        left: 20px !important;
        transform: none !important;
    }

    .heritage-timeline-item {
        grid-template-columns: 40px 1fr !important;
        gap: 16px;
    }

    .timeline-node-marker {
        grid-column: 1 / 2 !important;
        justify-content: flex-start !important;
    }

    .heritage-timeline-item .timeline-item-content,
    .heritage-timeline-item.timeline-item-reversed .timeline-item-content {
        grid-column: 2 / 3 !important;
        text-align: left !important;
        padding: 22px 18px;
    }

    .heritage-values-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .heritage-quote-section {
        padding: 45px 20px !important;
        margin: 40px 0 10px 0 !important;
    }

    .heritage-quote-section blockquote {
        font-size: 1.75rem !important;
    }
}

/* =====================================================
   MANUFACTURING PROCESS & TESTIMONIALS STYLES
   ===================================================== */

/* Process Card */
.process-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 67, 21, 0.3);
    box-shadow: 0 14px 32px rgba(216, 67, 21, 0.08);
}

.process-card-step {
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-orange);
    opacity: 0.18;
}

.process-icon-wrapper {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.process-card:hover .process-icon-wrapper {
    transform: scale(1.1);
}

.process-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}

.process-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

/* Testimonial Card */
.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px 26px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 67, 21, 0.3);
    box-shadow: 0 14px 32px rgba(216, 67, 21, 0.08);
}

.testimonial-text {
    font-size: 0.98rem;
    color: var(--text-primary);
    line-height: 1.65;
    font-weight: 300;
    font-style: italic;
    margin-bottom: 24px;
}

.testimonial-author-block {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--border-color);
    padding-top: 18px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.author-name {
    font-weight: 800;
    font-size: 1rem;
    color: var(--text-primary);
    margin: 0 0 2px 0;
}

.author-location {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

/* Process & Testimonials Responsive Grid */
@media (max-width: 1024px) {
    .process-steps-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .process-steps-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .testimonials-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
/* =====================================================
   LUXURY EDITORIAL HERO STAGE STYLES
   ===================================================== */
.hero-brand-stage {
    position: relative;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.hero-editorial-card {
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 32px 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.4s ease;
}

.hero-editorial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 50px rgba(216, 67, 21, 0.07);
    border-color: rgba(216, 67, 21, 0.2);
}

.hero-stage-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

.hero-stage-tag {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--accent-orange);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hero-stage-year {
    font-size: 0.72rem;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.hero-stage-product-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.hero-stage-glow {
    position: absolute;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(216, 67, 21, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(25px);
    pointer-events: none;
}

.hero-stage-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.12));
    animation: float-gentle 5s ease-in-out infinite;
}

@keyframes float-gentle {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero-stage-footer {
    width: 100%;
    text-align: center;
}

.hero-stage-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.25;
}

.hero-stage-malayalam {
    font-size: 0.95rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 14px;
}

.hero-stage-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(to right, var(--accent-orange), var(--accent-gold));
    margin: 0 auto 14px auto;
    border-radius: 2px;
    opacity: 0.7;
}

.hero-stage-trust-row {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stage-trust-item {
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.hero-stage-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.stage-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.stage-dot.active {
    background-color: var(--accent-orange);
    transform: scale(1.3);
    width: 20px;
    border-radius: 100px;
}

/* =====================================================
   INFINITE 3D FLOATING PRODUCT REEL STYLES
   ===================================================== */
.hero-reel-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 520px;
    margin: 0 auto;
    overflow: hidden;
    perspective: 1200px;
}

.hero-reel-fade-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to bottom, var(--bg-primary) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.hero-reel-fade-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
    z-index: 10;
    pointer-events: none;
}

.hero-reel-track-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
    height: 100%;
    transform: rotate(-3deg) rotateY(-4deg) scale(0.96);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.hero-reel-container:hover .hero-reel-track-wrapper {
    transform: rotate(0deg) rotateY(0deg) scale(1);
}

.hero-reel-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.hero-reel-container:hover .hero-reel-col {
    animation-play-state: paused !important;
}

.reel-col-up {
    animation: reel-scroll-up 22s linear infinite;
}

.reel-col-down {
    animation: reel-scroll-down 22s linear infinite;
}

@keyframes reel-scroll-up {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes reel-scroll-down {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

.hero-reel-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-reel-card:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(216, 67, 21, 0.3);
    box-shadow: 0 16px 35px rgba(216, 67, 21, 0.1);
}

.reel-card-img-wrap {
    position: relative;
    width: 100%;
    height: 140px;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-primary);
}

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

.hero-reel-card:hover .reel-card-img {
    transform: scale(1.08);
}

.reel-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 60%);
}

.reel-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reel-card-badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.reel-card-title {
    font-family: var(--font-heading);
    font-size: 0.98rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0;
}

/* =====================================================
   HERO SHOWCASE PEDESTAL STYLES (LUXURY BRAND STAGE)
   ===================================================== */
.hero-pedestal-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0;
    user-select: none;
}

.hero-pedestal-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(216, 67, 21, 0.16) 0%, rgba(230, 81, 0, 0.07) 55%, transparent 75%);
    filter: blur(45px);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.6s ease, opacity 0.6s ease;
}

.hero-pedestal-container:hover .hero-pedestal-glow {
    transform: scale(1.15);
    opacity: 0.9;
}

.hero-pedestal-img {
    max-height: 460px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    position: relative;
    z-index: 5;
    filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.14));
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), filter 0.45s ease;
    cursor: pointer;
}

.hero-pedestal-container:hover .hero-pedestal-img {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 32px 55px rgba(216, 67, 21, 0.18));
}

.hero-pedestal-badge-top {
    position: absolute;
    top: 15px;
    right: -10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(230, 81, 0, 0.25);
    padding: 8px 18px;
    border-radius: 100px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-gold);
    z-index: 10;
    transition: transform 0.3s ease;
}

.hero-pedestal-badge-bottom {
    position: absolute;
    bottom: 25px;
    left: -10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(46, 125, 50, 0.25);
    padding: 8px 18px;
    border-radius: 100px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-green);
    z-index: 10;
    transition: transform 0.3s ease;
}

.hero-pedestal-container:hover .hero-pedestal-badge-top {
    transform: translateY(-3px);
}

.hero-pedestal-container:hover .hero-pedestal-badge-bottom {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .hero-pedestal-container {
        padding: 10px 0;
        max-width: 100%;
    }

    .hero-pedestal-img {
        max-height: 380px;
    }

    .hero-pedestal-badge-top {
        top: 0px;
        right: 0px;
        padding: 6px 14px;
        font-size: 0.72rem;
    }

    .hero-pedestal-badge-bottom {
        bottom: 10px;
        left: 0px;
        padding: 6px 14px;
        font-size: 0.72rem;
    }
}

@media (max-width: 768px) {
    .hero-reel-container {
        height: 440px;
        max-width: 100%;
    }

    .hero-reel-track-wrapper {
        transform: none !important;
        gap: 12px;
    }

/* =====================================================
   PURE HERO PRODUCT CARD SHOWCASE STYLES
   ===================================================== */
.hero-pure-card-container {
    position: relative;
    width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    user-select: none;
}

.hero-pure-glow {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
    height: 340px;
    border-radius: 50%;
    filter: blur(50px);
    pointer-events: none;
    transition: background 0.8s ease;
}

.hero-pure-card {
    position: relative;
    width: 380px;
    height: 440px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-pure-card:hover {
    transform: translateY(-4px);
    border-color: rgba(216, 67, 21, 0.25);
    box-shadow: 0 24px 50px rgba(216, 67, 21, 0.08);
}

.hero-pure-img {
    width: 100%;
    height: 100%;
    max-height: 380px;
    max-width: 340px;
    object-fit: contain;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.12));
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.hero-dots-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 18px;
    z-index: 25;
    position: relative;
}

.hero-pure-dots {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #ffffff;
    border: 1px solid rgba(230, 81, 0, 0.22);
    border-radius: 100px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.hero-dot-indicator {
    background: none;
    border: none;
    padding: 6px 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
    transition: transform 0.2s ease;
}

.hero-dot-indicator:hover {
    transform: scale(1.18);
}

.hero-dot-bar {
    display: block;
    height: 8px;
    width: 12px;
    border-radius: 100px;
    background-color: rgba(0, 0, 0, 0.22);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hero-dot-indicator.active .hero-dot-bar {
    width: 34px;
    background: linear-gradient(to right, var(--accent-orange), var(--accent-gold));
    box-shadow: 0 3px 12px rgba(216, 67, 21, 0.4);
/* Continuous Floating & Smooth Crossfade Animations */
@keyframes heroFloat {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.02);
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

.hero-smooth-img {
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.hero-float-anim {
    animation: heroFloat 5s ease-in-out infinite;
}

.hero-fade-out {
    opacity: 0;
    transform: translateY(10px) scale(0.94) !important;
}

.hero-fade-in {
    opacity: 1;
}

@media (max-width: 768px) {
    .hero-pure-card-container,
    .hero-pure-card {
        width: 100%;
        max-width: 320px;
        height: 380px;
    }
}

/* =====================================================
   TRUST BADGE & BRAND PROMISE CARD GRID SYSTEM
   ===================================================== */
.trust-badge-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    width: 100%;
}

.trust-badge-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 26px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.trust-badge-card:hover {
    transform: translateY(-6px);
    border-color: rgba(216, 67, 21, 0.3);
    box-shadow: 0 16px 35px rgba(216, 67, 21, 0.08);
}

.trust-badge-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(216, 67, 21, 0.06);
    color: var(--accent-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: all 0.35s ease;
}

.trust-badge-card:hover .trust-badge-icon {
    background: var(--accent-orange);
    color: #ffffff;
    transform: scale(1.08);
}

.trust-badge-title {
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    line-height: 1.35;
    letter-spacing: -0.2px;
}

.trust-badge-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .trust-badge-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .trust-badge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    
    .trust-badge-card {
        padding: 20px 12px;
    }
}

@media (max-width: 480px) {
    .trust-badge-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

/* =====================================================
   CATEGORY MOSAIC GRID & CARD STYLES
   ===================================================== */
.category-mosaic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.category-card-wrapper {
    position: relative;
    border-radius: 24px;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px 28px;
    text-decoration: none !important;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-card-hero {
    grid-column: span 2;
    min-height: 420px;
}

.category-card-wrapper:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.22);
}

.category-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.75s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.category-card-wrapper:hover .category-card-bg {
    transform: scale(1.08);
}

.category-accent-glow {
    position: absolute;
    bottom: -30%;
    right: -30%;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.25;
    z-index: 2;
    pointer-events: none;
}

.category-watermark-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    color: rgba(255, 255, 255, 0.12);
    z-index: 2;
    pointer-events: none;
    transition: transform 0.4s ease, color 0.4s ease;
}

.category-card-wrapper:hover .category-watermark-icon {
    transform: scale(1.1) rotate(-5deg);
    color: rgba(255, 255, 255, 0.25);
}

.category-card-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.category-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-orange);
}

.category-card-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.category-card-desc {
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 400;
}

.category-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.cta-arrow {
    transition: transform 0.3s ease;
}

.category-card-wrapper:hover .cta-arrow {
    transform: translateX(6px);
}

@media (max-width: 1024px) {
    .category-mosaic-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .category-card-hero {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .category-mosaic-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .category-card-hero {
        grid-column: span 1;
        min-height: 340px;
    }

    .category-card-wrapper {
        min-height: 320px;
        padding: 24px 20px;
    }

    .category-card-title {
        font-size: 1.6rem;
    }
}
