/* ===================================
   PRECISION MATERIALS - LUXURY INDUSTRIAL WEBSITE
   Corporate Material Manufacturing
   =================================== */
@import url('icons.css');

/* === CSS RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Luxury Industrial */
    --color-graphite: #111111;
    --color-charcoal: #2c3038;
    --color-steel: #3d4450;
    --color-slate: #5a6272;
    --color-aluminum: #8b939f;
    --color-silver: #c4cad3;
    --color-pearl: #f5f5f7;
    --color-white: #ffffff;

    --color-main: #E80717;
    --color-main-hover: #c00613;
    --color-accent-gold: #cfb53b;
    --color-accent-platinum: #e5e4e2;
    --color-accent-steel: #455a64;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Space Grotesk', 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Layout */
    --container-max: 1400px;
    --container-wide: 1600px;
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-elegant: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Shadows */
    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-strong: 0 10px 40px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-white);
    color: var(--color-charcoal);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-graphite);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-slate);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}


a.btn.btn-large.btn-secondary {
    color: white;
}

img {
    width: 100%;
    height: auto;
}

option {
    color: var(--color-charcoal);
}

.product-actions a.btn.btn-large.btn-secondary {
    color: var(--color-graphite);
}

.product-actions a.btn.btn-large.btn-secondary:hover {
    color: var(--color-white);
}

/* === LAYOUT CONTAINERS === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
}

.btn-primary:hover {
    background: var(--color-main-hover);
    border-color: var(--color-main-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--color-charcoal);
    border-color: var(--color-aluminum);
    z-index: 1;
}

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-charcoal);
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--color-white);
    border-color: var(--color-charcoal);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary:hover::after {
    width: 100%;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1rem;
}

.btn-small {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

/* === TOP BAR STYLES === */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-pearl);
    color: var(--color-slate);
    padding: 0.75rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid var(--color-silver);
    z-index: 999;
}

.top-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.welcome-message {
    color: var(--color-slate);
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.top-bar-contact a {
    color: var(--color-charcoal);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
}

.top-bar-contact a:hover {
    color: var(--color-main);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-links-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-link {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-slate);
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.social-link:hover {
    background: var(--color-main);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* === SECTION STYLING === */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    margin-bottom: var(--spacing-md);
}

.section-title.centered {
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-slate);
    margin-bottom: var(--spacing-lg);
}

.section-subtitle.centered {
    text-align: center;
}

.section-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-main), var(--color-accent-gold));
    margin: var(--spacing-md) 0;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

/* === IMAGE PLACEHOLDERS === */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-pearl) 0%, var(--color-silver) 100%);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

.icon-placeholder {
    width: 100%;
    height: auto;
    background: var(--color-pearl);
    border-radius: 8px;
}

/* === HEADER === */
.header {
    position: fixed;
    top: 42px;
    left: 0;
    width: 100%;
    max-width: 100vw;
    height: var(--header-height);
    background: var(--color-white);
    z-index: 2000;
    transition: var(--transition-smooth);
    border-bottom: 1px solid var(--color-pearl);
    overflow: visible;
}

.header.scrolled {
    top: 0;
    box-shadow: var(--shadow-medium);
    background: var(--color-white);
}

.header-container {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    z-index: 10;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--color-graphite);
    display: block;
}

.logo-tagline {
    font-size: 0.6875rem;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-top: 2px;
}

.logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    transition: max-height 0.3s ease;
}

/* === NAVIGATION === */
.main-nav {
    display: flex;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.nav-link {
    color: var(--color-charcoal);
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.5rem 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    /* Space between text and arrow if needed */
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-main);
    transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-main);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* === DROPDOWN STYLES === */
.nav-item.dropdown {
    position: relative;
}

.dropdown-arrow {
    display: inline-block;
    font-size: 0.75rem;
    margin-left: 0.25rem;
    transition: transform var(--transition-fast);
}

.nav-item.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--color-white);
    min-width: 200px;
    box-shadow: var(--shadow-medium);
    border-radius: 4px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    z-index: 1005;
    list-style: none;
    border-top: 2px solid var(--color-main);
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--color-slate);
    font-size: 0.875rem;
    text-transform: none;
    /* Submenus often don't need uppercase */
    transition: var(--transition-fast);
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--color-pearl);
    color: var(--color-main);
    padding-left: 1.75rem;
    /* Slight slide effect */
}

.header-cta {
    z-index: 10;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 10;
}

.hamburger {
    width: 28px;
    height: 2px;
    background: var(--color-graphite);
    transition: var(--transition-smooth);
    position: relative;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 28px;
    height: 2px;
    background: var(--color-graphite);
    transition: var(--transition-smooth);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

/* === HERO SECTION === */
.hero {
    height: 100vh;
    min-height: 700px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-charcoal) 50%, var(--color-steel) 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(26, 29, 35, 0.8) 0%,
            rgba(30, 90, 150, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 var(--spacing-md);
    max-width: 1000px;
}

.hero-title {
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hero-title-line {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards;
}

.hero-title-line:nth-child(2) {
    animation-delay: 0.2s;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-silver);
    margin-bottom: var(--spacing-lg);
    opacity: 0;
    animation: fadeUp 1s 0.4s forwards;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s 0.6s forwards;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-silver);
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 1;
}

.scroll-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-silver), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    50% {
        opacity: 1;
        transform: translateY(10px);
    }
}

/* ============================================
   VIDEO HERO SECTION (Static Background)
   ============================================ */

.video-hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Video Background */
.video-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.video-hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Fallback for when video is not available */
.video-hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            var(--color-graphite) 0%,
            var(--color-charcoal) 30%,
            var(--color-steel) 60%,
            var(--color-slate) 100%);
    z-index: -1;
}

/* Multi-layer Gradient Overlay for Premium Look */
.video-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 30% 50%, rgba(232, 7, 23, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(207, 181, 59, 0.1) 0%, transparent 50%),
        linear-gradient(135deg,
            rgba(17, 17, 17, 0.85) 0%,
            rgba(44, 48, 56, 0.75) 50%,
            rgba(61, 68, 80, 0.65) 100%);
    z-index: 1;
}

/* Hero Content Container */
.video-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    text-align: center;
    padding: 0 var(--spacing-md);
}

.video-hero-text {
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: videoHeroFadeIn 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

/* Hero Title */
.video-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

/* Subtitle */
.video-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--color-silver);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

/* CTA Buttons Container */
.video-hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

.video-hero-cta .btn {
    min-width: 200px;
    padding: 1.25rem 2.75rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-smooth);
}

.video-hero-cta .btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.video-hero-cta .btn-primary {
    background: var(--color-main);
    border-color: var(--color-main);
}

.video-hero-cta .btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--color-white);
}

.video-hero-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--color-white);
}

/* Scroll Indicator */
.video-hero-scroll {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: videoHeroFadeIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s forwards;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-silver);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.scroll-indicator:hover {
    color: var(--color-white);
}

.scroll-text {
    font-size: 0.8125rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: rotate(45deg) translateY(8px);
        opacity: 1;
    }
}

@keyframes videoHeroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Video Hero */
@media (max-width: 1024px) {
    .video-hero-section {
        min-height: 600px;
    }

    .video-hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
    }

    .video-hero-subtitle {
        font-size: clamp(1rem, 2vw, 1.25rem);
    }

    .video-hero-cta .btn {
        min-width: 180px;
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .video-hero-section {
        min-height: 550px;
        height: 100svh;
        /* Use svh for better mobile support */
    }

    .video-hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .video-hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .video-hero-cta {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .video-hero-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 2rem;
    }

    .video-hero-scroll {
        bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .video-hero-title {
        font-size: 1.75rem;
    }

    .video-hero-subtitle {
        font-size: 0.9375rem;
    }

    .video-hero-cta .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* Performance optimization for video */
@media (prefers-reduced-motion: reduce) {

    .video-hero-text,
    .video-hero-scroll {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .scroll-arrow {
        animation: none;
    }
}

/* === ABOUT SECTION === */
.about {
    background: var(--color-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.about-text {
    margin-bottom: var(--spacing-md);
    font-size: 1.0625rem;
}

.about-stats {
    display: flex;
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.about-image-main {
    grid-column: 1 / -1;
    height: 400px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-medium);
}

.about-image-secondary {
    height: 250px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
}

/* === ADVANTAGES SECTION === */
.advantages {
    background: var(--color-graphite);
    color: var(--color-white);
}

.advantages .section-title {
    color: var(--color-white);
}

.advantages .section-subtitle {
    color: var(--color-aluminum);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.advantage-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    border-top: 3px solid transparent;
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-top-color: var(--color-main);
}

.advantage-icon {
    margin-bottom: var(--spacing-md);
}

.advantage-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-graphite);
}

.advantage-description {
    font-size: 0.9375rem;
    color: var(--color-slate);
    margin-bottom: var(--spacing-md);
}

.advantage-metric {
    display: flex;
    flex-direction: column;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-accent-platinum);
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    font-family: var(--font-heading);
}

.metric-label {
    font-size: 0.8125rem;
    color: var(--color-aluminum);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === PRODUCT CATEGORIES === */
.product-categories {
    background: var(--color-pearl);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.category-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.category-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-5px);
}

.category-image {
    position: relative;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 29, 35, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.category-card:hover .category-overlay {
    opacity: 1;
}

.category-cta {
    color: var(--color-white);
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 1rem 2rem;
    border: 2px solid var(--color-white);
}

.category-content {
    padding: var(--spacing-md);
    background: var(--color-white);
}

.category-title {
    font-size: 1.375rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-graphite);
}

.category-description {
    font-size: 0.9375rem;
    color: var(--color-slate);
}

/* === FEATURED PRODUCTS CAROUSEL === */
.featured-products {
    background: var(--color-graphite);
    color: var(--color-white);
}

.featured-products .section-title {
    color: var(--color-white);
}

.featured-products .section-subtitle {
    color: var(--color-aluminum);
}

.carousel-wrapper {
    position: relative;
    margin-top: var(--spacing-lg);
}

.products-carousel {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    gap: var(--spacing-md);
    transition: transform var(--transition-elegant);
}

.product-slide {
    min-width: 400px;
    background: var(--color-charcoal);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-medium);
}

.product-image {
    height: 300px;
    overflow: hidden;
}

.product-info {
    padding: var(--spacing-md);
}

.product-code {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-accent-platinum);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.product-name {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
}

.product-specs {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.product-specs li {
    font-size: 0.9375rem;
    color: var(--color-silver);
    margin-bottom: var(--spacing-xs);
    display: flex;
    gap: 0.5rem;
}

.product-specs li span {
    color: var(--color-aluminum);
    min-width: 120px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: -25px;
}

.carousel-next {
    right: -25px;
}

.arrow-left,
.arrow-right {
    width: 12px;
    height: 12px;
    border-left: 2px solid var(--color-white);
    border-bottom: 2px solid var(--color-white);
}

.arrow-left {
    transform: rotate(45deg);
}

.arrow-right {
    transform: rotate(-135deg);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-md);
}

.carousel-indicator {
    width: 30px;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.carousel-indicator.active {
    background: var(--color-white);
}

/* === PRODUCT SHOWCASE === */
.product-showcase {
    background: var(--color-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.product-card {
    background: var(--color-white);
    border: 1px solid var(--color-accent-platinum);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
    border-color: var(--color-main);
}

.product-card-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.product-card-content {
    padding: var(--spacing-md);
}

.product-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-main);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.product-card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-graphite);
}

.product-card-desc {
    font-size: 0.9375rem;
    color: var(--color-slate);
    margin-bottom: var(--spacing-md);
}

.product-parameters {
    display: flex;
    gap: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--color-pearl);
}

.param {
    font-size: 0.8125rem;
    color: var(--color-slate);
}

.param strong {
    color: var(--color-graphite);
}

/* === CUSTOM SOLUTIONS === */
.custom-solutions {
    background: var(--color-pearl);
}

.solutions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.solutions-text {
    font-size: 1.0625rem;
    margin-bottom: var(--spacing-md);
}

.solutions-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
}

.solutions-list li {
    font-size: 1rem;
    color: var(--color-slate);
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.solutions-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    background: var(--color-main);
    transform: rotate(45deg);
}

.solutions-visual {
    position: relative;
}

.solutions-image {
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.solutions-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.feature-badge {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
}

.badge-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-main);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
}

.badge-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* === APPLICATIONS === */
.applications {
    background: var(--color-white);
}

.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.application-card {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.application-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.application-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.application-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(26, 29, 35, 0.8), transparent);
}

.application-content {
    padding: var(--spacing-md);
    background: var(--color-white);
}

.application-title {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-graphite);
}

.application-desc {
    font-size: 0.9375rem;
    color: var(--color-slate);
}

/* === QUALITY SECTION === */
.quality {
    background: var(--color-graphite);
    color: var(--color-white);
}

.quality .section-title {
    color: var(--color-white);
}

.quality .section-subtitle {
    color: var(--color-aluminum);
}

.quality-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.quality-intro {
    max-width: 800px;
}

.quality-text {
    font-size: 1.0625rem;
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.quality-item {
    background: var(--color-white);
    padding: var(--spacing-sm);
    border-radius: 4px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.quality-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.quality-image {
    position: relative;
    height: 280px;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto var(--spacing-md);
    background: var(--color-pearl);
    box-shadow: var(--shadow-subtle);
}

.quality-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quality-image .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--spacing-md);
    transition: var(--transition-smooth);
}

.quality-item:hover .quality-image .image-placeholder img {
    transform: scale(1.05);
}

.quality-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 90, 150, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.quality-item:hover .quality-overlay {
    opacity: 1;
}

.zoom-icon {
    width: 40px;
    height: 40px;
    background: var(--color-white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231e5a96'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 24px;
    border-radius: 50%;
    box-shadow: var(--shadow-medium);
    transform: translateY(20px);
    transition: var(--transition-smooth);
}

.quality-item:hover .zoom-icon {
    transform: translateY(0);
}

/* === GLOBAL LIGHTBOX === */
.global-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.global-lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-modal {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img-wrapper {
    background: var(--color-white);
    padding: var(--spacing-sm);
    border-radius: 8px;
    box-shadow: var(--shadow-strong);
}

.lightbox-modal img {
    max-width: 100%;
    max-height: 80vh;
    display: block;
    object-fit: contain;
}

.lightbox-caption {
    color: var(--color-white);
    margin-top: var(--spacing-md);
    text-align: center;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

.lightbox-caption p {
    color: var(--color-silver);
}

.lightbox-close-btn {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.lightbox-close-btn::before,
.lightbox-close-btn::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--color-graphite);
}

.lightbox-close-btn::before {
    transform: rotate(45deg);
}

.lightbox-close-btn::after {
    transform: rotate(-45deg);
}

.lightbox-close-btn:hover {
    background: var(--color-main);
    transform: rotate(90deg);
}

.lightbox-close-btn:hover::before,
.lightbox-close-btn:hover::after {
    background: var(--color-white);
}

.quality-item-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--color-graphite);
}

.quality-item-desc {
    font-size: 0.9375rem;
    color: var(--color-slate);
}

.quality-certifications {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 4px;
}

.certifications-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    color: var(--color-graphite);
}

.certifications-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.cert-image {
    height: 100px;
    background: var(--color-pearl);
    border-radius: 4px;
    overflow: hidden;
}

.quality-process {
    height: 400px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.quality-process .process-image {
    width: 100%;
    height: 100%;
}

.quality-process .image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* === SUSTAINABILITY === */
.sustainability {
    background: var(--color-white);
}

.sustainability-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.sustainability-image {
    height: 500px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.sustainability-text {
    font-size: 1.0625rem;
    margin-bottom: var(--spacing-lg);
}

.sustainability-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.metric-box {
    background: var(--color-pearl);
    padding: var(--spacing-md);
    border-radius: 4px;
    text-align: center;
}

.metric-box .metric-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
}

.metric-box .metric-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--color-slate);
}

.sustainability-list {
    list-style: none;
}

.sustainability-list li {
    font-size: 1rem;
    color: var(--color-slate);
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    position: relative;
}

.sustainability-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-gold);
    font-weight: 700;
}

/* === GLOBAL REACH === */
.global-reach {
    background: var(--color-graphite);
    color: var(--color-white);
}

.global-reach .section-title {
    color: var(--color-white);
}

.global-reach .section-subtitle {
    color: var(--color-aluminum);
}

.global-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.global-stat {
    text-align: center;
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.global-stat .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent-gold);
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-xs);
}

.global-stat .stat-label {
    display: block;
    font-size: 0.9375rem;
    color: var(--color-silver);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.global-map {
    height: 400px;
    margin-bottom: var(--spacing-lg);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-strong);
}

.global-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    padding: var(--spacing-md);
    border-radius: 4px;
    border-left: 3px solid var(--color-main);
}

.feature-item h3 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
}

.feature-item p {
    color: var(--color-silver);
    font-size: 0.9375rem;
}

/* === TESTIMONIALS === */
.testimonials {
    background: var(--color-pearl);
}

/* Testimonials Carousel Wrapper */
.testimonials-carousel-wrapper {
    position: relative;
    margin-bottom: var(--spacing-xl);
    padding: 0 60px;
}

/* Carousel Container */
.testimonials-carousel {
    overflow: hidden;
    border-radius: 4px;
}

/* Carousel Track */
.testimonials-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Testimonial Card in Carousel */
.testimonial-card {
    flex: 0 0 100%;
    min-width: 100%;
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    border-left: 4px solid var(--color-main);
    box-sizing: border-box;
}

.testimonial-quote {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    font-style: italic;
    margin-bottom: var(--spacing-lg);
    position: relative;
    padding-left: var(--spacing-lg);
}

.testimonial-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 4rem;
    color: var(--color-main);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding-left: var(--spacing-lg);
}

.author-name {
    font-weight: 600;
    color: var(--color-graphite);
    font-size: 1rem;
}

.author-company {
    font-size: 0.9375rem;
    color: var(--color-aluminum);
}

/* Carousel Navigation Buttons */
.testimonials-carousel-wrapper .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: var(--color-white);
    border: 1px solid var(--color-accent-platinum);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-subtle);
}

.testimonials-carousel-wrapper .carousel-btn:hover {
    background: var(--color-main);
    border-color: var(--color-main);
}

.testimonials-carousel-wrapper .carousel-btn:hover .arrow-left,
.testimonials-carousel-wrapper .carousel-btn:hover .arrow-right {
    border-color: var(--color-white);
}

.testimonials-prev {
    left: 0;
}

.testimonials-next {
    right: 0;
}

/* Arrow Icons */
.testimonials-carousel-wrapper .arrow-left,
.testimonials-carousel-wrapper .arrow-right {
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--color-graphite);
    border-right: 2px solid var(--color-graphite);
    transition: var(--transition-fast);
}

.testimonials-carousel-wrapper .arrow-left {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.testimonials-carousel-wrapper .arrow-right {
    transform: rotate(45deg);
    margin-right: 4px;
}

/* Carousel Indicators */
.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--spacing-lg);
}

.testimonials-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-silver);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.testimonials-indicator:hover {
    background: var(--color-aluminum);
}

.testimonials-indicator.active {
    background: var(--color-main);
    transform: scale(1.2);
}

/* Responsive Carousel */
@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        padding: 0 40px;
    }

    .testimonials-carousel-wrapper .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .testimonial-card {
        padding: var(--spacing-lg);
    }

    .testimonial-quote {
        font-size: 1.0625rem;
        padding-left: var(--spacing-md);
    }

    .testimonial-quote::before {
        font-size: 3rem;
    }

    .testimonial-author {
        padding-left: var(--spacing-md);
    }
}

.partner-logos {
    text-align: center;
}

.partners-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-lg);
    color: var(--color-graphite);
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
}

.logo-item {
    height: 100%;
    background: var(--color-white);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.logo-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-medium);
}

/* === NEWS SECTION === */
.news {
    background: var(--color-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--spacing-lg);
}

.news-card {
    background: var(--color-white);
    border: 1px solid var(--color-accent-platinum);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.news-image {
    height: 240px;
    overflow: hidden;
}

.news-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-category {
    display: inline-block;
    font-size: 0.75rem;
    color: var(--color-accent-gold);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.news-date {
    font-size: 0.875rem;
    color: var(--color-aluminum);
    margin-bottom: var(--spacing-sm);
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-graphite);
}

.news-excerpt {
    font-size: 0.9375rem;
    color: var(--color-slate);
    margin-bottom: var(--spacing-md);
    flex: 1;
}

.news-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    color: var(--color-main);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.news-link:hover {
    color: var(--color-accent-gold);
    transform: translateX(5px);
}

/* === CONTACT SECTION === */
.contact {
    background: var(--color-graphite);
    color: var(--color-white);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: var(--spacing-xl);
}

.contact-info .section-title {
    color: var(--color-white);
}

.contact-intro {
    font-size: 1.0625rem;
    color: var(--color-silver);
    margin-bottom: var(--spacing-lg);
}

.contact-details {
    margin-bottom: var(--spacing-lg);
}

.contact-item {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--color-main);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon span[class^="icon-"] {
    width: 24px;
    height: 24px;
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-icon .icon-location {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E");
}

.contact-icon .icon-phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.contact-icon .icon-email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

.contact-text h4 {
    color: var(--color-white);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--color-silver);
    font-size: 0.9375rem;
}

.contact-map {
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-top: var(--spacing-lg);
}

.contact-form-wrapper {
    background: var(--color-charcoal);
    padding: var(--spacing-lg);
    border-radius: 4px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-title {
    font-size: 1.5rem;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group label {
    font-size: 0.9375rem;
    color: var(--color-silver);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    font-size: 1rem;
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-white);
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-main);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group label {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

/* === FOOTER === */
.footer {
    background: var(--color-graphite);
    color: var(--color-silver);
}

.footer-main {
    padding: var(--spacing-xl) 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: var(--spacing-lg);
}

.footer-brand {
    max-width: 350px;
}

.footer-logo .logo-text {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--color-aluminum);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.footer-certifications {
    display: flex;
    gap: var(--spacing-sm);
}

.cert-badge {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.footer-title {
    font-size: 1.125rem;
    color: var(--color-white);
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-links a {
    font-size: 0.9375rem;
    color: var(--color-aluminum);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-newsletter-text {
    font-size: 0.9375rem;
    color: var(--color-aluminum);
    margin-bottom: var(--spacing-md);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.newsletter-form input {
    padding: 0.75rem;
    font-size: 0.9375rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--color-white);
}

.newsletter-form input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-main);
}

.newsletter-form button {
    width: 100%;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--spacing-md) 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.copyright {
    font-size: 0.875rem;
    color: var(--color-aluminum);
}

.footer-legal {
    list-style: none;
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--color-aluminum);
    transition: var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-white);
}

/* === ANIMATIONS & SCROLL EFFECTS === */
[data-animate] {
    opacity: 0;
    transition: var(--transition-elegant);
}

[data-animate].animated {
    opacity: 1;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-up"].animated {
    transform: translateY(0);
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-down"].animated {
    transform: translateY(0);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate="fade-left"].animated {
    transform: translateX(0);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-right"].animated {
    transform: translateX(0);
}

[data-animate="zoom-in"] {
    transform: scale(0.9);
}

[data-animate="zoom-in"].animated {
    transform: scale(1);
}

/* === TOP BAR RESPONSIVE === */
@media (max-width: 768px) {
    .top-bar {
        padding: 0.5rem 0;
        position: fixed;
    }

    .header {
        top: 38px;
    }

    .top-bar-container {
        flex-direction: column;
        gap: 0.5rem;
    }

    .top-bar-left,
    .top-bar-right {
        width: 100%;
        justify-content: center;
    }

    .welcome-message {
        text-align: center;
    }

    .top-bar-contact {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .top-bar-contact a span:first-child {
        display: none;
    }
}

/* === RESPONSIVE DESIGN === */

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }

    .footer-grid .footer-col:nth-child(3) {
        grid-column: 1 / 2;
    }
}

@media (max-width: 1024px) {

    .about-grid,
    .solutions-grid,
    .sustainability-grid,
    .contact-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .about-images {
        order: -1;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .product-slide {
        min-width: 350px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
        --spacing-xl: 4rem;
        --spacing-lg: 3rem;
    }

    .logo img {
        max-height: 35px;
    }

    .header-cta .btn {
        display: none;
    }

    .hero-cta {
        flex-direction: column;
    }

    .about-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

    .advantages-grid,
    .categories-grid,
    .products-grid,
    .applications-grid {
        grid-template-columns: 1fr;
    }

    .product-slide {
        min-width: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .sustainability-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    .container,
    .container-wide {
        padding: 0 var(--spacing-sm);
    }

    section {
        padding: var(--spacing-lg) 0;
    }

    .hero {
        min-height: 600px;
    }

    .product-slide {
        min-width: 280px;
    }

    .global-stats {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}

/* === FACTORY TABS SECTION === */
.factory-tabs-section {
    margin-top: var(--spacing-xl);
    width: 100%;
}

.factory-tabs-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    overflow-x: auto;
    padding-bottom: var(--spacing-sm);
    flex-wrap: wrap;
    /* Allow wrapping on smaller screens */
}

/* Hide scrollbar for clean look */
.factory-tabs-nav::-webkit-scrollbar {
    height: 0px;
    background: transparent;
}

.factory-tab-item {
    background: none;
    border: none;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--color-slate);
    cursor: pointer;
    padding: 0.5rem 1rem;
    transition: var(--transition-smooth);
    position: relative;
    white-space: nowrap;
}

.factory-tab-item:hover {
    color: var(--color-graphite);
}

.factory-tab-item.active {
    color: var(--color-white);
    background-color: var(--color-main);
    /* Blue background for active tab */
    border-radius: 20px;
    /* Pill shape */
    font-weight: 500;
}

/* Content Wrapper */
.factory-tabs-content-wrapper {
    position: relative;
    width: 100%;
    min-height: 500px;
    /* Adjust based on content */
}

.factory-tab-content {
    position: absolute;
    /* Stack them on top of each other */
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
    display: flex;
    /* Flex layout similar to reference */
    gap: 0;
    /* Removing gap to have overlapping effect control manually or via grid */
}

.factory-tab-content.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    /* Change to relative when active to take up space */
}

/* Image Area */
.factory-image {
    width: 70%;
    /* Takes up most of the left side */
    height: 500px;
    position: relative;
    overflow: hidden;
    /* rounded corners if needed, reference looks sharp */
}

.factory-image .image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-pearl) 0%, var(--color-silver) 100%);
}

/* Info Card (Overlapping) */
.factory-info-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    width: 40%;
    /* Overlaps securely */
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: var(--shadow-strong);
    /* Strong shadow for lifting effect */
    z-index: 10;
    min-height: 400px;
    /* Ensure enough height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.factory-title {
    font-size: 1.75rem;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-md);
    font-weight: 700;
    line-height: 1.3;
}

.factory-details {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-group {
    margin-bottom: var(--spacing-xs);
}

.contact-role {
    font-weight: 600;
    color: var(--color-slate);
    font-size: 0.9375rem;
}

.contact-number {
    color: var(--color-slate);
    font-size: 0.9375rem;
}

.address {
    color: var(--color-slate);
    font-size: 0.9375rem;
    margin-top: var(--spacing-sm);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .factory-tab-content {
        flex-direction: column;
    }

    .factory-image {
        width: 100%;
        height: 300px;
    }

    .factory-info-card {
        width: 90%;
        position: relative;
        transform: translateY(-50px);
        /* Slight overlap upwards */
        margin: 0 auto;
        top: auto;
        right: auto;
        min-height: auto;
    }
}

/* === HEADER ACTIONS === */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 10;
}

/* Language Switcher */
.language-dropdown {
    position: relative;
    z-index: 1002;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--color-slate);
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    transition: var(--transition-fast);
}

.lang-flag {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.lang-flag img {
    width: 18px;
    height: auto;
    display: block;
    border-radius: 2px;
}

.lang-btn:hover,
.lang-btn[aria-expanded="true"] {
    color: var(--color-graphite);
}

.lang-btn .arrow {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform var(--transition-fast);
}

.lang-btn[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--color-white);
    min-width: 140px;
    border-radius: 4px;
    box-shadow: var(--shadow-medium);
    list-style: none;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-pearl);
}

.lang-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--color-slate);
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition-fast);
}

.lang-item:hover,
.lang-item.active {
    background: var(--color-pearl);
    color: var(--color-graphite);
}

.lang-item.active {
    color: var(--color-main);
    font-weight: 600;
}

/* Search Toggle */
.search-toggle {
    background: none;
    border: none;
    color: var(--color-slate);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.search-toggle:hover {
    color: var(--color-graphite);
    transform: scale(1.1);
}

/* Search Bar Container */
.search-bar-container {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--color-white);
    padding: 2.5rem 0;
    box-shadow: var(--shadow-medium);
    z-index: 999;
    transform: translateY(-150%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.search-bar-container.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--color-aluminum);
    padding: 0.75rem 0;
    font-size: 1.5rem;
    font-family: var(--font-heading);
    color: var(--color-graphite);
    outline: none;
    transition: var(--transition-fast);
}

.search-input:focus {
    border-bottom-color: var(--color-main);
}

.search-input::placeholder {
    color: var(--color-silver);
    font-weight: 300;
}

.search-submit-btn {
    background: var(--color-main);
    color: var(--color-white);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
    letter-spacing: 1px;
}

.search-submit-btn:hover {
    background: var(--color-main-hover);
}

.search-close-btn {
    background: none;
    border: none;
    color: var(--color-slate);
    cursor: pointer;
    padding: 0.5rem;
    margin-left: 1rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-close-btn:hover {
    color: var(--color-main);
    transform: rotate(90deg);
}

/* === HEADER RESPONSIVE - MEDIUM SCREENS === */
@media (max-width: 1160px) {
    .header-container {
        padding: 0 1rem;
    }

    .nav-list {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.875rem;
    }

    .header-cta .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }

    .lang-btn {
        font-size: 0.875rem;
    }
}

@media (max-width: 992px) {
    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background: var(--color-white);
        transform: translateX(-100%);
        transition: var(--transition-smooth);
        justify-content: flex-start;
        padding: var(--spacing-lg);
        z-index: 999;
        border-top: 1px solid var(--color-pearl);
        overflow-y: auto;
    }

    .main-nav.active {
        transform: translateX(0);
    }

    .nav-list {
        flex-direction: column;
        gap: var(--spacing-md);
        width: 100%;
    }

    .nav-link {
        font-size: 1.25rem;
    }

    /* Mobile Dropdown Overrides */
    .nav-item.dropdown {
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        border-left: 2px solid var(--color-silver);
        padding-left: 1rem;
        margin-top: 0.5rem;
        width: 100%;
        min-width: 0;
        background: transparent;
    }

    .dropdown-item {
        padding: 0.5rem 0;
        font-size: 1.1rem;
        color: var(--color-slate);
    }

    .dropdown-item:hover {
        background: transparent;
        color: var(--color-main);
        padding-left: 0.5rem;
    }

    .dropdown-arrow {
        transform: rotate(180deg);
    }

    /* Hide top bar on mobile */
    .top-bar {
        display: none;
    }

    /* Header positioning */
    .header {
        top: 0;
        width: 100%;
        overflow: visible;
    }

    .header-container {
        padding: 0 0.75rem;
        gap: 0.5rem;
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

    /* Logo - allow shrinking but keep visible */
    .logo {
        flex: 0 1 auto;
        min-width: 0;
        overflow: hidden;
    }

    .logo img {
        max-height: 36px;
        width: auto;
    }

    .logo-tagline {
        display: none;
    }

    .logo-text {
        font-size: 0.9rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Header actions - keep visible with search and language */
    .header-actions {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        flex-shrink: 0;
        margin-left: auto;
    }

    /* Hide the CTA button on mobile */
    .header-cta {
        display: none;
    }

    /* Language dropdown - compact on mobile */
    .language-dropdown {
        display: block;
    }

    .lang-btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }

    .lang-item {
        padding: 0.75rem 1rem;
    }

    /* Search toggle - keep visible */
    .search-toggle {
        display: flex;
        padding: 0.5rem;
    }

    /* Mobile menu toggle - hamburger */
    .mobile-menu-toggle {
        display: flex;
        flex-shrink: 0;
        align-items: center;
        justify-content: center;
        padding: 8px;
        margin-left: 0.25rem;
    }

    .hamburger {
        display: block;
    }
}

/* === FLOATING WIDGET === */
.floating-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.widget-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.widget-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    color: var(--color-graphite);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    position: relative;
    z-index: 2;
}

.widget-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-strong);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #22bf5b;
}

.email-btn {
    background: #EA4335;
    color: white;
}

.email-btn:hover {
    background: #d3382c;
}

.to-top-btn {
    background: var(--color-graphite);
    color: white;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.to-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top-btn:hover {
    background: var(--color-main);
}

/* Popups on Hover */
.widget-popup {
    position: absolute;
    right: 75px;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    background: var(--color-white);
    padding: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-medium);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
    /* Prevent interacting when hidden */
    white-space: nowrap;
}

.widget-item:hover .widget-popup {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
    pointer-events: auto;
}

/* Specific Popup Styles */
.qr-popup {
    text-align: center;
}

.qr-code-placeholder {
    width: 120px;
    height: 120px;
    background: var(--color-pearl);
    margin-bottom: 0.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-label {
    font-size: 0.75rem;
    color: var(--color-slate);
    font-weight: 600;
}

.email-address {
    font-size: 0.875rem;
    color: var(--color-graphite);
    font-weight: 500;
}

/* Mobile Adjustments for Widget */
@media (max-width: 768px) {
    .floating-widget {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }

    .widget-btn {
        width: 50px;
        height: 50px;
    }

    /* Adjust popup position/size on mobile if needed, or hide popups and just let click work */
    .widget-popup {
        display: none;
        /* Often better to just link on mobile */
    }
}

/* === SEARCH PAGE & 404 STYLES === */
.page-header {
    background: var(--color-pearl);
    padding: 180px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    color: var(--color-slate);
    font-size: 1.125rem;
}

.search-results-section {
    padding: var(--spacing-lg) 0;
    min-height: 50vh;
}

.results-layout {
    display: flex;
    gap: var(--spacing-xl);
}

.results-filters {
    width: 250px;
    flex-shrink: 0;
}

.filter-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--color-silver);
}

.filter-group {
    margin-bottom: var(--spacing-md);
}

.filter-subtitle {
    font-size: 0.9375rem;
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

.filter-checkbox {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-checkbox label {
    font-size: 0.875rem;
    color: var(--color-slate);
    cursor: pointer;
}

.results-content {
    flex: 1;
}

@media (max-width: 992px) {
    :root {
        --header-height: 70px;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-md: 1.25rem;
        --spacing-lg: 2.5rem;
        --spacing-xl: 4rem;
    }
}

@media (max-width: 576px) {
    :root {
        --spacing-md: 1rem;
        --spacing-lg: 2rem;
        --spacing-xl: 3rem;
        --header-height: 60px;
    }

    .search-bar-container {
        padding: 1.5rem 0;
    }

    .search-form {
        gap: 0.5rem;
    }

    .search-input {
        font-size: 1.125rem;
    }

    .search-submit-btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Additional header mobile fixes for small screens */
    .header-container {
        padding: 0 0.5rem;
    }

    .logo img {
        max-height: 30px;
    }

    .logo-text {
        font-size: 0.8rem;
    }

    .header-actions {
        gap: 0.25rem;
    }

    .lang-btn {
        padding: 0.25rem 0.375rem;
        font-size: 0.8rem;
    }

    .search-toggle {
        padding: 0.375rem;
    }

    .search-toggle svg {
        width: 18px;
        height: 18px;
    }

    .mobile-menu-toggle {
        padding: 6px;
    }

    .hamburger {
        width: 22px;
    }

    .hamburger::before,
    .hamburger::after {
        width: 22px;
    }
}

.results-count {
    margin-bottom: var(--spacing-md);
    color: var(--color-slate);
    font-weight: 500;
}

.result-item {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-bottom: 1px solid var(--color-pearl);
    transition: var(--transition-fast);
    margin-bottom: 1rem;
}

.result-item:hover {
    box-shadow: var(--shadow-subtle);
    transform: translateX(5px);
}

.result-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-main);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.result-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.result-title a:hover {
    color: var(--color-main);
}

.result-snippet {
    font-size: 0.9375rem;
    color: var(--color-slate);
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: var(--spacing-lg);
}

.page-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-silver);
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    font-weight: 500;
}

.page-btn:hover,
.page-btn.active {
    background: var(--color-main);
    color: white;
    border-color: var(--color-main);
}

.page-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
}

/* 404 Error Page */
.error-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 100px;
}

.error-content {
    text-align: center;
    max-width: 600px;
    padding: var(--spacing-xl) 0;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--color-main);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
    opacity: 0.1;
}

.error-title {
    font-size: 2.5rem;
    margin-top: -60px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.error-text {
    font-size: 1.125rem;
    color: var(--color-slate);
    margin-bottom: var(--spacing-lg);
}

@media (max-width: 768px) {
    .results-layout {
        flex-direction: column;
    }

    .results-filters {
        width: 100%;
        border-bottom: 1px solid var(--color-silver);
        padding-bottom: var(--spacing-md);
    }

    .page-header {
        padding-top: 140px;
    }
}

/* === VIDEO GALLERY STYLES === */
.video-gallery-section {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
    background: var(--color-white);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Video Card - Mobile Style */
a.video-card {
    display: block;
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-smooth);
    text-decoration: none;
    color: inherit;
}

a.video-card:hover {
    box-shadow: var(--shadow-strong);
    transform: translateY(-5px);
}

/* Mobile-style vertical video wrapper (9:16 aspect ratio) */
.video-wrapper {
    position: relative;
    padding-bottom: 177.78%;
    /* 9:16 Aspect Ratio (16/9 = 1.7778) */
    height: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.video-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

a.video-card:hover .video-cover {
    transform: scale(1.05);
}

.video-cover-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d3436 0%, #636e72 100%);
    color: var(--color-silver);
}

/* Play button overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.play-button {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-main);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.play-button svg {
    margin-left: 4px;
    /* Optical centering for play icon */
}

a.video-card:hover .play-button {
    transform: scale(1.1);
    background: var(--color-main);
    color: var(--color-white);
}

.video-content {
    padding: 1.25rem;
}

.video-category {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background: var(--color-pearl);
    color: var(--color-main);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.video-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    color: var(--color-graphite);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-desc {
    color: var(--color-slate);
    font-size: 0.875rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .play-button {
        width: 56px;
        height: 56px;
    }

    .play-button svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .video-content {
        padding: 1rem;
    }

    .video-title {
        font-size: 0.9375rem;
    }

    .video-desc {
        font-size: 0.8125rem;
    }

    .play-button {
        width: 48px;
        height: 48px;
    }

    .play-button svg {
        width: 24px;
        height: 24px;
    }
}


/* ===================================
   PRODUCTS ARCHIVE PAGE STYLES
   =================================== */

/* === PAGE HEADER === */
.page-header {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.page-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header-background .hero-image-placeholder,
.page-header-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.page-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-white);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.25rem;
    color: var(--color-silver);
    margin-bottom: 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-silver);
}

.breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-main);
}

/* === PRODUCTS ARCHIVE LAYOUT === */
.products-archive {
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
}

.archive-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

/* === SIDEBAR === */
.products-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-widget {
    background: var(--color-white);
    border-radius: 8px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-subtle);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-pearl);
}

/* Search Form */
.search-form {
    display: flex;
    /*flex-direction: column;*/
    gap: 0.75rem;
}

.search-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-silver);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(232, 7, 23, 0.1);
}

.search-btn {
    padding: 0.75rem;
    background: var(--color-main);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-btn:hover {
    background: var(--color-main-hover);
}

/* Filter Lists */
.category-filter,
.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    color: var(--color-charcoal);
}

.filter-option:hover {
    background: var(--color-pearl);
}

.filter-option input[type="checkbox"] {
    margin-right: 0.75rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--color-main);
}

.filter-option span:first-of-type {
    flex: 1;
}

.count {
    font-size: 0.85rem;
    color: var(--color-aluminum);
    font-weight: 500;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-charcoal) 100%);
    color: var(--color-white);
}

.cta-widget .widget-title {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.cta-widget p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-silver);
    margin-bottom: var(--spacing-sm);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* === MAIN CONTENT === */
.products-main-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

/* Toolbar */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    flex-wrap: wrap;
    gap: 1rem;
}

.toolbar-results {
    font-size: 0.95rem;
    color: var(--color-slate);
}

.toolbar-results strong {
    color: var(--color-graphite);
    font-weight: 600;
}

.toolbar-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sort-select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--color-silver);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    background: var(--color-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-main);
}

.view-toggle {
    display: flex;
    gap: 0.25rem;
    background: var(--color-pearl);
    padding: 0.25rem;
    border-radius: 4px;
}

.view-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.view-btn:hover {
    background: var(--color-white);
}

.view-btn.active {
    background: var(--color-white);
    box-shadow: var(--shadow-subtle);
}

.grid-icon,
.list-icon {
    width: 20px;
    height: 20px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.grid-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232c3038' stroke-width='2'%3E%3Crect x='3' y='3' width='7' height='7'/%3E%3Crect x='14' y='3' width='7' height='7'/%3E%3Crect x='14' y='14' width='7' height='7'/%3E%3Crect x='3' y='14' width='7' height='7'/%3E%3C/svg%3E");
}

.list-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%232c3038' stroke-width='2'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
}

/* === PRODUCTS GRID === */
.archive-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

/* Product Card */
.archive-product-card {
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.archive-product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.product-card-image {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.product-card-image .image-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.archive-product-card:hover .product-card-image .image-placeholder {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.375rem 0.75rem;
    background: var(--color-main);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.product-badge.new {
    background: var(--color-accent-gold);
    color: var(--color-graphite);
}

.product-card-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex: 1;
}

.product-category {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-main);
    letter-spacing: 0.5px;
}

.product-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-graphite);
    line-height: 1.3;
    margin: 0;
}

.product-code {
    font-size: 0.85rem;
    color: var(--color-aluminum);
    font-family: monospace;
}

.product-card-desc {
    font-size: 0.95rem;
    color: var(--color-slate);
    line-height: 1.6;
    flex: 1;
}

.product-specs-mini {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--color-pearl);
    border-bottom: 1px solid var(--color-pearl);
}

.spec-tag {
    padding: 0.25rem 0.625rem;
    background: var(--color-pearl);
    color: var(--color-charcoal);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 4px;
}

.product-card-footer {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.product-card-footer .btn {
    flex: 1;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-md) 0;
}

.pagination-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 1px solid var(--color-silver);
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-charcoal);
    cursor: pointer;
    transition: var(--transition-fast);
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: var(--color-pearl);
    border-color: var(--color-aluminum);
}

.pagination-btn.active {
    background: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn span {
    font-size: 1.5rem;
    line-height: 1;
}

.pagination-btn .icon-chevron-left,
.pagination-btn .icon-chevron-right {
    width: 1.5rem;
    height: 1.5rem;
}

/* === LIST VIEW === */
.archive-products-grid.list-view {
    grid-template-columns: 1fr;
}

.archive-products-grid.list-view .archive-product-card {
    flex-direction: row;
}

.archive-products-grid.list-view .product-card-image {
    width: 280px;
    height: auto;
    min-height: 200px;
}

.archive-products-grid.list-view .product-card-content {
    flex: 1;
}

.archive-products-grid.list-view .product-card-footer {
    flex-direction: row;
    gap: 1rem;
}

.archive-products-grid.list-view .product-card-footer .btn {
    flex: 0;
    white-space: nowrap;
}

/* === RESPONSIVE === */
@media (max-width: 1200px) {
    .archive-layout {
        grid-template-columns: 280px 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 992px) {
    .archive-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        order: 2;
    }

    .products-main-content {
        order: 1;
    }

    .sidebar-sticky {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-sm);
    }

    .archive-products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-header {
        height: 300px;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .products-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .toolbar-controls {
        justify-content: space-between;
    }

    .archive-products-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-sticky {
        grid-template-columns: 1fr;
    }

    /* List view adjustments for mobile */
    .archive-products-grid.list-view .archive-product-card {
        flex-direction: column;
    }

    .archive-products-grid.list-view .product-card-image {
        width: 100%;
        height: 220px;
    }

    .archive-products-grid.list-view .product-card-footer {
        flex-direction: column;
    }

    .archive-products-grid.list-view .product-card-footer .btn {
        flex: 1;
    }
}

@media (max-width: 480px) {
    .products-archive {
        padding: var(--spacing-md) 0;
    }

    .product-card-footer {
        flex-direction: column;
    }

    .view-toggle {
        display: none;
    }
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.archive-product-card {
    animation: fadeInUp 0.5s ease-out;
}

.archive-product-card:nth-child(1) {
    animation-delay: 0.05s;
}

.archive-product-card:nth-child(2) {
    animation-delay: 0.1s;
}

.archive-product-card:nth-child(3) {
    animation-delay: 0.15s;
}

.archive-product-card:nth-child(4) {
    animation-delay: 0.2s;
}

.archive-product-card:nth-child(5) {
    animation-delay: 0.25s;
}

.archive-product-card:nth-child(6) {
    animation-delay: 0.3s;
}

.archive-product-card:nth-child(7) {
    animation-delay: 0.35s;
}

.archive-product-card:nth-child(8) {
    animation-delay: 0.4s;
}

.archive-product-card:nth-child(9) {
    animation-delay: 0.45s;
}

.archive-product-card:nth-child(10) {
    animation-delay: 0.5s;
}

.archive-product-card:nth-child(11) {
    animation-delay: 0.55s;
}

.archive-product-card:nth-child(12) {
    animation-delay: 0.6s;
}


/* ===================================
   PRODUCT DETAIL PAGE STYLES
   =================================== */

/* === PAGE BANNER === */
.page-banner {
    position: relative;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: var(--header-height);
}

.page-banner-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-banner-background .hero-image-placeholder,
.page-banner-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.page-banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: var(--color-white);
}

.page-banner-content .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-silver);
    margin-bottom: 1rem;
}

.page-banner-content .breadcrumb a {
    color: var(--color-white);
    text-decoration: none;
    transition: var(--transition-fast);
}

.page-banner-content .breadcrumb a:hover {
    color: var(--color-main);
}

.page-banner-content .breadcrumb span:last-child {
    color: var(--color-silver);
}

.banner-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--color-white);
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.banner-subtitle {
    font-size: 1.125rem;
    color: var(--color-silver);
    margin: 0;
    font-weight: 400;
}

/* === PRODUCT DETAIL SECTION === */
.product-detail-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* === PRODUCT GALLERY === */
.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.gallery-main {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.main-image {
    position: relative;
    width: 100%;
    height: 600px;
    background: var(--color-pearl);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.main-image .image-placeholder {
    width: 100%;
    height: 100%;
}

.product-badge-large {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--color-main);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-medium);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.thumbnail {
    width: 100%;
    height: 120px;
    background: var(--color-pearl);
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
}

.thumbnail:hover {
    border-color: var(--color-aluminum);
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: var(--color-main);
}

.thumbnail .image-placeholder {
    width: 100%;
    height: 100%;
}

/* === PRODUCT INFO === */
.product-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.product-category-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 6px;
    width: fit-content;
}

.product-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--color-graphite);
    line-height: 1.2;
    margin: 0;
}

.product-code {
    font-size: 1rem;
    color: var(--color-slate);
    font-family: monospace;
}

.product-code strong {
    color: var(--color-charcoal);
    font-weight: 600;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stars {
    color: var(--color-accent-gold);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.rating-text {
    font-size: 0.95rem;
    color: var(--color-slate);
}

.product-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-charcoal);
}

.product-highlights {
    background: var(--color-pearl);
    padding: var(--spacing-md);
    border-radius: 8px;
    border-left: 4px solid var(--color-main);
}

.product-highlights h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-sm);
}

.product-highlights ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.product-highlights li {
    font-size: 0.95rem;
    color: var(--color-charcoal);
    line-height: 1.6;
}

/* === PRODUCT OPTIONS === */
.product-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    padding: var(--spacing-md) 0;
    border-top: 1px solid var(--color-silver);
    border-bottom: 1px solid var(--color-silver);
}

.option-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.option-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-graphite);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-select {
    padding: 0.75rem;
    border: 1px solid var(--color-silver);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-primary);
    background: var(--color-white);
    cursor: pointer;
    transition: var(--transition-fast);
}

.option-select:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(232, 7, 23, 0.1);
}

/* === PRODUCT ACTIONS === */
.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    flex: 1;
    min-width: 200px;
}

.btn-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 2px solid var(--color-silver);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-fast);
    font-size: 1.5rem;
}

.btn-icon:hover {
    border-color: var(--color-main);
    background: rgba(232, 7, 23, 0.05);
}

.btn-icon span {
    transition: var(--transition-fast);
}

.btn-icon:hover span {
    transform: scale(1.2);
}

/* === PRODUCT META === */
.product-meta {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: var(--spacing-md);
    background: var(--color-pearl);
    border-radius: 8px;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.95rem;
}

.meta-label {
    color: var(--color-slate);
    font-weight: 500;
}

.meta-value {
    color: var(--color-charcoal);
    font-weight: 600;
}

.meta-value.in-stock {
    color: #27ae60;
}

/* === PRODUCT TABS === */
.product-tabs-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
}

.tabs {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid var(--color-pearl);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-slate);
    cursor: pointer;
    transition: var(--transition-fast);
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--color-charcoal);
    background: var(--color-pearl);
}

.tab-btn.active {
    color: var(--color-main);
    border-bottom-color: var(--color-main);
    background: var(--color-white);
}

.tab-content {
    display: none;
    padding: var(--spacing-xl);
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content h2 {
    font-size: 2rem;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-md);
}

.tab-content h3 {
    font-size: 1.5rem;
    color: var(--color-charcoal);
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-sm);
}

/* === SPECS TABLE === */
.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--spacing-md) 0;
    background: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
}

.specs-table thead {
    background: var(--color-graphite);
    color: var(--color-white);
}

.specs-table th,
.specs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-pearl);
}

.specs-table th {
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.specs-table td {
    font-size: 0.95rem;
    color: var(--color-charcoal);
}

.specs-table tbody tr:hover {
    background: var(--color-pearl);
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

/* === APPLICATIONS GRID === */
.applications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
}

.application-card {
    background: var(--color-white);
    padding: var(--spacing-xs);
    border-radius: 8px;
    border: 1px solid var(--color-silver);
    transition: var(--transition-smooth);
}

.application-card:hover {
    border-color: var(--color-main);
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.application-card h3 {
    font-size: 1.25rem;
    color: var(--color-graphite);
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

.application-card p {
    font-size: 0.95rem;
    color: var(--color-slate);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
}

.application-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.application-card li {
    font-size: 0.9rem;
    color: var(--color-charcoal);
    padding-left: 1.5rem;
    position: relative;
}

.application-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-main);
    font-weight: 600;
}

/* === GUIDELINES SECTION === */
.guidelines-section {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: var(--color-pearl);
    border-radius: 8px;
}

.guidelines-section h3 {
    margin-top: 0;
}

.guidelines-section ol,
.guidelines-section ul {
    margin: var(--spacing-sm) 0;
    padding-left: 1.5rem;
}

.guidelines-section li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

/* === CERTIFICATIONS GRID === */
.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

.cert-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 8px;
    border: 2px solid var(--color-pearl);
    text-align: center;
    transition: var(--transition-smooth);
}

.cert-card:hover {
    border-color: var(--color-main);
    box-shadow: var(--shadow-medium);
}

.cert-card h3 {
    font-size: 1.25rem;
    color: var(--color-main);
    margin-top: 0;
    margin-bottom: var(--spacing-sm);
}

.cert-card p {
    font-size: 0.95rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* === DOCUMENTS SECTION === */
.documents-section {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md);
    background: var(--color-pearl);
    border-radius: 8px;
}

.documents-section h3 {
    margin-top: 0;
}

.document-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.document-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-white);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
}

.document-list span {
    font-size: 1rem;
    color: var(--color-charcoal);
    font-weight: 500;
}

/* === RELATED PRODUCTS === */
.related-products-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.related-products-section .section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.related-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.product-card-mini {
    background: var(--color-white);
    border: 1px solid var(--color-silver);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.product-card-mini:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--color-main);
}

.product-card-image-mini {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.product-card-image-mini .image-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.product-card-mini:hover .product-card-image-mini .image-placeholder {
    transform: scale(1.05);
}

.product-card-content-mini {
    padding: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-mini {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-main);
    letter-spacing: 0.5px;
}

.product-card-content-mini h3 {
    font-size: 1.125rem;
    color: var(--color-graphite);
    margin: 0;
    line-height: 1.3;
}

.code-mini {
    font-size: 0.85rem;
    color: var(--color-aluminum);
    font-family: monospace;
    margin-bottom: 0.5rem;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .product-gallery {
        position: static;
    }

    .main-image {
        height: 500px;
    }

    .tab-buttons {
        flex-wrap: nowrap;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 280px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .product-detail-section {
        padding: var(--spacing-lg) 0;
    }

    .main-image {
        height: 400px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .thumbnail {
        height: 80px;
    }

    .product-title {
        font-size: 1.75rem;
    }

    .product-options {
        grid-template-columns: 1fr;
    }

    .btn-large {
        min-width: 100%;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-icon {
        width: 100%;
        height: 50px;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-btn {
        border-bottom: 1px solid var(--color-pearl);
        border-right: none;
    }

    .tab-content {
        padding: var(--spacing-md);
    }

    .specs-table {
        font-size: 0.875rem;
    }

    .specs-table th,
    .specs-table td {
        padding: 0.75rem 0.5rem;
    }

    .applications-grid {
        grid-template-columns: 1fr;
    }

    .related-products-grid {
        grid-template-columns: 1fr;
    }

    .document-list li {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .document-list .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 250px;
    }

    .banner-title {
        font-size: 1.75rem;
    }

    .banner-subtitle {
        font-size: 0.9rem;
    }

    .main-image {
        height: 300px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(2, 1fr);
    }

    .tab-content h2 {
        font-size: 1.5rem;
    }

    .tab-content h3 {
        font-size: 1.25rem;
    }
}


/* === FILTER SECTION === */
.news-filter-section {
    padding: var(--spacing-md) 0;
    background: var(--color-white);
    border-bottom: 2px solid var(--color-pearl);
    position: sticky;
    top: var(--header-height);
    z-index: 10;
}

.filter-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: var(--color-pearl);
    color: var(--color-charcoal);
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.filter-btn:hover {
    background: var(--color-white);
    border-color: var(--color-main);
    color: var(--color-main);
}

.filter-btn.active {
    background: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
}

.search-box {
    flex: 0 0 300px;
}

.search-input {
    width: 100%;
    padding: 0.625rem 1rem;
    border: 1px solid var(--color-silver);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.search-input:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(232, 7, 23, 0.1);
}

/* === FEATURED ARTICLE === */
.featured-article-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    background: var(--color-pearl);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-large);
}

.featured-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.featured-image .image-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.featured-article:hover .featured-image .image-placeholder {
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--color-main);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.featured-content {
    padding: var(--spacing-xl);
}

.article-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.featured-title {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--color-graphite);
    line-height: 1.3;
    margin: 0 0 var(--spacing-sm);
}

.featured-excerpt {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-slate);
    margin-bottom: var(--spacing-md);
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm) 0;
    border-top: 1px solid var(--color-silver);
    border-bottom: 1px solid var(--color-silver);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-slate);
}

.meta-icon {
    font-size: 1rem;
}

/* === NEWS GRID === */
.news-grid-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.news-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.news-card.hidden {
    display: none;
}

.news-card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-5px);
}

.news-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-image .image-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

/* === 404 ERROR PAGE === */
.error-404-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
    text-align: center;
    margin-top: var(--header-height);
}

.error-404-content {
    max-width: 700px;
    padding: 0 var(--spacing-md);
}

.error-code {
    font-size: clamp(8rem, 15vw, 12rem);
    font-weight: 900;
    line-height: 1;
    margin: 0;
    background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-main) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.1;
    position: relative;
    user-select: none;
}

.error-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-graphite);
    margin: -2rem 0 1rem;
    position: relative;
    z-index: 1;
}

.error-description {
    font-size: 1.125rem;
    color: var(--color-slate);
    margin-bottom: var(--spacing-lg);
}

.error-search {
    margin: var(--spacing-lg) 0;
}

.error-search .search-form {
    display: flex;
    gap: 0;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: var(--shadow-medium);
    border-radius: 8px;
    overflow: hidden;
}

.error-search .search-input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.error-search .search-submit {
    background: var(--color-graphite);
    color: var(--color-white);
    border: none;
    padding: 0 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.error-search .search-submit:hover {
    background: var(--color-main);
}

.error-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-lg);
}

@media (max-width: 768px) {
    .error-code {
        font-size: 6rem;
    }

    .error-title {
        margin-top: 0;
    }
}

.news-date-badge {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: var(--color-white);
    color: var(--color-graphite);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 6px;
    box-shadow: var(--shadow-medium);
}

.news-content {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.news-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
    width: fit-content;
}

.news-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-graphite);
    line-height: 1.4;
    margin: 0;
}

.news-excerpt {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-slate);
    flex: 1;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-pearl);
    font-size: 0.875rem;
    color: var(--color-aluminum);
}

.read-time,
.author {
    font-weight: 500;
}

.news-link {
    color: var(--color-main);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.news-link:hover {
    text-decoration: underline;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-md) 0;
}

.pagination-btn {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 2px solid var(--color-silver);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
    cursor: pointer;
    transition: var(--transition-fast);
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
}

.pagination-btn.active {
    background: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
}

.pagination-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-btn .icon-chevron-left,
.pagination-btn .icon-chevron-right {
    width: 1.5rem;
    height: 1.5rem;
}

/* === NEWSLETTER SECTION === */
.newsletter-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-charcoal) 100%);
}

.newsletter-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.newsletter-content h2 {
    font-size: 2rem;
    color: var(--color-white);
    margin: 0 0 0.5rem;
}

.newsletter-content p {
    font-size: 1.125rem;
    color: var(--color-silver);
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    flex: 1;
    max-width: 500px;
}

.newsletter-form input {
    flex: 1;
    padding: 0.875rem 1.25rem;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--color-main);
}

.newsletter-form button {
    white-space: nowrap;
}

/* ===================================
   SINGLE ARTICLE PAGE STYLES
   =================================== */

.single-article {
    background: var(--color-white);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === ARTICLE HEADER === */
.article-header {
    padding: calc(var(--header-height) + 2rem) 0 var(--spacing-lg);
    background: var(--color-white);
}

.article-header .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-slate);
    margin-bottom: var(--spacing-sm);
}

.article-header .breadcrumb a {
    color: var(--color-charcoal);
    text-decoration: none;
    transition: var(--transition-fast);
}

.article-header .breadcrumb a:hover {
    color: var(--color-main);
}

.article-category-single {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-sm);
}

.article-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-graphite);
    line-height: 1.2;
    margin: var(--spacing-sm) 0;
}

.article-meta-single {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) 0;
}

.meta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.meta-item-single {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-slate);
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-pearl);
    color: var(--color-charcoal);
    border: none;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
}

.share-btn:hover {
    background: var(--color-main);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* === FEATURED IMAGE === */
.article-featured-image {
    width: 100%;
    height: 500px;
    margin-bottom: var(--spacing-xl);
    background: var(--color-pearl);
}

.article-featured-image .image-placeholder {
    width: 100%;
    height: 100%;
}

/* === ARTICLE HEADER META === */
.article-header-meta {
    padding: var(--spacing-md) 0;
    background: var(--color-white);
    border-bottom: 2px solid var(--color-pearl);
}

.article-meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.meta-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.article-category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.meta-item-inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--color-slate);
}

/* === ARTICLE BODY === */
.article-body {
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
}

.article-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

.article-intro {
    margin-bottom: var(--spacing-lg);
}

.lead-paragraph {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    font-weight: 500;
}

.article-body h2 {
    font-size: 1.875rem;
    color: var(--color-graphite);
    margin: var(--spacing-lg) 0 var(--spacing-sm);
    line-height: 1.3;
}

.article-body p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-md);
}

.article-quote {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md) var(--spacing-lg);
    border-left: 4px solid var(--color-main);
    background: var(--color-pearl);
    border-radius: 0 8px 8px 0;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.7;
    color: var(--color-charcoal);
}

.article-quote cite {
    display: block;
    margin-top: var(--spacing-sm);
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--color-slate);
}

.article-list {
    margin: var(--spacing-md) 0;
    padding-left: 1.5rem;
}

.article-list li {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
}

.info-box {
    margin: var(--spacing-lg) 0;
    padding: var(--spacing-md);
    background: var(--color-pearl);
    border-radius: 8px;
    border: 2px solid var(--color-silver);
}

.info-box h3 {
    font-size: 1.25rem;
    color: var(--color-graphite);
    margin: 0 0 var(--spacing-sm);
}

.info-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

.info-box li {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

/* === STATS GRID === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--spacing-md);
    margin: var(--spacing-lg) 0;
}

.stat-box {
    background: var(--color-pearl);
    padding: var(--spacing-md);
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--color-silver);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-main);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--color-slate);
    font-weight: 500;
}

/* === CTA BOX === */
.cta-box {
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--color-main) 0%, #c80615 100%);
    border-radius: 12px;
    text-align: center;
    color: var(--color-white);
}

.cta-box h3 {
    font-size: 1.75rem;
    color: var(--color-white);
    margin: 0 0 var(--spacing-sm);
}

.cta-box p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-md);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.cta-box .btn-secondary {
    background: var(--color-graphite);
    color: var(--color-white);
    border-color: var(--color-white);
}

.cta-box .btn-secondary:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

/* === ARTICLE TAGS === */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-md) 0;
    border-top: 2px solid var(--color-pearl);
    border-bottom: 2px solid var(--color-pearl);
}

.tag-label {
    font-weight: 700;
    color: var(--color-graphite);
}

.article-tag {
    padding: 0.5rem 1rem;
    background: var(--color-pearl);
    color: var(--color-charcoal);
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.article-tag:hover {
    background: var(--color-main);
    color: var(--color-white);
}

/* === AUTHOR BIO === */
.author-bio {
    display: flex;
    gap: var(--spacing-md);
    margin: var(--spacing-xl) 0;
    padding: var(--spacing-md);
    background: var(--color-pearl);
    border-radius: 12px;
}

.author-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--color-white);
}

.author-avatar .image-placeholder {
    width: 100%;
    height: 100%;
}

.author-info h3 {
    font-size: 1.25rem;
    color: var(--color-graphite);
    margin: 0 0 0.25rem;
}

.author-title {
    font-size: 0.95rem;
    color: var(--color-main);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.author-description {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-slate);
    margin: 0;
}

/* === RELATED ARTICLES === */
.related-articles {
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
}

.section-title-center {
    text-align: center;
    font-size: 2rem;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-lg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.related-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.related-card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-5px);
}

.related-image {
    height: 180px;
    overflow: hidden;
}

.related-image .image-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.related-card:hover .related-image .image-placeholder {
    transform: scale(1.1);
}

.related-content {
    padding: var(--spacing-sm);
}

.related-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.related-content h3 {
    font-size: 1.125rem;
    color: var(--color-graphite);
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.related-date {
    font-size: 0.875rem;
    color: var(--color-aluminum);
    margin-bottom: 0.5rem;
}

.related-link {
    color: var(--color-main);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.related-link:hover {
    text-decoration: underline;
}

/* === ARTICLE SIDEBAR === */
.article-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-widget {
    background: var(--color-white);
    border-radius: 12px;
    padding: var(--spacing-md);
    box-shadow: var(--shadow-subtle);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-graphite);
    margin: 0 0 var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 2px solid var(--color-pearl);
}

/* Table of Contents */
.toc-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-link {
    padding: 0.5rem 0.75rem;
    color: var(--color-charcoal);
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    line-height: 1.5;
}

.toc-link:hover {
    background: var(--color-pearl);
    border-left-color: var(--color-main);
    color: var(--color-main);
}

.toc-link.active {
    background: rgba(232, 7, 23, 0.1);
    border-left-color: var(--color-main);
    color: var(--color-main);
    font-weight: 600;
}

/* Share Buttons Sidebar */
.share-buttons-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.share-btn-sidebar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--color-pearl);
    color: var(--color-charcoal);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.share-btn-sidebar span:first-child {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
}

.share-btn-sidebar:hover {
    background: var(--color-main);
    color: var(--color-white);
    transform: translateX(5px);
}

/* Popular Articles */
.popular-articles {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.popular-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition-fast);
    cursor: pointer;
}

.popular-item:hover {
    background: var(--color-pearl);
}

.popular-image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-pearl);
}

.popular-image .image-placeholder {
    width: 100%;
    height: 100%;
}

.popular-content h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-graphite);
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.popular-date {
    font-size: 0.8rem;
    color: var(--color-aluminum);
}

/* Category List */
.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-list li {
    margin: 0;
}

.category-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 0.75rem;
    color: var(--color-charcoal);
    text-decoration: none;
    border-radius: 6px;
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.category-list a:hover {
    background: var(--color-pearl);
    color: var(--color-main);
}

.category-list span {
    font-size: 0.85rem;
    color: var(--color-aluminum);
    font-weight: 600;
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--color-pearl);
}

.newsletter-widget p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-slate);
    margin-bottom: var(--spacing-sm);
}

.sidebar-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sidebar-newsletter-form input {
    padding: 0.75rem;
    border: 1px solid var(--color-silver);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.sidebar-newsletter-form input:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(232, 7, 23, 0.1);
}

.btn-block {
    width: 100%;
    text-align: center;
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-charcoal) 100%);
    color: var(--color-white);
}

.cta-widget .widget-title {
    color: var(--color-white);
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.cta-widget p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-silver);
    margin-bottom: var(--spacing-sm);
}

.cta-widget .btn-secondary {
    background: var(--color-white);
    color: var(--color-charcoal);
    border-color: var(--color-white);
}

.cta-widget .btn-secondary:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .featured-article {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 400px;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 1200px) {
    .article-layout {
        grid-template-columns: 280px 1fr;
        gap: var(--spacing-md);
    }
}

@media (max-width: 992px) {
    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        order: 1;
    }

    .article-main-content {
        order: 2;
    }

    .sidebar-sticky {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--spacing-sm);
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .filter-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        flex: 1;
    }

    .featured-image {
        height: 300px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-box {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .newsletter-form {
        max-width: none;
        flex-direction: column;
    }

    .article-featured-image {
        height: 350px;
    }

    .article-body h2 {
        font-size: 1.5rem;
    }

    .article-body p {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-buttons {
        flex-direction: column;
    }

    .author-bio {
        flex-direction: column;
        text-align: center;
    }

    .author-avatar {
        margin: 0 auto;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-sticky {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 250px;
    }

    .featured-content {
        padding: var(--spacing-md);
    }

    .article-header {
        padding: calc(var(--header-height) + 1rem) 0 var(--spacing-md);
    }

    .article-title {
        font-size: 1.75rem;
    }

    .article-featured-image {
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        width: 100%;
        justify-content: center;
    }
}


/* === COMPANY OVERVIEW === */
.company-overview {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.overview-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.overview-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    width: fit-content;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-graphite);
    line-height: 1.2;
    margin: 0;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-charcoal);
    font-weight: 500;
}

.overview-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-slate);
}

.overview-image {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.overview-image .image-placeholder {
    width: 100%;
    height: 100%;
}

/* === MISSION & VISION === */
.mission-vision {
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.mission-card,
.vision-card,
.values-card {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
    text-align: center;
    transition: var(--transition-smooth);
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.card-icon {
    margin: 0 auto;
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.mission-card h3,
.vision-card h3,
.values-card h3 {
    font-size: 1.5rem;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-sm);
}

.mission-card p,
.vision-card p,
.values-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-slate);
}

/* === COMPANY STATS === */
.company-stats {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-charcoal) 100%);
    color: var(--color-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.stat-item {
    text-align: center;
    padding: var(--spacing-md);
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-accent-gold);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--color-silver);
    font-weight: 500;
}

/* === TIMELINE === */
.company-timeline {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.section-header-center {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header-center .section-label {
    margin: 0 auto var(--spacing-sm);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-slate);
    margin-top: var(--spacing-sm);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding: var(--spacing-md) 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--color-main);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--color-main);
    border: 4px solid var(--color-white);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--color-pearl);
}

.timeline-content {
    width: calc(50% - 40px);
    padding: var(--spacing-md);
    background: var(--color-pearl);
    border-radius: 8px;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    transform: scale(1.02);
}

.timeline-year {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--color-main);
    color: var(--color-white);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    font-size: 1.25rem;
    color: var(--color-graphite);
    margin: 0.5rem 0;
}

.timeline-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-slate);
    margin: 0;
}

/* === LEADERSHIP TEAM === */
.leadership-team {
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.team-member {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition-smooth);
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.member-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.member-image .image-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.team-member:hover .member-image .image-placeholder {
    transform: scale(1.05);
}

.member-info {
    padding: var(--spacing-md);
}

.member-info h3 {
    font-size: 1.5rem;
    color: var(--color-graphite);
    margin: 0 0 0.25rem;
}

.member-role {
    font-size: 1rem;
    color: var(--color-main);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.member-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-slate);
}

/* === WHY CHOOSE US === */
.why-choose-us {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.reason-card {
    padding: var(--spacing-lg);
    background: var(--color-pearl);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.reason-card:hover {
    background: var(--color-white);
    border-color: var(--color-main);
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.reason-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.reason-card h3 {
    font-size: 1.375rem;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-sm);
}

.reason-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-slate);
}

/* === CTA SECTION === */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-main) 0%, #c80615 100%);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-white);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.cta-buttons .btn-secondary {
    background: var(--color-white);
    color: var(--color-main);
    border-color: var(--color-white);
}

.cta-buttons .btn-secondary:hover {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .overview-layout {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .overview-image {
        height: 400px;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: row;
    }

    .timeline-marker {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .company-overview,
    .mission-vision,
    .company-stats,
    .company-timeline,
    .leadership-team,
    .why-choose-us,
    .cta-section {
        padding: var(--spacing-lg) 0;
    }

    .overview-image {
        height: 300px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .member-image {
        height: 250px;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-buttons .btn-large {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 250px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .timeline-content {
        padding: var(--spacing-sm);
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}


/* === CONTACT INFO SECTION === */
.contact-info-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.info-card {
    background: var(--color-pearl);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.info-card:hover {
    background: var(--color-white);
    border-color: var(--color-main);
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.info-icon {
    font-size: 3rem;
    margin: var(--spacing-sm) auto;
}

.info-card h3 {
    font-size: 1.375rem;
    color: var(--color-graphite);
    margin-bottom: var(--spacing-sm);
}

.info-card p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-slate);
    margin: 0;
}

/* === CONTACT MAIN SECTION === */
.contact-main-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
}

.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-xl);
    align-items: start;
}

/* Form Wrapper */
.contact-form-wrapper {
    background: var(--color-white);
    padding: var(--spacing-xl);
    border-radius: 12px;
    box-shadow: var(--shadow-medium);
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-label {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-graphite);
    line-height: 1.2;
    margin: 0 0 var(--spacing-sm);
}

.section-description {
    font-size: 1rem;
    color: var(--color-slate);
    line-height: 1.6;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 1px solid var(--color-silver);
    border-radius: 6px;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: var(--transition-fast);
    background: var(--color-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-main);
    box-shadow: 0 0 0 3px rgba(232, 7, 23, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--color-main);
}

.checkbox-label span {
    font-size: 0.95rem;
    color: var(--color-slate);
    line-height: 1.5;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    font-size: 0.95rem;
    text-align: center;
    margin-top: var(--spacing-sm);
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact Sidebar */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.sidebar-card {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 12px;
    box-shadow: var(--shadow-subtle);
}

.sidebar-card h3 {
    font-size: 1.25rem;
    color: var(--color-graphite);
    margin: 0 0 var(--spacing-sm);
}

.sidebar-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-slate);
    margin: 0 0 var(--spacing-sm);
}

.sidebar-link {
    display: inline-block;
    color: var(--color-main);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-fast);
}

.sidebar-link:hover {
    color: var(--color-main-hover);
    text-decoration: underline;
}

.social-card {
    background: linear-gradient(135deg, var(--color-graphite) 0%, var(--color-charcoal) 100%);
}

.social-card h3 {
    color: var(--color-white);
}

.social-links {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
}

.social-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    border-radius: 50%;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.125rem;
    transition: var(--transition-fast);
}

.social-btn:hover {
    background: var(--color-main);
    transform: translateY(-3px);
}

/* === MAP SECTION === */
.map-section {
    padding: 0;
    background: var(--color-pearl);
}

.map-container {
    width: 100%;
    height: 500px;
    position: relative;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--color-aluminum);
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
}

.map-info {
    background: var(--color-white);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    max-width: 400px;
    box-shadow: var(--shadow-large);
}

.map-info h3 {
    font-size: 1.5rem;
    color: var(--color-graphite);
    margin: 0 0 var(--spacing-sm);
}

.map-info p {
    font-size: 1rem;
    color: var(--color-slate);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

/* === FAQ SECTION === */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.section-header-center {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header-center .section-label {
    margin: 0 auto var(--spacing-sm);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-silver);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--color-main);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    background: var(--color-white);
    border: none;
    text-align: left;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-graphite);
    transition: var(--transition-fast);
}

.faq-question:hover {
    background: var(--color-pearl);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--color-main);
    font-weight: 400;
    transition: var(--transition-fast);
    min-width: 30px;
    text-align: center;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md);
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-slate);
    margin: 0;
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        grid-row: 1;
    }

    .contact-form-wrapper {
        grid-row: 2;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .contact-info-section,
    .contact-main-section,
    .faq-section {
        padding: var(--spacing-lg) 0;
    }

    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: var(--spacing-md);
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }

    .map-info {
        max-width: 90%;
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 250px;
    }

    .contact-info-grid {
        gap: var(--spacing-sm);
    }

    .info-card {
        padding: var(--spacing-md);
    }

    .contact-form-wrapper {
        padding: var(--spacing-sm);
    }

    .map-container {
        height: 300px;
    }

    .faq-question {
        font-size: 1rem;
        padding: var(--spacing-sm);
    }

    .faq-answer p {
        font-size: 0.95rem;
    }
}


/* === GALLERY FILTER SECTION === */
.gallery-filter-section {
    padding: var(--spacing-md) 0;
    background: var(--color-white);
    border-bottom: 2px solid var(--color-pearl);
    position: sticky;
    top: var(--header-height);
    z-index: 10;
}

.filter-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.filter-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.625rem 1.25rem;
    background: var(--color-pearl);
    color: var(--color-charcoal);
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: var(--font-primary);
}

.filter-btn:hover {
    background: var(--color-white);
    border-color: var(--color-main);
    color: var(--color-main);
}

.filter-btn.active {
    background: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
}

.gallery-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.results-count {
    font-size: 0.95rem;
    color: var(--color-slate);
}

.results-count strong {
    color: var(--color-graphite);
    font-weight: 700;
}

/* === GALLERY SECTION === */
.gallery-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-pearl);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

/* === GALLERY ITEM === */
.gallery-item {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    opacity: 1;
    transform: scale(1);
}

.gallery-item.hidden {
    display: none;
}

.gallery-item:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-5px);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-image .image-placeholder {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-image .image-placeholder {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-btn {
    width: 60px;
    height: 60px;
    background: var(--color-white);
    color: var(--color-graphite);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.zoom-btn .icon-search {
    width: 1.5rem;
    height: 1.5rem;
}

.zoom-btn:hover {
    background: var(--color-main);
    color: var(--color-white);
    transform: scale(1.1);
}

.zoom-btn:hover .icon-search {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
}

.gallery-caption {
    padding: var(--spacing-sm);
}

.gallery-caption h3 {
    font-size: 1.125rem;
    color: var(--color-graphite);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}

.gallery-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* === PAGINATION === */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: var(--spacing-md) 0;
}

.pagination-btn {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 2px solid var(--color-silver);
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-charcoal);
    cursor: pointer;
    transition: var(--transition-fast);
}

.pagination-btn:hover:not(:disabled) {
    background: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
}

.pagination-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pagination-btn span {
    font-size: 1.75rem;
    line-height: 1;
}

.pagination-btn .icon-chevron-left,
.pagination-btn .icon-chevron-right {
    width: 1.5rem;
    height: 1.5rem;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-number {
    min-width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border: 2px solid var(--color-silver);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-charcoal);
    cursor: pointer;
    transition: var(--transition-fast);
}

.page-number:hover {
    background: var(--color-pearl);
    border-color: var(--color-aluminum);
}

.page-number.active {
    background: var(--color-main);
    color: var(--color-white);
    border-color: var(--color-main);
}

/* === LIGHTBOX === */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.lightbox-content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 45px;
    height: 45px;
    background: var(--color-white);
    color: var(--color-graphite);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 3;
}

.lightbox-close .icon-close {
    width: 1.5rem;
    height: 1.5rem;
}

.lightbox-close:hover {
    background: var(--color-main);
    color: var(--color-white);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-graphite);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
    z-index: 3;
}

.lightbox-nav .icon-chevron-left-white,
.lightbox-nav .icon-chevron-right-white {
    width: 2rem;
    height: 2rem;
}

.lightbox-nav:hover {
    background: var(--color-main);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-image-container {
    width: 100%;
    max-height: calc(90vh - 150px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px 12px 0 0;
    overflow: hidden;
}

.lightbox-image {
    width: 100%;
    height: 100%;
    /* Removed min-height to prevent overflow on small screens */
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    width: auto;
    height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.lightbox-info {
    background: var(--color-white);
    padding: var(--spacing-md);
    border-radius: 0 0 12px 12px;
}

.lightbox-info h3 {
    font-size: 1.5rem;
    color: var(--color-graphite);
    margin: 0 0 0.5rem;
}

.lightbox-info p {
    font-size: 1rem;
    color: var(--color-slate);
    line-height: 1.6;
    margin: 0 0 0.75rem;
}

.lightbox-counter {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: var(--color-pearl);
    color: var(--color-charcoal);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 4px;
}

/* === LOADING ANIMATION === */
.gallery-item.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* === FILTER ANIMATION === */
.gallery-item.fade-out {
    animation: fadeOut 0.3s ease;
}

.gallery-item.fade-in {
    animation: fadeInItem 0.5s ease;
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

@keyframes fadeInItem {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === RESPONSIVE === */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 768px) {
    .page-banner {
        height: 300px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1rem;
    }

    .filter-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-buttons {
        justify-content: center;
    }

    .gallery-info {
        justify-content: center;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: var(--spacing-sm);
    }

    .gallery-image {
        height: 220px;
    }

    .lightbox-content {
        width: 95%;
    }

    .lightbox-nav {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .lightbox-prev {
        left: 5px;
    }

    .lightbox-next {
        right: 5px;
    }

    .lightbox-image {
        min-height: 300px;
    }

    .pagination-numbers {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .page-banner {
        height: 250px;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-image {
        height: 250px;
    }

    .lightbox-content {
        width: 100%;
        max-height: 100vh;
    }

    .lightbox-image-container {
        max-height: calc(100vh - 180px);
        border-radius: 0;
    }

    .lightbox-info {
        border-radius: 0;
    }

    .lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .pagination-btn,
    .page-number {
        min-width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }
}

/* === KEYBOARD NAVIGATION FOCUS STYLES === */
.filter-btn:focus,
.pagination-btn:focus,
.page-number:focus,
.zoom-btn:focus,
.lightbox-close:focus,
.lightbox-nav:focus {
    outline: 3px solid var(--color-main);
    outline-offset: 2px;
}

/* === SINGLE VIDEO PAGE === */
.single-video-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.single-video-content {
    max-width: 1000px;
    margin: 0 auto;
}

.single-video-player {
    margin-bottom: var(--spacing-lg);
    background: var(--color-black, #000);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.single-video-player .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%;
}

.single-video-player .video-wrapper iframe,
.single-video-player .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.single-video-details {
    max-width: 900px;
    margin: 0 auto;
}

.single-video-details .video-categories {
    margin-bottom: var(--spacing-sm);
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.single-video-details .video-category-tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: rgba(232, 7, 23, 0.1);
    color: var(--color-main);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.single-video-details .video-category-tag:hover {
    background: var(--color-main);
    color: var(--color-white);
}

.single-video-details .entry-title {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--color-graphite);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.single-video-details .entry-meta {
    margin-bottom: var(--spacing-md);
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--color-silver);
    color: var(--color-slate);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.single-video-details .posted-on {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.single-video-details .video-short-description {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-charcoal);
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.single-video-details .entry-content p {
    margin-bottom: 1.5rem;
}

/* Post Navigation */
.post-navigation-wrapper {
    max-width: 1000px;
    margin: var(--spacing-xl) auto 0;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--color-silver);
}

.post-navigation-wrapper .nav-links {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.post-navigation-wrapper .nav-previous,
.post-navigation-wrapper .nav-next {
    width: 50%;
}

.post-navigation-wrapper .nav-next {
    text-align: right;
}

.post-navigation-wrapper a {
    display: block;
    padding: var(--spacing-md);
    background: var(--color-pearl);
    border-radius: 8px;
    transition: var(--transition-smooth);
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.post-navigation-wrapper a:hover {
    background: var(--color-white);
    box-shadow: var(--shadow-medium);
    transform: translateY(-3px);
}

.post-navigation-wrapper .nav-subtitle {
    display: block;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--color-slate);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    font-weight: 600;
}

.post-navigation-wrapper .nav-title {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-graphite);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .single-video-player .video-wrapper {
        padding-bottom: 56.25%;
    }

    .post-navigation-wrapper .nav-links {
        flex-direction: column;
    }

    .post-navigation-wrapper .nav-previous,
    .post-navigation-wrapper .nav-next {
        width: 100%;
        text-align: left;
    }
}

/* === PRODUCT SHOWCASE === */
.product-showcase {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.product-card {
    background: var(--color-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    transition: var(--transition-smooth);
    border: 1px solid var(--color-pearl);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
    border-color: var(--color-silver);
}

.product-card-image {
    padding: 12px;
    /* Creates space for the inner border effect */
    border-bottom: 1px solid var(--color-pearl);
}

.product-card-image .image-placeholder {
    height: 260px;
    overflow: hidden;
    border-radius: 8px;
    /* border: 1px solid var(--color-silver); */
    /* Nice border */
    position: relative;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}



.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.4, 1);
    /* Nice hover animation */
    display: block;
}

.product-card:hover .product-card-image img {
    transform: scale(1.12);
    /* Zoom effect */
}

.product-card-content {
    padding: var(--spacing-md);
    padding-top: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-main);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.product-card-title {
    font-size: 1.25rem;
    margin: 0 0 0.5rem;
    color: var(--color-graphite);
    line-height: 1.3;
}

.product-card-desc {
    font-size: 0.95rem;
    color: var(--color-slate);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.product-parameters {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--color-charcoal);
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-pearl);
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .product-card-image .image-placeholder {
        height: 220px;
    }
}