/* ------------------------------------------- */
/* --- K. JAMSON GROUP CORPORATE STYLING --- */
/* ------------------------------------------- */

/* 1. Global Variables & Base Reset */
:root {
    --primary-color: #003366; /* Deep Navy Blue (Corporate) */
    --secondary-color: #FFA500; /* Gold/Amber (Accent) */
    --text-color: #333;
    --background-light: #f7f7f7;
    --font-stack: 'Montserrat', sans-serif;
}

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

body {
    font-family: var(--font-stack);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

h1, h2, h3, h4 {
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
}

main {
    padding-top: 0; /* Header is sticky */
}

/* ------------------------------------------- */
/* 2. Buttons & CTAs */
/* ------------------------------------------- */

.btn {
    display: inline-block;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, opacity 0.3s;
    text-align: center;
}

.primary-btn {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    border: 2px solid var(--secondary-color);
}

.primary-btn:hover {
    background-color: #ffb833;
    opacity: 0.95;
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color);
}

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

/* ------------------------------------------- */
/* 3. Header & Navigation (Dark Header Update) */
/* ------------------------------------------- */

header {
    background-color: var(--primary-color); /* Deep Navy Blue Background */
    padding: 15px 0;
    border-bottom: none; 
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-logo {
    height: 70px;
    width: auto;
    max-width: 350px;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li a {
    color: white; /* Text is now white for visibility */
    text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: color 0.3s;
    font-weight: 600;
}

nav ul li a:hover,
nav ul li .active-nav {
    color: var(--secondary-color); /* Hover color is Gold/Amber */
}

.cta-nav a {
    background-color: var(--secondary-color); /* CTA button background is Gold/Amber */
    color: var(--primary-color) !important; /* CTA text is Navy Blue */
    border-radius: 5px;
    padding: 8px 15px;
    margin-left: 15px;
    border: none;
}

.cta-nav a:hover {
    background-color: #ffb833;
}

/* ------------------------------------------- */
/* 4. Footer */
/* ------------------------------------------- */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 30px 0;
    font-size: 0.9em;
    text-align: center;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* ------------------------------------------- */
/* 5. HOME PAGE SECTIONS */
/* ------------------------------------------- */

/* Hero Section */
.hero {
    background-color: #fff;
    padding: 80px 0;
    min-height: 500px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-text h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.hero-ctas a {
    margin-right: 15px;
}

.hero-image {
    flex: 1;
    min-height: 300px;
}

/* LP Teasers Grid */
.lp-teasers {
    padding: 60px 0;
    background-color: var(--background-light);
    text-align: center;
}

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

.lp-card {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

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

.lp-card i {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.lp-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.card-btn {
    margin-top: 15px;
    background-color: var(--primary-color);
    color: white !important;
}

.card-btn:hover {
    background-color: #004488;
}

/* Brand Logos (Social Proof) */
.brand-logos {
    padding: 40px 0;
}

.brand-logos p {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 25px;
}

.logo-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.logo-row img {
    max-height: 60px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.logo-row img:hover {
    opacity: 1;
}

/* Testimonial Slider */
.testimonials-slider {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
}

.testimonials-slider h2 {
    color: white;
}

.slider-wrapper {
    display: flex;
    overflow-x: scroll; /* Enables JS scrolling */
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-top: 30px;
    padding-bottom: 20px;
}

.testimonial-card {
    flex: 0 0 100%; /* Takes full width of the wrapper at all times */
    scroll-snap-align: start;
    background-color: white;
    color: var(--text-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin-right: 20px;
    min-height: 250px;
}

.testimonial-card .rating {
    color: var(--secondary-color);
    font-size: 1.2em;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.client-info {
    font-weight: 600;
    color: var(--primary-color);
}

/* Parallax Section */
.parallax-section {
    position: relative;
    padding: 100px 0;
    background-attachment: fixed; /* Key for true parallax effect */
    background-position: center 0;
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
}

.anniversary-teaser {
    background-color: rgba(0, 51, 102, 0.85); /* Semi-transparent dark overlay */
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.anniversary-teaser h3 {
    color: white;
    font-size: 2em;
    margin-bottom: 15px;
}

.anniversary-teaser p {
    font-size: 1.1em;
    margin-bottom: 25px;
}

/* ------------------------------------------- */
/* 6. ABOUT PAGE SECTIONS */
/* ------------------------------------------- */

.page-hero-small {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 0 40px;
    text-align: center;
}

.page-hero-small h2 {
    color: white;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.page-hero-small p {
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.history-section {
    padding: 60px 0;
    background-color: #fff;
}

.history-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

/* Timeline Layout */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--primary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 10px 10px;
    position: relative;
    width: 30%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 25px;
    right: -13px;
    background-color: white;
    border: 4px solid var(--secondary-color);
    top: 5px;
    border-radius: 50%;
    z-index: 1;
}

.left-item {
    left: 20%;
}

.right-item {
    left: 50%;
}

.right-item::after {
    left: -12px;
}

.timeline-content {
    padding: 10px 10px;
    background-color: var(--background-light);
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.timeline-content h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* Anniversary Video */
.video-section {
    padding: 60px 0;
    background-color: var(--background-light);
    text-align: center;
}

.video-placeholder {
    width: 100%;
    max-width: 800px;
    height: 450px;
    background-color: #000;
    margin: 30px auto;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    color: #666;
}

/* Gallery Section */
.gallery-section {
    padding: 60px 0;
    text-align: center;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    height: 200px;
    background-color: var(--background-light);
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* ------------------------------------------- */
/* 7. BRANDS PAGE SECTIONS */
/* ------------------------------------------- */

/* Brands Hero */
.brands-hero {
    background-color: var(--primary-color);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.brands-hero h2 {
    color: white;
    font-size: 3em;
    max-width: 900px;
    margin: 0 auto 20px;
}

.brands-hero p {
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

/* Brand Value Proposition */
.brand-value {
    padding: 50px 0;
    background-color: #fff;
    border-bottom: 1px solid var(--background-light);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.value-item i {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.value-item h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Featured Brand Sections */
.featured-brand {
    padding: 80px 0;
}

.samsonite-brand {
    background-color: var(--background-light);
}

.pacsafe-brand {
    background-color: #fff;
}

.brand-split {
    display: flex;
    align-items: center;
    gap: 60px;
}

.brand-split.reverse {
    flex-direction: row-reverse;
}

.brand-details {
    flex: 1;
}

.brand-details ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0 30px;
}

.brand-details li {
    padding: 8px 0;
    font-size: 1.1em;
}

.brand-details .fa-check-circle {
    color: #4CAF50; 
    margin-right: 10px;
}

.brand-image {
    flex: 1;
    min-height: 350px;
    background-color: #ccc;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.brand-logo-large {
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
}

/* Other Brands Grid */
.other-brands {
    padding: 60px 0;
    text-align: center;
    background-color: var(--background-light);
}

.other-brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.other-brand-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.other-brand-item img {
    max-height: 40px;
    margin-bottom: 15px;
}

.cta-small {
    font-size: 1.1em;
    color: var(--text-color);
}

.cta-small a {
    color: var(--primary-color);
    font-weight: 600;
}


/* ------------------------------------------- */
/* 8. LANDING PAGES (LP) STYLES (Reused by 3 LPs) */
/* ------------------------------------------- */

.landing-page-body {
    background-color: var(--background-light); 
}

.lp-header {
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    padding: 20px 0;
    border-bottom: none; 
}

.lp-header .logo-text {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 5px;
}

.lp-header p {
    opacity: 0.8;
    margin: 0;
}

.lp-main {
    padding-top: 0;
}

/* LP Hero Split Section */
.lp-hero {
    padding: 60px 0;
}

.lp-hero-split {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.lp-pitch {
    flex: 1;
    padding-top: 20px;
}

.lp-pitch h2 {
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 20px;
}

.lp-pitch p {
    font-size: 1.1em;
    margin-bottom: 30px;
}

/* Form Container */
.lp-form-container {
    flex-basis: 400px; 
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 51, 102, 0.15);
    order: 2; 
}

.lp-form-container h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.lead-form input, 
.lead-form select,
.lead-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-stack);
    font-size: 1em;
}

.lead-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

.lp-form-container small {
    display: block;
    text-align: center;
    margin-top: 10px;
    color: #666;
}

/* Features/Benefits */
.lp-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.feature-item i {
    font-size: 2em;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.feature-item h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

/* Featured Products Section */
.lp-featured-products {
    padding: 40px 0;
    text-align: center;
    background-color: #fff;
}

.product-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.product-card {
    padding: 20px;
    border: 1px solid var(--background-light);
    border-radius: 6px;
}

.card-image {
    height: 300px;
    background-color: var(--background-light);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    color: #999;
}

/* CTA & Social Proof */
.lp-cta-proof {
    padding: 40px 0;
    text-align: center;
}

.cta-banner {
    background-color: var(--primary-color);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.cta-banner h3 {
    color: white;
    margin-bottom: 15px;
}

.client-logos {
    font-style: italic;
    color: #666;
}

/* Footer for LP (slight style difference) */
.lp-footer {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    background-color: #fff;
    font-size: 0.9em;
    color: #666;
}

.lp-footer a {
    color: var(--primary-color);
    text-decoration: none;
}


/* ------------------------------------------- */
/* 9. CONTACT.HTML & PRIVACY.HTML STYLES */
/* ------------------------------------------- */

/* Contact Content Layout */
.contact-content {
    padding: 60px 0;
    background-color: var(--background-light);
}

.contact-split {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.contact-form-container {
    flex: 2; 
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.contact-details {
    flex: 1;
    padding: 30px 0;
}

.contact-form-container h3,
.contact-details h3 {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

/* Form Styling (reusing input styles) */
.contact-form input, 
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: var(--font-stack);
    font-size: 1em;
}

.contact-form button {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
}

/* Contact Detail Items */
.detail-item {
    margin-bottom: 30px;
}

.detail-item i {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-right: 15px;
}

.detail-item h4 {
    display: inline-block;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.detail-item p {
    margin-left: 35px; 
}

.detail-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.map-placeholder {
    height: 150px;
    background-color: #e0e0e0;
    margin-top: 20px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-style: italic;
}

/* Privacy Policy Content */
.policy-content {
    padding: 60px 0;
    background-color: #fff;
}

.policy-content h3 {
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 4px solid var(--secondary-color);
    padding-left: 15px;
}

.policy-content p, .policy-content ul {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 20px;
}

.policy-content ul {
    padding-left: 40px;
}

.policy-content li {
    margin-bottom: 8px;
}

.last-updated {
    font-size: 0.9em;
    color: #888;
    text-align: right;
}

.contact-box {
    border: 1px solid var(--background-light);
    padding: 20px;
    border-radius: 4px;
    background-color: var(--background-light);
}


/* ------------------------------------------- */
/* 10. STATUS PAGES (Thank You and Error) STYLES */
/* ------------------------------------------- */

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

.status-page {
    padding: 80px 0;
    text-align: center;
    min-height: 50vh;
}

.status-page h2 {
    font-size: 2.8em;
    margin-top: 10px;
}

.status-message {
    font-size: 1.2em;
    margin-bottom: 40px;
}

.success-icon {
    font-size: 5em;
    color: #4CAF50; /* Success Green */
    margin-bottom: 20px;
}

.error-icon {
    font-size: 5em;
    color: #FF5722; /* Error Orange */
    margin-bottom: 20px;
}

.next-steps-card {
    max-width: 600px;
    margin: 30px auto 50px;
    padding: 30px;
    background-color: var(--background-light);
    border-radius: 8px;
    text-align: left;
}

.next-steps-card h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.next-steps-card ul {
    list-style: none;
    padding-left: 0;
}

.next-steps-card li {
    padding: 10px 0;
    border-bottom: 1px dotted #ccc;
    color: var(--text-color);
    font-size: 1.1em;
}

.next-steps-card li:last-child {
    border-bottom: none;
}

.next-steps-card i {
    color: var(--secondary-color);
    margin-right: 15px;
}

.large-btn {
    margin: 0 10px;
    min-width: 200px;
}


/* ------------------------------------------- */
/* 11. RESPONSIVENESS & SCROLL ANIMATION */
/* ------------------------------------------- */

/* FADE-IN ANIMATION (Paired with script.js) */
.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Tablet and Mobile adjustments */
@media (max-width: 900px) {
    /* General Layout */
    .hero-content {
        flex-direction: column;
    }
    .hero-image {
        min-height: 300px;
        width: 100%;
        order: -1; /* Image goes on top */
    }
    .hero-text h1 {
        font-size: 2.5em;
    }
    .hero-ctas {
        text-align: center;
    }
    .hero-ctas a {
        display: block;
        margin: 10px auto;
    }

    /* Landing Pages (LP) */
    .lp-hero-split {
        flex-direction: column;
        align-items: center;
    }
    .lp-form-container {
        order: 1; /* Form goes to the top on mobile/tablet */
        flex-basis: auto;
        width: 100%;
    }
    .lp-pitch {
        order: 2;
        padding-top: 40px;
    }
    .lp-features {
        grid-template-columns: 1fr;
    }
    .product-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    /* Brands Page */
    .brand-split, .brand-split.reverse {
        flex-direction: column;
    }
    .brand-image {
        order: 1;
        margin-bottom: 30px;
    }
    .brand-details {
        order: 2;
    }
    .value-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .other-brands-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Page */
    .contact-split {
        flex-direction: column;
        gap: 30px;
    }
    .contact-form-container {
        order: 1;
    }
    .contact-details {
        order: 2;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    /* Header & Navigation */
    header .container {
        flex-direction: column;
    }
    nav ul {
        margin-top: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li a {
        padding: 5px 10px;
    }
    .cta-nav a {
        margin-left: 0;
        margin-top: 10px;
    }

    /* Home Page */
    .teaser-grid {
        grid-template-columns: 1fr;
    }
    .logo-row {
        flex-wrap: wrap;
    }
    .logo-row img {
        margin: 10px;
        max-height: 45px;
    }
    
    /* About Page */
    .timeline::after {
        left: 31px; /* Move central line to the left */
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 0 10px 10px;
        border-color: transparent transparent transparent white;
    }
    .left-item::after, .right-item::after {
        left: 18px; /* Center circle on the line */
    }
    .right-item {
        left: 0%;
    }
    .video-placeholder {
        height: 250px;
    }

    /* Footer */
    footer .container {
        flex-direction: column;
    }
    .footer-links {
        margin-top: 10px;
    }
    .large-btn {
        min-width: 100%;
    }
}

/* --- Dynamic Product Filters Styling --- */

.product-filters {
    display: flex; /* Arrange buttons in a row */
    flex-wrap: wrap; /* Allow buttons to wrap to the next line on smaller screens */
    gap: 10px; /* Space between buttons */
    margin-bottom: 30px; /* Space below the filters */
    justify-content: center; /* Center the buttons */
    padding: 10px 0; /* Vertical padding */
    border-bottom: 1px solid #eee; /* Subtle separator */
    border-top: 1px solid #eee; /* Subtle separator */
    background-color: #fcfcfc; /* Light background for the filter bar */
    border-radius: 8px; /* Slightly rounded corners for the bar */
}

.filter-btn {
    background-color: #f0f0f0; /* Light grey background for inactive buttons */
    color: #333; /* Darker text color */
    border: 1px solid #ddd; /* Subtle border */
    padding: 8px 20px; /* Ample padding */
    border-radius: 25px; /* Pill-shaped buttons */
    cursor: pointer; /* Indicate clickability */
    font-size: 0.95em; /* Slightly smaller font */
    font-weight: 600; /* Bold text */
    transition: all 0.3s ease; /* Smooth transitions for hover and active states */
    outline: none; /* Remove default focus outline */
    white-space: nowrap; /* Prevent text from wrapping inside the button */
}

.filter-btn:hover {
    background-color: #e0e0e0; /* Slightly darker grey on hover */
    border-color: #ccc; /* Darker border on hover */
    color: #000; /* Even darker text on hover */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow on hover */
}

.filter-btn.active {
    background-color: var(--primary-color); /* Use your primary brand color for active state */
    color: #fff; /* White text for active state */
    border-color: var(--primary-color); /* Primary color border */
    box-shadow: 0 4px 8px rgba(var(--primary-rgb), 0.3); /* More prominent shadow for active */
    transform: translateY(-2px); /* Slight lift for active button */
}

/* Optional: Add some basic styling for the loading/no products message */
.loading-message,
.no-products-message {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 30px;
    width: 100%; /* Ensure it spans the full width of the grid */
}

/* Adjust grid for responsiveness if needed, though product-showcase-grid should handle it */
@media (max-width: 768px) {
    .product-filters {
        padding: 15px; /* More padding on smaller screens */
        justify-content: flex-start; /* Align left if many buttons */
        overflow-x: auto; /* Allow horizontal scrolling if buttons overflow */
        -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
        border-radius: 0; /* Remove border radius if it overflows */
    }

    .product-filters::-webkit-scrollbar {
        height: 6px; /* Thin scrollbar for horizontal overflow */
    }
    .product-filters::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 3px;
    }
    .product-filters::-webkit-scrollbar-track {
        background: #f0f0f0;
    }
}

/* --- Checkbox Group Container --- */
.checkbox-group {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #fafafa;
}

.checkbox-label {
    display: block;
    font-size: 1em;
    font-weight: 600;
    color: var(--text-color-dark, #333); /* Use a dark color */
    margin-bottom: 10px;
}

.checkbox-list {
    /* Use a grid or flex to organize the options, especially on desktop */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px 20px; /* Vertical and horizontal gap */
}

/* --- Individual Checkbox Item Styling --- */
/* Hide the default checkbox and use the label as the clickable area */
.checkbox-list input[type="checkbox"] {
    /* Standard trick to hide the native checkbox */
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Style the custom checkbox display container (label) */
.checkbox-list label {
    display: flex; /* Align the custom box and text horizontally */
    align-items: center;
    position: relative;
    padding-left: 30px; /* Space for the custom box */
    cursor: pointer;
    font-size: 0.95em;
    color: var(--text-color, #555);
    line-height: 1.4;
    user-select: none; /* Prevent text selection when clicking */
    transition: color 0.2s ease;
}

/* Create the custom checkbox square */
.checkbox-list label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #ccc; /* Light border color */
    background-color: #fff;
    border-radius: 4px; /* Slightly rounded corners */
    transition: all 0.2s ease;
}

/* Create the checkmark */
.checkbox-list label::after {
    content: '\f00c'; /* Font Awesome checkmark icon (if FA is loaded) */
    font-family: 'Font Awesome 6 Free'; /* Ensure this matches your FA version */
    font-weight: 900; /* Solid icon style */
    position: absolute;
    left: 2px;
    top: 50%;
    transform: translateY(-50%) scale(0); /* Start hidden and scaled down */
    font-size: 14px;
    color: #fff; /* White checkmark */
    transition: transform 0.2s ease;
}


/* --- Checkbox States --- */

/* Hover state on the label/clickable area */
.checkbox-list label:hover {
    color: var(--primary-color, #007bff); /* Highlight text on hover */
}

/* When the HIDDEN checkbox IS CHECKED: style the custom box and checkmark */
.checkbox-list input[type="checkbox"]:checked + label::before {
    background-color: var(--primary-color, #007bff); /* Fill with brand color */
    border-color: var(--primary-color, #007bff);
}

.checkbox-list input[type="checkbox"]:checked + label::after {
    transform: translateY(-50%) scale(1); /* Scale up to show the checkmark */
}

/* Focus state for accessibility */
.checkbox-list input[type="checkbox"]:focus + label::before {
    box-shadow: 0 0 0 3
}	
	
	/* Define a variable for the new orange color if you don't have one */
:root {
    /* If you already have primary/secondary colors defined, add this: */
    --fourth-color: #FF8C00; /* Deep Orange */
    --fourth-color-dark: #CC7000; /* Darker orange for hover */
}

.fourth-btn {
    /* Base Button Styling (Consistent with existing primary/secondary buttons) */
    display: inline-block;
    padding: 12px 25px;
    border: 2px solid var(--fourth-color, #FF8C00); /* Use the defined orange variable */
    border-radius: 6px;
    font-size: 1.1em;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    
    /* Unique Orange Styling */
    background-color: var(--fourth-color, #FF8C00);
    color: #FFFFFF; /* White text for contrast */
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3); /* Subtle orange shadow */
}

/* Hover State */
.fourth-btn:hover {
    background-color: var(--fourth-color-dark, #CC7000); /* Darker orange on hover */
    border-color: var(--fourth-color-dark, #CC7000);
    color: #FFFFFF;
    transform: translateY(-2px); /* Slight lift */
    box-shadow: 0 6px 12px rgba(255, 140, 0, 0.4);
}

/* Optional: Outline/Ghost Style */
.fourth-btn.outline {
    background-color: transparent;
    color: var(--fourth-color, #FF8C00); /* Orange text */
}

.fourth-btn.outline:hover {
    background-color: var(--fourth-color, #FF8C00); /* Fills with color on hover */
    color: #FFFFFF;
}

/* --- Dropdown Menu Styling (for B2B Solutions) --- */

/* Parent Container */
.dropdown {
    position: relative; /* Essential for positioning the dropdown content */
    display: inline-block;
}

/* Dropdown Button (the main "B2B Solutions" link) */
.dropbtn {
    display: flex; /* Allows centering arrow */
    align-items: center;
    padding-right: 15px; /* Extra padding to make room for the arrow */
}

/* Dropdown Arrow Icon */
.dropdown-arrow {
    margin-left: 8px;
    font-size: 0.8em;
    transition: transform 0.3s ease;
}

/* Dropdown Content (The actual menu box) */
.dropdown-content {
    display: none; /* Hidden by default */
    position: absolute;
    right: 0; /* Align right side of dropdown with right side of button */
    min-width: 250px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000; /* Ensure it sits above other content */
    background-color: #fff; /* White background */
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 5px 5px; /* Rounded bottom corners */
}

/* Links inside the dropdown */
.dropdown-content a {
    color: var(--text-color-dark, #333);
    padding: 12px 16px;
    text-decoration: none;
    display: block; /* Makes the entire area clickable */
    font-weight: 400;
}

/* Hover state for dropdown links */
.dropdown-content a:hover {
    background-color: var(--primary-color-light, #f0f0ff); /* Light background color from your brand */
    color: var(--primary-color, #0056b3); /* Brand color text */
}

/* --- Visibility on Desktop (Hover) --- */
.dropdown:hover .dropdown-content {
    display: block; /* Show the dropdown on hover */
}

/* Rotate arrow when dropdown is open */
.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* --- Mobile / Small Screen Adjustments --- */
@media (max-width: 992px) {
    /* Override for mobile/small screens where navigation is usually stacked */
    .dropdown {
        width: 100%;
    }
    .dropdown-content {
        position: static; /* Stack beneath the button */
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        min-width: unset;
        background-color: #f7f7f7; /* Slightly different background for mobile */
    }
    .dropdown-content a {
        padding-left: 30px; /* Indent the options on mobile */
    }
    
    /* On mobile, we rely on the click/tap behavior from JS (see below) */
    .dropdown:hover .dropdown-content {
        display: none; 
    }
    /* We will use a JS class 'active-dropdown' to control visibility on mobile */
    .dropdown.active-dropdown .dropdown-content {
        display: block;
    }
    .dropdown.active-dropdown .dropdown-arrow {
        transform: rotate(180deg);
    }
}

