/* 
  Project: HONG KONG HONGZHUO TRADING LIMITED 
  Local Fonts Integration (Montserrat)
*/

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('/fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
    --graphite: #2C2E31;
    --trade-green: #1f9745;
    --silver-grey: #E5E7E9;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

/* Base Reset and Typography */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    font-family: 'Montserrat', sans-serif; /* Set Montserrat as primary */
    padding-top: 80px;
    background-color: var(--white);
    color: var(--graphite);
    overflow-x: hidden;
}

/* ... rest of your style.css code stays the same ... */


h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
}

/* Layout Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Main Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

/* Navigation */
.nav-list {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-link {
    text-decoration: none;
    color: var(--graphite);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: var(--trade-green);
}

/* Header Actions & Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.lang-switcher {
    font-weight: 700;
    font-size: 14px;
}

.lang-btn {
    text-decoration: none;
    color: var(--graphite);
    transition: var(--transition);
}

.lang-btn:hover, .lang-btn.active {
    color: var(--trade-green);
}

.divider {
    margin: 0 5px;
    color: #ccc;
}

.btn-primary {
    background-color: var(--trade-green);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #27ae60;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    transform: translateY(-1px);
}

.hero .btn-primary {
    padding: 14px 24px 10px;
}

/* Burger Menu Icon */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
}

.burger-menu span {
    width: 28px;
    height: 3px;
    background-color: var(--graphite);
    transition: var(--transition);
}

/* Active state for navigation links with underline */
.nav-link.active {
    color: var(--trade-green);
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px; /* Distance from text to line */
    left: 0;
    width: 100%; /* Line covers full width of the link */
    height: 2px; /* Line thickness */
    background-color: var(--trade-green);
    border-radius: 2px;
    animation: slideIn 0.3s ease; /* Smooth entrance animation */
}

/* Optional: simple animation for the underline */
@keyframes slideIn {
    from { transform: scaleX(0); opacity: 0; }
    to { transform: scaleX(1); opacity: 1; }
}



/* Footer Base */
footer { 
    background-color: var(--graphite); 
    color: var(--silver-grey); 
    padding: 60px 0; 
}

/* Responsive Tablet & Mobile */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        padding: 60px 20px;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 35px;
    }

    .nav-link {
        font-size: 18px;
    }

    .burger-menu {
        display: flex;
    }

    .burger-menu.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
    .burger-menu.active span:nth-child(2) { opacity: 0; }
    .burger-menu.active span:nth-child(3) {transform: translateY(-7px) rotate(-45deg);}
}


/* Hero Section - Optimized Layout */
.hero {
    padding: 120px 0 0 0;
    background-color: #ffffff;
    position: relative;
}

.hero-container {
    display: flex; /* Changed from grid to flex for better control */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 80px;
}

.hero-content {
    flex: 1;
    max-width: 650px;
}

/* Fluid Typography for H1 */
.hero-title {
    font-size: clamp(32px, 4vw, 54px); /* Dynamic size: min 32px, max 54px */
    font-weight: 700;
    line-height: 1.1;
    color: var(--graphite);
    margin-bottom: 30px;
    text-transform: uppercase;
}

.hero-subtitle {
    display: block;
    color: var(--trade-green);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.hero-description strong {
    color: var(--trade-green);
}

/* Fixing the list markers */
.hero-features {
    list-style: none !important; /* Force remove default bullets */
    padding: 0;
    margin: 0 0 40px 0;
}

.hero-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 15px;
}

.feature-icon {
    color: var(--trade-green);
    font-weight: bold;
    flex-shrink: 0;
}

/* Image Container Fix */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Buttons Area */
.hero-btns {
    display: flex;
    gap: 15px;
}

/* Trust Bar - Clean Row */
.hero-trust-bar {
    background-color: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    padding: 30px 0;
}

.trust-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* Force one line */
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-icon {
    color: var(--trade-green);
    display: flex;
    align-items: center;
}

.trust-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--graphite);
    white-space: nowrap;
}

/* Restoring the secondary button design */
.btn-secondary {
    display: inline-block;
    padding: 12px 28px;
    border: 2px solid var(--graphite);
    color: var(--graphite);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-secondary:hover {
    background-color: var(--graphite);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}


/* Responsive Overrides */
@media (max-width: 1100px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-image { order: -1; justify-content: center; }
    .hero-features li { justify-content: center; }
    .hero-btns { justify-content: center; }
    .trust-container { flex-wrap: wrap; justify-content: center; gap: 20px; }
}



/* Services Section - Soft Modern Style */

.services {
    padding: 100px 0;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--graphite);
    letter-spacing: 1px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.service-card {
    position: relative;
    background: #fff;
    padding: 0; /* Content padding is handled inside */
    border-radius: 12px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    /* Soft border-shadow instead of solid border */
    box-shadow: 0 4px 25px rgba(0,0,0,0.04);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

/* Floating Icon Styling */
.service-icon-wrapper {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--trade-green);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    z-index: 2;
}

.service-icon-wrapper svg {
    width: 35px;
    height: 35px;
}

.service-content {
    padding: 60px 25px 30px; /* Top padding leaves space for floating icon */
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--graphite);
    margin-bottom: 20px;
    min-height: 48px;
}

.service-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 30px;
    flex-grow: 1;
}

/* Rounded Soft Button */
.service-btn {
    background-color: var(--graphite);
    color: #fff;
    border: none;
    padding: 14px 0;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.service-btn:hover {
    background-color: var(--trade-green);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 30px; }
}

@media (max-width: 600px) {
    .services-grid { grid-template-columns: 1fr; gap: 60px 0; }
}



/* About Us Section - English comments only */

.about {
    background-color: #f2f7f9; /* Matches the background of your robot image */
    position: relative;
    padding: 100px 0 0 0; /* No bottom padding to let the image touch the floor */
    overflow: hidden;
    margin-bottom: 0;
}

.about-container {
    display: flex;
    align-items: flex-end; /* Aligns content and image to the bottom */
    gap: 50px;
}

.about-image-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.about-character {
    max-width: 220%; /* Slightly larger for better impact */
    height: auto;
    display: block;
    margin: 0 0 0 -70%;
}

.about-content {
    flex: 1.2;
    padding-bottom: 100px; /* Space from the bottom for text */
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 25px;
    font-size: 36px;
}

.about-description {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 40px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.about-feature-item {
    padding-left: 20px;
    border-left: 3px solid var(--trade-green);
}

.about-feature-item strong {
    display: block;
    font-size: 18px;
    color: var(--graphite);
    margin-bottom: 5px;
}

.about-feature-item p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Responsive for About Section */
@media (max-width: 1024px) {
    .about { padding-top: 60px; }
    .about-container { flex-direction: column; align-items: center; }
    .about-content { padding-bottom: 60px; text-align: center; }
    .about-content .section-title { text-align: center; }
    .about-feature-item { border-left: none; border-top: 3px solid var(--trade-green); padding-left: 0; padding-top: 15px; }
    .about-character { max-width: 80%; }
}


/* Supply Chain Section - English comments only */

.supply-chain {
    padding: 100px 0;
    background-color: #f9f8f8;
    position: relative;
}

.supply-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.supply-content {
    flex: 1.2;
}

.supply-content .section-title {
    text-align: left;
    margin-bottom: 15px;
    line-height: 1.2;
}

.supply-content .section-subtitle {
    font-weight: 700;
    color: var(--trade-green);
    margin-bottom: 30px;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.supply-description {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 35px;
}

.supply-list {
    list-style: none !important;
    margin-bottom: 35px;
    padding: 0;
}

.supply-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--graphite);
}

.check-icon {
    color: var(--trade-green);
    font-weight: bold;
    flex-shrink: 0;
    font-size: 18px;
}

.supply-list p strong {
    color: var(--graphite);
    display: block;
    margin-bottom: 2px;
}

.supply-footer-text {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.supply-image {
    flex: 0.8;
    display: flex;
    justify-content: center;
}

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

/* Responsive for Supply Chain */
@media (max-width: 1024px) {
    .supply-container { flex-direction: column; text-align: center; }
    .supply-content .section-title { text-align: center; }
    .supply-list li { text-align: left; }
    .supply-image { order: -1; margin-bottom: 40px; }
}

/* Product Groups Section - English comments only */

.categories {
    padding: 100px 0;
    background-color: #f4f7f9; /* Blue-grey background */
}

/* Tabs Navigation Styling */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 50px;
}

.tab-btn {
    padding: 12px 25px;
    border: 1px solid #e0e6ed;
    background: #fff;
    color: var(--graphite);
    font-weight: 700;
    font-size: 14px;
    border-radius: 30px; /* Rounded pill style from reference */
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    border-color: var(--trade-green);
    color: var(--trade-green);
}

.tab-btn.active {
    background-color: var(--trade-green);
    border-color: var(--trade-green);
    color: #fff;
}

/* Tab Content Visibility */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* Tab Content Layout */
.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    background: #fff;
    padding: 60px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.tab-title {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--graphite);
}

.tab-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 30px;
}

.tab-list {
    list-style: none;
    padding: 0;
}

.tab-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
}

.tab-list li span {
    color: var(--trade-green);
    font-weight: bold;
}

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

/* Responsive Tabs */
@media (max-width: 992px) {
    .tabs-nav { flex-wrap: wrap; }
    .tab-grid { grid-template-columns: 1fr; padding: 40px 25px; text-align: center; }
    .tab-list li { justify-content: center; }
    .tab-visual { order: -1; }
}


/* Partners Section - English comments only */

.partners {
    padding: 100px 0;
    background-color: #ffffffeb;
    border-top: 1px solid #f0f0f0;
    position: relative;
}

.partners:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: url('/prt-bg.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

/* Header Area with Motivation Text */
.partners-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px auto; /* Significant gap between text and grid */
}

.partners-header .section-title {
    margin-bottom: 35px; /* Spacing between H2 and Paragraph */
    font-size: 36px;
    color: var(--graphite);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partners-motivation {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
    padding: 0 20px;
}

/* Accent line before the motivation text */
.partners-motivation::before {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--trade-green);
    margin: 0 auto 25px auto;
}

/* Grid: No borders, logos only */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* 6 logos on Desktop */
    gap: 40px;
    align-items: center;
    justify-content: center;
}

.partner-item {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    transition: var(--transition);
}

.partner-item img {
    max-width: 140px;
    height: auto;
    opacity: 0.6;
    filter: grayscale(100%); /* Professional B2B look */
    transition: var(--transition);
}

.partner-item:hover img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Placeholder for the horizontal image at the bottom */
.partners::after {
    display: block;
    content: "";
    width: 100%;
    /* Defined by project head for custom bottom graphic */
}

/* Responsive Logic */
@media (max-width: 1100px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 per row on Tablets */
        gap: 30px;
    }
    
    .partners-header { margin-bottom: 60px; }
    .partners-motivation { font-size: 16px; }
}

@media (max-width: 600px) {
    .partners-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on Mobile */
        gap: 20px;
    }
    
    .partner-item img {
        max-width: 110px;
    }
    
    .partners-header .section-title { font-size: 28px; }
}



/* FAQ Section - English comments only */

.faq {
    padding: 120px 0;
    background-color: #fdfdfd;
    position: relative;
    overflow: hidden;
}

/* Floating Elements Background */
.faq-bg-element {
    position: absolute;
    z-index: 1;
    opacity: 0.05;
    pointer-events: none;
    border-radius: 20%;
}

.element-1 { width: 300px; height: 300px; background: var(--trade-green); top: -50px; right: -100px; animation: float 15s infinite alternate; }
.element-2 { width: 150px; height: 150px; background: var(--graphite); bottom: 100px; left: -50px; animation: float 10s infinite alternate-reverse; }
.element-3 { width: 80px; height: 80px; border: 15px solid var(--trade-green); top: 40%; left: 10%; animation: float 12s infinite linear; }

@keyframes float {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(30px, 50px) rotate(15deg); }
}

/* Accordion Styling */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.faq-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    padding: 22px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: var(--graphite);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: var(--trade-green);
    transition: var(--transition);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
    color: var(--graphite);
}

.faq-item.active {
    border-color: var(--trade-green);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
    background-color: #fafafa;
}

.faq-answer p {
    padding: 0 30px 25px;
    font-size: 15px;
    line-height: 1.7;
    color: #666;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Large enough for text */
    transition: max-height 0.4s ease-in-out;
}



/* Contacts Section - Same style as Product Groups */
.contacts {
    padding: 100px 0;
    background-color: #f4f7f9; /* Blue-grey background */
    position: relative;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: start;
}

/* Form Styling */
.b2b-form {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.b2b-form input, 
.b2b-form select, 
.b2b-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e0e6ed;
    border-radius: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.b2b-form input:focus, 
.b2b-form select:focus, 
.b2b-form textarea:focus {
    outline: none;
    border-color: var(--trade-green);
    box-shadow: 0 0 0 3px rgba(31, 151, 69, 0.1);
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 13px;
    color: #666;
}

.form-checkbox input { width: auto; cursor: pointer; }

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 16px;
}

/* Requisites Styling */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
    padding-top: 20px;
}

.info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.info-icon {
    color: var(--trade-green);
    flex-shrink: 0;
}

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

.info-text h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--graphite);
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.info-text p {
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

/* Responsive Contacts */
@media (max-width: 1024px) {
    .contacts-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .contact-info-list { order: 2; margin-top: 40px; }
}

/* Contacts Section Header spacing */
.contacts .section-subtitle {
    margin-top: 25px;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Form Checkbox spacing */
.form-checkbox-area {
    margin: 30px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.form-checkbox-area label a { color: var(--trade-green); text-decoration: underline; }

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.modal-overlay.active { display: flex; }

.modal-container {
    background: #fff;
    padding: 50px;
    max-width: 600px;
    border-radius: 12px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.modal-close {
    position: absolute; top: 15px; right: 20px;
    background: none; border: none; font-size: 32px; cursor: pointer;
}

/* Contact Form Fixes */
.form-row.single {
    grid-template-columns: 1fr; /* Full width for company address */
}

/* Checkbox Alignment Fix */
.form-checkbox-area {
    margin: 35px 0;
    display: flex;
    align-items: flex-start; /* Better alignment for long text */
    gap: 15px;
    cursor: pointer;
}

.form-checkbox-area input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--trade-green);
    cursor: pointer;
}

.form-checkbox-area label {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    cursor: pointer;
}

/* Modal Styling with Scroll */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(44, 46, 49, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2500;
    padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal-container {
    background: #fff;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 12px;
    position: relative;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.modal-scroll-area {
    padding: 50px;
    overflow-y: auto;
    max-height: 85vh;
}

.legal-content h4 {
    margin: 25px 0 10px;
    color: var(--graphite);
    font-size: 16px;
    text-transform: uppercase;
}

.legal-content p {
    font-size: 14px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 15px;
}

/* Center the notification icon */
.modal-container.notification {
    max-width: 450px;
    padding: 40px;
}




/* Main Footer Styles */
.main-footer {
    background-color: var(--graphite);
    color: #bdc3c7;
    padding: 80px 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1); /* Makes logo white for dark background */
    margin-bottom: 25px;
}

.footer-about {
    font-size: 14px;
    line-height: 1.8;
}

.footer-title {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--trade-green);
    padding-left: 5px;
}

.footer-info {
    font-size: 14px;
    line-height: 1.6;
}

/* Footer Bottom Bar */
.footer-bottom {
    background-color: #212326;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.bottom-links a {
    color: #bdc3c7;
    text-decoration: none;
    margin-left: 20px;
}

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

@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}


/* Styling for the Form inside Modal */
.modal-container.form-modal {
    max-width: 800px;
}

.modal-container.form-modal .b2b-form {
    padding: 0; /* Remove internal padding as modal has its own */
    box-shadow: none;
}

/* Ensure the success checkmark is large and green */
#success-modal .modal-content div {
    font-size: 64px;
    margin-bottom: 20px;
}



/* Modals Priority (Z-index Management) */

/* General overlay level */
.modal-overlay {
    z-index: 2000; /* Standard modal level */
}

/* Specific priority for Policy Modal */
#policy-modal {
    z-index: 3000; /* Higher than any other modal or header */
}

/* Ensure the Policy Modal container is above the Request form */
#policy-modal .modal-container {
    z-index: 3001;
}

/* Fixed Body Scroll Lock */
body.modal-open {
    overflow: hidden;
}


/* = mpx500
-------------------------------------------------------------- */
@media (max-width: 500px) {
.hero {
    padding: 70px 0 0 0;
}
.logo img {
    height: 55px;
}
.btn-primary {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 13px;
}
.main-header {
    height: 65px;
}
.burger-menu span {
    width: 25px;
    height: 2px;
}
.hero .btn-primary {
    padding: 14px 15px 10px;
}
.about-character {
    display: none;
}
.about {padding-top: 30px;}
.modal-scroll-area {
    padding: 42px 20px;
}
.section-title {
    font-size: 29px;
}
.about-content .section-title {
    font-size: 30px;
}
.section-header {
    margin-bottom: 70px;
}
.tab-btn {
    width: 250px;
}
.tab-title {
    font-size: 25px;
    margin-bottom: 15px;
}
.tab-grid {
    padding: 40px 20px;
}
.tab-list li {
    font-size: 14px;
}
.bottom-flex {
        flex-direction: column; /* Stack elements vertically */
        text-align: center;     /* Center text for better look */
        gap: 15px;              /* Space between copyright and links */
    }

    .bottom-links {
        margin-top: 5px;
    }

    .bottom-links a {
        margin: 0; /* Remove side margins for centered look */
        display: inline-block;
    }



}
