/*
Theme Name: Shah Associates
Theme URI: https://shahassociates.in
Author: Shah Associates
Author URI: https://shahassociates.in
Description: Custom WordPress theme for Shah Associates — Gujarat's leading weaving loom accessories supplier. Professional B2B industrial theme with precision-engineered design.
Version: 3.0.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shah-associates
Tags: one-page, custom-menu, industrial, manufacturing, b2b
*/

/* ============================================
   TYPOGRAPHY INJECTION
   ============================================ */
@font-face {
    font-family: 'BelweStdCondensed';
    src: url('./assets/fonts/BelweStdCondensed.woff2') format('woff2'),
        url('./assets/fonts/BelweStdCondensed.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'NeueHelveticaBQ';
    src: url('./assets/fonts/NeueHelveticaBQ.woff2') format('woff2'),
        url('./assets/fonts/NeueHelveticaBQ.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ============================================
   DESIGN SYSTEM
   ============================================ */

:root {
    --primary-red: #ED1C24;
    --primary-red-hover: #C9151C;
    --brand-black: #111111;
    --dark-grey: #111111;
    --darker-grey: #111111;
    --text-color: #111111;
    --text-muted: #4A4A4A;
    --light-bg: #F8F9FA;
    --white: #FFFFFF;
    --border-color: #E9ECEF;
    --web-blue-primary: #0D4EA6;
    --web-blue-dark: #083A7A;
    --web-blue-light: #DCEBFA;
    --web-blue-accent: #2F6FCC;
    --transition-speed: 0.3s;
    --container-width: 1140px;
    --section-padding: 80px 0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 76px;
    font-size: 16px;
}

body {
    font-family: 'NeueHelveticaBQ', sans-serif;
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--web-blue-primary);
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--web-blue-dark);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

.text-center {
    text-align: center;
}

.center-block {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   SCROLL REVEAL ANIMATION
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--brand-black);
    font-family: 'BelweStdCondensed', serif;
    letter-spacing: 0.5px;
    font-weight: 700;
    line-height: 1.2;
}

.main-heading {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    letter-spacing: -1px;
    margin-bottom: 20px;
    line-height: 1.15;
}

.highlight {
    color: var(--primary-red);
}

.section-title {
    font-size: 36px;
    margin-bottom: 16px;
    font-family: 'BelweStdCondensed', serif;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: 'NeueHelveticaBQ', sans-serif;
}

.title-underline {
    width: 60px;
    height: 3px;
    background-color: var(--primary-red);
    margin-bottom: 28px;
}

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary-red);
    margin-bottom: 12px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: 2px solid transparent;
    line-height: 1.4;
    text-decoration: none;
    font-family: 'NeueHelveticaBQ', sans-serif;
    box-shadow: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--web-blue-primary);
    color: var(--white);
    border-color: var(--web-blue-primary);
}

.btn-primary:hover {
    background-color: var(--web-blue-dark);
    border-color: var(--web-blue-dark);
    color: var(--white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--web-blue-primary);
    border-color: var(--web-blue-primary);
}

.btn-secondary:hover {
    background-color: var(--web-blue-primary);
    color: var(--white);
    border-color: var(--web-blue-primary);
}

.hero .btn-primary {
    background-color: var(--web-blue-primary);
    color: var(--white);
    border-color: var(--web-blue-primary);
}

.hero .btn-primary:hover {
    background-color: var(--web-blue-dark);
    border-color: var(--web-blue-dark);
}

.hero .btn-secondary {
    background-color: transparent;
    color: var(--brand-black);
    border-color: rgba(0, 0, 0, 0.4);
}

.hero .btn-secondary:hover {
    background-color: var(--brand-black);
    color: var(--white);
    border-color: var(--brand-black);
}

.btn-large {
    padding: 14px 36px;
    font-size: 1rem;
}

/* ============================================
   HEADER
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- 3-ZONE HEADER LAYOUT ---- */
.header-container {
    display: flex;
    align-items: center;
    height: 76px;
}

.header-zone {
    display: flex;
    align-items: center;
    height: 100%;
}

.header-zone--left {
    flex: 0 0 200px;
    justify-content: flex-start;
}

.header-zone--center {
    flex: 1 1 auto;
    justify-content: center;
}

.header-zone--right {
    flex: 0 0 200px;
    justify-content: flex-end;
}

/* ---- LOGO CONTROLS (STRICT) ---- */
.header-logo-link {
    display: inline-flex;
    align-items: center;
    height: 100%;
    text-decoration: none;
}

.header-logo {
    display: block;
    width: auto;
    object-fit: contain;
    /* Hard ceiling — nothing can exceed this */
    max-height: 44px !important;
    max-width: 180px !important;
}

/* Optical balance tweaks per brand */
.header-logo--sa {
    max-height: 44px !important;
}
.header-logo--maksteel {
    max-height: 36px !important;
}

/* ---- NAV CENTER ---- */
.main-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    height: 100%;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .header-container {
        height: 64px;
    }
    .header-zone--left {
        flex: 1 1 auto;
    }
    .header-zone--right {
        display: none !important;
    }
    .header-zone--center {
        flex: 0 0 auto;
        justify-content: flex-end;
    }
    .header-logo--sa {
        max-height: 36px !important;
    }
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
}

.nav-links li {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--brand-black);
    /* Set default to dark grey */
    letter-spacing: 0.3px;
    position: relative;
    padding: 0;
    line-height: normal;
    /* Fix alignment */
    height: 100%;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: calc(50% - 14px);
    /* Perfect underline placement regardless of total height */
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--web-blue-primary);
    transition: width var(--transition-speed) ease;
}

.nav-links a:hover {
    color: var(--web-blue-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hide Request Quote button from header */
.nav-cta {
    display: none !important;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px;
    position: relative;
    z-index: 1002;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--dark-grey);
    /* Permanent dark span for white background */
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

/* ============================================
   DROPDOWN NAVIGATION
   ============================================ */

.has-dropdown {
    position: relative;
}

.has-dropdown>a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 220px;
    background-color: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    list-style: none;
    border-radius: 6px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid var(--white);
}

/* Hover bridge to prevent gap close */
.has-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 14px;
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 9px 20px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark-grey) !important;
    transition: all 0.2s ease;
    white-space: nowrap;
    border-radius: 0;
}

.dropdown-menu li a::after {
    display: none !important;
}

.dropdown-menu li a:hover {
    background-color: var(--web-blue-light);
    color: var(--web-blue-primary) !important;
    padding-left: 24px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
}

/* Static hero background image */
.hero-static-bg {
    position: absolute;
    inset: 0;
    background-image: url('assets/Harness BG Hero Image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -4;
}

/* Background video layer (bottom-most) */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

/* Animated gradient canvas background — transparent base so video shows through */
.hero-gradient-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: #1A1D20;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg,
            rgba(180, 12, 20, 0.92) 0%,
            rgba(160, 10, 18, 0.75) 40%,
            rgba(140, 8, 14, 0.4) 100%);
    z-index: -1;
    display: none;
}

.hero-content {
    width: 100%;
}

.hero-text {
    max-width: 720px;
    color: var(--brand-black);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Credibility Line */
.hero-credibility-line {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--dark-grey);
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-red);
    padding-left: 12px;
}

/* Rotating Keyword */
.hero-rotating-wrapper {
    display: inline-block;
    position: relative;
    height: 1.2em;
    overflow: hidden;
    vertical-align: bottom;
    min-width: 280px;
}

.hero-rotating-word {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    color: var(--web-blue-primary);
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-rotating-word.active {
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tagline {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-red);
    margin-bottom: 20px;
    border-left: 3px solid var(--primary-red);
    padding-left: 12px;
}

.hero-text .main-heading {
    color: var(--brand-black);
    text-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

.subtext {
    text-shadow: 0 1px 4px rgba(0,0,0,0.08);
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: var(--dark-grey);
    max-width: 540px;
    font-weight: 300;
    line-height: 1.8;
}

.hero-ctas {
    display: flex;
    gap: 16px;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator-line {
    width: 1px;
    height: 32px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(8px);
    }
}

/* ============================================
   CREDIBILITY MARQUEE STRIP
   ============================================ */

.marquee-strip {
    background-color: var(--web-blue-dark);
    overflow: hidden;
    padding: 14px 0;
    white-space: nowrap;
}

.marquee-track {
    display: inline-flex;
    gap: 24px;
    animation: marqueeScroll 30s linear infinite;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ============================================
   FEATURES STRIP
   ============================================ */

.features-strip {
    background-color: var(--white);
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    background-color: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.07);
    border-radius: 8px;
    transform: translateY(-40px);
    overflow: hidden;
}

.feature-card {
    padding: 40px 32px;
    border-right: 1px solid var(--border-color);
    transition: background-color var(--transition-speed);
}

.feature-card:last-child {
    border-right: none;
}

.feature-card:hover {
    background-color: var(--light-bg);
}

.feature-icon-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--web-blue-accent);
    margin-bottom: 16px;
    font-family: 'BelweStdCondensed', serif;
    opacity: 0.4;
    line-height: 1;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: var(--dark-grey);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    background-color: var(--white);
    overflow: hidden;
    padding-bottom: 0 !important;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image-col {
    position: relative;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.85);
    transition: filter 0.5s ease;
}

.about-image-wrapper:hover img {
    filter: saturate(1);
}

.about-image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--primary-red);
}

.about-experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: var(--primary-red);
    color: var(--white);
    padding: 24px 28px;
    text-align: center;
    z-index: 2;
    box-shadow: 0 8px 24px rgba(217, 4, 41, 0.25);
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
    opacity: 0.9;
}

/* About Text */
.about-text-col .section-title {
    margin-bottom: 12px;
}

.about-lead {
    font-size: 1.08rem;
    color: var(--dark-grey);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 12px;
}

.about-text-col p {
    font-size: 0.98rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 24px;
}

.about-checklist {
    list-style: none;
    margin: 0 0 28px 0;
    padding: 0;
    border-left: 3px solid var(--primary-red);
    padding-left: 20px;
}

.about-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--dark-grey);
    font-weight: 500;
}

.check-icon {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 0.92rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Stats Bar */
.about-stats-bar {
    background-color: var(--darker-grey);
    margin-top: 80px;
    padding: 48px 0;
    margin-bottom: 0;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.08);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 6px;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   WHY CHOOSE SECTION
   ============================================ */

.why-choose {
    background-color: var(--light-bg);
    padding-top: 80px;
}

.usp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.usp-card {
    background-color: var(--white);
    padding: 36px 28px 32px;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    border-radius: 6px;
}

.usp-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.4s ease;
}

.usp-card:hover::before {
    background-color: var(--primary-red);
}

.usp-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.usp-icon-wrap {
    width: 56px;
    height: 56px;
    background-color: var(--darker-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.usp-icon-wrap svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

.usp-card:hover .usp-icon-wrap {
    background-color: var(--primary-red);
    box-shadow: 0 4px 16px rgba(217, 4, 41, 0.25);
}

.usp-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.03);
    line-height: 1;
    letter-spacing: -2px;
    user-select: none;
}

.usp-card:hover .usp-number {
    color: rgba(217, 4, 41, 0.06);
}

.usp-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

.usp-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* New Strengths Layout */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.strength-item {
    background: var(--white);
    padding: 24px;
    border-radius: 6px;
    border-left: 4px solid var(--web-blue-accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.strength-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.strength-item h3 {
    font-size: 1.05rem;
    color: var(--brand-black);
    margin-bottom: 8px;
    line-height: 1.4;
}

/* ============================================
   PRODUCTS SECTION — PREMIUM INDUSTRIAL GRID
   ============================================ */

.products-section {
    background-color: var(--white);
    position: relative;
}

.products-section .section-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 32px;
}

.product-card {
    background-color: var(--white);
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1), 0 0 24px rgba(217, 4, 41, 0.12);
    transform: translateY(-6px);
}

.product-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-red);
    transition: width 0.4s ease;
    z-index: 2;
    border-radius: 0 0 8px 8px;
}

.product-card:hover::before {
    width: 100%;
}

.product-img-placeholder {
    height: 170px;
    background-color: var(--darker-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: background-color 0.4s ease;
    border-radius: 8px 8px 0 0;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.product-card:hover .product-img-placeholder {
    background-color: #222528;
}

.product-svg {
    width: 72px;
    height: 72px;
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.4s ease;
}

.product-card:hover .product-svg {
    color: var(--primary-red);
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(217, 4, 41, 0.25));
}

.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 2rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    user-select: none;
}

.product-info {
    padding: 16px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--dark-grey);
}

.product-info p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    background: none;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-view-details::after {
    content: '→';
    transition: transform 0.3s ease;
}

.btn-view-details:hover {
    color: var(--primary-red-hover);
}

.btn-view-details:hover::after {
    transform: translateX(4px);
}

/* Product Card — Featured Image */
.product-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ============================================
   INDUSTRIES SECTION
   ============================================ */

.industries-section {
    background-color: var(--light-bg);
    position: relative;
}

/* Subtle industrial pattern overlay */
.industries-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.03) 1px, transparent 0);
    background-size: 24px 24px;
    pointer-events: none;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    position: relative;
}

.industry-card {
    background-color: var(--white);
    padding: 32px 24px 28px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.4s ease;
}

.industry-card:hover::before {
    background-color: var(--primary-red);
}

.industry-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.industry-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.industry-icon svg {
    width: 48px;
    height: 48px;
    color: var(--primary-red);
    transition: transform 0.4s ease;
}

/* SVG draw-in animation */
.industry-icon svg line,
.industry-icon svg rect,
.industry-icon svg circle,
.industry-icon svg path {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 0s;
}

.industry-card.revealed .industry-icon svg line,
.industry-card.revealed .industry-icon svg rect,
.industry-card.revealed .industry-icon svg circle,
.industry-card.revealed .industry-icon svg path {
    stroke-dashoffset: 0;
    transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.industry-card.revealed:nth-child(2) .industry-icon svg * { transition-delay: 0.15s; }
.industry-card.revealed:nth-child(3) .industry-icon svg * { transition-delay: 0.3s; }
.industry-card.revealed:nth-child(4) .industry-icon svg * { transition-delay: 0.45s; }

.industry-card:hover .industry-icon svg {
    transform: scale(1.08);
}

.industry-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--dark-grey);
}

.industry-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.industry-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-red);
    background-color: rgba(217, 4, 41, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials-section {
    background-color: var(--light-bg);
    position: relative;
    padding: 100px 0;
}

.testimonials-section .section-title {
    margin-bottom: 24px;
}

.testimonials-section .section-subtitle {
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 56px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background-color: var(--white);
    padding: 32px 28px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.testimonial-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

.testimonial-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex-shrink: 0;
    overflow: hidden;
    position: relative;
    margin-bottom: 24px;
    background-color: var(--web-blue-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subtle quote icon placeholder inside avatar */
.avatar-placeholder::after {
    content: '';
    width: 28px;
    height: 28px;
    background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%232F6FCC" opacity="0.4" xmlns="http://www.w3.org/2000/svg"><path d="M14.017 18L14.017 10.609C14.017 4.905 17.748 1.039 23 0L23.995 2.151C21.563 3.068 20 6.6 20 10.609H24L24 18H14.017ZM0 18V10.609C0 4.905 3.748 1.038 9 0L9.996 2.151C7.563 3.068 6 6.6 6 10.609H10V18H0Z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.testimonial-content {
    flex-grow: 1;
    position: relative;
    margin-bottom: 24px;
}

.testimonial-text {
    font-size: 1.05rem;
    color: var(--dark-grey);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-top: auto;
}

.testimonial-meta {
    flex: 1;
}

.testimonial-meta h4 {
    font-size: 1.05rem;
    color: var(--brand-black);
    margin-bottom: 4px;
    line-height: 1.3;
    font-family: 'NeueHelveticaBQ', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}

.testimonial-meta p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   PHOTO GALLERY SECTION
   ============================================ */
.gallery-section {
    background-color: var(--white);
    position: relative;
    padding: var(--section-padding);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 16px;
}

.gallery-lightbox-link {
    display: block;
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding-bottom: 75%;
    /* 4:3 Aspect Ratio */
    background-color: var(--light-bg);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--web-blue-light);
    color: var(--web-blue-accent);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--web-blue-dark) 0%, #0a3d6e 50%, var(--web-blue-dark) 100%);
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(13, 78, 166, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(47, 111, 204, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.cta-section p {
    font-size: 1rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    padding: 14px 36px;
    background-color: var(--primary-red);
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid var(--primary-red);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.btn-cta-primary:hover {
    background-color: var(--primary-red-hover);
    border-color: var(--primary-red-hover);
    box-shadow: 0 8px 24px rgba(217, 4, 41, 0.3);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-cta-outline {
    padding: 14px 36px;
    background-color: transparent;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background-color: var(--white);
    color: var(--web-blue-dark);
    border-color: var(--white);
}

/* ============================================
   FOOTER — 4 COLUMN PROFESSIONAL
   ============================================ */

.footer {
    background-color: var(--white);
    color: var(--dark-grey);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand p,
.footer-contact p {
    font-size: 0.88rem;
    line-height: 1.7;
    margin-top: 12px;
}

.footer-logo {
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.footer h4,
.footer-links h4,
.footer-products-links h4,
.footer-industries-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--brand-black);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after,
.footer-links h4::after,
.footer-products-links h4::after,
.footer-industries-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--primary-red);
}

.footer-links ul,
.footer-products-links ul,
.footer-industries-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li,
.footer-products-links ul li,
.footer-industries-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a,
.footer-products-links ul li a,
.footer-industries-links ul li a {
    font-size: 0.88rem;
    color: var(--dark-grey);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
    text-decoration: none;
}

.footer-links ul li a:hover,
.footer-products-links ul li a:hover,
.footer-industries-links ul li a:hover {
    color: var(--primary-red);
    padding-left: 6px;
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 0.88rem;
}

.footer-contact p span:first-child {
    flex-shrink: 0;
    color: var(--web-blue-accent);
}

/* Footer Map */
.footer-map {
    padding: 0 24px;
    margin-top: 48px;
}

.footer-map-inner {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    max-width: var(--container-width);
    margin: 0 auto;
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 420px;
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    margin-top: 0;
}

.sub-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--dark-grey);
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--dark-grey);
    font-size: 0.8rem;
    font-weight: 600;
    transition: color 0.3s ease;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--primary-red);
}

.footer-enquiry-link {
    color: var(--primary-red) !important;
    font-weight: 700;
    text-decoration: underline;
}

.footer-enquiry-link:hover {
    color: var(--primary-red-hover) !important;
    text-decoration: underline;
}

.footer-enquiry-icon {
    color: var(--primary-red) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.footer-enquiry-icon svg {
    display: block;
}

/* ============================================
   PRODUCT DETAIL PAGE
   ============================================ */

.product-hero {
    position: relative;
    padding: 140px 0 64px;
    background-color: var(--darker-grey);
    overflow: hidden;
}

.product-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--darker-grey) 0%, #1a1a2e 50%, var(--darker-grey) 100%);
}

.product-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(217, 4, 41, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(217, 4, 41, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

.product-hero-content {
    position: relative;
    z-index: 2;
}

.breadcrumb {
    margin-bottom: 20px;
    font-size: 0.85rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: var(--primary-red);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.25);
    margin: 0 8px;
}

.breadcrumb span:last-child {
    color: var(--white);
    font-weight: 600;
}

.product-hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.product-hero-tagline {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 300;
    max-width: 560px;
}

/* Product Detail Layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.product-detail-image {
    position: sticky;
    top: 120px;
    margin-bottom: 24px;
}

.product-detail-img-placeholder {
    height: 380px;
    background-color: var(--darker-grey);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background-image:
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 20px 20px;
}

.product-detail-img-placeholder .product-svg {
    width: 140px;
    height: 140px;
    color: rgba(255, 255, 255, 0.35);
}

.product-detail-img-has-image {
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--white);
    text-align: center;
}

.product-detail-real-img {
    width: 100%;
    height: auto;
    display: block;
}

.product-detail-overview {
    font-size: 1.05rem;
    color: var(--dark-grey);
    font-weight: 500;
    line-height: 1.8;
    margin-bottom: 16px;
}

.product-detail-desc {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.8;
}

.product-detail-desc table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    font-size: 0.9rem;
}

.product-detail-desc table th {
    background-color: var(--light-bg);
    color: var(--dark-grey);
    padding: 12px 14px;
    text-align: left;
    font-weight: 700;
}

.product-detail-desc table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
}

.product-detail-desc table tr:hover td {
    background-color: #FAFAFA;
}

/* Specs Table */
.specs-heading {
    font-size: 1.35rem;
    margin-bottom: 20px;
    color: var(--dark-grey);
}

.specs-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.specs-table th {
    background-color: var(--darker-grey);
    color: var(--white);
    padding: 12px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.specs-table td {
    padding: 10px 18px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-color);
}

.specs-table tbody tr:hover {
    background-color: var(--light-bg);
}

.specs-table tbody tr:nth-child(even) {
    background-color: #FAFAFA;
}

/* Benefits */
.benefits-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

.benefits-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-left: 3px solid var(--primary-red);
    padding-left: 20px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.92rem;
    color: var(--dark-grey);
    font-weight: 500;
}

.benefit-check {
    color: var(--primary-red);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Loom Types */
.loom-types-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.loom-type-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.loom-type-card:hover {
    border-color: var(--primary-red);
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.loom-type-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-red);
}

.loom-type-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-grey);
}

/* Product CTA */
.product-cta-section {
    position: relative;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--darker-grey) 0%, #16213e 50%, var(--darker-grey) 100%);
    overflow: hidden;
}

.product-cta-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(217, 4, 41, 0.12) 0%, transparent 50%);
    pointer-events: none;
}

.product-cta-content {
    position: relative;
    z-index: 2;
}

.product-cta-section h2 {
    color: var(--white);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.product-cta-section p {
    font-size: 1rem;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.product-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* WhatsApp Button */
.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 36px;
    background-color: #25D366;
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    border: 2px solid #25D366;
    border-radius: 4px;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background-color: #1ebe57;
    border-color: #1ebe57;
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.35);
    transform: translateY(-2px);
    color: var(--white);
}

/* ============================================
   ADDRESS BLOCK (comma-split, uppercase, multiline)
   ============================================ */
.address-block {
    line-height: 1.55;
    letter-spacing: 0.02em;
    margin: 0 0 0.6rem;
}
.footer-address-block {
    margin-bottom: 14px;
}
/* Keep the 📍 + label on one line (inherits the existing flex rule) */
.footer-contact .footer-address-label {
    margin: 0 0 2px;
}
/* Override .footer-contact p { display: flex } so that <br> line breaks inside
   the multi-line uppercase address render as actual breaks, not flex items. */
.footer-contact p.address-block {
    display: block;
    margin: 0;
    padding-left: 22px; /* align under the 📍 icon */
    font-size: 0.92rem;
    color: inherit;
}
.premium-card-text.address-block {
    font-size: 0.95rem;
}

/* ============================================
   POLICY PAGES (Privacy, Terms of Service)
   ============================================ */
.policy-hero {
    background: #1a1a1a;
    padding: 60px 0 40px;
    text-align: center;
}
.policy-hero__title {
    color: #fff;
    font-size: 2rem;
    margin: 0 0 8px;
}
.policy-hero__sub {
    color: #aaa;
    font-size: 0.9rem;
    margin: 0;
}
.policy-content__inner {
    max-width: 880px;
    margin: 0 auto;
    font-size: 0.97rem;
    line-height: 1.8;
    color: #333;
}
.policy-content__inner h2 {
    font-size: 1.15rem;
    margin: 2rem 0 0.5rem;
    color: #1a1a1a;
    border-left: 3px solid var(--primary-red, #c00);
    padding-left: 10px;
}
.policy-content__inner ul {
    padding-left: 1.4rem;
    margin: 0.4rem 0 1rem;
}
.policy-content__inner p {
    margin: 0 0 0.9rem;
}
.policy-highlight {
    background: #eef6f3;
    border-left: 4px solid #0a5c4c;
    padding: 1rem 1.1rem;
    margin: 1.5rem 0;
    border-radius: 6px;
    font-size: 0.95rem;
}
.policy-highlight--warn {
    background: #fff4e6;
    border-left-color: #d97706;
}

/* Industrial Use Note on Product Detail Pages */
.product-industrial-note {
    background: #fff4e6;
    border-left: 4px solid #d97706;
    padding: 14px 18px;
    margin: 24px 0 0;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #6b4a10;
    line-height: 1.55;
}
.product-industrial-note strong {
    color: #7a4a00;
}

/* Floating Quick Enquiry
   Desktop: LEFT side, aligned vertically with the WhatsApp float on the right
   Mobile : LEFT side but raised above the WhatsApp button for readability */
.floating-qe {
    position: fixed;
    left: 0;
    bottom: 25px; /* matches the typical WhatsApp float plugin offset (~20–30px) */
    z-index: 9999;
}
.floating-qe-trigger {
    position: fixed;
    left: 0;
    bottom: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 12px;
    background: var(--primary-red, #ED1C24);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.2;
    box-shadow: 3px 3px 12px rgba(0,0,0,0.2);
    transition: background 0.3s;
}
.floating-qe-trigger svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.floating-qe-trigger:hover {
    background: var(--primary-red-hover, #C9151C);
}
.floating-qe-panel {
    position: fixed;
    left: -360px;
    bottom: 25px;
    width: 340px;
    max-height: 80vh;
    overflow-y: auto;
    background: #fff;
    border-radius: 0 10px 10px 0;
    box-shadow: 6px 0 30px rgba(0,0,0,0.18);
    transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
}
.floating-qe.open .floating-qe-panel {
    left: 0;
}
.floating-qe.open .floating-qe-trigger {
    display: none;
}
/* Multi-product checklist inside floating QE */
.floating-qe-products {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.floating-qe-products-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #333;
}
.floating-qe-products-label .field-hint {
    font-weight: 400;
    color: #888;
    font-size: 0.75rem;
}
.floating-qe-products-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 140px;
    overflow-y: auto;
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fafafa;
}
.floating-qe-product-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    cursor: pointer;
    padding: 3px 2px;
}
.floating-qe-product-item input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary-red, #ED1C24);
}
.floating-qe-consent {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.76rem;
    line-height: 1.45;
    color: #555;
    cursor: pointer;
}
.floating-qe-consent input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    accent-color: var(--primary-red, #ED1C24);
}
.floating-qe-policy {
    margin: 6px 0 0;
    font-size: 0.72rem;
    line-height: 1.5;
    color: #777;
    text-align: center;
}
.floating-qe-policy a {
    color: var(--primary-red, #ED1C24);
    text-decoration: underline;
}
.floating-qe-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 14px;
    border-bottom: 1px solid #eee;
}
.floating-qe-header h4 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
}
.floating-qe-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}
.floating-qe-close:hover { color: #333; }
.floating-qe-form {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.floating-qe-form input:not([type="checkbox"]):not([type="hidden"]),
.floating-qe-form select,
.floating-qe-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.88rem;
    font-family: inherit;
    transition: border-color 0.3s;
    box-sizing: border-box;
    background: #fafafa;
}
.floating-qe-form input:not([type="checkbox"]):not([type="hidden"]):focus,
.floating-qe-form select:focus,
.floating-qe-form textarea:focus {
    border-color: var(--primary-red, #c0392b);
    outline: none;
    background: #fff;
}
.floating-qe-form textarea {
    resize: vertical;
}
.floating-qe-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary-red, #c0392b);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s;
}
.floating-qe-submit:hover {
    background: #a93226;
}
.floating-qe-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
@media (max-width: 480px) {
    /* On mobile lift the QE above the WhatsApp button's vertical line for readability */
    .floating-qe,
    .floating-qe-trigger {
        bottom: 95px;
    }
    .floating-qe-panel {
        width: 290px;
        left: -310px;
        bottom: 95px;
    }
    .floating-qe-trigger {
        padding: 10px 8px;
        font-size: 0.6rem;
    }
    .floating-qe-trigger svg {
        width: 16px; height: 16px;
    }
}

/* Other Products */
.other-products {
    background-color: var(--light-bg);
}

.other-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.other-product-card {
    display: block;
    background-color: var(--white);
    padding: 32px 24px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.other-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color 0.4s ease;
}

.other-product-card:hover::before {
    background-color: var(--primary-red);
}

.other-product-card:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.other-product-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background-color: var(--darker-grey);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.other-product-icon .product-svg {
    width: 32px;
    height: 32px;
    color: var(--white);
}

.other-product-card:hover .other-product-icon {
    background-color: var(--primary-red);
}

.other-product-card h3 {
    font-size: 1.05rem;
    margin-bottom: 12px;
    color: var(--dark-grey);
}

/* ============================================
   RESPONSIVE — TABLET (1024px)
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --section-padding: 64px 0;
    }

    .container {
        padding: 0 24px;
    }

    .section-title {
        font-size: 30px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .usp-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .product-detail-image {
        position: static;
    }

    .benefits-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .other-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-item:nth-child(2)::after {
        display: none;
    }

    .hero-rotating-wrapper {
        min-width: 220px;
    }

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

/* ============================================
   RESPONSIVE — MOBILE (768px)
   ============================================ */

@media (max-width: 768px) {
    :root {
        --section-padding: 48px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* ---- Typography ---- */
    .section-label {
        font-size: 0.65rem;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    /* ---- Header & Mobile Nav ---- */
    .header {
        padding: 10px 0;
        height: auto;
    }

    .header .container {
        height: 56px;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo img {
        height: 40px;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-nav {
        gap: 0;
        height: auto;
    }

    /* Nav slide-out panel */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        height: 100dvh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 24px 32px;
        gap: 0;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        overflow-y: auto;
    }

    .nav-links.active {
        right: 0;
    }

    /* Backdrop overlay when nav is open */
    .nav-links.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: -100vw;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.4);
        z-index: -1;
    }

    .main-nav .nav-links li {
        display: block !important;
        border-bottom: 1px solid var(--border-color);
        height: auto !important;
        width: 100% !important;
        text-align: left !important;
    }

    .main-nav .nav-links > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 100% !important;
        padding: 14px 0 !important;
        color: var(--dark-grey) !important;
        font-size: 0.95rem !important;
        height: auto !important;
        line-height: 1.5 !important;
        text-align: left !important;
        gap: 6px !important;
    }

    .main-nav .nav-links a::after { display: none !important; }
    .nav-cta { display: none !important; }

    /* Mobile Dropdown — drops DOWN below the parent, full-width, clean */
    .main-nav .nav-links li.has-dropdown {
        position: relative !important;
        display: block !important;
    }

    .main-nav .nav-links li.has-dropdown > ul.dropdown-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        min-width: 0 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        background: transparent !important;
        list-style: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        text-align: left !important;
    }

    .main-nav .nav-links li.has-dropdown > ul.dropdown-menu::before { display: none !important; }
    .main-nav .nav-links li.has-dropdown::after { display: none !important; }

    .main-nav .nav-links li.has-dropdown.dropdown-open > ul.dropdown-menu {
        max-height: 1000px;
        padding: 4px 0 10px !important;
    }

    /* Rotate chevron when open */
    .dropdown-arrow {
        transition: transform 0.3s ease;
    }
    .has-dropdown.dropdown-open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .main-nav .nav-links li.has-dropdown > ul.dropdown-menu > li {
        display: block !important;
        width: 100% !important;
        border-bottom: none !important;
        list-style: none !important;
        text-align: left !important;
    }

    .main-nav .nav-links li.has-dropdown > ul.dropdown-menu > li > a {
        display: block !important;
        width: auto !important;
        padding: 9px 0 9px 20px !important;
        font-size: 0.85rem !important;
        font-weight: 500 !important;
        color: var(--text-muted) !important;
        white-space: normal !important;
        word-break: break-word !important;
        text-align: left !important;
        line-height: 1.4 !important;
        border-left: 2px solid var(--border-color);
        height: auto !important;
    }

    .main-nav .nav-links li.has-dropdown > ul.dropdown-menu > li > a:hover,
    .main-nav .nav-links li.has-dropdown > ul.dropdown-menu > li > a:focus {
        color: var(--primary-red) !important;
        background-color: transparent !important;
        border-left-color: var(--primary-red);
    }

    /* ---- Hero Section ---- */
    .hero {
        min-height: 80vh;
        padding-top: 56px;
    }

    .hero-credibility-line {
        font-size: 0.65rem;
        letter-spacing: 2px;
        margin-bottom: 16px;
    }

    .main-heading {
        font-size: 1.75rem;
        line-height: 1.25;
    }

    .hero-rotating-wrapper {
        display: block;
        min-width: 0;
        height: auto;
        overflow: visible;
    }

    .hero-rotating-word {
        position: absolute;
        display: block;
    }

    .hero-rotating-word.active {
        position: relative;
    }

    .subtext {
        font-size: 0.88rem;
        margin-bottom: 24px;
        line-height: 1.6;
    }

    .hero-ctas {
        flex-direction: column;
        gap: 10px;
    }

    .hero-ctas .btn {
        width: 100%;
        justify-content: center;
    }

    .scroll-indicator {
        display: none;
    }

    /* ---- Marquee Strip ---- */
    .marquee-strip {
        padding: 10px 0;
    }

    .marquee-track {
        font-size: 0.65rem;
        letter-spacing: 1.5px;
        gap: 16px;
    }

    /* ---- Buttons ---- */
    .btn {
        padding: 12px 22px;
        font-size: 0.88rem;
    }

    .btn-large {
        padding: 12px 28px;
        font-size: 0.92rem;
    }

    /* ---- Features Strip ---- */
    .features-strip {
        padding: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        transform: translateY(-20px);
        gap: 0;
    }

    .feature-card {
        padding: 24px 20px;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }

    .feature-card:last-child { border-bottom: none; }

    .feature-icon-text {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .feature-card h3 {
        font-size: 1rem;
    }

    .feature-card p {
        font-size: 0.85rem;
    }

    /* ---- About Section ---- */
    .about-image-wrapper {
        max-width: 100%;
    }

    .about-image-wrapper img {
        height: auto;
        border-radius: 6px;
    }

    .about-experience-badge {
        bottom: -12px;
        right: -8px;
        padding: 14px 18px;
    }

    .badge-number { font-size: 1.8rem; }

    .about-text h2 {
        font-size: 1.5rem;
    }

    .about-text p {
        font-size: 0.88rem;
    }

    .about-checklist li {
        font-size: 0.85rem;
    }

    /* ---- Stats Bar ---- */
    .about-stats-bar {
        margin-top: 40px;
        padding: 32px 0;
    }

    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number { font-size: 1.8rem; }
    .stat-label { font-size: 0.65rem; letter-spacing: 1.5px; }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    /* ---- Strengths / USP ---- */
    .usp-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .strength-item {
        padding: 20px;
    }

    .strength-item h3 {
        font-size: 1rem;
    }

    .strength-item p {
        font-size: 0.85rem;
    }

    /* ---- Products Grid ---- */
    .products-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .product-card {
        padding: 20px 16px;
    }

    .product-img-placeholder {
        height: 140px;
    }

    .product-card h3 {
        font-size: 0.9rem;
    }

    /* ---- Industries Grid ---- */
    .industries-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .industry-card {
        padding: 20px 16px;
    }

    .industry-card h3 {
        font-size: 0.9rem;
    }

    /* ---- Gallery ---- */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .gallery-item {
        padding-top: 80%;
    }

    .gallery-placeholder {
        font-size: 0.7rem;
    }

    /* ---- CTA Section ---- */
    .cta-section {
        padding: 48px 0;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 0.88rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-cta-outline {
        padding: 12px 28px;
        font-size: 0.85rem;
    }

    /* ---- Footer ---- */
    .footer {
        padding-top: 40px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer h4 {
        font-size: 0.7rem;
        margin-bottom: 14px;
    }

    .footer-about p {
        font-size: 0.82rem;
    }

    .footer-links ul li,
    .footer-products-links ul li,
    .footer-industries-links ul li {
        margin-bottom: 6px;
    }

    .footer-links ul li a,
    .footer-products-links ul li a,
    .footer-industries-links ul li a {
        font-size: 0.82rem;
    }

    .footer-contact p {
        font-size: 0.82rem;
    }

    .footer-map iframe {
        height: 220px;
    }

    .sub-footer {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 16px 0;
    }

    .sub-footer p {
        font-size: 0.75rem;
    }

    /* ---- Product Detail Page ---- */
    .product-hero {
        padding: 90px 0 40px;
    }

    .product-hero-title { font-size: 1.6rem; }
    .product-hero-tagline { font-size: 0.88rem; }

    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .product-detail-image {
        position: static;
    }

    .product-detail-img-placeholder {
        height: 220px;
    }

    .product-detail-img-placeholder .product-svg {
        width: 80px;
        height: 80px;
    }

    .product-detail-overview {
        font-size: 0.92rem;
    }

    .product-detail-desc {
        font-size: 0.88rem;
    }

    .product-detail-desc table {
        font-size: 0.8rem;
    }

    .product-detail-desc table th,
    .product-detail-desc table td {
        padding: 8px 10px;
    }

    .loom-types-grid {
        grid-template-columns: 1fr;
    }

    .product-cta-section {
        padding: 40px 0;
    }

    .product-cta-buttons {
        flex-direction: column;
    }

    .product-cta-buttons .btn,
    .btn-whatsapp {
        width: 100%;
        justify-content: center;
        padding: 12px 24px;
    }

    .other-products-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .other-product-card {
        padding: 24px 20px;
    }

    .specs-table th,
    .specs-table td {
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    /* Gallery on product page */
    .product-gallery {
        position: static;
    }

    .gallery-thumb-btn {
        width: 56px;
        height: 56px;
    }

    /* Lightbox mobile */
    .lightbox-img {
        max-width: 96vw;
        max-height: 70vh;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .lightbox-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
}

/* ============================================
   RESPONSIVE — SMALL PHONES (480px)
   ============================================ */

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .main-heading {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .hero-credibility-line {
        font-size: 0.6rem;
        letter-spacing: 1.5px;
    }

    .subtext {
        font-size: 0.82rem;
    }

    .section-title {
        font-size: 22px;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .stats-bar-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .stat-number { font-size: 1.5rem; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .cta-section h2 { font-size: 1.3rem; }

    .about-image-wrapper img {
        height: auto;
    }

    .about-experience-badge {
        padding: 10px 14px;
    }

    .badge-number { font-size: 1.5rem; }
    .badge-text { font-size: 0.55rem; }
}

/* ============================================
   PRODUCT IMAGE GALLERY
   ============================================ */

.product-gallery {
    position: sticky;
    top: 88px;
}

/* Main Image */
.gallery-main {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background-color: #FAFAFA;
    cursor: pointer;
}

.gallery-main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.35s ease;
}

.gallery-main-img.fade-out {
    opacity: 0.3;
}

.gallery-zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--dark-grey);
    transition: all 0.3s ease;
    opacity: 0;
    backdrop-filter: blur(4px);
}

.gallery-main:hover .gallery-zoom-btn {
    opacity: 1;
}

.gallery-zoom-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
    transform: scale(1.1);
}

/* Thumbnails */
.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
    padding-bottom: 4px;
}

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

.gallery-thumbs::-webkit-scrollbar-track {
    background: transparent;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

.gallery-thumb-btn {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    background: var(--white);
    padding: 0;
    transition: all 0.25s ease;
    position: relative;
}

.gallery-thumb-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
    opacity: 1;
    transition: opacity 0.25s ease;
}

.gallery-thumb-btn.active::after,
.gallery-thumb-btn:hover::after {
    opacity: 0;
}

.gallery-thumb-btn.active {
    border-color: var(--primary-red);
    box-shadow: 0 0 0 1px var(--primary-red);
}

.gallery-thumb-btn:hover {
    border-color: var(--primary-red);
}

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

/* ============================================
   LIGHTBOX
   ============================================ */

.gallery-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(8px);
}

.gallery-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 16px 64px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    color: var(--white);
    font-size: 1.3rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ============================================
   GALLERY RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .product-gallery {
        position: static;
    }
}

@media (max-width: 768px) {
    .gallery-thumb-btn {
        width: 60px;
        height: 60px;
    }

    .gallery-zoom-btn {
        opacity: 1;
        width: 36px;
        height: 36px;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }

    .lightbox-prev {
        left: 10px;
    }

    .lightbox-next {
        right: 10px;
    }

    .lightbox-close {
        top: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }
}

/* ============================================
   SUB PRODUCTS
   ============================================ */

.sub-product-detail {
    border-top: 1px solid var(--border-color);
}

.sub-product-layout {
    align-items: start;
}

.sub-product-content .section-title {
    font-size: 1.8rem;
}

.sub-product-table-wrap {
    margin: 24px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

/* Ensure tablepress tables don't overflow the wrap */
.sub-product-table-wrap table {
    min-width: 600px;
    margin-bottom: 0;
}

.sub-product-benefits {
    margin-top: 24px;
}

.sub-product-looms {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sub-product-loom-badge {
    background: rgba(217, 4, 41, 0.08);
    color: var(--primary-red);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE FIXES
   ============================================ */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
    }

    .logo,
    .logo img {
        max-height: 50px;
    }

    .btn {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .btn-large {
        padding: 12px 28px;
        font-size: 0.9rem;
    }

    .product-detail-layout,
    .sub-product-layout {
        gap: 32px;
        /* maintain equal spacing */
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT PAGE REDESIGN
   ============================================ */

/* 1. Contact Hero */
.contact-hero {
    position: relative;
    padding: 90px 0;
    overflow: hidden;
}

.contact-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--web-blue-dark) 0%, #0a3d6e 50%, var(--web-blue-dark) 100%);
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(13, 78, 166, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(47, 111, 204, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 2;
}

.contact-hero-container {
    position: relative;
    z-index: 10;
}

.contact-hero-content {
    max-width: 600px;
}

.contact-hero-title {
    color: var(--white);
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: 16px;
    font-weight: 800;
}

.contact-hero-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

.btn-red-submit {
    background-color: var(--web-blue-primary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: none;
    display: inline-flex;
    justify-content: center;
    border: 2px solid var(--web-blue-primary);
    cursor: pointer;
    font-family: 'NeueHelveticaBQ', sans-serif;
}

.btn-red-submit:hover {
    background-color: var(--web-blue-dark);
    border-color: var(--web-blue-dark);
    color: var(--white);
}

/* 2. Contact Info Cards */
.contact-info-section {
    padding: 60px 0;
    background-color: var(--light-bg);
}

.premium-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.premium-info-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.premium-contact-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

.premium-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.premium-card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.premium-card-title {
    font-size: 1.2rem;
    color: var(--dark-grey);
    margin-bottom: 12px;
    font-weight: 700;
}

.premium-card-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.premium-card-text a {
    color: var(--dark-grey);
    font-weight: 600;
}

.premium-card-text a:hover {
    color: var(--web-blue-primary);
}

/* 3. Enquiry Form Strip */
.contact-enquiry-section {
    padding: 80px 0;
    background-color: var(--white);
}

.premium-form-wrapper {
    max-width: 760px;
    margin: 40px auto 0;
    background: #fff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form-group {
    margin-bottom: 24px;
}

.custom-contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-grey);
}

.custom-contact-form input:not([type="checkbox"]):not([type="hidden"]),
.custom-contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--light-bg);
}

.custom-contact-form input:not([type="checkbox"]):not([type="hidden"]):focus,
.custom-contact-form textarea:focus {
    outline: none;
    border-color: var(--web-blue-primary);
    box-shadow: 0 0 0 3px rgba(13, 78, 166, 0.1);
    background-color: var(--white);
}

.custom-contact-form textarea {
    resize: vertical;
}

.submit-btn-wrapper {
    margin-top: 16px;
}

/* Contact form: multi-product checklist, consent, policy note */
.custom-contact-form .field-hint {
    font-weight: 400;
    color: #777;
    font-size: 0.82rem;
    margin-left: 4px;
}
.custom-contact-form .product-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px 16px;
    max-height: 220px;
    overflow-y: auto;
    padding: 12px 14px;
    border: 1px solid var(--border-color, #e9ecef);
    border-radius: 6px;
    background: #fafafa;
}
.custom-contact-form label.product-checklist__item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.92rem;
    color: #333;
    cursor: pointer;
    padding: 3px 0;
}
.custom-contact-form .product-checklist__item input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: var(--primary-red, #ED1C24);
}
.custom-contact-form .contact-consent-group {
    margin-top: 4px;
}
.custom-contact-form label.contact-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 0;
    font-weight: 400;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #444;
    cursor: pointer;
    padding: 10px 12px;
    background: #f6faf7;
    border: 1px solid #d7e9df;
    border-radius: 6px;
}
.custom-contact-form .contact-consent-label input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
    accent-color: var(--primary-red, #ED1C24);
}
.contact-policy-note {
    margin-top: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.55;
}
.contact-policy-note a {
    color: var(--primary-red, #ED1C24);
    text-decoration: underline;
    font-weight: 500;
}

/* 4. Dual Location Map Section */
.contact-locations-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.premium-map-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.premium-map-block {
    display: flex;
    flex-direction: column;
}

.premium-map-heading {
    font-size: 1.3rem;
    color: var(--dark-grey);
    margin-bottom: 20px;
    font-weight: 700;
}

.premium-map-iframe-wrapper {
    width: 100%;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 20px;
    background-color: var(--white);
}

.premium-map-iframe-wrapper iframe {
    width: 100%;
    height: 100%;
}

.premium-map-address {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 5. WhatsApp Quick CTA Strip */
.whatsapp-cta-strip {
    background-color: var(--darker-grey);
    padding: 40px 0;
    text-align: center;
}

.whatsapp-cta-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.whatsapp-cta-text {
    color: var(--white);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.btn-whatsapp-chat {
    background-color: #25D366;
    color: var(--white);
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    text-decoration: none;
}

.btn-whatsapp-chat:hover {
    background-color: #1eb556;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

/* Base Responsive Fixes for Contact */
@media (max-width: 1024px) {
    .premium-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .premium-info-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 60px 0;
        text-align: center;
    }

    .contact-hero-content {
        margin: 0 auto;
    }

    .premium-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .premium-form-wrapper {
        padding: 24px;
        margin-top: 30px;
    }

    .submit-btn-wrapper .btn-red-submit {
        width: 100%;
    }

    .premium-map-grid {
        grid-template-columns: 1fr;
    }

    .premium-map-iframe-wrapper {
        height: 300px;
    }

    .whatsapp-cta-content {
        flex-direction: column;
        gap: 20px;
    }

    .whatsapp-cta-text {
        font-size: 1.2rem;
    }

    .btn-whatsapp-chat {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   BRAND OVERRIDES (LATEST REVISION)
   ============================================ */

/* Alternate Section Backgrounds */
.bg-web-blue-light {
    background-color: var(--web-blue-light) !important;
}

/* Base Card Redesign */
.feature-card,
.usp-card,
.product-card,
.industry-card,
.premium-map-block {
    background-color: var(--white) !important;
    border-top: 4px solid var(--brand-red) !important;
    transition: all var(--transition-speed) ease;
}

.feature-card:hover,
.usp-card:hover,
.product-card:hover,
.industry-card:hover,
.premium-map-block:hover {
    box-shadow: 0 16px 40px rgba(13, 78, 166, 0.15) !important;
    transform: translateY(-4px);
}

/* Contact Page Enhancements */
.contact-locations-section .section-title {
    font-family: 'BelweStdCondensed', serif;
}

.contact-locations-section .title-underline {
    background-color: var(--brand-red);
}

.premium-map-iframe-wrapper {
    border-radius: 8px;
}

/* ============================================
   HERO REDESIGN & LOOPING ANIMATIONS
   ============================================ */

.premium-overlay {
    background: linear-gradient(100deg,
            rgba(180, 12, 20, 0.92) 0%,
            rgba(160, 10, 18, 0.75) 40%,
            rgba(140, 8, 14, 0.4) 100%) !important;
}

.premium-btn-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.premium-btn-group .btn {
    margin-left: 0 !important;
}

.hero-text-looping {
    position: relative;
    max-width: 680px;
}

.hero-logo-fade {
    display: block;
    margin-bottom: 24px;
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0;
    animation: simpleFadeIn 1.5s ease-out forwards;
}

@keyframes simpleFadeIn {
    to {
        opacity: 1;
    }
}

.hero-loop-wrapper {
    position: relative;
    height: 120px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .hero-loop-wrapper {
        height: 150px;
    }
}

.loop-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    font-family: 'BelweStdCondensed', serif;
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1.15;
    color: var(--white);
    margin: 0;
    animation: textLoop 5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.slide-1 {
    animation-delay: 0s;
}

.slide-2 {
    animation-delay: 2.5s;
}

@keyframes textLoop {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    10% {
        opacity: 1;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* ============================================
   NEW REDESIGN STYLES
   ============================================ */

/* Hero Flex & Brand Block */
.hero-content-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 48px;
}
.hero-content-flex .hero-text {
    flex: 1;
    min-width: 0;
}

/* Hero Brand Block — premium vertical stack */
.hero-brand-block {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    animation: heroBrandFloat 5s ease-in-out infinite;
}

@keyframes heroBrandFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.hero-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background: rgba(255,255,255,0.95);
    border-radius: 16px;
    padding: 40px 40px 36px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.07), 0 1px 4px rgba(0,0,0,0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-brand-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 44px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.05);
}

.hero-brand-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.hero-brand-img {
    display: block;
    width: auto;
    object-fit: contain;
}
.hero-brand-img--primary {
    max-height: 96px !important;
    max-width: 200px !important;
}
.hero-brand-img--secondary {
    max-height: 56px !important;
    max-width: 180px !important;
}

.hero-brand-hr {
    display: block;
    width: 52px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    border: none;
    opacity: 0.5;
}

.hero-brand-tagline {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4.5px;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 991px) {
    .hero-content-flex {
        flex-direction: column;
        text-align: left;
    }
    .hero-brand-block {
        align-self: flex-start;
        animation: none;
    }
    .hero-brand-card {
        padding: 28px 32px 24px;
    }
    .hero-brand-img--primary {
        max-height: 64px !important;
    }
    .hero-brand-img--secondary {
        max-height: 40px !important;
    }
}

/* ============================================
   HERO BRAND BLOCK V2 — Sequential Logo Animation (one-shot, replaced by v3)
   ============================================ */
/*
.hero-brand-block-v2 { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero-logo-sa        { max-height: 96px !important; max-width: 200px !important; opacity: 0; animation: logoBrandIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.3s forwards; }
.hero-logo-hr        { opacity: 0; animation: logoBrandIn 0.4s ease 0.85s forwards; }
.hero-logo-maksteel  { max-height: 56px !important; max-width: 180px !important; opacity: 0; animation: logoBrandIn 0.7s cubic-bezier(0.16,1,0.3,1) 1.1s forwards; }
.hero-logo-tagline   { opacity: 0; animation: logoBrandIn 0.5s ease 1.6s forwards; }
*/

/* ============================================
   HERO BRAND BLOCK V3 — Looping Alternating Logo Animation
   SA → MakSteel → SA → MakSteel … (infinite)
   ============================================ */

/*
 * SA: fades in + zooms in, holds, gently fades out — 14s cycle
 * 0–7%   fade in  (0–0.98s)
 * 7–43%  hold     (0.98–6.02s)
 * 43–50% fade out (6.02–7s)
 * 50–100% hidden  (MakSteel showing)
 */
@keyframes logoLoopSA {
    0%   { opacity: 0; transform: scale(0.92); }
    7%   { opacity: 1; transform: scale(1);    }
    43%  { opacity: 1; transform: scale(1);    }
    50%  { opacity: 0; transform: scale(0.92); }
    100% { opacity: 0; transform: scale(0.92); }
}

/*
 * MakSteel: hidden while SA shows, fades in + zooms in, holds, fades out
 * 0–50%   hidden   (SA showing)
 * 50–57%  fade in  (7–7.98s)
 * 57–93%  hold     (7.98–13.02s)
 * 93–100% fade out (13.02–14s)
 */
@keyframes logoLoopMaksteel {
    0%   { opacity: 0; transform: scale(0.92); }
    50%  { opacity: 0; transform: scale(0.92); }
    57%  { opacity: 1; transform: scale(1);    }
    93%  { opacity: 1; transform: scale(1);    }
    100% { opacity: 0; transform: scale(0.92); }
}

.hero-brand-block-v3 {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-brand-block-v3 .hero-brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    /* narrower width, taller height (~25% taller than before) */
    padding: 60px 28px 55px;
    box-shadow: 0 6px 32px rgba(0, 0, 0, 0.07), 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* Switcher: fixed size — narrower, taller */
.hero-logo-switcher {
    position: relative;
    width: 184px;
    height: 138px;
}

.hero-logo-slot {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.hero-logo-slot img {
    display: block;
    width: auto;
    object-fit: contain;
}

.hero-logo-slot--sa img {
    max-height: 115px;
    max-width: 184px;
    opacity: 0;
    animation: logoLoopSA 14s ease-in-out infinite;
}

.hero-logo-slot--maksteel img {
    max-height: 69px;
    max-width: 172px;
    opacity: 0;
    animation: logoLoopMaksteel 14s ease-in-out infinite;
}

@media (max-width: 991px) {
    .hero-brand-block-v3 {
        align-self: flex-start;
    }
    .hero-brand-block-v3 .hero-brand-card {
        padding: 41px 23px 37px;
    }
    .hero-logo-switcher {
        width: 150px;
        height: 104px;
    }
    .hero-logo-slot--sa img {
        max-height: 80px;
        max-width: 150px;
    }
    .hero-logo-slot--maksteel img {
        max-height: 46px;
        max-width: 161px;
    }
}

/* Highlights */
.text-highlight {
    color: var(--primary-red);
    font-weight: 700;
}
.highlight-badge {
    color: var(--primary-red);
    font-weight: 800;
    display: inline-block;
}

/* Testimonials Redesign */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}
@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
.testimonial-card {
    background: var(--white);
    border-radius: 12px;
    padding: 28px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}
.testimonial-avatar {
    width: 48px;
    height: 48px;
    background: var(--web-blue-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--web-blue-primary);
}
.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--dark-grey);
    font-style: italic;
    margin: 0;
}
.testimonial-meta h4 {
    font-size: 0.9rem;
    color: var(--brand-black);
    margin-bottom: 4px;
    font-weight: 700;
}
.testimonial-meta p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
}

/* Photo Gallery Year Wise */
.gallery-year-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 40px;
}
.gallery-year-label {
    font-size: 2rem;
    color: var(--brand-black);
    margin-bottom: 24px;
    font-family: 'BelweStdCondensed', serif;
    position: relative;
    padding-left: 16px;
}
.gallery-year-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background-color: var(--primary-red);
}
.gallery-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,0,0,0.08), transparent);
    width: 100%;
}

/* Footer Redesign */
.footer.footer-white {
    background-color: var(--white);
    color: var(--brand-black);
    border-top: 1px solid var(--border-color);
}
.footer.footer-white h4 {
    color: var(--brand-black);
}
.footer.footer-white p, .footer.footer-white li a {
    color: var(--dark-grey);
}
.footer.footer-white li a:hover {
    color: var(--primary-red);
}
.footer.footer-white .footer-icon {
    font-style: normal;
}
.footer.footer-white a {
    color: var(--web-blue-primary);
}
.footer.footer-white a:hover {
    color: var(--primary-red);
}
.footer.footer-white .sub-footer {
    border-top: 1px solid var(--border-color);
    color: var(--dark-grey);
    padding-top: 20px;
}
.footer.footer-white .sub-footer p, .footer.footer-white .sub-footer a {
    color: var(--dark-grey);
}
.footer.footer-white .sub-footer a:hover {
    color: var(--primary-red);
}
.footer-legal-link {
    text-decoration: underline;
    color: inherit;
}
.footer-legal-link:hover {
    color: var(--primary-red);
}

/* ============================================
   SMOOTH PAGE TRANSITION
   ============================================ */
body {
    opacity: 0;
    animation: pageFadeIn 0.35s ease forwards;
}

@keyframes pageFadeIn {
    to { opacity: 1; }
}

/* ============================================
   ABOUT IMAGE PARALLAX
   ============================================ */
.about-image-wrapper img {
    will-change: transform;
}


/* ============================================
   PRODUCT IMAGE HOVER ZOOM LENS
   ============================================ */
.gallery-main {
    position: relative;
}

.gallery-zoom-lens {
    display: none;
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(237, 28, 36, 0.3);
    border-radius: 50%;
    pointer-events: none;
    z-index: 5;
    background-repeat: no-repeat;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.5), 0 4px 16px rgba(0,0,0,0.15);
    cursor: none;
}

.gallery-main.zoom-active {
    cursor: none;
}

.gallery-main.zoom-active .gallery-zoom-lens {
    display: block;
}

.gallery-main.zoom-active .gallery-zoom-btn {
    opacity: 0 !important;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 120px; /* stacked above the Quick Enquiry tab on the left */
    left: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-red);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(217, 4, 41, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 900;
}

@media (max-width: 480px) {
    .back-to-top {
        bottom: 185px; /* stay above the Quick Enquiry tab on mobile */
        left: 14px;
        width: 40px;
        height: 40px;
    }
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-red-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(217, 4, 41, 0.4);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   HERO SLIDESHOW
   ============================================ */

.hero-slideshow {
    position: relative;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.hero-slideshow__wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    background: var(--white);
}

.hero-slideshow__track {
    position: relative;
    width: 100%;
    min-height: 200px;
    background: var(--light-bg);
}

.hero-slideshow__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    pointer-events: none;
}

.hero-slideshow__slide:first-child {
    position: relative;
}

.hero-slideshow__slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.hero-slideshow__slide img {
    width: 100%;
    height: auto;
    display: block;
}

/* Nav buttons — hidden by default, visible on hover */
.hero-slideshow__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.92);
    color: var(--brand-black);
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    -webkit-appearance: none;
}

.hero-slideshow__wrapper:hover .hero-slideshow__btn {
    opacity: 1;
}

.hero-slideshow__btn:hover {
    background: var(--web-blue-primary);
    color: var(--white);
    border-color: var(--web-blue-primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 20px rgba(13, 78, 166, 0.3);
}

.hero-slideshow__btn--prev {
    left: 16px;
}

.hero-slideshow__btn--next {
    right: 16px;
}

/* Dots */
.hero-slideshow__dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.35);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hero-slideshow__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.hero-slideshow__dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

.hero-slideshow__dot:hover:not(.active) {
    background: rgba(255, 255, 255, 0.8);
}

/* Progress bar */
.hero-slideshow__progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.08);
    z-index: 10;
    overflow: hidden;
}

.hero-slideshow__progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-red);
    transition: width 0.1s linear;
}

/* Section spacing */
.hero-slideshow-section {
    padding: 48px 0;
    background: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slideshow-section {
        padding: 32px 0;
    }

    .hero-slideshow {
        padding: 0 16px;
    }

    .hero-slideshow__wrapper {
        border-radius: 8px;
    }

    .hero-slideshow__btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
        opacity: 1;
    }

    .hero-slideshow__btn--prev {
        left: 10px;
    }

    .hero-slideshow__btn--next {
        right: 10px;
    }

    .hero-slideshow__dots {
        bottom: 12px;
        padding: 5px 10px;
        gap: 6px;
    }

    .hero-slideshow__dot {
        width: 6px;
        height: 6px;
    }

    .hero-slideshow__dot.active {
        width: 18px;
    }
}

/* ============================================
   MOBILE RESPONSIVENESS — COMPREHENSIVE FIX
   Targeting: 991px, 768px, 480px, 360px
   ============================================ */

/* ---- Hero: remove min-width constraint on mobile ---- */
@media (max-width: 991px) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 40px;
    }

    .hero-content-flex {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }

    .hero-content-flex .hero-text {
        min-width: 0;
        width: 100%;
    }

    .hero-brand-block-v3 {
        align-self: center;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-brand-block-v3 .hero-brand-card {
        width: 100%;
        max-width: 260px;
    }

    /* Strengths grid: 2 columns on tablet */
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    /* Hero — restore desktop-style side-by-side layout */
    .hero {
        padding-top: 80px;
        padding-bottom: 32px;
        min-height: auto;
        align-items: center;
    }

    /* Keep row layout like desktop — text left, brand card right */
    .hero-content-flex {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    .hero-content-flex .hero-text {
        flex: 1;
        min-width: 0;
        width: auto;
    }

    /* Scale heading down to fit */
    .hero-content-flex .hero-text .main-heading {
        font-size: 1.05rem;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .hero-content-flex .subtext {
        font-size: 0.72rem;
        line-height: 1.5;
        margin-bottom: 14px;
        max-width: 100%;
    }

    /* Buttons side by side, compact */
    .hero-ctas {
        flex-direction: row;
        gap: 8px;
        flex-wrap: wrap;
    }

    .hero-ctas .btn {
        width: auto;
        flex: 1 1 0;
        min-width: 0;
        font-size: 0.72rem;
        padding: 9px 10px;
        text-align: center;
        justify-content: center;
    }

    /* Show brand block — compact on the right */
    .hero-brand-block-v3 {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        align-items: center;
        width: auto;
        align-self: center;
    }

    .hero-brand-block-v3 .hero-brand-card {
        width: auto;
        max-width: 110px;
        padding: 16px 12px;
    }

    .hero-logo-switcher {
        width: 80px;
        height: 60px;
    }

    .hero-logo-slot--sa img {
        max-height: 52px;
        max-width: 80px;
    }

    .hero-logo-slot--maksteel img {
        max-height: 32px;
        max-width: 80px;
    }

    .hero-brand-tagline {
        font-size: 0.55rem;
        letter-spacing: 1px;
        margin-top: 6px;
    }

    .subtext {
        max-width: 100%;
    }

    /* Strengths grid: 2 columns on mobile */
    .strengths-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 28px;
    }

    .strength-item {
        padding: 18px 16px;
    }

    .strength-item h3 {
        font-size: 0.95rem;
    }

    .strength-item p {
        font-size: 0.82rem;
        line-height: 1.5;
    }

    /* About badge: prevent overflow when stacked */
    .about-image-col {
        padding-bottom: 32px;
    }

    .about-experience-badge {
        bottom: 10px;
        right: 0;
    }

    /* Industries grid: single column on mobile for proper readability */
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 28px;
    }

    .industry-card {
        display: grid;
        grid-template-columns: 44px 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 14px;
        row-gap: 2px;
        padding: 18px 16px;
        text-align: left;
        align-items: start;
    }

    .industry-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        justify-content: flex-start;
        margin-bottom: 0;
        align-self: center;
    }

    .industry-icon svg {
        width: 34px;
        height: 34px;
    }

    .industry-card h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 0.92rem;
        margin-bottom: 2px;
    }

    .industry-card p {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.82rem;
        line-height: 1.5;
        margin-bottom: 4px;
    }

    .industry-tag {
        grid-column: 1 / 3;
        grid-row: 3;
        justify-self: start;
        margin-top: 6px;
    }

    /* Products: ensure sensible card layout */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card {
        padding: 0;
    }

    .product-img-placeholder {
        height: 130px;
    }

    .product-info {
        padding: 14px 14px 12px;
    }

    .product-info h3 {
        font-size: 0.88rem;
        margin-bottom: 6px;
    }

    .product-info p {
        font-size: 0.8rem;
        line-height: 1.5;
        margin-bottom: 10px;
    }

    /* Testimonials */
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 32px;
    }

    .testimonial-card {
        padding: 22px 20px;
    }

    .testimonial-text {
        font-size: 0.9rem;
    }

    /* Section headers: tighter spacing */
    .section-header {
        margin-bottom: 0;
    }

    .section-header .section-subtitle {
        font-size: 0.88rem;
        line-height: 1.6;
    }

    /* Back to top: move so it doesn't overlap WhatsApp button */
    .back-to-top {
        bottom: 90px;
        left: 16px;
        width: 40px;
        height: 40px;
    }

    /* Footer map */
    .footer-map iframe {
        height: 200px;
    }
}

/* ---- Small phones (480px) ---- */
@media (max-width: 480px) {
    /* Strengths: single column on very small screens */
    .strengths-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Industries: single column */
    .industries-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .industry-card {
        display: grid;
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto auto;
        column-gap: 14px;
        row-gap: 4px;
        padding: 16px;
        text-align: left;
        align-items: start;
    }

    .industry-icon {
        grid-column: 1;
        grid-row: 1 / 3;
        justify-content: flex-start;
        margin-bottom: 0;
        align-self: center;
    }

    .industry-icon svg {
        width: 30px;
        height: 30px;
    }

    .industry-card h3 {
        grid-column: 2;
        grid-row: 1;
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .industry-card p {
        grid-column: 2;
        grid-row: 2;
        font-size: 0.78rem;
        line-height: 1.45;
        margin-bottom: 6px;
    }

    .industry-tag {
        grid-column: 1 / 3;
        grid-row: 3;
        justify-self: start;
    }

    /* Products: single column */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .product-img-placeholder {
        height: 160px;
    }

    /* About section: badge fully inside */
    .about-experience-badge {
        right: 4px;
        bottom: 12px;
        padding: 10px 12px;
    }

    .badge-number {
        font-size: 1.4rem;
    }

    .badge-text {
        font-size: 0.5rem;
    }

    /* Stats bar */
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        padding: 0 4px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    /* Section padding */
    :root {
        --section-padding: 40px 0;
    }

    .section-title {
        font-size: 20px;
    }

    .main-heading {
        font-size: 1.4rem;
        line-height: 1.25;
    }

    .subtext {
        font-size: 0.82rem;
        line-height: 1.6;
    }
}

/* ---- Very small phones (360px) ---- */
@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }

    .main-heading {
        font-size: 1.3rem;
    }

    .strengths-grid {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}