@import url('calculator.css');

/* =========================================
   Variables & Reset  (light theme)
   ========================================= */
:root {
    /* Logo palette: red + charcoal on white */
    --primary-color: #e03c31;
    --primary-dark: #c62828;
    --primary-text: #d32f2f;
    --primary-tint: rgba(224, 60, 49, 0.08);

    --bg-base: #ffffff;
    --bg-soft: #f4f6f9;
    --bg-card: #ffffff;
    --bg-deep: #0b0e14;
    --charcoal: #1c2128;
    --ink: #111827;
    --text-main: #4b5563;
    --text-light: #6b7280;
    --white: #ffffff;
    --line: #e5e7eb;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.12);
    --header-h: 80px;
}

/* Dark blocks (hero, product range, footer): same tokens, dark values */
.section-dark {
    --bg-base: #111827;
    --bg-soft: #1f2937;
    --bg-card: #374151;
    --ink: #ffffff;
    --text-main: #d1d5db;
    --text-light: #9ca3af;
    --line: rgba(255, 255, 255, 0.1);
    --primary-text: #ef4444;
    --primary-tint: rgba(239, 68, 68, 0.15);
    --shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.7);
}

.section.section-dark {
    background: var(--bg-base);
}

html {
    scroll-behavior: smooth;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    background: var(--bg-base);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--ink);
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

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

.mt-4 {
    margin-top: 1.5rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    padding: 13px 30px;
    border-radius: 30px;
    /* More rounded to match modern navbar */
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #ff5252);
    color: var(--white);
    border: none;
    box-shadow: 0 4px 15px rgba(224, 60, 49, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 8px 25px rgba(224, 60, 49, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--bg-base);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

/* =========================================
   Section system
   Every section = .section + optional .section-alt
   White and soft-grey alternate, with a divider line between them.
   ========================================= */
.section {
    padding: 90px 0;
    background: var(--bg-base);
    border-top: 1px solid var(--line);
    scroll-margin-top: var(--header-h);
}

.section-alt {
    background: var(--bg-soft);
}

.section-head {
    max-width: 880px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-head p {
    color: var(--text-light);
    font-size: 17px;
    margin-top: 15px;
}

.section-subtitle {
    color: var(--primary-text);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    display: inline-block;
}

.section-title {
    font-size: 38px;
    margin-bottom: 0;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    display: block;
    width: 56px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
    margin: 18px 0 0;
}

.section-head .section-title::after {
    margin: 18px auto 0;
}

/* =========================================
   Top Bar
   ========================================= */
.top-bar {
    background: linear-gradient(90deg, var(--primary-dark), var(--primary-color));
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    padding: 8px 0;
    font-weight: 500;
}

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

.top-contact span {
    margin-right: 20px;
}

.top-contact i {
    color: #ffffff;
    margin-right: 6px;
    opacity: 0.9;
}

.top-social a {
    color: rgba(255, 255, 255, 0.8);
    margin-left: 15px;
    font-size: 14px;
    transition: var(--transition);
}

.top-social a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

/* =========================================
   Main Header
   ========================================= */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
    max-width: none;
    border-radius: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition);
}

.main-header.scrolled {
    background: #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    top: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

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

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links>li {
    margin: 0 22px;
    position: relative;
}

.nav-links>li>a {
    font-weight: 600;
    color: #1a1d21;
    font-size: 15px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    border-radius: 30px;
    transition: var(--transition);
}

.nav-links>li>a:hover,
.nav-links>li>a.active {
    color: var(--primary-color);
    background: rgba(230, 0, 0, 0.08);
}

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

.dropdown-menu {
    position: absolute;
    top: calc(100% + 15px);
    left: 0;
    width: 260px;
    background: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 10px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    color: #3a4452;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    margin-bottom: 2px;
    transition: var(--transition);
}

.dropdown-menu li a:hover {
    background: rgba(230, 0, 0, 0.05);
    color: var(--primary-color);
    padding-left: 22px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    color: #1a1d21;
    cursor: pointer;
}

/* =========================================
   1. Hero
   ========================================= */
.hero-section {
    position: relative;
    min-height: 95vh;
    padding-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    animation: bannerZoom 20s infinite alternate ease-in-out;
}

@keyframes bannerZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 15, 18, 0.7);
    /* Darkened for better text visibility */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-top: 140px;
    /* Space for navbar */
    padding-bottom: 60px;
    text-align: center;
}

.hero-content .subtitle {
    display: inline-block;
    color: var(--primary-text);
    background: var(--primary-tint);
    border: 1px solid rgba(255, 53, 53, 0.35);
    font-weight: 600;
    font-size: 14px;
    padding: 7px 18px;
    border-radius: 50px;
    margin-bottom: 22px;
}

.hero-content h2 {
    max-width: 820px;
    font-size: 64px;
    font-weight: 800;
    margin: 0 auto 22px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h2 span {
    color: var(--primary-color);
}

.hero-content p {
    color: #dfe3e9;
    font-size: 19px;
    margin: 0 auto 36px;
    max-width: 620px;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.6);
}

.hero-btns {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

/* =========================================
   2. Categories (overlaps hero)
   ========================================= */
.categories-section {
    background: transparent;
    padding: 0 0 90px;
    margin-top: -70px;
    position: relative;
    z-index: 10;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.highlight-card {
    background: var(--bg-card);
    padding: 40px 32px;
    border: none;
    border-radius: 12px;
    /* Adjusted for B2B corporate look */
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

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

.highlight-card .icon {
    width: 68px;
    height: 68px;
    background: var(--primary-tint);
    color: var(--primary-text);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.highlight-card h3 {
    margin-bottom: 12px;
    font-size: 21px;
}

.highlight-card p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 15px;
}

.highlight-card .read-more {
    color: var(--primary-text);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.highlight-card .read-more:hover {
    color: var(--white);
}

/* Section 4 uses the same cards on a soft background */
.section-alt .highlight-card {
    border-top-color: var(--line);
}

.section-alt .highlight-card:hover {
    border-top-color: var(--primary-color);
}


/* Category blocks: image on top, links below (reference-style) */
.category-card {
    background: var(--bg-card);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.category-card .product-img {
    height: 200px;
    overflow: hidden;
}

.category-card .product-img img {
    transition: transform 0.5s ease;
}

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

.category-body {
    padding: 24px 28px 28px;
}

.category-body h3 {
    font-size: 21px;
    margin-bottom: 14px;
}

.link-list li {
    border-top: 1px solid var(--line);
}

.link-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-main);
}

.link-list li a::after {
    content: '\203A';
    color: var(--primary-color);
    font-size: 20px;
    line-height: 1;
}

.link-list li a:hover {
    color: var(--primary-color);
    padding-left: 4px;
}

/* Material grades as tags */
.grade-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.grade-list li {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 50px;
    padding: 4px 13px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-main);
}

/* =========================================
   3. About  &  5. Mission / Industries (two-column layout)
   ========================================= */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.img-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

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

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 18px 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 10px 30px rgba(224, 60, 49, 0.4);
    border: 3px solid var(--white);
}

.experience-badge .years {
    font-size: 38px;
    font-weight: 800;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

.about-content p {
    margin: 22px 0 0;
    font-size: 16px;
}

.about-content p+p {
    margin-top: 16px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 30px 0;
}

.features-list li {
    margin-bottom: 0;
    background: var(--bg-card);
    padding: 16px 20px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: 15px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.features-list li:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(224, 60, 49, 0.1);
    transform: translateY(-3px);
}

.features-list li i {
    color: var(--primary-color);
    font-size: 24px;
}

.info-card {
    background: var(--bg-card);
    border: none;
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: var(--shadow);
    margin-top: 22px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.info-card h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.info-card p {
    color: var(--text-light);
    margin: 0;
}

#mission .about-grid {
    align-items: start;
}

.industries-lead {
    margin: 22px 0 26px;
    font-size: 16px;
}

.industry-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 0;
}

.industry-list li {
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 18px 20px;
    margin: 0;
}

.industry-list li i {
    font-size: 22px;
    color: var(--primary-text);
}

/* =========================================
   6. Products range
   ========================================= */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.products-grid .product-card {
    flex: 0 0 calc((100% - 72px) / 4);
}

.product-card {
    background: var(--bg-card);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

/* Icon shows only if the photo is missing; the photo sits on top of it */
.product-img {
    position: relative;
    height: 200px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--primary-color);
}

.product-img i {
    font-size: 44px;
    color: var(--primary-text);
}

.product-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

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

.product-body {
    padding: 20px 22px 24px;
}

.product-body h3 {
    font-size: 19px;
    margin-bottom: 8px;
}

.product-body p {
    color: var(--text-light);
    font-size: 14px;
}

.product-card {
    scroll-margin-top: 100px;
}

.product-card:target {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.35);
}

/* =========================================
           6. Products range (same classes)
           ========================================= */
.products-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.products-grid .product-card {
    flex: 0 0 calc((100% - 72px) / 4);
}

.product-card {
    background: var(--bg-card);
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: block;
    scroll-margin-top: 100px;
}

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

.product-card:target {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.35);
}

/* Icon shows only if the photo is missing; the photo sits on top of it */
.product-img {
    position: relative;
    height: 250px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--primary-color);
    overflow: hidden;
    padding: 5px;
}

.product-img i {
    font-size: 44px;
    color: var(--primary-text);
}

.product-img img {
    position: absolute;
    inset: 10px;
    width: calc(100% - 20px);
    height: calc(100% - 20px);
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

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

.product-body {
    padding: 20px 22px 24px;
}

.product-body h3 {
    font-size: 19px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.product-body p {
    color: var(--text-light);
    font-size: 14px;
}

/* Category intro text */
.category-intro {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    color: var(--text-light);
    font-size: 16px;
}

/* Responsive */
@media (max-width: 992px) {
    .products-grid .product-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 576px) {
    .products-grid .product-card {
        flex: 0 0 100%;
    }

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

    .product-img {
        height: 180px;
    }
}

/* =========================================
   7. Materials
   ========================================= */
.materials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.material-card {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.material-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.material-card img {
    width: 100%;
    height: 230px;
    object-fit: contain;
    background: #ffffff;
    display: block;
    transition: transform 0.5s ease;
}

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

.material-info {
    padding: 22px 24px;
    border-top: none;
}

.material-info h3 {
    margin-bottom: 8px;
    font-size: 21px;
}

.material-info p {
    color: var(--text-light);
    font-size: 14px;
}


/* =========================================
   Blog
   ========================================= */
.blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px;
}

.blog-card {
    flex: 0 0 calc((100% - 56px) / 3);
    background: var(--bg-card);
    border: none;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

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



.blog-card .product-img {
    height: 210px;
}

.blog-card h3 {
    font-size: 21px;
    margin-bottom: 8px;
}

.blog-card h3 a:hover {
    color: var(--primary-color);
}

.blog-card p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 14px;
}

.blog-card .read-more {
    color: var(--primary-text);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.blog-more p {
    margin-bottom: 10px;
}

.blog-card .read-more:hover {
    color: var(--primary-dark);
}


/* =========================================
   8. CTA (light red tint)
   ========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    border-top: 1px solid var(--line);
    padding: 80px 0;
    text-align: center;
}

.cta-container h2 {
    font-size: 34px;
    margin-bottom: 14px;
    color: var(--white);
}

.cta-section .btn-primary {
    background: #ffffff;
    color: var(--primary-color) !important;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
    background: #111827;
    color: #ffffff !important;
    border-color: #111827;
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.35);
}

.cta-container p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 28px;
}

/* =========================================
   8. CTA
   ========================================= */
.cta-section {
    padding: 80px 0;
    background: var(--bg-soft);
}

.cta-box {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    padding: 80px 40px;
    text-align: center;
    background: url('../img/metalloy steel images/pipes-fittings-&-flanges.webp') center center/cover no-repeat;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(224, 60, 49, 0.9), rgba(198, 40, 40, 0.95));
    z-index: 1;
}

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

.cta-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 800;
    color: #fff;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 35px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: #fff;
    color: var(--primary-color);
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    background: #f8f9fa;
    color: var(--primary-dark);
}

/* =========================================
   9. Footer
   ========================================= */
.main-footer {
    background: #090d14;
    /* Much darker premium grey/black */
    border-top: 4px solid var(--primary-color);
    color: var(--text-main);
    padding-top: 70px;
    scroll-margin-top: var(--header-h);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 55px;
}

.about-col p {
    margin-bottom: 22px;
}

.footer-logo {
    display: inline-block;
    background: #ffffff;
    padding: 12px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.footer-logo .logo-img {
    margin-bottom: 0 !important;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--white);
    margin-right: 10px;
}

.social-links a:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.footer-col h3 {
    font-size: 19px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 11px;
}

.footer-col ul li a:hover {
    color: var(--primary-text);
}

.contact-col ul li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
}

.contact-col ul li i {
    color: var(--primary-text);
    font-size: 18px;
    margin-top: 4px;
}

.footer-bottom {
    background: var(--bg-deep);
    border-top: 1px solid var(--line);
    padding: 18px 0;
    text-align: center;
    font-size: 14px;
    color: var(--text-light);
}

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .highlights-grid,
    .materials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .products-grid .product-card {
        flex-basis: calc((100% - 24px) / 2);
    }

    .blog-card {
        flex-basis: calc((100% - 28px) / 2);
    }

    .product-img {
        height: 190px;
    }

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

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

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

    .hero-content h2 {
        font-size: 38px;
    }

    .hero-content {
        padding-bottom: 90px;
    }

    .categories-section {
        margin-top: 0;
        padding-top: 64px;
    }

    .highlights-grid,
    .materials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .products-grid .product-card {
        flex-basis: 100%;
    }

    .blog-card {
        flex-basis: 100%;
    }

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

    .cta-box {
        padding: 50px 20px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }

    .top-bar .top-contact span:last-child,
    .get-quote-btn,
    .header-contact-info {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-container {
        height: 80px;
        padding: 0 20px;
    }

    .logo-img {
        max-width: 140px;
        max-height: 60px;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-radius: 0;
        margin-top: 0;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .main-nav.open {
        display: block;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        padding: 10px 20px 16px;
    }

    .nav-links>li {
        margin: 0;
        border-bottom: 1px solid #e3e7ed;
    }

    .nav-links>li:last-child {
        border-bottom: none;
    }

    .dropdown-menu {
        display: none;
    }

    .dropdown.open .dropdown-menu {
        display: block;
        position: relative;
        top: 0;
        width: 100%;
        box-shadow: none;
        border-radius: 0;
        background: rgba(0, 0, 0, 0.02);
        padding: 5px 0 5px 15px;
        margin-top: 10px;
    }

    .dropdown.open>a .fa-chevron-down {
        transform: rotate(180deg);
    }

    .floating-actions {
        bottom: 20px;
        right: 20px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition: none !important;
    }
}

/* =========================================
   B2B Stats Banner
   ========================================= */
.b2b-stats-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    padding: 35px 0;
    position: relative;
    z-index: 10;
    margin-top: -45px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

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

.stat-item h3 {
    color: var(--white);
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 2px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.stat-item p {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    color: var(--white);
    margin: 0;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .b2b-stats-banner {
        margin: -20px 20px 0;
        max-width: calc(100% - 40px);
    }
}

/* =========================================
   Floating Action Buttons
   ========================================= */
.floating-contact {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 9999;
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, var(--primary-color), #c62828);
    font-size: 20px;
    width: 50px;
    height: 50px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(224, 60, 49, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

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

.scroll-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(224, 60, 49, 0.6);
    color: #fff;
}

.float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.float-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.call-btn {
    background: linear-gradient(135deg, #007bff, #0056b3);
}

.wa-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

@media (max-width: 768px) {
    .floating-contact {
        bottom: 20px;
        left: 20px;
    }

    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .float-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* =========================================
   About Us Breadcrumb
   ========================================= */

.breadcrumb-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 300px;
    padding: 70px 20px;
    background: var(--bg-deep);
    color: var(--white);
    overflow: hidden;
}

/* Subtle red glow */
.breadcrumb-section::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: var(--primary-color);
    opacity: 0.08;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.breadcrumb-section::after {
    content: "";
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--primary-color);
    opacity: 0.05;
    border-radius: 50%;
    filter: blur(15px);
    pointer-events: none;
}

.breadcrumb-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Small label */
.breadcrumb-label {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--primary-text);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main title */
.breadcrumb-title {
    margin: 0 0 18px;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
}

/* Breadcrumb navigation */
.breadcrumb-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 15px;
}

.breadcrumb-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.breadcrumb-current {
    color: var(--white);
    font-weight: 500;
}

/* =========================================
   Responsive
   ========================================= */

@media (max-width: 767px) {
    .breadcrumb-section {
        min-height: 240px;
        padding: 55px 20px;
    }

    .breadcrumb-label {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .breadcrumb-title {
        margin-bottom: 14px;
        font-size: 38px;
    }

    .breadcrumb-nav {
        font-size: 14px;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .breadcrumb-section {
        min-height: 220px;
        padding: 45px 15px;
    }

    .breadcrumb-title {
        font-size: 34px;
    }
}

/* =========================================
   ABOUT US BANNER
   ========================================= */

.about-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 480px;

    /* TOP GAP / PADDING */
    padding: 120px 20px 80px;

    background-image: url('../img/imgi_15_banner-3.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: #ffffff;
    overflow: hidden;
}


/* =========================================
   DARK + RED GRADIENT OVERLAY
   ========================================= */

.about-banner-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(90, 0, 0, 0.85) 0%,
            rgba(150, 0, 0, 0.60) 45%,
            rgba(0, 0, 0, 0.70) 100%);

    z-index: 1;
}


/* =========================================
   CONTAINER
   ========================================= */

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

    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}


/* =========================================
   CONTENT
   ========================================= */

.about-banner-content {
    text-align: center;
}


/* Small Label */

.about-banner-label {
    display: inline-block;

    margin-bottom: 14px;

    color: #ff4b4b;

    font-family: var(--font-body, Arial, sans-serif);
    font-size: 13px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;
}


/* Main Heading */

.about-banner-title,
.hero-heading {
    margin: 0 0 20px;

    color: #ffffff;

    font-family: var(--font-heading, Arial, sans-serif);
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 700;

    line-height: 1.1;
}


/* =========================================
   BREADCRUMB
   ========================================= */

.about-banner-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-wrap: wrap;
    gap: 12px;

    font-family: var(--font-body, Arial, sans-serif);
    font-size: 15px;
}


.about-banner-breadcrumb a {
    color: rgba(255, 255, 255, 0.75);

    text-decoration: none;

    transition: all 0.3s ease;
}


.about-banner-breadcrumb a:hover {
    color: #ff4b4b;
}


.about-banner-breadcrumb>span:not(.current) {
    color: #ff4b4b;

    font-weight: 600;
}


.about-banner-breadcrumb .current {
    color: #ffffff;

    font-weight: 500;
}


/* =========================================
   RED LIGHT EFFECT
   ========================================= */

.about-banner::after {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -120px;
    bottom: -180px;

    background: #ff0000;

    opacity: 0.12;

    border-radius: 50%;

    filter: blur(60px);

    z-index: 1;

    pointer-events: none;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 767px) {

    .about-banner {
        min-height: 320px;

        padding: 100px 20px 60px;
    }

    .about-banner-label {
        font-size: 11px;
        letter-spacing: 2px;

        margin-bottom: 10px;
    }

    .about-banner-title {
        font-size: 40px;

        margin-bottom: 16px;
    }

    .about-banner-breadcrumb {
        font-size: 14px;

        gap: 9px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 480px) {

    .about-banner {
        min-height: 280px;

        padding: 90px 15px 50px;
    }

    .about-banner-title {
        font-size: 34px;
    }

    .about-banner-breadcrumb {
        font-size: 13px;
    }
}

/* =========================================
   VALUES SECTION
   ========================================= */

.value-sec {
    position: relative;
    padding: 80px 20px 120px;
    background: #f8f8f8;
    overflow: hidden;
}


/* =========================================
   CONTAINER
   ========================================= */

.value-sec .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 120px;
}


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

.value-sec-head {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.value-sec-head .section-subtitle {
    margin: 0 0 12px;
    color: var(--primary-color, #e21b23);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.value-sec-head .section-title {
    margin: 0 0 18px;
    color: #222;
    font-family: var(--font-heading, Arial, sans-serif);
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
}

/* Red word */
.value-sec-head .section-title span {
    color: var(--primary-color, #e21b23);
}

.value-sec-head>p {
    margin: 0;
    color: #666;
    font-family: var(--font-body, Arial, sans-serif);
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================
   VALUE GRID
   ========================================= */

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    align-items: stretch;
}


/* =========================================
   VALUE CARD
   ========================================= */

.value-card {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    min-height: 330px;
    padding: 40px 25px;

    background: #ffffff;

    border: 1px solid #eeeeee;
    border-radius: 12px;

    text-align: center;

    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;

    overflow: hidden;
}


/* =========================================
   RED TOP LINE
   ========================================= */

.value-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 0;
    height: 4px;

    background: var(--primary-color, #e21b23);

    transition: width 0.5s ease;
}


/* =========================================
   CARD HOVER
   ========================================= */

.value-card:hover {
    transform: translateY(-8px);

    border-color: rgba(226, 27, 35, 0.2);

    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.10);
}


/* Red line expands on card hover */

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


/* =========================================
   ICON
   ========================================= */

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 75px;
    height: 75px;

    margin-bottom: 25px;

    border-radius: 50%;

    background: rgba(226, 27, 35, 0.08);

    color: var(--primary-color, #e21b23);

    font-size: 28px;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}


.value-card:hover .value-icon {
    background: var(--primary-color, #e21b23);
    color: #ffffff;
    transform: scale(1.08);
}


/* =========================================
   CARD TITLE
   ========================================= */

.value-card h3 {
    margin: 0 0 15px;

    color: #222;

    font-family: var(--font-heading, Arial, sans-serif);

    font-size: 21px;
    font-weight: 700;

    line-height: 1.3;
}


/* =========================================
   CARD DESCRIPTION
   ========================================= */

.value-card p {
    margin: 0;

    color: #666;

    font-family: var(--font-body, Arial, sans-serif);

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 992px) {

    .value-sec {
        padding: 75px 20px 100px;
    }

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

    .value-card {
        min-height: 310px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .value-sec {
        padding: 60px 15px 80px;
    }

    .value-sec-head {
        margin-bottom: 35px;
    }

    .value-sec-head .section-title {
        font-size: 34px;
    }

    .value-sec-head>p {
        font-size: 14px;
    }

    .value-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .value-card {
        min-height: auto;
        padding: 35px 25px;
    }

    .value-icon {
        width: 68px;
        height: 68px;
        font-size: 25px;
        margin-bottom: 20px;
    }
}

/* =========================================
   CONTACT SECTION – FINAL FIXED VERSION
   ========================================= */

#contact-sec {
    position: relative;
    padding: 100px 20px 140px;
    background: #f5f5f5;
    overflow: hidden;
}

#contact-sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 430px;
    background: linear-gradient(135deg, #700000 0%, #b40000 45%, #1b1b1b 100%);
    z-index: 0;
}

#contact-sec .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Heading */
#contact-sec .section-head {
    position: relative;
    max-width: 850px;
    margin: 0 auto;
    padding: 30px 15px 160px;
    text-align: center;
}

#contact-sec .section-subtitle {
    margin: 0 0 12px;
    color: #ff6b6b;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#contact-sec .section-title {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-heading, Arial, sans-serif);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
}

#contact-sec .section-title span {
    color: #ffffff;
}

/* =========================================
   FORM + MAP WRAPPER
   ========================================= */
#contact-sec .contform {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1150px;
    margin: -110px auto 0;
    padding: 40px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: start;
    box-sizing: border-box;
}

/* =========================================
   FORM GRID
   ========================================= */
#contact-sec .contform form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    width: 100%;
}

#contact-sec .inputBox {
    position: relative;
    width: 100%;
}

/* Textarea full width */
#contact-sec .inputBox:nth-child(5) {
    grid-column: 1 / -1;
}

/* Submit button full width */
#contact-sec .inputBox:last-child {
    grid-column: 1 / -1;
    text-align: center;
}

/* Inputs */
#contact-sec .inputBox input:not([type="submit"]),
#contact-sec .inputBox textarea {
    width: 100%;
    padding: 16px 16px;
    border: 1px solid #dddddd;
    border-radius: 6px;
    background: #ffffff;
    color: #222222;
    font-family: var(--font-body, Arial, sans-serif);
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-sec .inputBox textarea {
    min-height: 140px;
    resize: vertical;
}

#contact-sec .inputBox input:not([type="submit"]):focus,
#contact-sec .inputBox textarea:focus {
    border-color: #e21b23;
    box-shadow: 0 0 0 3px rgba(226, 27, 35, 0.08);
}

/* Floating labels */
#contact-sec .inputBox span {
    position: absolute;
    left: 16px;
    top: 16px;
    padding: 0 5px;
    background: #ffffff;
    color: #777777;
    font-size: 14px;
    pointer-events: none;
    transition: top 0.25s ease, color 0.25s ease, font-size 0.25s ease;
}

#contact-sec .inputBox input:focus~span,
#contact-sec .inputBox textarea:focus~span,
#contact-sec .inputBox input:valid~span,
#contact-sec .inputBox textarea:valid~span {
    top: -9px;
    color: #e21b23;
    font-size: 12px;
    font-weight: 600;
}

/* Submit button */
#contact-sec .inputBox input[type="submit"] {
    min-width: 160px;
    padding: 14px 32px;
    border: none;
    border-radius: 6px;
    background: #e21b23;
    color: #ffffff;
    font-family: var(--font-body, Arial, sans-serif);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#contact-sec .inputBox input[type="submit"]:hover {
    background: #b9141b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(226, 27, 35, 0.25);
}

/* Map */
#contact-sec .contform iframe {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: none;
    border-radius: 12px;
}

/* =========================================
   CONTACT SECTION – FINAL FIX
   ========================================= */

#contact-sec {
    position: relative;
    padding: 100px 15px 120px;
    background: #f5f5f5;
    overflow: hidden;
}

#contact-sec::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #700000 0%, #b40000 45%, #1b1b1b 100%);
    z-index: 0;
}

#contact-sec .container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Heading */
#contact-sec .section-head {
    max-width: 850px;
    margin: 0 auto;
    padding: 25px 10px 140px;
    text-align: center;
}

#contact-sec .section-subtitle {
    margin: 0 0 10px;
    color: #ff6b6b;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

#contact-sec .section-title {
    margin: 0;
    color: #ffffff;
    font-family: var(--font-heading, Arial, sans-serif);
    font-size: clamp(28px, 6vw, 48px);
    font-weight: 700;
    line-height: 1.2;
}

#contact-sec .section-title span {
    color: #ffffff;
}

/* =========================================
   FORM + MAP WRAPPER
   ========================================= */
#contact-sec .contform {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1100px;
    margin: -100px auto 0;
    padding: 35px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-sizing: border-box;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Form */
#contact-sec .contform form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

#contact-sec .inputBox {
    position: relative;
    width: 100%;
}

#contact-sec .inputBox:nth-child(5),
#contact-sec .inputBox:last-child {
    grid-column: 1 / -1;
}

#contact-sec .inputBox input:not([type="submit"]),
#contact-sec .inputBox textarea {
    width: 100%;
    padding: 15px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #222;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

#contact-sec .inputBox textarea {
    min-height: 130px;
    resize: vertical;
}

#contact-sec .inputBox input:focus,
#contact-sec .inputBox textarea:focus {
    border-color: #e21b23;
    box-shadow: 0 0 0 3px rgba(226, 27, 35, 0.1);
}

/* Floating labels */
#contact-sec .inputBox span {
    position: absolute;
    left: 14px;
    top: 15px;
    padding: 0 4px;
    background: #fff;
    color: #777;
    font-size: 14px;
    pointer-events: none;
    transition: all 0.25s ease;
}

#contact-sec .inputBox input:focus~span,
#contact-sec .inputBox textarea:focus~span,
#contact-sec .inputBox input:valid~span,
#contact-sec .inputBox textarea:valid~span {
    top: -8px;
    color: #e21b23;
    font-size: 12px;
    font-weight: 600;
}

/* Submit */
#contact-sec .inputBox input[type="submit"] {
    width: 100%;
    max-width: 220px;
    padding: 14px 28px;
    border: none;
    border-radius: 6px;
    background: #e21b23;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

#contact-sec .inputBox input[type="submit"]:hover {
    background: #b9141b;
    transform: translateY(-2px);
}

/* Map */
#contact-sec .contform iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
    border-radius: 10px;
}

/* =========================================
   INFO BOXES
   ========================================= */
.info {
    width: 100%;
    padding: 60px 20px;
    background: #f8f8f8;
}

.boxes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.box {
    position: relative;
    flex: 1 1 280px;
    max-width: 340px;
    min-height: 140px;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(120deg, #e21b23, #ff4b4b, #8b0000);
    background-size: 300% 300%;
    opacity: 0;
    z-index: 0;
    transition: opacity 0.3s ease;
    animation: gradientMove 3s linear infinite;
}

.box::after {
    content: "";
    position: absolute;
    inset: 2px;
    border-radius: 10px;
    background: #fff;
    z-index: 1;
}

.box i,
.box h6,
.box p {
    position: relative;
    z-index: 2;
}

.box i {
    font-size: 24px;
    color: #e21b23;
    margin-bottom: 6px;
}

.box h6 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #222;
    text-transform: uppercase;
}

.box p {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.box a {
    color: inherit;
    text-decoration: none;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(226, 27, 35, 0.15);
}

.box:hover::before {
    opacity: 1;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =========================================
   MOBILE – FORCE SINGLE COLUMN (CRITICAL)
   ========================================= */
@media (max-width: 900px) {

    #contact-sec .contform {
        grid-template-columns: 1fr !important;
        /* ← this forces the fix */
        gap: 25px;
        padding: 25px 18px;
        margin-top: -80px;
    }

    #contact-sec .contform form {
        grid-template-columns: 1fr !important;
        gap: 14px;
    }

    #contact-sec .inputBox:nth-child(5),
    #contact-sec .inputBox:last-child {
        grid-column: auto;
    }

    #contact-sec .contform iframe {
        min-height: 260px;
        height: 260px;
    }

    .boxes {
        flex-direction: column;
        align-items: center;
    }

    .box {
        width: 100%;
        max-width: 100%;
        flex: none;
    }
}

@media (max-width: 480px) {
    #contact-sec {
        padding: 50px 10px 80px;
    }

    #contact-sec::before {
        height: 320px;
    }

    #contact-sec .section-head {
        padding: 15px 5px 110px;
    }

    #contact-sec .contform {
        margin-top: -70px;
        padding: 20px 14px;
        border-radius: 10px;
    }

    #contact-sec .inputBox input:not([type="submit"]),
    #contact-sec .inputBox textarea {
        padding: 14px 12px;
        font-size: 14px;
    }

    #contact-sec .inputBox span {
        left: 12px;
        top: 14px;
        font-size: 13px;
    }

    #contact-sec .inputBox input[type="submit"] {
        max-width: 100%;
    }

    #contact-sec .contform iframe {
        min-height: 230px;
        height: 230px;
    }
}

/* =========================================
   HEADING
   ========================================= */

.box h6 {
    margin: 0;

    color: #222222;

    font-size: 20px;
    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 1px;

    transition: color 0.3s ease;
}


.box:hover h6 {
    color: var(--primary-color, #e21b23);
}


/* =========================================
   PARAGRAPH
   ========================================= */

.box p {
    margin: 0;

    color: var(--text-light);

    font-size: 15px;

    line-height: 1.6;

    transition: color 0.3s ease;
}


/* =========================================
   ICON
   ========================================= */

.boxes i {
    position: relative;

    z-index: 2;

    margin-bottom: 5px;

    color: var(--primary-color, #e21b23);

    font-size: 30px;

    transition:
        transform 0.4s ease,
        color 0.3s ease;
}


.box:hover i {
    color: #e21b23;

    transform: scale(1.12);
}


/* =========================================
   GRADIENT ANIMATION
   ========================================= */

@keyframes gradientMove {

    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }

}


/* =========================================
   TABLET
   ========================================= */

@media (max-width: 992px) {

    .info {
        padding: 70px 25px;
    }

    .boxes {
        padding: 0 20px;

        gap: 20px;
    }

    .box {
        width: 100%;

        min-height: 150px;
    }
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 700px) {

    .info {
        min-height: auto;

        padding: 60px 20px;
    }

    .boxes {
        flex-direction: column;

        padding: 0;

        gap: 20px;
    }

    .box {
        width: 100%;

        max-width: 450px;

        min-height: 150px;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 480px) {

    .info {
        padding: 50px 15px;
    }

    .box {
        padding: 22px 15px;
    }

    .box h6 {
        font-size: 18px;
    }

    .box p {
        font-size: 14px;
    }

    .boxes i {
        font-size: 26px;
    }
}

.fontcont {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;



}

iframe {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.contform {
    flex-direction: row;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* =================================
   ABOUT BANNER CONTENT ANIMATION
================================= */

.about-banner-label {
    opacity: 0;
    transform: translateX(-40px);
    animation: bannerLeftIn 0.8s ease-out 0.2s forwards;
}

.about-banner-title,
.hero-heading {
    opacity: 0;
    transform: translateX(-50px);
    animation: bannerLeftIn 0.9s ease-out 0.4s forwards;
}

.about-banner-breadcrumb {
    opacity: 0;
    transform: translateX(-40px);
    animation: bannerLeftIn 0.8s ease-out 0.65s forwards;
}

@keyframes bannerLeftIn {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

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

/* Keep the contact form and map from shrinking inside narrow grid tracks. */
#contact-sec .contform {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#contact-sec .contform>form,
#contact-sec .contform>iframe,
#contact-sec .inputBox {
    min-width: 0;
}

#contact-sec .contform form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 900px) {
    #contact-sec .contform {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
        padding: clamp(20px, 4vw, 32px);
        margin-top: -80px;
    }

    #contact-sec .contform iframe {
        height: 320px;
        min-height: 0;
    }
}

@media (max-width: 600px) {
    #contact-sec .contform {
        padding: 20px 16px;
    }

    #contact-sec .contform form {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    #contact-sec .inputBox:nth-child(5),
    #contact-sec .inputBox:last-child {
        grid-column: auto;
    }

    #contact-sec .inputBox input[type="submit"] {
        width: 100%;
    }

    #contact-sec .contform iframe {
        height: 250px;
    }
}


/* Submenu inside Products dropdown */
.dropdown-menu .dropdown-submenu {
    position: relative;
}

.dropdown-menu .dropdown-submenu>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

/* Second-level submenu */
.dropdown-menu .dropdown-submenu .submenu {
    display: none;
    position: absolute;
    top: 0;
    left: 100%;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    z-index: 1000;
}

/* Show submenu on hover */
.dropdown-menu .dropdown-submenu:hover>.submenu {
    display: block;
}

/* Submenu links */
.dropdown-menu .dropdown-submenu .submenu li a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.dropdown-menu .dropdown-submenu .submenu li a:hover {
    background: #fae8e7;
    color: #B3423D;
}


/* =========================================
   Product Detail & Technical Data Pages
   ========================================= */
.product-detail-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
    margin-bottom: 20px;
}

.product-detail-hero .hero-text h1 {
    font-size: 34px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.25;
}

.product-detail-hero .hero-text h1 span {
    color: var(--primary-color);
}

.product-detail-hero .hero-text p {
    font-size: 15.5px;
    color: var(--text-main);
    line-height: 1.75;
    margin-bottom: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 25px;
}

.product-media-card {
    background: #f1ecec;
    border-radius: 12px;
    border: 0px solid var(--line);
    padding: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.product-media-card .img-box {
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.product-media-card .img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.product-media-card:hover .img-box img {
    transform: scale(1.04);
}

.quick-specs-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.spec-badge {
    background: var(--bg-soft);
    color: var(--ink);
    border: 1px solid var(--line);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spec-badge i {
    color: var(--primary-color);
}

/* Data Tables */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    margin-top: 16px;
    margin-bottom: 35px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 14px;
}

.data-table thead th {
    background: #111827;
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 700;
    padding: 14px 18px;
    letter-spacing: 0.5px;
    border: none;
    font-size: 14px;
}

.data-table tbody tr {
    border-bottom: 1px solid var(--line);
    transition: background 0.2s ease;
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

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

.data-table tbody tr:hover {
    background: #f3f4f6;
}

.data-table tbody td {
    padding: 13px 18px;
    color: var(--text-main);
    vertical-align: middle;
}

.data-table tbody td:first-child {
    font-weight: 600;
    color: var(--ink);
}

.sub-table-heading {
    font-size: 20px;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 12px;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sub-table-heading i {
    color: var(--primary-color);
    font-size: 18px;
}

/* Product Types Grid */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.type-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 28px 24px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(224, 60, 49, 0.3);
}

.type-card .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-tint);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 6px;
}

.type-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}

.type-card p {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
}

/* Key Advantages Grid */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.advantage-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 26px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
}

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

.advantage-card .adv-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary-tint);
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 14px;
}

.advantage-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.advantage-card p {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.6;
}

/* Key Advantages Split Layout (Infographic + Content) */
#advantages {
    padding: 35px 0 40px;
}

#advantages .container {
    max-width: 1440px;
    padding: 0 45px;
}

.advantages-split-layout {
    display: grid;
    grid-template-columns: 1.48fr 1fr;
    grid-template-areas:
        "media head"
        "media cards";
    gap: 16px 26px;
    align-items: center;
}

.advantages-media-col {
    grid-area: media;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages-img-wrap {
    position: relative;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.advantages-img-wrap:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.advantages-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
}

.advantages-img-wrap:hover img {
    transform: none;
}

.advantages-head {
    grid-area: head;
    text-align: left;
    margin: 0 0 6px 0;
    padding: 0;
}

.advantages-head .section-subtitle {
    display: inline-block;
    margin: 0 0 4px 0;
    padding: 0;
    font-size: 14.5px;
    line-height: 1.2;
}

.advantages-head .section-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.22;
    margin: 0;
}

.advantages-head .section-title::after {
    margin: 8px 0 0;
    width: 50px;
    height: 3px;
}

.advantages-head p {
    font-size: 14px;
    color: var(--text-main);
    line-height: 1.5;
    margin-top: 8px;
    margin-bottom: 0;
}

.advantages-cards-col {
    grid-area: cards;
    padding: 0;
}

.advantages-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.advantages-cards-grid .advantage-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px 14px;
    min-height: auto;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.advantages-cards-grid .advantage-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.advantages-cards-grid .advantage-card .adv-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    background: var(--primary-tint);
    color: var(--primary-color);
    font-size: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.advantages-cards-grid .advantage-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    line-height: 1.35;
}

.advantages-cards-grid .advantage-card p {
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--text-main);
    margin: 0;
}

/* Laptop Responsive Styles */
@media (max-width: 1536px) {
    .container,
    .header-container,
    .about-banner-container,
    #advantages .container {
        padding-left: 70px;
        padding-right: 70px;
    }
}

@media (max-width: 1366px) {
    .container,
    .header-container,
    .about-banner-container {
        padding-left: 125px;
        padding-right: 125px;
    }

    #advantages .container {
        max-width: 1440px;
        padding-left: 125px;
        padding-right: 125px;
    }

    .section {
        padding: 85px 0;
    }

    #advantages {
        padding: 35px 0 30px;
    }

    .advantages-split-layout {
        grid-template-columns: 1.42fr 1fr;
        gap: 14px 22px;
    }

    .advantages-head .section-title {
        font-size: 25px;
    }

    .advantages-head p {
        font-size: 13.5px;
        margin-top: 6px;
    }

    .advantages-cards-grid {
        gap: 10px;
    }

    .advantages-cards-grid .advantage-card {
        padding: 14px 12px;
        min-height: auto;
        border-radius: 13px;
    }

    .advantages-cards-grid .advantage-card .adv-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
        border-radius: 8px;
        margin-bottom: 8px;
    }

    .advantages-cards-grid .advantage-card h3 {
        font-size: 14.5px;
        margin-bottom: 4px;
    }

    .advantages-cards-grid .advantage-card p {
        font-size: 12.5px;
        line-height: 1.45;
    }

    .advantages-img-wrap {
        border-radius: 18px;
    }
}

@media (max-width: 1199px) {
    .container,
    .header-container,
    .about-banner-container {
        padding-left: 65px;
        padding-right: 65px;
    }

    #advantages .container {
        padding-left: 35px;
        padding-right: 35px;
    }

    .advantages-split-layout {
        grid-template-columns: 1.35fr 1fr;
        gap: 12px 18px;
    }

    .advantages-cards-grid {
        gap: 10px;
    }

    .advantages-cards-grid .advantage-card {
        padding: 14px 12px;
        min-height: auto;
    }
}

@media (max-width: 991px) {
    .container,
    .header-container,
    .about-banner-container,
    #advantages .container {
        padding-left: 35px;
        padding-right: 35px;
    }

    #advantages .container {
        max-width: 100%;
    }

    .advantages-split-layout {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .advantages-head {
        text-align: center;
        order: 1;
    }

    .advantages-head .section-title::after {
        margin: 14px auto 0;
    }

    .advantages-media-col {
        order: 2;
        max-width: 820px;
        margin: 0 auto;
        width: 100%;
    }

    .advantages-img-wrap img {
        min-height: auto;
    }

    .advantages-cards-col {
        order: 3;
        width: 100%;
    }

    .advantages-cards-grid {
        gap: 16px;
    }
}

@media (max-width: 576px) {
    .container,
    .header-container,
    .about-banner-container,
    #advantages .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    .advantages-cards-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .advantages-cards-grid .advantage-card {
        padding: 22px 18px;
        min-height: auto;
    }

    .advantages-head .section-title {
        font-size: 25px;
    }
}

/* Testing / Quality Grid */
.testing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.testing-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 20px 22px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.testing-card:hover {
    border-color: rgba(224, 60, 49, 0.4);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.testing-card .test-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.testing-card .test-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 5px;
}

.testing-card .test-content p {
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.55;
}

/* FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 30px auto 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.02);
}

.faq-header {
    width: 100%;
    padding: 18px 24px;
    text-align: left;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    transition: color 0.2s ease;
}

.faq-header:hover {
    color: var(--primary-color);
}

.faq-header .faq-toggle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-main);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.faq-card.active {
    border-color: rgba(224, 60, 49, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.faq-card.active .faq-header {
    color: var(--primary-color);
}

.faq-card.active .faq-header .faq-toggle {
    transform: rotate(180deg);
    background: var(--primary-tint);
    color: var(--primary-color);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-card.active .faq-body {
    max-height: 300px;
    padding: 0 24px 20px;
}

.faq-body p {
    font-size: 14.5px;
    color: var(--text-main);
    line-height: 1.65;
}

/* =========================================
   Interactive Calculator Section
   ========================================= */
.calc-outer-box {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
    padding: clamp(20px, 4vw, 36px);
    margin-top: 25px;
}

.calc-header-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid var(--line);
}

.calc-header-bar .calc-badge {
    align-self: flex-start;
    background: var(--primary-tint);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 30px;
    border: 1px solid rgba(224, 60, 49, 0.2);
}

.calc-header-bar h3 {
    font-size: 24px;
    font-weight: 800;
    color: var(--ink);
}

.calc-header-bar p {
    font-size: 13.5px;
    color: var(--text-light);
}

.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

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

    .product-detail-hero {
        grid-template-columns: 1fr;
    }

    .product-media-card .img-box {
        height: 320px;
    }
}

@media (max-width: 576px) {
    .product-media-card .img-box {
        height: 250px;
    }
}

.calc-controls {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calc-field-group {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: border-color 0.2s ease;
}

.calc-field-group:focus-within {
    border-color: var(--primary-color);
}

.calc-field-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calc-field-label span.accent-label {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-select {
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    color: var(--ink);
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: 10px;
    outline: none;
    cursor: pointer;
    font-family: var(--font-body);
    transition: var(--transition);
}

.calc-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(224, 60, 49, 0.12);
}

.calc-input-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.calc-input-number {
    width: 90px;
    text-align: right;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 10px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 8px;
    outline: none;
    color: var(--ink);
    font-family: var(--font-body);
}

.calc-input-number:focus {
    border-color: var(--primary-color);
}

.calc-unit {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
}

.calc-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    outline: none;
    margin: 6px 0 2px;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(224, 60, 49, 0.4);
    transition: transform 0.15s ease;
}

.calc-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.calc-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    box-shadow: 0 0 10px rgba(224, 60, 49, 0.4);
}

.calc-visual-panel {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.webgl-card {
    background: radial-gradient(circle at 50% 50%, #1e293b 0%, #090d16 100%);
    border-radius: 16px;
    padding: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.5);
}

.webgl-badge {
    position: absolute;
    top: 14px;
    left: 16px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 5;
}

.webgl-badge .pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }

    100% {
        transform: scale(0.95);
        opacity: 0.8;
    }
}

.webgl-hint {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 11px;
    color: #cbd5e1;
    background: rgba(15, 23, 42, 0.7);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 5;
}

#webgl-container {
    width: 100%;
    height: 250px;
    border-radius: 12px;
    cursor: grab;
    margin-top: 16px;
}

#webgl-container:active {
    cursor: grabbing;
}

.webgl-caption {
    font-size: 11.5px;
    color: #94a3b8;
    text-align: center;
    margin-top: 8px;
}

.calc-results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.calc-res-card {
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.calc-res-card .res-title {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-light);
}

.calc-res-card .res-value {
    font-size: 22px;
    font-weight: 800;
    color: var(--ink);
    margin-top: 4px;
}

.calc-res-card .res-value.highlight {
    color: var(--primary-color);
}

.calc-res-card .res-sub {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-light);
    margin-top: 2px;
}

.calc-footer-bar {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.calc-spec-str {
    font-family: monospace;
    font-size: 12.5px;
    color: var(--ink);
    background: var(--bg-soft);
    border: 1px solid var(--line);
    padding: 10px 16px;
    border-radius: 10px;
    flex: 1;
    min-width: 250px;
}

#toastNotification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #0f172a;
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 600;
    padding: 12px 22px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    border: 1px solid #334155;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

#toastNotification.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RFQ Button & Modal Form
   ========================================= */
.btn-rfq-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), #ff5252);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(224, 60, 49, 0.35);
    transition: var(--transition);
}

.btn-rfq-trigger:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: 0 6px 20px rgba(224, 60, 49, 0.5);
    transform: translateY(-2px);
    color: var(--white) !important;
}

.btn-rfq-trigger i {
    font-size: 14px;
}

/* Modal Backdrop */
.rfq-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rfq-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Container */
.rfq-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 620px;
    max-height: 90vh;
    max-height: calc(100dvh - 32px);
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rfq-modal-backdrop.active .rfq-modal-container {
    transform: scale(1) translateY(0);
}

/* Modal Form Flex Wrapper */
.rfq-modal-container form {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    margin: 0;
}

/* Modal Header */
.rfq-modal-header {
    background: #ffffff;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    z-index: 2;
}

.rfq-modal-badge {
    display: inline-block;
    background: var(--primary-tint);
    color: var(--primary-color);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.rfq-modal-header h3 {
    font-size: 21px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 4px;
}

.rfq-modal-header p {
    font-size: 13px;
    color: var(--text-light);
    margin: 0;
}

.rfq-modal-close {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-size: 16px;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.rfq-modal-close:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    transform: rotate(90deg);
}

/* Modal Body */
.rfq-modal-body {
    padding: 20px 24px 26px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.rfq-modal-body::-webkit-scrollbar {
    width: 6px;
}

.rfq-modal-body::-webkit-scrollbar-track {
    background: transparent;
}

.rfq-modal-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 6px;
}

.rfq-modal-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.rfq-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.rfq-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rfq-field.full-width {
    grid-column: 1 / -1;
}

.rfq-field label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 6px;
}

.rfq-field label i {
    color: var(--primary-color);
    font-size: 13px;
}

.rfq-field label .required {
    color: var(--primary-color);
}

.rfq-field input,
.rfq-field select,
.rfq-field textarea {
    width: 100%;
    box-sizing: border-box;    
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--line);
    font-family: var(--font-body);
    font-size: 13.5px;
    color: var(--ink);
    background: #ffffff;
    outline: none;
    transition: var(--transition);
}

.rfq-field textarea {
    resize: vertical;
    min-height: 70px;
}

.rfq-field input:focus,
.rfq-field select:focus,
.rfq-field textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(224, 60, 49, 0.12);
}

.rfq-spec-display {
    background: var(--bg-soft) !important;
    border: 1px solid rgba(224, 60, 49, 0.25) !important;
    color: var(--ink) !important;
    font-family: monospace !important;
    font-size: 12px !important;
    font-weight: 600;
}

/* Modal Footer */
.rfq-modal-footer {
    padding: 16px 24px 20px;
    border-top: 1px solid #e2e8f0;
    background: var(--bg-soft);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.03);
    z-index: 2;
}

.rfq-security-note {
    font-size: 12px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}

.rfq-security-note i {
    color: #10b981;
}

.rfq-btn-group {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

/* =========================================
   RFQ Modal Responsive (Phones & Small Tablets)
   ========================================= */
@media (max-width: 680px) {
    .rfq-modal-backdrop {
        padding: 10px 8px;
        align-items: center;
    }

    .rfq-modal-container {
        max-width: 100%;
        max-height: 94vh;
        max-height: calc(100dvh - 16px);
        border-radius: 18px;
    }

    .rfq-modal-header {
        padding: 13px 15px 11px;
        gap: 10px;
    }

    .rfq-modal-badge {
        font-size: 10px;
        padding: 3px 8px;
        margin-bottom: 3px;
        letter-spacing: 0.5px;
    }

    .rfq-modal-header h3 {
        font-size: 17px;
        line-height: 1.25;
        margin: 0 0 2px;
    }

    .rfq-modal-header p {
        font-size: 11.5px;
        line-height: 1.35;
    }

    .rfq-modal-close {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 14px;
    }

    .rfq-modal-body {
        padding: 13px 15px 22px;
    }

    .rfq-form-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .rfq-field {
        gap: 4px;
    }

    .rfq-field label {
        font-size: 12px;
    }

    .rfq-field input,
    .rfq-field select,
    .rfq-field textarea {
        font-size: 16px; /* Prevents auto-zoom on iOS Safari */
        padding: 9px 12px;
        border-radius: 8px;
    }

    .rfq-field textarea {
        min-height: 64px;
    }

    .rfq-spec-display {
        font-size: 11.5px !important;
        padding: 8px 10px !important;
    }

    .rfq-modal-footer {
        padding: 11px 15px 13px;
        gap: 8px;
    }

    .rfq-security-note {
        font-size: 11px;
        line-height: 1.3;
    }

    .rfq-security-note i {
        font-size: 12px;
    }

    .rfq-btn-group {
        display: flex;
        flex-direction: row;
        gap: 8px;
        width: 100%;
    }

    .rfq-btn-group button.btn-secondary {
        flex: 1;
        padding: 10px 12px !important;
        font-size: 13px !important;
        border-radius: 22px !important;
        text-align: center;
        justify-content: center;
    }

    .rfq-btn-group button.btn-primary {
        flex: 2;
        padding: 10px 14px !important;
        font-size: 13.5px !important;
        border-radius: 22px !important;
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .rfq-modal-backdrop {
        padding: 8px 5px;
    }

    .rfq-modal-header {
        padding: 11px 13px 9px;
    }

    .rfq-modal-header h3 {
        font-size: 15.5px;
    }

    .rfq-modal-body {
        padding: 11px 13px 20px;
    }

    .rfq-modal-footer {
        padding: 9px 13px 11px;
    }

    .rfq-security-note {
        display: none;
    }
}

.type-card-image {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin: 15px 0;
    display: block;
}

/* type grid */
#types .types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 35px;
    justify-content: center;
}

@media (min-width: 576px) and (max-width: 991px) {
    #types .types-grid {
        grid-template-columns: repeat(2, minmax(0, 360px));
        gap: 20px;
        justify-content: center;
    }

    #types .types-grid.types-grid-3 > .type-card:nth-child(3),
    #types .types-grid:has(> .type-card:nth-child(3):last-child) > .type-card:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 360px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (min-width: 992px) {
    #types .types-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        justify-content: center;
    }

    /* When section has 3 cards (e.g. SS 304 Black, SS 316 Black), center them in 3 balanced columns */
    #types .types-grid.types-grid-3,
    #types .types-grid:has(> .type-card:nth-child(3):last-child) {
        grid-template-columns: repeat(3, minmax(0, 350px));
        justify-content: center;
    }
}

#types .type-card {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px 20px;
    transition: all 0.35s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

#types .type-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
    border-color: rgba(224, 60, 49, 0.35);
}

#types .type-card .type-img-box,
.types-grid .type-card .type-img-box,
.type-card .type-img-box {
    width: 100%;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--line);
    margin-bottom: 14px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

#types .type-card .type-img-box img,
.types-grid .type-card .type-img-box img,
.type-card .type-img-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

#types .type-card:hover .type-img-box img {
    transform: scale(1.08);
}

#types .type-card h3 {
    font-size: 17.5px;
    font-weight: 700;
    color: var(--ink);
    margin: 0 0 8px;
    line-height: 1.35;
}

#types .type-card p {
    font-size: 13.5px;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   Dairy Fittings Page Styles
========================================= */
.fitting-group {
    margin-bottom: 55px;
    padding-bottom: 45px;
    border-bottom: 1px solid var(--line);
}

.fitting-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.fitting-group .sub-table-heading {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 22px;
}

.fitting-img-wrap {
    max-width: 800px;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    margin: 18px auto 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fitting-img-wrap:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.09);
}

.fitting-img-wrap img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.fitting-intro {
    margin: 0 0 18px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--text-main);
}

.fitting-note {
    margin: 20px 0 0;
    padding: 14px 18px;
    background: #ffffff;
    border: 1px solid var(--line);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-main);
}

.fitting-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 12px;
}

.fitting-chips li {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.fitting-chips li:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.06);
}

.fitting-layout {
    display: block;
}

@media (max-width: 900px) {
    .fitting-chips {
        grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    }
}

@media (max-width: 576px) {
    .fitting-chips {
        grid-template-columns: 1fr;
    }
    .fitting-group .sub-table-heading {
        font-size: 19px;
    }
}

.product-detail-hero .hero-text h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 18px;
    line-height: 1.25;
    color: var(--ink);
}

.product-detail-hero .hero-text h2 span {
    color: var(--primary-color);
}

/* =========================================
   Featured Product Cards (Round Bars & Hubs)
========================================= */
.featured-bars-grid {
    margin-top: 35px;
}

.featured-bars-grid .product-card {
    flex: 0 0 calc((100% - 48px) / 3);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.featured-bars-grid .product-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.featured-bars-grid .product-card .product-img {
    height: 230px;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.featured-bars-grid .product-card .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

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

.featured-bars-grid .product-card .product-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.featured-bars-grid .product-card .product-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.featured-bars-grid .product-card:hover .product-body h3 {
    color: var(--primary-color);
}

.featured-bars-grid .product-card .product-body p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-main);
    margin-bottom: 18px;
    flex-grow: 1;
}

.featured-bars-grid .product-card .btn-card-link {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap 0.25s ease;
}

.featured-bars-grid .product-card:hover .btn-card-link {
    gap: 12px;
}

@media (max-width: 991px) {
    .featured-bars-grid .product-card {
        flex: 0 0 calc((100% - 24px) / 2);
    }
}

@media (max-width: 576px) {
    .featured-bars-grid .product-card {
        flex: 0 0 100%;
    }
}

/* =========================================
   Pipes & Tubes / 2-Column Product Cards
========================================= */
.pipes-cards-grid,
.dual-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 980px;
    margin: 40px auto 0;
    align-items: stretch;
}

.pipe-box-card,
.dual-box-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pipe-box-card:hover,
.dual-box-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.pipe-box-card .pipe-card-img,
.dual-box-card .pipe-card-img {
    height: 270px;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.pipe-box-card .pipe-card-img img,
.dual-box-card .pipe-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.pipe-box-card:hover .pipe-card-img img,
.dual-box-card:hover .pipe-card-img img {
    transform: scale(1.06);
}

.pipe-box-card .pipe-card-body,
.dual-box-card .pipe-card-body {
    padding: 26px 28px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pipe-box-card .pipe-badge,
.dual-box-card .pipe-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    background: rgba(230, 0, 0, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
    width: fit-content;
    margin-bottom: 12px;
}

.pipe-box-card .pipe-card-title,
.dual-box-card .pipe-card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.pipe-box-card:hover .pipe-card-title,
.dual-box-card:hover .pipe-card-title {
    color: var(--primary-color);
}

.pipe-box-card .pipe-card-desc,
.dual-box-card .pipe-card-desc {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-main);
    margin-bottom: 22px;
    flex-grow: 1;
}

.pipe-box-card .pipe-card-footer,
.dual-box-card .pipe-card-footer {
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.pipe-box-card .btn-card-link,
.dual-box-card .btn-card-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.25s ease;
}

.pipe-box-card:hover .btn-card-link,
.dual-box-card:hover .btn-card-link {
    gap: 12px;
}

@media (max-width: 820px) {
    .pipes-cards-grid,
    .dual-cards-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        gap: 24px;
        margin-top: 30px;
    }

    .pipe-box-card .pipe-card-img,
    .dual-box-card .pipe-card-img {
        height: 230px;
    }
}

/* =========================================
   Single Centered Product Card (Flat Bars, etc.)
========================================= */
.single-card-wrap {
    max-width: 620px;
    margin: 40px auto 0;
    display: flex;
    justify-content: center;
}

.single-card-wrap .pipe-box-card {
    width: 100%;
}

.single-card-wrap .pipe-box-card .pipe-card-img {
    height: 310px;
}

@media (max-width: 820px) {
    .single-card-wrap {
        max-width: 520px;
        margin-top: 30px;
    }

    .single-card-wrap .pipe-box-card .pipe-card-img {
        height: 240px;
    }
}


/* =========================================
   Home Products Grid (3-Column Symmetrical Layout)
========================================= */
.home-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.home-products-grid .product-card {
    flex: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    overflow: hidden;
    cursor: pointer;
}

.home-products-grid .product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(230, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(230, 0, 0, 0.35);
}

.home-products-grid .product-img {
    height: 220px;
    position: relative;
    background: var(--bg-soft, #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-bottom: 3px solid var(--primary-color);
}

.home-products-grid .product-img i {
    font-size: 42px;
    color: var(--primary-color);
    opacity: 0.3;
}

.home-products-grid .product-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.home-products-grid .product-card:hover .product-img img {
    transform: scale(1.08);
}

.home-products-grid .product-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.home-products-grid .product-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.home-products-grid .product-card:hover .product-body h3 {
    color: var(--primary-color);
}

.home-products-grid .product-body p {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.home-products-grid .btn-card-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap 0.25s ease;
}

.home-products-grid .product-card:hover .btn-card-link {
    gap: 12px;
}

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

@media (max-width: 600px) {
    .home-products-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-products-grid .product-img {
        height: 200px;
    }
}

/* =========================================
   Enhanced Material Cards
========================================= */
a.material-card,
.material-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: pointer;
}

a.material-card:hover,
.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(230, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
    border-color: rgba(230, 0, 0, 0.35);
}

.material-card .material-img-wrap {
    height: 220px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-bottom: 3px solid var(--primary-color);
}

.material-card .material-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.5s ease;
}

.material-card:hover .material-img-wrap img {
    transform: scale(1.08);
}

.material-card .material-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.material-card .material-info h3 {
    font-size: 21px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    transition: color 0.3s ease;
}

.material-card:hover .material-info h3 {
    color: var(--primary-color);
}

.material-card .material-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 16px;
}

.material-card .grade-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
    list-style: none;
    padding: 0;
}

.material-card .grade-list li {
    font-size: 12px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.material-card .btn-card-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    transition: gap 0.25s ease;
}

.material-card:hover .btn-card-link {
    gap: 12px;
}

/* Centered Two-Card Grid for Materials Page */
.materials-grid-two {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 480px));
    justify-content: center;
    gap: 40px;
    margin: 0 auto;
}

@media (max-width: 820px) {
    .materials-grid-two {
        grid-template-columns: 1fr;
        max-width: 480px;
        gap: 28px;
    }
}