/* ═══════════════════════════════════════════════════════ */
/* TRANSFORMERINSULATION TRANSFORMER INSULATION THEME OVERRIDES       */
/* Style and Layout definitions for B2B Portal Landing   */
/* ═══════════════════════════════════════════════════════ */

:root {
    /* Brand Colors - TransformerInsulation Identity */
    --brand-red: #DC0000;
    --brand-red-rgb: 220, 0, 0;
    --brand-blue: #005A8B;
    --brand-blue-rgb: 0, 90, 139;
    --brand-black: #1D1D1A;
    --brand-grey: #53565A;
    --brand-mid-grey: #CCCCCC;
    --brand-light-grey: #E5E5E5;
    --brand-light-blue: #F2F7F9;
    --white: #FFFFFF;
    
    /* Neutrals & Gradients */
    --black: #0E0E0E;
    --gray-900: #1D1D1A;
    --gray-700: #4E5256;
    --gray-500: #8C9196;
    --gray-300: #D1D5DB;
    --gray-100: #F3F4F6;
    --gray-50: #F9FAFB;
    
    /* Typography */
    --font-headers: 'Outfit', 'Inter', -apple-system, sans-serif;
    --font-primary: 'Inter', -apple-system, sans-serif;
    
    /* Layout Tokens */
    --section-padding: clamp(60px, 8vw, 100px);
    --radius: 0px; /* B2B Industrial aesthetic uses clean sharp 90deg corners */
    --radius-pill: 24px;
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ─── BASE RESET STYLES ─── */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--gray-900);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headers);
    color: var(--brand-black);
    font-weight: 700;
    letter-spacing: -0.01em;
}

a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: var(--transition);
}
a:hover {
    color: var(--brand-red);
}

/* ─── BUTTON CUSTOM DESIGN ─── */
.btn {
    position: relative;
    font-family: var(--font-headers);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 28px;
    border: none !important;
    border-radius: var(--radius);
    overflow: hidden;
    z-index: 1;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.3s ease, 
                color 0.3s ease, 
                background-color 0.3s ease;
    outline: none !important;
}

.btn:hover {
    transform: translateY(-2px) scale(1.01);
}

.btn:active {
    transform: translateY(0) scale(0.98) !important;
    transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Primary Button Slide-over Effect */
.btn-primary {
    background-color: var(--brand-red) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 12px rgba(220, 0, 0, 0.18);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--brand-blue);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-primary:hover {
    color: var(--white) !important;
    box-shadow: 0 8px 20px rgba(0, 90, 139, 0.3) !important;
}

/* Secondary / Ghost Button */
.btn-secondary {
    background-color: var(--gray-700) !important;
    color: var(--white) !important;
}
.btn-secondary:hover {
    background-color: var(--brand-black) !important;
}

/* Outline White Button for Hero */
.btn-outline-light {
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: var(--white) !important;
}
.btn-outline-light:hover {
    background-color: var(--white) !important;
    color: var(--brand-black) !important;
}

/* ─── FLOATING HEADER & NAVIGATION ─── */
.site-header.floating-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: rgba(29, 29, 26, 0.4) !important;
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: none;
    z-index: 1050;
    padding: 10px 0 0 0;
    transition: background-color 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.floating-header.header-hidden {
    transform: translateY(-100%);
}

.site-header.floating-header.scrolled {
    background-color: rgba(29, 29, 26, 0.85) !important;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-logo {
    font-family: var(--font-headers);
    font-weight: 900;
    font-size: clamp(13px, 1.6vw, 16px);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.site-logo .logo-accent {
    color: var(--brand-red);
    transition: var(--transition);
}

.site-logo .logo-main {
    color: var(--white);
    margin-left: 0px;
    transition: var(--transition);
}

.navbar-nav .nav-link {
    font-family: var(--font-headers);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.75) !important;
    padding: 8px 18px !important;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--white) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 18px;
    right: 18px;
    height: 2px;
    background-color: var(--brand-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.header-cta-btn {
    border-radius: var(--radius-pill) !important;
    font-size: 11px;
    padding: 8px 20px;
    background-color: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
}
.header-cta-btn:hover {
    background-color: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    color: var(--white) !important;
}

.chevron-right-icon {
    width: 14px;
    height: 14px;
}

/* Mobile Toggler styles */
.navbar-toggler-icon-custom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 16px;
}
.toggler-line {
    width: 100%;
    height: 2px;
    background-color: var(--white);
    transition: var(--transition);
}

/* ─── HERO SECTION ─── */
.hero {
    min-height: 100vh;
    background-color: var(--black);
}

.hero__overlay {
    background: linear-gradient(180deg, rgba(29,29,26,0.5) 0%, rgba(29,29,26,0.85) 100%);
    z-index: 1;
}

.hero__title {
    font-size: clamp(34px, 5.5vw, 68px);
    line-height: 1.15;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -0.03em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

.hero__rotating-wrap {
    position: relative;
    display: inline-block;
    color: var(--brand-red);
    border-bottom: 4px solid var(--brand-red);
    padding-bottom: 2px;
    margin-left: 5px;
    text-align: center;
    vertical-align: bottom;
}

.hero__rotating-word {
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 450ms cubic-bezier(0.16, 1, 0.3, 1), transform 450ms cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    white-space: nowrap;
    display: none;
}

.hero__rotating-word.active {
    position: relative;
    display: inline-block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    width: auto;
    left: auto;
    right: auto;
}

.hero__rotating-word.exit {
    position: absolute;
    display: inline-block;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1), transform 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.hero__subtitle {
    font-size: clamp(14px, 2vw, 17px);
    font-weight: 400;
    line-height: 1.6;
}

.hero__btn {
    padding: 14px 32px;
}

.hero__btn--primary {
    background-color: var(--brand-red) !important;
}
.hero__btn--primary:hover {
    background-color: var(--brand-blue) !important;
}

.hero__btn--ghost {
    background-color: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.18) !important;
    color: var(--white) !important;
}
.hero__btn--ghost:hover {
    background-color: var(--white) !important;
    color: var(--black) !important;
}

/* Horizontal Winding Application Ribbon */
.hero__cards-ribbon-container {
    position: relative;
    z-index: 2;
    overflow: hidden;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
}

.hero__cards-track {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none;  /* Hide scrollbar for IE/Edge */
    margin: 0;
    padding: 0;
}

.hero__cards-track::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome/Safari */
}

.hero__card--vertical {
    background: rgba(29, 29, 26, 0.7);
    backdrop-filter: blur(20px) saturate(130%);
    -webkit-backdrop-filter: blur(20px) saturate(130%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-right: -1px;
    border-radius: 0px;
    overflow: hidden;
    cursor: pointer;
    transition: background-color 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 25vw; /* Desktop: 4 cards visible */
    min-width: 25vw; /* Prevent card width shrinking */
    scroll-snap-align: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 992px) {
    .hero__card--vertical:first-child {
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
    }
    .hero__card--vertical:last-child {
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        margin-right: 0;
    }
}

.hero__card-img-wrap {
    width: 100%;
    height: 250px; /* Increased image height to match aramid */
    overflow: hidden;
    position: relative;
    background-color: #0b0c0d;
}

.hero__card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.0);
    transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.6;
}

.hero__card-content {
    padding: 16px 20px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.hero__card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.35;
    margin-bottom: 6px;
    transition: color 250ms ease;
}

.hero__card-meta {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
    letter-spacing: 0.02em;
    transition: color 250ms ease;
}

/* Card hover and active states */
.hero__card--vertical:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: rgba(220, 0, 0, 0.5);
    z-index: 3;
}

.hero__card--vertical:hover .hero__card-img-wrap img {
    transform: scale(1.06);
    opacity: 0.95;
}

.hero__card--vertical.active {
    background-color: rgba(220, 0, 0, 0.12);
    border-color: var(--brand-red);
    z-index: 5;
    box-shadow: 
        inset 0 0 15px rgba(220, 0, 0, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero__card--vertical.active .hero__card-img-wrap img {
    opacity: 0.95;
}

.hero__card--vertical.active .hero__card-title {
    color: #ffffff;
}

.hero__card--vertical.active .hero__card-meta {
    color: rgba(255, 255, 255, 0.8);
}

/* Ribbon Card Responsive Breakpoints */
@media (max-width: 991px) {
    .hero__card--vertical {
        flex: 0 0 33.33vw; /* Tablet: 3 cards visible */
        min-width: 33.33vw; /* Prevent card width shrinking on tablet */
    }
    .hero__card-img-wrap {
        height: 210px;
    }
}

@media (max-width: 768px) {
    .hero__card--vertical {
        flex: 0 0 70vw; /* Mobile: 1.4 cards visible */
        min-width: 70vw; /* Prevent card width shrinking on mobile */
    }
    .hero__card-img-wrap {
        height: 170px;
    }
    .hero__card-content {
        padding: 12px 14px 14px;
    }
    .hero__card-title {
        font-size: 13px;
    }
    .hero__card-meta {
        font-size: 10px;
    }
}

/* Trust Looping Marquee */
.hero2__marquee-wrap {
    overflow: hidden;
    white-space: nowrap;
    background-color: rgba(29, 29, 26, 0.85);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 12px 0;
}
.hero2__marquee-track {
    display: inline-block;
    animation: marquee 25s linear infinite;
}
.hero2__marquee-item {
    display: inline-block;
    font-family: var(--font-headers);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.6);
    padding: 0 20px;
}
.hero2__marquee-sep {
    color: var(--brand-red);
    font-weight: 900;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─── SECTION COMMON STYLES ─── */
.section {
    padding: var(--section-padding) 0;
    border-bottom: 1px solid var(--gray-100);
}
.section--light {
    background-color: var(--white);
}
.section--specs {
    background-color: var(--brand-light-blue);
}

.section__header {
    text-align: center;
    margin-bottom: clamp(32px, 5vw, 48px);
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}
.section__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-red);
    background-color: rgba(220, 0, 0, 0.05);
    border: 1px solid rgba(220, 0, 0, 0.18);
    padding: 4px 12px;
    margin-bottom: 12px;
}
.section__title {
    font-size: clamp(24px, 4vw, 36px);
    color: var(--brand-black);
    margin-bottom: 14px;
}
.section__description {
    font-size: 15px;
    max-width: 650px;
    margin: 0 auto;
}

/* ─── PRODUCT CATALOG TABS & CARDS ─── */
.product-tab {
    font-family: var(--font-headers);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-grey) !important;
    border: 1px solid var(--brand-light-grey) !important;
    background-color: transparent !important;
    padding: 10px 24px !important;
    border-radius: var(--radius) !important;
    transition: var(--transition);
}

.product-tab:hover,
.product-tab.active {
    color: var(--white) !important;
    background-color: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
}

.product-card {
    border: 1px solid var(--brand-light-grey);
    border-radius: var(--radius);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 90, 139, 0.08) !important;
    border-color: var(--brand-blue);
}

.product-card__info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.product-card__brand {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-red);
    margin-bottom: 6px;
}
.product-card__name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 2px;
}
.product-card__subname {
    color: var(--brand-grey);
    margin-bottom: 12px;
}
.product-card__desc {
    font-size: 13px;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ─── B2B COMPATIBILITY MATRIX TABLE ─── */
.matrix-table {
    border: 1px solid var(--brand-light-grey);
}
.matrix-table th {
    background-color: var(--brand-black);
    color: var(--white);
    font-family: var(--font-headers);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 16px;
    text-align: center;
}
.matrix-table th:first-child,
.matrix-table th:nth-child(2) {
    text-align: left;
}
.matrix-table td {
    padding: 16px;
    font-size: 14px;
    border-bottom: 1px solid var(--brand-light-grey);
}

.compat-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
}

.compat-dot-primary {
    width: 14px;
    height: 14px;
    background-color: var(--brand-red);
    border-radius: 50% !important;
    position: relative;
    cursor: pointer;
}
.compat-dot-secondary {
    width: 14px;
    height: 14px;
    background-color: var(--brand-blue);
    border-radius: 50% !important;
    position: relative;
    cursor: pointer;
}
.compat-none {
    color: var(--brand-mid-grey);
    font-weight: bold;
    display: block;
    text-align: center;
}

/* ─── SELECTION WIZARD TOOL ─── */
.wizard-container {
    background-color: var(--white);
    border-top: 4px solid var(--brand-blue);
    padding: 40px;
    border-radius: var(--radius);
}

.wizard-step-node {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.45;
    transition: var(--transition);
}
.wizard-step-node.active {
    opacity: 1;
}
.wizard-step-node.completed .step-num {
    background-color: var(--brand-blue);
    color: var(--white);
}
.step-num {
    width: 26px;
    height: 26px;
    border-radius: 50% !important;
    background-color: var(--brand-light-grey);
    color: var(--brand-grey);
    font-weight: 700;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.wizard-step-node.active .step-num {
    background-color: var(--brand-red);
    color: var(--white);
}
.step-label {
    font-family: var(--font-headers);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.wizard-step-panel {
    display: none;
}
.wizard-step-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.wizard-card-option {
    display: block;
    cursor: pointer;
    width: 100%;
}
.wizard-card-inner {
    border: 1px solid var(--brand-light-grey);
    padding: 24px;
    transition: var(--transition);
    height: 100%;
}
.wizard-card-option input:checked + .wizard-card-inner {
    border-color: var(--brand-red);
    background-color: rgba(220,0,0,0.02);
    box-shadow: 0 4px 12px rgba(220, 0, 0, 0.05);
}

/* Result styles in wizard */
.wizard-result-card {
    border-left: 4px solid var(--brand-blue);
    background-color: var(--gray-50);
    padding: 16px;
    margin-bottom: 12px;
}
.wizard-result-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-black);
}
.wizard-result-desc {
    font-size: 13px;
    color: var(--gray-700);
}

/* ─── CASE STUDIES / NEWS CARDS ─── */
.signpost-card {
    border: 1px solid var(--brand-light-grey) !important;
    transition: var(--transition);
}
.signpost-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(220, 0, 0, 0.05) !important;
    border-color: var(--brand-red) !important;
}
.card-images {
    overflow: hidden;
}
.card-images img {
    transition: var(--transition);
}
.signpost-card:hover .card-images img {
    transform: scale(1.05);
}

/* ─── ABOUT / STATS CARDS ─── */
.stat-card {
    border-left: 3px solid var(--brand-red) !important;
}

.why-us-visual img {
    transition: transform 6s ease;
}
.why-us-visual:hover img {
    transform: scale(1.08);
}
.why-us-overlay {
    background: linear-gradient(0deg, rgba(29,29,26,0.9) 0%, rgba(29,29,26,0) 100%);
}

/* ─── RFQ ENQUIRY FORM ─── */
.enquiry-card {
    border-radius: var(--radius);
    border: 1px solid var(--brand-light-grey) !important;
}
.form-control {
    border-radius: var(--radius);
    border-color: var(--brand-mid-grey);
    font-size: 14px;
    padding: 10px 14px;
}
.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 90, 139, 0.15);
    border-color: var(--brand-blue);
}

.file-upload-dropzone {
    border: 2px dashed var(--brand-mid-grey) !important;
    background-color: var(--gray-50);
    transition: var(--transition);
    cursor: pointer;
}
.file-upload-dropzone:hover {
    border-color: var(--brand-blue) !important;
    background-color: rgba(0, 90, 139, 0.02);
}

/* ─── CORPORATE FOOTER ─── */
footer {
    background-color: var(--brand-black);
    color: rgba(255,255,255,0.6);
}
.footer-nav-list li {
    margin-bottom: 8px;
}
.footer-nav-list a {
    color: rgba(255,255,255,0.55);
}
.footer-nav-list a:hover {
    color: var(--white);
    padding-left: 4px;
}
.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background-color: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.social-link:hover {
    background-color: var(--brand-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* ─── SCROLL REVEAL UTILITIES ─── */
[data-animate] {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}
[data-animate="fade-right"] {
    transform: translateX(-30px);
}
[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].visible {
    opacity: 1;
    transform: translate(0) !important;
}

/* Keyframes for transitions */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive Rotating Wrap for Mobile */
@media (max-width: 767px) {
    .hero__rotating-wrap {
        display: inline-block;
        margin-left: 0;
        text-align: center;
        border-bottom: 2px solid var(--brand-red);
        margin-top: 8px;
    }
}

/* ─── HEADER OFFICE LOCATIONS STRIP ─── */
.header-office-strip {
    background-color: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--brand-black);
    text-transform: uppercase;
    width: 100%;
}

.office-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--brand-black);
}

.office-icon {
    width: 12px;
    height: 12px;
    color: var(--brand-red);
    display: inline-block;
    vertical-align: middle;
}

.office-separator {
    color: var(--brand-mid-grey);
    font-size: 12px;
    font-weight: 400;
}

/* ─── CHATBOT FLOATING WIDGET (AGENTFORCE STYLE) ─── */
.chatbot-toggle-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 20px 8px 8px;
    height: 52px;
    border-radius: 26px !important;
    background-color: #DC0000;
    color: var(--white);
    border: none;
    box-shadow: 0 8px 24px rgba(220, 0, 0, 0.4);
    cursor: pointer;
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
}

.chatbot-toggle-btn:hover {
    transform: translateY(-2px) scale(1.03);
    background-color: #B30000;
    box-shadow: 0 10px 28px rgba(220, 0, 0, 0.5);
}

.chatbot-toggle-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50% !important;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    overflow: hidden;
    flex-shrink: 0;
}

.toggle-avatar-svg {
    width: 100%;
    height: 100%;
}

.chatbot-toggle-text {
    font-size: 14.5px;
    font-weight: 700;
    font-family: var(--font-primary);
    white-space: nowrap;
}

@media (max-width: 480px) {
    .chatbot-toggle-btn {
        bottom: 16px;
        right: 16px;
        height: 44px;
        padding: 6px 14px 6px 6px;
        gap: 8px;
    }
    .chatbot-toggle-avatar {
        width: 30px;
        height: 30px;
        padding: 2px;
    }
    .chatbot-toggle-text {
        font-size: 13px;
    }
    .chatbot-widget {
        bottom: 72px;
        right: 16px;
    }
}


/* Chatbot Widget Container */
.chatbot-widget {
    position: fixed;
    bottom: 96px;
    right: 24px;
    width: 420px;
    max-width: 90vw;
    height: 520px;
    display: flex;
    flex-direction: column;
    background: rgba(13, 15, 16, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: none;
    border-radius: 16px !important;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    z-index: 999;
    overflow: hidden;
    animation: chat-widget-in 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
                height 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                right 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes chat-widget-in {
    0% { opacity: 0; transform: translateY(20px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
.chatbot-header {
    padding: 16px 20px;
    background: rgba(20, 22, 24, 0.95);
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50% !important;
}

.robot-face-svg {
    width: 100%;
    height: 100%;
}

.chatbot-title-block {
    display: flex;
    flex-direction: column;
}

.chatbot-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.01em;
}

.chatbot-header-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-minimize-btn,
.chatbot-maximize-btn,
.chatbot-reset-btn {
    width: 28px;
    height: 28px;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.chatbot-minimize-btn:hover,
.chatbot-maximize-btn:hover,
.chatbot-reset-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-minimize-btn:active,
.chatbot-maximize-btn:active,
.chatbot-reset-btn:active {
    transform: scale(0.92);
}

.chatbot-minimize-btn .minimize-icon {
    width: 16px;
    height: 16px;
}

.chatbot-maximize-btn .maximize-icon {
    width: 14px;
    height: 14px;
}

.chatbot-reset-btn .reset-icon {
    width: 14px;
    height: 14px;
}

/* Toggle Expand/Restore Paths inside SVG */
.chatbot-widget.maximized .expand-path {
    display: none;
}
.chatbot-widget:not(.maximized) .restore-path {
    display: none;
}

/* Maximized Widget Styles */
.chatbot-widget.maximized {
    width: 650px;
    height: 80vh;
    max-height: 850px;
    bottom: 24px;
    right: 24px;
    border-radius: 20px !important;
}

@media (max-width: 768px) {
    .chatbot-widget.maximized {
        width: calc(100% - 32px);
        height: calc(100vh - 100px);
        bottom: 80px;
        right: 16px;
    }
}

@media (max-width: 480px) {
    .chatbot-widget.maximized {
        width: 100vw;
        height: 100vh;
        max-width: 100vw;
        max-height: 100vh;
        bottom: 0;
        right: 0;
        border-radius: 0 !important;
        z-index: 9999;
    }
}

/* Chat Body (Message area) */
.chatbot-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.chatbot-messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Message Bubbles */
.chat-message {
    display: flex;
    max-width: 80%;
}

.chat-message.user {
    align-self: flex-end;
}

.chat-message.agent {
    align-self: flex-start;
}

.chat-message .message-content {
    padding: 12px 16px;
    font-size: 13.5px;
    line-height: 1.5;
    border-radius: 12px !important;
}

.chat-message.user .message-content {
    background-color: rgba(220, 0, 0, 0.15);
    color: rgba(255, 255, 255, 0.95);
    border-bottom-right-radius: 2px !important;
}

.chat-message.agent .message-content {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.9);
    border-bottom-left-radius: 2px !important;
}

/* Typing Indicator */
.chat-message.agent.typing .message-content {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
}

.typing-dot {
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50% !important;
    animation: typing-dot-bounce 1.4s infinite ease-in-out;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-dot-bounce {
    0%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-5px); }
}

/* Footer (Input & Suggestions) */
.chatbot-footer {
    padding: 12px 16px 16px;
    background: rgba(10, 12, 13, 0.4);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Sparkles Input Bar */
.chatbot-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 24px !important;
    padding: 4px 6px 4px 14px;
}

.chatbot-input-wrapper .sparkles-icon {
    width: 18px;
    height: 18px;
    color: rgba(220, 0, 0, 0.8);
    margin-right: 8px;
    flex-shrink: 0;
}

.chatbot-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 8px 0;
    font-size: 13.5px;
    color: #ffffff;
    outline: none;
}

.chatbot-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.chatbot-send-btn {
    width: 32px;
    height: 32px;
    border-radius: 50% !important;
    background-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.chatbot-input-wrapper input:valid + .chatbot-send-btn,
.chatbot-send-btn:hover {
    background-color: rgba(220, 0, 0, 0.2);
    color: #DC0000;
}

.chatbot-send-btn .send-icon {
    width: 14px;
    height: 14px;
    transform: rotate(45deg);
    margin-left: -2px;
    margin-top: -1px;
}

/* Suggestions Stack - Redesigned to be horizontal tags */
.chatbot-suggestions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: flex-start;
}

.chatbot-suggestion-chip {
    width: auto;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px !important;
    color: rgba(255, 255, 255, 0.85);
    font-size: 11.5px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.chatbot-suggestion-chip:hover {
    background: rgba(220, 0, 0, 0.15);
    border-color: rgba(220, 0, 0, 0.3);
    color: var(--white);
    transform: translateY(-1px);
}

/* WhatsApp / Talk to Humans Strip */
.chatbot-whatsapp-strip {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 12px;
    margin-top: 4px;
}

.chatbot-whatsapp-strip a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #3aa56a;
    color: #f0fbf5;
    padding: 10px 16px;
    border-radius: 20px !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(58, 165, 106, 0.2);
}

.chatbot-whatsapp-strip a:hover {
    background: #2e8b54;
    color: #f0fbf5;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(46, 139, 87, 0.3);
}

.chatbot-whatsapp-strip .whatsapp-icon {
    width: 18px;
    height: 18px;
}

/* Sticky WhatsApp Sidebar Button */
.sticky-whatsapp-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9990;
    width: 48px;
    height: 48px;
    background-color: #25D366; /* WhatsApp Green */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 12px;
    border-radius: 4px 0 0 4px;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    white-space: nowrap;
    text-decoration: none;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease;
}

.sticky-whatsapp-sidebar:hover {
    background-color: #128c7e;
    width: 140px;
}

.sticky-whatsapp-sidebar .sticky-whatsapp-icon {
    width: 24px;
    height: 24px;
    color: #ffffff;
    flex-shrink: 0;
}

.sticky-whatsapp-sidebar .sticky-whatsapp-text {
    color: #ffffff;
    font-family: var(--font-sans, 'Inter', sans-serif);
    font-size: 14.5px;
    font-weight: 600;
    margin-left: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.sticky-whatsapp-sidebar:hover .sticky-whatsapp-text {
    opacity: 1;
    transition-delay: 0.1s;
}

@media (max-width: 768px) {
    .sticky-whatsapp-sidebar {
        width: 42px;
        height: 42px;
        padding: 0 9px;
    }
    .sticky-whatsapp-sidebar .sticky-whatsapp-icon {
        width: 24px;
        height: 24px;
    }
    .sticky-whatsapp-sidebar:hover {
        width: 42px;
    }
    .sticky-whatsapp-sidebar:hover .sticky-whatsapp-text {
        opacity: 0;
    }
}

/* Product Card Image Zoom Transition on Hover */
.product-card__img-wrap img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-card__img-wrap img {
    transform: scale(1.05);
}

/* News Feed Skeleton Loading Styles */
@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.news-feed-skeleton .skeleton-image {
    background: #e9ecef;
    animation: pulse 1.5s infinite ease-in-out;
}

.news-feed-skeleton .skeleton-line {
    background: #e9ecef;
    animation: pulse 1.5s infinite ease-in-out;
    border-radius: 4px;
}

/* Glassmorphic overlay card */
.glass-card {
    background: rgba(26, 26, 26, 0.7) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3) !important;
}

.glass-card .stat-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    transition: transform 0.3s ease, background 0.3s ease;
}

.glass-card .stat-card:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08) !important;
}

/* ─── MANUFACTURING SECTION / GLOBAL FOOTPRINT ─── */
.manufacturing-section {
    min-height: 650px;
    padding: var(--section-padding) 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid var(--gray-200);
}

.manufacturing-section__bg {
    background-size: cover;
    background-position: center;
    filter: brightness(98%);
    z-index: 0;
    height: 130% !important;
    top: -15% !important;
    will-change: transform;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.manufacturing-section__overlay {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1;
}

@media (max-width: 768px) {
    .manufacturing-section {
        min-height: auto;
    }
    .manufacturing-section__overlay {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

.datasheet-card {
    background: rgba(255, 255, 255, 0.35) !important;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-top: 4px solid var(--brand-red) !important;
    border-radius: 0 !important;
    transition: transform var(--transition), box-shadow var(--transition);
}

.datasheet-card:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1) !important;
}

.datasheet-card__icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 0, 0, 0.1);
    border-radius: 0 !important;
}

.datasheet-card .btn {
    border-radius: 0 !important;
}

.manufacturing-section__tag {
    font-family: var(--font-primary);
    font-size: 11px;
    color: var(--brand-red);
    letter-spacing: 0.15em;
}

.manufacturing-section__title {
    font-family: var(--font-primary);
    font-size: clamp(28px, 3.5vw, 40px);
    line-height: 1.2;
    color: #111111;
    letter-spacing: -0.01em;
}

.manufacturing-section__text {
    font-family: var(--font-primary);
    font-size: 15px;
    line-height: 1.7;
    color: #333333 !important;
    max-width: 480px;
}

/* ── Download Overlay ── */
#downloadOverlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0, 0, 0, 0.55);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s ease;
}
#downloadOverlay.active { opacity: 1; pointer-events: all; }
.dov-card {
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--brand-red);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.03) inset,
                0 32px 64px rgba(0,0,0,0.45);
    backdrop-filter: blur(28px) brightness(1.08);
    -webkit-backdrop-filter: blur(28px) brightness(1.08);
    max-width: 360px; width: 100%;
    padding: 36px 32px 0;
    position: relative;
    transform: translateY(28px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.22,1,0.36,1);
    overflow: hidden;
}
#downloadOverlay.active .dov-card { transform: translateY(0) scale(1); }
.dov-close {
    position: absolute; top: 14px; right: 16px;
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.4); font-size: 14px;
    cursor: pointer; line-height: 1; padding: 4px 9px;
    transition: all 0.2s;
}
.dov-close:hover { color: var(--brand-red); border-color: rgba(220,0,0,0.4); background: rgba(220,0,0,0.08); }
.dov-icon-wrap { display: flex; justify-content: center; margin-bottom: 20px; }
.dov-svg { width: 58px; height: 58px; }
.dov-circle {
    stroke-dasharray: 151; stroke-dashoffset: 151;
    animation: sov-circle-in 0.55s ease 0.15s forwards;
}
.dov-icon-group {
    opacity: 0;
    animation: dov-icon-in 0.3s ease 0.65s forwards;
}
@keyframes dov-icon-in {
    0%   { opacity: 0; transform: translateY(-4px); }
    100% { opacity: 1; transform: translateY(0); }
}
.dov-tag {
    font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
    color: var(--brand-red); text-align: center; margin: 0 0 10px;
    text-transform: uppercase;
}
.dov-title {
    font-size: 24px; font-weight: 700; color: rgba(255,255,255,0.95);
    text-align: center; margin: 0 0 10px; line-height: 1.2;
}
.dov-title span { color: var(--brand-red); }
.dov-sub {
    font-size: 14px; color: rgba(255,255,255,0.45); text-align: center;
    line-height: 1.7; margin: 0 0 12px;
}
.dov-sub strong { color: rgba(255,255,255,0.85); font-weight: 600; }
.dov-filename {
    font-size: 11px; color: rgba(255,255,255,0.2); text-align: center;
    margin: 0 0 28px; letter-spacing: 0.5px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dov-progress {
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: rgba(255,255,255,0.06);
}
.dov-progress-bar { height: 100%; background: var(--brand-red); width: 100%; }
#downloadOverlay.active .dov-progress-bar {
    animation: sov-drain 4s linear forwards;
}

@keyframes sov-circle-in { to { stroke-dashoffset: 0; } }
@keyframes sov-drain { to { width: 0%; } }

/* ── Dark Modal Elements ── */
.cta-dark-tag {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--brand-red);
}

.modal-content.bg-dark .bg-dark-input {
    border-radius: 0 !important;
}

.modal-content.bg-dark .bg-dark-input {
    background-color: rgba(13, 15, 16, 0.45) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.modal-content.bg-dark .bg-dark-input:focus {
    background-color: rgba(13, 15, 16, 0.65) !important;
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 0, 0, 0.2) !important;
}

.bg-dark-input {
    background-color: #0d0f10 !important;
    border-color: #2d3748 !important;
    color: var(--white) !important;
    border-radius: 0 !important;
    font-size: 14px;
}

.bg-dark-input::placeholder {
    color: #4b5563 !important;
}

.bg-dark-input:focus {
    background-color: #0d0f10 !important;
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 0.25rem rgba(220, 0, 0, 0.25) !important;
    color: var(--white) !important;
}

.bg-dark-input option {
    background-color: #121517 !important;
    color: var(--white) !important;
}

.form-select.bg-dark-input {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
}

.modal-header .btn-close-white {
    opacity: 0.6;
}

/* Spinner icon animation */
.spin-icon {
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}




