/* 
   TEXWIN - Premium 3D Sustainability Website
   Design System & CSS Foundation
*/

/* --- Fonts Setup --- */
@font-face {
    font-family: 'Glonto';
    src: url('../assets/fonts/glonto-regular.otf') format('opentype'),
        url('../assets/fonts/glonto-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Fallback/Pairing Google Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Alex+Brush&display=swap');

/* --- Root variables --- */
:root {
    /* Color Palette */
    --color-white: #FFFFFF;
    --color-soft-white: #FAFBFA;
    --color-premium-green: #1F7A3D;
    --color-deep-forest-green: #14532D;
    --color-fresh-green: #34A853;
    --color-light-green: #DFF5E1;

    /* Text Colors */
    --text-primary: #14532D;
    /* Deep forest green for main readability */
    --text-secondary: #4A6B53;
    /* Muted green-gray for secondary hierarchy */
    --text-light: #FAFBFA;
    --text-dark: #0A2212;

    /* Gradients */
    --gradient-forest-white: linear-gradient(135deg, var(--color-deep-forest-green) 0%, var(--color-premium-green) 35%, var(--color-fresh-green) 70%, var(--color-white) 100%);
    --gradient-fresh-white: linear-gradient(135deg, var(--color-fresh-green) 0%, var(--color-light-green) 60%, var(--color-white) 100%);
    --gradient-green-white: linear-gradient(135deg, var(--color-premium-green) 0%, var(--color-white) 100%);
    --gradient-premium-soft: linear-gradient(135deg, var(--color-deep-forest-green) 0%, var(--color-premium-green) 100%);

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(20, 83, 45, 0.05), 0 2px 4px -1px rgba(20, 83, 45, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(20, 83, 45, 0.08), 0 4px 6px -2px rgba(20, 83, 45, 0.04);
    --shadow-lg: 0 20px 25px -5px rgba(20, 83, 45, 0.12), 0 10px 10px -5px rgba(20, 83, 45, 0.06);
    --shadow-glass: 0 8px 32px 0 rgba(20, 83, 45, 0.08);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Durations */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);

    /* Grid/Spacers */
    --space-unit: 8px;
    --space-xs: calc(var(--space-unit) * 1);
    /* 8px */
    --space-sm: calc(var(--space-unit) * 2);
    /* 16px */
    --space-md: calc(var(--space-unit) * 4);
    /* 32px */
    --space-lg: calc(var(--space-unit) * 8);
    /* 64px */
    --space-xl: calc(var(--space-unit) * 12);
    /* 96px */
    --space-xxl: calc(var(--space-unit) * 20);
    /* 160px */

    /* Navigation height placeholder */
    --nav-height: 80px;
}

/* --- CSS Reset & Global --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 62.5%;
    /* 10px base for simple rem calculation */
}

body {
    background-color: var(--color-soft-white);
    color: var(--text-primary);
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: 1.8rem;
    /* 18px base */
    line-height: 1.7;
    overflow-x: hidden;
    letter-spacing: 0.5px;
}

/* Custom Scrollbar for Premium Feel */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-soft-white);
}

::-webkit-scrollbar-thumb {
    background: var(--color-light-green);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-premium-green);
}

/* --- Typography System --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Glonto', 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.2;
}

/* Hero Heading (Exclusive single H1 rule) */
h1 {
    font-size: clamp(4rem, 8vw, 8.5rem);
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

/* Section Headings */
h2 {
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

h3 {
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    font-weight: 400;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

p {
    font-size: clamp(1.8rem, 2vw, 2.0rem);
    /* 18px to 20px */
    letter-spacing: 0.5px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* --- Layout & Structure --- */
.app-container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    z-index: 1;
}

/* WebGL Background Canvas */
#webgl-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease;
}

#webgl-canvas.loaded {
    opacity: 1;
}

/* Section Wrapper */
section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: var(--space-xl) var(--space-md);
    z-index: 2;
    overflow: hidden;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

/* --- UI Components (Premium Styling) --- */

/* Premium Glassmorphism */
.glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: var(--shadow-glass);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    transition: var(--transition-normal);
}

.glass-panel:hover {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

/* Premium Sustainable Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 3.6rem;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--color-premium-green);
    color: var(--color-white);
    box-shadow: 0 4px 15px rgba(31, 122, 61, 0.3);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-premium-soft);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 122, 61, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--color-premium-green);
    border: 1px solid rgba(31, 122, 61, 0.2);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--color-light-green);
    border-color: var(--color-premium-green);
    transform: translateY(-3px);
}

/* Modern Card Layouts */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

/* --- Global Utilities --- */
.text-gradient-forest {
    background: var(--gradient-forest-white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-premium {
    background: var(--gradient-premium-soft);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hidden-scroll {
    overflow: hidden;
}

/* Micro-Animations & Reveal Utilities */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal-down.active {
    opacity: 1;
    transform: translateY(0);
}

/* For staggered delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

.delay-6 {
    transition-delay: 0.6s;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    html {
        font-size: 56.25%;
        /* 9px base */
    }

    section {
        padding: var(--space-lg) var(--space-sm);
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%;
        /* 8px base */
    }

    section {
        min-height: auto;
        padding: var(--space-md) var(--space-sm);
    }
}

/* --- Hero Section & Brand Logo Styling --- */
#hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-deep-forest-green);
}

/* Youtube Video Background */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%) scale(1.14);
    object-fit: cover;
    object-position: center center;
    pointer-events: none;
}

@media (min-width: 1200px) {
    .hero-video-container video {
        left: 54%;
        transform: translate(-50%, -50%) scale(1.18);
    }
}

@media (min-width: 1600px) {
    .hero-video-container video {
        left: 56%;
        transform: translate(-50%, -50%) scale(1.22);
    }
}

@media (max-width: 768px) {
    .hero-video-container video {
        left: 50%;
        transform: translate(-50%, -50%) scale(1.25);
        object-position: center center;
    }
}

.hero-video-container iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    /* 16:9 ratio */
    min-height: 100vh;
    min-width: 177.77vh;
    /* 16:9 aspect ratio */
    transform: translate(-50%, -50%) scale(1.15);
    /* Slightly scaled up to hide YouTube player borders */
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: none;
    pointer-events: none;
}

/* Logo container placed at Left Top corner of the Hero Section */
.hero-logo-container {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
}

/* Static, animation-free logo capsule */
.brand-logo {
    display: inline-block;
    transition: all var(--transition-normal);
}

/* Hover effect on logo */
.brand-logo:hover {
    transform: scale(1.05);
}

.logo-image {
    width: 240px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* --- Product Showcase Section --- */
#product-showcase {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: stretch;
    background-color: var(--theme-bg-showcase, var(--color-soft-white));
    z-index: 3;
    overflow: hidden;
    border-top: 1px solid rgba(20, 83, 45, 0.05);

    /* Dynamic Theme Variables - default is Cream White */
    --theme-accent: var(--color-premium-green);
    --theme-accent-hover: var(--color-fresh-green);
    --theme-bg-left: #F8F9FA;
    --theme-bg-right: linear-gradient(135deg, #FAFBFA 0%, #E8F5E9 100%);
    --theme-blob-1: #81C784;
    --theme-blob-2: #1B5E20;
    --theme-bg-text-color: rgba(20, 83, 45, 0.18);
    --theme-glow: rgba(31, 122, 61, 0.25);

    transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.split-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

/* Left Side - Content */
.showcase-content {
    flex: 1;
    width: 50%;
    background-color: var(--theme-bg-left);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-lg);
    /* reduced padding for compactness */
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    transition: background-color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.content-wrapper {
    max-width: 600px;
    width: 100%;
}

.section-tagline {
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--theme-accent);
    margin-bottom: var(--space-xs);
    display: block;
    transition: color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.section-title {
    font-size: clamp(2.8rem, 4vw, 4.4rem);
    /* slightly smaller title font */
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
    line-height: 1.15;
}

.section-description {
    font-size: 1.6rem;
    /* slightly smaller description font */
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

/* Color Selector */
.color-selector-container {
    margin: var(--space-sm) 0;
    /* reduced margins */
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.selector-label {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.color-options-row {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.color-options {
    display: flex;
    gap: var(--space-sm);
}

.color-preview-img {
    height: 120px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.4);
    border: none;
}

.color-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 3px solid #E2E8F0;
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.color-dot:hover {
    transform: scale(1.15);
    border-color: var(--theme-accent);
}

.color-dot.active {
    transform: scale(1.15);
    border-color: var(--theme-accent);
    box-shadow: 0 0 15px var(--theme-glow);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(20, 83, 45, 0.1);
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: clamp(2.0rem, 2.5vw, 3.0rem);
    /* slightly smaller metric values */
    font-weight: 700;
    color: var(--theme-accent);
    line-height: 1.1;
    transition: color 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.metric-label {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

/* Right Side - Visual / 3D Canvas with Liquid Glassmorphism */
.showcase-visual {
    flex: 1;
    width: 50%;
    background: var(--theme-bg-right);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 1200px;
    /* Enable 3D depth for tilt parallax */
    transition: background 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Animated Liquid Blobs for Glassmorphic background */
.showcase-visual::before,
.showcase-visual::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    z-index: 1;
    opacity: 0.65;
    animation: floatBlob 12s infinite alternate ease-in-out;
    transition: background 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Soft Green Blob */
.showcase-visual::before {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--theme-blob-1) 0%, rgba(129, 199, 132, 0) 70%);
    top: 10%;
    left: 5%;
}

/* Dark Green Blob */
.showcase-visual::after {
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, var(--theme-blob-2) 0%, rgba(27, 94, 32, 0) 70%);
    bottom: 5%;
    right: 10%;
    animation-delay: -6s;
    animation-duration: 16s;
}

/* Glassmorphism Blur Panel */
.glass-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    pointer-events: none;
}

#product-canvas-container {
    width: 100%;
    height: 100%;
    min-height: 500px;
    position: relative;
    z-index: 5;
}

#product-canvas {
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Product Image Overlay */
.product-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 65%;
    max-height: 80%;
    object-fit: contain;
    z-index: 10;
    pointer-events: none;
    /* Let OrbitControls mouse events pass through to canvas */

    /* Subtle premium glow and drop shadow */
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.12)) drop-shadow(0 0 25px var(--theme-glow));

    /* Smooth transitions for cross-fade (opacity) and glow (filter) */
    transition: opacity 0.5s ease-in-out, filter 0.5s ease-in-out;
    opacity: 1;
    transform-style: preserve-3d;
    backface-visibility: hidden;

    /* Apply continuous floating animation */
    animation: floatSpool 5s infinite ease-in-out;
}

/* Floating animation */
@keyframes floatSpool {
    0% {
        margin-top: 0px;
    }

    50% {
        margin-top: -15px;
        /* Float up by 15px */
    }

    100% {
        margin-top: 0px;
    }
}

/* Editorial vertical text along the right edge */
.visual-bg-text {
    position: absolute;
    top: 50%;
    right: 40px;
    /* position along the right edge */
    width: 650px;
    /* span end-to-end of the 650px tall container */
    text-align: center;
    transform: translate(35%, -50%) rotate(-90deg);
    /* center vertically and rotate to read bottom-to-top */
    transform-origin: center center;
    font-size: clamp(8rem, 12vh, 11rem);
    /* giant premium lettering */
    font-weight: 900;
    color: var(--theme-bg-text-color);
    letter-spacing: 28px;
    /* spread letters end-to-end */
    user-select: none;
    pointer-events: auto;
    /* enable mouse hover */
    z-index: 3;
    /* visible behind the product but over the background */
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
}

.visual-bg-text:hover {
    color: var(--theme-accent);
    /* 3D shadow extrusion effect that adapts to theme accent color */
    text-shadow:
        -1px 1px 0px var(--theme-shadow-3d, rgba(20, 83, 45, 0.15)),
        -2px 2px 0px var(--theme-shadow-3d, rgba(20, 83, 45, 0.15)),
        -3px 3px 0px var(--theme-shadow-3d, rgba(20, 83, 45, 0.12)),
        -4px 4px 0px var(--theme-shadow-3d, rgba(20, 83, 45, 0.1)),
        -5px 5px 0px var(--theme-shadow-3d, rgba(20, 83, 45, 0.08)),
        -6px 6px 15px rgba(0, 0, 0, 0.15);
    /* 3D tilt: translate outward slightly and rotate slightly on Y/X axes */
    transform: translate(25%, -50%) rotate(-90deg) rotateX(8deg) rotateY(-12deg) scale(1.05);
}

/* Blob Animation Keyframes */
@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(40px, -30px) scale(1.1);
    }

    100% {
        transform: translate(-30px, 40px) scale(0.9);
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #product-showcase {
        height: auto;
        min-height: auto;
    }

    .split-layout {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .showcase-content,
    .showcase-visual {
        width: 100%;
        flex: none;
    }

    .showcase-content {
        padding: var(--space-lg) var(--space-md);
    }

    .showcase-visual {
        height: 450px;
    }

    .visual-bg-text {
        position: absolute;
        top: auto;
        bottom: 20px;
        left: 50%;
        right: auto;
        width: 100%;
        text-align: center;
        transform: translate(-50%, 0);
        transform-origin: center center;
        font-size: clamp(5.5rem, 12vw, 9.5rem);
        letter-spacing: 16px;
        pointer-events: auto;
        /* enable mouse hover */
        white-space: nowrap;
        transition: color 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), text-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .visual-bg-text:hover {
        color: var(--theme-accent);
        transform: translate(-50%, -10px) rotateX(15deg) scale(1.03);
        text-shadow:
            0 1px 0px var(--theme-shadow-3d, rgba(20, 83, 45, 0.15)),
            0 2px 0px var(--theme-shadow-3d, rgba(20, 83, 45, 0.15)),
            0 3px 0px var(--theme-shadow-3d, rgba(20, 83, 45, 0.12)),
            0 4px 0px var(--theme-shadow-3d, rgba(20, 83, 45, 0.1)),
            0 5px 15px rgba(0, 0, 0, 0.15);
    }
}

/* --- Global Reach Section --- */
#global-reach {
    position: relative;
    width: 100vw;
    height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #f7f9f7;
    /* fallback solid background */
    z-index: 3;
    border-top: 1px solid rgba(20, 83, 45, 0.05);
}

/* Background video container */
.reach-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.reach-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

/* Subtle background overlay to let the image show clearly while providing light text contrast on the right */
.reach-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.1) 50%, rgba(248, 249, 250, 0.3) 100%);
    z-index: 1;
    pointer-events: none;
}

.reach-content-wrapper {
    display: flex;
    justify-content: flex-end;
    /* Push content to the right side */
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 2;
}

.reach-content {
    max-width: 580px;
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    background: rgba(255, 255, 255, 0.88);
    /* Excellent legibility with frosted glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.04),
        0 30px 70px rgba(20, 83, 45, 0.15),
        0 1px 3px rgba(0, 0, 0, 0.02);
    /* Deeper realistic multi-layered drop shadow */
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

/* Specific reveal overrides to support both scroll fade-in and hover lift together */
.reach-content.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity var(--transition-slow) ease,
        transform var(--transition-slow) cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow var(--transition-normal) ease;
}

.reach-content.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reach-content:hover {
    transform: translateY(-5px);
    box-shadow:
        0 15px 35px rgba(0, 0, 0, 0.06),
        0 40px 90px rgba(20, 83, 45, 0.22),
        0 1px 5px rgba(0, 0, 0, 0.03);
    /* Elevated shadow on hover for realistic depth */
}

.reach-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid rgba(20, 83, 45, 0.1);
}

.reach-metric-item {
    display: flex;
    flex-direction: column;
}

.reach-metric-value {
    font-size: clamp(2.2rem, 2.5vw, 3.2rem);
    font-weight: 700;
    color: var(--color-premium-green);
    line-height: 1.1;
}

.reach-metric-label {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.3;
}

/* Responsive adjustments for Global Reach section */
@media (max-width: 992px) {
    #global-reach {
        height: auto;
        min-height: auto;
        aspect-ratio: auto;
        /* Reset aspect-ratio on mobile to prevent overflow */
        padding: var(--space-lg) var(--space-sm);
        background-position: left bottom;
        /* align spool to the bottom-left on mobile too */
    }

    .reach-overlay {
        background: linear-gradient(to bottom, rgba(248, 249, 250, 0) 0%, rgba(248, 249, 250, 0.6) 100%);
    }

    .reach-content-wrapper {
        justify-content: center;
        /* Center the text container */
    }

    .reach-content {
        max-width: 100%;
        background: rgba(255, 255, 255, 0.92);
        /* higher opacity on mobile for readability */
        padding: var(--space-sm) var(--space-md);
        box-shadow:
            0 8px 20px rgba(0, 0, 0, 0.04),
            0 20px 45px rgba(20, 83, 45, 0.1);
    }

    .reach-metrics {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xs);
    }
}

/* --- Process Section: From Farm to Yarn --- */
.process-scroll-wrapper {
    position: relative;
    width: 100%;
    height: 350vh;
    /* Scroll volume to control steps */
}

#process-section {
    position: sticky;
    top: 0;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    padding: var(--space-md) 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-image: url('../assets/textures/BAckground 2.webp');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    z-index: 3;
    border-top: 1px solid rgba(20, 83, 45, 0.05);
}

.process-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(6.5rem, 9.5vw, 14rem);
    /* dynamic font sizing based on viewport */
    font-weight: 700;
    color: rgba(20, 83, 45, 0.12);
    /* brighter and more visible */
    letter-spacing: 1.6vw;
    /* dynamic letter spacing that scales with screen width */
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: 'Glonto', 'Outfit', sans-serif;
}

.process-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    /* Center vertically now since navigation is gone */
    height: 100%;
    z-index: 2;
}

.process-header {
    text-align: center;
    max-width: 700px;
    margin-top: -50px;
    /* Nudge content upward slightly */
    margin-bottom: 80px;
    /* Generous gap to prevent overlap with projected active card */
}

.process-header .section-title {
    margin-bottom: var(--space-xs);
    font-size: clamp(2.8rem, 4vw, 4.2rem);
}

.process-header .section-description {
    font-size: clamp(1.4rem, 1.8vw, 1.6rem);
    max-width: 580px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.highlight-farm {
    color: var(--color-premium-green);
    font-weight: 600;
}

.highlight-yarn {
    color: var(--color-fresh-green);
    font-weight: 600;
}

/* 3D Viewport & Track */
.process-carousel-viewport {
    position: relative;
    width: 100%;
    height: 340px;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
    overflow: visible;
    gap: 0;
}



.process-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out;
    /* Springy scroll tracking */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 3D Cards */
.process-card {
    position: absolute;
    width: 420px;
    /* slightly wider */
    max-width: 92%;
    height: 310px;
    /* slightly taller */
    opacity: 0.12;
    pointer-events: none;
    backface-visibility: hidden;
    transition: opacity var(--transition-normal), transform var(--transition-normal);
    z-index: 1;
}

.process-card.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 10;
}

/* Arrange cards in 3D circle */
.process-card[data-step="1"] {
    transform: rotateY(0deg) translateZ(285px);
}

.process-card[data-step="2"] {
    transform: rotateY(90deg) translateZ(285px);
}

.process-card[data-step="3"] {
    transform: rotateY(180deg) translateZ(285px);
}

.process-card[data-step="4"] {
    transform: rotateY(270deg) translateZ(285px);
}

.process-card .card-inner {
    width: 100%;
    height: 100%;
    /* Radial glassmorphism: soft green at centre, white at edges */
    background: radial-gradient(ellipse at center,
            rgba(134, 239, 172, 0.65) 0%,
            rgba(167, 243, 208, 0.55) 35%,
            rgba(220, 252, 231, 0.40) 65%,
            rgba(255, 255, 255, 0.18) 100%);
    /* Frosted liquid glass */
    backdrop-filter: blur(26px) saturate(170%) brightness(1.10);
    -webkit-backdrop-filter: blur(26px) saturate(170%) brightness(1.10);
    /* Transparent glass border only (no solid fill) */
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-top: 1.5px solid rgba(255, 255, 255, 0.80);
    border-left: 1.5px solid rgba(255, 255, 255, 0.72);
    border-radius: 40px;
    padding: 28px 26px 24px;
    box-shadow:
        0 8px 36px rgba(34, 197, 94, 0.16),
        0 2px 10px rgba(255, 255, 255, 0.50) inset,
        0 -2px 8px rgba(134, 239, 172, 0.22) inset,
        0 30px 60px rgba(20, 83, 45, 0.08);
    /* centre ALL children */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    cursor: pointer;
}

/* Drifting liquid shimmer blob */
.process-card .card-inner::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(ellipse at 40% 35%,
            rgba(255, 255, 255, 0.52) 0%,
            rgba(255, 255, 255, 0.12) 45%,
            transparent 70%);
    border-radius: 50%;
    animation: liquidShimmer 7s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Children above shimmer (exclude step-num which is absolutely positioned) */
.process-card .card-inner>*:not(.card-step-num) {
    position: relative;
    z-index: 1;
}

/* Ensure step num is ALWAYS absolutely anchored top-right, never in flex flow */
.process-card .card-inner .card-step-num {
    position: absolute !important;
    top: 18px;
    right: 24px;
    z-index: 3;
}

@keyframes liquidShimmer {
    0% {
        transform: translate(0%, 0%) scale(1.00);
        opacity: 0.65;
    }

    33% {
        transform: translate(12%, 8%) scale(1.10);
        opacity: 0.88;
    }

    66% {
        transform: translate(-8%, 14%) scale(0.95);
        opacity: 0.70;
    }

    100% {
        transform: translate(0%, 0%) scale(1.00);
        opacity: 0.65;
    }
}

.process-card.active .card-inner:hover {
    transform: translateY(-6px);
    box-shadow:
        0 14px 44px rgba(34, 197, 94, 0.26),
        0 2px 12px rgba(255, 255, 255, 0.55) inset,
        0 -2px 10px rgba(134, 239, 172, 0.28) inset,
        0 40px 80px rgba(20, 83, 45, 0.14);
}

/* Step number — pinned top-right, fully out of flex flow */
.card-step-num {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: 2.6rem;
    font-weight: 900;
    color: rgba(21, 128, 61, 0.22);
    letter-spacing: -0.03em;
    line-height: 1;
    user-select: none;
    pointer-events: none;
    z-index: 2;
}

.card-icon {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-full);
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    box-shadow: none;
    flex-shrink: 0;
}

.card-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 5px 12px rgba(20, 83, 45, 0.28));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.process-card.active .card-icon img:hover {
    transform: scale(1.12) rotate(-4deg);
}

.card-title-home {
    font-size: 1.85rem;
    font-weight: 700;
    color: #14532d;
    margin-bottom: 8px;
    text-shadow: 0 1px 5px rgba(255, 255, 255, 0.65);
    letter-spacing: 1px;
    line-height: 1.25;
}

.card-desc-home {
    font-size: 1.26rem;
    line-height: 1.6;
    color: #166534;
    margin: 0;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.45);
    max-width: 90%;
    /* keep text neatly padded inside card */
}

/* Responsive adjustments for Process section */
@media (max-width: 992px) {
    .process-scroll-wrapper {
        height: auto;
    }

    #process-section {
        position: relative;
        aspect-ratio: auto;
        height: auto;
        min-height: auto;
        padding: var(--space-xl) var(--space-sm);
        background-position: center center;
    }

    .process-bg-text {
        display: none;
    }

    .process-carousel-viewport {
        height: auto;
        perspective: none;
        margin-bottom: var(--space-md);
        overflow: visible;
    }

    .process-carousel-track {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
        height: auto;
        transform-style: flat;
        transform: none !important;
        transition: none;
    }

    .process-card {
        position: relative;
        width: 100%;
        max-width: 550px;
        height: auto;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        transition: none;
    }

    .process-card[data-step="1"] {
        transform: none;
    }

    .process-card[data-step="2"] {
        transform: none;
    }

    .process-card[data-step="3"] {
        transform: none;
    }

    .process-card[data-step="4"] {
        transform: none;
    }

    .process-card .card-inner {
        padding: var(--space-md) var(--space-sm);
    }
}

/* Firefox-specific fixes for smooth process section scrolling */
@supports (-moz-appearance: none) {
    html.firefox-process-fix .process-scroll-wrapper {
        position: relative;
        height: 420vh !important;
    }

    html.firefox-process-fix #process-section {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
    }

    html.firefox-process-fix .process-scroll-wrapper.ff-process-active #process-section {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
        z-index: 3;
    }

    html.firefox-process-fix .process-scroll-wrapper.ff-process-ended #process-section {
        position: absolute !important;
        top: auto;
        bottom: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        min-height: 100vh;
    }

    html.firefox-process-fix .process-carousel-track {
        will-change: transform;
        transform-style: preserve-3d;
    }

    html.firefox-process-fix .process-card {
        backface-visibility: hidden;
        transform-style: preserve-3d;
        will-change: transform, opacity;
    }
}


/* ╔══════════════════════════════════════════════════════════════╗
   ║  FLOATING PILL HEADER                                         ║
   ║  Fixed · centred · white frosted-glass pill · matches ref img ║
   ╚══════════════════════════════════════════════════════════════╝ */

/* ── Root container ─────────────────────────────────────────────── */
#float-header {
    position: fixed;
    top: 25px;
    font-family: 'Glonto', 'Outfit', sans-serif;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;

    /* Pill dimensions */
    width: 95vw;
    height: auto;
    /* dynamic height driven by padding */

    /* Inner layout: logo | nav | actions */
    display: flex;
    align-items: center;
    gap: 0;
    padding: 10px 24px;
    /* generous padding from all sides */

    /* Frosted transparent glass pill */
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.06),
        0 1px 6px rgba(0, 0, 0, 0.02),
        0 0 0 0.5px rgba(255, 255, 255, 0.15);

    /* Smooth entrance, scroll & menu-open transitions */
    transition:
        box-shadow 0.4s ease,
        background 0.4s ease,
        top 0.4s ease,
        width 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        left 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scroll-enhanced: slightly stronger glass tint and shadow on scroll */
#float-header.fhdr-scrolled {
    background: rgba(255, 255, 255, 0.20);
    backdrop-filter: blur(35px) saturate(180%);
    -webkit-backdrop-filter: blur(35px) saturate(180%);
    border-color: rgba(255, 255, 255, 0.30);
    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.10),
        0 2px 10px rgba(0, 0, 0, 0.05),
        0 0 0 0.5px rgba(255, 255, 255, 0.20);
}

/* ── Menu open: header slides left + shrinks to clear the panel ── */
#float-header.fhdr-menu-open {
    /* Align to left edge with 40px margin */
    left: 40px;
    transform: translateX(0);
    /* Shrink to fit remaining space: total - panel(520px) - gap(24px) - left-margin(40px) */
    width: calc(100vw - 520px - 64px);
}

@media (max-width: 720px) {

    /* On mobile the panel is full-width — just hide header or keep compact */
    #float-header.fhdr-menu-open {
        left: 12px;
        width: calc(100vw - 44px);
        /* Let mega menu cover it — header z-index is lower */
        opacity: 0;
        pointer-events: none;
    }
}


/* ── LEFT: Logo badge ───────────────────────────────────────────── */
/* Logo integrated directly with drop-shadow highlight */
.fhdr-logo-badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 12px;
    background: transparent;
    border-radius: 0;
    border: none;
    box-shadow: none;
    margin-right: 10px;
    transition: none;
}

.fhdr-logo-badge:hover {
    box-shadow: none;
}

.fhdr-logo-badge a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.fhdr-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.35)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.2));
}

.fhdr-logo-badge:hover .fhdr-logo-img {
    transform: scale(1.04);
    filter: drop-shadow(0 0 14px rgba(31, 122, 61, 0.45)) drop-shadow(0 0 2px rgba(31, 122, 61, 0.25));
}

/* ── CENTRE: Nav strip ──────────────────────────────────────────── */
/* Long pill-shaped nav area — looks like the search bar in the image */
.fhdr-nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 50px;
    padding: 0 8px;
    /* Subtle inset background matching the search-bar look */
    background: rgba(245, 246, 248, 0.70);
    border-radius: 100px;
    border: 1px solid rgba(220, 225, 220, 0.50);
    margin: 0 6px;
    overflow: hidden;
}

/* Individual nav links */
.fhdr-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    font-size: 1.35rem;
    font-weight: 500;
    color: #3a4a3e;
    text-decoration: none;
    border-radius: 100px;
    letter-spacing: 0.02em;
    white-space: nowrap;
    transition: color 0.22s ease, background 0.22s ease;
}

/* Animated underline dot (matches the search-icon aesthetic) */
.fhdr-nav-link::after {
    content: '';
    position: absolute;
    bottom: 7px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 16px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-premium-green);
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fhdr-nav-link:hover {
    color: var(--color-premium-green);
    background: rgba(31, 122, 61, 0.07);
}

.fhdr-nav-link:hover::after,
.fhdr-nav-link.fhdr-active::after {
    transform: translateX(-50%) scaleX(1);
}

.fhdr-nav-link.fhdr-active {
    color: var(--color-premium-green);
    font-weight: 600;
}

/* Dot separators between links (like the search icon in reference) */
.fhdr-nav-sep {
    display: inline-block;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(100, 130, 110, 0.30);
    flex-shrink: 0;
}

/* ── RIGHT: Action buttons ──────────────────────────────────────── */
/* Two square-ish icon buttons in a small rounded container */
.fhdr-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    margin-left: 6px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fhdr-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(215, 225, 215, 0.60);
    border-radius: 100px;
    color: #3a4a3e;
    cursor: pointer;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        box-shadow 0.22s ease,
        transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    outline: none;
}

.fhdr-icon-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.fhdr-icon-btn:hover {
    background: #fff;
    color: var(--color-premium-green);
    box-shadow: 0 2px 10px rgba(31, 122, 61, 0.14);
    transform: scale(1.08);
}

.fhdr-icon-btn:active {
    transform: scale(0.94);
}

/* Contact button gets green accent on hover */
#fhdrContactBtn:hover {
    background: var(--color-premium-green);
    color: #fff;
    border-color: var(--color-premium-green);
    box-shadow: 0 4px 14px rgba(31, 122, 61, 0.30);
}

/* ── Mobile drawer ──────────────────────────────────────────────── */
.fhdr-drawer {
    display: none;
    /* hidden until open */
    position: fixed;
    top: 92px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: min(880px, calc(100vw - 40px));

    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    border: 1px solid rgba(220, 230, 220, 0.60);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    padding: 14px;

    flex-direction: column;
    gap: 4px;
    opacity: 0;
    pointer-events: none;
    transition:
        opacity 0.28s ease,
        transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
}

.fhdr-drawer.fhdr-drawer--open {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.fhdr-drawer-link {
    display: block;
    padding: 13px 20px;
    font-size: 1.5rem;
    font-weight: 500;
    color: #3a4a3e;
    text-decoration: none;
    border-radius: 16px;
    transition: background 0.2s ease, color 0.2s ease;
}

.fhdr-drawer-link:hover {
    background: rgba(31, 122, 61, 0.08);
    color: var(--color-premium-green);
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 720px) {
    #float-header {
        top: 12px;
        height: auto;
        padding: 6px 12px;
    }

    /* Hide nav strip on mobile — only show logo + actions */
    .fhdr-nav {
        display: none;
    }

    .fhdr-logo-badge {
        padding: 0 14px;
        height: 44px;
    }

    .fhdr-logo-img {
        height: 30px;
    }

    .fhdr-icon-btn {
        width: 38px;
        height: 38px;
    }

    .fhdr-icon-btn svg {
        width: 15px;
        height: 15px;
    }

    .fhdr-contact-pill {
        width: 38px !important;
        height: 38px !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .fhdr-contact-pill:hover {
        width: 38px !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .fhdr-contact-icon {
        width: 18px !important;
        height: 18px !important;
    }

    .fhdr-contact-icon svg {
        width: 15px !important;
        height: 15px !important;
    }

    .fhdr-drawer {
        top: 78px;
        border-radius: 22px;
    }
}


/* ╔═══════════════════════════════════════════════════════════╗
   ║  EXPANDABLE CONTACT PILL  (hover → width expands)          ║
   ╚═══════════════════════════════════════════════════════════╝ */

/* Centre spacer with decorative envelope icon */
.fhdr-spacer {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.fhdr-center-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(245, 248, 245, 0.70);
    border: 1px solid rgba(200, 220, 205, 0.55);
    color: rgba(31, 122, 61, 0.55);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.fhdr-center-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Contact pill base — icon-only circle */
.fhdr-contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    /* Collapsed: just the icon circle */
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(215, 225, 215, 0.60);
    color: #3a4a3e;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    outline: none;
    /* THE magic: smooth width expansion */
    transition:
        width 0.45s cubic-bezier(0.34, 1.56, 0.64, 1),
        padding 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        gap 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
}

/* HOVER: expand to show text */
.fhdr-contact-pill:hover {
    width: 190px;
    padding: 0 22px 0 16px;
    gap: 10px;
    background: var(--color-premium-green);
    border-color: var(--color-premium-green);
    color: #fff;
    box-shadow:
        0 4px 18px rgba(31, 122, 61, 0.32),
        0 1px 4px rgba(0, 0, 0, 0.08);
}

.fhdr-contact-pill:active {
    transform: scale(0.96);
    transition: transform 0.12s ease;
}

/* Icon stays fixed size */
.fhdr-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.fhdr-contact-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: transform 0.3s ease;
}

.fhdr-contact-pill:hover .fhdr-contact-icon svg {
    transform: rotate(15deg) scale(1.1);
}

/* "Contact Us" label — hidden → slides in */
.fhdr-contact-label {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transform: translateX(-10px);
    pointer-events: none;
    transition:
        opacity 0.25s ease 0.12s,
        transform 0.3s ease 0.12s,
        max-width 0.3s ease;
}

.fhdr-contact-pill:hover .fhdr-contact-label {
    opacity: 1;
    max-width: 120px;
    transform: translateX(0);
}

/* ── Hamburger button (mega menu trigger) ── */
.fhdr-menu-btn {
    position: relative;
}

/* Three-bar icon using child spans */
.fhdr-burger-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 18px;
}

.fhdr-burger-icon span {
    display: block;
    width: 18px;
    height: 1.8px;
    border-radius: 2px;
    background: currentColor;
    transform-origin: center;
    transition: transform 0.32s ease, opacity 0.25s ease, width 0.25s ease;
}

.fhdr-burger-icon span:nth-child(2) {
    width: 12px;
    align-self: flex-end;
}

/* Open state → X */
.fhdr-menu-btn.is-open .fhdr-burger-icon span:nth-child(1) {
    transform: translateY(5.8px) rotate(45deg);
    width: 18px;
}

.fhdr-menu-btn.is-open .fhdr-burger-icon span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.fhdr-menu-btn.is-open .fhdr-burger-icon span:nth-child(3) {
    transform: translateY(-5.8px) rotate(-45deg);
    width: 18px;
}


/* ╔═══════════════════════════════════════════════════════════╗
   ║  FUTURISTIC MEGA MENU                                      ║
   ╚═══════════════════════════════════════════════════════════╝ */

.mega-menu {
    /* Full viewport overlay */
    position: fixed;
    inset: 0;
    z-index: 990;
    pointer-events: none;
    /* Visibility toggled by class */
    visibility: hidden;
}

.mega-menu.is-open {
    pointer-events: auto;
    visibility: visible;
}

/* ── Dark frosted backdrop ── */
.mega-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 20, 10, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.38s ease;
}

.mega-menu.is-open .mega-backdrop {
    opacity: 1;
}

/* ── Showcase image panel next to menu ── */
.mega-showcase {
    position: absolute;
    top: 105px;
    /* Below the floating header */
    left: 40px;
    bottom: 40px;
    /* Spans from left to 60px away from the 520px menu panel */
    width: calc(100vw - 520px - 100px);
    max-width: 90vw;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    /* Animation states */
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.mega-menu.is-open .mega-showcase {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition-delay: 0.2s;
    /* delays slightly after panel slide */
    pointer-events: auto;
}

.mega-showcase-img {
    max-height: 70%;
    /* Decreased slightly to leave room for text below */
    max-width: 100%;
    object-fit: contain;
    /* Contain style to avoid cropping */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg), 0 10px 40px rgba(0, 0, 0, 0.25);
    transition: transform 1.2s ease;
}

.mega-showcase:hover .mega-showcase-img {
    transform: scale(1.03);
}

/* Elegant text description below the image */
.mega-showcase-overlay {
    position: relative;
    margin-top: 24px;
    /* Space between centered image and text */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-white);
    width: 100%;
}

.showcase-tag {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-fresh-green);
    margin-bottom: var(--space-xs);
}

.showcase-title {
    font-size: 2.4rem;
    font-weight: 500;
    color: var(--color-white);
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Responsive: hide showcase on tablet/mobile where menu is full screen */
@media (max-width: 992px) {
    .mega-showcase {
        display: none;
    }
}

/* ── Sliding panel — Liquid Glassmorphism: soft green + white ── */
.mega-panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(520px, 100vw);
    height: 100vh;
    /* Liquid gradient: white → soft green → mint → white */
    background:
        radial-gradient(ellipse at 20% 10%, rgba(200, 240, 215, 0.85) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 80%, rgba(180, 235, 205, 0.70) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.92) 0%, transparent 70%),
        linear-gradient(160deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(230, 248, 238, 0.95) 35%,
            rgba(210, 242, 228, 0.96) 65%,
            rgba(255, 255, 255, 0.97) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-left: 1px solid rgba(31, 122, 61, 0.12);
    box-shadow:
        -20px 0 80px rgba(0, 0, 0, 0.10),
        -1px 0 0 rgba(31, 122, 61, 0.08);
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.mega-menu.is-open .mega-panel {
    transform: translateX(0);
}

/* ── Top bar (light theme) ── */
.mega-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 36px 24px;
    border-bottom: 1px solid rgba(31, 122, 61, 0.10);
}

.mega-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    /* Show original logo colours on light bg */
    filter: none;
}

.mega-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(31, 122, 61, 0.06);
    border: 1px solid rgba(31, 122, 61, 0.14);
    border-radius: 50%;
    color: rgba(20, 80, 40, 0.70);
    cursor: pointer;
    transition: background 0.22s ease, color 0.22s ease, transform 0.2s ease;
}

.mega-close:hover {
    background: rgba(31, 122, 61, 0.14);
    color: var(--color-premium-green);
    transform: rotate(90deg);
}

.mega-close svg {
    width: 18px;
    height: 18px;
}

/* ── Nav items ── */
.mega-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px 28px;
    gap: 6px;
}

.mega-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 22px 28px;
    border-radius: 18px;
    text-decoration: none;
    color: rgba(20, 60, 30, 0.75);
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateX(30px);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.22s ease,
        box-shadow 0.25s ease;
}

.mega-menu.is-open .mega-item {
    opacity: 1;
    transform: translateX(0);
}

/* Stagger delays */
.mega-menu.is-open .mega-item:nth-child(1) {
    transition-delay: 0.08s;
}

.mega-menu.is-open .mega-item:nth-child(2) {
    transition-delay: 0.14s;
}

.mega-menu.is-open .mega-item:nth-child(3) {
    transition-delay: 0.20s;
}

.mega-menu.is-open .mega-item:nth-child(4) {
    transition-delay: 0.26s;
}

.mega-menu.is-open .mega-item:nth-child(5) {
    transition-delay: 0.32s;
}

.mega-menu.is-open .mega-item:nth-child(6) {
    transition-delay: 0.38s;
}

/* Glowing hover (green tint on light bg) */
.mega-item:hover {
    background: rgba(31, 122, 61, 0.08);
    border-color: rgba(31, 122, 61, 0.20);
    color: var(--color-premium-green);
    transform: translateX(8px);
    box-shadow: 0 4px 20px rgba(31, 122, 61, 0.08);
}

/* Shimmer sweep on hover */
.mega-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    bottom: 0;
    width: 60%;
    background: linear-gradient(90deg,
            transparent,
            rgba(31, 122, 61, 0.05),
            transparent);
    transition: left 0.5s ease;
    pointer-events: none;
}

.mega-item:hover::before {
    left: 150%;
}

/* Number + Icon — hidden (removed from HTML, CSS kept as no-op) */
.mega-item-num {
    display: none;
}

.mega-item-icon {
    display: none;
}

/* Text content */
.mega-item-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mega-item-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: rgba(10, 50, 22, 0.90);
    letter-spacing: 0.005em;
    line-height: 1.2;
    transition: color 0.22s ease;
}

.mega-item:hover .mega-item-title {
    color: var(--color-premium-green);
}

.mega-item-desc {
    font-size: 1.25rem;
    color: rgba(40, 90, 55, 0.50);
    font-weight: 400;
    line-height: 1.4;
}

.mega-item:hover .mega-item-desc {
    color: rgba(31, 122, 61, 0.70);
}

/* Arrow */
.mega-item-arrow {
    font-size: 1.8rem;
    color: rgba(31, 122, 61, 0.25);
    transform: translateX(-4px);
    transition: transform 0.22s ease, color 0.22s ease;
}

.mega-item:hover .mega-item-arrow {
    transform: translateX(4px);
    color: var(--color-premium-green);
}

/* Special accents on light bg */
.mega-item--home:hover {
    background: rgba(31, 122, 61, 0.06);
}

.mega-item--contact:hover {
    background: rgba(31, 122, 61, 0.10);
}

/* ── Bottom footer (light theme) ── */
.mega-footer {
    padding: 24px 36px 32px;
    border-top: 1px solid rgba(31, 122, 61, 0.10);
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.4s ease 0.45s;
}

.mega-menu.is-open .mega-footer {
    opacity: 1;
}

.mega-tagline {
    font-size: 1.2rem;
    color: rgba(30, 80, 45, 0.45);
    font-weight: 400;
    letter-spacing: 0.02em;
}

.mega-version {
    font-size: 1.1rem;
    color: rgba(31, 122, 61, 0.45);
    font-weight: 500;
    letter-spacing: 0.05em;
}

/* ── Mobile tweak ── */
@media (max-width: 600px) {
    .mega-panel {
        width: 100vw;
        border-left: none;
    }

    .mega-topbar {
        padding: 20px 20px 18px;
    }

    .mega-nav {
        padding: 16px 12px;
    }

    .mega-item {
        padding: 18px 16px;
        gap: 14px;
    }

    .mega-footer {
        padding: 20px 20px 28px;
    }
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║  LUXURY INDUSTRIAL QUALITY SECTION                         ║
   ╚═══════════════════════════════════════════════════════════╝ */

#luxury-quality {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    overflow: hidden;
    background: #06110a;
    z-index: 4;
    border-top: 1px solid rgba(20, 83, 45, 0.1);
}

.quality-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.quality-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.quality-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(6, 17, 10, 0) 25%, rgba(6, 17, 10, 0.45) 55%, rgba(6, 17, 10, 0.8) 100%);
    z-index: 1;
    pointer-events: none;
}

.quality-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: flex-end;
}

.quality-card {
    position: relative;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 32px;
    padding: 48px;
    width: min(540px, 90vw);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateX(50px);
    transition:
        opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        background var(--transition-normal) ease,
        box-shadow var(--transition-normal) ease;
}

.quality-card.reveal-active {
    opacity: 1;
    transform: translateX(0);
}

.quality-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.16);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-fresh-green);
    border-radius: 50%;
    margin-right: 8px;
    position: relative;
    vertical-align: middle;
    top: -1px;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--color-fresh-green);
    animation: pulse 1.8s infinite ease-out;
}

@keyframes pulse {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }

    100% {
        width: 250%;
        height: 250%;
        opacity: 0;
    }
}

.quality-tagline {
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-fresh-green);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.quality-heading {
    font-size: clamp(2.6rem, 3.2vw, 3.8rem);
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.quality-desc {
    font-size: 1.55rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 24px;
}

.quality-statement {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.6;
    color: #ffffff;
    border-left: 3px solid var(--color-fresh-green);
    padding-left: 16px;
    margin-bottom: 28px;
}

.quality-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1.45rem;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    align-self: flex-start;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 2px;
    transition: border-color var(--transition-fast), color var(--transition-fast);
}

.mobile-video-container {
    display: none;
}

.quality-cta span {
    transition: transform var(--transition-fast) ease;
    display: inline-block;
}

.quality-cta:hover {
    border-color: var(--color-fresh-green);
    color: var(--color-fresh-green);
}

.quality-cta:hover span {
    transform: translateX(4px);
}

/* ── Responsive styling ── */
@media (max-width: 992px) {
    #luxury-quality {
        height: auto;
        min-height: 100vh;
        padding: 80px 20px;
        justify-content: center;
        align-items: center;
    }

    .quality-video-overlay {
        background: rgba(6, 17, 10, 0.75);
    }

    .quality-container {
        padding: 0 10px;
        justify-content: center;
    }

    .quality-card {
        width: 100%;
        max-width: 100%;
        padding: 32px 24px;
        transform: translateY(30px);
        transition: opacity 1.0s ease, transform 1.0s ease;
    }

    .quality-card.reveal-active {
        transform: translateY(0);
    }

    .quality-card:hover {
        transform: none;
    }
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║  GLOBAL CERTIFICATION SECTION                             ║
   ╚═══════════════════════════════════════════════════════════╝ */

#certification-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #ffffff;
    /* Fallback flat background */
    z-index: 4;
}

.certification-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.certification-video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

.certification-container {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.certification-content-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.75fr;
    gap: var(--space-xl);
    width: 100%;
    height: auto;
    align-items: center;
}

.certification-left-spacer {
    width: 100%;
    height: 100%;
}

.certification-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: var(--space-md);

    /* Content hidden initially */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.0s cubic-bezier(0.22, 1, 0.36, 1), transform 1.0s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

#certification-section.animation-complete .certification-right {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.certification-tagline {
    font-size: clamp(2.2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: #76C720;
    /* Bright green from reference image */
    display: block;
    margin-bottom: var(--space-xs);
    font-family: 'Glonto', 'Outfit', sans-serif;
    letter-spacing: 1px;
}

.certification-heading {
    font-size: clamp(2.0rem, 2.4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.3;
    color: #112015;
    /* Charcoal black */
    margin-bottom: var(--space-md);
}

.certification-desc {
    font-size: 1.6rem;
    line-height: 1.7;
    color: #38463c;
    /* Readable muted text color */
    margin-bottom: var(--space-lg);
    font-weight: 400;
}

/* Logos layout */
.certification-logos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 40px;
    row-gap: 35px;
    width: 100%;
    margin-top: 15px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 105px;
    width: 100%;
    position: relative;
    transition: transform var(--transition-fast);
}

/* Vertical line separators between cells */
.logo-item:not(:nth-child(4n))::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 17px;
    bottom: 17px;
    width: 1px;
    background-color: rgba(20, 83, 45, 0.16);
}

.logo-item:hover {
    transform: scale(1.08);
}

.logo-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(20, 83, 45, 0.05));
    transition: filter var(--transition-fast);
}

.logo-item:hover .logo-img {
    filter: drop-shadow(0 4px 8px rgba(20, 83, 45, 0.12));
}

/* Responsive adjustments */
@media (max-width: 992px) {
    #certification-section {
        height: auto;
        min-height: auto;
        padding: var(--space-xl) var(--space-sm);
    }

    .certification-video-container {
        position: relative;
        width: 100% !important;
        height: 350px;
        margin-bottom: var(--space-md);
    }

    .certification-video-container video {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
    }

    .certification-content-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .certification-left-spacer {
        display: none;
    }

    .desktop-video-container {
        display: none !important;
    }

    .mobile-video-container {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        overflow: hidden;
    }

    .mobile-video-container video {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .certification-mobile-overlay {
        display: none !important;
    }

    .certification-right,
    .certification-section-inner {
        padding: 30px 25px;
        opacity: 1 !important;
        transform: none !important;
        pointer-events: auto;
        background: rgba(255, 255, 255, 0.15);
        /* Slightly more opaque for better frost effect */
        backdrop-filter: blur(15px);
        /* Increased blur significantly */
        -webkit-backdrop-filter: blur(15px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .certification-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 24px;
        row-gap: 20px;
    }

    .logo-item::after {
        display: none;
    }
}

@media (max-width: 500px) {
    .certification-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 16px;
        row-gap: 16px;
    }

    .logo-item {
        height: 70px;
    }
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║  PERFORMANCE OPTIMIZATIONS                                ║
   ╚═══════════════════════════════════════════════════════════╝ */

/* Content containment for heavy below-the-fold sections */
#global-reach,
#luxury-quality,
#certification-section {
    content-visibility: auto;
    contain-intrinsic-size: 800px;
}

/* GPU hardware acceleration hints for transitioned elements */
.mega-panel,
.mega-showcase,
.mega-showcase-img,
.reveal,
.reveal-down,
.product-image {
    will-change: transform, opacity;
}

/* ╔═══════════════════════════════════════════════════════════╗
   ║  PREMIUM LIGHT-THEME FOOTER                               ║
   ║  Radial Liquid Glassmorphism · Premium Accents            ║
   ╚═══════════════════════════════════════════════════════════╝ */

.footer-sec-wrapper {
    background-color: var(--color-soft-white);
    position: relative;
    z-index: 5;
    width: 100%;
    display: flow-root;
    /* Prevents margin collapsing so the wrapper covers margins */
}

#main-footer {
    /* Floating Card Layout */
    width: 95vw;
    margin: 25px auto 20px auto;
    border-radius: 40px;
    border: 1px solid rgba(31, 122, 61, 0.16);
    box-shadow:
        0 20px 50px rgba(20, 83, 45, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.02),
        0 0 0 0.5px rgba(255, 255, 255, 0.6) inset;

    background:
        radial-gradient(circle at 10% 20%, rgba(200, 242, 218, 0.55) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(186, 238, 208, 0.45) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.90) 0%, transparent 70%),
        linear-gradient(160deg,
            rgba(250, 251, 250, 0.96) 0%,
            rgba(235, 249, 241, 0.94) 35%,
            rgba(222, 246, 233, 0.94) 65%,
            rgba(250, 251, 250, 0.96) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    position: relative;
    padding: 60px 50px 30px 50px;
    color: var(--text-primary);
    overflow: hidden;
    z-index: 5;
}

.footer-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 1.1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Titles */
.footer-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
    font-family: 'Glonto', 'Outfit', sans-serif;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 28px;
    height: 2px;
    border-radius: 2px;
    background: var(--color-premium-green);
}

/* Brand Section */
.footer-logo-link {
    display: inline-block;
    margin-bottom: 20px;
    transition: transform var(--transition-fast);
}

.footer-logo-link:hover {
    transform: scale(1.02);
}

.footer-logo-img {
    height: 44px;
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-desc {
    font-size: 1.45rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 90%;
}

/* Social Row */
.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(31, 122, 61, 0.05);
    border: 1px solid rgba(31, 122, 61, 0.12);
    color: var(--color-premium-green);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.social-btn:hover {
    background: var(--color-premium-green);
    border-color: var(--color-premium-green);
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(31, 122, 61, 0.25);
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-btn:hover svg {
    transform: scale(1.1);
}

/* Brochure Download Button */
.footer-brochure-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-premium-green);
    border: none;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 12px rgba(31, 122, 61, 0.15);
    cursor: pointer;
    max-width: fit-content;
}

.footer-brochure-btn:hover {
    background: var(--color-deep-forest-green);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(31, 122, 61, 0.3);
    color: var(--color-white);
}

.footer-brochure-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

/* Quick links styling */
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link-item {
    display: block;
}

.footer-link-item a {
    font-size: 1.55rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-bottom: 3px;
    font-weight: 500;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-link-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1.5px;
    background: var(--color-premium-green);
    transition: width 0.25s ease;
}

.footer-link-item a:hover {
    color: var(--color-premium-green);
    transform: translateX(4px);
}

.footer-link-item a:hover::after {
    width: 100%;
}

/* Contact Info list */
.footer-contacts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.footer-contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(31, 122, 61, 0.05);
    border: 1px solid rgba(31, 122, 61, 0.10);
    color: var(--color-premium-green);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .footer-contact-icon {
    background: rgba(31, 122, 61, 0.10);
    transform: scale(1.08);
    color: var(--color-fresh-green);
    box-shadow: 0 4px 10px rgba(31, 122, 61, 0.1);
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

.footer-contact-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-contact-label {
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
}

.footer-contact-text {
    font-size: 1.45rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.footer-contact-text a {
    color: inherit;
    transition: color var(--transition-fast);
}

.footer-contact-text a:hover {
    color: var(--color-premium-green);
}

/* Bottom Legal Section */
.footer-bottom {
    border-top: 1px solid rgba(31, 122, 61, 0.08);
    padding-top: 30px;
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 1.4rem;
    color: var(--text-secondary);
}

.footer-legal-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-legal-link a {
    font-size: 1.4rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.footer-legal-link a:hover {
    color: var(--color-premium-green);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-col:first-child {
        grid-column: span 2;
    }

    .footer-desc {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    #main-footer {
        padding: 40px 24px 24px 24px;
        width: calc(100vw - 24px);
        margin: 20px auto 20px auto;
        border-radius: 28px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }

    .footer-col:first-child {
        grid-column: span 1;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo-link {
        margin: 0 auto 20px auto;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-link-item a:hover {
        transform: translateY(-2px);
    }

    .footer-contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-contact-body {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 40px;
    }
}

/* Accessibility: Prefers Reduced Motion fallback */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* ═══════════════════════════════════════════════
   CONTACT PAGE STYLES (Split 40/60 & Glassmorphism Form)
   ═══════════════════════════════════════════════ */

/* Landscape-cropped Background Image for the Contact Page main wrapper (Header through Form content) */
.contact-page #main-content {
    background-image: linear-gradient(rgba(250, 251, 250, 0.72), rgba(250, 251, 250, 0.80)), url('../assets/textures/2 (1.2).webp');
    background-size: cover;
    background-position: center 30%;
    /* Focus on the upper portion of the portrait image, scaling it landscape */
    background-repeat: no-repeat;
    background-attachment: scroll;
}

.contact-hero {
    min-height: 18vh;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    pointer-events: none;
}

.contact-section {
    position: relative;
    padding: 0 0 var(--space-xxl) 0;
    z-index: 2;
    background: transparent;
}

/* Centered Main Header and Description Area */
.contact-header-centered {
    text-align: center;
    max-width: 900px;
    margin: 0 auto var(--space-xl) auto;
}

.contact-title-centered {
    font-size: clamp(3.6rem, 6vw, 6.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: var(--space-sm);
    color: var(--text-dark);
    letter-spacing: 1px;
}

.contact-title-centered span {
    display: inline-block;
    background: var(--gradient-premium-soft);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-desc-centered {
    font-size: 1.7rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 4.5fr 5.5fr;
    /* Approximate 45% and 55% for balanced proportions */
    gap: var(--space-xl);
    align-items: start;
}

/* Left Column: Contact Info Panel (40%) */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 2rem;
}

.contact-decor-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
    animation: floatDecorImg 6s infinite ease-in-out;
}

@keyframes floatDecorImg {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.info-item {
    display: flex;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.55);
    border-color: var(--color-premium-green);
    transform: translateX(8px);
    box-shadow: var(--shadow-sm);
}

.info-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: var(--radius-sm);
    background: var(--color-light-green);
    color: var(--color-premium-green);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}

.info-item:hover .info-icon {
    background: var(--color-premium-green);
    color: var(--color-white);
    transform: scale(1.08);
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-text-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-premium-green);
}

.info-text {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.info-text a {
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.info-text a:hover {
    color: var(--color-premium-green);
}

/* Right Column: Glassmorphic Contact Form Panel (60%) */
.contact-form-panel {
    width: 100%;
}

.contact-form-card {
    background: rgba(255, 255, 255, 0.38);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-glass);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-premium-soft);
}

.contact-form-card:hover {
    background: rgba(255, 255, 255, 0.48);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: var(--shadow-lg);
}

.form-title {
    font-size: 2.6rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-dark);
}

.form-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2.8rem;
}

/* Pinterest & Minimal Styled Form Fields */
.form-group {
    position: relative;
    width: 100%;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1.8rem 0.8rem 0.8rem 0.8rem;
    /* extra top padding for the floated label */
    font-size: 1.6rem;
    font-family: inherit;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(20, 83, 45, 0.15);
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-textarea {
    min-height: 110px;
    resize: vertical;
}

/* Floating label design */
.form-label {
    position: absolute;
    left: 8px;
    top: 1.4rem;
    font-size: 1.6rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.22s cubic-bezier(0.25, 1, 0.5, 1);
}

/* When focused, or input is not empty, float up the label */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label,
.form-textarea:focus~.form-label,
.form-textarea:not(:placeholder-shown)~.form-label {
    top: -0.8rem;
    left: 4px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-premium-green);
    letter-spacing: 0.5px;
}

/* Expanding line on focus */
.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-premium-soft);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.form-input:focus~.input-line,
.form-textarea:focus~.input-line {
    transform: scaleX(1);
}

.form-input:focus,
.form-textarea:focus {
    border-bottom-color: transparent;
}

/* Custom premium submit button */
.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: 1.8rem;
    margin-top: var(--space-xs);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-premium-green);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all var(--transition-normal);
    box-shadow: 0 4px 15px rgba(31, 122, 61, 0.2);
}

.form-submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-premium-soft);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.form-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(31, 122, 61, 0.35);
}

.form-submit-btn:hover::before {
    opacity: 1;
}

.form-submit-btn svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.form-submit-btn:hover svg {
    transform: translateX(6px);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .contact-hero {
        min-height: 12vh;
    }
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: var(--space-md);
    }

    .info-item {
        padding: var(--space-xs) var(--space-sm);
    }
}

/* Floating Spun Thread Social Sidebar */
.thread-social-sidebar {
    position: fixed;
    right: 30px;
    top: 0;
    bottom: 0;
    width: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    pointer-events: none;
}

/* The "spun thread" line */
.thread-line {
    width: 2px;
    background: linear-gradient(to bottom, rgba(31, 122, 61, 0) 0%, var(--color-premium-green) 50%, rgba(31, 122, 61, 0) 100%);
    opacity: 0.4;
}

.thread-line-top {
    flex-grow: 1;
    max-height: 20vh;
    margin-bottom: 20px;
}

.thread-line-bottom {
    flex-grow: 1;
    max-height: 20vh;
    margin-top: 20px;
}

/* Container for spools */
.social-spools {
    display: flex;
    flex-direction: column;
    gap: 16px;
    pointer-events: auto;
    background: radial-gradient(circle at 50% 25%, #EBF7EE 0%, #FFFFFF 100%);
    padding: 16px 8px;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 30px rgba(20, 83, 45, 0.12);
    transition: all var(--transition-normal);
}

.social-spools:hover {
    background: radial-gradient(circle at 50% 25%, #DFF5E1 0%, #FFFFFF 100%);
    box-shadow: 0 15px 35px rgba(20, 83, 45, 0.2);
    border-color: var(--color-deep-forest-green);
}

/* Individual Spool */
.social-spool {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(31, 122, 61, 0.08);
    border: 1px solid rgba(31, 122, 61, 0.15);
    color: var(--color-premium-green);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-spool svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Spin and glow on hover */
.social-spool:hover {
    background: var(--color-premium-green);
    border-color: var(--color-premium-green);
    color: var(--color-white);
    transform: scale(1.18);
    box-shadow: 0 0 15px rgba(31, 122, 61, 0.45);
}

.social-spool:hover svg {
    transform: rotate(360deg);
}

/* Tooltip */
.spool-tooltip {
    position: absolute;
    right: 48px;
    padding: 6px 12px;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-deep-forest-green);
    border-radius: var(--radius-sm);
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(20, 83, 45, 0.15);
}

.spool-tooltip::before {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--color-deep-forest-green);
}

.social-spool:hover .spool-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive */
@media (max-width: 1024px) {
    .thread-social-sidebar {
        display: none;
    }
}

/* Download Brochure Spool — distinct accent style */
.social-spool--download {
    background: rgba(31, 122, 61, 0.12);
    border: 1px solid rgba(31, 122, 61, 0.25);
    margin-top: 4px;
}

.social-spool--download svg {
    fill: none;
    stroke: currentColor;
}

.social-spool--download:hover {
    background: var(--color-premium-green);
    border-color: var(--color-premium-green);
    color: var(--color-white);
    transform: scale(1.18) translateY(-2px);
    box-shadow: 0 0 18px rgba(31, 122, 61, 0.5);
}

.social-spool--download:hover svg {
    transform: translateY(4px);
    animation: none;
}

@keyframes spool-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(31, 122, 61, 0.25);
    }

    50% {
        box-shadow: 0 0 0 5px rgba(31, 122, 61, 0);
    }
}

.social-spool--download {
    animation: spool-pulse 2.5s ease-in-out infinite;
}

/* ═══════════════════════════════════════════════
   ABOUT US PAGE STYLING
   ═══════════════════════════════════════════════ */

/* --- Hero Section --- */
.about-hero {
    min-height: 100vh;
    padding-top: 150px;
    display: flex;
    align-items: center;
    position: relative;
}

.about-hero .hero-overlay {
    background: rgba(10, 34, 18, 0.35);
    z-index: 2;
}

/* --- Section 1: About Us Details --- */
.about-details-sec {
    position: relative;
    width: 100%;
    background: #ffffff url("../assets/textures/Cutton and Yarn.webp") no-repeat center center / contain;
    display: flex;
    align-items: center;
    min-height: auto;
    border-bottom: 1px solid rgba(20, 83, 45, 0.05);
    background-size: cover;
}

.about-content-col {
    position: relative;
    z-index: 2;
    width: 55%;
    padding-top: 50px;
    padding-bottom: 120px;
    /* Increased to slide circles up and prevent image overlay */
    padding-left: calc((100vw - 1400px) / 2 + 30px);
    padding-right: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.about-main-heading {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: clamp(3rem, 4.5vw, 4.8rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
}

.about-main-heading .gold-text {
    color: #a87f2a;
}

.about-main-heading::after {
    content: '';
    display: block;
    width: 100px;
    height: 2px;
    background-color: #a87f2a;
    margin-top: 12px;
    /* Reduced from 25px */
    margin-bottom: 15px;
    /* Reduced from 40px to close gap to description */
}

.about-typo-col {
    display: flex;
    flex-direction: column;
}

.about-desc-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Reduced from 20px */
    margin-bottom: 20px;
    /* Reduced from 35px */
}

.about-desc-text {
    font-size: 1.65rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Highlights Row - tight, clean circles below desc */


/* Horizontal Inline Stats Row */
.about-stats-clean {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: nowrap;
    margin-top: 30px;
}

.about-stat-clean-item {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.about-stat-clean-icon {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(31, 122, 61, 0.06);
    border: 1px solid rgba(31, 122, 61, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-premium-green);
    flex-shrink: 0;
}

.about-stat-clean-icon svg {
    width: 18px;
    height: 18px;
}

.about-stat-clean-text-group {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.about-stat-clean-num {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
}

.about-stat-clean-desc {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- Responsive Styles --- */
@media (max-width: 1440px) {
    .about-content-col {
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (max-width: 1024px) {
    .about-details-sec {
        flex-direction: column;
        min-height: auto;
        background-image: none;
    }

    .about-details-sec::after {
        display: none !important;
    }

    .about-content-col {
        width: 100%;
        padding: 50px 30px 20px 30px;
    }

    .about-features-row {
        margin-top: 20px;
        /* Reset negative margin on tablet/mobile stacking */
    }
}

@media (max-width: 768px) {
    .about-features-row {
        gap: 15px;
    }

    .about-feature-item {
        min-width: 90px;
    }

    .about-feature-icon {
        width: 64px;
        height: 64px;
    }

    .about-feature-icon img {
        width: 36px;
        height: 36px;
    }

    .about-stats-clean {
        flex-direction: column;
        gap: 16px;
    }
}

/* ═══════════════════════════════════════════════
   PURPOSE - VISION & MISSION SECTION STYLING
   ═══════════════════════════════════════════════ */

.purpose-vision-mission-sec {
    position: relative;
    width: 100%;
    padding: 120px 0 var(--space-xl) 0;
    background: transparent;
    z-index: 5;
}

.purpose-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    box-sizing: border-box;
}

.purpose-header {
    text-align: center;
    margin-bottom: 70px;
}

.purpose-subtitle {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: #a87f2a;
    display: block;
    margin-bottom: 15px;
}

.purpose-title {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: clamp(3.8rem, 5.5vw, 5.8rem);
    font-weight: 700;
    color: #0A2212;
    line-height: 1.15;
    margin: 0;
}

.purpose-title .ampersand {
    font-family: 'Alex Brush', cursive;
    font-size: 1.25em;
    font-weight: 400;
    color: #a87f2a;
    display: inline-block;
    margin: 0 8px;
    transform: rotate(-5deg) translateY(-2px);
}

.header-divider-line {
    position: relative;
    height: 1.5px;
    background: linear-gradient(to right, rgba(168, 127, 42, 0) 0%, rgba(168, 127, 42, 0.35) 30%, rgba(168, 127, 42, 0.35) 70%, rgba(168, 127, 42, 0) 100%);
    width: min(100%, 450px);
    margin: 40px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cotton-badge-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #FAF7F2;
    border: 1.5px solid rgba(168, 127, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(168, 127, 42, 0.12);
}

.cotton-svg-icon {
    width: 34px;
    height: 34px;
}

/* Cards Section Layout */
.purpose-cards-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    margin: 70px 0 80px 0;
}

/* Wrapper holds badge above + card below */
.purpose-card-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.purpose-card {
    width: 100%;
    border-radius: 36px;
    position: relative;
    padding: 55px 45px 0 45px;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(10, 34, 18, 0.06);
    transition: all var(--transition-normal);
    overflow: hidden;
}

.vision-card {
    background: #233426;
    /* Premium dark forest-olive green */
    border: 1.5px solid rgba(255, 255, 255, 0.06);
}

.mission-card {
    background: #0f1c2b;
    /* Premium dark navy blue */
    border: 1.5px solid rgba(255, 255, 255, 0.06);
}

.purpose-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(10, 34, 18, 0.12);
}

.card-badge {
    /* Sits above the card — normal block flow in the wrapper */
    margin-bottom: -40px !important;
    position: relative;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #efeae2;
    border: 1.5px solid rgba(168, 127, 42, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08), inset 0 2px 4px rgba(255, 255, 255, 0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 16px;
    flex-shrink: 0;
    z-index: 2;
}

.badge-icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.purpose-card-wrapper:hover .card-badge {
    transform: scale(1.08) rotate(3deg);
}

.card-body-wrapper {
    text-align: center;
}

.card-subtitle {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #a87f2a;
    display: block;
    margin-bottom: 10px;
}

.card-title {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: clamp(3.2rem, 4.5vw, 4.2rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 3px;
    margin: 0 0 25px 0;
}

.card-desc {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: 1.65rem;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin: 0 auto;
    max-width: 440px;
}

.card-bottom-image {
    width: 100%;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 230px;
    overflow: hidden;
}

.illustration-img {
    width: 100%;
    max-width: 380px;
    height: auto;
    object-fit: contain;
    filter: invert(1) brightness(1.5);
    mix-blend-mode: screen;
    opacity: 0.85;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.purpose-card:hover .illustration-img {
    transform: translateY(-4px) scale(1.02);
    opacity: 1;
}

/* Center Spindle Divider Styling */
.spool-spindle-divider {
    width: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.spool-line {
    display: none;
}

.spool-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: spoolFloat 5s infinite ease-in-out;
}

.spool-img {
    width: 220px;
    /* Highlighted size */
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(168, 127, 42, 0.22));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.spool-img:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 15px 30px rgba(168, 127, 42, 0.35));
}

.spool-bead {
    display: none;
}

@keyframes spoolFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* Bottom Values Row Styling */
.purpose-values-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 45px 20px;
    border-top: 1px solid rgba(168, 127, 42, 0.18);
    border-bottom: 1px solid rgba(168, 127, 42, 0.18);
    margin-top: 50px;
}

.value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    flex: 1;
    transition: all var(--transition-normal);
}

.value-icon {
    width: 96px;
    /* Increased from 48px */
    height: 96px;
    /* Increased from 48px */
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.value-label {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #4A6B53;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-align: center;
    transition: color var(--transition-fast);
}

.value-divider {
    width: 1px;
    height: 45px;
    background: rgba(168, 127, 42, 0.22);
    flex-shrink: 0;
}

.value-item:hover {
    transform: translateY(-4px);
}

.value-item:hover .value-icon {
    transform: scale(1.18) rotate(4deg);
}

.value-item:hover .value-label {
    color: #a87f2a;
}

/* Responsive Styles for Vision & Mission */
@media (max-width: 1100px) {
    .purpose-container {
        padding: 0 30px;
    }

    .purpose-card {
        padding: 65px 30px 0 30px;
        min-height: 580px;
    }

    .card-desc {
        font-size: 1.55rem;
    }
}

@media (max-width: 991px) {
    .purpose-vision-mission-sec {
        padding: 80px 0 var(--space-lg) 0;
    }

    .purpose-cards-container {
        flex-direction: column;
        gap: 45px;
        margin-top: 70px;
    }

    .purpose-card-wrapper {
        width: 100%;
    }

    .spool-spindle-divider {
        display: none;
    }

    .purpose-card {
        min-height: auto;
        padding-bottom: 20px;
    }

    .card-bottom-image {
        height: 200px;
        margin-top: 30px;
    }

    .purpose-values-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 30px;
        padding: 40px 10px;
    }

    .value-item {
        flex: none;
        width: 45%;
        min-width: 150px;
    }

    .value-divider {
        display: none;
    }
}

@media (max-width: 576px) {
    .purpose-title {
        font-size: 3.4rem;
    }

    .purpose-cards-container {
        gap: 55px;
    }

    .purpose-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .card-title {
        font-size: 3rem;
    }

    .value-item {
        width: 100%;
    }
}

/* ==========================================================================
   TEXWIN PREMIUM PRODUCT PAGE STYLES (EXCLUSIVELY SCOPED)
   ========================================================================== */

:root {
    --p-primary: #7AB547;
    --p-secondary: #1E1E1E;
    --p-accent: #A8D94E;
    --p-bg: #FFFFFF;
    --p-text: #111111;
    --p-border: #EAEAEA;
    --p-muted: #666666;
    --p-light-bg: #F9FBF7;
    --p-glass-bg: rgba(255, 255, 255, 0.7);
    --p-glass-border: rgba(255, 255, 255, 0.5);
    --p-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    --p-shadow-hover: 0 25px 50px rgba(122, 181, 71, 0.15);
    --p-font: 'Glonto', 'Outfit', sans-serif;
    --p-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --p-transition-fast: all 0.25s ease;
}

.product-page {
    background-image: url('../assets/textures/32.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--p-text);
    font-family: var(--p-font);
    overflow-x: hidden;
    position: relative;
    width: 100%;
}

/* Common Section Container */
.p-section {
    position: relative;
    width: 100%;
    padding: 120px 0;
    overflow: hidden;
    z-index: 2;
}

.p-section.p-alt-bg {
    background-color: rgba(249, 251, 247, 0.85);
}

.p-container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 5;
}

/* Section Header styling */
.p-sec-header {
    margin-bottom: 60px;
    max-width: 650px;
}

.p-sec-header.p-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.p-tag {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--p-primary);
    margin-bottom: 15px;
    display: inline-block;
}

.p-title {
    display: block;
    font-family: 'Glonto', sans-serif;
    font-size: clamp(3.2rem, 5vw, 4.8rem);
    font-weight: 700;
    line-height: 1.2;
    color: var(--p-secondary);
    margin-bottom: 20px;
}

.p-desc {
    font-size: 1.6rem;
    line-height: 1.7;
    color: var(--p-muted);
}

/* Textile background wave styling */
.p-wave-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.6;
}

.p-wave-bg svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* General premium buttons */
.p-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-family: var(--p-font);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--p-transition);
    text-transform: uppercase;
}

.p-btn-primary {
    background-color: var(--p-primary);
    color: #FFFFFF;
    box-shadow: 0 8px 20px rgba(122, 181, 71, 0.25);
    border: 1px solid var(--p-primary);
}

.p-btn-primary:hover {
    background-color: var(--p-secondary);
    border-color: var(--p-secondary);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 30, 30, 0.2);
}

.p-btn-outline {
    background-color: transparent;
    border: 1px solid var(--p-primary);
    color: var(--p-primary);
}

.p-btn-outline:hover {
    background-color: var(--p-primary);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(122, 181, 71, 0.25);
}

.p-btn-white {
    background-color: #FFFFFF;
    color: var(--p-secondary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid transparent;
}

.p-btn-white:hover {
    background-color: var(--p-primary);
    color: #FFFFFF;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(122, 181, 71, 0.3);
}

/* ==========================================================================
   SECTION 1 — HERO PRODUCT SHOWCASE
   ========================================================================== */
.p-hero-section {
    padding-top: 180px;
    padding-bottom: 120px;
    background: radial-gradient(circle at 80% 20%, rgba(122, 181, 71, 0.08) 0%, transparent 60%);
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.p-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.p-hero-content {
    max-width: 600px;
}

.p-hero-title {
    font-family: 'Glonto', sans-serif;
    font-size: clamp(4rem, 6vw, 6.4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--p-secondary);
    margin-bottom: 25px;
}

.p-hero-desc {
    font-size: 1.8rem;
    line-height: 1.8;
    color: var(--p-muted);
    margin-bottom: 40px;
}

/* Interactive Visual Area */
.p-hero-visual {
    position: relative;
    width: 100%;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-main-product-wrapper {
    position: relative;
    width: 480px;
    height: 480px;
    max-width: 100%;
    max-height: 100%;
    z-index: 10;
}

.p-main-product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.12));
    animation: pFloat 6s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-main-product-img:hover {
    transform: scale(1.05) rotate(15deg);
}

/* Floating info points map */
.p-connector-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.p-connector-line {
    stroke: var(--p-primary);
    stroke-width: 1.5;
    stroke-dasharray: 4, 4;
    opacity: 0.4;
    transition: var(--p-transition);
}

.p-info-node {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid var(--p-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 12;
    transition: var(--p-transition);
}

.p-info-node::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--p-primary);
    transition: var(--p-transition);
}

.p-info-node-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0;
    transition: var(--p-transition);
}

.p-info-node:hover {
    transform: scale(1.2);
    border-color: var(--p-primary);
    box-shadow: 0 0 20px rgba(122, 181, 71, 0.4);
}

.p-info-node:hover::after {
    transform: scale(0);
}

.p-info-node:hover .p-info-node-img {
    opacity: 1;
}

/* Node labels (floating text) */
.p-node-label {
    position: absolute;
    white-space: nowrap;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--p-secondary);
    background: var(--p-glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--p-glass-border);
    padding: 6px 12px;
    border-radius: 20px;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: var(--p-transition);
}

.p-info-node:hover+.p-node-label {
    color: var(--p-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(122, 181, 71, 0.15);
}

/* Position nodes and labels in circle layout */
.node-1 {
    top: 15%;
    left: 15%;
}

.label-1 {
    top: 7%;
    left: 15%;
    transform: translateX(-15%);
}

.node-2 {
    top: 15%;
    right: 15%;
}

.label-2 {
    top: 7%;
    right: 15%;
    transform: translateX(15%);
}

.node-3 {
    top: 50%;
    left: 8%;
}

.label-3 {
    top: 50%;
    left: -100px;
}

.node-4 {
    top: 50%;
    right: 8%;
}

.label-4 {
    top: 50%;
    right: -100px;
}

.node-5 {
    bottom: 18%;
    left: 20%;
}

.label-5 {
    bottom: 10%;
    left: 20%;
    transform: translateX(-15%);
}

.node-6 {
    bottom: 18%;
    right: 20%;
}

.label-6 {
    bottom: 10%;
    right: 20%;
    transform: translateX(15%);
}

/* Circular Pedestal */
.p-pedestal {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(122, 181, 71, 0.4) 0%, transparent 70%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.p-pedestal-ring {
    position: absolute;
    width: 240px;
    height: 30px;
    border: 2px solid rgba(122, 181, 71, 0.3);
    border-radius: 50%;
    animation: pRotate 20s linear infinite;
}

.p-pedestal-glow {
    position: absolute;
    width: 140px;
    height: 20px;
    background: var(--p-primary);
    border-radius: 50%;
    filter: blur(15px);
    opacity: 0.5;
}

/* ==========================================================================
   SECTION 2 — PRODUCT RANGE GRID
   ========================================================================== */
.p-range-section {
    background-color: var(--p-light-bg);
}

.p-range-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.p-range-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Product glassmorphism card */
.p-card {
    background: var(--p-glass-bg);
    border: 1px solid var(--p-glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--p-shadow);
    transition: var(--p-transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.p-card-img-area {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
}

.p-card-img-area::before {
    content: '';
    position: absolute;
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(122, 181, 71, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.p-card-img {
    height: 100%;
    max-width: 80%;
    object-fit: contain;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--p-secondary);
    margin-bottom: 8px;
    font-family: 'Glonto', sans-serif;
}

.p-card-subtitle {
    font-size: 1.3rem;
    color: var(--p-primary);
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.p-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.p-card-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1px solid var(--p-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p-secondary);
    font-size: 1.6rem;
    transition: var(--p-transition);
}

/* Hover effects */
.p-card:hover {
    transform: translateY(-8px);
    border-color: var(--p-primary);
    box-shadow: var(--p-shadow-hover);
    background-color: #FFFFFF;
}

.p-card:hover .p-card-img {
    transform: scale(1.1) rotate(5deg);
}

.p-card:hover .p-card-arrow {
    background-color: var(--p-primary);
    border-color: var(--p-primary);
    color: #FFFFFF;
    transform: rotate(-45deg);
}

/* ==========================================================================
   SECTION 3 — FEATURED PRODUCT DETAILS
   ========================================================================== */
.p-featured-details {
    display: grid;
    grid-template-columns: 120px 1.1fr 1.3fr;
    gap: 40px;
    align-items: center;
}

/* Thumbnails */
.p-gallery-thumbs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.p-gallery-thumb {
    width: 90px;
    height: 90px;
    border-radius: 16px;
    border: 2px solid var(--p-border);
    padding: 8px;
    cursor: pointer;
    background: #FFFFFF;
    transition: var(--p-transition-fast);
}

.p-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.p-gallery-thumb:hover {
    border-color: var(--p-primary);
}

.p-gallery-thumb.active {
    border-color: var(--p-primary);
    box-shadow: 0 0 12px rgba(122, 181, 71, 0.2);
}

/* Center Large Spool */
.p-featured-display {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p-featured-main-img {
    max-height: 380px;
    max-width: 85%;
    object-fit: contain;
    z-index: 5;
    animation: pFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Right Content specifications */
.p-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 30px 0;
}

.p-feature-icon-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.p-feature-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: var(--p-light-bg);
    border: 1px solid var(--p-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p-primary);
    font-size: 2rem;
    transition: var(--p-transition-fast);
}

.p-feature-icon-box svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.p-feature-icon-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--p-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.p-feature-icon-item:hover .p-feature-icon-box {
    background-color: var(--p-primary);
    color: #FFFFFF;
    transform: translateY(-3px) scale(1.05);
}

/* Specifications Table */
.p-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 35px;
    font-size: 1.5rem;
}

.p-specs-table tr {
    border-bottom: 1px solid var(--p-border);
}

.p-specs-table td {
    padding: 14px 10px;
}

.p-specs-table td:first-child {
    font-weight: 600;
    color: var(--p-secondary);
    width: 40%;
}

.p-specs-table td:last-child {
    color: var(--p-muted);
}

.p-specs-table tr:hover {
    background-color: rgba(122, 181, 71, 0.03);
}

/* ==========================================================================
   SECTION 4 — MANUFACTURING PROCESS
   ========================================================================== */
.p-process-timeline-wrapper {
    position: relative;
    padding: 60px 0;
    margin-top: 40px;
}

.p-process-line {
    position: absolute;
    top: 100px;
    left: 10%;
    width: 80%;
    height: 4px;
    background-color: var(--p-border);
    z-index: 1;
}

.p-process-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background-color: var(--p-primary);
    box-shadow: 0 0 10px rgba(122, 181, 71, 0.5);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.p-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 16%;
    text-align: center;
    cursor: pointer;
}

.p-process-node {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 4px solid var(--p-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--p-muted);
    position: relative;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    transition: var(--p-transition);
}

.p-process-node-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.15;
    transition: var(--p-transition);
}

.p-process-node span {
    position: relative;
    z-index: 5;
    font-family: 'Glonto', sans-serif;
}

.p-process-label {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--p-secondary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    transition: var(--p-transition);
}

.p-process-text {
    font-size: 1.3rem;
    color: var(--p-muted);
    line-height: 1.5;
}

/* Step active states */
.p-process-step.active .p-process-node {
    border-color: var(--p-primary);
    color: var(--p-primary);
    transform: scale(1.5);
    box-shadow: 0 10px 25px rgba(122, 181, 71, 0.25);
}

.p-process-step.active .p-process-node-img {
    opacity: 1;
}

.p-process-step.active .p-process-label {
    color: var(--p-primary);
}

.p-process-step:hover .p-process-node {
    border-color: var(--p-primary);
    transform: scale(1.1);
}

/* ==========================================================================
   SECTION 5 — PRODUCT SPECIFICATIONS
   ========================================================================== */
.p-specs-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.p-accordion {
    background-color: #FFFFFF;
    border: 1px solid var(--p-border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--p-shadow);
    transition: var(--p-transition);
}

.p-accordion-trigger {
    width: 100%;
    padding: 24px 30px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    font-family: var(--p-font);
}

.p-accordion-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--p-secondary);
    font-family: 'Glonto', sans-serif;
    letter-spacing: 0.5px;
}

.p-accordion-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid var(--p-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p-primary);
    transition: var(--p-transition);
}

.p-accordion-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    padding: 0 30px;
}

.p-accordion-inner {
    padding-bottom: 30px;
    padding-top: 10px;
}

/* Accordion Active state */
.p-accordion.active {
    border-color: var(--p-primary);
    box-shadow: var(--p-shadow-hover);
}

.p-accordion.active .p-accordion-content {
    max-height: 1000px;
    opacity: 1;
}

.p-accordion.active .p-accordion-icon {
    background-color: var(--p-primary);
    color: #FFFFFF;
    border-color: var(--p-primary);
    transform: rotate(180deg);
}

/* Nested Grid Layouts in Accordions */
.p-accordion-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.p-accordion-industry .p-accordion-grid-2 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 0px;
}

.p-accordion-list {
    list-style: none;
}

.p-accordion-list-item {
    font-size: 1.5rem;
    color: var(--p-muted);
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.p-accordion-list-item::before {
    content: '✓';
    color: var(--p-primary);
    font-weight: 700;
}

.p-cert-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.p-cert-card {
    background-color: var(--p-light-bg);
    border: 1px solid var(--p-border);
    border-radius: 12px;
    padding: 20px 10px;
    transition: var(--p-transition-fast);
}

.p-cert-card h4 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--p-secondary);
    margin-bottom: 5px;
}

.p-cert-card p {
    font-size: 1.1rem;
    color: var(--p-muted);
    margin: 0;
}

.p-cert-card:hover {
    border-color: var(--p-primary);
    background-color: #FFFFFF;
    transform: translateY(-3px);
}

/* ==========================================================================
   SECTION 6 — PRODUCT BENEFITS
   ========================================================================== */
.p-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.p-benefit-card {
    background-color: #FFFFFF;
    border: 1px solid var(--p-border);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: var(--p-shadow);
    transition: var(--p-transition);
}

.p-benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background-color: rgba(122, 181, 71, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--p-primary);
    font-size: 2.8rem;
    margin-bottom: 30px;
    transition: var(--p-transition);
}

.p-benefit-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 1.8;
    fill: none;
}

.p-benefit-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--p-secondary);
    margin-bottom: 15px;
    font-family: 'Glonto', sans-serif;
}

.p-benefit-desc {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--p-muted);
}

/* Hover effects */
.p-benefit-card:hover {
    transform: translateY(-8px);
    border-color: var(--p-primary);
    box-shadow: var(--p-shadow-hover);
}

.p-benefit-card:hover .p-benefit-icon {
    background-color: var(--p-primary);
    color: #FFFFFF;
    transform: scale(1.1) rotate(5deg);
}

/* ==========================================================================
   SECTION 7 — PRODUCT GALLERY
   ========================================================================== */
.p-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.p-gallery-item {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--p-shadow);
}

.p-gallery-item-wide {
    grid-column: span 2;
}

.p-gallery-item-tall {
    grid-row: span 2;
}

.p-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 30, 30, 0.8) 0%, rgba(30, 30, 30, 0.1) 70%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    transition: var(--p-transition);
}

.p-gallery-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Glonto', sans-serif;
    transform: translateY(15px);
    transition: var(--p-transition);
}

.p-gallery-tag {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--p-accent);
    margin-bottom: 5px;
    transform: translateY(15px);
    transition: var(--p-transition);
    transition-delay: 0.05s;
}

/* Hover effects */
.p-gallery-item:hover .p-gallery-img {
    transform: scale(1.08);
}

.p-gallery-item:hover .p-gallery-overlay {
    opacity: 1;
}

.p-gallery-item:hover .p-gallery-title,
.p-gallery-item:hover .p-gallery-tag {
    transform: translateY(0);
}

/* Lightbox Modal */
.p-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.p-lightbox.show {
    display: flex;
    opacity: 1;
}

.p-lightbox-content {
    position: relative;
    max-width: 85%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.p-lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-lightbox.show .p-lightbox-img {
    transform: scale(1);
}

.p-lightbox-caption {
    color: #FFFFFF;
    margin-top: 15px;
    font-size: 1.6rem;
    font-family: 'Glonto', sans-serif;
    letter-spacing: 0.5px;
}

.p-lightbox-close {
    position: absolute;
    top: -45px;
    right: 0;
    background: transparent;
    border: none;
    color: #FFFFFF;
    font-size: 3rem;
    cursor: pointer;
    transition: var(--p-transition-fast);
}

.p-lightbox-close:hover {
    color: var(--p-primary);
    transform: scale(1.1);
}

/* ==========================================================================
   SECTION 8 — RELATED PRODUCTS
   ========================================================================== */
.p-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.p-slider-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.p-slider-item {
    flex: 0 0 calc((100% - 60px) / 3);
    width: calc((100% - 60px) / 3);
}

.p-slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.p-slider-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid var(--p-border);
    background-color: #FFFFFF;
    color: var(--p-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: var(--p-transition);
    box-shadow: var(--p-shadow);
}

.p-slider-btn:hover {
    background-color: var(--p-primary);
    border-color: var(--p-primary);
    color: #FFFFFF;
    transform: scale(1.05);
}

.p-slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #FFFFFF;
    color: var(--p-muted);
    border-color: var(--p-border);
}

/* ==========================================================================
   SECTION 9 — CTA SECTION
   ========================================================================== */
.p-cta-section {
    padding: 0;
    margin-bottom: -50px;
    /* Blend into footer space */
}

.p-cta-banner {
    position: relative;
    background:
        radial-gradient(ellipse at 20% 10%, rgba(200, 240, 215, 0.85) 0%, transparent 55%),
        radial-gradient(ellipse at 85% 80%, rgba(180, 235, 205, 0.70) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.92) 0%, transparent 70%),
        linear-gradient(160deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(230, 248, 238, 0.95) 35%,
            rgba(210, 242, 228, 0.96) 65%,
            rgba(255, 255, 255, 0.97) 100%);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(31, 122, 61, 0.12);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.08),
        -1px 0 0 rgba(31, 122, 61, 0.08);
    border-radius: 32px;
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
}

/* Liquid light blob background */
.p-cta-banner::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(122, 181, 71, 0.15) 0%, transparent 70%);
    filter: blur(40px);
}

.p-cta-banner::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 217, 78, 0.12) 0%, transparent 70%);
    filter: blur(40px);
}

.p-cta-content {
    max-width: 750px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.p-cta-title {
    display: block;
    font-family: 'Glonto', sans-serif;
    color: var(--p-secondary);
    font-size: clamp(3rem, 5vw, 4.4rem);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.p-cta-desc {
    color: var(--p-secondary);
    opacity: 0.85;
    font-size: 1.7rem;
    line-height: 1.7;
    margin-bottom: 40px;
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */
@keyframes pFloat {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Stagger animations support */
.p-fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.p-fade-up.p-active {
    opacity: 1;
    transform: translateY(0);
}

.p-delay-1 {
    transition-delay: 0.1s;
}

.p-delay-2 {
    transition-delay: 0.2s;
}

.p-delay-3 {
    transition-delay: 0.3s;
}

.p-delay-4 {
    transition-delay: 0.4s;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1200px) {
    .p-hero-grid {
        gap: 20px;
    }

    .p-featured-details {
        grid-template-columns: 100px 1fr 1.2fr;
    }
}

@media (max-width: 991px) {
    .p-section {
        padding: 80px 0;
    }

    .p-hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 40px !important;
        justify-items: center !important;
        width: 100% !important;
    }

    .p-hero-content {
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px !important;
    }

    .p-hero-title,
    .p-hero-desc {
        text-align: center !important;
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }

    .p-range-layout {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .p-featured-details {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .p-gallery-thumbs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
        order: 2;
    }

    .p-featured-display {
        order: 1;
        height: 380px;
    }

    .p-featured-main-img {
        max-height: 280px;
    }

    .p-features-list {
        margin: 20px 0;
    }

    .p-process-line {
        display: none;
    }

    .p-process-steps {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }

    .p-process-step {
        width: 100%;
        max-width: 320px;
    }

    .p-process-node {
        margin-bottom: 15px;
    }

    .p-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 240px;
    }

    .p-gallery-item-wide {
        grid-column: span 1;
    }

    .p-slider-item {
        flex: 0 0 calc((100% - 30px) / 2);
        width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .p-range-cards {
        grid-template-columns: 1fr;
    }

    .p-accordion-trigger {
        padding: 20px;
    }

    .p-accordion-content {
        padding: 0 20px;
    }

    .p-accordion-grid-2 {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .p-cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .p-benefits-grid {
        grid-template-columns: 1fr;
    }

    .p-gallery-grid {
        grid-template-columns: 1fr;
    }

    .p-gallery-item-tall {
        grid-row: span 1;
    }

    .p-slider-item {
        flex: 0 0 100%;
        width: 100%;
    }

    .p-cta-banner {
        padding: 50px 30px;
    }
}

/* ════════════════════════════════════════
   CERTIFICATE DISPLAY SECTION (quality.html)
   ════════════════════════════════════════ */
.certificate-display-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url("../assets/images/certification-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 110px 7vw 80px;
    overflow: hidden;
}

.certification-section-inner {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
}

.certification-heading-block {
    max-width: 680px;
    margin-bottom: 42px;
}

.certification-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #6ec72f;
    font-size: clamp(1.15rem, 1.6vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 14px;
}

.certification-heading-block h2 {
    color: #10291f;
    font-size: clamp(2.8rem, 5.2vw, 5.8rem);
    line-height: 1.02;
    font-weight: 700;
    letter-spacing: 2px;
    margin: 0 0 22px;
}

.certification-heading-block p {
    color: rgba(16, 41, 31, 0.76);
    font-size: clamp(1.6rem, 1.22vw, 1.28rem);
    line-height: 1.8;
    max-width: 760px;
    margin: 0;
}

.certification-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 28px;
}

.certification-card {
    position: relative;
    min-height: 245px;
    padding: 32px 24px 28px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(244, 249, 238, 0.82));
    border: 1px solid rgba(122, 156, 113, 0.22);
    box-shadow:
        0 18px 45px rgba(31, 55, 41, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    overflow: hidden;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.certification-card::after {
    content: "";
    position: absolute;
    left: -10%;
    right: -10%;
    bottom: 16px;
    height: 42px;
    background:
        repeating-linear-gradient(165deg,
            transparent 0 12px,
            rgba(112, 148, 101, 0.12) 13px 14px);
    opacity: 0.5;
    pointer-events: none;
}

.certification-card:hover {
    transform: translateY(-8px);
    border-color: rgba(110, 199, 47, 0.38);
    box-shadow:
        0 26px 60px rgba(31, 55, 41, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.certification-logo-wrap {
    position: relative;
    z-index: 2;
    width: 150px;
    height: 115px;
    margin: 0 auto 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-logo-wrap img {
    width: 100%;
    height: 100%;
    max-width: 150px;
    max-height: 115px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 14px rgba(22, 48, 34, 0.12));
}

.certification-card h3 {
    position: relative;
    z-index: 2;
    color: #10291f;
    font-size: clamp(1.05rem, 1.15vw, 1.35rem);
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 10px;
}

.certification-card p {
    position: relative;
    z-index: 2;
    color: rgba(16, 41, 31, 0.72);
    font-size: 0.96rem;
    line-height: 1.55;
    margin: 0 auto;
    max-width: 250px;
}

.certification-bottom-note {
    margin-top: 26px;
    padding: 22px 30px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(122, 156, 113, 0.18);
    box-shadow: 0 14px 35px rgba(31, 55, 41, 0.08);
    backdrop-filter: blur(8px);
}

.certification-bottom-note p {
    margin: 0;
    color: rgba(16, 41, 31, 0.76);
    font-size: 1.6rem;
    line-height: 1.65;
}

@media (max-width: 1180px) {
    .certification-card-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .certificate-display-section {
        padding: 95px 22px 60px;
        background-position: center top;
    }

    .certification-heading-block {
        margin-bottom: 30px;
    }

    .certification-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .certification-card {
        min-height: auto;
        padding: 28px 20px;
    }

    .certification-bottom-note {
        padding: 20px;
    }

    .certification-logo-wrap {
        width: 125px;
        height: 95px;
        margin-bottom: 18px;
    }

    .certification-logo-wrap img {
        max-width: 125px;
        max-height: 95px;
    }
}

.qualitysection {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-image: url("../assets/images/quality-section-bg.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    padding: 110px 7vw 90px;
}

.qualitysection-container {
    max-width: 1320px;
    margin: 0 auto;
}

.qualitysection-heading {
    text-align: center;
    max-width: 920px;
    margin: 0 auto 70px;
}

.qualitysection-kicker {
    display: inline-block;
    color: #78c62f;
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.qualitysection-heading h2 {
    margin: 0 0 22px;
    font-size: clamp(3rem, 5vw, 5.8rem);
    line-height: 1.05;
    font-weight: 700;
    color: #062b1b;
    letter-spacing: 1px;
}

.qualitysection-heading h2 span {
    color: #7fd12f;
}

.qualitysection-heading p {
    margin: 0 auto;
    max-width: 900px;
    color: rgba(16, 41, 31, 0.78);
    font-size: clamp(1.6rem, 1.25vw, 1.35rem);
    line-height: 1.85;
}

.qualitysection-main {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
}

.qualitysection-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qualitysection-image img {
    width: 100%;
    max-width: 700px;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent;
}

.qualitysection-image .qualitysection-photo {
    width: 100%;
    max-width: 760px;
    height: 430px;
    object-fit: cover;
    object-position: center;
    border-radius: 28px;
    box-shadow: 0 28px 70px rgba(6, 43, 27, 0.16);
    background: #ffffff;
}

.qualitysection-content {
    max-width: 620px;
}

.qualitysection-title-wrap {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.qualitysection-icon {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid rgba(123, 170, 112, 0.22);
    background: rgba(255, 255, 255, 0.55);
    color: #1d7a3f;
    font-size: 1.8rem;
    box-shadow: 0 10px 24px rgba(24, 56, 36, 0.08);
}

.qualitysection-content h3 {
    margin: 0;
    color: #062b1b;
    font-size: clamp(2rem, 3vw, 3.5rem);
    line-height: 1.12;
    font-weight: 700;
}

.qualitysection-content p {
    margin: 0 0 24px;
    color: rgba(16, 41, 31, 0.78);
    font-size: clamp(1.6rem, 1.2vw, 1.28rem);
    line-height: 1.95;
}

.qualitysection-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1024px) {
    .qualitysection-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .qualitysection-image {
        order: 1;
    }

    .qualitysection-content {
        order: 2;
        max-width: 100%;
    }

    .qualitysection-image img {
        max-width: 620px;
    }
}

@media (max-width: 768px) {
    .qualitysection {
        padding: 90px 24px 60px;
        min-height: auto;
        background-position: center top;
    }

    .qualitysection-heading {
        margin-bottom: 42px;
    }

    .qualitysection-title-wrap {
        gap: 14px;
        margin-bottom: 20px;
    }

    .qualitysection-icon {
        width: 52px;
        height: 52px;
        font-size: 1.4rem;
        border-radius: 14px;
    }

    .qualitysection-image img {
        max-width: 100%;
    }
}

/* ════════════════════════════════════════
   SUSTAINABILITY SECTION (quality.html)
   ════════════════════════════════════════ */
.sustainability-section {
    position: relative;
    width: 100%;
    min-height: 620px;
    padding: 90px 7vw;
    background-image: url("../assets/images/sustainability_bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.sustainability-layout {
    width: 100%;
    max-width: 1500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(40px, 6vw, 110px);
}

.sustainability-image-side {
    flex: 0 1 42%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sustainability-side-img {
    width: 100%;
    max-width: 750px;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 28px 55px rgba(6, 43, 27, 0.16));
}

.sustainability-glass-box {
    flex: 0 1 58%;
    max-width: 850px;
    padding: 54px 60px;
    text-align: center;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 28px 80px rgba(6, 43, 27, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.sustainability-label {
    display: block;
    margin-bottom: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: #5fae3f;
}

.sustainability-glass-box h2 {
    margin: 0 0 22px 0;
    font-size: clamp(3rem, 4.5vw, 3.5rem);
    line-height: 1.15;
    font-weight: 700;
    color: #0A2212;
}

.sustainability-glass-box p {
    margin: 0 auto;
    max-width: 660px;
    font-size: 1.65rem;
    line-height: 1.8;
    color: rgba(10, 34, 18, 0.78);
}

@media (max-width: 991px) {
    .sustainability-section {
        padding: 80px 24px;
        min-height: auto;
    }

    .sustainability-layout {
        flex-direction: column;
        gap: 36px;
    }

    .sustainability-image-side {
        order: 1;
        width: 100%;
    }

    .sustainability-glass-box {
        order: 2;
        width: 100%;
        padding: 42px 32px;
    }

    .sustainability-side-img {
        width: min(100%, 360px);
    }
}

/* ----------------------------------------
   LEADERSHIP SHOWCASE SECTION
   ---------------------------------------- */
.leadership-sec {
    position: relative;
    padding: 100px 20px;
    background-image: url('../assets/textures/Director.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-dark);
}

.leadership-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
}

.leadership-header {
    text-align: center;
    margin-bottom: 70px;
}

.leadership-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: #a87f2a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.leadership-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.2;
}

.leadership-title span {
    color: #a87f2a;
}

.leadership-intro {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px 40px;
}

.leadership-col {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

/* Profile Card */
.profile-card {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.profile-img-placeholder {
    width: 200px;
    height: 250px;
    background-color: rgba(31, 122, 61, 0.05);
    border-radius: 12px;
    border: 1px dashed rgba(31, 122, 61, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: rgba(31, 122, 61, 0.5);
    font-size: 0.9rem;
    text-align: center;
    padding: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 10px;
}

.profile-divider {
    width: 40px;
    height: 2px;
    background-color: #a87f2a;
    margin-bottom: 20px;
}

.profile-name {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 600;
}

.profile-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: #a87f2a;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.profile-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 992px) {
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .profile-divider {
        margin: 0 auto 20px auto;
    }

    .profile-img-placeholder {
        width: 100%;
        max-width: 300px;
        height: 300px;
    }
}

/* ----------------------------------------
   LEADERSHIP SECTION
   ---------------------------------------- */
.leadership-sec-wrapper {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    background-color: #f6f3eb;
}

.leadership-sec-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(246, 243, 235, 0.88);
    z-index: 1;
}

.leadership-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.leadership-header {
    text-align: center;
    margin-bottom: 70px;
}

.leadership-subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #a87f2a;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.leadership-subtitle::before,
.leadership-subtitle::after {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: rgba(168, 127, 42, 0.6);
}

.leadership-title {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: clamp(3rem, 4.5vw, 4.5rem);
    font-weight: 500;
    color: #0A2212;
    margin-bottom: 20px;
    line-height: 1.1;
}

.leadership-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: #3a4a3e;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.leadership-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

@media (min-width: 992px) {
    .leadership-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.director-card {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

@media (min-width: 576px) {
    .director-card {
        flex-direction: row;
        align-items: center;
        gap: 35px;
    }
}

.director-img-wrapper {
    flex-shrink: 0;
    width: 100%;
    max-width: 240px;
    height: 310px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(10, 34, 18, 0.12);
    background: #e4e8e5;
}

.director-img-placeholder {
    width: 100%;
    height: 100%;
    background-color: transparent;
    display: block;
}

.director-info {
    flex: 1;
}

.director-info-divider {
    width: 35px;
    height: 2px;
    background: #a87f2a;
    margin-bottom: 18px;
}

.director-name {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    color: #0A2212;
    margin: 0 0 8px 0;
}

.director-role {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #a87f2a;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 15px 0;
}

.director-bio {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    color: #3a4a3e;
    line-height: 1.65;
    margin: 0;
}

/* -----------------------------------------------
   LEADERSHIP SECTION
   ----------------------------------------------- */
.leadership-sec {
    position: relative;
    padding: 100px 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.leadership-sec::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.85);
    /* Light overlay to ensure text is visible */
    z-index: 0;
}

.leadership-container {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.leadership-subtext {
    text-align: center;
    font-size: 1.5rem;
    color: #4A6B53;
    max-width: 800px;
    margin: 20px auto 50px;
    font-family: 'Outfit', sans-serif;
}

.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
}

@media (max-width: 992px) {
    .leadership-grid {
        grid-template-columns: 1fr;
    }
}

.leadership-card {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.6);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(200, 220, 205, 0.4);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .leadership-card {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
}

.leadership-img-wrapper {
    flex-shrink: 0;
    width: 200px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    background: #e2e4e1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.leadership-img-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d1d6d2, #eef0ef);
}

.leadership-info {
    flex: 1;
}

.leadership-info h3 {
    font-family: 'Glonto', 'Outfit', serif;
    font-size: 2.8rem;
    color: #1a2a20;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.leadership-role {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #a87f2a;
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.leadership-info p {
    font-family: 'Outfit', sans-serif;
    font-size: 1.45rem;
    line-height: 1.7;
    color: #4a5c50;
    margin: 0;
}

/* ----------------------------------------
   LEADERSHIP SECTIONS
   ---------------------------------------- */
.leadership-wrapper {
    padding: 100px 0;
}

.leadership-sec {
    position: relative;
    z-index: 2;
    padding-bottom: 40px;
}

.leadership-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.leadership-header {
    text-align: center;
    margin-bottom: 70px;
}

.leadership-diamond-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 10px 0 20px;
}

.leadership-diamond-divider .line {
    height: 1px;
    width: 40px;
    background-color: rgba(168, 127, 42, 0.4);
}

.leadership-diamond-divider .diamond {
    width: 6px;
    height: 6px;
    background-color: #a87f2a;
    transform: rotate(45deg);
}

.leadership-intro {
    font-size: 1.25rem;
    color: #4a5c50;
    max-width: 650px;
    margin: 0 auto;
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.leadership-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.leader-card {
    display: flex;
    align-items: center;
    gap: 40px;
}

.leader-img-box {
    flex-shrink: 0;
    width: 260px;
    height: 330px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.leader-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leader-info {
    flex: 1;
}

.leader-line {
    width: 25px;
    height: 2px;
    background-color: #a87f2a;
    margin-bottom: 20px;
}

.leader-name {
    font-family: 'Glonto', 'Outfit', sans-serif;
    font-size: 2.8rem;
    color: #0A2212;
    margin-bottom: 8px;
    font-weight: 700;
}

.leader-role {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #a87f2a;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 20px;
}

.leader-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #3a4a3e;
}

@media (max-width: 768px) {
    .leader-card {
        flex-direction: column;
        text-align: left;
        gap: 25px;
    }

    .leader-img-box {
        width: 100%;
        max-width: 320px;
        height: 360px;
        margin: 0 auto;
    }
}

/* --- Mobile & Tablet Responsive Fixes --- */
@media (max-width: 992px) {

    /* About Page - Second Section */
    .about-details-sec {
        background-image: none !important;
        background-color: #efe5d5 !important;
    }

    /* Contact Page - Map and Form Alignment */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    .info-map-container iframe {
        width: 100% !important;
        height: 250px !important;
    }

    /* Product Page - Misaligned elements */
    .p-main-product-wrapper {
        width: auto;
    }
    .p-specs-table {
        display: block;
        overflow-x: hidden;
        /* Hide scroll since we'll wrap */
        white-space: normal !important;
        /* Allow text to wrap so it doesn't get cut */
        word-wrap: break-word;
    }

    .p-features-list {
        flex-wrap: wrap;
        justify-content: center;
    }

    .p-accordion-grid-2 {
        grid-template-columns: 1fr !important;
    }
}


@media (max-width: 992px) {

    /* Certification Section Text Visibility Fix */
    .certification-heading,
    .certification-desc,
    .certification-heading-block h2,
    .certification-heading-block p {
        color: #000000 !important;
    }
}

@media (max-width: 992px) {

    /* Process section label overlap fix */
    .p-process-step.active .p-process-node {
        transform: scale(1.15) !important;
        /* Reduce scale on mobile */
        margin-bottom: 25px !important;
    }

    .p-process-node {
        margin-bottom: 25px !important;
        /* Add space for the label */
    }
}

/* ==========================================================================
   GLOBAL MOBILE TYPOGRAPHY NORMALIZATION (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {

    /* H1 Tags */
    h1,
    .hero-title,
    .about-main-heading,
    .infra-intro-title {
        font-size: 30px !important;
    }

    /* H2 Tags & Main Headings */
    h2,
    .section-title,
    .p-section-title,
    .certification-heading,
    .quality-title,
    .purpose-title {
        font-size: 23px !important;
    }

    /* H3, H4, H5, H6, Sub-headings & Spans */
    h3,
    h4,
    h5,
    h6,
    span,
    .card-title,
    .p-process-label,
    .infra-intro-tag,
    .form-title,
    .footer-title,
    .mega-item-title,
    .purpose-subtitle,
    .quality-badge {
        font-size: 17px !important;
    }

    /* P tags, Text, Descriptions, Header & Footer */
    p,
    a,
    li,
    b,
    strong,
    i,
    em,
    small,
    label,
    button,
    input,
    select,
    textarea,
    td,
    th,
    .text,
    .desc,
    .about-desc-text,
    .certification-desc,
    .infra-intro-desc,
    .footer-desc,
    .mega-item-desc,
    .footer-link,
    .nav-link,
    .mega-tagline,
    .mega-version,
    .form-subtitle,
    .form-label,
    .form-input,
    .form-textarea,
    .p-process-text,
    .card-desc,
    .p-feature-text,
    .footer-bottom p,
    .machine-desc,
    .p-accordion-content,
    .info-text,
    .info-detail,
    .fhdr-contact-label,
    .fhdr-contact-value {
        font-size: 15px !important;
    }

    /* Ensure spans inside headings match the heading size instead of shrinking */
    h1 span,
    h2 span,
    h3 span,
    h4 span,
    h5 span,
    h6 span,
    .hero-title span,
    .section-title span,
    .p-section-title span,
    .about-main-heading span {
        font-size: inherit !important;
    }

    /* Hero Section Height & Video Fix */
    #hero,
    .about-hero {
        min-height: auto !important;
        height: auto !important;
        aspect-ratio: 16 / 9 !important;
        /* Exactly matches standard video size so no background shows */
    }

    .hero-video-container video {
        /* Fills the 16:9 container perfectly with zero cutting and zero green background */
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        transform: translate(-50%, -50%) scale(1) !important;
        background-color: transparent;
    }

    /* Fix Footer Brochure Button Alignment */
    .footer-brochure-btn {
        margin: 0 auto !important;
        display: flex !important;
    }

    /* Fix Certification Section Alignment & Video */
    .certification-right,
    .certification-section-inner {
        text-align: center !important;
        padding: 25px 15px !important;
        /* Less padding to save height */
    }

    .certification-tagline,
    .certification-heading,
    .certification-desc {
        text-align: center !important;
    }

    .certification-logos-grid {
        justify-items: center !important;
        align-items: center !important;
        grid-template-columns: repeat(3, 1fr) !important;
        /* 3 columns saves huge vertical space */
        gap: 15px !important;
    }

    .logo-item {
        height: 60px !important;
        padding: 5px !important;
        background: rgba(255, 255, 255, 0.4) !important;
        /* Make logos pop more */
        border-radius: 8px;
    }

    /* Fix Product Applications List Zigzag Alignment */
    .p-accordion-list-item {
        align-items: flex-start !important;
    }

    .p-accordion-list-item::before {
        margin-top: 4px;
        /* Align checkmark with the first line of text */
    }

    .p-accordion-list-item strong {
        flex: 0 0 90px !important;
        /* Reduced width from 110px to 90px so "Home Textiles" wraps like the others */
        display: block;
    }
}

/* ==========================================================================
   NEW MOBILE & TABLET HEADER (max-width: 1024px)
   ========================================================================== */
@media (max-width: 1024px) {

    /* Create vertical stacking context so header is strictly above video */
    #main-content {
        display: flex !important;
        flex-direction: column !important;
    }

    #float-header {
        position: sticky !important;
        top: 0 !important;
        order: -1 !important;
        /* Forces it above hero section */
        left: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
        /* Flat bar, not a pill */
        margin: 0 !important;
        padding: 12px 20px !important;
        background: linear-gradient(135deg, #e4f7ea 0%, #f2fdf5 100%) !important;
        /* Gradient color */
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
        border: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        z-index: 9999 !important;

        display: flex !important;
        justify-content: space-between !important;
        /* Forces logo left and buttons right to prevent any collision */
        align-items: center !important;
    }

    /* Hide desktop nav */
    .fhdr-nav {
        display: none !important;
    }

    /* Align logo naturally to the left to prevent 'butting'/overlapping with buttons */
    .fhdr-logo-badge {
        position: relative !important;
        left: auto !important;
        transform: none !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
    }

    .fhdr-logo-img {
        height: 40px !important;
        filter: none !important;
        /* Removes all drop shadows and effects */
        transform: none !important;
        /* Removes hover scale */
    }

    /* Hide spacer */
    .fhdr-spacer {
        display: none !important;
    }

    /* Align action buttons to the right and style their container with grey background */
    .fhdr-actions {
        margin-left: auto !important;
        /* Push strictly to right edge */
        display: flex !important;
        gap: 6px !important;
        background: rgba(0, 0, 0, 0.06) !important;
        /* Subtle gray background */
        border-radius: 30px !important;
        padding: 2px 6px !important;
        /* Decreased padding to tighten the gray pill shape */
        border: none !important;
        box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.03) !important;
    }

    /* Maintain transparency on buttons themselves to show the gray container */
    .fhdr-contact-pill,
    .fhdr-icon-btn {
        background: transparent !important;
        box-shadow: none !important;
        border: none !important;
        width: auto !important;
        height: auto !important;
        padding: 5px !important;
        transition: all 0.3s ease !important;
    }

    /* Ensure hover effects are removed and width does NOT snap to 38px on hover */
    .fhdr-contact-pill:hover,
    .fhdr-icon-btn:hover {
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        padding: 5px !important;
    }

    /* Increase size of icons inside buttons */
    .fhdr-contact-icon,
    .fhdr-contact-icon img {
        width: 38px !important;
        height: 38px !important;
        display: block !important;
    }

    .fhdr-icon-btn svg {
        width: 28px !important;
        height: 28px !important;
    }

    .fhdr-contact-pill {
        border-radius: 30px !important;
    }

    /* Hide text from contact pill */
    .fhdr-contact-label {
        display: none !important;
    }

    /* Decrease huge padding on Infrastructure mobile view */
    .infra-intro-panel {
        padding: 10px 15px !important;
    }
}