/*
 * Total Apparel Sourcing - Polyman-Inspired Premium Design System (V3 Dark Grid)
 * High-End Dark Aesthetics & Precision Manufacturing Theme
 */

:root {
    /* Color Palette */
    --bg-main: #07090e; /* ultra dark navy/black */
    --bg-sec: #0c0f16; /* dark card background */
    --bg-darker: #020305; /* absolute black */
    
    --color-primary: #136384; /* Teal Blue from Logo */
    --color-primary-rgb: 19, 99, 132;
    --color-accent: #b58d16; /* Gold from Logo */
    --color-accent-rgb: 181, 141, 22;
    --color-cyan: #06b6d4;
    --color-cyan-rgb: 6, 182, 212;
    
    /* Typography */
    --font-display: 'Space Grotesk', sans-serif;
    --font-sub: 'Poppins', sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    /* Text Colors */
    --text-main: #ffffff; /* white */
    --text-muted: #94a3b8; /* slate-400 */
    --text-dark-grey: #475569; /* slate-600 */
    
    /* Grid System & Borders */
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(19, 99, 132, 0.4);
    
    /* Shadows */
    --shadow-md: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 30px rgba(19, 99, 132, 0.15);
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease-out;

    /* Theme-specific Buttons default (Dark Mode) */
    --btn-primary-bg: #ffffff;
    --btn-primary-text: var(--bg-main);
    --btn-outline-text: #ffffff;
    --btn-outline-border: rgba(255, 255, 255, 0.15);
    --btn-outline-hover-bg: rgba(255, 255, 255, 0.05);
    --btn-outline-hover-border: #ffffff;
}

/* Light Theme Variables */
.light-theme {
    --bg-main: #f8fafc;
    --bg-sec: #ffffff;
    --bg-darker: #f1f5f9;
    
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dark-grey: #64748b;
    
    --border-color: rgba(15, 23, 42, 0.08);
    --border-color-hover: rgba(19, 99, 132, 0.25);
    
    --shadow-md: 0 10px 40px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px -15px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 30px rgba(19, 99, 132, 0.08);
    
    --btn-primary-bg: #0f172a;
    --btn-primary-text: #ffffff;
    --btn-outline-text: #0f172a;
    --btn-outline-border: rgba(15, 23, 42, 0.15);
    --btn-outline-hover-bg: rgba(15, 23, 42, 0.05);
    --btn-outline-hover-border: #0f172a;
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
    overflow-x: hidden;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Dark Grid Pattern */
.bg-dark-grid {
    position: relative;
}

.bg-dark-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 80px 80px;
    background-position: center top;
    pointer-events: none;
    z-index: 0;
}

.bg-fade-in {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--bg-main) 90%);
    pointer-events: none;
    z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 5px;
    border: 3px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2.5rem;
    position: relative;
    z-index: 1;
}

.section {
    padding: 8rem 0;
    position: relative;
    z-index: 1;
}

.section-bg {
    background-color: var(--bg-sec);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Scroll Reveal Base */
.reveal-element {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-element.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 40%, rgba(255,255,255,0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.gradient-text-accent {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-cyan) 60%, var(--color-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Header & Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-smooth);
    padding: 1.5rem 0;
    background-color: transparent;
}

.navbar.scrolled {
    padding: 1rem 0;
    background-color: rgba(7, 9, 14, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link img {
    height: 32px;
    display: block;
    transition: var(--transition-smooth);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-sub);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 100px;
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background-color: var(--color-primary);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(var(--color-primary-rgb), 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--btn-outline-text);
    border: 1px solid var(--btn-outline-border);
}

.btn-outline:hover {
    border-color: var(--btn-outline-hover-border);
    background-color: var(--btn-outline-hover-bg);
    transform: translateY(-2px);
}

/* Polyman style Banner Section (Hero) */
.banner-section {
    position: relative;
    min-height: 95vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-darker);
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.bg-home-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 30%, rgba(var(--color-primary-rgb), 0.15) 0%, transparent 60%);
    z-index: 0;
}

.banner-content-wrapper {
    width: 100%;
    padding-top: 6rem;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

h1.home {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    max-width: 800px;
    color: var(--text-main);
}

/* Hero Quick Links (Polyman Side Cards) */
.quick-link-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 760px;
}

.quick-link {
    text-decoration: none;
    display: block;
}

.quick-link-content {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    transition: var(--transition-smooth);
}

.quick-link-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h4.quick-link {
    font-size: 1.5rem;
    font-family: var(--font-display);
    color: var(--text-main);
    font-weight: 600;
}

.quick-link-arrow {
    font-size: 1.5rem;
    transition: var(--transition-smooth);
    color: var(--text-main);
    opacity: 0.5;
}

.quick-link-content:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.quick-link-content:hover .quick-link-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.quick-link-image {
    height: 140px;
    border-radius: 12px;
    background-color: rgba(255,255,255,0.01);
    border: 1px solid var(--border-color);
    background-size: cover;
    background-position: center;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

.quick-link-content:hover .quick-link-image {
    opacity: 0.95;
}

/* Glassmorphism Cards */
.card {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
}

.card:hover {
    border-color: var(--border-color-hover);
    background-color: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Polyman Who We Are Layout */
.content-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

h3.align-left {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

p.paragraph-large {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-wrap {
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    margin-top: 2rem;
}

._2-col-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

h5.h5-cta {
    font-family: var(--font-sub);
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.flex-img-block {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.recoverlay {
    position: relative;
    width: 100%;
    display: block;
}

.img-recoverlay {
    width: 100%;
    display: block;
    transition: var(--transition-smooth);
}

.flex-img-block:hover .img-recoverlay {
    transform: scale(1.03);
}

.img-hero-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 1.25rem 1.75rem;
    border-radius: 12px;
}

.img-hero-caption h6 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.img-hero-caption p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Polyman Values Grid */
.title-container {
    margin-bottom: 4rem;
}

.text-dark-grey {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
}

.values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.value-hover-wrapper {
    position: relative;
}

.value-cta {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem 3.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: var(--transition-smooth);
    position: relative;
}

.value-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
}

.value-cta p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.value-button {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.value-button img {
    filter: invert(1);
    opacity: 0.6;
    transition: var(--transition-smooth);
}

.value-cta:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--color-primary);
    transform: translateY(-5px);
}

.value-cta:hover .value-button {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.value-cta:hover .value-button img {
    opacity: 1;
    transform: rotate(45deg);
}

/* Sourcing Process Timeline V3 */
.process-timeline {
    position: relative;
    padding-left: 3rem;
    border-left: 2px dashed rgba(255, 255, 255, 0.1);
    margin-left: 1.5rem;
}

.process-item {
    position: relative;
    margin-bottom: 4rem;
}

.process-item::before {
    content: '';
    position: absolute;
    left: calc(-3rem - 8px);
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--bg-main);
    border: 3px solid var(--color-primary);
    transition: var(--transition-smooth);
}

.process-item:hover::before {
    background-color: var(--color-primary);
    transform: scale(1.3);
    box-shadow: 0 0 15px var(--color-primary);
}

.process-num {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.process-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-desc {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 700px;
}

/* Equipment / Capability Slider Styling */
.slider-block {
    width: 100%;
}

.slider {
    background: transparent;
    height: 480px;
    position: relative;
}

.slide-with-captions {
    background-size: cover;
    background-position: center;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    position: relative;
    height: 100%;
}

.slide-with-captions.sourcing-slide-1 { background-image: url('../images/factory-demo.webp'); }
.slide-with-captions.sourcing-slide-2 { background-image: url('../images/denim-demo.webp'); }
.slide-with-captions.sourcing-slide-3 { background-image: url('../images/knitwear-demo.webp'); }

.slider-captions {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    background-color: rgba(7, 9, 14, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
}

.slider-captions p.caption {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

/* Interactive Tabs */
.tab-container {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 4rem;
}

.tab-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-family: var(--font-sub);
    font-size: 1rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    border-radius: 12px;
}

.tab-btn:hover {
    color: #ffffff;
}

.tab-btn.active {
    color: var(--text-main);
    background-color: rgba(255, 255, 255, 0.04);
    border-color: var(--border-color);
}

.tab-content {
    display: none;
    opacity: 0;
    transform: scale(0.99) translateY(5px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.tab-text h3 {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.tab-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.tab-list {
    list-style: none;
}

.tab-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--text-main);
}

.tab-list li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: bold;
}

.tab-image {
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

/* Sourcing Capabilities Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.clients-grid .card {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.clients-grid h4 {
    font-size: 1.2rem;
    color: var(--text-main);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.clients-grid p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Forms styling */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.03);
}

textarea.form-control {
    resize: none;
    min-height: 120px;
}

.form-success {
    background-color: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #34d399;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.form-error {
    background-color: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.2);
    color: #f87171;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

/* CTA Footer section */
.cta-container {
    padding: 6rem 0;
}

.cta-wrapper {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 5rem;
    text-align: center;
}

.banner-title-wrap h2 {
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.banner-title-wrap p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.button-wrapper {
    display: flex;
    justify-content: center;
}

/* Polyman Footer */
.footer {
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-darker);
    padding: 8rem 0 3rem 0;
    color: var(--text-muted);
}

.footer-hero-logo {
    display: block;
    margin-bottom: 4rem;
    opacity: 0.9;
    height: 48px;
}

.footer-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-links-wrapper {
    display: flex;
    gap: 6rem;
}

.footer-link-wrap-vertical h5.heading-4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.footer-links-wrap-horisontal {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contacts-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.contacts-icon {
    font-family: inherit;
    font-weight: bold;
    color: var(--color-primary);
}

.contacts-wrapper a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.contacts-wrapper a:hover {
    color: var(--text-main);
}

.footer-social-icons-wrapper {
    display: flex;
    gap: 1.5rem;
}

.footer-social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    font-weight: bold;
}

.footer-social-icon:hover {
    border-color: var(--text-main);
    color: var(--text-main);
    background-color: var(--btn-outline-hover-bg);
}

.footer-rights-wrapper {
    border-top: 1px solid var(--border-color);
    padding-top: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes timeline-pulse {
    0% { box-shadow: 0 0 0 0 rgba(19, 99, 132, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(19, 99, 132, 0); }
    100% { box-shadow: 0 0 0 0 rgba(19, 99, 132, 0); }
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1.home {
        font-size: 4rem;
    }
    
    .quick-link-wrapper {
        grid-template-columns: 1fr;
    }
    
    .content-wrap {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .values {
        grid-template-columns: 1fr;
    }
    
    .footer-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section {
        padding: 5rem 0;
    }
    
    h1.home {
        font-size: 3rem;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tab-content.active {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Mobile Navigation & Hamburger Styles */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: var(--transition-fast);
}

@media (max-width: 991px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-sec);
        border-left: 1px solid var(--border-color);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 6rem 3rem;
        gap: 2rem;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-link {
        font-size: 1.25rem;
        display: block;
        width: 100%;
    }
}

/* Light Theme Overrides & Switcher Styles */
body.light-theme .navbar.scrolled {
    background-color: rgba(248, 250, 252, 0.85);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

body.light-theme .logo-light {
    display: none !important;
}

body.light-theme .logo-dark {
    display: block !important;
}

body:not(.light-theme) .logo-light {
    display: block !important;
}

body:not(.light-theme) .logo-dark {
    display: none !important;
}

body.light-theme .theme-toggle-btn {
    background-color: rgba(15, 23, 42, 0.03) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
}

body.light-theme .theme-toggle-btn:hover {
    background-color: rgba(15, 23, 42, 0.06) !important;
}

body.light-theme .glow-blob {
    opacity: 0.06;
}

body.light-theme .quick-link-content:hover {
    border-color: var(--color-primary);
    background-color: rgba(15, 23, 42, 0.02);
}

body.light-theme .value-button img {
    filter: none;
}

body.light-theme .value-cta:hover .value-button img {
    filter: invert(1);
}

body.light-theme .img-hero-caption {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-theme .slider-captions {
    background-color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

body.light-theme .slider-captions p.caption {
    color: #0f172a;
}

body.light-theme .tab-btn.active {
    background-color: rgba(15, 23, 42, 0.04);
}

body.light-theme .hamburger span {
    background-color: #0f172a;
}

@media (max-width: 991px) {
    body.light-theme .nav-menu {
        background-color: #f8fafc;
        border-left: 1px solid rgba(15, 23, 42, 0.08);
    }
}

/* Infinite Horizontal Marquee Ticker */
.marquee-wrapper {
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: 2rem;
    position: relative;
    padding: 1rem 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-main) 0%, transparent 100%);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-main) 0%, transparent 100%);
}

.marquee-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    gap: 2rem;
    min-width: 100%;
    animation: scroll-left 25s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-100% - 2rem));
    }
}

.marquee-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background-color: var(--bg-sec);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2.5rem;
    min-width: 320px;
    transition: var(--transition-smooth);
}

.marquee-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.marquee-icon {
    font-size: 2.2rem;
    flex-shrink: 0;
}

.marquee-info h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-main);
}

.marquee-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
}

/* Light Theme overrides for marquee wrapper gradients */
body.light-theme .marquee-wrapper::before {
    background: linear-gradient(to right, #f8fafc 0%, transparent 100%);
}
body.light-theme .marquee-wrapper::after {
    background: linear-gradient(to left, #f8fafc 0%, transparent 100%);
}

/* ----------------------------------------------------------------
   Industrial X Home V3 Design System, Spacing, and Animations
   ---------------------------------------------------------------- */

/* New CSS Variables for Theme Syncing */
:root {
    --neutral--100: #ffffff;
    --neutral--200: #12161f; /* dark card background */
    --neutral--300: #1e293b; /* dark border */
    --neutral--400: #94a3b8;
    --neutral--500: #64748b;
    --neutral--600: #475569;
    --neutral--700: #334155;
    --neutral--800: #1e293b;
    
    --w-container-max: 1280px;
    --spacing-large: 120px;
    --spacing-medium: 80px;
}

.light-theme {
    --neutral--100: #0f172a;
    --neutral--200: #ffffff; /* light card bg */
    --neutral--300: #e2e8f0; /* light border */
    --neutral--400: #475569;
    --neutral--500: #64748b;
    --neutral--600: #94a3b8;
    --neutral--700: #cbd5e1;
    --neutral--800: #f1f5f9;
}

/* Enhanced Animation Classes (User Request: start with more animation) */

/* Glowing and pulsed animations */
@keyframes border-glow {
    0%, 100% { border-color: rgba(19, 99, 132, 0.2); box-shadow: 0 0 5px rgba(19, 99, 132, 0.05); }
    50% { border-color: rgba(19, 99, 132, 0.6); box-shadow: 0 0 20px rgba(19, 99, 132, 0.2); }
}

@keyframes text-shine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes grid-move {
    0% { background-position: center 0px; }
    100% { background-position: center 80px; }
}

/* We override bg-dark-grid to add grid background scrolling */
.bg-dark-grid::before {
    animation: grid-move 20s linear infinite;
}

/* Custom Scroll Reveals */
.reveal-left {
    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);
    will-change: transform, opacity;
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    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);
    will-change: transform, opacity;
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Grid Line reveal animation */
.reveal-line {
    width: 0%;
    height: 1px;
    background-color: var(--color-primary);
    transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-line.active {
    width: 100%;
}

/* Typography styles matching Industrial X display sizes */
.display-12 {
    font-size: clamp(3rem, 7vw, 6rem);
    line-height: 1.05;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.04em;
}

.display-11 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.display-10 {
    font-size: clamp(2rem, 4vw, 3.75rem);
    line-height: 1.15;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.03em;
}

.display-7 {
    font-size: clamp(1.35rem, 2.5vw, 1.875rem);
    line-height: 1.25;
    font-family: var(--font-display);
    font-weight: 600;
}

.display-6 {
    font-size: 1.15rem;
    font-family: var(--font-sub);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.display-5 {
    font-size: 1rem;
    font-family: var(--font-sub);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.medium { font-weight: 600; }
.text-neutral-100 { color: var(--neutral--100) !important; }
.text-neutral-300 { color: var(--neutral--400) !important; }
.text-neutral-400 { color: var(--neutral--500) !important; }
.text-neutral-600 { color: var(--neutral--600) !important; }
.text-neutral-800 { color: var(--neutral--100) !important; }
.text-no-wrap { white-space: nowrap; }

/* Subtitle and divider styling */
.subtitle-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-family: var(--font-sub);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.subtitle-divider-wrapper {
    display: flex;
    align-items: center;
    width: 60px;
    height: 1px;
}

.subtitle-divider {
    width: 100%;
    height: 1.5px;
    background-color: var(--color-accent);
}

.subtitle-divider.left {
    background-color: var(--color-accent);
}

/* SECTION 1: HERO SECTION V3 */
.hero-section---v3 {
    background-color: var(--bg-darker);
    padding: 16rem 0 10rem 0;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.hero-section-bg---v3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(var(--color-primary-rgb), 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.inner-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.inner-container._730px { max-width: 730px; }
.inner-container._620px { max-width: 620px; }
.inner-container._516px { max-width: 516px; }
.inner-container._592px { max-width: 592px; }
.inner-container._540px { max-width: 540px; }
.inner-container._388px { max-width: 388px; }

.center { text-align: center; margin-left: auto; margin-right: auto; }
.buttons-row {
    display: flex;
    gap: 1.25rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}
.buttons-row.center { justify-content: center; }

/* Secondary Button styling */
.secondary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    border-radius: 100px;
    font-family: var(--font-sub);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid var(--neutral--300);
    color: var(--neutral--100);
    transition: var(--transition-smooth);
}

.secondary-button:hover {
    border-color: var(--color-primary);
    background-color: rgba(var(--color-primary-rgb), 0.05);
    transform: translateY(-2px);
}

.secondary-button.white {
    border-color: var(--neutral--300);
    color: var(--neutral--100);
}

/* SECTION 2: LOGO STRIP SECTION V3 */
.logo-strip-section---v3 {
    padding: 0;
    margin-top: -3.5rem;
    position: relative;
    z-index: 2;
}

.logo-strip-wrapper---v3 {
    background-color: var(--neutral--200);
    border: 1px solid var(--neutral--300);
    border-radius: 24px;
    padding: 2.5rem 3.5rem;
    position: relative;
    box-shadow: var(--shadow-lg);
    animation: border-glow 6s infinite ease-in-out;
}

.logo-strip-bg---v3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.01) 0%, transparent 100%);
    pointer-events: none;
    border-radius: 24px;
}

.logo-strip---v3 {
    position: relative;
    z-index: 1;
}

.logo-strip-v3 {
    align-items: center;
    gap: 2rem;
}

.logo-strip-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.logo-strip-grid img {
    height: 32px;
    opacity: 0.5;
    transition: var(--transition-fast);
    filter: grayscale(1) invert(var(--logo-invert, 0));
}

body.light-theme .logo-strip-grid img {
    filter: grayscale(1);
    opacity: 0.6;
}

.logo-strip-grid img:hover {
    opacity: 0.95;
    filter: none;
    transform: scale(1.05);
}

/* SECTION 3: SERVICES SECTION V3 */
.service-card-v3 {
    border-left: 1px solid var(--neutral--300);
    padding: 2rem 3.5rem 2rem 2rem;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    background: transparent;
    height: 100%;
}

.service-card-v3:hover {
    background-color: rgba(var(--color-primary-rgb), 0.02);
    border-left-color: var(--color-primary);
    padding-left: 2.5rem;
}

.service-card-icon.v2 {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background-color: rgba(var(--color-primary-rgb), 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--neutral--300);
    transition: var(--transition-smooth);
}

.service-card-v3:hover .service-card-icon.v2 {
    background-color: var(--color-primary);
    transform: rotate(360deg);
    border-color: var(--color-primary);
}

.service-card-v3:hover .service-card-icon.v2 img {
    filter: brightness(0) invert(1);
}

.service-card-icon.v2 img {
    width: 28px;
    height: 28px;
    transition: var(--transition-smooth);
}

.link-wrapper.medium.no-hover {
    color: var(--color-primary);
    font-family: var(--font-sub);
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-right-icon {
    transition: var(--transition-fast);
}

.service-card-v3:hover .link-right-icon {
    transform: translateX(5px);
}

/* Slider Custom Navigation */
.slider-left-arrow---top-right,
.slider-right-arrow---top-right {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid var(--neutral--300);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: var(--neutral--200);
    color: var(--neutral--100);
    transition: var(--transition-smooth);
}

.slider-left-arrow---top-right:hover,
.slider-right-arrow---top-right:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}

/* SECTION 4: FUTURE OF SOURCING V3 */
.future-section-bg---v3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 80%, rgba(var(--color-accent-rgb), 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.future-section-grid---v3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 60px;
    grid-row-gap: 60px;
    align-items: center;
}

.image-container.future-right-image---v3,
.image-container.future-left-image---v3 {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--neutral--300);
    box-shadow: var(--shadow-lg);
}

.image-wrapper.layout-right-image---v3,
.image-wrapper.layout-left-image---v3 {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image.future-right-image---v3,
.image.future-left-image---v3 {
    width: 100%;
    display: block;
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.image-container:hover .image {
    transform: scale(1.04) rotate(0.5deg);
}

/* SECTION 5: STATS & QUALITY SECTION V3 */
.video-section-grid---v3 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-column-gap: 80px;
    align-items: center;
}

.lightbox-content-grid---stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--neutral--300);
    padding-top: 2.5rem;
}

.hero-stat---v1 {
    display: flex;
    flex-direction: column;
}

.stat-number---v1 {
    display: flex;
    align-items: baseline;
    color: var(--color-primary);
}

.stat-span---v1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 2px;
}

.video-image---v3 {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--neutral--300);
    box-shadow: var(--shadow-lg);
}

.video-image-wrapper---v3 {
    position: relative;
    width: 100%;
    padding-top: 66%; /* 3:2 Aspect Ratio */
}

.video-bg-image.v3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.video-image---v3:hover .video-bg-image.v3 {
    transform: scale(1.03);
}

.video-bg-overlay.left-v2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(7, 9, 14, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-video-icon.left-v2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--neutral--100);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: var(--transition-smooth);
}

.lightbox-video-icon.left-v2 img {
    width: 24px;
    height: 24px;
    margin-left: 4px; /* offset play icon slightly to center */
}

.lightbox-video-icon.left-v2:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(var(--color-primary-rgb), 0.5);
    background-color: var(--color-primary);
}

.lightbox-video-icon.left-v2:hover img {
    filter: brightness(0) invert(1);
}

/* SECTION 6: CTA BANNER SECTION V3 */
.cta-section.v3 {
    background-color: var(--bg-sec);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.cta-v3-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.form-wrapper---button-inside {
    width: 100%;
    max-width: 480px;
}

.form-wrapper---button-inside form {
    display: flex;
    position: relative;
}

.input.button-inside {
    width: 100%;
    padding: 1rem 12rem 1rem 1.5rem;
    border-radius: 100px;
    background-color: var(--neutral--200);
    border: 1px solid var(--neutral--300);
    color: var(--neutral--100);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.input.button-inside:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(var(--color-primary-rgb), 0.1);
}

.button-primary.small.inside-input {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    padding: 0 1.5rem;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    background-color: var(--color-primary);
    color: #ffffff;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.button-primary.small.inside-input:hover {
    background-color: var(--color-accent);
    transform: scale(1.02);
}

.social-media-grid {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--neutral--300);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neutral--400);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: var(--neutral--100);
    background-color: var(--neutral--300);
    border-color: var(--color-primary);
    transform: translateY(-2px) scale(1.05);
}

/* SECTION 7: PROCESS TIMELINE V3 */
.process-grid---v3 {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    grid-column-gap: 80px;
    align-items: flex-start;
}

.image-wrapper.process-section---v3 {
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--neutral--300);
    box-shadow: var(--shadow-lg);
}

.process-card---v3 {
    display: flex;
    padding: 2.5rem 0;
    border-bottom: 1px solid var(--neutral--300);
    gap: 2.5rem;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.process-card---v3:hover {
    transform: translateX(10px);
}

.process-card---v3.first {
    border-top: 1px solid var(--neutral--300);
}

.process-card-content---v3 {
    flex: 1;
}

.process-card-divider---v3 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--neutral--300);
    margin-top: 8px;
    transition: var(--transition-smooth);
    border: 2px solid var(--bg-main);
}

.process-card---v3:hover .process-card-divider---v3 {
    background-color: var(--color-primary);
    box-shadow: 0 0 12px var(--color-primary);
    transform: scale(1.3);
}

/* SECTION 8: CLIENTS TESTIMONIAL RADIUS V3 */
.client-card---v3---top-left {
    position: absolute;
    top: 10%;
    left: 5%;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
    animation: float 5s infinite ease-in-out;
}

.client-card---v3---top-right {
    position: absolute;
    top: 12%;
    right: 7%;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-accent);
    animation: float 6s infinite ease-in-out 1s;
}

.client-card---v3---bottom-left {
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--neutral--300);
    animation: float 4s infinite ease-in-out 2s;
}

.client-card---v3---bottom-right {
    position: absolute;
    bottom: 10%;
    right: 6%;
    width: 85px;
    height: 85px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--color-primary);
    animation: float 7s infinite ease-in-out 0.5s;
}

.client-card---v3---top-left img,
.client-card---v3---top-right img,
.client-card---v3---bottom-left img,
.client-card---v3---bottom-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* SECTION 9: NEWS & ARTICLES BLOG CARDS V3 */
.title-left---content-right {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid var(--neutral--300);
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.blog-grid---v3 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.blog-v3-card {
    background-color: var(--neutral--200);
    border: 1px solid var(--neutral--300);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: var(--transition-smooth);
    height: 100%;
}

.blog-v3-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-v3-card-top {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.blog-post-image-v3 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.blog-v3-card:hover .blog-post-image-v3 {
    transform: scale(1.05);
}

.blog-v3-card-bottom {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}

.featured-blog-card---details-wrapper {
    display: flex;
    align-items: center;
    font-family: var(--font-sub);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--neutral--400);
    border-top: 1px solid var(--neutral--300);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
    text-transform: uppercase;
}

.text-color-primary-1 {
    color: var(--color-primary);
}

.mg-right-12px {
    margin-right: 12px;
}

/* Responsive Overrides for new layouts */
@media (max-width: 991px) {
    .future-section-grid---v3,
    .video-section-grid---v3,
    .process-grid---v3,
    .blog-grid---v3 {
        grid-template-columns: 1fr;
        grid-row-gap: 40px;
    }
    .service-card-v3 {
        border-left: none;
        border-top: 1px solid var(--neutral--300);
        padding: 2.5rem 0;
    }
    .service-card-v3:hover {
        padding-left: 1rem;
    }
    .process-card---v3 {
        flex-direction: column;
        gap: 1rem;
    }
    .client-card---v3---top-left,
    .client-card---v3---top-right,
    .client-card---v3---bottom-left,
    .client-card---v3---bottom-right {
        display: none; /* Hide floating avatars on small screens for layout cleanliness */
    }
    .title-left---content-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

/* Specific Mobile Adaptations & Layout Optimizations */
.logo-strip-v3 {
    display: grid;
    grid-template-columns: 0.8fr 3.2fr;
    gap: 2rem;
    align-items: center;
}

.testimonial-card-v3 {
    background-color: var(--neutral--200);
    border: 1px solid var(--neutral--300);
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.services-grid-v3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
    border-top: 1px solid var(--neutral--300);
    border-bottom: 1px solid var(--neutral--300);
}

.services-grid-v3.no-top-border {
    border-top: none;
}

@media (max-width: 991px) {
    .services-grid-v3 {
        grid-template-columns: 1fr;
        border-bottom: none;
    }
    .services-grid-v3.no-top-border {
        border-top: none;
    }
    .service-card-v3 {
        border-top: 1px solid var(--neutral--300);
        border-bottom: none;
    }
    .services-grid-v3:not(.no-top-border) .service-card-v3:first-child {
        border-top: none;
    }
    
    /* Alternating orders in Future Grid */
    .future-section-grid---v3 {
        display: flex;
        flex-direction: column;
        gap: 3rem;
    }
    .future-grid-item-text-1 { order: 1; }
    .future-grid-item-img-1  { order: 2; }
    .future-grid-item-text-2 { order: 3; }
    .future-grid-item-img-2  { order: 4; }
    
    /* Footer responsiveness */
    .footer-links-wrapper {
        flex-direction: column;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .logo-strip-v3 {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .logo-strip-grid {
        justify-content: center;
    }
    .logo-strip-wrapper---v3 {
        padding: 1.5rem 1rem;
    }
    .hero-section---v3 {
        padding-top: 10rem;
        padding-bottom: 6rem;
    }
    .display-12 {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    .testimonial-card-v3 {
        padding: 2.25rem;
    }
    .blog-v3-card-bottom {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .testimonial-card-v3 {
        padding: 1.5rem;
    }
    .buttons-row {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.75rem;
    }
    .buttons-row .btn,
    .buttons-row .secondary-button {
        width: 100%;
        text-align: center;
        margin-right: 0 !important;
    }
    .form-wrapper---button-inside form {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }
    .input.button-inside {
        padding: 1rem 1.5rem !important;
        border-radius: 100px;
        width: 100%;
        text-align: center;
    }
    .button-primary.small.inside-input {
        position: static;
        width: 100%;
        padding: 1rem 1.5rem;
        height: auto;
        display: block;
        text-align: center;
    }
}
