/* ================= VARIABLES & RESET ================= */
:root {
    --bg-dark: #210f05;
    --accent-copper: #c25f30; /* Adjusted to match logo gradient */
    --accent-hover: #e0723d;
    --text-light: #ffffff;
    --text-muted: #d1c4bf;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa; /* Light background for the rest of the site */
}

/* ================= HEADER STYLES ================= */
.main-header {
    background-color: var(--bg-dark);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.brand-logo {
    text-decoration: none;
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.copper-text {
    color: var(--accent-copper);
}

/* ================= DESKTOP NAVIGATION ================= */
.nav-list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color var(--transition-speed);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent-copper);
}

.dropdown-icon {
    font-size: 0.8rem;
    transition: transform var(--transition-speed);
}

/* Dropdown Menu (Desktop) */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-dark);
    min-width: 200px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed) ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.3);
    border-top: 3px solid var(--accent-copper);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: var(--text-light);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background var(--transition-speed);
}

.dropdown-menu li a:hover {
    background-color: rgba(194, 95, 48, 0.1);
    color: var(--accent-copper);
}

/* CTA Button */
.nav-btn {
    background-color: var(--accent-copper);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background var(--transition-speed);
}

.nav-btn:hover {
    background-color: var(--accent-hover);
}

/* Mobile Toggle Button */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ================= MOBILE NAVIGATION ================= */
@media (max-width: 992px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-dark);
        padding-top: 80px;
        transition: right 0.4s ease-in-out;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        overflow-y: auto;
    }

    .nav-menu.sidebar-active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .nav-link {
        padding: 15px 25px;
        width: 100%;
        justify-content: space-between;
    }

    .nav-btn {
        display: block;
        text-align: center;
        margin: 20px;
    }

    /* Mobile Dropdown */
    .has-dropdown:hover .dropdown-menu {
        /* Disable hover reveal on mobile */
        opacity: 0;
        visibility: hidden;
        transform: none;
    }
    
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        display: none; /* Hidden by default in mobile via JS */
        box-shadow: none;
        border-top: none;
        background-color: rgba(0,0,0,0.2);
    }

    .dropdown-menu.mobile-open {
        display: block;
    }

    .dropdown-menu li a {
        padding-left: 40px;
    }
}

/* ================= LOGO STYLES ================= */
.logo-img {
    max-height: 77px; /* Keeps the logo proportional within the 80px navbar */
    width: auto;
    display: block;
    object-fit: contain;
}

/* Update brand-logo class if needed to center the image */
.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}



/* ================= SLIDER SECTION STYLES ================= */
.slider-section {
    background-color: var(--bg-dark); /* Using variable defined earlier */
    padding: 80px 0;
    overflow: hidden;
    position: relative;
    border-top: 2px solid var(--accent-copper);
}

.slider-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.slider-track {
    display: flex;
    width: calc(350px * 6); /* Width of all slides (original + duplicates) */
    animation: scroll 30s linear infinite; /* Adjust duration here */
}

/* Pause animation on hover */
.slider-track:hover {
    animation-play-state: paused;
}

.slide {
    width: 350px; /* Fixed width for each slide */
    flex-shrink: 0;
    padding: 20px;
}

.slide-content {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--accent-copper);
    border-radius: 8px;
    padding: 20px;
    height: 480px; /* Consistent height */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed);
}

.slide-content:hover {
    transform: translateY(-10px);
}

/* Image Wrapper and Placeholder Styles */
.slide-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 20px;
}

.slide-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
}

.tech-icon {
    font-size: 3rem;
    color: var(--accent-copper);
    opacity: 0.7;
}

/* Placeholders for when real images are used */
.placeholder-titanium { background: linear-gradient(135deg, #444, #666); }
.placeholder-round-bars { background: linear-gradient(135deg, #555, #777); }
.placeholder-oil-gas { background: linear-gradient(135deg, #333, #555); }

/* Text Panel Styles */
.slide-text-panel h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.copper-highlight {
    color: var(--accent-copper);
}

.slide-text-panel p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.slide-btn {
    background-color: transparent;
    border: 1px solid var(--accent-copper);
    color: var(--accent-copper);
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background var(--transition-speed), color var(--transition-speed);
}

.slide-btn:hover {
    background-color: var(--accent-copper);
    color: var(--text-light);
}

/* Slider Animation Definition */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-350px * 3)); } /* Scroll exactly 3 original slides */
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid var(--accent-copper);
    cursor: pointer;
    background-color: transparent;
    transition: background var(--transition-speed);
}

.dot.active {
    background-color: var(--accent-copper);
}

/* Mobile Responsiveness for Slider */
@media (max-width: 992px) {
    .slide {
        width: 300px;
    }
    .slider-track {
        width: calc(300px * 6);
    }
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-300px * 3)); }
    }
}
@media (max-width: 768px) {
    .slide {
        width: 100%;
        margin-bottom: 30px;
    }
    .slider-track {
        display: block; /* Stack slides vertically */
        width: 100%;
        animation: none; /* Disable auto-scroll on small screens for better usability */
    }
    .slider-section {
        padding: 60px 20px;
    }
    .slide-content {
        height: auto;
    }
}


/* ================= ABOUT US SECTION ================= */
.about-section {
    padding: 100px 20px;
    background-color: #ffffff; /* Clean white contrast to the dark header/slider */
    overflow: hidden;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Typography & Left Content */
.section-subtitle {
    color: var(--accent-copper);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: block;
}

.section-title {
    color: var(--bg-dark);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-description {
    color: #555555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* Mission & Vision Mini-Cards */
.mission-vision-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.mv-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-copper);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.mv-icon {
    font-size: 1.5rem;
    color: var(--accent-copper);
    margin-top: 3px;
}

.mv-text h5 {
    color: var(--bg-dark);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.mv-text p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background var(--transition-speed);
}

.primary-btn:hover {
    background-color: var(--accent-copper);
}

/* Stats Grid (Right Content) */
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.stat-card {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(194, 95, 48, 0.15); /* Copper tinted shadow */
}

/* Special styling for the ISO card to make it pop */
.highlight-card {
    background-color: var(--bg-dark);
    border-color: var(--bg-dark);
}

.highlight-card .stat-icon, 
.highlight-card .stat-number, 
.highlight-card .stat-label {
    color: var(--text-light);
}

.highlight-card .stat-icon {
    color: var(--accent-copper);
}

.stat-icon {
    font-size: 2.5rem;
    color: var(--bg-dark);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-copper);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    color: #555;
    font-weight: 500;
}

/* ================= SCROLL ANIMATION CLASSES ================= */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for the grid cards */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.5s; }
.delay-4 { transition-delay: 0.7s; }

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr; /* Stack vertically on smaller screens */
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .about-stats-grid {
        grid-template-columns: 1fr; /* 1 column grid for mobile */
    }
}


/* ================= HERO SLIDER STYLES ================= */
.hero-section {
    position: relative;
    width: 100%;
    height: 85vh; /* Takes up 85% of viewport height */
    min-height: 600px;
    overflow: hidden;
    background-color: var(--bg-dark);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Images & Slow Zoom Animation */
.slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image fills the area without stretching */
    object-position: center;
    z-index: -2;
    transform: scale(1.1); /* Starts slightly zoomed in */
    transition: transform 7s linear; /* Slow zoom out over 7 seconds */
}

/* Returns the image to normal size when the slide becomes active */
.hero-slide.active .slide-img {
    transform: scale(1);
}


/* Add your background image paths here */
.bg-image-1 { background-image: url('images/banner1.jpg'); background-color: #2c1a12; }
.bg-image-2 { background-image: url('images/banner2.jpg'); background-color: #1f1f1f; }
.bg-image-3 { background-image: url('images/banner3.jpg'); background-color: #332118; }

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay to ensure text is readable */
    background: linear-gradient(to top, rgba(33, 15, 5, 0.95) 0%, rgba(33, 15, 5, 0.3) 100%);
    z-index: -1;
}

/* Hero Content Typography */
.hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.slide-subtitle {
    color: var(--accent-copper);
    font-size: 1.1rem;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-weight: 600;
}

.slide-title {
    color: var(--text-light);
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
}

.slide-desc {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.hero-btn-group {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.secondary-btn {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-speed);
}

.secondary-btn:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

/* ================= STAGGERED TEXT ANIMATIONS ================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.hero-slide.active .fade-up {
    opacity: 1;
    transform: translateY(0);
}

/* Staggering delays for each element */
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* ================= SLIDER CONTROLS ================= */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    transition: all var(--transition-speed);
}

.slider-arrow:hover {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow { left: 40px; }
.next-arrow { right: 40px; }

/* Indicators (Dots) */
.hero-indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-speed);
}

.hero-dot.active {
    background-color: var(--accent-copper);
    transform: scale(1.4); /* Dot grows when active */
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .slide-title { font-size: 3.5rem; }
}

@media (max-width: 768px) {
    .slide-title { font-size: 2.5rem; }
    .slide-desc { font-size: 1rem; }
    .slider-arrow { display: none; } /* Hide arrows on small screens */
    .hero-btn-group { flex-direction: column; gap: 15px; }
}



/* ////////////////////// */


/* ================= OUR PRODUCTS SECTION ================= */
.products-section {
    padding: 100px 20px;
    background-color: #f8f9fa; /* Light grey to separate from About section */
}

.products-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Make the last few items center nicely if they don't fill a row */
.product-grid {
    justify-items: center;
}

/* ================= PRODUCT CARD STYLES ================= */
.product-card {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background-color: var(--bg-dark);
}

/* Background Image Placeholder classes */
.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    z-index: 1;
}

/* Add your actual product image URLs here */
.prod-bg-1 { background-image: url('images/titanium.jpg'); background-color: #555; }
.prod-bg-2 { background-image: url('images/hastelloy.jpg'); background-color: #444; }
.prod-bg-3 { background-image: url('images/inconel.jpg'); background-color: #333; }
.prod-bg-4 { background-image: url('images/stainless.jpg'); background-color: #666; }
.prod-bg-5 { background-image: url('images/copper.jpg'); background-color: #777; }

/* Gradient overlay so the title is always readable */
.product-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(33, 15, 5, 0.9) 0%, rgba(0,0,0,0) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

/* Initial Title State */
.card-content {
    position: absolute;
    bottom: 25px;
    left: 25px;
    z-index: 3;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.product-title {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0;
}

/* ================= HOVER OVERLAY (GRADES) ================= */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 15, 5, 0.95); /* Deep dark background */
    z-index: 4;
    padding: 40px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateY(100%); /* Hidden below the card initially */
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-overlay h4 {
    color: var(--accent-copper);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Badge Layout for Grades */
.grade-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(194, 95, 48, 0.5); /* Subtle copper border */
    color: var(--text-light);
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.3s ease;
}

.badge:hover {
    background-color: var(--accent-copper);
    border-color: var(--accent-copper);
}

/* ================= HOVER ANIMATION TRIGGERS ================= */
.product-card:hover .card-bg {
    transform: scale(1.1); /* Zoom image */
}

.product-card:hover .card-overlay {
    transform: translateY(0); /* Slide overlay up */
}

.product-card:hover .card-content {
    opacity: 0; /* Hide initial title */
    transform: translateY(-20px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .product-card {
        height: 350px;
    }
}


/* ================= MATERIAL SECTION (TECH-PANEL DESIGN) ================= */
.material-section {
    padding: 100px 20px;
    background-color: var(--bg-dark); /* Using the deep brown/black from your header */
    border-top: 1px solid rgba(255,255,255,0.05);
}

.material-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Adjustments for Dark Background */
.text-light {
    color: var(--text-light) !important;
}

.section-desc {
    color: var(--text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}

.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* ================= TECH PANEL STYLES ================= */
.material-panel {
    background-color: #1a0b04; /* Slightly darker than base bg for depth */
    border: 1px solid rgba(194, 95, 48, 0.15); /* Faint copper border */
    border-radius: 8px;
    padding: 35px 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

/* Glow and Lift Effect on Hover */
.material-panel:hover {
    transform: translateY(-8px);
    border-color: var(--accent-copper);
    box-shadow: 0 15px 30px rgba(194, 95, 48, 0.1);
}

/* Subtle background glow element */
.material-panel::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(194, 95, 48, 0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    transition: all 0.5s ease;
    opacity: 0;
}

.material-panel:hover::before {
    opacity: 1;
    transform: scale(2);
}

/* Panel Header */
.panel-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.panel-index {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.5;
    font-family: monospace; /* Gives an industrial serial-number vibe */
}

.panel-title {
    color: var(--text-light);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 0;
}

/* Panel Body & Grades */
.panel-body {
    flex-grow: 1;
    margin-bottom: 30px;
}

.grade-label {
    color: var(--accent-copper);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 600;
}

.grade-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.grade-pill {
    background-color: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.material-panel:hover .grade-pill {
    border-color: rgba(194, 95, 48, 0.4);
    color: var(--text-light);
}

.grade-pill:hover {
    background-color: var(--accent-copper) !important;
    border-color: var(--accent-copper) !important;
    color: var(--text-light) !important;
    transform: translateY(-2px);
}

/* Panel Footer Link */
.panel-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.panel-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.material-panel:hover .panel-link {
    color: var(--accent-copper);
}

.panel-link:hover i {
    transform: translateX(5px);
}


/* ================= PRODUCT FORMS SECTION (MARQUEE) ================= */
/* ================= PRODUCT FORMS SECTION (MARQUEE) ================= */
.forms-section {
    padding: 100px 0; 
    background-color: #ffffff; /* Changed to white */
    overflow: hidden;
}

.forms-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Marquee Wrapper with Edge Fading */
.marquee-wrapper {
    position: relative;
    width: 100vw;
    margin-left: 50%;
    transform: translateX(-50%);
    display: flex;
    overflow: hidden;
    padding: 30px 0; /* Slightly more padding for the new drop shadows */
    
    /* The masking works the same on white backgrounds! */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

/* ================= PRODUCT FORM CARDS ================= */
.form-card {
    position: relative;
    width: 320px;
    height: 420px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    flex-shrink: 0;
    /* Adjusted border for white background */
    border: 1px solid rgba(0, 0, 0, 0.08);
    background-color: var(--bg-dark);
    transform: scale(1);
    /* Added a subtle initial shadow to separate from white bg */
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

/* Hover Lift & Glow Effect (Adjusted for white bg) */
.form-card:hover {
    transform: scale(1.05) translateY(-10px);
    /* Changed to a darker shadow to ground the element on the white page */
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-copper);
    z-index: 10;
}

/* Image Backgrounds */
/* ================= UPDATED IMAGE STYLES ================= */
.form-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps the image aspect ratio intact while filling the box */
    object-position: center;
    transition: transform 0.6s ease;
    z-index: 1; /* Sits behind the overlay and text */
}

/* Retains the smooth zoom effect on hover */
.form-card:hover .form-img {
    transform: scale(1.15); 
}

/* You can now safely delete the old .form-bg-1, .form-bg-2, etc. classes from your CSS */
/* Add your background image paths here */
.form-bg-1 { background-image: url('images/tubes.jpg'); background-color: #2c1a12; }
.form-bg-2 { background-image: url('images/sheets.jpg'); background-color: #1f1f1f; }
.form-bg-3 { background-image: url('images/bars.jpg'); background-color: #332118; }
.form-bg-4 { background-image: url('images/wire.jpg'); background-color: #2c1a12; }
.form-bg-5 { background-image: url('images/flanges.jpg'); background-color: #1f1f1f; }
.form-bg-6 { background-image: url('images/fittings.jpg'); background-color: #332118; }

.form-card:hover .form-img {
    transform: scale(1.15); /* Slow zoom in on hover */
}

/* Gradient Overlay to make text pop */
.form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 6, 2, 0.95) 0%, rgba(15, 6, 2, 0.4) 40%, rgba(0,0,0,0) 100%);
    transition: background 0.4s ease;
}

.form-card:hover .form-overlay {
    background: linear-gradient(to top, rgba(194, 95, 48, 0.8) 0%, rgba(15, 6, 2, 0.2) 50%, rgba(0,0,0,0) 100%);
}

/* Product Name Typography */
.form-name {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.form-name h3 {
    color: var(--text-light);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0;
    letter-spacing: 1px;
}

.form-card:hover .form-name {
    transform: translateY(-10px);
}

/* ================= MARQUEE ANIMATION ================= */
@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    /* Moves the track exactly halfway (since we duplicate the items in JS) */
    100% { transform: translateX(-50%); } 
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .form-card {
        width: 260px;
        height: 340px;
    }
    .form-name h3 {
        font-size: 1.3rem;
    }
}





/* ================= GLOBAL REACH (TOGGLE DESIGN) ================= */
.reach-toggle-section {
    padding: 100px 20px;
    background-color: #110804; /* Extra dark background */
    border-top: 1px solid rgba(194, 95, 48, 0.2);
}

.reach-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Layout Grid */
.toggle-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 40px;
    background: #1a0b04;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* ================= LEFT: TOGGLE BUTTONS ================= */
.region-toggles {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-right: 1px solid rgba(255,255,255,0.05);
    padding-right: 30px;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    padding: 15px 20px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.toggle-icon {
    font-size: 1.2rem;
    opacity: 0.5;
    transition: all 0.3s ease;
}

/* Hover State */
.toggle-btn:hover {
    color: var(--text-light);
    background: rgba(255,255,255,0.03);
}

.toggle-btn:hover .toggle-icon {
    opacity: 1;
    color: var(--accent-copper);
}

/* Active State */
.toggle-btn.active {
    background: rgba(194, 95, 48, 0.1);
    color: var(--text-light);
    border-left: 4px solid var(--accent-copper);
}

.toggle-btn.active .toggle-icon {
    opacity: 1;
    color: var(--accent-copper);
}

/* ================= RIGHT: DISPLAY PANEL ================= */
.region-display {
    position: relative;
    overflow: hidden;
    min-height: 350px;
}

.display-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(30px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.display-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    position: relative; /* Allows panel to dictate height */
}

/* Decorative Watermark */
.watermark-text {
    position: absolute;
    top: -20px;
    right: 0;
    font-size: 12rem;
    font-weight: 900;
    color: rgba(255,255,255,0.02);
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

.display-title {
    color: var(--accent-copper);
    font-size: 2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.display-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

/* Dynamic Grid for Countries */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 15px;
    position: relative;
    z-index: 1;
}

.country-item {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text-light);
    padding: 12px 15px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: all 0.3s ease;
}

.country-item:hover {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(194, 95, 48, 0.2);
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .toggle-layout {
        grid-template-columns: 1fr;
        padding: 25px;
    }
    .region-toggles {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        padding-right: 0;
        padding-bottom: 25px;
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 columns for buttons on tablet */
    }
}

@media (max-width: 576px) {
    .region-toggles {
        grid-template-columns: 1fr; /* Stack buttons on mobile */
    }
    .watermark-text {
        font-size: 8rem;
    }
}


/* ================= INDUSTRIES WE SERVE ================= */
.industries-section {
    padding: 100px 20px;
    background-color: #ffffff; /* Clean white background */
}

.industries-container {
    max-width: 1200px;
    margin: 0 auto;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* Center the last few cards if they don't fill the row */
.industry-grid {
    justify-items: center;
}

/* ================= MORPHING CARDS ================= */
.industry-card {
    width: 100%;
    max-width: 400px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04); /* Very soft initial shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* Copper Top Accent Line */
.industry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: var(--accent-copper);
    border-radius: 0 0 4px 4px;
    transition: width 0.4s ease;
}

/* Hover States for Card Container */
.industry-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
    border-color: rgba(194, 95, 48, 0.2);
}

.industry-card:hover::before {
    width: 100%; /* Line expands across the top on hover */
}

/* Elements inside the card */
.icon-wrapper {
    font-size: 3.5rem;
    color: var(--bg-dark); /* Dark grey/brown */
    margin-bottom: 20px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.industry-name {
    font-size: 1.5rem;
    color: var(--bg-dark);
    margin: 0;
    font-weight: 700;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ================= THE DRAWER (HIDDEN BY DEFAULT) ================= */
.key-products-drawer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 0;
    text-align: left; /* Align products to left for readability */
}

.drawer-label {
    color: var(--accent-copper);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 5px;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.product-tags span {
    background-color: #f8f9fa; /* Light grey pill */
    color: #444;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid #eaeaea;
    transition: all 0.3s ease;
}

/* ================= THE MORPHING ACTION ON HOVER ================= */
.industry-card:hover .icon-wrapper {
    /* Icon shrinks, turns copper, and moves to top right */
    transform: scale(0.5) translate(120%, -100%);
    color: var(--accent-copper);
    margin-bottom: -15px;
    opacity: 0.3;
}

.industry-card:hover .industry-name {
    /* Title moves up and scales slightly */
    transform: translateY(-10px);
    text-align: left;
    color: var(--accent-copper);
}

.industry-card:hover .key-products-drawer {
    /* Drawer opens up */
    max-height: 300px;
    opacity: 1;
    margin-top: 15px;
}

.industry-card:hover .product-tags span:hover {
    background-color: var(--bg-dark);
    color: var(--text-light);
    border-color: var(--bg-dark);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .industry-grid {
        grid-template-columns: 1fr;
    }
    
    /* On mobile, it's better to show the content immediately since hover is tricky */
    .icon-wrapper {
        font-size: 2.5rem;
        text-align: left;
        margin-bottom: 10px;
    }
    .industry-name {
        text-align: left;
    }
    .key-products-drawer {
        max-height: 500px;
        opacity: 1;
        margin-top: 20px;
    }
    .industry-card {
        text-align: left;
    }
}


/* ================= FOOTER STYLES ================= */
.site-footer {
    background-color: var(--bg-dark); /* Deep dark brown/charcoal */
    color: var(--text-muted);
    padding-top: 80px;
    border-top: 4px solid var(--accent-copper);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr; /* Distributes column widths */
    gap: 50px;
    margin-bottom: 60px;
}

/* ================= COL 1: BRAND ================= */
.footer-logo-img {
    max-height: 111px; /* Keeps logo proportionate */
    margin-bottom: 20px;
    display: block;
}

.footer-about {
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    max-width: 350px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-speed);
}

.social-links a:hover {
    background-color: var(--accent-copper);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* ================= COL 2 & 3: HEADINGS ================= */
.footer-heading {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    letter-spacing: 1px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-copper);
}

/* ================= COL 2: QUICK LINKS ================= */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all var(--transition-speed);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--accent-copper);
    transition: transform var(--transition-speed);
}

.footer-links a:hover {
    color: var(--accent-copper);
}

.footer-links a:hover i {
    transform: translateX(5px); /* Arrow slides right on hover */
}

/* ================= COL 3: CONTACT INFO ================= */
.contact-info {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.contact-info i {
    color: var(--accent-copper);
    font-size: 1.2rem;
    margin-top: 3px;
}

.contact-info a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.contact-info a:hover {
    color: var(--accent-copper);
}

/* ================= BOTTOM BAR ================= */
.footer-bottom {
    background-color: #110804; /* Slightly darker than the main footer */
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
}

.bottom-links {
    display: flex;
    gap: 20px;
}

.bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.bottom-links a:hover {
    color: var(--accent-copper);
}

/* ================= MOBILE RESPONSIVENESS ================= */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns on tablets */
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* Stack vertically on phones */
        gap: 40px;
    }
    
    .bottom-content {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }
}



/* ================= HIGH-PERFORMANCE MATERIALS (LIGHT THEME) ================= */
.light-materials-section {
    padding: 100px 20px;
    background-color: #fcfcfc; /* Off-white, clean background */
}

.materials-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header Text Adjustments for Light Background */
.section-desc {
    color: #555555;
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px auto;
    font-size: 1.1rem;
}

.light-material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    justify-content: center;
}

/* ================= ELEVATED CARD STYLES ================= */
.light-material-card {
    background-color: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03); /* Very soft base shadow */
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

/* Copper Accent Bar (Hidden on bottom, expands on hover) */
.light-material-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background-color: var(--accent-copper);
    transition: width 0.4s ease;
}

/* Background Number Animation */
.bg-index {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: #f4f4f4; /* Subtle gray */
    z-index: -1;
    line-height: 1;
    transition: all 0.5s ease;
}

/* Card Hover Effects */
.light-material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(194, 95, 48, 0.08); /* Warm copper shadow */
    border-color: rgba(194, 95, 48, 0.2);
}

.light-material-card:hover::after {
    width: 100%; /* Copper bar sweeps across bottom */
}

.light-material-card:hover .bg-index {
    color: rgba(194, 95, 48, 0.05); /* Tints copper */
    transform: scale(1.05) translate(-10px, 10px);
}

/* Typography Inside Card */
.card-content-wrapper {
    margin-bottom: 30px;
}

.card-title {
    color: var(--bg-dark);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.grade-label {
    color: var(--accent-copper);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    font-weight: 700;
}

/* ================= GRADE PILLS (MODERN) ================= */
.grade-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.grade-pill {
    background-color: #f9f9f9;
    border: 1px solid #e5e5e5;
    color: #555555;
    padding: 8px 14px;
    border-radius: 6px; /* Slightly squarer modern look */
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: default;
}

/* Individual Pill Hover */
.grade-pill:hover {
    background-color: var(--accent-copper);
    border-color: var(--accent-copper);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(194, 95, 48, 0.2);
}

/* ================= LINK ================= */
.card-link {
    color: #888888;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    margin-top: auto;
}

.card-link i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.light-material-card:hover .card-link {
    color: var(--accent-copper);
}

.card-link:hover i {
    transform: translateX(6px);
}



/* //////////////////product page css///// */

/* =====================================================================
   PRODUCT PAGE STYLESHEET — Accent Steel Industries
   Extends assets/css/style.css — uses the same design tokens:
   --bg-dark: #210f05 | --accent-copper: #c25f30 | --accent-hover: #e0723d
   Load AFTER style.css on every product / material page.
   ===================================================================== */

/* ---------- Breadcrumb bar (sits directly under header) ---------- */
.breadcrumb-bar {
    background-color: #1a0b04;
    border-bottom: 1px solid rgba(194, 95, 48, 0.15);
    padding: 14px 20px;
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumb-inner a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.breadcrumb-inner a:hover { color: var(--accent-copper); }
.breadcrumb-inner i { font-size: 0.65rem; opacity: 0.6; }
.breadcrumb-current { color: var(--accent-copper); font-weight: 600; }

/* ---------- Product Hero Banner ---------- */
.product-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, rgba(33,15,5,0.94) 0%, rgba(33,15,5,0.75) 55%, rgba(33,15,5,0.55) 100%),
                url('../images/pipe.jpg') center/cover no-repeat;
    overflow: hidden;
}

.product-hero::after {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 45%;
    height: 100%;
    background: repeating-linear-gradient(
        115deg,
        rgba(194, 95, 48, 0.05) 0px,
        rgba(194, 95, 48, 0.05) 2px,
        transparent 2px,
        transparent 40px
    );
    pointer-events: none;
}

.product-hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    width: 100%;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-copper);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.hero-eyebrow::before {
    content: '';
    width: 30px;
    height: 2px;
    background: var(--accent-copper);
    display: inline-block;
}

.product-hero-title {
    color: var(--text-light);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 18px;
    max-width: 650px;
}

.product-hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.hero-quick-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.quick-tag {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(194, 95, 48, 0.3);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
}

.quick-tag i { color: var(--accent-copper); }

/* ---------- Page Layout: Sidebar + Content ---------- */
.page-layout-section {
    background-color: #f8f9fa;
    padding: 60px 20px 100px;
}

.page-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

/* ---------- Sidebar ---------- */
.product-sidebar {
    position: sticky;
    top: 100px;
    background-color: var(--bg-dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sidebar-block {
    padding: 26px 24px;
}

.sidebar-block + .sidebar-block {
    border-top: 1px solid rgba(255,255,255,0.06);
}

.sidebar-heading {
    color: var(--accent-copper);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.sidebar-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    padding: 10px 12px;
    border-radius: 6px;
    border-left: 3px solid transparent;
    transition: all var(--transition-speed);
}

.sidebar-list a i {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: all var(--transition-speed);
}

.sidebar-list a:hover {
    background: rgba(194, 95, 48, 0.08);
    color: var(--text-light);
    padding-left: 16px;
}

.sidebar-list a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-list a.active {
    background: rgba(194, 95, 48, 0.12);
    border-left-color: var(--accent-copper);
    color: var(--text-light);
    font-weight: 700;
}

.sidebar-list a.active i {
    opacity: 1;
    color: var(--accent-copper);
}

/* Sidebar CTA box */
.sidebar-cta {
    background: linear-gradient(160deg, var(--accent-copper), #8f4322);
    padding: 28px 24px;
    text-align: left;
}

.sidebar-cta h5 {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.sidebar-cta p {
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 18px;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-dark);
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all var(--transition-speed);
}

.sidebar-cta-btn:hover {
    background: #000;
    transform: translateX(3px);
}

/* ---------- Main Content Column ---------- */
.product-main {
    display: flex;
    flex-direction: column;
    gap: 70px;
}

.content-block-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.title-index {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-copper);
    background: rgba(194, 95, 48, 0.1);
    border: 1px solid rgba(194, 95, 48, 0.3);
    width: 34px;
    height: 34px;
    min-width: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.content-block-title h2 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--bg-dark);
}

.content-block-desc {
    color: #555;
    line-height: 1.75;
    font-size: 1rem;
    max-width: 800px;
    margin-bottom: 10px;
}

/* ---------- Overview Section: text + visual ---------- */
.overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.overview-highlight-box {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    border-left: 4px solid var(--accent-copper);
    padding: 24px;
}

.overview-highlight-box ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.overview-highlight-box li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.92rem;
    color: #444;
    line-height: 1.5;
}

.overview-highlight-box li i {
    color: var(--accent-copper);
    margin-top: 3px;
}

.overview-highlight-box strong { color: var(--bg-dark); }

/* ---------- Types Diagram Cards (Seamless vs Welded / Straight vs U-Bend) ---------- */
.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.type-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    padding: 30px 26px;
    transition: transform 0.4s cubic-bezier(0.165,0.84,0.44,1), box-shadow 0.4s ease;
    border-top: 3px solid transparent;
}

.type-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(194, 95, 48, 0.14);
    border-top-color: var(--accent-copper);
}

.type-diagram {
    width: 100%;
    height: 90px;
    margin-bottom: 20px;
}

.type-diagram svg { width: 100%; height: 100%; }

.type-card h4 {
    font-size: 1.1rem;
    color: var(--bg-dark);
    margin-bottom: 10px;
    font-weight: 700;
}

.type-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* ---------- Grades / Materials Available Table ---------- */
.grades-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.grade-row {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    overflow: hidden;
}

.grade-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    gap: 16px;
}

.grade-row-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.material-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent-copper);
    flex-shrink: 0;
}

.grade-row-header h4 {
    font-size: 1.05rem;
    color: var(--bg-dark);
    font-weight: 700;
}

.grade-row-header .std-code {
    font-family: monospace;
    font-size: 0.82rem;
    color: var(--accent-copper);
    background: rgba(194,95,48,0.08);
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

.grade-row-toggle {
    color: var(--accent-copper);
    transition: transform var(--transition-speed);
    flex-shrink: 0;
}

.grade-row.open .grade-row-toggle { transform: rotate(180deg); }

.grade-row-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.grade-row.open .grade-row-body {
    max-height: 300px;
}

.grade-row-body-inner {
    padding: 0 24px 22px;
    border-top: 1px solid #f0f0f0;
}

.grade-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.grade-pill-light {
    background: #f8f9fa;
    border: 1px solid #e5e5e5;
    color: #444;
    padding: 7px 14px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all var(--transition-speed);
}

.grade-pill-light:hover {
    background: var(--accent-copper);
    border-color: var(--accent-copper);
    color: #fff;
}

/* ---------- Specifications Table ---------- */
.spec-table-wrapper {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
    overflow: hidden;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table thead th {
    background: var(--bg-dark);
    color: var(--text-light);
    text-align: left;
    padding: 16px 22px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.spec-table tbody td {
    padding: 16px 22px;
    font-size: 0.92rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover { background: #fbf6f4; }

.spec-table td:first-child {
    font-weight: 700;
    color: var(--bg-dark);
    white-space: nowrap;
}

.spec-table .mono { font-family: monospace; color: var(--accent-copper); }

/* ---------- Applications Grid ---------- */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.app-chip {
    background: #fff;
    border-radius: 10px;
    padding: 22px 20px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: all 0.35s cubic-bezier(0.165,0.84,0.44,1);
    position: relative;
    overflow: hidden;
}

.app-chip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-copper);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s ease;
    z-index: 0;
    opacity: 0.94;
}

.app-chip:hover::before { transform: scaleY(1); }

.app-chip-icon, .app-chip span {
    position: relative;
    z-index: 1;
}

.app-chip-icon {
    display: block;
    font-size: 1.6rem;
    color: var(--accent-copper);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.app-chip:hover .app-chip-icon { color: #fff; }

.app-chip span {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--bg-dark);
    transition: color 0.3s ease;
}

.app-chip:hover span { color: #fff; }

/* ---------- Bottom CTA Banner ---------- */
.product-cta-banner {
    background: var(--bg-dark);
    border-radius: 16px;
    padding: 50px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    position: relative;
    overflow: hidden;
}

.product-cta-banner::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(194,95,48,0.35) 0%, transparent 70%);
}

.cta-banner-text h3 {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 8px;
    position: relative;
}

.cta-banner-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
}

.cta-banner-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    position: relative;
}

/* Reuse primary/secondary btn look but locally scoped in case not present */
.product-cta-banner .primary-btn,
.product-cta-banner .secondary-btn {
    padding: 13px 26px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all var(--transition-speed);
}

.product-cta-banner .primary-btn {
    background: var(--accent-copper);
    color: #fff;
}

.product-cta-banner .primary-btn:hover { background: var(--accent-hover); }

.product-cta-banner .secondary-btn {
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--text-light);
}

.product-cta-banner .secondary-btn:hover {
    border-color: var(--accent-copper);
    color: var(--accent-copper);
}

/* ---------- Mobile Sidebar Toggle (shown only on small screens) ---------- */
.mobile-sidebar-toggle {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 16px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
    cursor: pointer;
}

.mobile-sidebar-toggle i { color: var(--accent-copper); transition: transform 0.3s ease; }
.mobile-sidebar-toggle.open i { transform: rotate(180deg); }

/* ======================= RESPONSIVE ======================= */
@media (max-width: 992px) {
    .page-layout-container {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: static;
        display: none;
    }

    .product-sidebar.mobile-open { display: block; }

    .mobile-sidebar-toggle { display: flex; }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .product-hero-title { font-size: 2.3rem; }
}

@media (max-width: 768px) {
    .product-hero { min-height: 300px; }
    .product-hero-title { font-size: 1.9rem; }
    .product-hero-desc { font-size: 0.95rem; }

    .spec-table-wrapper { overflow-x: auto; }
    .spec-table { min-width: 560px; }

    .product-cta-banner {
        flex-direction: column;
        text-align: center;
        padding: 40px 24px;
    }

    .cta-banner-actions { justify-content: center; }
}

@media (max-width: 576px) {
    .breadcrumb-inner { font-size: 0.78rem; }
    .content-block-title h2 { font-size: 1.4rem; }
    .grade-row-header { flex-wrap: wrap; }
}



/* ---------- Surface Finish Showcase ---------- */
.finish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}
 
.finish-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
    transition: transform 0.4s cubic-bezier(0.165,0.84,0.44,1), box-shadow 0.4s ease;
}
 
.finish-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(194, 95, 48, 0.14);
}
 
.finish-swatch {
    height: 90px;
    position: relative;
}
 
.finish-swatch.finish-2b { background: linear-gradient(135deg, #d8d8d8, #f2f2f2 60%, #d8d8d8); }
.finish-swatch.finish-ba { background: linear-gradient(135deg, #e9e9e9, #ffffff 45%, #cfcfcf 55%, #e9e9e9); }
.finish-swatch.finish-no4 {
    background: repeating-linear-gradient(90deg, #dcdcdc, #dcdcdc 3px, #ececec 3px, #ececec 6px);
}
.finish-swatch.finish-no8 { background: linear-gradient(160deg, #f5f5f5, #cfcfcf 30%, #ffffff 55%, #d0d0d0 80%, #f5f5f5); }
 
.finish-body { padding: 18px 20px; }
 
.finish-body h4 {
    font-size: 1rem;
    color: var(--bg-dark);
    margin-bottom: 6px;
    font-weight: 700;
}
 
.finish-body p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.55;
}
 
/* ================= ABOUT US PAGE: GLOBAL NETWORK ================= */
.section-subtitle.center,
.section-title.center {
    text-align: center;
    display: block;
}

.network-section {
    padding: 100px 20px;
    background-color: var(--bg-dark);
    overflow: hidden;
}

.network-header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.network-header .section-title {
    color: var(--text-light);
}

.network-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(194, 95, 48, 0.15);
    border-radius: 12px;
    overflow: hidden;
}

/* Region Tab List */
.region-tabs {
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(194, 95, 48, 0.15);
}

.region-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 18px 22px;
    cursor: pointer;
    transition: background var(--transition-speed), color var(--transition-speed);
}

.region-tab i { color: var(--accent-copper); width: 18px; text-align: center; }

.region-tab:hover {
    background: rgba(194, 95, 48, 0.08);
    color: var(--text-light);
}

.region-tab.active {
    background: rgba(194, 95, 48, 0.12);
    color: var(--text-light);
    border-left: 3px solid var(--accent-copper);
    padding-left: 19px;
}

/* Region Panels */
.region-panel-wrapper {
    padding: 40px;
    position: relative;
}

.region-panel {
    display: none;
    animation: fadeInPanel 0.4s ease;
}

.region-panel.active { display: block; }

@keyframes fadeInPanel {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.region-panel-title {
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.region-panel-desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 480px;
}

.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.country-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(194, 95, 48, 0.25);
    color: var(--text-light);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 16px 12px;
    border-radius: 6px;
    transition: background var(--transition-speed), border-color var(--transition-speed);
}

.country-pill:hover {
    background: rgba(194, 95, 48, 0.12);
    border-color: var(--accent-copper);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .network-container {
        grid-template-columns: 1fr;
    }

    .region-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        border-right: none;
        border-bottom: 1px solid rgba(194, 95, 48, 0.15);
    }

    .region-tab {
        width: auto;
        flex: 1 1 auto;
        justify-content: center;
        padding: 14px 12px;
        font-size: 0.85rem;
        border-bottom: none;
    }

    .region-tab.active {
        border-left: none;
        border-bottom: 3px solid var(--accent-copper);
        padding-left: 12px;
    }

    .region-panel-wrapper {
        padding: 30px 20px;
    }

    .country-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .country-grid {
        grid-template-columns: 1fr;
    }
}

/* ================= ABOUT US PAGE: WHY CHOOSE US ================= */
.why-choose-section {
    padding: 100px 20px;
    background-color: #f8f9fa;
}

.why-choose-header {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
}

.usp-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.usp-card {
    background: #ffffff;
    padding: 35px 28px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.usp-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(194, 95, 48, 0.12);
}

.usp-icon {
    font-size: 2rem;
    color: var(--accent-copper);
    margin-bottom: 18px;
}

.usp-card h4 {
    color: var(--bg-dark);
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.usp-card p {
    color: #666;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .usp-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .usp-grid { grid-template-columns: 1fr; }
}

/* ================= ABOUT US PAGE: OUR JOURNEY ================= */
.journey-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.journey-header {
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.journey-track {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
}

.journey-track::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(90deg, rgba(194,95,48,0.3) 0, rgba(194,95,48,0.3) 8px, transparent 8px, transparent 16px);
    z-index: 0;
}

.journey-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.journey-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--bg-dark);
    color: var(--accent-copper);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px rgba(194, 95, 48, 0.3);
}

.journey-content h4 {
    color: var(--bg-dark);
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.journey-content p {
    color: #666;
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 220px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .journey-track {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .journey-track::before { display: none; }
    .journey-content p { max-width: 100%; }
}

/* ================= ABOUT US PAGE: CERTIFICATIONS & QUALITY ================= */
.cert-section {
    padding: 100px 20px;
    background-color: #f8f9fa;
}

.cert-header {
    max-width: 650px;
    margin: 0 auto 50px;
    text-align: center;
}

.cert-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 15px;
}

.cert-badge-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.cert-badge {
    background: #ffffff;
    text-align: center;
    padding: 35px 20px;
    border-radius: 10px;
    border: 1px solid #eee;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cert-badge:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(194, 95, 48, 0.12);
}

.cert-badge-icon {
    font-size: 2.2rem;
    color: var(--accent-copper);
    margin-bottom: 16px;
}

.cert-badge h4 {
    color: var(--bg-dark);
    font-size: 1rem;
    margin-bottom: 8px;
}

.cert-badge p {
    color: #666;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 992px) {
    .cert-badge-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .cert-badge-grid { grid-template-columns: 1fr; }
}

/* ================= QUALITY PAGE: OVERVIEW REDESIGN ================= */
.quality-overview-section {
    padding: 100px 20px;
    background-color: #ffffff;
}

.quality-overview-intro {
    max-width: 750px;
    margin: 0 auto 45px;
    text-align: center;
}

.quality-overview-desc {
    color: #555;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-top: 20px;
}

/* Metrics Bar */
.metrics-bar {
    max-width: 1100px;
    margin: 0 auto 60px;
    background: var(--bg-dark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 30px;
}

.metric-item {
    flex: 1;
    text-align: center;
}

.metric-icon {
    font-size: 1.8rem;
    color: var(--accent-copper);
    margin-bottom: 12px;
}

.metric-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 6px;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.metric-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.12);
}

/* Feature Cards Grid (3-up, reuses .mv-card) */
.quality-feature-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.quality-feature-grid .mv-card {
    flex-direction: column;
    text-align: left;
}

.quality-feature-grid .mv-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.quality-overview-cta {
    text-align: center;
    margin-top: 45px;
}

@media (max-width: 900px) {
    .metrics-bar {
        flex-wrap: wrap;
        gap: 25px;
    }
    .metric-item { flex: 1 1 40%; }
    .metric-divider { display: none; }
    .quality-feature-grid { grid-template-columns: 1fr; }
}

/* /////////////contact page////// */

/* ================= CONTACT PAGE ================= */
.contact-info-grid {
    grid-template-columns: repeat(4, 1fr);
}

.contact-info-grid .usp-card {
    text-align: center;
}

.contact-link {
    color: var(--accent-copper);
    text-decoration: none;
    font-weight: 600;
    word-break: break-word;
}

.contact-link:hover { text-decoration: underline; }

@media (max-width: 992px) {
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .contact-info-grid { grid-template-columns: 1fr; }
}

/* Map Section */
.map-section {
    padding: 100px 20px;
    background-color: #f8f9fa;
}

.map-header {
    max-width: 700px;
    margin: 0 auto 40px;
    text-align: center;
}

.map-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border: 1px solid #eee;
}

@media (max-width: 576px) {
    .map-wrapper { height: 320px; }
}