/* ========================================
   GAWDE ELECTRICALS - CUSTOM STYLES
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #0b1c3d;
    --secondary-color: #e63946;
    --accent-color: #1d3557;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --dark-gray: #2d3748;
    --text-color: #4a5568;
    --border-color: #e2e8f0;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    --font-heading: 'Poppins', system-ui, -apple-system, sans-serif;
    --font-size-base: 1rem;
    --line-height-body: 1.65;
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* Horizontal inset for main layout */
    --site-page-padding-x: 0.875rem;
}

@media (min-width: 576px) {
    :root {
        --site-page-padding-x: 1rem;
    }
}

@media (min-width: 768px) {
    :root {
        --site-page-padding-x: 1.25rem;
    }
}

@media (min-width: 1200px) {
    :root {
        --site-page-padding-x: 1.75rem;
    }
}

@media (min-width: 1400px) {
    :root {
        --site-page-padding-x: 2.25rem;
    }
}

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

html {
    scroll-behavior: smooth;
    /* Explicit root (not %): 1rem = 15px site-wide — smaller than 16px default */
    font-size: 15px;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: var(--text-color);
    overflow-x: hidden;
}

.btn,
.form-select,
.form-label {
    font-family: var(--font-body);
}

body.sub-page {
    padding-top: 92px;
}

/* ========================================
   SITE PRELOADER — Gawde Electricals
   ======================================== */
body.site-preloader-lock {
    overflow: hidden;
}

.preloader {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f4f6f9 55%, #eef1f6 100%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
    visibility: visible;
}

.preloader::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 45% at 50% 0%, rgba(230, 57, 70, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.preloader-inner {
    position: relative;
    text-align: center;
    padding: 2rem 1.5rem;
    max-width: 340px;
}

.preloader-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    margin-bottom: 1.1rem;
    background: #ffffff;
    border: 1px solid #e8eef6;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(11, 28, 61, 0.08), 0 2px 8px rgba(11, 28, 61, 0.04);
    animation: preloaderLogoIn 0.85s ease-out both;
}

.preloader-logo {
    max-width: 160px;
    width: auto;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 1px 3px rgba(11, 28, 61, 0.08));
}

.preloader-brand {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 0.35rem;
    animation: preloaderFadeUp 0.7s ease-out 0.15s both;
}

.preloader-tagline {
    font-size: 0.88rem;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
    animation: preloaderFadeUp 0.7s ease-out 0.28s both;
}

.preloader-bolt {
    font-size: 1.1rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    opacity: 0.9;
    animation: preloaderPulse 1.2s ease-in-out infinite;
}

.preloader-bar {
    height: 3px;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
    border-radius: 999px;
    background: rgba(11, 28, 61, 0.08);
    overflow: hidden;
}

.preloader-bar-fill {
    display: block;
    height: 100%;
    width: 40%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--secondary-color), #ff8a95, var(--secondary-color));
    background-size: 200% 100%;
    animation: preloaderBar 1.15s ease-in-out infinite;
}

@keyframes preloaderLogoIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

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

@keyframes preloaderPulse {
    0%,
    100% {
        opacity: 0.65;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.08);
    }
}

@keyframes preloaderBar {
    0% {
        transform: translateX(-120%);
    }
    100% {
        transform: translateX(320%);
    }
}

/* Wider side margins site-wide (nav, sections, footer) */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl,
.container-xxl,
.container-fluid {
    padding-left: var(--site-page-padding-x) !important;
    padding-right: var(--site-page-padding-x) !important;
}

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

a {
    text-decoration: none;
    transition: var(--transition);
}

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

.section-padding {
    padding: 100px 0;
}

/* Section Headers */
.section-header {
    margin-bottom: 30px;
}

.section-subtitle {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    position: relative;
    padding-left: 40px;
}

.section-subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background-color: var(--secondary-color);
}

.section-title {
    font-size: clamp(1.75rem, 1.1rem + 2.2vw, 2.75rem);
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: 20px;
}

.section-title .highlight {
    color: var(--secondary-color);
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-color);
    max-width: 640px;
    margin: 0 auto;
}

/* Background Colors */
.bg-light {
    background-color: var(--light-gray) !important;
}

.bg-dark-blue {
    background-color: var(--primary-color) !important;
}

/* ========================================
   NAVIGATION
   ======================================== */
/* Full-width bar: logo at viewport left with a small inset (responsive) */
#mainNav .container {
    max-width: 100% !important;
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: clamp(0.5rem, 2.5vw, 1.125rem) !important;
    padding-right: var(--site-page-padding-x) !important;
}

#mainNav .navbar-brand {
    margin-left: 0;
    margin-right: 1rem;
    flex-shrink: 0;
}

#mainNav {
    padding: 15px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.97);
    box-shadow: var(--shadow-sm);
}

#mainNav.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    padding: 10px 0;
}

.navbar-brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.navbar-brand .navbar-logo {
    height: 60px;
    width: auto;
    display: block;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 29px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.04em;
}

.logo-subtext {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 500;
    color: var(--secondary-color);
    letter-spacing: 0.2em;
}

.navbar-nav .nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 36px);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--secondary-color) !important;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2811, 28, 61, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-carousel .carousel-inner,
.hero-carousel .carousel-item {
    height: 100%;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-carousel .carousel-indicators {
    z-index: 3;
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    z-index: 3;
}

.hero-slide-caption {
    left: 50%;
    right: auto;
    bottom: 80px;
    transform: translateX(-50%);
    width: min(90%, 760px);
    background: rgba(11, 28, 61, 0.68);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 14px 18px;
}

.hero-slide-caption h5 {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 4px;
}

.hero-slide-caption p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
}

/* Fullscreen visual carousel requested */
.hero-slide-caption {
    display: none !important;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(11, 28, 61, 0.25) 0%, rgba(11, 28, 61, 0.1) 50%, rgba(11, 28, 61, 0.4) 100%);
    pointer-events: none;
}

.hero-tagline {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.hero-tagline-text {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 1rem + 3vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(11, 28, 61, 0.08);
    backdrop-filter: blur(3px);
    padding: 14px 40px;
    border-radius: 8px;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(230, 57, 70, 0.2);
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 10px 25px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-title {
    font-size: clamp(2.5rem, 1.35rem + 4vw, 4.25rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-title .highlight {
    color: var(--secondary-color);
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-buttons {
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #c1121f;
    border-color: #c1121f;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
}

.btn-outline-light {
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 15px 40px;
    border-radius: 50px;
    border-width: 2px;
    transition: var(--transition);
}

.btn-outline-light:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    animation: bounce 2s infinite;
    transition: var(--transition);
}

.scroll-down:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-image-wrapper {
    position: relative;
}

.about-image {
    border-radius: 10px;    
    box-shadow: var(--shadow-xl);
}

.experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 14px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    max-width: 128px;
}

.experience-badge .years {
    display: block;
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

.experience-badge .text {
    display: block;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.25;
}

.about-text {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--text-color);
}

.about-features {
    margin-top: 30px;
    margin-left: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
}

.about-credential-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    height: 100%;
    padding: 24px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 16px rgba(11, 28, 61, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.about-credential-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(11, 28, 61, 0.1);
}

.about-credential-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--secondary-color) 0%, #c1121f 100%);
    color: var(--white);
    font-size: 1.15rem;
    box-shadow: 0 4px 12px rgba(230, 57, 70, 0.25);
}

.about-credential-body {
    min-width: 0;
}

.about-credential-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 6px;
    line-height: 1.3;
}

.about-credential-desc {
    font-size: 0.84rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 767.98px) {
    .about-credential-card {
        padding: 20px;
    }
}


.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    min-width: 0;
}

.feature-item i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-right: 14px;
    min-width: 22px;
    text-align: center;
}

.feature-item span {
    font-weight: 500;
    color: var(--primary-color);
    line-height: 1.35;
}

/* ========================================
   OVERVIEW SECTION
   ======================================== */
.overview-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    margin-bottom: 30px;
}

.overview-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.overview-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.overview-icon i {
    font-size: 30px;
    color: var(--white);
}

.overview-card h4 {
    font-size: 22px;
    margin-bottom: 15px;
}

.overview-card p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* ========================================
   OVERVIEW BROCHURE (Values / Ethics)
   ======================================== */
.overview-panel-section {
    position: relative;
    background: var(--white);
    overflow: hidden;
}

.overview-panel-pattern {
    display: none;
}

.overview-panel-block {
    min-height: 280px;
}

.overview-panel-copy {
    padding: 36px 28px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 992px) {
    .overview-panel-copy {
        padding: 48px 40px 52px 8px;
    }

    .overview-panel-block--ethics .overview-panel-copy {
        padding: 48px 8px 52px 40px;
    }
}

.overview-panel-heading {
    margin: 0 0 1.25rem;
    font-family: var(--font-heading);
    font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.overview-panel-heading-red {
    display: block;
    color: var(--secondary-color);
}

.overview-panel-heading-white {
    display: block;
    color: var(--primary-color);
}

.overview-panel-text {
    color: #3f516e;
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 1.1rem;
    font-weight: 400;
}

.overview-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #3f516e;
    font-size: 1.0625rem;
    line-height: 1.7;
    font-weight: 400;
}

.overview-panel-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 0.85rem;
}

.overview-panel-list li:last-child {
    margin-bottom: 0;
}

.overview-panel-tick {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--secondary-color);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
    margin-top: 3px;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.35);
}

.overview-panel-tick i {
    font-size: 11px;
}

.overview-panel-list li > span:last-child {
    flex: 1;
    min-width: 0;
}

.overview-panel-visual {
    position: relative;
    min-height: 260px;
    overflow: hidden;
}

@media (min-width: 992px) {
    .overview-panel-visual {
        min-height: 340px;
    }
}

.overview-panel-img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    object-position: center;
    filter: grayscale(0.35) contrast(1.05) brightness(0.92);
    transition: transform 0.45s ease, filter 0.45s ease;
}

@media (min-width: 992px) {
    .overview-panel-img {
        min-height: 340px;
    }

    .overview-panel-visual--red-edge .overview-panel-img {
        clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
    }

    .overview-panel-visual--white-edge .overview-panel-img {
        clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    }
}

.overview-panel-visual--red-edge::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(180deg, var(--secondary-color), #b91c2c);
    z-index: 2;
    opacity: 0.95;
}

@media (min-width: 992px) {
    .overview-panel-visual--red-edge::after {
        left: auto;
        right: 0;
        width: 5px;
    }
}

.overview-panel-visual--white-edge::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    z-index: 2;
}

@media (max-width: 991.98px) {
    .overview-panel-copy {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .overview-panel-visual--red-edge::after,
    .overview-panel-visual--white-edge::before {
        width: 100%;
        height: 5px;
        top: auto;
        bottom: 0;
        left: 0;
        right: auto;
    }

    .overview-panel-visual--white-edge::before {
        top: 0;
        bottom: auto;
    }
}

.overview-panel-visual:hover .overview-panel-img {
    transform: scale(1.03);
    filter: grayscale(0.2) contrast(1.08) brightness(0.95);
}

/* ========================================
   FACTORY SECTION
   ======================================== */
.factory-image-wrapper {
    position: relative;
    height: 100%;
}

.factory-image {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    box-shadow: var(--shadow-xl);
}

.factory-v2-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-bottom: 8px;
}

.factory-v2-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(8, 20, 44, 0.28);
    z-index: 1;
}

.factory-v2-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: brightness(0.78) contrast(1.05);
}

.factory-v2-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 28, 61, 0.95) 0%, rgba(11, 28, 61, 0.84) 45%, rgba(11, 28, 61, 0.45) 75%, rgba(11, 28, 61, 0.22) 100%);
    padding: 34px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 62%;
    z-index: 2;
    border-radius: 0 14px 14px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.factory-v2-overlay::before {
    content: '';
    position: absolute;
    inset: 12px 14px;
    background: rgba(6, 16, 36, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    z-index: -1;
}

.factory-v2-overlay .section-subtitle {
    color: rgba(255, 255, 255, 0.88);
    font-size: 15px;
}

.factory-v2-overlay .section-subtitle::before {
    background: var(--secondary-color);
}

.factory-v2-overlay .section-title {
    color: var(--white);
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
    line-height: 1.22;
}

.factory-v2-overlay .section-title .highlight {
    color: #ff6b78;
}

.factory-v2-overlay .factory-lead {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    font-size: 1.0625rem;
    line-height: 1.75;
    font-weight: 400;
    max-width: 38rem;
}

.factory-v2-overlay .section-subtitle {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
}

.factory-content-card {
    background: var(--white);
    border: 1px solid #dbe5f3;
    border-radius: 12px;
    padding: 28px 26px;
    box-shadow: 0 10px 24px rgba(11, 28, 61, 0.08);
    height: auto;
}

.factory-aside-card {
    background: var(--white);
    border: 1px solid #dbe5f3;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 10px 24px rgba(11, 28, 61, 0.08);
    height: auto;
}

@media (min-width: 992px) {
    .factory-equal-row {
        align-items: stretch !important;
    }

    .factory-equal-row > [class*='col-'] {
        display: flex;
    }

    .factory-equal-row .factory-content-card,
    .factory-equal-row .factory-aside-card {
        width: 100%;
        height: 100%;
    }

    .factory-equal-row .factory-aside-card {
        display: flex;
        flex-direction: column;
    }
}

.factory-content-card .section-header {
    margin-bottom: 16px;
}

.factory-content-card .section-title {
    font-size: 46px;
    line-height: 1.15;
    margin-bottom: 14px;
}

.factory-lead {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: #4d607f;
    margin: 8px 0 14px;
    font-weight: 400;
}

.factory-cred-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-bottom: 6px;
}

.factory-cred-chips span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    border-left: 2px solid #d1dced;
    color: var(--primary-color);
    padding: 3px 0 3px 8px;
    border-radius: 0;
    font-size: 13px;
    font-weight: 600;
}

.factory-cred-chips i {
    color: var(--secondary-color);
    font-size: 12px;
}

.factory-text {
    font-size: 1.0625rem;
    margin-bottom: 1.1rem;
    color: #3f516e;
    line-height: 1.75;
    font-weight: 400;
}

.factory-place {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 0.1px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 6px;
    padding: 1px 6px;
    display: inline-block;
}


.factory-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 16px 0 24px;
}

.factory-aside-card .factory-stats {
    margin: 0 0 14px;
    display: grid;
    gap: 10px;
}

.stat-item {
    display: flex;
    align-items: center;
    background: #f7faff;
    border: 1px solid #dde8f7;
    padding: 16px 18px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(11, 28, 61, 0.06);
    flex: 1;
    min-width: 170px;
}

.factory-aside-card .stat-item {
    min-width: 0;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.stat-icon i {
    font-size: 24px;
    color: var(--white);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.stat-unit {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-left: 5px;
}

.stat-label {
    display: block;
    font-size: 1rem;
    line-height: 1.45;
    color: var(--text-color);
    font-weight: 500;
}

.feature-box {
    display: flex;
    align-items: center;
    background: #f4f8ff;
    border: 1px solid #dbe7f6;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 0;
    transition: var(--transition);
}

.feature-box:hover {
    background: var(--primary-color);
}

.feature-box:hover i,
.feature-box:hover span {
    color: var(--white);
}

.feature-box i {
    font-size: 20px;
    color: var(--secondary-color);
    margin-right: 15px;
    transition: var(--transition);
}

.feature-box span {
    font-size: 1.0625rem;
    line-height: 1.45;
    font-weight: 500;
    color: var(--primary-color);
    transition: var(--transition);
}

.factory-aside-card .feature-box {
    margin-bottom: 8px;
}

.factory-aside-card .feature-box:last-child {
    margin-bottom: 0;
}

.factory-side-points {
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid #dfe8f6;
}

.factory-side-points h5 {
    font-size: 1.125rem;
    margin-bottom: 0.65rem;
    color: var(--primary-color);
    font-weight: 700;
}

.factory-side-points ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.factory-side-points li {
    display: flex;
    align-items: flex-start;
    color: #3f516e;
    font-size: 1.0625rem;
    line-height: 1.65;
    font-weight: 500;
    margin-bottom: 0.65rem;
}

.factory-side-points li:last-child {
    margin-bottom: 0;
}

.factory-side-points i {
    color: var(--secondary-color);
    margin-right: 8px;
    margin-top: 4px;
    font-size: 14px;
    flex-shrink: 0;
}

/* ========================================
   MISSION & VISION SECTION
   ======================================== */
.mission-vision-section {
    background: #f6f8fc;
}

.mission-vision-section .section-subtitle::before {
    background-color: var(--secondary-color);
}

.mv-timeline {
    position: relative;
    padding: 10px 0;
}

.mv-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    background: linear-gradient(180deg, rgba(230, 57, 70, 0.85), rgba(29, 53, 87, 0.85));
    border-radius: 999px;
    box-shadow: 0 0 18px rgba(230, 57, 70, 0.3), 0 0 24px rgba(29, 53, 87, 0.25);
}

.mv-timeline::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.15));
    border-radius: 999px;
    pointer-events: none;
}

.mv-timeline-item {
    position: relative;
    width: 50%;
    padding: 0 46px 24px 0;
}

.mv-timeline-item:nth-child(even) {
    margin-left: 50%;
    padding: 0 0 24px 46px;
}

.mv-timeline-dot {
    position: absolute;
    top: 26px;
    right: -24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--white);
    border: 4px solid var(--secondary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    box-shadow: 0 6px 16px rgba(11, 28, 61, 0.18), 0 0 0 0 rgba(230, 57, 70, 0.35);
}

.mv-timeline-item:nth-child(even) .mv-timeline-dot {
    left: -24px;
    right: auto;
}

.mv-timeline-dot i {
    color: var(--secondary-color);
    font-size: 17px;
}

.mv-card {
    background: var(--white);
    border: 1px solid #e0e7f2;
    border-radius: 16px;
    padding: 26px 24px;
    box-shadow: 0 10px 24px rgba(11, 28, 61, 0.08);
    transition: var(--transition);
}

.mv-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(11, 28, 61, 0.14);
}

.mv-card-header {
    display: block;
    margin-bottom: 12px;
}

.mv-card h3 {
    margin: 8px 0 0;
    font-size: 34px;
    color: var(--primary-color);
}

.mv-chip {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(230, 57, 70, 0.12);
    color: var(--secondary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.vision-card .mv-chip {
    background: rgba(29, 53, 87, 0.12);
    color: var(--primary-color);
}

.mv-description {
    color: #566786;
    margin-bottom: 14px;
    line-height: 1.65;
}

.mv-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
}

.mv-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--primary-color);
}

.mv-list li i {
    color: var(--secondary-color);
    margin-right: 8px;
    font-size: 13px;
}

.vision-card .mv-list li i {
    color: var(--primary-color);
}

/* Alternate Mission/Vision layout (non-timeline) */
.mv2-intro {
    height: 100%;
    background: linear-gradient(145deg, var(--primary-color) 0%, #132b55 100%);
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 14px 28px rgba(11, 28, 61, 0.2);
}

.mv2-intro .section-subtitle {
    color: rgba(255, 255, 255, 0.85);
}

.mv2-intro .section-subtitle::before {
    background-color: var(--secondary-color);
}

.mv2-intro .section-title {
    color: var(--white);
    margin-top: 8px;
    font-size: 34px;
}

.mv2-intro .section-title .highlight {
    color: var(--secondary-color);
}

.mv2-intro p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
}

.mv2-card {
    height: 100%;
    background: var(--white);
    border: 1px solid #e3eaf6;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 10px 24px rgba(11, 28, 61, 0.08);
    transition: var(--transition);
}

.mv2-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 30px rgba(11, 28, 61, 0.14);
}

.mv2-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.mv2-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.12);
}

.vision-card .mv2-icon {
    background: rgba(11, 28, 61, 0.12);
}

.mv2-icon i {
    font-size: 18px;
    color: var(--secondary-color);
}

.vision-card .mv2-icon i {
    color: var(--primary-color);
}

.mv2-card h3 {
    margin: 0;
    font-size: 28px;
    color: var(--primary-color);
}

.mv2-description {
    color: #586b88;
    line-height: 1.65;
    margin-bottom: 14px;
}

.mv2-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mv2-list li {
    display: flex;
    align-items: flex-start;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 500;
}

.mv2-list li i {
    color: var(--secondary-color);
    margin-right: 9px;
    margin-top: 3px;
    font-size: 13px;
}

/* Mission/Vision image-card alternating layout */
.mv3-row {
    margin-bottom: 12px;
}

.mv3-image-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(11, 28, 61, 0.16);
}

.mv3-image {
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.mv3-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #d9e5f4;
    border-top: 4px solid var(--secondary-color);
    border-radius: 16px;
    padding: 30px 28px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(11, 28, 61, 0.1);
    transition: var(--transition);
}

.mv3-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 28, 61, 0.16);
}

.mv3-card.vision-card {
    border-top-color: var(--primary-color);
}

.mv3-tag {
    display: inline-block;
    padding: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.3px;
    text-transform: none;
    border-radius: 0;
    margin-bottom: 12px;
    background: transparent;
    color: var(--secondary-color);
}

.mv3-card.vision-card .mv3-tag {
    background: transparent;
    color: var(--primary-color);
}

.mv3-card h3 {
    font-size: 30px;
    margin-bottom: 12px;
    color: var(--primary-color);
    line-height: 1.25;
}

.mv3-card p {
    color: #5a6d89;
    margin-bottom: 18px;
    line-height: 1.7;
}

.mv3-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 14px;
}

.mv3-list li {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid #d8e4f4;
    border-radius: 12px;
    padding: 11px 12px;
    box-shadow: 0 6px 14px rgba(11, 28, 61, 0.06);
    transition: var(--transition);
}

.mv3-list li:hover {
    transform: translateY(-2px);
    border-color: #c7d9ef;
    box-shadow: 0 10px 20px rgba(11, 28, 61, 0.1);
}

.mv3-list li i {
    width: 22px;
    height: 22px;
    min-width: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--secondary-color);
    border-radius: 50%;
    margin-right: 10px;
    font-size: 11px;
}

.mv3-card.vision-card .mv3-list li i {
    background: var(--primary-color);
    color: var(--white);
}

.mv-timeline-item.in-view .mv-timeline-dot {
    animation: timelinePulse 1.6s ease-out 2;
}

@keyframes timelinePulse {
    0% {
        box-shadow: 0 6px 16px rgba(11, 28, 61, 0.18), 0 0 0 0 rgba(230, 57, 70, 0.45);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 8px 20px rgba(11, 28, 61, 0.22), 0 0 0 16px rgba(230, 57, 70, 0);
        transform: scale(1.06);
    }
    100% {
        box-shadow: 0 6px 16px rgba(11, 28, 61, 0.18), 0 0 0 0 rgba(230, 57, 70, 0);
        transform: scale(1);
    }
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services-section {
    background: var(--white);
}

.service-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 28, 61, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover .service-overlay {
    opacity: 1;
}

.service-overlay i {
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
}

.service-content {
    padding: 30px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: -60px;
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.service-icon i {
    font-size: 24px;
    color: var(--white);
}

.service-content h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.service-content p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 15px;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
    background: var(--light-gray);
}

.product-gallery-row {
    align-items: flex-start;
}

/* Other Products (home): equal-height cards per row */
#other-products .product-gallery-row {
    align-items: stretch;
}

#other-products .product-gallery-row > [class*="col-"] {
    display: flex;
}

#other-products .product-card {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    min-height: 100%;
    padding: 16px 14px 14px;
}

#other-products .product-card h4 {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--primary-color);
    letter-spacing: 0.01em;
}

#other-products .product-image-wrap {
    margin-bottom: 12px;
}

#other-products .product-enquiry-actions,
.products-page-grid .product-enquiry-actions {
    align-self: stretch;
}

#other-products .product-enquiry-btn,
.products-page-grid .product-enquiry-btn {
    width: 100%;
    font-weight: 600;
    border-radius: 10px;
}

#other-products .product-whatsapp-link,
.products-page-grid .product-whatsapp-link {
    width: 100%;
    font-weight: 600;
    border-radius: 10px;
    background: #25d366 !important;
    border: none !important;
    color: #fff !important;
}

#other-products .product-whatsapp-link:hover,
.products-page-grid .product-whatsapp-link:hover {
    background: #1fb855 !important;
    color: #fff !important;
}

/* Products listing page (products.html): equal-height cards + enquiry, link wraps image + title only */
.products-page-grid .product-gallery-row {
    align-items: stretch;
}

.products-page-grid .product-gallery-row > [class*="col-"] {
    display: flex;
}

.products-page-grid .product-card {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    min-height: 100%;
    padding: 16px 14px 14px;
}

.products-page-grid .product-card .product-card-link {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    color: inherit;
}

.products-page-grid .product-card .product-card-link h4 {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--primary-color);
    letter-spacing: 0.01em;
}

.products-page-grid .product-image-wrap {
    margin-bottom: 12px;
}

#other-products .section-subtitle {
    font-size: 14px;
}

#other-products .section-title {
    font-size: clamp(1.6rem, 1.35rem + 0.75vw, 2rem);
}

#other-products .section-description {
    font-size: 1rem;
    color: #5c6b82;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Gallery (home brochure cards): match Other Products typography & equal height */
#product-gallery .section-subtitle {
    font-size: 14px;
}

#product-gallery .section-title {
    font-size: clamp(1.6rem, 1.35rem + 0.75vw, 2rem);
}

#product-gallery .section-description {
    font-size: 1rem;
    color: #5c6b82;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

#product-gallery .featured-gallery-row {
    align-items: stretch;
}

#product-gallery .featured-gallery-row > [class*="col-"] {
    display: flex;
}

#product-gallery .featured-gallery-card {
    flex: 1 1 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 14px 12px 12px;
    min-height: 100%;
}

#product-gallery .featured-gallery-card h4 {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 6px;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
    color: var(--primary-color);
    letter-spacing: 0.01em;
}

#product-gallery .featured-gallery-image-wrap {
    margin-bottom: 12px;
}

#product-gallery .featured-gallery-card .product-detail-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 0;
}

#product-gallery .featured-gallery-card:hover .product-detail-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.featured-gallery-row {
    align-items: stretch;
}

.featured-gallery-card {
    display: block;
    height: 100%;
    background: var(--white);
    border-radius: 15px;
    padding: 16px 16px 12px;
    border: 1px solid #e1e9f7;
    box-shadow: var(--shadow-sm);
    text-align: center;
    color: inherit;
    transition: var(--transition);
}

.featured-gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.featured-gallery-image-wrap {
    width: 100%;
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    background: #f6f9ff;
    border: 1px solid #e4eaf5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-sizing: border-box;
}

.featured-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.featured-gallery-card h4 {
    font-size: 1.0625rem;
    margin: 0 0 6px;
    color: var(--primary-color);
}

.product-card-link {
    color: inherit;
}

.product-card-link:hover h4 {
    color: var(--accent-color);
}

.product-card-link .product-image-wrap {
    cursor: pointer;
}

.product-card {
    background: var(--white);
    padding: 22px 20px 12px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 30px;
    height: auto;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.product-image-wrap {
    width: 100%;
    height: 230px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    border: 1px solid #e4eaf5;
    background: #f7faff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    cursor: zoom-in;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.35s ease;
}

.product-card:hover .product-image {
    transform: scale(1.04);
}

.product-card h4 {
    font-size: 1.125rem;
    margin-bottom: 6px;
    color: var(--primary-color);
}

.product-detail-link {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary-color);
    display: inline-block;
    margin-top: 2px;
}

.product-detail-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
    opacity: 0.92;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(4, 12, 25, 0.88);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 12000;
}

.product-lightbox.active {
    display: flex !important;
}

.product-lightbox-image {
    max-width: min(1100px, 92vw);
    max-height: 88vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.38);
}

.product-lightbox-close {
    position: absolute;
    top: 16px;
    right: 22px;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-card p {
    color: var(--text-color);
    margin-bottom: 0;
    font-size: 15px;
}

/* Product detail & gallery pages */
.product-detail-page {
    min-height: 60vh;
    padding: 2rem 0 4.5rem;
    background: linear-gradient(165deg, #e8eef6 0%, #f4f6f9 42%, #eef1f6 100%);
}

.product-detail-breadcrumb-bar {
    margin-bottom: 1.25rem;
    padding: 0.65rem 1.1rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(11, 28, 61, 0.08);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(11, 28, 61, 0.06);
    backdrop-filter: blur(8px);
}

.product-breadcrumb {
    font-size: 13px;
    font-weight: 500;
}

.product-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: #94a3b8;
}

.product-breadcrumb a {
    color: var(--accent-color);
    font-weight: 600;
}

.product-breadcrumb a:hover {
    color: var(--secondary-color);
}

.product-breadcrumb .active {
    color: var(--primary-color);
    font-weight: 600;
}

.product-detail-surface {
    background: var(--white);
    border: 1px solid rgba(11, 28, 61, 0.07);
    border-radius: 20px;
    padding: 1.75rem 1.5rem 2.25rem;
    box-shadow:
        0 4px 24px rgba(11, 28, 61, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

@media (min-width: 768px) {
    .product-detail-surface {
        padding: 2.25rem 2.25rem 2.75rem;
    }
}

.product-detail-main-row {
    align-items: stretch;
}

.product-detail-copy-col {
    min-height: 0;
}

.product-detail-copy-main {
    min-height: 0;
}

.product-detail-header {
    margin-bottom: 1.5rem;
    padding-bottom: 0.25rem;
}

/* Key specifications — full width, 4 columns on md+; label then value per column; PRODUCT_CATALOG[].specs */
.product-detail-specs-row {
    margin-top: 1rem;
}

.product-detail-specs-wrap {
    margin-bottom: 1.5rem;
}

.product-detail-specs-wrap--full {
    width: 100%;
}

.product-detail-specs-section-title {
    margin-bottom: 0.75rem;
}

.product-detail-spec-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    width: 100%;
    padding: 0;
    border-radius: 16px;
    border: 1px solid rgba(11, 28, 61, 0.08);
    background:
        linear-gradient(90deg, var(--secondary-color) 0%, #ff8a95 45%, rgba(255, 138, 149, 0.35) 100%) 0 0 / 100% 3px no-repeat,
        rgba(11, 28, 61, 0.1);
    box-shadow: 0 2px 12px rgba(11, 28, 61, 0.04);
    overflow: hidden;
}

@media (min-width: 576px) {
    .product-detail-spec-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 992px) {
    .product-detail-spec-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.product-detail-spec-strip-item {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.1rem 1.15rem 1.15rem;
    min-width: 0;
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
}

.product-detail-spec-strip-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-color);
    line-height: 1.35;
}

.product-detail-spec-strip-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.4;
    word-break: break-word;
}

.product-detail-aside {
    position: relative;
}

.product-detail-image-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(11, 28, 61, 0.08);
    background: linear-gradient(180deg, #fafbfd 0%, #ffffff 100%);
    padding: 1.25rem;
    box-shadow: 0 8px 32px rgba(11, 28, 61, 0.08);
}

.product-detail-image-wrap::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    height: 4px;
    border-radius: 16px 16px 0 0;
    background: linear-gradient(90deg, var(--secondary-color) 0%, #ff8a95 45%, rgba(255, 138, 149, 0.35) 100%);
    pointer-events: none;
}

.product-detail-card {
    background: linear-gradient(145deg, #f8fafc 0%, #ffffff 100%);
    border: 1px solid rgba(11, 28, 61, 0.08);
    border-radius: 16px;
    padding: 1.35rem 1.25rem;
    box-shadow: 0 2px 12px rgba(11, 28, 61, 0.04);
}

.product-detail-card-split {
    margin-top: -2.5rem;
}

.product-detail-card-col {
    padding: 0.35rem 0.5rem 0.5rem;
}

@media (min-width: 768px) {
    .product-detail-card-split .product-detail-card-col:first-child {
        border-right: 1px solid rgba(11, 28, 61, 0.08);
    }
}

.product-detail-card-tight {
    padding: 14px 14px;
}

.product-detail-hero-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.85rem;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.product-detail-lead {
    font-size: 1rem;
    color: #5a6578;
    margin-bottom: 1.35rem;
    line-height: 1.7;
    max-width: 38rem;
}

.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* After applications card; mt-auto pins to bottom of column to match image column (lg+) */
.product-detail-actions--after-card {
    padding-top: 1rem;
    margin-top: 0;
    justify-content: center;
}

@media (min-width: 992px) {
    .product-detail-actions--after-card {
        padding-top: 1.25rem;
    }
}

.product-detail-brochure-above-wrap {
    margin-bottom: 1.25rem;
}

.product-detail-btn-primary.btn {
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
}

.product-detail-btn-whatsapp.btn-success {
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    background: #25d366 !important;
    border: none !important;
}

.product-detail-btn-whatsapp.btn-success:hover {
    background: #1fb855 !important;
    color: #fff !important;
}

.product-detail-page .product-detail-btn-secondary.btn-outline-primary {
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    border-width: 2px;
    color: var(--primary-color);
    border-color: rgba(11, 28, 61, 0.22);
    background: transparent;
}

.product-detail-page .product-detail-btn-secondary.btn-outline-primary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(230, 57, 70, 0.06);
}

.product-detail-block-title {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.85rem;
    color: var(--primary-color);
}

.product-detail-block-title-inner {
    display: inline-block;
    padding-bottom: 0.35rem;
    border-bottom: 2px solid var(--secondary-color);
}

.product-detail-list {
    margin: 0 0 0 1.1rem;
    padding: 0;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

.product-detail-list li {
    margin-bottom: 8px;
}

.product-detail-list li::marker {
    color: var(--secondary-color);
}

.product-detail-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 460px;
    cursor: zoom-in;
}

.product-detail-subimages {
    margin-top: 12px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-detail-subimages img {
    width: 100%;
    max-width: 220px;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(11, 28, 61, 0.08);
    background: var(--white);
    padding: 10px;
    object-fit: contain;
    box-shadow: 0 2px 8px rgba(11, 28, 61, 0.06);
    transition: var(--transition);
    cursor: zoom-in;
}

.product-detail-subimages img:hover {
    border-color: rgba(230, 57, 70, 0.35);
}

.product-detail-tech-row {
    margin-top: 0.5rem;
}

.product-detail-related {
    margin-top: 2rem;
    padding-top: 0;
    border-top: none;
}

.product-detail-related-heading {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.15rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(230, 57, 70, 0.35);
    display: inline-block;
    min-width: 0;
}

@media (max-width: 991.98px) {
    .product-detail-aside {
        position: static;
        top: auto;
    }

    .product-detail-card-split .product-detail-card-col:first-child {
        border-right: none;
        border-bottom: 1px solid rgba(11, 28, 61, 0.08);
        padding-bottom: 1rem;
        margin-bottom: 0.25rem;
    }
}

.product-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.product-related-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: linear-gradient(145deg, #fafbfd 0%, #ffffff 100%);
    border: 1px solid rgba(11, 28, 61, 0.08);
    border-radius: 14px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(11, 28, 61, 0.04);
}

.product-related-link:hover {
    border-color: rgba(230, 57, 70, 0.45);
    color: var(--secondary-color);
    box-shadow: 0 8px 24px rgba(11, 28, 61, 0.1);
    transform: translateY(-2px);
}

.product-related-thumb-wrap {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-related-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-related-title {
    line-height: 1.35;
}

/* Technical specification blocks on product detail */
.product-detail-brochure-wrap {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(11, 28, 61, 0.08);
}

.brochure-spec-panel {
    background: linear-gradient(145deg, #fafbfd 0%, #ffffff 100%);
    color: var(--text-color);
    border-radius: 14px;
    padding: 20px 22px;
    border: 1px solid rgba(11, 28, 61, 0.08);
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 8px 24px rgba(11, 28, 61, 0.06);
}

.brochure-spec-h3 {
    color: var(--primary-color);
    font-size: 1.08rem;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: var(--font-heading);
}

.brochure-spec-h3-red {
    color: var(--secondary-color);
}

.brochure-spec-p {
    color: var(--text-color);
    margin-bottom: 0;
    line-height: 1.65;
    font-size: 15px;
}

.brochure-dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 4px;
}

.brochure-dd {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.35;
}

.brochure-key-specs {
    padding: 16px 18px;
    border-radius: 12px;
    background: linear-gradient(180deg, #f1f6fb 0%, #f8fafc 100%);
    border: 1px solid rgba(11, 28, 61, 0.08);
}

.brochure-tech-table {
    margin-bottom: 0;
    --bs-table-bg: transparent;
    --bs-table-color: var(--text-color);
    border-radius: 10px;
    overflow: hidden;
}

.brochure-tech-table thead th {
    background: linear-gradient(180deg, #0b1c3d 0%, #152a52 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-color: rgba(255, 255, 255, 0.18);
    padding: 10px 8px;
    white-space: nowrap;
}

.brochure-tech-table tbody td {
    border-color: rgba(11, 28, 61, 0.1);
    color: var(--text-color);
    font-size: 12px;
    padding: 10px 8px;
    vertical-align: top;
    background: rgba(255, 255, 255, 0.6);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.brochure-tech-table tbody td:first-child {
    color: var(--primary-color);
    font-weight: 600;
    min-width: 140px;
}

.brochure-spec-ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.brochure-spec-ul li {
    margin-bottom: 8px;
    padding-left: 1.45rem;
    position: relative;
    line-height: 1.55;
    color: var(--primary-color);
}

.brochure-spec-ul li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 0.12em;
    color: var(--secondary-color);
    font-weight: 700;
    font-size: 0.9em;
    line-height: 1;
}

.brochure-particulars-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.brochure-particulars-list li {
    margin-bottom: 14px;
    line-height: 1.55;
    padding-left: 2.15rem;
    position: relative;
}

.brochure-particulars-list .brochure-particular-icon {
    position: absolute;
    left: 0;
    top: 0.18em;
    color: var(--secondary-color);
    font-size: 1.05rem;
    line-height: 1;
}

.brochure-particular-kv {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.brochure-particular-key {
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.35;
}

.brochure-particular-val {
    color: var(--primary-color);
    font-weight: 400;
    line-height: 1.6;
}

.brochure-spec-label {
    color: var(--secondary-color);
    font-weight: 700;
}

.distributor-panel {
    margin-top: 10px;
    padding: 24px 22px 20px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid #d8e4f4;
    box-shadow: 0 12px 28px rgba(11, 28, 61, 0.08);
    position: relative;
}

.distributor-panel::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 4px;
    border-radius: 18px 18px 0 0;
    background: linear-gradient(90deg, var(--secondary-color) 0%, #ff6b74 45%, rgba(255, 107, 116, 0) 100%);
}

.distributor-heading {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 14px;
    color: var(--primary-color);
}

.distributor-heading span {
    color: var(--secondary-color);
}

.distributor-subtitle {
    margin: 0 0 16px;
    color: #1f3556;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-transform: none;
    line-height: 1.65;
    max-width: 760px;
}

.distributor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.dist-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border: 1px solid #e4ecf8;
    border-radius: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #f9fbff 100%);
    color: #243c5d;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-align: left;
    min-height: 64px;
    transition: var(--transition);
}

.dist-item:hover {
    transform: translateY(-2px);
    border-color: #d1dff2;
    box-shadow: 0 8px 18px rgba(11, 28, 61, 0.08);
}

.dist-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.16) 0%, rgba(230, 57, 70, 0.08) 100%);
    border: 1px solid rgba(230, 57, 70, 0.2);
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.dist-item span:last-child {
    margin-top: 0;
    display: block;
}

@media (max-width: 991.98px) {
    .distributor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .distributor-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ========================================
   CLIENTS SECTION
   ======================================== */
.clients-section {
    background: var(--white);
}

.client-category {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-color);
}

.client-category i {
    color: var(--secondary-color);
}

.client-group {
    background: var(--white);
    border: 1px solid #e2eaf5;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 24px rgba(11, 28, 61, 0.06);
}

.client-group-header {
    margin-bottom: 8px;
}

.client-logo {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px 14px 16px;
    text-align: center;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    margin-bottom: 0;
    height: 100%;
    box-shadow: 0 1px 3px rgba(11, 28, 61, 0.06), 0 4px 14px rgba(11, 28, 61, 0.04);
}

.client-logo:hover {
    border-color: rgba(230, 57, 70, 0.35);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(11, 28, 61, 0.1), 0 2px 6px rgba(11, 28, 61, 0.06);
}

.client-icon {
    width: 62px;
    height: 62px;
    background: rgba(230, 57, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.client-icon i {
    font-size: 24px;
    color: var(--secondary-color);
}

.client-logo-image-wrap {
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    padding: 8px 10px;
    background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    border: 1px solid #eef2f7;
    border-radius: 12px;
}

.client-logo-image {
    max-height: 82px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.client-logo span {
    display: block;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 600;
    color: #0f2744;
    margin-bottom: 6px;
    line-height: 1.4;
    letter-spacing: 0.03em;
    text-transform: uppercase !important;
}

.client-logo small {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.client-work-locations {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eef2f7;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.55;
    color: var(--secondary-color);
    text-transform: uppercase;
}

.client-scroller {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    padding-top: 6px;
    padding-bottom: 0;
    scrollbar-width: none;
}

.client-scroller::-webkit-scrollbar {
    display: none;
}

.client-scroller-track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    width: max-content;
    animation: clientScroll 42s linear infinite;
}

/* Private Clients: card is ONE element with both classes (not nested) */
.client-logo.client-scroller-item {
    flex: 0 0 240px;
    width: 240px;
    min-width: 240px;
    max-width: 240px;
    display: flex;
    flex-direction: column;
    align-self: stretch;
    height: auto;
    min-height: 0;
    padding: 16px 14px 14px;
    box-sizing: border-box;
    border-radius: 14px;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 2px rgba(11, 28, 61, 0.05), 0 6px 16px rgba(11, 28, 61, 0.06);
}

.client-logo.client-scroller-item:hover {
    border-color: rgba(230, 57, 70, 0.28);
    box-shadow: 0 12px 28px rgba(11, 28, 61, 0.1), 0 4px 10px rgba(230, 57, 70, 0.06);
}

.client-logo.client-scroller-item .client-logo-image-wrap {
    flex-shrink: 0;
    height: 86px;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #eef2f7;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.client-logo.client-scroller-item .client-logo-image {
    max-height: 74px;
}

.client-logo.client-scroller-item > span {
    margin-top: auto;
    font-size: 15px;
    font-weight: 600;
    color: #0f2744;
    letter-spacing: 0.035em;
    line-height: 1.38;
}

.client-logo.client-scroller-item > small {
    font-size: 13px;
    color: #475569;
    font-weight: 500;
    line-height: 1.45;
}

.client-scroller:hover .client-scroller-track {
    animation-play-state: paused;
}

@keyframes clientScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.client-testimonials-wrap {
    border-top: none;
    margin-top: 2.5rem;
    padding: 3rem 0 1rem;
    background: linear-gradient(180deg, #f0f4f8 0%, #f8fafc 100%);
    border-radius: 24px;
}

/* Testimonials carousel — arrows + dots */
.client-testimonials-carousel {
    position: relative;
    padding: 0 clamp(2.5rem, 6vw, 4rem) 2.75rem;
}

.client-testimonials-carousel .carousel-inner {
    overflow: visible;
}

.client-testimonials-carousel .carousel-item {
    transition: transform 0.55s ease-in-out;
}

.client-testimonial-indicators {
    position: static;
    margin: 1.35rem auto 0;
    gap: 0.5rem;
}

.client-testimonial-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background-color: #cbd5e1;
    opacity: 1;
    margin: 0;
    transition: background-color 0.25s ease, width 0.25s ease, border-radius 0.25s ease;
}

.client-testimonial-indicators [data-bs-target].active {
    background-color: var(--secondary-color);
    width: 24px;
    border-radius: 4px;
}

.client-testimonial-carousel-btn {
    width: 44px;
    height: 44px;
    top: 42%;
    transform: translateY(-50%);
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(11, 28, 61, 0.1);
    opacity: 1;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.client-testimonial-carousel-btn:hover {
    background: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    box-shadow: 0 8px 22px rgba(11, 28, 61, 0.18);
}

.client-testimonial-carousel-btn:hover .carousel-control-prev-icon,
.client-testimonial-carousel-btn:hover .carousel-control-next-icon {
    filter: invert(1) brightness(2);
}

.client-testimonial-carousel-btn .carousel-control-prev-icon,
.client-testimonial-carousel-btn .carousel-control-next-icon {
    width: 1.35rem;
    height: 1.35rem;
    filter: invert(0.35) brightness(0.35);
}

.client-testimonials-carousel .carousel-control-prev {
    left: 0;
}

.client-testimonials-carousel .carousel-control-next {
    right: 0;
}

@media (max-width: 767.98px) {
    .client-testimonials-carousel {
        padding: 0 2.75rem 2.5rem;
    }

    .client-testimonial-carousel-btn {
        width: 42px;
        height: 42px;
        top: 38%;
    }
}

.client-testimonials-title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.client-testimonial-card {
    margin: 0;
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: var(--white);
    border: none;
    border-radius: 18px;
    box-shadow:
        0 1px 3px rgba(11, 28, 61, 0.06),
        0 8px 24px rgba(11, 28, 61, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.client-testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, #f06778 100%);
    border-radius: 18px 18px 0 0;
    z-index: 1;
}

.client-testimonial-card:hover {
    box-shadow:
        0 4px 12px rgba(11, 28, 61, 0.08),
        0 20px 44px rgba(11, 28, 61, 0.14);
    transform: translateY(-6px);
}

.client-testimonial-company {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.15rem 1.25rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid #edf1f7;
}

.client-testimonial-logo-wrap {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--white);
    border: 1px solid #e8eef6;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(11, 28, 61, 0.06);
}

.client-testimonial-logo {
    max-width: 100%;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-testimonial-company-meta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
    min-width: 0;
    text-align: left;
}

.client-testimonial-company-name {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    color: #0f2744;
    letter-spacing: -0.01em;
}

.client-testimonial-company-abbr {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.client-testimonial-company-sector {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.35;
}

.client-testimonial-card .client-testimonial-quote {
    padding: 0 1.25rem;
    margin-top: 1rem;
}

.client-testimonial-quote {
    color: rgba(230, 57, 70, 0.18);
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.client-testimonial-text {
    font-size: 0.9rem;
    font-style: italic;
    line-height: 1.75;
    color: #475569;
    margin: 0;
    padding: 0 1.25rem 1.25rem;
    flex: 1;
}

.client-testimonial-footer {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding: 0.9rem 1.25rem;
    border-top: 1px solid #edf1f7;
    background: #fafbfd;
}

.client-testimonial-avatar {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--white);
    background: linear-gradient(145deg, var(--primary-color) 0%, var(--accent-color) 100%);
    box-shadow: 0 0 0 3px var(--white), 0 2px 8px rgba(11, 28, 61, 0.2);
}

.client-testimonial-attribution {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
    text-align: left;
}

.client-testimonial-person-name {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.3;
}

.client-testimonial-person-title {
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.35;
}

@media (max-width: 575.98px) {
    .client-testimonial-company {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1rem;
    }

    .client-testimonial-logo-wrap {
        width: 64px;
        height: 64px;
    }

    .client-testimonial-company-meta {
        text-align: center;
        align-items: center;
    }

    .client-testimonial-footer {
        flex-wrap: wrap;
    }

    .client-testimonial-text {
        font-size: 0.85rem;
    }
}

@media (max-width: 991.98px) {
    .client-testimonials-wrap {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-testimonial-card,
    .client-testimonial-card:hover {
        transform: none !important;
        transition: none !important;
    }
}

/* ========================================
   MACHINERY SECTION
   ======================================== */
.machinery-page .machinery-section {
    padding-top: 40px;
}

.machinery-section {
    background: var(--light-gray);
}

.machinery-section .section-title {
    color: var(--secondary-color);
}

.machinery-table-wrapper {
    background: var(--white);
    border-radius: 16px;
    border: 1px solid #dce7f6;
    box-shadow: 0 14px 30px rgba(11, 28, 61, 0.08);
    overflow: hidden;
}

.machinery-panel-header {
    padding: 22px 24px 16px;
    background: linear-gradient(135deg, rgba(11, 28, 61, 0.96) 0%, rgba(29, 53, 87, 0.92) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
}

.machinery-header-kicker {
    display: inline-block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.machinery-panel-header h4 {
    color: var(--white);
    font-size: 24px;
    margin-bottom: 6px;
}

.machinery-panel-header p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    font-size: 14px;
}

.machinery-header-badge {
    flex-shrink: 0;
    margin-top: 4px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(230, 57, 70, 0.18);
    border: 1px solid rgba(230, 57, 70, 0.4);
    color: #ffd9dc;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.8px;
}

.machinery-table {
    margin-bottom: 0;
}

.machinery-table thead {
    background: var(--secondary-color);
    display: table-header-group;
}

.machinery-table thead th {
    background: var(--secondary-color) !important;
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 18px 20px;
    border: none;
}

.machinery-table tbody td:first-child {
    font-weight: 700;
    color: var(--secondary-color);
    text-align: center;
    width: 8%;
}

.machinery-table tbody td {
    padding: 10px 18px;
    border-color: var(--border-color);
    vertical-align: middle;
    font-size: 14px;
}

.machinery-table tbody tr {
    border-bottom: 1px solid #eef2f8;
    transition: background 0.18s ease;
}

.machinery-table tbody td:nth-child(2) {
    font-weight: 500;
    width: 28%;
}

.machinery-table tbody td:last-child {
    text-align: center;
    width: 14%;
}

.machinery-table tbody tr:nth-child(even) {
    background: #f7fbff;
}

.machinery-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.machinery-table tbody tr:hover {
    background: var(--light-gray);
}

.badge {
    padding: 8px 15px;
    font-weight: 500;
    border-radius: 50px;
}

.quantity-badge {
    display: inline-block;
    min-width: 74px;
    text-align: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: #edf4ff;
    border: 1px solid #cfe0f5;
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.machinery-load-more-btn {
    border-radius: 999px;
    padding: 12px 32px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-width: 2px;
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.machinery-load-more-btn:hover,
.machinery-load-more-btn:focus,
.machinery-load-more-btn:focus-visible,
.machinery-load-more-btn:active,
.machinery-load-more-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(11, 28, 61, 0.2);
}

.machinery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.machinery-card {
    background: var(--white);
    border: 1px solid #dbe7f6;
    border-radius: 14px;
    padding: 18px 16px;
    box-shadow: 0 10px 20px rgba(11, 28, 61, 0.06);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.machinery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 26px rgba(11, 28, 61, 0.12);
}

.machinery-no {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(230, 57, 70, 0.12);
    color: var(--secondary-color);
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.machinery-card h5 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
}

.machinery-card p {
    margin: 0;
    color: #586a86;
    font-size: 14px;
    line-height: 1.55;
}

.machinery-more {
    margin-top: 14px;
    border: 1px solid #d6e4f6;
    border-radius: 12px;
    background: #f8fbff;
    padding: 10px 12px 12px;
}

.machinery-more summary {
    list-style: none;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.machinery-more summary::-webkit-details-marker {
    display: none;
}

.machinery-more summary::before {
    content: "+";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e6eef9;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    line-height: 1;
}

.machinery-more[open] summary::before {
    content: "-";
}

/* ========================================
   TESTING SECTION
   ======================================== */
.testing-section {
    background: var(--white);
}

.testing-header .section-description {
    max-width: 720px;
    margin: 0 auto;
}

.testing-equip-bundle {
    margin-top: 8px;
}

.testing-equip-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px 28px;
    padding: 18px 22px 18px 20px;
    margin-bottom: 22px;
    background: var(--white);
    border: 1px solid #e2eaf5;
    border-radius: 14px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 20px rgba(11, 28, 61, 0.06);
}

.testing-equip-intro-main {
    min-width: 0;
}

.testing-equip-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.testing-equip-lead {
    font-size: 14px;
    color: #4a5f7f;
    line-height: 1.6;
    margin: 0;
}

.testing-equip-stat {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid #e2eaf5;
    border-radius: 12px;
    text-align: center;
}

.testing-equip-stat-num {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.testing-equip-stat-label {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6b7c99;
}

.testing-equip-grid {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
}

.testing-equip-grid > .testing-equip-card {
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 1199.98px) {
    .testing-equip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .testing-equip-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .testing-equip-grid {
        grid-template-columns: 1fr;
    }
}

.testing-equip-card {
    position: relative;
    height: 100%;
    padding: 20px 20px 18px 22px;
    background: var(--white);
    border: 1px solid #e2eaf5;
    border-radius: 14px;
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 8px 22px rgba(11, 28, 61, 0.06);
    transition: var(--transition);
}

.testing-equip-card:hover {
    border-color: #cfdcf0;
    box-shadow: 0 12px 28px rgba(11, 28, 61, 0.1);
    transform: translateY(-2px);
}

.testing-equip-no {
    position: absolute;
    top: 16px;
    right: 18px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: rgba(230, 57, 70, 0.55);
    letter-spacing: 0.5px;
}

.testing-equip-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 48px 10px 0;
    line-height: 1.35;
}

.testing-equip-spec {
    font-size: 13px;
    color: #586a86;
    line-height: 1.55;
    margin: 0 0 14px 0;
}

.testing-equip-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #eef2f8;
}

.testing-cal-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: rgba(46, 160, 67, 0.12);
    color: #1e7e34;
    border: 1px solid rgba(46, 160, 67, 0.35);
}

.testing-qty {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 8px;
    background: #edf4ff;
    border: 1px solid #cfe0f5;
}

@media (max-width: 575.98px) {
    .testing-equip-intro {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px 18px;
    }

    .testing-equip-stat {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
        min-width: 0;
        padding: 12px 16px;
    }

    .testing-equip-stat-label {
        margin-top: 0;
    }
}

/* ========================================
   QUALITY SECTION
   ======================================== */
.quality-section {
    background: var(--light-gray);
}

.quality-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-bottom: 30px;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.quality-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.quality-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 800;
    color: rgba(11, 28, 61, 0.05);
    line-height: 1;
}

.quality-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.quality-icon i {
    font-size: 32px;
    color: var(--white);
}

.quality-card h4 {
    font-size: 20px;
    margin-bottom: 15px;
}

.quality-card p {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 15px;
}

.quality-materials {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.quality-materials li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--text-color);
}

.quality-materials li i {
    color: var(--secondary-color);
    margin-right: 10px;
}

/* Quality process — full brochure content */
.quality-process-stages {
    margin-top: 8px;
}

.quality-process-stage {
    margin-bottom: 40px;
}

.quality-process-stage--last {
    margin-bottom: 0;
}

.quality-process-img-wrap {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e4eaf5;
    background: #f0f4fa;
    min-height: 260px;
    height: 100%;
}

.quality-process-photo {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.45s ease;
}

.quality-process-img-wrap:hover .quality-process-photo {
    transform: scale(1.03);
}

.quality-process-card {
    position: relative;
    background: var(--white);
    padding: 28px 28px 26px;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e8eef8;
    height: 100%;
    border-left: 4px solid var(--secondary-color);
}

.quality-process-step {
    position: absolute;
    top: 18px;
    right: 22px;
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 800;
    line-height: 1;
    color: rgba(11, 28, 61, 0.07);
    pointer-events: none;
}

.quality-process-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 20px;
    padding-right: 56px;
}

.quality-process-title span {
    display: block;
    font-size: 0.88em;
    font-weight: 600;
    color: var(--text-color);
    margin-top: 4px;
}

.quality-subsection {
    margin-bottom: 18px;
}

.quality-subsection:last-child {
    margin-bottom: 0;
}

.quality-subtitle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0 0 8px;
    letter-spacing: 0.02em;
}

.quality-detail-list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.55;
}

.quality-detail-list li {
    margin-bottom: 6px;
}

.quality-detail-list li:last-child {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .quality-process-title {
        padding-right: 0;
    }

    .quality-process-step {
        position: static;
        display: block;
        font-size: 40px;
        margin-bottom: 8px;
        color: rgba(11, 28, 61, 0.12);
    }

    .quality-process-card {
        padding-top: 22px;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    background: var(--white);
}

.contact-info {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #c1121f 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 24px;
    color: var(--white);
}

.contact-content h5 {
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.contact-content p {
    color: var(--text-color);
    margin-bottom: 0;
}

/* Map aligned with site .container (same width as contact form) */
.contact-google-map-ratio--contained {
    position: relative;
    width: 100%;
    height: min(58vh, 640px);
    min-height: 400px;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

@media (min-width: 992px) {
    .contact-google-map-ratio--contained {
        height: min(60vh, 680px);
        min-height: 480px;
    }
}

.contact-google-map-ratio--contained .contact-google-map-iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-google-map-iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.contact-form-wrapper {
    background: var(--light-gray);
    padding: 50px;
    border-radius: 15px;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
}

.form-control {
    height: 55px;
    padding: 15px 20px;
    padding-left: 50px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: none;
}

textarea.form-control {
    height: auto;
    resize: none;
}

.form-group i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    font-size: 18px;
}

.form-group textarea + i {
    top: 20px;
    transform: none;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: linear-gradient(180deg, var(--primary-color) 0%, #091a35 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, #f06778 50%, var(--secondary-color) 100%);
}

.footer-top {
    padding: 70px 0 45px;
}

.footer-widget {
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 22px;
}

.footer-logo-img {
    height: auto;
    max-height: 56px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

.footer-text {
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 22px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.social-link:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-widget h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.68);
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-contact li i {
    color: var(--secondary-color);
    margin-right: 12px;
    margin-top: 4px;
    font-size: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.25);
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
    font-size: 0.8125rem;
}

.copyright-dev strong {
    color: rgba(255, 255, 255, 0.7);
}

.copyright i {
    color: var(--secondary-color);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-5px);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Large Devices (Desktops, less than 1200px) */
@media (max-width: 1199.98px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

/* Medium Devices (Tablets, less than 992px) */
@media (max-width: 991.98px) {
    .section-padding {
        padding: 70px 0;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .experience-badge {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 20px;
        display: inline-block;
    }
    
    #mainNav .navbar-brand .navbar-logo {
        height: 52px;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.99);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: var(--shadow-md);
    }
    
    .mv-card {
        margin-bottom: 30px;
        padding: 28px 24px;
    }

    .mv-card h3 {
        font-size: 26px;
    }

    .mv-list {
        grid-template-columns: 1fr;
    }

    .mv-timeline::before {
        left: 18px;
        transform: none;
    }

    .mv-timeline-item,
    .mv-timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        padding: 0 0 20px 52px;
    }

    .mv-timeline-dot,
    .mv-timeline-item:nth-child(even) .mv-timeline-dot {
        left: 0;
        right: auto;
    }

    .mv-timeline-dot {
        width: 42px;
        height: 42px;
    }

    .mv2-intro {
        margin-bottom: 6px;
    }

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

    .mv2-card h3 {
        font-size: 24px;
    }

    .mv3-image {
        height: 300px;
    }

    .mv3-card h3 {
        font-size: 26px;
    }

    .mv3-card {
        min-height: auto;
    }

    .mv3-list {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 30px;
    }

    .factory-content-card {
        margin-top: 24px;
        height: auto;
    }

    .factory-image {
        min-height: 360px;
    }

    .factory-v2-image {
        height: 320px;
    }

    .factory-v2-overlay {
        max-width: 100%;
        padding: 24px 22px;
    }

    .factory-aside-card {
        margin-top: 12px;
    }

    .factory-cred-chips span {
        font-size: 12px;
    }

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

/* Small Devices (Landscape Phones, less than 768px) */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 50px 0;
    }
    
    :root {
        --font-size-base: 14px;
    }
    
    .section-subtitle {
        font-size: 13px;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .hero-buttons .btn:first-child {
        margin-right: 0 !important;
    }

    .about-features {
        margin-left: 0;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-tagline-text {
        padding: 10px 20px;
        border-radius: 6px;
    }
    
    .stat-item {
        flex: 0 0 100%;
    }
    
    .factory-stats {
        flex-direction: column;
    }

    .factory-v2-image {
        height: 280px;
    }

    .factory-v2-overlay .section-title {
        font-size: clamp(1.35rem, 1rem + 1.5vw, 1.75rem);
    }

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

    
    .footer-top {
        padding: 50px 0 30px;
    }

    .footer-widget h4 {
        margin-bottom: 18px;
        padding-bottom: 10px;
    }

    .footer-bottom .row > div {
        padding-top: 4px;
        padding-bottom: 4px;
    }
}

/* Extra Small Devices (Portrait Phones, less than 576px) */
@media (max-width: 575.98px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .experience-badge .years {
        font-size: 30px;
    }
    
    .mv-card {
        padding: 30px 20px;
    }
    
    .contact-form-wrapper {
        padding: 20px;
    }
    
    .machinery-table {
        font-size: 14px;
    }

    .machinery-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .machinery-table thead th,
    .machinery-table tbody td {
        padding: 12px 15px;
    }

    .footer-top {
        padding: 40px 0 20px;
        text-align: center;
    }

    .footer-widget h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact li {
        justify-content: center;
        text-align: left;
    }

    .footer-logo {
        display: flex;
        justify-content: center;
    }

    .footer-bottom .row > div {
        text-align: center !important;
    }
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease forwards;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ========================================
   ENQUIRY MODAL (site-wide)
   ======================================== */
.enquiry-modal .modal-dialog.enquiry-modal-dialog {
    max-width: min(100%, 420px);
    margin: 0.5rem auto;
}

.enquiry-modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(11, 28, 61, 0.16);
}

.enquiry-modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #152a52 100%);
    color: var(--white);
    border-bottom: none;
    padding: 0.65rem 0.9rem;
    align-items: flex-start;
}

.enquiry-modal-header-titles {
    min-width: 0;
}

.enquiry-modal-header .modal-title {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
}

.enquiry-modal-product-line {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.35;
    word-break: break-word;
}

.enquiry-modal-header .btn-close,
.enquiry-modal-header .enquiry-modal-close {
    filter: invert(1) grayscale(1);
    opacity: 0.85;
    padding: 0.35rem;
    margin: -0.2rem -0.2rem -0.2rem auto;
}

.enquiry-modal-body {
    padding: 0.75rem 1rem 0.9rem;
}

.enquiry-modal-field {
    margin-bottom: 0.45rem;
}

.enquiry-modal-intro {
    font-size: 12px;
    line-height: 1.4;
}

.enquiry-modal .form-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.enquiry-modal .form-control,
.enquiry-modal .form-control-sm {
    border-radius: 8px;
    border-color: rgba(11, 28, 61, 0.12);
    font-size: 13px;
    padding: 0.35rem 0.6rem;
    line-height: 1.45;
}

.enquiry-modal .enquiry-modal-textarea {
    min-height: 4.25rem;
    max-height: 100px;
    resize: vertical;
}

.enquiry-modal .form-control:focus {
    border-color: rgba(230, 57, 70, 0.45);
    box-shadow: 0 0 0 0.2rem rgba(230, 57, 70, 0.12);
}

.enquiry-modal-submit.btn-primary {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
}

/* ========================================
   CUSTOM SCROLLBAR (red thumb — brand secondary)
   ======================================== */
html {
    scrollbar-width: thin;
    scrollbar-color: var(--secondary-color) var(--light-gray);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c92a35;
}

/* ========================================
   SELECTION COLOR
   ======================================== */
::selection {
    background: var(--secondary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--secondary-color);
    color: var(--white);
}

/* ========================================
   AUTH & COMPLAINT PAGES
   ======================================== */
.auth-page,
.complaint-page {
    padding-top: 100px;
    padding-bottom: 4rem;
    min-height: 70vh;
}

.auth-page .card {
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.auth-page .nav-pills .nav-link {
    color: var(--text-dark, #333);
}

.auth-page .nav-pills .nav-link.active {
    background: var(--primary-color, #1a365d);
    color: #fff;
}

.complaint-page .container-narrow-complaint {
    max-width: 800px;
}

.complaint-page .complaint-form-card {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.complaint-form-card-header {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

.complaint-form-select {
    min-height: 48px;
    border-radius: 10px;
    border-width: 2px;
    border-color: var(--border-color, #dee2e6);
    font-size: 15px;
}

.complaint-form-select:focus {
    border-color: var(--secondary-color, #c1121f);
    box-shadow: none;
}

.complaint-form-textarea {
    border-radius: 10px;
    border-width: 2px;
    border-color: var(--border-color, #dee2e6);
    font-size: 15px;
    min-height: 140px;
    resize: vertical;
}

.complaint-form-textarea:focus {
    border-color: var(--secondary-color, #c1121f);
    box-shadow: none;
}

.complaint-form-actions {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

.complaint-form-footnote {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.875rem 1rem;
}

.complaint-user-panel {
    background: var(--white, #fff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.complaint-user-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    align-items: center;
}

.complaint-user-strip__item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    color: var(--text-dark, #333);
}

.complaint-user-strip__item i {
    color: var(--secondary-color, #c1121f);
    width: 1.1rem;
    text-align: center;
    flex-shrink: 0;
}

.complaint-back-link {
    color: var(--text-dark, #333);
    font-weight: 500;
    transition: var(--transition, color 0.2s ease);
}

.complaint-back-link:hover {
    color: var(--secondary-color, #c1121f);
}

/* Contact section — complaint CTA */
.letter-spacing-sm {
    letter-spacing: 0.04em;
}

.contact-complaint-block .complaint-cta-icon {
    margin-right: 0;
}

@media (min-width: 576px) {
    .contact-complaint-block .complaint-cta-icon {
        margin-right: 20px;
    }
}

.contact-complaint-block .contact-content h5 {
    font-size: 1.15rem;
    font-weight: 600;
}

.contact-complaint-block .complaint-cta-btn {
    border-radius: 12px;
    padding: 0.55rem 1.25rem;
    font-weight: 600;
}

.concern-pop-btn {
    position: relative;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    border-radius: 12px;
    background: linear-gradient(145deg, var(--secondary-color) 0%, #c1121f 100%);
    border: none;
    color: var(--white);
    box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
    animation: concernBlink 1.2s ease-in-out infinite;
    z-index: 1;
}

.concern-pop-btn:hover {
    background: linear-gradient(145deg, #c1121f 0%, #a30f1a 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.45);
    animation: none;
}

@keyframes concernBlink {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
    }
    50% {
        opacity: 0.4;
        box-shadow: 0 0 6px rgba(230, 57, 70, 0.1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .concern-pop-btn {
        animation: none !important;
    }
}

/* Complaint CTA — from left edge of contact column to right edge of form (container span), no gap under Send Message */
.contact-section .contact-complaint-fullbleed {
    position: relative;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

/* Break out of col-lg-8: pull left by col-lg-4 width + gutter so strip aligns with Working Hours column through form */
@media (min-width: 992px) {
    .contact-section .contact-complaint-fullbleed {
        width: calc(100% + 50% + var(--bs-gutter-x, 1.5rem));
        margin-left: calc(-50% - var(--bs-gutter-x, 1.5rem));
        margin-right: 0;
        max-width: none;
    }
}

@media (max-width: 991.98px) {
    .contact-section .contact-complaint-fullbleed {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
}

.contact-section .complaint-cta-card {
    width: 100%;
}

.contact-section .complaint-cta-row {
    width: 100%;
}

@media (min-width: 992px) {
    .contact-section .complaint-cta-actions {
        justify-content: flex-end;
    }
}
