/* ==========================================================================
   CSS DESIGN SYSTEM FOR STEEL MART
   Colors: Red (#ec2f33), Blue (#02affb), Light Accent (#fffde4), Bg (#faf8e1)
   Theme: Premium Industrial Modern (Dark Slate & Clean Light Contrast)
   ========================================================================== */

/* Design Tokens (CSS Variables) */
:root {
    /* Color Palette */
    --primary-red: #ec2f33;
    --primary-red-hover: #ca2427;
    --primary-blue: #02affb;
    --primary-blue-hover: #0294d4;
    --light-accent: #fffde4;
    --dark-bg: #111622;
    --dark-card: #182030;
    --dark-border: #232d42;
    --light-bg: #faf8e1;
    --light-card: #ffffff;
    --light-border: #e2e8f0;

    /* Text Colors */
    --text-light-primary: #ffffff;
    --text-light-secondary: #94a3b8;
    --text-dark-primary: #0f172a;
    --text-dark-secondary: #475569;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Effects & Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-premium: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
    --border-radius: 12px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: #fafae2;
    color: var(--text-dark-secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark-primary);
    font-weight: 700;
}

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

ul {
    list-style: none;
}

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

/* Utility Layouts */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-light {
    color: var(--text-light-primary) !important;
}

.text-dark {
    color: var(--text-dark-primary) !important;
}

.text-gray {
    color: var(--text-light-secondary) !important;
}

.w-full {
    width: 100%;
}

.section-tag {
    color: var(--primary-blue);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-tag-red {
    color: var(--primary-red);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--text-dark-secondary);
}

/* Button Component */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.btn-primary {
    background-color: var(--primary-red);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(236, 47, 51, 0.4);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
}

.btn-outline:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-light {
    background-color: #ffffff;
    color: var(--primary-red);
}

.btn-light:hover {
    background-color: var(--light-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.btn-icon {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: 0.5rem;
}

/* ==========================================================================
   Header & Sticky Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background-color: rgba(17, 22, 34, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--dark-border);
    transition: var(--transition-fast);
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0;
}

.main-header.scrolled {
    background-color: var(--dark-bg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-logo-wrapper {
    background-color: #fafae2;
    display: flex;
    align-items: center;
    padding-left: max(2rem, calc((100vw - 1200px) / 2));
    padding-right: 4.5rem;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
    height: 100%;
    z-index: 2;
}

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

.logo img {
    max-height: 52px;
    width: auto;
    display: block;
}

.header-nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    padding-right: max(2rem, calc((100vw - 1200px) / 2));
    gap: 2.5rem;
    height: 100%;
    z-index: 1;
}

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

.nav-menu>ul {
    display: flex;
    gap: 2rem;
    align-items: center;
    height: 100%;
}

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

.nav-link {
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    display: inline-flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition-fast);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    height: 100%;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Mobile Overlay Menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(17, 22, 34, 0.99);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 2.5rem 1.5rem;
    overflow-y: auto;
    transition: var(--transition-smooth);
}

.mobile-overlay.active {
    right: 0;
}

.mobile-menu-container {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    width: 100%;
    border-bottom: 1px solid var(--dark-border);
    padding-bottom: 1rem;
}

.mobile-logo {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #ffffff;
    font-size: 1.5rem;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 2.5rem;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-link {
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 600;
}

.mobile-link:hover,
.mobile-link.active {
    color: var(--primary-red);
}

/* Sub-page Banner Component */
.page-banner {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-card) 100%);
    padding: 140px 0 60px 0;
    color: #ffffff;
    border-bottom: 1px solid var(--dark-border);
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(236, 47, 51, 0.12) 0%, transparent 60%);
    z-index: 1;
}

.page-banner-container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-light-secondary);
    font-family: var(--font-heading);
    font-weight: 600;
}

.page-banner .breadcrumb a {
    color: var(--light-accent);
    transition: var(--transition-fast);
}

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

@media (max-width: 992px) {
    .header-logo-wrapper {
        padding-left: 1.5rem;
        padding-right: 3rem;
        clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
    }

    .logo img {
        max-height: 44px;
    }

    .header-nav-wrapper {
        padding-right: 1.5rem;
        gap: 1rem;
    }

    .nav-menu {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .page-banner {
        padding: 120px 0 45px 0;
    }

    .page-banner h1 {
        font-size: 2.25rem;
    }
}

/* ==========================================================================
   Hero Section Styling
   ========================================================================== */
.hero-section {
    position: relative;
    padding-top: 150px;
    padding-bottom: 80px;
    background-color: var(--dark-bg);
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(17, 22, 34, 0.2) 0%, rgba(17, 22, 34, 0.95) 80%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.badge-accent {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(236, 47, 51, 0.15);
    border: 1px solid rgba(236, 47, 51, 0.3);
    color: var(--light-accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(236, 47, 51, 0.7);
    animation: pulse 1.5s infinite;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.text-gradient {
    color: transparent;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #ffffff, var(--light-accent), var(--primary-red));
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hero-actions {
    display: flex;
    gap: 1.25rem;
}

/* Video player block on right side of hero section */
.hero-video-box {
    background-color: var(--dark-card);
    border: 3px solid rgba(236, 47, 51, 0.4);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-premium), 0 0 25px rgba(236, 47, 51, 0.15);
    aspect-ratio: 16/9;
    width: 100%;
    animation: fadeInRight 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.hero-video-box:hover {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-premium), 0 0 35px rgba(236, 47, 51, 0.35);
}

.hero-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   Trust features horizontal ribbon
   ========================================================================== */
.trust-features-bar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--light-border);
    padding: 1.5rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
}

.trust-icon {
    width: 32px;
    height: 32px;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 1rem;
    font-weight: 800;
    line-height: 1;
}

.trust-text p {
    font-size: 0.75rem;
    color: var(--text-dark-secondary);
    font-weight: 500;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.about-container {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-graphic {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.about-image {
    transition: var(--transition-smooth);
    min-height: 760px;
    object-fit: cover;
}

/* Dual Vertical Images Layout (Stacked on top of each other) */
.about-dual-graphic {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.about-img-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    background-color: var(--dark-card);
    height: 320px;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.about-img-card-1 {
    margin: 0;
}

.about-img-card-2 {
    margin: 0;
}

.about-vertical-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.about-img-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(17, 22, 34, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.5rem 0.85rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 2;
}

.caption-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: var(--primary-red);
    box-shadow: 0 0 8px var(--primary-red);
    flex-shrink: 0;
}

.about-dual-graphic .experience-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: var(--primary-red);
    color: #ffffff;
    padding: 1.2rem 1.75rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 12px 28px rgba(236, 47, 51, 0.45);
    z-index: 3;
    min-width: 160px;
}

@media screen and (max-width: 1023px) {
    .about-image {
        min-height: 400px;
    }

    .about-dual-graphic {
        gap: 1rem;
    }

    .about-img-card {
        height: 250px;
    }

    .about-img-card-1 {
        margin: 0;
    }

    .about-img-card-2 {
        margin: 0;
    }

    .about-dual-graphic .experience-badge {
        padding: 0.85rem 1.25rem;
        min-width: 140px;
        bottom: 1rem;
        right: 1rem;
    }

    .about-dual-graphic .experience-badge h3 {
        font-size: 1.6rem;
    }

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

    .badge-accent {
        font-size: 11px;
    }

    .modal-body {
        padding: 20px;
        max-height: 520px;
        overflow-y: scroll;
    }
}

@media screen and (max-width: 576px) {
    .about-dual-graphic {
        gap: 0.75rem;
    }

    .about-img-card {
        height: 190px;
        border-radius: 12px;
    }

    .about-img-caption {
        font-size: 0.65rem;
        padding: 0.35rem 0.5rem;
        bottom: 0.5rem;
        left: 0.5rem;
    }

    .about-dual-graphic .experience-badge {
        padding: 0.6rem 0.9rem;
        min-width: 110px;
        bottom: 0.75rem;
        right: 0.75rem;
    }

    .about-dual-graphic .experience-badge h3 {
        font-size: 1.25rem;
    }

    .about-dual-graphic .experience-badge p {
        font-size: 0.62rem;
    }
}

.about-graphic:hover .about-image {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-red);
    color: #ffffff;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 20px rgba(236, 47, 51, 0.3);
}

.experience-badge h3 {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.experience-badge p {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-top: 0.25rem;
}

.about-text-content {
    display: flex;
    flex-direction: column;
}

.about-description {
    font-size: 1rem;
    color: var(--text-dark-secondary);
    margin-bottom: 1.25rem;
}

.about-benefits {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-check {
    display: flex;
    gap: 0.75rem;
}

.check-circle {
    width: 24px;
    height: 24px;
    color: var(--primary-red);
    flex-shrink: 0;
    margin-top: 2px;
}

.benefit-check h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.benefit-check p {
    font-size: 0.8rem;
    color: var(--text-dark-secondary);
}

.learn-more-btn {
    align-self: flex-start;
}

/* ==========================================================================
   Cumulative Stats Row (Dark Banner)
   ========================================================================== */
.cumulative-counters-section {
    background-color: var(--dark-bg);
    padding: 4rem 0;
    color: #ffffff;
}

.counters-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.counter-card-item {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition-fast);
}

.counter-card-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.counter-icon-box {
    width: 45px;
    height: 45px;
    background-color: rgba(236, 47, 51, 0.1);
    color: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.counter-icon-box svg {
    width: 22px;
    height: 22px;
}

.counter-content-inner {
    display: flex;
    flex-direction: column;
}

.counter-value-box {
    display: flex;
    align-items: baseline;
}

.counter-value {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    color: #ffffff;
}

.counter-value-box .plus {
    color: var(--primary-red);
    font-size: 1.25rem;
    font-weight: 800;
    margin-left: 2px;
}

.counter-title {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-light-secondary);
    margin-top: 0.25rem;
    font-weight: 600;
}

/* ==========================================================================
   Product Category Cards Grid
   ========================================================================== */
.products-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.products-header {
    margin-bottom: 4rem;
}

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

.product-category-card {
    background-color: var(--light-bg);
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.product-category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--light-accent);
}

.card-img-wrapper {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.placeholder-gradient {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-icon {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

.bg-blue-grad {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-bg) 100%);
}

.bg-red-grad {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-bg) 100%);
}

.card-gradient-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    z-index: 1;
}

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

/* Custom Homepage Product Category Card Styling for White Background Images */
.products-section .product-category-card {
    background-color: var(--light-card);
    border: 1px solid var(--light-border);
}

.products-section .card-img-wrapper {
    background-color: #ffffff;
    border-bottom: 1px solid var(--light-border);
}

.products-section .category-img {
    object-fit: contain;
    padding: 15px;
    background-color: #e3e3e3;
}

.products-section .product-category-card:hover .category-img {
    transform: scale(1.05);
}

.category-info {
    padding: 1.5rem;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary-red);
    transition: var(--transition-fast);
    margin-top: 0.5rem;
}

.category-btn i {
    font-size: 0.75rem;
    transition: transform var(--transition-fast);
}

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

.category-btn:hover i {
    transform: translateX(4px);
}

.category-icon-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 42px;
    height: 42px;
    background-color: var(--primary-blue);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.product-category-card:hover .category-icon-overlay {
    background-color: var(--primary-red);
    transform: scale(1.1);
}

.category-icon-overlay svg {
    width: 20px;
    height: 20px;
}

.slide-image-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.slide-number-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #a80f14 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-fast);
}

.slide-card:hover .slide-number-badge {
    transform: scale(1.05);
}

/* ==========================================================================
   Industries We Serve
   ========================================================================== */
.industries-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.industries-header {
    margin-bottom: 4rem;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

.industry-card {
    position: relative;
    height: 320px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
    display: block;
    text-align: left;
    padding: 0;
    border: 1px solid var(--light-border);
}

.industry-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(17, 22, 34, 0.95) 0%, rgba(17, 22, 34, 0.5) 60%, rgba(17, 22, 34, 0.1) 100%);
    transition: var(--transition-smooth);
    z-index: 1;
}

.industry-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.75rem 1.5rem;
    z-index: 2;
    transition: var(--transition-smooth);
    transform: translateY(45px);
}

.industry-card h4,
.industry-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.5rem;
    transition: var(--transition-smooth);
}

.industry-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.5;
    opacity: 0;
    transition: var(--transition-smooth);
    margin: 0;
}

.industry-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-red);
}

.industry-card:hover .industry-bg-image {
    transform: scale(1.08);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient(to top, rgba(236, 47, 51, 0.95) 0%, rgba(17, 22, 34, 0.7) 60%, rgba(17, 22, 34, 0.2) 100%);
}

.industry-card:hover .industry-content {
    transform: translateY(0);
}

.industry-card:hover p {
    opacity: 1;
}

.category-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark-primary);
}

.category-info p {
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
    margin-bottom: 1rem;
    height: 40px;
    overflow: hidden;
}

.explore-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-blue);
    letter-spacing: 0.5px;
}

.product-category-card:hover .explore-link {
    color: var(--primary-red);
}

/* ==========================================================================
   Featured Products Slider
   ========================================================================== */
.slider-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
    overflow: hidden;
}

.slider-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.slider-controls {
    display: flex;
    gap: 1rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
}

.slider-btn:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.05);
}

.slider-wrapper {
    width: 100%;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.slide-item {
    flex: 0 0 calc((100% - 4rem) / 3);
    /* Shows 3 items by default */
    width: calc((100% - 4rem) / 3);
}

.slide-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slide-image-box {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.slide-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    color: #ffffff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.slide-info {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.slide-info h4 {
    font-size: 1.25rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.slide-info p {
    font-size: 0.85rem;
    color: var(--text-light-secondary);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.slide-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-red);
    letter-spacing: 0.5px;
    align-self: flex-start;
}

.slide-link:hover {
    color: var(--light-accent);
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.why-choose-section {
    padding: 80px 0;
    background-color: #0c1017;
    border-bottom: 1px solid var(--dark-border);
}

.why-choose-header {
    margin-bottom: 4rem;
}

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

.why-card {
    background-color: #121824;
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: var(--transition-smooth);
}

.why-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    background-color: #151d2c;
}

.why-icon {
    width: 45px;
    height: 45px;
    color: var(--primary-red);
    margin-bottom: 1.25rem;
}

.why-card h3 {
    font-size: 1.15rem;
    color: #ffffff;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.why-card p {
    font-size: 0.8rem;
    color: var(--text-light-secondary);
    line-height: 1.5;
}

/* ==========================================================================
   Manufacturing Process
   ========================================================================== */
.process-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.process-header {
    margin-bottom: 4rem;
}

.process-flow.home {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.process-step {
    background-color: #ffffff;
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    position: relative;
    transition: var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-red);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(236, 47, 51, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

.process-step:hover .step-number {
    color: rgba(236, 47, 51, 0.25);
}

.step-content h4 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.step-content p {
    font-size: 0.8rem;
    color: var(--text-dark-secondary);
}

/* ==========================================================================
   CTA Ribbon Banner
   ========================================================================== */
.cta-banner-section {
    background: linear-gradient(135deg, var(--primary-red) 0%, #a61217 100%);
    padding: 3.5rem 0;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cta-banner-text h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.cta-banner-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
}

/* ==========================================================================
   Contact Section & Map Styling
   ========================================================================== */
.contact-section {
    background-color: var(--dark-bg);
    padding: 80px 0;
    color: #ffffff;
}

.contact-header {
    margin-bottom: 4rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 2rem;
}

.contact-info-panel,
.contact-form-panel,
.contact-map-panel {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius);
    padding: 2.25rem;
}

.contact-info-panel h3,
.contact-form-panel h3,
.contact-map-panel h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-red);
    padding-left: 0.75rem;
    line-height: 1;
}

.panel-desc {
    font-size: 0.85rem;
    margin-bottom: 2rem;
}

.info-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.info-block {
    display: flex;
    gap: 1rem;
}

.info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon svg {
    width: 20px;
    height: 20px;
}

.info-desc h5 {
    color: #ffffff;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.info-desc p {
    font-size: 0.8rem;
    color: var(--text-light-secondary);
    line-height: 1.5;
}

/* Styled Forms inside panels */
.styled-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: var(--dark-bg);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #475569;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(236, 47, 51, 0.25);
}

/* Interactive Map Sizing */
.leaflet-map-container {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--dark-border);
}

/* ==========================================================================
   Footer Styling
   ========================================================================== */
.main-footer {
    background-color: #faf8e1;
    color: var(--text-dark-secondary);
    padding-top: 80px;
    border-top: 1px solid var(--light-border);
}

.footer-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--light-border);
}

.footer-logo {
    display: inline-block;
    margin-bottom: 1.5rem;
}

.footer-logo span {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #ffffff;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.footer-about-text {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 35px;
    height: 35px;
    background-color: var(--light-card);
    border: 1px solid var(--light-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark-primary);
    font-weight: 700;
    font-size: 0.85rem;
}

.social-link:hover {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
}

.footer-col-links h4,
.footer-col-download h4 {
    color: var(--text-dark-primary);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-col-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col-links a {
    font-size: 0.85rem;
}

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

.footer-col-download p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.download-catalog-btn {
    display: flex;
    width: 100%;
}

/* Footer Products Marquee Styling */
.footer-products-marquee-container {
    height: 180px;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 85%, transparent);
}

.footer-products-marquee-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    animation: footerMarqueeVertical 20s linear infinite;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-products-marquee-container:hover .footer-products-marquee-content {
    animation-play-state: paused;
}

@keyframes footerMarqueeVertical {
    0% {
        transform: translateY(0);
    }

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

/* Footer Contact Details Styling */
.footer-contact-item {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: var(--text-dark-secondary);
}

.footer-contact-item strong {
    color: var(--text-dark-primary);
    display: block;
    margin-bottom: 0.25rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.footer-contact-item a {
    color: var(--text-dark-secondary);
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--primary-red);
}

.footer-bottom {
    background-color: #f2efd8;
    color: var(--text-dark-secondary);
    padding: 1.5rem 0;
    font-size: 0.8rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

/* ==========================================================================
   Modals & Popups (Overlay Request Quote Modal)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 650px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    padding: 10px;
    border-bottom: 1px solid var(--dark-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #ffffff;
    font-size: 1.25rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-light-secondary);
    font-size: 1.75rem;
    cursor: pointer;
}

.modal-close:hover {
    color: var(--primary-red);
}


.modal-body {
    padding: 10px;
}

.modal-intro {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Toast Notifications */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: -400px;
    background-color: #0f172a;
    border-left: 4px solid var(--primary-red);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    padding: 1rem 1.5rem;
    z-index: 3000;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
    right: 2rem;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: rgba(236, 47, 51, 0.15);
    color: var(--primary-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.toast-text-group h5 {
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.toast-text-group p {
    font-size: 0.75rem;
    color: var(--text-light-secondary);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(236, 47, 51, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(236, 47, 51, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(236, 47, 51, 0);
    }
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */

/* Laptop / Desktop adjustments (under 1200px) */
@media (max-width: 1200px) {
    .container {
        padding: 1rem;
    }

    .trust-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

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

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

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

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

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

    .contact-map-panel {
        grid-column: span 2;
    }

    .footer-container {
        grid-template-columns: 1.5fr 1fr 1.5fr;
        gap: 2.5rem;
    }

    .footer-col-download {
        grid-column: span 3;
    }
}

/* Tablets (under 992px) */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-video-box {
        max-width: 600px;
        margin: 0 auto;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-graphic {
        max-width: 600px;
        margin: 0 auto;
    }

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

    .slide-item {
        flex: 0 0 calc((100% - 2rem) / 2);
        width: calc((100% - 2rem) / 2);
    }

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

/* Mobile & Small Screen adjustments (under 768px) */
@media (max-width: 768px) {

    /* Navigation */
    .nav-menu {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    #quote-btn-header {
        display: none;
    }

    /* Hero */
    .hero-title {
        font-size: 30px;
    }



    .hero-actions {
        flex-direction: column;
    }

    /* Trust bar */
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Counters & About */
    .counters-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-benefits {
        grid-template-columns: 1fr;
    }

    /* Products Grid */
    .product-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .slide-item {
        flex: 0 0 100%;
        width: 100%;
    }

    /* Flow */
    .process-flow {
        grid-template-columns: 1fr;
    }

    .process-flow.home {
        grid-template-columns: minmax(0, 1fr);
    }

    .process-flow.home .process-step {
        padding: 1.5rem;
    }

    .process-section {
        padding: 3.5rem 0;
    }

    .process-header {
        margin-bottom: 2rem;
    }

    .process-header .section-subtitle {
        margin-bottom: 0;
    }

    /* Form row responsive */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* CTA */
    .cta-container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

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

    .contact-map-panel {
        grid-column: span 1;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
    }

    .footer-col-download {
        grid-column: span 1;
    }

    .footer-bottom-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Very small devices (under 480px) */
@media (max-width: 480px) {
    .product-categories-grid {
        grid-template-columns: 1fr;
    }

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

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

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

    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* Products Dropdown Styling */
.dropdown-item {
    position: relative;
}

.dropdown-item .arrow {
    font-size: 0.75rem;
    margin-left: 0.25rem;
    vertical-align: middle;
    transition: transform 0.3s ease;
    display: inline-block;
}

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius);
    padding: 0.75rem 0;
    min-width: 240px;
    box-shadow: var(--shadow-premium);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

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

.dropdown-menu li {
    display: block;
    margin: 0 !important;
}

.dropdown-menu li a {
    display: block;
    padding: 0.65rem 1.5rem;
    color: var(--text-light-secondary);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
    color: #ffffff;
    background-color: rgba(236, 47, 51, 0.08);
    padding-left: 1.75rem;
}

/* Mobile Dropdown Submenu */
.mobile-submenu {
    list-style: none;
    padding-left: 1.25rem;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-submenu-link {
    font-size: 0.85rem;
    color: var(--text-light-secondary) !important;
    font-weight: 500;
    transition: var(--transition-fast);
}

.mobile-submenu-link:hover {
    color: var(--primary-red) !important;
}

/* Card Dual Button Layout */
.product-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.product-card-actions .enquiry-btn,
.product-card-actions .explore-btn {
    flex: 1;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.65rem 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 6px;
    height: 42px;
    transition: var(--transition-fast);
}

.product-card-actions .enquiry-btn {
    color: #ffffff;
    border: 1px solid var(--primary-red);
    background-color: rgba(236, 47, 51, 0.1);
}

.product-card-actions .enquiry-btn:hover {
    background-color: var(--primary-red);
    color: #ffffff;
}

.product-card-actions .paper-plane-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.product-card-actions .explore-btn {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
}

.product-card-actions .explore-btn:hover {
    background-color: #153c73;
}

/* Single Product Page Styles moved to single.css */

/* Contact page full-width map classes */
.contact-map-panel-full {
    margin-top: 3rem;
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--border-radius);
    padding: 2.25rem;
}

.contact-map-panel-full h3 {
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-red);
    padding-left: 0.75rem;
    line-height: 1;
}

.map-container-full {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--dark-border);
}

/* Product Catalog Page Styles */
.product-explorer-section {
    background-color: var(--light-bg);
    padding-bottom: 40px;
}

.products-header-compact {
    margin-bottom: 2rem;
}

.product-search-wrapper {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    gap: 1rem;
}

.product-search-input {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border: 1.5px solid var(--light-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    outline: none;
    transition: var(--transition-fast);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.product-search-input:focus {
    border-color: var(--primary-red);
}

/* Grade Cards Section Styles */
.grades-section {
    background-color: var(--dark-bg);
    color: white;
    border-top: 1px solid var(--dark-border);
}

.section-header-centered {
    text-align: center;
    margin-bottom: 4rem;
}

.section-subtitle-max-width {
    max-width: 600px;
    margin: 0.5rem auto 0 auto;
}

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

.grade-card-item {
    background-color: var(--dark-card);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid var(--dark-border);
    text-align: center;
    transition: var(--transition-smooth);
}

.grade-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-red);
}

.grade-card-val {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    font-family: var(--font-heading);
}

.grade-card-title {
    color: white;
    font-family: var(--font-heading);
    margin-top: 0.5rem;
    font-weight: 700;
}

.grade-card-desc {
    font-size: 0.8rem;
    color: var(--text-light-secondary);
    margin-top: 0.5rem;
}

/* Responsiveness for grades-grid */
@media (max-width: 992px) {
    .grades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Product Single Page Utilities and Layouts */
.download-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

.section-light {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.section-standard-padding {
    padding: 80px 0;
}

.single-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.single-about-img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
}

.mb-1-5 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 4rem;
}

.single-about-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark-secondary);
    margin-bottom: 1.5rem;
}

.single-quote-wording {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    border-left: 3px solid var(--primary-red);
    padding-left: 1rem;
    font-style: italic;
}

.single-features-check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.single-feature-check-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.checkmark-red {
    color: var(--primary-red);
    font-size: 1.25rem;
}

.step-flow-desc {
    font-size: 0.85rem;
    color: var(--text-dark-secondary);
    margin-bottom: 1.5rem;
}

.text-dark-sec {
    color: var(--text-dark-secondary);
}

.apps-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.app-item-card {
    background: white;
    border: 1px solid var(--light-border);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: var(--transition-smooth);
}

.app-item-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
    border-color: var(--primary-red);
}

.app-item-icon {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
}

.app-item-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
}

.app-item-desc {
    font-size: 0.75rem;
    color: var(--text-dark-secondary);
    margin-top: 0.25rem;
}

.container-narrow {
    max-width: 900px;
}

/* Responsiveness for single page apps grid */
@media (max-width: 1200px) {
    .apps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .single-about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

@media (max-width: 480px) {
    .single-features-check-grid {
        grid-template-columns: 1fr;
    }

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

/* About page custom section styles */
.about-section-light-card {
    background-color: var(--light-card);
    border-top: 1px solid var(--light-border);
}

.about-section-light-bg {
    background-color: var(--light-bg);
    border-top: 1px solid var(--light-border);
}

.about-grid-1 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.about-grid-2 {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.title-large-about {
    font-size: 1.85rem;
}

.about-hero-img {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-premium);
}

.about-legacy-badge {
    height: 350px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-premium);
}

.about-legacy-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
}

.about-legacy-title {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    font-weight: 800;
    color: #fff;
}

.about-features-container {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.about-feature-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

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

.text-primary-blue {
    color: var(--primary-blue);
}

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

@media (max-width: 992px) {

    .about-grid-1,
    .about-grid-2 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* General Layout Helpers & Utility Classes */
.padding-bottom-50 {
    padding-bottom: 50px;
}

.padding-bottom-80 {
    padding-bottom: 80px;
}

.margin-bottom-2rem {
    margin-bottom: 2rem;
}

.margin-bottom-3rem {
    margin-bottom: 3rem;
}

.margin-bottom-4rem {
    margin-bottom: 4rem;
}

.mt-1 {
    margin-top: 1rem !important;
}

.mt-2 {
    margin-top: 2rem !important;
}

.arrow-icon-right {
    width: 1.2rem;
    height: 1.2rem;
    margin-left: 0.5rem;
    display: inline-block;
    vertical-align: middle;
}

/* Alert Boxes Custom Styles */
.alert-box {
    max-width: 800px;
    margin: 0 auto 2rem auto;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-success {
    background-color: rgba(40, 167, 69, 0.15);
    border: 1.5px solid #28a745;
    color: #155724;
}

.alert-success h4 {
    color: #155724;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
}

.alert-error {
    background-color: rgba(220, 53, 69, 0.15);
    border: 1.5px solid #dc3545;
    color: #721c24;
}

.alert-error h4 {
    color: #721c24;
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 700;
}

.alert-icon-success {
    font-size: 2rem;
    color: #28a745;
}

.alert-icon-error {
    font-size: 2rem;
    color: #dc3545;
}

.alert-desc {
    margin: 0.25rem 0 0 0;
    font-size: 0.9rem;
}

.bg-light-bg {
    background-color: var(--light-bg) !important;
}

/* Mobile submenu accordion styles */
.mobile-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.submenu-toggle-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.submenu-toggle-btn.active {
    transform: rotate(180deg);
    color: var(--primary-red);
}

/* Override mobile-submenu transitions to be collapsible */
.mobile-overlay .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    margin-top: 0;
    padding-left: 1.25rem;
    display: flex !important;
    /* enforce flex block */
}

.mobile-overlay .mobile-submenu.open {
    max-height: 500px;
    margin-top: 0.5rem;
}

/* AISI 4340 detailed single page classes moved to single.css */