/* Global Custom Variables & Reset */
:root {
    /* Brand colors derived from logo */
    --brand-blue: #0b3b66; /* primary navy from logo */
    --brand-gold: #c99a1d; /* accent gold from logo */

    --primary-charcoal: var(--brand-blue);
    --eco-green: var(--brand-gold);
    --eco-green-dark: #b07f18;
    --safety-orange: var(--brand-gold);
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e2e8f0;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-fade {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slide {
    animation: slideInLeft 0.6s ease-out forwards;
}

/* Base Layout - Navigation */
header {
    background-color: var(--primary-charcoal);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    width: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 30px;
    height: 30px;
    border: 3px dashed var(--eco-green);
    border-radius: 50%;
    animation: spinSlow 12s linear infinite;
}

.logo-text {
    color: var(--white);
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-text span {
    color: var(--brand-gold);
}

.site-logo {
    height: 56px;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

/* Responsive header toggle */
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    width: 44px;
    height: 44px;
    position: relative;
    z-index: 1101;
    cursor: pointer;
    flex-shrink: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    background: var(--white);
    height: 2px;
    width: 22px;
    border-radius: 2px;
    position: absolute;
    left: 50%;
    margin-left: -11px;
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before,
.nav-toggle span::after { content: ''; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.open span::after { top: 0; transform: rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.5);
    z-index: 999;
}

@media (max-width: 900px) {
    .logo-text { font-size: 20px; }
    .site-logo { height: 46px; }
    .nav-toggle { display: block; }
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        margin: 0;
        background: var(--brand-blue);
        padding: 0;
        flex-direction: column;
        gap: 0;
        border-radius: 0;
        box-shadow: 0 16px 28px rgba(2, 6, 23, 0.28);
        z-index: 1100;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.28s ease, opacity 0.22s ease, visibility 0.22s ease;
    }
    .nav-links li { width: 100%; }
    .nav-links a {
        display: block;
        padding: 14px 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav-links a::after { display: none; }
    body.nav-open { overflow: hidden; }
    body.nav-open .nav-links {
        max-height: 420px;
        padding: 8px 0 12px;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    body.nav-open .nav-overlay { display: block; }
}

.nav-links a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    padding: 5px 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--eco-green);
    transition: var(--transition-smooth);
}

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

/* Common Hero Styles */
.internal-hero {
    background: linear-gradient(135deg, rgba(30, 34, 41, 0.95), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1532996122724-e3c354a0b15b?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 80px 20px;
}

.internal-hero h1 {
    font-size: 42px;
    margin-bottom: 10px;
    font-weight: 700;
}

.internal-hero p {
    color: var(--eco-green);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

/* Footer Section */
footer {
    background-color: var(--primary-charcoal);
    color: #cbd5e1;
    padding: 48px 20px 20px;
    margin-top: 60px;
    border-top: 4px solid var(--eco-green);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 32px;
    border-bottom: 1px solid #334155;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-brand h3 {
    margin-bottom: 0;
    padding-bottom: 0;
}

.footer-brand h3::after { display: none; }

.footer-logo {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
    font-size: 17px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 36px;
    height: 2px;
    background-color: var(--safety-orange);
}

.footer-col p, .footer-col ul {
    font-size: 14px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer-col ul li a:hover {
    color: var(--eco-green);
    padding-left: 4px;
}

.footer-contact li {
    color: #cbd5e1;
}

.footer-contact a {
    color: var(--brand-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 18px;
    font-size: 13px;
    color: #94a3b8;
}

@media (max-width: 900px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Home Page Custom Styles */
.hero-home {
    background: linear-gradient(rgba(30, 34, 41, 0.85), rgba(30, 34, 41, 0.85)), url('https://images.unsplash.com/photo-1605810230434-7631ac76ec81?auto=format&fit=crop&w=1920&q=80') no-repeat center center/cover;
    padding: 140px 20px;
    color: var(--white);
    text-align: center;
}

.hero-home h1 {
    font-size: 54px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-home h1 span {
    color: var(--eco-green);
}

.hero-home p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 35px;
    color: #e2e8f0;
}

.btn-primary {
    display: inline-block;
    background-color: var(--safety-orange);
    color: var(--white);
    padding: 14px 30px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #d35400;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.4);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--white);
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    border: 2px solid var(--white);
    margin-left: 15px;
    transition: var(--transition-smooth);
}

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

/* Metrics Section */
.metrics-row {
    background-color: var(--light-bg);
    padding: 60px 20px;
}

.metrics-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    text-align: center;
}

.metric-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--eco-green);
    transition: var(--transition-smooth);
}

.metric-card:hover {
    transform: translateY(-5px);
}

.metric-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-charcoal);
    margin-bottom: 5px;
}

.metric-label {
    color: var(--text-light);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Feature Container */
.section-container {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 4px;
    background-color: var(--eco-green);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 50px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.feature-img {
    width: 100%;
    height: 160px; /* reduced for clearer visible area */
    object-fit: cover;
}

.feature-info {
    padding: 25px;
}

.feature-info h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-info p {
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 15px;
}

/* Table Style */
.table-responsive {
    overflow-x: auto;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border-radius: 8px;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    text-align: left;
}

.custom-table th {
    background-color: var(--primary-charcoal);
    color: var(--white);
    padding: 15px 20px;
    font-weight: 600;
}

.custom-table td {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
}

.custom-table tr:nth-child(even) {
    background-color: var(--light-bg);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-ferrous { background-color: #e2e8f0; color: #475569; }
.badge-precious { background-color: #fef3c7; color: #b45309; }
.badge-ewaste { background-color: #dbeafe; color: #1d4ed8; }
.badge-polymer { background-color: #dcfce7; color: #15803d; }

/* Contact Form Grid Layout */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; }
    .hero-home h1 { font-size: 36px; }
}

/* Map embed styling used on contact page */
.map-embed { grid-column: 1 / -1; margin-bottom: 20px; }
.map-embed iframe { width: 100%; height: 480px; border: 0; border-radius: 8px; }

@media (max-width: 768px) {
    .map-embed iframe { height: 320px; }
}

.reviews-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 28px;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
    align-items: start;
    background: linear-gradient(180deg, rgba(250,250,252,0.8), rgba(245,247,250,0.6));
    border: 1px solid var(--border-color);
    border-radius: 8px;
}
.reviews-embed iframe { width: 100%; height: 320px; border: 0; border-radius: 8px; }
.reviews-embed { grid-column: span 6; }
.reviews-card { background: var(--white); padding: 18px; border-radius: 8px; box-shadow: 0 8px 24px rgba(11,59,102,0.04); grid-column: span 6; }
.reviews-card h3 { margin-bottom: 12px; font-size: 20px; }
.reviews-card p { color: var(--text-light); margin-bottom: 14px; }
.review-cta .btn-primary { width: 100%; display: block; text-align: center; }

/* Review carousel styles */
.review-carousel { position: relative; min-height: 120px; }

/* Horizontal review strip */
.review-strip { display:flex; gap:14px; overflow-x:auto; padding-bottom:6px; -webkit-overflow-scrolling:touch; }
.review-strip::-webkit-scrollbar { height: 8px; }
.review-strip::-webkit-scrollbar-thumb { background: linear-gradient(90deg, var(--brand-gold), var(--eco-green)); border-radius: 8px; }
.review-card { flex: 0 0 300px; background: var(--white); border: 1px solid var(--border-color); border-radius: 8px; padding:12px; box-shadow: 0 6px 18px rgba(11,59,102,0.04); scroll-snap-align: start; }
.review-stars { font-size: 16px; color: var(--text-light); }
.review-stars .star { color: var(--brand-gold); margin-right: 2px; font-size: 18px; }
.review-stars .star.empty { color: var(--border-color); opacity: 0.5; }

/* Highlight average score */
.avg-score .score { color: var(--primary-charcoal); font-size: 26px; }
.avg-score svg { border-radius: 6px; box-shadow: 0 6px 18px rgba(11,59,102,0.08); }

@media (max-width: 480px) {
    .review-carousel { min-height: 160px; }
    .avg-score .score { font-size: 20px; }
}

@media (max-width: 900px) {
    .reviews-section { grid-template-columns: 1fr; }
    .reviews-embed, .reviews-card { grid-column: 1 / -1; }
    .reviews-embed iframe { height: 260px; }
}

.info-sidebar {
    background-color: var(--primary-charcoal);
    color: var(--white);
    padding: 40px;
    border-radius: 8px;
}

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

.info-item h4 {
    color: var(--eco-green);
    font-size: 18px;
    margin-bottom: 5px;
}

.valuation-form {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
    border-top: 4px solid var(--safety-orange);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    background-color: var(--white);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--eco-green);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

/* NEW GALLERY PAGE STYLE CORE */
.gallery-filter-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background-color: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition-smooth);
    color: var(--text-dark);
}

.filter-btn:hover, .filter-btn.active {
    background-color: var(--eco-green);
    color: var(--white);
    border-color: var(--eco-green);
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Materials grid on scrap-types page */
.material-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.material-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 6px 18px rgba(11,59,102,0.04);
}
.material-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(11,59,102,0.08); }
.material-img { width: 100%; height: 180px; object-fit: cover; display:block; }
.material-info { padding: 18px; }
.material-info h3 { margin-bottom: 8px; font-size: 18px; }
.material-info p { color: var(--text-light); font-size: 14px; }

/* Centered full-row button for 'Add More' within material-grid */
.material-more {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 0 0;
}
.material-more .btn-primary { padding: 12px 28px; font-size: 16px; }

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    height: 280px;
    transition: var(--transition-smooth);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30,34,41,0.95) 10%, rgba(30,34,41,0.4) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-overlay h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 5px;
    transform: translateY(15px);
    transition: transform 0.4s ease;
}

.gallery-overlay p {
    color: var(--eco-green);
    font-size: 14px;
    font-weight: 500;
    transform: translateY(15px);
    transition: transform 0.4s ease 0.05s;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

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

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
}

/* Slogan strip (rotating short messages) */
.slogan-strip {
    background: linear-gradient(90deg, rgba(11,59,102,0.95), rgba(11,59,102,0.85));
    color: var(--white);
    padding: 18px 20px;
    text-align: center;
}
.slogan-carousel {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    height: 36px;
}
.slogan-item {
    position: absolute;
    left: 0;
    right: 0;
    opacity: 0;
    font-weight: 700;
    color: var(--white);
    animation: sloganFade 15s infinite;
    font-size: 16px;
}
.slogan-item:nth-child(1) { animation-delay: 0s; }
.slogan-item:nth-child(2) { animation-delay: 3s; }
.slogan-item:nth-child(3) { animation-delay: 6s; }
.slogan-item:nth-child(4) { animation-delay: 9s; }
.slogan-item:nth-child(5) { animation-delay: 12s; }

@keyframes sloganFade {
    0% { opacity: 0; transform: translateY(6px); }
    5% { opacity: 1; transform: translateY(0); }
    20% { opacity: 1; transform: translateY(0); }
    25% { opacity: 0; transform: translateY(-6px); }
    100% { opacity: 0; }
}

/* Hero carousel styles */
.hero-carousel {
    position: relative;
    overflow: hidden;
}
.carousel-wrapper {
    position: relative;
    height: 560px;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.slide-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    background: linear-gradient(180deg, rgba(11,59,102,0.25), rgba(11,59,102,0.55));
    padding: 40px 20px;
}
.slide-overlay h1 { font-size: 44px; margin-bottom: 12px; color: var(--white); font-weight:700; }
.slide-overlay h1 span { color: var(--brand-gold); }
.slide-overlay h2 { font-size: 44px; margin-bottom: 8px; font-weight:700; color: var(--white); }
/* Make subtitle in hero slides larger and responsive */
.slide-overlay p {
    font-size: 22px;
    color: #e2e8f0;
    max-width: 900px;
    margin: 12px auto 18px;
    font-weight: 600;
}
.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display:flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 5;
}
.carousel-controls button {
    pointer-events: auto;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--white);
    font-size: 32px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    margin: 0 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(3,7,18,0.45);
}

.carousel-controls button:hover {
    background: rgba(0,0,0,0.72);
    transform: scale(1.03);
}

@media (max-width: 768px) {
    .carousel-wrapper { height: 360px; }
    .slide-overlay h1 { font-size: 28px; }
    .slide-overlay h2 { font-size: 18px; }
    .slide-overlay p { font-size: 16px; }
}

/* About page styles */
.about-hero { padding: 60px 20px; background-position: center; background-size: cover; }
.about-hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.about-hero-text h1 { font-size: 40px; color: var(--white); margin-bottom: 12px; }
.about-hero-text p { color: rgba(255,255,255,0.9); max-width: 640px; margin-bottom: 18px; }
.about-hero-media img { width: 100%; border-radius: 8px; box-shadow: 0 12px 30px rgba(2,6,23,0.35); }

/* Contact improvements */
.contact-single { background: var(--white); padding: 22px; border-radius: 8px; box-shadow: 0 8px 30px rgba(11,59,102,0.06); }
.contact-single h3 { color: var(--primary-charcoal); }
.contact-actions { display:flex; gap:12px; margin-top:12px; }
.contact-actions a { display:inline-block; padding:10px 14px; border-radius:6px; text-decoration:none; color:var(--white); background:var(--safety-orange); font-weight:700; }

/* Subtle animated gradient for header */
.navbar { background: linear-gradient(90deg, var(--primary-charcoal), rgba(11,59,102,0.92)); background-size: 200% 200%; animation: headerShift 8s ease-in-out infinite; }
@keyframes headerShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }

/* Card micro-interactions for business feel */
.material-card, .feature-card { transition: transform 0.35s cubic-bezier(.2,.9,.2,1), box-shadow 0.35s; }
.material-card:hover, .feature-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: 0 22px 44px rgba(11,59,102,0.08); }

.about-grid { max-width: 1100px; margin: 50px auto; padding: 0 20px; }
.about-main h2 { font-size: 30px; margin-bottom: 12px; }
.about-main p { color: var(--text-dark); margin-bottom: 14px; }
.buy-list ul { list-style: disc; margin-left: 20px; color: var(--text-light); }

.feature-cards { display: flex; gap: 18px; margin-top: 20px; flex-wrap: wrap; }
.feature-card { background: var(--white); border: 1px solid var(--border-color); padding: 18px; border-radius: 8px; flex: 1; min-width: 200px; box-shadow: 0 6px 18px rgba(0,0,0,0.04); }
.feature-icon { font-size: 28px; margin-bottom: 8px; }
.feature-card h4 { margin-bottom: 8px; }

@media (max-width: 900px) {
    .about-hero-inner { grid-template-columns: 1fr; }
    .feature-cards { flex-direction: column; }
}

/* Mobile tweak: show two scrap-type cards per row on narrow screens */
@media (max-width: 480px) {
    .material-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 12px; }
    .material-img { height: 140px; }
    .material-info { padding: 12px; }
    .material-more { grid-column: 1 / -1; }
}
