/* -------------------------------------------------------------
 * AG FASTENERS - INDUSTRIAL DESIGN SYSTEM (LIGHT THEME)
 * High-Performance Precision Screws & Fastening Systems
 * Palette: Electric Royal Blue, Aero Cyan Glow, Titanium Gunmetal & Chrome Steel
 * Matches Official 3D Emblem (images/logo/logo.png)
 * ----------------------------------------------------------- */

:root {
    /* Backgrounds: Pristine Industrial Light Mode */
    --bg-page: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-muted: #f1f5f9;
    --bg-subtle: #f8fafc;
    
    /* Borders */
    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-blue: #93c5fd;
    --border-red: #7dd3fc;

    /* Primary Accent: Electric Royal Blue (The "A" & Thread Geometry from Logo) */
    --accent-blue: #0062ff;
    --accent-blue-hover: #004ecc;
    --accent-blue-dark: #0038a8;
    --accent-blue-light: #eff6ff;
    --accent-blue-border: #93c5fd;

    /* Secondary Accent: High-Tech Aero Cyan Glow (The Dynamic Swoosh Arc from Logo) */
    --accent-cyan: #0284c7;
    --accent-cyan-hover: #0369a1;
    --accent-cyan-bright: #00c2ff;
    --accent-cyan-light: #f0f9ff;
    --accent-cyan-border: #7dd3fc;
    --accent-cyan-glow: rgba(0, 194, 255, 0.45);

    /* Industrial Titanium Gunmetal (The "G" & Machined Tooling from Logo) */
    --accent-gunmetal: #1e293b;
    --accent-gunmetal-dark: #0f172a;
    --accent-gunmetal-light: #334155;
    --accent-steel: #64748b;
    --accent-chrome: #cbd5e1;

    /* Brand Electric Royal & Cyan mappings */
    --accent-red: #0062ff;
    --accent-red-hover: #004ecc;
    --accent-red-bright: #00c2ff;
    --accent-red-light: #f0f9ff;
    --accent-red-border: #7dd3fc;

    /* Supplementary */
    --accent-green: #16a34a;
    --accent-green-light: #f0fdf4;
    
    /* Text Hierarchy */
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --text-muted: #475569;
    --text-light: #475569;

    --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --shadow-subtle: 0 4px 20px -2px rgba(15, 23, 42, 0.06);
    --shadow-card: 0 10px 30px -4px rgba(15, 23, 42, 0.08), 0 0 0 1px #e2e8f0;
    --shadow-card-hover: 0 20px 35px -4px rgba(0, 98, 255, 0.16), 0 0 0 1px #93c5fd;
    --shadow-red-hover: 0 20px 35px -4px rgba(0, 194, 255, 0.2), 0 0 0 1px #7dd3fc;

    --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: light;
}

body {
    background-color: var(--bg-page);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 10% 10%, rgba(0, 98, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 15%, rgba(0, 194, 255, 0.05) 0%, transparent 40%);
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
    font-weight: 700;
    color: var(--text-primary);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Text Utility Classes */
.text-blue-600 { color: #0052cc !important; }
.text-red-600 { color: #0052cc !important; }
.text-green-600 { color: #15803d !important; }
.text-slate-800 { color: #1e293b; }
.text-slate-600 { color: #475569; }
.text-slate-500 { color: #475569; }
.font-mono { font-family: 'Space Grotesk', monospace; }

/* TOP CERTIFIED BAR */
.top-cert-bar {
    background: #0f172a;
    color: #cbd5e1;
    padding: 0.55rem 0;
    font-size: 0.8rem;
    border-bottom: 2px solid var(--accent-blue);
}

.cert-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cert-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 500;
}

.cert-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--accent-cyan-bright);
    box-shadow: 0 0 8px rgba(0, 194, 255, 0.8);
}

.cert-dot.blue {
    background-color: #38bdf8;
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

.top-contact-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.top-contact-links a {
    color: #e2e8f0;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.top-contact-links a:hover {
    color: #38bdf8;
}

/* MAIN HEADER & NAVIGATION */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.brand-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.03);
}

.footer-logo-wrap {
    display: inline-block;
    background: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-logo-wrap:hover {
    box-shadow: none;
    transform: translateY(-2px);
}

.footer-logo-img {
    height: 72px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(0, 98, 255, 0.3));
    transition: var(--transition-smooth);
}

.footer-logo-wrap:hover .footer-logo-img {
    filter: drop-shadow(0 6px 22px rgba(0, 194, 255, 0.5));
}

.logo-symbol {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #1e40af 0%, #0f172a 100%);
    border: 1.5px solid var(--accent-blue);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.brand-name {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.brand-name span.sub {
    font-size: 0.68rem;
    color: var(--accent-blue);
    letter-spacing: 0.22em;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: #475569;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.94rem;
    transition: var(--transition-smooth);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-red) 100%);
    transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.68rem 1.45rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

/* Primary Button: Electric Royal Blue & Aero Cyan (Brand Logo Match) */
.btn-primary {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00a3ff 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 98, 255, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0040a8 0%, #0052cc 50%, #0088e6 100%);
    box-shadow: 0 6px 22px rgba(0, 98, 255, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Secondary Button: Royal Blue */
.btn-blue {
    background: linear-gradient(135deg, #0052cc 0%, #0062ff 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 98, 255, 0.3);
}

.btn-blue:hover {
    background: linear-gradient(135deg, #0040a8 0%, #0052cc 100%);
    box-shadow: 0 6px 22px rgba(0, 98, 255, 0.45);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Outline Secondary Button */
.btn-secondary {
    background: #ffffff;
    color: #1e293b;
    border: 1.5px solid var(--border-medium);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--accent-blue-light);
    transform: translateY(-2px);
}

.btn-outline-red {
    background: #ffffff;
    color: var(--accent-blue);
    border: 1.5px solid var(--accent-blue);
}

.btn-outline-red:hover {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
    color: #ffffff;
    border-color: var(--accent-blue);
    transform: translateY(-2px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #1e293b;
    cursor: pointer;
    padding: 0.6rem;
    min-width: 48px;
    min-height: 48px;
}

/* Mobile Nav Drawer */
.mobile-drawer {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-bottom: 2px solid var(--accent-blue);
    padding: 1.5rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
    z-index: 999;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
}

.mobile-drawer.active {
    display: block;
}

.mobile-drawer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.mobile-drawer a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
}

.mobile-drawer a.active {
    color: var(--accent-blue);
}

/* HIGH-IMPACT INDUSTRIAL HERO SLIDER BANNER */
.hero-section-banner {
    position: relative;
    width: 100%;
    min-height: 560px;
    height: 72vh;
    max-height: 660px;
    background: #090e1a;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-banner-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.75s ease;
    z-index: 1;
    pointer-events: none;
}

.hero-banner-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.04);
    transition: transform 7s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-banner-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 14, 26, 0.45) 0%, rgba(8, 14, 26, 0.6) 50%, rgba(8, 14, 26, 0.75) 100%);
    pointer-events: none;
}

.hero-slide-center-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-banner-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0f2fe;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-tag-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-cyan-bright);
    animation: pulseCyan 2s infinite;
}

@keyframes pulseCyan {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 194, 255, 0.8); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 194, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 194, 255, 0); }
}

.hero-banner-title {
    font-size: clamp(3.2rem, 7.5vw, 5.8rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 0.35rem;
    text-shadow: 0 4px 28px rgba(0, 0, 0, 0.8), 0 2px 8px rgba(0, 0, 0, 0.9);
}

.hero-banner-subtitle {
    font-size: clamp(1.45rem, 3.2vw, 2.5rem);
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.8), 0 1px 6px rgba(0, 0, 0, 0.9);
}

.hero-banner-lead {
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    color: #e2e8f0;
    line-height: 1.65;
    max-width: 680px;
    margin-bottom: 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-banner-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.hero-banner-btn {
    padding: 0.85rem 1.85rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
}

.btn-outline-white {
    background: rgba(15, 23, 42, 0.6);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: var(--transition-smooth);
}

.btn-outline-white:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

/* Animations for active slide content */
@keyframes heroTextUp {
    0% {
        opacity: 0;
        transform: translateY(22px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-banner-slide.active .hero-banner-tag {
    animation: heroTextUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.hero-banner-slide.active .hero-banner-title {
    animation: heroTextUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.hero-banner-slide.active .hero-banner-subtitle {
    animation: heroTextUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.hero-banner-slide.active .hero-banner-lead {
    animation: heroTextUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both;
}

.hero-banner-slide.active .hero-banner-cta-group {
    animation: heroTextUp 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

/* SIDE ARROW NAVIGATION BUTTONS (LEFT & RIGHT) */
.hero-arrow-edge {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 76px;
    background: rgba(0, 0, 0, 0.45);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    outline: none;
}

.hero-arrow-edge.prev {
    left: 0;
    border-radius: 0 6px 6px 0;
}

.hero-arrow-edge.next {
    right: 0;
    border-radius: 6px 0 0 6px;
}

.hero-arrow-edge:hover {
    background: rgba(0, 0, 0, 0.8);
    color: #38bdf8;
    transform: translateY(-50%) scale(1.05);
}

/* BOTTOM CENTER PAGINATION DOTS */
.hero-banner-dots {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    outline: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-dot:hover {
    transform: scale(1.2);
    border-color: #ff7700;
}

.hero-dot.active {
    border-color: #ff6a00;
    background: #ff6a00;
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.95);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero-section-banner {
        min-height: 520px;
        height: auto;
    }

    .hero-banner-slides-wrapper {
        min-height: 500px;
    }

    .hero-slide-center-content {
        padding: 3.5rem 2.8rem 4rem;
    }

    .hero-banner-tag {
        font-size: 0.72rem;
        padding: 0.35rem 0.85rem;
        margin-bottom: 0.85rem;
        letter-spacing: 0.04em;
    }

    .hero-banner-title {
        font-size: clamp(2.3rem, 7vw, 3.6rem);
        margin-bottom: 0.25rem;
    }

    .hero-banner-subtitle {
        font-size: clamp(1.2rem, 3.6vw, 1.8rem);
        margin-bottom: 0.85rem;
    }

    .hero-banner-lead {
        font-size: 0.92rem;
        line-height: 1.55;
        margin-bottom: 1.5rem;
        max-width: 92%;
    }

    .hero-banner-cta-group {
        gap: 0.75rem;
    }

    .hero-banner-btn {
        padding: 0.75rem 1.35rem;
        font-size: 0.88rem;
    }

    .hero-arrow-edge {
        width: 32px;
        height: 52px;
        background: rgba(0, 0, 0, 0.4);
    }

    .hero-arrow-edge svg {
        width: 18px;
        height: 18px;
    }

    .hero-banner-dots {
        bottom: 14px;
        padding: 4px 10px;
        gap: 8px;
    }

    .hero-dot {
        width: 11px;
        height: 11px;
    }
}

@media (max-width: 480px) {
    .hero-section-banner {
        min-height: 540px;
    }

    .hero-banner-slides-wrapper {
        min-height: 520px;
    }

    .hero-slide-center-content {
        padding: 2.75rem 2rem 3.5rem;
    }

    .hero-banner-tag {
        font-size: 0.68rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.75rem;
    }

    .hero-banner-title {
        font-size: 2.15rem;
    }

    .hero-banner-subtitle {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }

    .hero-banner-lead {
        font-size: 0.84rem;
        line-height: 1.5;
        margin-bottom: 1.25rem;
    }

    .hero-banner-cta-group {
        flex-direction: column;
        width: 100%;
        max-width: 290px;
    }

    .hero-banner-btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.88rem;
    }

    .hero-arrow-edge {
        width: 26px;
        height: 44px;
    }

    .hero-arrow-edge svg {
        width: 16px;
        height: 16px;
    }
}

/* STATS COUNTER BAR */
.stats-section {
    padding: 3.5rem 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-box:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 0;
    height: 60%;
    width: 1px;
    background: var(--border-subtle);
}

.stat-number {
    font-size: clamp(2rem, 3.5vw, 2.9rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 0.85rem;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
}

/* SECTION HEADER GENERIC */
.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem auto;
}

.section-tag {
    display: inline-block;
    color: var(--accent-red);
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-desc {
    color: #475569;
    font-size: 1.08rem;
    line-height: 1.6;
}

/* PLANT & MANUFACTURING FACILITY SHOWCASE (h1.png & h2.png) */
.plant-showcase-container {
    margin-bottom: 2.5rem;
}

.plant-dual-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.plant-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.plant-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 98, 255, 0.15);
}

.plant-img-wrap {
    position: relative;
    width: 100%;
    height: 300px;
    background: #0f172a;
    overflow: hidden;
}

.plant-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.plant-card:hover .plant-img {
    transform: scale(1.05);
}

.plant-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    z-index: 2;
}

.plant-zoom-icon {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: all 0.25s ease;
    z-index: 2;
}

.plant-card:hover .plant-zoom-icon {
    background: var(--accent-blue);
    transform: scale(1.1);
}

.plant-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.plant-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.plant-card-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex: 1;
}

.plant-meta-tags {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
}

.plant-tag {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--accent-blue);
}

@media (max-width: 768px) {
    .plant-dual-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .plant-img-wrap {
        height: 220px;
    }
}

/* PAGE HERO (FOR SUBPAGES) */
.subpage-hero {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    background-image: radial-gradient(rgba(37, 99, 235, 0.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    border-bottom: 1px solid var(--border-subtle);
    padding: 4.5rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.subpage-hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 420px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.09) 0%, transparent 70%);
    pointer-events: none;
}

.subpage-hero .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 1rem;
}

.subpage-hero .breadcrumb a {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 600;
}

/* Subpage Hero Stats Quick Strip */
.subpage-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2.25rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.hero-stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    border: 1.5px solid var(--border-blue);
    padding: 0.45rem 0.95rem;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e3a8a;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.06);
}

.hero-stat-badge.red {
    border-color: var(--border-red);
    color: #991b1b;
}

.hero-stat-badge.green {
    border-color: #a7f3d0;
    color: #065f46;
}

.hero-stat-badge svg {
    color: var(--accent-blue);
}

.hero-stat-badge.red svg {
    color: var(--accent-red);
}

.hero-stat-badge.green svg {
    color: var(--accent-green);
}

/* 3D SCREW INTERACTIVE VISUALIZER (LIGHT CANVAS) */
.visualizer-section {
    padding: 5.5rem 0;
}

.visualizer-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1fr 390px;
}

.canvas-viewport {
    position: relative;
    background: #f8fafc;
    min-height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#screwCanvas {
    width: 100%;
    height: 100%;
    cursor: grab;
}

#screwCanvas:active {
    cursor: grabbing;
}

.canvas-hud-top {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.hud-badge {
    background: #ffffff;
    border: 1.5px solid var(--border-blue);
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.76rem;
    font-family: 'Space Grotesk', monospace;
    font-weight: 700;
    color: var(--accent-blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hud-badge.red-accent {
    border-color: var(--border-red);
    color: var(--accent-red);
}

.hud-controls-row {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.btn-hud {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    color: #334155;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    font-family: monospace;
    transition: var(--transition-smooth);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.btn-hud.active, .btn-hud:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: var(--accent-blue-light);
}

/* Controls Panel */
.visualizer-controls {
    background: #ffffff;
    border-left: 1px solid var(--border-subtle);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.control-group-title {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #475569;
    font-weight: 700;
    margin-bottom: 0.65rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.head-selector-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.head-btn {
    background: var(--bg-muted);
    border: 1px solid var(--border-subtle);
    color: #1e293b;
    padding: 0.65rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.head-btn:hover {
    background: var(--accent-blue-light);
    border-color: var(--border-blue);
    color: var(--accent-blue);
}

.head-btn.active {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.material-selector-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mat-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--bg-muted);
    border: 1px solid var(--border-subtle);
    color: #334155;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-smooth);
}

.mat-color-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.mat-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.mat-btn.active {
    background: var(--accent-red-light);
    border-color: var(--accent-red);
    color: var(--accent-red);
    font-weight: 700;
}

/* Range Sliders */
.slider-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #cbd5e1;
    border-radius: 3px;
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--accent-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
    border: 2px solid white;
}

/* FASTENER CATALOG SECTION & GRID */
.catalog-section {
    padding: 5.5rem 0;
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.filter-tabs-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-tab {
    background: #ffffff;
    border: 1.5px solid var(--border-medium);
    color: #475569;
    padding: 0.55rem 1.15rem;
    border-radius: var(--radius-sm);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.filter-tab:hover {
    color: var(--accent-blue);
    border-color: var(--accent-blue);
    background: var(--accent-blue-light);
}

.filter-tab.active {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.search-box-wrap {
    position: relative;
    min-width: 290px;
}

.search-box-wrap input {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-medium);
    padding: 0.65rem 1rem 0.65rem 2.4rem;
    border-radius: var(--radius-sm);
    color: #0f172a;
    font-size: 0.9rem;
    outline: none;
    transition: var(--transition-smooth);
}

.search-box-wrap input:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.search-box-wrap svg {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
}

/* Catalog Card Grid */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 1.75rem;
}

.catalog-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.catalog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-red) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    border-top-left-radius: var(--radius-md);
    border-top-right-radius: var(--radius-md);
}

.catalog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-blue);
}

.catalog-card:hover::before {
    opacity: 1;
}

.card-badge {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: var(--accent-red-light);
    border: 1px solid var(--accent-red-border);
    color: var(--accent-red);
    font-size: 0.74rem;
    font-family: monospace;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: var(--radius-sm);
}

.card-img-wrap {
    width: 100%;
    height: 180px;
    background: #ffffff;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem;
    margin-bottom: 1.25rem;
    border: 1px solid #f1f5f9;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.02);
}

.card-screw-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.catalog-card:hover .card-screw-img {
    transform: scale(1.08);
}

.card-icon-wrap {
    margin-bottom: 1.25rem;
}

.category-pill {
    display: inline-block;
    color: #0052cc;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.4rem;
}

.card-title {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.4rem;
    line-height: 1.3;
}

.card-standard {
    font-size: 0.82rem;
    font-family: monospace;
    color: #475569;
    margin-bottom: 1rem;
}

.spec-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
    font-size: 0.78rem;
}

.spec-mini-grid .lbl {
    display: block;
    color: #475569;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
}

.spec-mini-grid .val {
    font-weight: 700;
    color: #0f172a;
}

.card-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    gap: 0.65rem;
    margin-top: auto;
    border-top: 1px solid var(--border-subtle);
    padding-top: 1rem;
}

.btn-quick-view {
    flex: 1;
    background: #ffffff;
    border: 1.5px solid var(--border-medium);
    color: #1e293b;
    padding: 0.65rem 0.85rem;
    min-height: 44px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: var(--transition-smooth);
}

.btn-quick-view:hover {
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    background: var(--accent-blue-light);
}

.btn-card-quote {
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 100%);
    color: #ffffff;
    border: none;
    padding: 0.65rem 1.25rem;
    min-height: 44px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 98, 255, 0.3);
    transition: var(--transition-smooth);
}

.btn-card-quote:hover {
    background: linear-gradient(135deg, #0040a8 0%, #0052cc 100%);
    transform: translateY(-1px);
}

/* Performance: Offscreen Section Layout Deferral */
.catalog-section,
.client-reviews-section,
.calculator-section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 700px;
}

/* FASTENER WEIGHT & LOAD CALCULATOR (LIGHT THEME) */
.calculator-section {
    padding: 5.5rem 0;
    background: #f1f5f9;
}

.calc-box {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.calc-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.calc-input, .calc-select {
    width: 100%;
    background: #ffffff;
    border: 1.5px solid var(--border-medium);
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    color: #0f172a;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
    transition: var(--transition-smooth);
}

.calc-input:focus, .calc-select:focus {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.calc-results-panel {
    background: #0f172a;
    color: #ffffff;
    border: 2px solid var(--accent-red);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
}

.result-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-header h4 {
    color: #ffffff;
}

.result-metrics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.res-item .res-label {
    font-size: 0.78rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.res-item .res-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: #ffffff;
    font-family: var(--font-heading);
}

.price-estimate-box {
    background: rgba(37, 99, 235, 0.15);
    border: 1px dashed var(--accent-blue-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

/* CAPABILITIES CARDS */
.capabilities-section {
    padding: 5.5rem 0;
}

.cap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.cap-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
}

.cap-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

.cap-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--accent-blue);
    line-height: 1;
    margin-bottom: 1rem;
}

.cap-title {
    font-size: 1.35rem;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.cap-desc {
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.65;
}

/* QUALITY ASSURANCE & METROLOGY (LIGHT THEME) */
.quality-section {
    padding: 5.5rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.quality-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.quality-img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-card);
}

.quality-img-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.quality-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.quality-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.check-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--accent-green-light);
    border: 1.5px solid var(--accent-green);
    color: var(--accent-green);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    font-weight: 800;
}

/* RFQ & DRAWING DROPZONE SECTION (LIGHT THEME) */
.rfq-section {
    padding: 5.5rem 0;
}

.rfq-card-main {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-card);
}

.rfq-grid-form {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
}

.dropzone-box {
    border: 2px dashed #94a3b8;
    background: #f8fafc;
    border-radius: var(--radius-md);
    padding: 2.5rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.dropzone-box:hover, .dropzone-box.drag-active {
    border-color: var(--accent-red);
    background: var(--accent-red-light);
}

/* FOOTER (CLEAN INDUSTRIAL CONTRAST) */
.site-footer {
    background: #0f172a;
    color: #cbd5e1;
    border-top: 3px solid var(--accent-red);
    padding: 4.5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-weight: 700;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    display: inline-block;
    padding: 3px 0;
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: #38bdf8;
    padding-left: 4px;
}

.footer-phone-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.25rem;
}

.footer-contact-link {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-block;
}

.footer-contact-link:hover,
.footer-contact-link:focus {
    color: #38bdf8;
    padding-left: 3px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.85rem;
}

/* MODAL WINDOWS */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop.active {
    display: flex;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.modal-container {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 880px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f5f9;
    border: none;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 20;
}

.modal-close:hover {
    background: var(--accent-red);
    color: #ffffff;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.modal-blueprint-visual {
    background: #0f172a;
    color: #ffffff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blueprint-header, .blueprint-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.74rem;
    font-family: monospace;
    color: #38bdf8;
}

.blueprint-svg {
    width: 100%;
    height: auto;
    margin: 1.5rem 0;
}

.modal-spec-details {
    padding: 2.5rem;
    background: #ffffff;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.spec-table th, .spec-table td {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border-subtle);
    text-align: left;
}

.spec-table th {
    color: #64748b;
    font-weight: 600;
    width: 38%;
}

.spec-table td {
    color: #0f172a;
    font-weight: 500;
}

/* TOAST NOTIFICATION */
.toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.toast-bubble {
    background: #0f172a;
    border: 1.5px solid var(--accent-blue);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    color: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(30px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.toast-bubble.visible {
    transform: translateY(0);
    opacity: 1;
}

/* -------------------------------------------------------------
 * ABOUT PAGE STYLES
 * ----------------------------------------------------------- */
.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.about-story-section {
    padding: 5.5rem 0;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
    margin-bottom: 5rem;
}

.about-story-grid.about-story-grid-tight,
.about-story-section .about-story-grid {
    margin-bottom: 0;
}

.about-story-lead {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.about-story-body {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.about-img-frame {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
}

.about-main-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
    border: 1px solid var(--border-subtle);
}

.floating-stat-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border: 2px solid var(--accent-blue);
    border-radius: var(--radius-md);
    padding: 1.1rem 1.5rem;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.16);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-smooth);
}

.floating-stat-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.22);
}

.floating-stat-badge.red-accent {
    top: -20px;
    right: -20px;
    bottom: auto;
    left: auto;
    border-color: var(--accent-cyan-bright);
    box-shadow: 0 16px 32px rgba(0, 194, 255, 0.2);
}

.floating-stat-badge.red-accent:hover {
    box-shadow: 0 20px 40px rgba(0, 194, 255, 0.3);
}

.floating-stat-num {
    font-size: 1.95rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.floating-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1.35;
}

/* Timeline */
.timeline-track {
    position: relative;
    max-width: 920px;
    margin: 3.5rem auto 0;
    padding: 1rem 0;
}

.timeline-track::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-blue) 0%, #3b82f6 50%, var(--accent-red) 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    width: 50%;
    padding: 1.5rem 2.75rem;
    box-sizing: border-box;
}

.timeline-step.left {
    left: 0;
    text-align: right;
}

.timeline-step.right {
    left: 50%;
    text-align: left;
}

@keyframes pulseTimelineBlue {
    0%, 100% { box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }
    50% { box-shadow: 0 0 0 7px rgba(37, 99, 235, 0.45); }
}

@keyframes pulseTimelineRed {
    0%, 100% { box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.25); }
    50% { box-shadow: 0 0 0 7px rgba(0, 194, 255, 0.45); }
}

.timeline-dot {
    position: absolute;
    top: 2.25rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #ffffff;
    border: 3.5px solid var(--accent-blue);
    z-index: 2;
    animation: pulseTimelineBlue 2.4s infinite ease-in-out;
}

.timeline-step.left .timeline-dot {
    right: -9px;
}

.timeline-step.right .timeline-dot {
    left: -9px;
    border-color: var(--accent-cyan-bright);
    animation: pulseTimelineRed 2.4s infinite ease-in-out;
}

.timeline-content-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.65rem 1.75rem;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    transition: var(--transition-smooth);
    position: relative;
}

.timeline-content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
    border-color: var(--border-blue);
}

.timeline-year {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-blue), #1d4ed8);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.6rem;
    font-family: var(--font-heading);
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.timeline-step.right .timeline-year {
    background: linear-gradient(135deg, #0284c7, #00c2ff);
    box-shadow: 0 2px 8px rgba(0, 194, 255, 0.3);
}

.timeline-category-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    margin-left: 0.4rem;
}

.timeline-step.left .timeline-category-tag {
    margin-left: 0;
    margin-right: 0.4rem;
}

.timeline-category-tag.blue {
    background: #eff6ff;
    color: var(--accent-blue);
    border: 1px solid var(--border-blue);
}

.timeline-category-tag.red {
    background: #fef2f2;
    color: var(--accent-red);
    border: 1px solid var(--border-red);
}

.timeline-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.6rem;
    line-height: 1.35;
}

.timeline-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

.timeline-metric-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.85rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--border-subtle);
}

.timeline-step.left .timeline-metric-row {
    justify-content: flex-end;
}

.timeline-metric-pill {
    font-size: 0.75rem;
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    color: #334155;
    font-weight: 600;
}

/* Values Cards */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-blue);
}

.value-card:nth-child(2)::before {
    background: var(--accent-red);
}

.value-card:nth-child(3)::before {
    background: linear-gradient(90deg, var(--accent-blue), var(--accent-red));
}

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(37, 99, 235, 0.1);
    border-color: var(--border-blue);
}

.value-icon-box {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.35rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
}

.value-card:nth-child(2) .value-icon-box {
    background: var(--accent-red-light);
    color: var(--accent-red);
    box-shadow: 0 4px 12px rgba(0, 194, 255, 0.2);
}

.value-check-list {
    list-style: none;
    margin-top: 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.value-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: #334155;
    font-weight: 600;
}

.value-check-item svg {
    color: var(--accent-blue);
    flex-shrink: 0;
}

.value-card:nth-child(2) .value-check-item svg {
    color: var(--accent-red);
}

/* Accreditation Certification Cards */
.about-certs-section {
    padding: 5.5rem 0;
    border-top: 1px solid var(--border-subtle);
}

.cert-accredit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
}

.cert-accredit-card {
    background: #ffffff;
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.65rem;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cert-accredit-card h3,
.cert-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.cert-accredit-card p,
.cert-card-desc {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
}

.cert-verified-pill.cert-pill-red {
    color: var(--accent-red);
    background: #fef2f2;
    border-color: #fecaca;
}

.cert-accredit-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-blue);
    box-shadow: 0 16px 36px rgba(37, 99, 235, 0.1);
}

.cert-seal-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.cert-accredit-card:nth-child(2) .cert-seal-icon {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: var(--accent-cyan-bright);
    box-shadow: 0 4px 12px rgba(0, 194, 255, 0.2);
}

.cert-accredit-card:nth-child(3) .cert-seal-icon {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #059669;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.cert-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #059669;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
}

.cert-reg-code {
    font-size: 0.74rem;
    color: #64748b;
    font-family: monospace;
    background: #f8fafc;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    margin-top: 0.85rem;
    display: inline-block;
    border: 1px solid var(--border-subtle);
    font-weight: 600;
}

/* Leadership Team Grid */
.about-leadership-section {
    background: #f8fafc;
    padding: 4.5rem 0;
    border-top: 1px solid var(--border-subtle);
}

.about-leadership-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
    gap: 2.5rem;
    justify-content: center;
    width: 100%;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.ceo-profile-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.ceo-profile-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), #00c2ff);
}

.ceo-profile-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px -4px rgba(37, 99, 235, 0.15), 0 0 0 1px #93c5fd;
}

.ceo-photo-wrap {
    width: 100%;
    height: 380px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    background: #f1f5f9;
}

.ceo-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.ceo-profile-card h3,
.ceo-profile-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.35rem;
}

.ceo-profile-card span,
.ceo-profile-role {
    display: inline-block;
    color: var(--accent-blue);
    font-size: 1.05rem;
    font-weight: 700;
}

/* Call to Action Banner */
.quote-cta-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 4.5rem 0;
}

.quote-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.quote-cta-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: rgba(37, 99, 235, 0.2);
    border: 1px solid var(--accent-blue);
    color: #93c5fd;
    margin-bottom: 0.75rem;
}

.quote-cta-title {
    color: #ffffff;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.quote-cta-desc {
    color: #94a3b8;
    font-size: 1.05rem;
    max-width: 600px;
}

.quote-cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-white-alt {
    background: #ffffff;
    color: #0f172a;
}

.btn-white-alt:hover {
    background: #f1f5f9;
    color: var(--accent-blue);
}

.team-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 2.25rem 1.75rem;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-blue), #38bdf8);
}

.team-card.featured-ceo {
    border-color: #93c5fd;
    box-shadow: 0 14px 34px -4px rgba(37, 99, 235, 0.14), 0 0 0 1.5px #bfdbfe;
}

.team-card.featured-ceo::before {
    height: 5px;
    background: linear-gradient(90deg, #0052cc, #00c2ff);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--border-blue);
}

.team-avatar {
    width: 108px;
    height: 108px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, var(--accent-blue-light), #e0e7ff);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3.5px solid var(--border-blue);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
    overflow: hidden;
    position: relative;
}

.team-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 12%;
    transform: scale(1.68);
    border-radius: 50%;
    display: block;
}

.team-avatar.red-accent {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-color: #fca5a5;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.16);
}

.team-avatar.gunmetal-accent {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-color: #7dd3fc;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.16);
}

.team-tenure-badge {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #1e40af;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 0.85rem;
}

.team-specialty-tags {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
}

.team-spec-pill {
    font-size: 0.74rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    padding: 0.25rem 0.55rem;
    border-radius: 4px;
    font-weight: 600;
}

/* -------------------------------------------------------------
 * GALLERY PAGE STYLES
 * ----------------------------------------------------------- */
.gallery-filter-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 3rem;
}

.gallery-btn {
    background: #ffffff;
    border: 1px solid var(--border-medium);
    color: #475569;
    padding: 0.6rem 1.25rem;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.gallery-btn:hover {
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    border-color: var(--accent-blue-border);
}

.gallery-btn.active {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.gallery-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-blue);
}

.gallery-card.hidden {
    display: none;
}

.gallery-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    background: #f8fafc;
    overflow: hidden;
    cursor: pointer;
}

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

.gallery-card:hover .gallery-img-wrap img {
    transform: scale(1.06);
}

.gallery-overlay-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-sm);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.gallery-view-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #ffffff;
    color: var(--accent-blue);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition-smooth);
}

.gallery-card:hover .gallery-view-btn {
    opacity: 1;
    transform: translateY(0);
}

.gallery-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.gallery-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.4rem;
}

.gallery-card-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.gallery-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    color: #64748b;
}

/* Lightbox Modal */
.lightbox-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(12px);
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-box {
    background: #ffffff;
    border-radius: var(--radius-xl);
    max-width: 980px;
    width: 100%;
    max-height: 92vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 65px -10px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    transform: scale(0.96) translateY(12px);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-backdrop.open .lightbox-box {
    transform: scale(1) translateY(0);
}

.lightbox-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid var(--border-subtle);
    z-index: 10;
}

.lightbox-counter-badge {
    font-size: 0.78rem;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    font-family: monospace;
}

.lightbox-badge-pill {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--accent-blue);
    background: #eff6ff;
    border: 1px solid var(--border-blue);
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
}

.lightbox-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f1f5f9;
    color: #475569;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    background: var(--accent-red);
    color: #ffffff;
}

.lightbox-stage {
    position: relative;
    width: 100%;
    height: 42vh;
    min-height: 240px;
    max-height: 380px;
    background: radial-gradient(circle at center, #ffffff 0%, #f8fafc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0.6rem 3.5rem;
}

/* Subtle blueprint background grid on stage to complement industrial screws */
.lightbox-stage::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    opacity: 0.4;
    pointer-events: none;
}

.lightbox-media-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.lightbox-media {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    filter: drop-shadow(0 12px 28px rgba(15, 23, 42, 0.12));
    transition: opacity 0.2s ease, transform 0.25s ease;
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border: 1px solid var(--border-medium);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
    transition: var(--transition-smooth);
    z-index: 6;
}

.lightbox-nav-btn.prev {
    left: 1rem;
}

.lightbox-nav-btn.next {
    right: 1rem;
}

.lightbox-nav-btn:hover {
    background: var(--accent-blue);
    color: #ffffff;
    border-color: var(--accent-blue);
    transform: translateY(-50%) scale(1.08);
}

/* Multiple Images Thumbnail Strip */
.lightbox-thumbs-strip {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 1.5rem;
    background: #f8fafc;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
    flex-shrink: 0;
}

.lightbox-thumbs-strip::-webkit-scrollbar {
    height: 4px;
}

.lightbox-thumbs-strip::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.lightbox-thumb {
    position: relative;
    width: 94px;
    height: 66px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    flex-shrink: 0;
    cursor: pointer;
    background: #ffffff;
    opacity: 0.7;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.lightbox-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lightbox-thumb:hover {
    opacity: 1;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

.lightbox-thumb.active {
    opacity: 1;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28), 0 4px 12px rgba(37, 99, 235, 0.22);
    transform: translateY(-2px) scale(1.04);
}

.lightbox-thumb-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.82);
    backdrop-filter: blur(2px);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    text-align: center;
    padding: 2px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.02em;
}

.lightbox-thumb-index {
    position: absolute;
    top: 2px;
    left: 3px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 3px;
    font-family: monospace;
}

.lightbox-details {
    padding: 1.15rem 1.75rem;
    background: #ffffff;
    flex-shrink: 0;
}

.lightbox-details-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.lightbox-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.lightbox-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 620px;
    margin: 0;
}

.lightbox-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.lightbox-actions .btn {
    font-size: 0.84rem;
    padding: 0.55rem 1rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .lightbox-stage {
        height: 36vh;
        min-height: 200px;
        padding: 1rem 2.5rem;
    }
    
    .lightbox-nav-btn.prev {
        left: 0.4rem;
        width: 36px;
        height: 36px;
    }
    
    .lightbox-nav-btn.next {
        right: 0.4rem;
        width: 36px;
        height: 36px;
    }
    
    .lightbox-details-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0.9rem;
    }
    
    .lightbox-actions {
        width: 100%;
    }
    
    .lightbox-actions .btn {
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}

/* -------------------------------------------------------------
 * CONTACT PAGE STYLES
 * ----------------------------------------------------------- */
.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-bottom: 3.5rem;
}

.contact-channel-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-top: 3.5px solid var(--accent-blue);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.contact-channel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px -4px rgba(37, 99, 235, 0.12);
    border-color: var(--border-blue);
    border-top-color: var(--accent-blue);
}

.contact-channel-card.red-hover {
    border-top-color: var(--accent-red);
}

.contact-channel-card.red-hover:hover {
    box-shadow: 0 16px 36px -4px rgba(0, 194, 255, 0.2);
    border-color: var(--border-red);
    border-top-color: var(--accent-red);
}

.channel-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #eff6ff;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.1);
    transition: transform 0.25s ease;
}

.contact-channel-card:hover .channel-icon-wrap {
    transform: scale(1.08);
}

.contact-channel-card.red-hover .channel-icon-wrap {
    background: #f0f9ff;
    color: var(--accent-blue);
    box-shadow: inset 0 0 0 1px rgba(0, 98, 255, 0.15);
}

.channel-title {
    font-size: 1.22rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.channel-desc {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex: 1;
}

.channel-contact-info {
    font-size: 0.92rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.25rem;
}

.channel-link-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.18s ease;
}

.channel-link-item:hover {
    color: var(--accent-blue);
}

.contact-channel-card.red-hover .channel-link-item:hover {
    color: var(--accent-red);
}

.channel-link-item svg {
    color: #94a3b8;
    flex-shrink: 0;
}

.channel-response-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 0.2rem 0.65rem;
    border-radius: 9999px;
    width: fit-content;
    margin-top: 0.25rem;
}

.channel-response-chip.red-variant {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fecaca;
}

.channel-response-chip.blue-variant {
    color: #1e40af;
    background: #eff6ff;
    border-color: #bfdbfe;
}

.pulse-dot-sm {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.3);
    animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 5px rgba(34, 197, 94, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 2.75rem;
    align-items: start;
    margin-bottom: 5rem;
}

.contact-form-panel {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 12px 36px -4px rgba(15, 23, 42, 0.07), 0 0 0 1px rgba(15, 23, 42, 0.03);
}

/* FORM FIELDS & INPUT SYSTEM */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
    width: 100%;
}

.input-row .form-group {
    margin-bottom: 0;
}

.form-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.86rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.45rem;
    letter-spacing: -0.01em;
}

.form-label .req {
    color: var(--accent-red);
    font-weight: 800;
    margin-left: 3px;
}

.form-input {
    width: 100% !important;
    display: block;
    box-sizing: border-box !important;
    padding: 0.85rem 1.1rem;
    font-size: 0.94rem;
    font-family: inherit;
    font-weight: 500;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    line-height: 1.5;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.form-input::placeholder {
    color: #94a3b8;
    font-size: 0.88rem;
}

.form-input:hover {
    border-color: #94a3b8;
    background-color: #ffffff;
}

.form-input:focus {
    background-color: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.14);
}

select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 16px 16px;
    padding-right: 2.85rem;
    cursor: pointer;
}

select.form-input option {
    background: #ffffff;
    color: #0f172a;
    padding: 0.5rem;
}

textarea.form-input {
    min-height: 130px;
    resize: vertical;
    line-height: 1.6;
}

.form-upload-tip {
    margin-bottom: 1.5rem;
    background: #f8fafc;
    border: 1.5px dashed #cbd5e1;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
    font-size: 0.86rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    line-height: 1.5;
}

.form-upload-tip svg {
    flex-shrink: 0;
    color: var(--accent-blue);
}

.contact-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #ffffff;
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00a3ff 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 98, 255, 0.35);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #0040a8 0%, #0052cc 50%, #0088e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 98, 255, 0.45);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.contact-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* SIDEBAR & INFO PANEL */
.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.info-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.info-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.plant-detail-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.plant-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.plant-detail-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.plant-detail-content strong {
    display: block;
    font-size: 0.92rem;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.plant-detail-content span {
    display: block;
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
}

.plant-address-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.plant-address-link:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.plant-map-schematic {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-xl);
    padding: 2rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    border: 1px solid #334155;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.2);
}

.plant-map-schematic::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.facility-coords-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
}

.facility-coords-tag-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: #93c5fd;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: color 0.2s ease;
}

.facility-coords-tag-link:hover {
    color: #ffffff;
}

.facility-coords-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    background: rgba(37, 99, 235, 0.35);
    color: #ffffff;
    padding: 0.28rem 0.65rem;
    border-radius: var(--radius-sm);
    font-family: monospace;
    text-decoration: none;
    border: 1px solid rgba(147, 197, 253, 0.3);
    transition: all 0.25s ease;
    cursor: pointer;
}

.facility-coords-badge svg {
    flex-shrink: 0;
}

.facility-coords-badge:hover {
    background: var(--accent-blue);
    border-color: #93c5fd;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.45);
}

.plant-map-interactive {
    display: block;
    text-decoration: none;
    cursor: pointer;
    border-radius: var(--radius-sm);
    position: relative;
    z-index: 2;
    transition: transform 0.25s ease;
}

.plant-map-interactive:hover {
    transform: translateY(-2px);
}

.plant-map-canvas {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid #334155;
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    text-align: center;
    position: relative;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.plant-map-interactive:hover .plant-map-canvas {
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.25);
}

.plant-map-footer-link {
    margin-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #94a3b8;
    position: relative;
    z-index: 2;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.plant-map-gmaps-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #38bdf8;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.plant-map-gmaps-btn:hover {
    color: #ffffff;
    transform: translateX(2px);
}

.emergency-line-card {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-lg);
    padding: 1.35rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.15rem;
    box-shadow: 0 4px 14px rgba(0, 98, 255, 0.08);
}

.emergency-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #e0f2fe;
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.2);
}

/* FAQ ACCORDION ENHANCEMENTS */
.faq-accordion {
    max-width: 860px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.07);
}

.faq-item.open {
    border-color: var(--border-blue);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.09);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.15s ease;
}

.faq-question:hover {
    color: var(--accent-blue);
}

.faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-blue);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: #fee2e2;
    color: var(--accent-red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.5rem;
    color: #475569;
    font-size: 0.94rem;
    line-height: 1.65;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem 1.5rem;
}

/* -------------------------------------------------------------
 * BLOG & BLOG DETAILS STYLES
 * ----------------------------------------------------------- */
.blog-featured-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    margin-bottom: 3.5rem;
    transition: var(--transition-smooth);
}

.blog-featured-card:hover {
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-blue);
}

.blog-featured-img-box {
    position: relative;
    overflow: hidden;
    min-height: 380px;
    background: #f1f5f9;
}

.blog-featured-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-featured-card:hover .blog-featured-img-box img {
    transform: scale(1.04);
}

.blog-featured-body {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    width: fit-content;
}

.blog-category-badge.red {
    background: var(--accent-red-light);
    color: var(--accent-red);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: var(--border-blue);
}

.blog-card-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f1f5f9;
}

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

.blog-card:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-meta-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.75rem;
}

.blog-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.75rem;
    transition: color 0.2s ease;
}

.blog-card:hover .blog-card-title {
    color: var(--accent-blue);
}

.blog-card-excerpt {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

.blog-author-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-subtle);
    font-size: 0.82rem;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.author-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-blue-light);
    color: var(--accent-blue);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 1px solid var(--border-blue);
}

/* -------------------------------------------------------------
 * BLOG DETAILS LAYOUT
 * ----------------------------------------------------------- */
.blog-detail-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3.5rem;
    align-items: start;
    padding: 3.5rem 0 6rem;
}

.article-container {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    box-shadow: var(--shadow-card);
}

.article-main-image-wrap {
    margin: 2.25rem 0 2.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-subtle);
}

.article-main-image-wrap img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
}

.article-img-caption {
    background: #f8fafc;
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    color: #64748b;
    border-top: 1px solid var(--border-subtle);
    font-style: italic;
}

.article-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content h2 {
    font-size: 1.75rem;
    color: #0f172a;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-subtle);
}

.article-content h3 {
    font-size: 1.35rem;
    color: #0f172a;
    margin: 2rem 0 0.75rem;
}

.article-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 2rem;
    padding-left: 1.25rem;
    border-left: 4px solid var(--accent-blue);
}

.tech-callout-box {
    background: #eff6ff;
    border-left: 4px solid var(--accent-blue);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
}

.tech-callout-box.red-callout {
    background: #fef2f2;
    border-left-color: var(--accent-red);
}

.tech-callout-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Technical Specification Table in Article */
.article-tech-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.92rem;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-tech-table th {
    background: #0f172a;
    color: #ffffff;
    padding: 0.85rem 1rem;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
}

.article-tech-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border-subtle);
    color: #334155;
}

.article-tech-table tr:nth-child(even) {
    background: #f8fafc;
}

/* Sidebar Widgets */
.sidebar-sticky-wrap {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    box-shadow: var(--shadow-card);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--accent-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-title.red {
    border-bottom-color: var(--accent-red);
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.toc-link {
    color: #475569;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-link:hover {
    color: var(--accent-blue);
    transform: translateX(4px);
}

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

/* Author Box at Article Bottom */
.article-author-box {
    margin-top: 3.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.author-large-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-red-light), #fee2e2);
    color: var(--accent-red);
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-red);
    flex-shrink: 0;
}

/* =============================================================
   CLIENT REVIEWS & TESTIMONIALS SECTION
   ============================================================= */
.client-reviews-section {
    background: #f8fafc;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    position: relative;
    padding: 5rem 0;
}

/* Reviews Automatic Slider Carousel */
.reviews-slider-wrapper {
    position: relative;
    width: 100%;
    margin-top: 2.75rem;
    margin-bottom: 3.5rem;
}

.reviews-carousel-viewport {
    overflow: hidden;
    width: 100%;
    padding: 0.5rem 0.25rem 1rem;
}

.reviews-carousel-track {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.5s cubic-bezier(0.2, 1, 0.3, 1);
    will-change: transform;
}

/* Small, Compact Review Card */
.review-small-card {
    flex: 0 0 calc((100% - 2 * 1.25rem) / 3);
    min-width: 0;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1.35rem 1.45rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-small-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-blue);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}

.review-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 0.15rem;
}

.star-filled {
    color: #f59e0b;
    font-size: 0.95rem;
}

.rating-num {
    font-weight: 800;
    font-size: 0.85rem;
    color: #0f172a;
    margin-left: 0.35rem;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    padding: 0.2rem 0.55rem;
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.review-industry-tag {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    width: fit-content;
    margin-bottom: 0.6rem;
}

.review-industry-tag.tag-blue {
    background: #eff6ff;
    color: var(--accent-blue);
    border: 1px solid var(--border-blue);
}

.review-industry-tag.tag-red {
    background: #fef2f2;
    color: var(--accent-red);
    border: 1px solid var(--border-red);
}

.review-headline {
    font-size: 0.98rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0.25rem 0 0.5rem;
    font-family: var(--font-heading);
}

.review-body {
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 0.85rem;
}

.review-spec-meta {
    background: #f8fafc;
    border-left: 2.5px solid var(--accent-blue);
    padding: 0.4rem 0.65rem;
    border-radius: 0 4px 4px 0;
    font-size: 0.76rem;
    margin-bottom: 0.85rem;
    display: flex;
    gap: 0.35rem;
    align-items: center;
}

.spec-label {
    font-weight: 700;
    color: #334155;
}

.spec-value {
    color: #0052cc;
    font-weight: 600;
}

.reviewer-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border-subtle);
}

.reviewer-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.88rem;
    flex-shrink: 0;
}

.reviewer-avatar.avatar-blue {
    background: #dbeafe;
    color: #004ecc;
    border: 1.5px solid #bfdbfe;
}

.reviewer-avatar.avatar-red {
    background: #fee2e2;
    color: #b91c1c;
    border: 1.5px solid #fecaca;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.reviewer-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.reviewer-title {
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.reviewer-location {
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 0.1rem;
}

/* Carousel Controls & Pagination */
.reviews-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 0.5rem;
}

.reviews-arrow-btn {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid var(--border-blue);
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.reviews-arrow-btn:hover {
    background: var(--accent-blue);
    color: #ffffff;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.reviews-dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.review-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 48px;
    min-height: 48px;
}

.review-dot.active {
    background: var(--accent-blue);
    width: 24px;
    border-radius: 10px;
}

/* Reviews CTA Box */
.reviews-cta-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: var(--radius-lg);
    padding: 2.5rem 3rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    border: 1px solid #334155;
}

.reviews-cta-text {
    max-width: 600px;
}

.cta-box-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.cta-box-desc {
    color: #cbd5e1;
    font-size: 0.92rem;
    line-height: 1.6;
}

.reviews-cta-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@keyframes fadeInReview {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
    .blog-detail-layout {
        grid-template-columns: 1fr;
    }
    .blog-featured-card {
        grid-template-columns: 1fr;
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .visualizer-wrapper {
        grid-template-columns: 1fr;
    }
    .calc-box {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .quality-showcase-grid {
        grid-template-columns: 1fr;
    }
    .rfq-grid-form {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .modal-grid {
        grid-template-columns: 1fr;
    }
    .modal-blueprint-visual {
        border-right: none;
        border-bottom: 1px solid var(--border-subtle);
    }
    .about-story-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-channels-grid {
        grid-template-columns: 1fr;
    }
    .contact-main-grid {
        grid-template-columns: 1fr;
    }
    .values-grid, .team-grid {
        grid-template-columns: 1fr 1fr;
    }
    .review-small-card {
        flex: 0 0 calc((100% - 1.25rem) / 2);
    }
}

@media (max-width: 992px) {
    .top-cert-bar {
        padding: 0.45rem 0;
        font-size: 0.76rem;
    }
    .cert-bar-inner {
        justify-content: space-between;
        gap: 0.5rem;
    }
    .cert-badge-group {
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
    .nav-menu, .nav-actions {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .about-story-section,
    .about-certs-section,
    .about-leadership-section,
    .quote-cta-section {
        padding: 3.5rem 0;
    }
    .about-leadership-grid {
        grid-template-columns: 1fr;
    }
    .cert-badge-group {
        display: none !important;
    }
    .cert-bar-inner {
        justify-content: center;
    }
    .top-contact-links {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 100%;
        flex-wrap: wrap;
        gap: 0.35rem 1.25rem;
        font-size: 0.76rem;
    }
    .top-contact-links a {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        min-height: 44px;
        padding: 0.35rem 0.6rem;
        color: #e2e8f0;
        text-decoration: none;
        white-space: nowrap;
    }
    .top-contact-links a:hover,
    .top-contact-links a:focus {
        color: #38bdf8;
    }
    .top-contact-links svg {
        flex-shrink: 0;
        color: var(--accent-cyan-bright);
    }
    .review-small-card {
        flex: 0 0 100%;
    }
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-pure-image-box {
        height: auto;
        aspect-ratio: 3 / 2;
        max-width: 100%;
    }
    .hero-pure-img {
        aspect-ratio: 3 / 2;
        width: 100%;
        height: auto;
    }
    .stat-box:not(:last-child)::after {
        display: none;
    }
    .cap-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .input-row {
        grid-template-columns: 1fr;
    }
    .calc-box, .rfq-card-main, .contact-form-panel {
        padding: 1.5rem;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .values-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .reviews-cta-box {
        padding: 1.75rem;
        text-align: center;
        flex-direction: column;
    }
    .reviews-cta-btns {
        justify-content: center;
        width: 100%;
    }
    .reviews-cta-btns .btn {
        width: 100%;
        text-align: center;
    }
    .timeline-track::before {
        left: 20px;
    }
    .timeline-step {
        width: 100%;
        left: 0 !important;
        padding-left: 55px;
        padding-right: 10px;
        text-align: left !important;
    }
    .timeline-dot {
        left: 12px !important;
        right: auto !important;
    }
    .floating-stat-badge, .floating-stat-badge.red-accent {
        position: static;
        margin-top: 1rem;
    }
}

/* -------------------------------------------------------------
 * AG FASTENERS - AUTHENTICATION & LOGIN PORTAL DESIGN SYSTEM
 * ----------------------------------------------------------- */
.auth-page-wrapper {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3.5rem 1.5rem;
    position: relative;
    background: radial-gradient(circle at 15% 20%, rgba(0, 98, 255, 0.07) 0%, transparent 50%),
                radial-gradient(circle at 85% 80%, rgba(0, 194, 255, 0.08) 0%, transparent 50%),
                #f8fafc;
    overflow: hidden;
}

.auth-bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: 
        linear-gradient(to right, rgba(203, 213, 225, 0.35) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(203, 213, 225, 0.35) 1px, transparent 1px);
    background-size: 36px 36px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
    opacity: 0.75;
}

.auth-container {
    width: 100%;
    max-width: 1060px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.auth-card {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr;
    background: #ffffff;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(203, 213, 225, 0.85);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12),
                0 0 0 1px rgba(0, 98, 255, 0.06);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.auth-card:hover {
    box-shadow: 0 30px 60px -12px rgba(0, 98, 255, 0.18),
                0 0 0 1px rgba(0, 98, 255, 0.14);
}

.auth-card-single {
    grid-template-columns: 1fr !important;
    max-width: 580px;
    margin: 0 auto;
}

.auth-grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* LEFT BRAND PANEL */
.auth-brand-side {
    background: linear-gradient(155deg, #091326 0%, #0d1b38 45%, #002855 100%);
    padding: 3.5rem 3rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.auth-brand-side::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -30%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(0, 194, 255, 0.25) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.auth-brand-side::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -20%;
    width: 280px;
    height: 280px;
    background: radial-gradient(circle, rgba(0, 98, 255, 0.3) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.auth-brand-top {
    position: relative;
    z-index: 2;
}

.auth-brand-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    margin-bottom: 2rem;
}

.auth-brand-logo-img {
    height: 52px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 98, 255, 0.45));
}

.auth-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.95rem;
    background: rgba(0, 194, 255, 0.12);
    border: 1px solid rgba(0, 194, 255, 0.35);
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #38bdf8;
    margin-bottom: 1.4rem;
}

.auth-pill-dot {
    width: 7px;
    height: 7px;
    background: #00c2ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00c2ff;
    animation: authPulse 2s infinite ease-in-out;
}

@keyframes authPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

.auth-brand-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff;
    margin-bottom: 0.85rem;
    letter-spacing: -0.02em;
}

.auth-brand-desc {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 2.25rem;
}

.auth-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    position: relative;
    z-index: 2;
}

.auth-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    font-size: 0.88rem;
    color: #e2e8f0;
    line-height: 1.45;
}

.auth-feature-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: rgba(0, 98, 255, 0.25);
    border: 1px solid rgba(0, 194, 255, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #38bdf8;
    margin-top: 1px;
}

.auth-brand-footer {
    position: relative;
    z-index: 2;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #64748b;
}

.auth-security-tag {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: #94a3b8;
}

/* RIGHT FORM PANEL */
.auth-form-side {
    padding: 3.5rem 3.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.auth-form-header {
    margin-bottom: 2.25rem;
}

.auth-form-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-blue);
    background: var(--accent-blue-light);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-sm);
    margin-bottom: 0.65rem;
}

.auth-form-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 0.45rem;
}

.auth-form-subtitle {
    font-size: 0.94rem;
    color: #64748b;
    line-height: 1.5;
}

/* INPUT CONTROLS */
.auth-field-group {
    margin-bottom: 1.45rem;
}

.auth-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}

.auth-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.auth-forgot-link {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.auth-forgot-link:hover {
    color: var(--accent-blue-hover);
    text-decoration: underline;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.auth-input-icon {
    position: absolute;
    left: 1.15rem;
    color: #94a3b8;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.auth-input {
    width: 100%;
    padding: 0.92rem 2.85rem 0.92rem 2.85rem;
    font-size: 0.95rem;
    font-family: var(--font-body);
    font-weight: 500;
    color: #0f172a;
    background-color: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: var(--radius-md);
    outline: none;
    transition: var(--transition-smooth);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.auth-input.no-right-icon {
    padding-right: 1.15rem;
}

.auth-input:hover {
    border-color: #94a3b8;
    background-color: #ffffff;
}

.auth-input:focus {
    background-color: #ffffff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 98, 255, 0.12);
}

.auth-input-wrap:focus-within .auth-input-icon {
    color: var(--accent-blue);
}

.auth-input.is-invalid {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
}

.auth-pwd-toggle {
    position: absolute;
    right: 0.85rem;
    background: transparent;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.auth-pwd-toggle:hover {
    color: #0f172a;
    background-color: #f1f5f9;
}

/* CHECKBOX ROW */
.auth-remember-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.65rem;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.88rem;
    color: #475569;
    user-select: none;
}

.auth-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-blue);
    cursor: pointer;
    border-radius: 4px;
}

/* SUBMIT BUTTON */
.auth-submit-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    padding: 1rem 1.75rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    letter-spacing: 0.03em;
    color: #ffffff;
    background: linear-gradient(135deg, #0052cc 0%, #0066ff 50%, #00a3ff 100%);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 98, 255, 0.35);
    transition: var(--transition-smooth);
    margin-bottom: 1.75rem;
}

.auth-submit-btn:hover {
    background: linear-gradient(135deg, #0040a8 0%, #0052cc 50%, #0088e6 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 98, 255, 0.45);
}

.auth-submit-btn:active {
    transform: translateY(0);
}

/* FOOTER & LINKS */
.auth-switch-text {
    text-align: center;
    font-size: 0.92rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.auth-switch-link {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.auth-switch-link:hover {
    color: var(--accent-blue-hover);
    text-decoration: underline;
}

.auth-security-badge-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

/* ERROR / ALERT BOXES */
.auth-alert-error {
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.15rem;
    color: #991b1b;
    font-size: 0.88rem;
    margin-bottom: 1.45rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.auth-alert-success {
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: var(--radius-md);
    padding: 0.85rem 1.15rem;
    color: #166534;
    font-size: 0.88rem;
    margin-bottom: 1.45rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.auth-field-error {
    font-size: 0.82rem;
    color: #dc2626;
    margin-top: 0.4rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* RESPONSIVENESS */
@media (max-width: 992px) {
    .auth-page-wrapper {
        padding: 2.25rem 1.25rem;
        min-height: auto;
    }
    .auth-container {
        max-width: 500px;
    }
    .auth-card {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .auth-brand-side {
        padding: 2.25rem 2rem 1.75rem;
        text-align: center;
        align-items: center;
    }
    .auth-brand-top {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .auth-brand-logo-link {
        justify-content: center;
        margin-bottom: 1.25rem;
    }
    .auth-features-list, .auth-brand-footer {
        display: none;
    }
    .auth-brand-title {
        font-size: 1.45rem;
        margin-bottom: 0.5rem;
    }
    .auth-brand-desc {
        font-size: 0.88rem;
        line-height: 1.5;
        max-width: 440px;
        margin: 0 auto;
    }
    .auth-form-side {
        padding: 2.5rem 2.25rem;
    }
}

@media (max-width: 576px) {
    .auth-page-wrapper {
        padding: 1.25rem 0.85rem;
    }
    .auth-card {
        border-radius: var(--radius-lg);
        box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.1);
    }
    .auth-brand-side {
        padding: 1.5rem 1.25rem 1.25rem;
    }
    .auth-brand-logo-img {
        height: 42px;
    }
    .auth-pill-badge {
        margin-bottom: 0.6rem;
        font-size: 0.7rem;
        padding: 0.3rem 0.75rem;
    }
    .auth-brand-title {
        font-size: 1.25rem;
        margin-bottom: 0;
    }
    .auth-brand-desc {
        display: none; /* Keep mobile view compact and immediately show form */
    }
    .auth-form-side {
        padding: 1.75rem 1.25rem;
    }
    .auth-form-header {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    .auth-form-title {
        font-size: 1.6rem;
    }
    .auth-form-subtitle {
        font-size: 0.86rem;
    }
    .auth-field-group {
        margin-bottom: 1.15rem;
    }
    .auth-label {
        font-size: 0.84rem;
    }
    .auth-forgot-link {
        font-size: 0.8rem;
    }
    .auth-input {
        padding: 0.8rem 2.65rem 0.8rem 2.5rem;
        font-size: 0.92rem;
    }
    .auth-input.no-right-icon {
        padding-right: 1rem;
    }
    .auth-input-icon {
        left: 0.85rem;
    }
    .auth-input-icon svg {
        width: 16px;
        height: 16px;
    }
    .auth-pwd-toggle {
        right: 0.5rem;
        padding: 0.35rem;
    }
    .auth-pwd-toggle svg {
        width: 16px;
        height: 16px;
    }
    .auth-remember-row {
        margin-bottom: 1.25rem;
        font-size: 0.84rem;
    }
    .auth-submit-btn {
        padding: 0.85rem 1.25rem;
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    .auth-security-badge-footer {
        font-size: 0.74rem;
        padding: 0.6rem 0.75rem;
        text-align: center;
        line-height: 1.35;
        flex-wrap: wrap;
        gap: 0.4rem;
    }
    .auth-security-badge-footer svg {
        flex-shrink: 0;
    }
    .auth-grid-2col {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 380px) {
    .auth-page-wrapper {
        padding: 0.75rem 0.5rem;
    }
    .auth-card {
        border-radius: var(--radius-md);
    }
    .auth-brand-side {
        padding: 1.25rem 1rem 1rem;
    }
    .auth-form-side {
        padding: 1.25rem 1rem;
    }
    .auth-form-title {
        font-size: 1.45rem;
    }
    .auth-security-badge-footer {
        font-size: 0.7rem;
        padding: 0.5rem;
    }
    .auth-remember-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* ==========================================================================
   LANDING PAGES EXTRACTED UTILITIES & COMPONENT STYLES
   ========================================================================== */

/* --- Contact Page Styles --- */
.section-tag-flex {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.contact-page-section {
    padding: 4.5rem 0 4rem;
}

.contact-form-intro {
    margin-bottom: 2rem;
}

.contact-form-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.contact-form-desc {
    color: #64748b;
    font-size: 0.95rem;
}

.alert-success-panel {
    margin-bottom: 1.5rem;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    color: #166534;
}

.alert-success-title {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.alert-error-panel {
    margin-bottom: 1.5rem;
    background: #fef2f2;
    border: 1.5px solid #fca5a5;
    border-radius: var(--radius-md);
    padding: 1.25rem;
    color: #991b1b;
}

.alert-error-title {
    display: block;
    font-size: 1.05rem;
    margin-bottom: 0.25rem;
}

.alert-error-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 0.9rem;
}

.contact-email-inline {
    color: var(--accent-blue);
    font-weight: 700;
    text-decoration: underline;
}

.facility-coords-pin {
    color: #60a5fa;
}

.facility-coords-ext {
    opacity: 0.75;
}

/* --- Home Landing Page Styles --- */
.home-catalog-section {
    padding: 4.5rem 0;
    background: #ffffff;
}

.home-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.75rem;
}

.home-catalog-action {
    text-align: center;
    margin-top: 3rem;
}

.btn-catalog-more {
    padding: 0.85rem 2rem;
    font-size: 1rem;
}

.reviews-section-subtitle {
    margin: 0 auto;
    max-width: 680px;
}

.home-blogs-section {
    padding: 4.5rem 0;
    background: #f8fafc;
    border-top: 1px solid var(--border-subtle);
}

.blogs-section-subtitle {
    margin: 0 auto;
    max-width: 650px;
}

.home-blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.home-blog-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-blog-thumb {
    height: 200px;
    overflow: hidden;
    background: #1e293b;
    position: relative;
}

.home-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-blog-category-pill {
    position: absolute;
    top: 1rem;
    left: 1rem;
    margin: 0;
    background: rgba(15, 23, 42, 0.85);
    color: #38bdf8;
    border: 1px solid #334155;
}

.home-blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.home-blog-meta {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}

.home-blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.home-blog-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-blog-title-link:hover {
    color: var(--accent-blue);
}

.home-blog-excerpt {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.home-blog-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    width: fit-content;
}

/* --- Global Layout, Header & Footer Styles --- */
.btn-nav-dashboard {
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
}

.footer-brand-wrap {
    margin-bottom: 1.25rem;
}

.footer-about-text {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.footer-badge-strip {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hud-badge.badge-blue {
    background: #1e293b;
    color: #38bdf8;
    border-color: #334155;
}

.hud-badge.badge-red {
    background: #1e293b;
    color: #f87171;
    border-color: #334155;
}

.hud-badge.badge-green {
    background: #1e293b;
    color: #4ade80;
    border-color: #334155;
}

.footer-contact-details {
    font-size: 0.88rem;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-cta-wrap {
    margin-top: 0.5rem;
}

.footer-cta-btn {
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
    width: 100%;
    text-align: center;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-link {
    color: #cbd5e1;
    text-decoration: none;
    padding: 0.25rem 0;
    transition: color 0.2s ease;
}

.footer-legal-link:hover {
    color: #ffffff;
}

.lightbox-details-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.lightbox-details-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.lightbox-details-desc {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    max-width: 650px;
}

.lightbox-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn-lightbox-action {
    font-size: 0.85rem;
    padding: 0.6rem 1.1rem;
}

