/* ==========================================================================
   Premium CONVXA Home Page Styles - Refactored
   ========================================================================== */

/* --------------------------------------------------------------------------
   ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
    /* Colors */
    --primary-black: rgb(66, 66, 66);
    --secondary-black: rgb(85, 85, 85);
    --sky-lightblue: rgb(16, 148, 233);
    --accent-blue: #03244F;
    --accent-gold: #d4af37;
    --pure-white: #ffffff;
    --off-white: #f8fafc;
    --light-gray: rgb(246, 246, 246);
    --medium-gray: rgb(85, 85, 85);
    --dark-gray: rgb(66, 66, 66);
    --premium-gradient: rgb(16, 148, 233);
    --gold-gradient: rgb(14, 133, 210);

    /* Typography */
    /* --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   GLOBAL STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--pure-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.gradient-text {
    background: var(--accent-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
.premium-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* background-color: rgb(87, 87, 87) !important; */
    background-color: rgb(250,250,250) !important;
    color: white !important;
    border-bottom: 2px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    max-width: 1600px;  /* Increased from 1400px to 1600px */
    margin: 0 auto;
    padding: 0 2.5rem;  /* Increased from var(--space-xl) (3rem) to 2.5rem */
}

.nav-brand img {
    height: 35px;
    width: auto;
}

/* Add this new rule */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 4rem;  /* Increased from 3rem to 4rem for more breathing room */
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;  /* Changed from 3rem to 2rem for better proportional spacing */
    width: auto;
    margin-left: auto;  /* Add this to push nav-links to the right */
}

/* Find this rule and add the new lines */
.nav-link {
    color: var(--accent-blue);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    padding: var(--space-xs) 0.75rem;  /* Changed from var(--space-sm) to 0.75rem */
    transition: color 0.3s ease, border-color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;  /* Prevent text wrapping */
}

.nav-link:hover {
    color: var(--sky-lightblue);
    border-bottom-color: var(--sky-lightblue);  /* Add underline on hover */
}

/* Find this rule and apply the changes */
.nav-btn {
    background: var(--accent-blue);
    color: var(--pure-white);
    padding: var(--space-xs) var(--space-md); /* Changed for less height and width */
    text-decoration: none;
    font-weight: 200;
    font-size: 0.85rem; /* Made font smaller */
    transition: all 0.3s ease;
    border: 2px solid var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-btn:hover {
    background: transparent;
    color: var(--accent-blue);
}

.mobile-menu-toggle {
    display: none; /* Hidden by default */
    background: none;
    border: none;
    /* color: var(--pure-white); */
    color: var(--accent-blue);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}

/* --------------------------------------------------------------------------
   NAVIGATION SEARCH BAR
   -------------------------------------------------------------------------- */
.nav-search-container {
    display: flex;
    align-items: center;
}

.nav-search-form {
    display: flex;
    align-items: center;
    background: var(--pure-white);
    border: 2px solid var(--accent-blue);
    border-radius: 0;
    padding: 0;
    transition: all 0.3s ease;
    min-width: 280px;  /* Reduced from 350px to 280px */
    margin-right: 2rem;  /* Add margin to create space between search and nav links */
}


.nav-search-form:focus-within {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 2px rgba(16, 148, 233, 0.3);
}

.nav-search-input {
    background: transparent;
    border: none;
    color: var(--dark-gray);            /* Changed to dark grey text */
    padding: var(--space-xs) var(--space-md);
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    font-family: var(--font-primary);
}

.nav-search-input::placeholder {
    color: var(--medium-gray);          /* Changed to medium grey placeholder */
}

/* Find this rule and change the padding */
.nav-search-btn {
    background: var(--accent-blue);
    border: none;
    color: white;
    padding: var(--space-xs) var(--space-md); /* Change this line */
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-search-btn:hover {
    background: var(--gold-gradient);
}

.nav-search-btn i {
    font-size: 0.9rem;
}


@media (max-width: 1400px) {
    .nav-container {
        max-width: 100%;
        padding: 0 2rem;
    }
    
    .nav-brand {
        gap: 2rem;  /* Reduce gap on smaller screens */
    }
    
    .nav-search-form {
        min-width: 220px;  /* Further reduce search bar width */
        margin-right: 1.5rem;
    }
    
    .nav-links {
        gap: 1.5rem;  /* Reduce gap between links */
    }
}

/* Mobile responsive adjustments */
@media (max-width: 1200px) {
    .nav-search-form {
        min-width: 180px;  /* Even smaller on tablets */
        margin-right: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-link {
        font-size: 0.75rem;  /* Slightly smaller font */
        padding: var(--space-xs) 0.5rem;
    }
}


/* --------------------------------------------------------------------------
   HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-badge {
    display: inline-flex;
    background: var(--pure-white);
    padding: var(--space-xs) var(--space-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-sm);
}

.hero-badge span {
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--medium-gray);
    margin-bottom: var(--space-2xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--medium-gray);
    text-align: center;
    margin-top: var(--space-xs);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* Carousel Fix: Removed width: 150% and let the grid container control the size */
.hero-carousel {
    position: relative;
    height: 100%;
    min-width: 0;
}

/* Replace the existing .premium-swiper and .slide-image img rules with this block */
.premium-swiper {
    width: 150%;
    height: 500px;
    box-shadow: var(--shadow-2xl);
    overflow: hidden; /* Added for safety */
}

.swiper-slide {
    height: 100%;
    width: 100%;
}

.slide-image {
    position: relative;
    height: 100%;
    width: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute; /* This is the key fix */
    top: 0;
    left: 0;
}

/* ADD THESE LINES for better image loading on manual swipe */
.swiper-slide img {
    transition: opacity 0.3s ease;
    opacity: 1;
}

.swiper-slide img[data-src] {
    opacity: 0;
}

.swiper-slide img.swiper-lazy-loaded {
    opacity: 1;
}

/* Ensure images stay visible during transitions */
.swiper-slide-active img,
.swiper-slide-prev img,
.swiper-slide-next img {
    opacity: 1 !important;
}

.swiper-button-prev, .swiper-button-next {
    color: var(--pure-white);
}

.swiper-pagination-bullet {
    background: var(--pure-white);
    opacity: 0.6;
}

.swiper-pagination-bullet-active {
    background: var(--accent-blue);
    opacity: 1;
}

/* --------------------------------------------------------------------------
   CATALOGUE & PRODUCTS SECTIONS
   -------------------------------------------------------------------------- */
.catalogue-section {
    padding: var(--space-3xl) 0;
}

.catalogue-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.catalogue-header h2 {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-md);
}

.catalogue-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    max-width: 1000px;
    margin: 0 auto;
}

.catalogue-category-item {
    position: relative;
}

.catalogue-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    transition: background-color 0.3s ease;
    background: var(--pure-white);
    border: 1px solid #e5e7eb;
    border-left: 4px solid var(--accent-blue);
    text-decoration: none;
}

.catalogue-category-header:hover, .catalogue-category-header.active {
    background: var(--light-gray);
}

.catalogue-category-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-transform: uppercase;
}

.catalogue-category-icon {
    transition: transform 0.4s ease;
}

.catalogue-category-header.active .catalogue-category-icon {
    transform: rotate(180deg);
}

.catalogue-category-dropdown {
    background: #fafafa;
    border: 1px solid #e5e7eb;
    border-top: none;
    max-height: 0;
    overflow-y: auto;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 var(--space-lg);
}

.catalogue-category-dropdown.open {
    max-height: 250px;
    padding: var(--space-md) var(--space-lg);
}

.catalogue-subcategory-list {
    list-style: none;
}

.catalogue-subcategory-link {
    display: block;
    padding: var(--space-sm);
    color: var(--medium-gray);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.catalogue-subcategory-link:hover {
    background: var(--pure-white);
    color: var(--accent-blue);
    border-left-color: var(--accent-blue);
}

/* --------------------------------------------------------------------------
   PRODUCTS SHOWCASE SECTIONS - SLIDERS
   -------------------------------------------------------------------------- */
/* ==========================================================================
   PRODUCTS SHOWCASE SECTIONS - REFACTORED
   ========================================================================== */
.products-showcase-section {
    padding: var(--space-3xl) 0;
    background: var(--pure-white);
    border-top: 1px solid #e5e5e5;
}

.products-section-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.products-section-header h2 {
    font-size: 2.25rem;
    font-weight: var(--font-weight-bold);
    color: black;
    margin-bottom: var(--space-md);
}

.products-section-header p {
    font-size: 1rem;
    color: var(--medium-gray); /* Changed from light-gray to be more readable */
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Individual product slider section */
.product-slider-section {
    margin-bottom: var(--space-3xl);
}

.product-slider-section:last-child {
    margin-bottom: 0;
}

.slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding: 0 var(--space-lg);
}

.slider-title {
    font-size: 1.5rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
}

.slider-controls {
    display: flex;
    gap: var(--space-sm);
}

.slider-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--accent-blue);
    background: transparent;
    color: var(--accent-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 16px;
}

.slider-btn:hover {
    background: var(--accent-blue);
    color: white;
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: transparent;
    color: var(--accent-blue);
}

/* Product slider container */
.products-slider-container {
    position: relative;
    overflow: hidden;
    padding: 0 var(--space-lg);
}

.products-slider {
    display: flex;
    gap: var(--space-lg);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform;
}

/* --- REVISED PRODUCT CARD STYLES --- */

.product-card {
    /* This establishes a fixed width, crucial for JS calculations */
    flex: 0 0 280px;
    background: var(--off-white);
    border: 2px solid #e5e7eb;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--accent-blue);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* --- Find and replace your existing .product-image-container rule with this one --- */
.product-image-container {
    width: 100%;
    height: 220px;
    background-color: #ffffff; /* This provides the clean, solid white background */
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-bottom: 1px solid #f0f0f0; /* Adds a subtle separator line above the title */
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain; /* KEY FIX: Ensures the whole image is visible */
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05); /* Slightly smaller hover effect for 'contain' */
}

/* Loading animation state */
.product-image-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    border: 3px solid rgba(16, 148, 233, 0.2);
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.product-info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows this section to fill the remaining space */
    justify-content: space-between;
}

.product-name {
    font-size: 1rem;
    font-weight: var(--font-weight-semibold);
    color: var(--dark-gray);
    margin-bottom: var(--space-xs);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    margin-top: auto; /* Pushes meta info to the bottom of the card */
    padding-top: var(--space-sm);
}

.product-unit, .product-category {
    font-size: 0.85rem;
    display: block; /* Puts unit and category on separate lines */
}

.product-unit {
    color: var(--medium-gray);
}

.product-category {
    color: var(--accent-blue);
    font-weight: var(--font-weight-medium);
}

/* --- RESPONSIVE ADJUSTMENTS FOR REVISED CARDS --- */

@media (max-width: 1200px) {
    .product-card { flex: 0 0 260px; }
}

@media (max-width: 768px) {
    .products-showcase-section { padding: var(--space-2xl) 0; }
    .products-section-header h2 { font-size: 1.75rem; }
    .slider-header { padding: 0 var(--space-md); flex-direction: column; gap: var(--space-md); }
    .products-slider-container { padding: 0 var(--space-md); }
    .products-slider { gap: var(--space-md); }
    .product-card { flex: 0 0 240px; }
    .product-image-container { height: 180px; }
    .slider-title { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .products-slider-container { padding: 0 var(--space-sm); }
    .product-card { flex: 0 0 220px; } /* Slightly larger for better touch targets */
    .product-image-container { height: 160px; }
    .product-info { padding: var(--space-sm); }
    .slider-header { padding: 0 var(--space-sm); }
}
/* --------------------------------------------------------------------------
   SERVICES & SELECTION SECTIONS
   -------------------------------------------------------------------------- */
.services-section, .selection-section {
    padding: var(--space-3xl) 0;
}

.services-section { background: var(--pure-white); }
.selection-section { background: var(--light-gray); }

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-badge {
    display: inline-flex;
    background: var(--light-gray);
    padding: var(--space-xs) var(--space-md);
    margin-bottom: var(--space-lg);
}

.services-section .section-badge { background: var(--light-gray); }
.selection-section .section-badge { background: var(--pure-white); }

.section-badge span {
    font-size: 0.85rem;
    font-weight: var(--font-weight-semibold);
    color: var(--accent-blue);
    text-transform: uppercase;
}

.section-title {
    font-size: 2rem;
    font-weight: var(--font-weight-extrabold);
    line-height: 1.2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-2xl);
}

.premium-card, .selection-card {
    background: var(--pure-white);
    padding: var(--space-2xl);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.premium-card:hover, .selection-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    background: var(--accent-blue);
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
}

/* Add these new styles after the .card-icon rule */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
}

.card-badge {
    background: var(--accent-blue);
    color: var(--pure-white);
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
}

.supplier-card .card-badge {
    background: var(--accent-gold);
}

.supplier-card .card-icon {
    background: var(--gold-gradient);
}

.selection-card h3 {
    font-size: 1.5rem;
    font-weight: var(--font-weight-extrabold);
    margin-bottom: var(--space-sm);
}

.card-description {
    color: var(--medium-gray);
    font-size: 1rem;
    margin-bottom: var(--space-xl);
}

.features-list {
    margin-bottom: var(--space-xl);
    list-style: none; /* Ensure no bullets */
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.feature-item i {
    color: var(--accent-blue);
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: var(--font-weight-medium);
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
    transition: all 0.3s ease;
}

.primary-btn {
    background: var(--primary-black);
    color: var(--pure-white);
}

.primary-btn:hover {
    background: var(--secondary-black);
}

.secondary-btn {
    background: var(--accent-gold);
    color: var(--primary-black);
}

.secondary-btn:hover {
    background: #b8941f;
}

.premium-btn i {
    transition: transform 0.3s ease;
}

.premium-btn:hover i {
    transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   PARTNER COMPANIES SLIDER
   -------------------------------------------------------------------------- */
.partners-section {
    padding: var(--space-3xl) 0 var(--space-2xl) 0;
    background: var(--off-white);
    border-top: 1px solid #e5e5e5;
    overflow: hidden;
}

.partners-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.partners-header h2 {
    font-size: 2rem;
    font-weight: var(--font-weight-bold);
    color: var(--accent-blue);
    margin-bottom: var(--space-sm);
}

.partners-header p {
    font-size: 1rem;
    color: black;
    max-width: 500px;
    margin: 0 auto;
}

.partners-slider-container {
    position: relative;
    overflow: hidden;
    background: var(--pure-white);
    padding: var(--space-xl) 0;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.partners-slider {
    display: flex;
    animation: slidePartners 20s linear infinite;
    width: fit-content;
}

.partners-slider:hover {
    animation-play-state: paused;
}

.partner-item {
    flex: 0 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    height: 60px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes slidePartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .partners-section {
        padding: var(--space-2xl) 0 var(--space-lg) 0;
    }
    
    .partners-header h2 {
        font-size: 1.75rem;
    }
    
    .partner-item {
        padding: 0 var(--space-lg);
    }
    
    .partner-logo {
        height: 45px;
        max-width: 120px;
    }
    
    .partners-slider {
        animation-duration: 15s;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: var(--space-lg) 0;
    }
    
    .partners-slider-container {
        padding: var(--space-lg) 0;
    }
    
    .partner-item {
        padding: 0 var(--space-md);
    }
    
    .partner-logo {
        height: 40px;
        max-width: 100px;
    }
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
/* Replace the entire existing FOOTER block with this */
.premium-footer {
    /* background: var(--primary-black); */
    /* background: var(--pure-white); */
    background: rgb(250,250,250);
    color: var(--primary-black);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand img {
    height: 50px;
    margin-bottom: var(--space-sm);
}

.brand-description {
    color: black;
    font-size: 1.1rem;
    line-height: 1.6;
}

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-md);
    /* color: var(--pure-white); */
    color: var(--primary-black);
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: var(--space-xs);
}

.footer-section a {
    /* color: var(--pure-white); */
    color: black;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-blue);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.contact-item i {
    color: var(--accent-blue);
}

.footer-bottom {
    border-top: 1px solid var(--medium-gray); /* Corrected from your previous file */
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: black;
    /* color: var(--pure-white); */
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-blue);
}


/* START: Add this new block for the custom agreement checkbox */
.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--medium-gray);
}

.checkbox-label input[type="checkbox"] {
    display: none; /* Hide the default browser checkbox */
}

.checkbox-label .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    display: inline-block;
    position: relative;
    margin-right: 12px;
    flex-shrink: 0; /* Prevents the box from shrinking */
    transition: all 0.2s ease;
}

/* Style the box when the checkbox is checked */
.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkbox-label .checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

/* Show the checkmark when the checkbox is checked */
.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    display: block;
}


/* Default: show desktop, hide mobile */
.desktop-services {
    display: block;
}

.mobile-services {
    display: none;
}
/* END: Add this new block */
/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   TABLET (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }
    
    .hero-carousel {
        order: 1;
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .premium-swiper {
        height: 400px;
    }

    .hero-stats {
        justify-content: center;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

/* --------------------------------------------------------------------------
   MOBILE (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Hide desktop services, show mobile services */
    .desktop-services {
        display: none !important;
    }
    
    .mobile-services {
        display: block !important;
    }

    .premium-swiper {
        /* margin-left: 10%; */
        width: 93%;
    }

    slide-image {
        margin-right: 50%;
    }

    .nav-brand img {
        margin-top: 10%;
        height: 100pxk;
        width: 80px;
    }

    /* .selection-card {
        margin-right: 20%;
        width:100%;
    } */

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 70%;
    }
    /* Navigation */
    .nav-container {
        height: 70px;
        padding: 0 var(--space-md);
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: white;
        padding: var(--space-lg);
        box-shadow: var(--shadow-lg);
    }
    .nav-links.mobile-open {
        display: flex;
    }
    .nav-links.mobile-open .nav-link,
    .nav-links.mobile-open .nav-btn {
        color: var(--primary-black) !important;
    }
    .mobile-menu-toggle {
        display: block; /* Show hamburger */
    }

    /* Hero */
    .hero-section {
        padding-top: 100px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .premium-swiper {
        height: 300px;
    }

    /* .stat-divider {
        margin-right: 50% ;
} */

/* Add this inside the @media (max-width: 768px) block */
.nav-search-form {
    min-width: 120px; /* Shrink the search bar on small screens */
}

    /* Catalogue */
/* Replace it with this */
.catalogue-grid {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: var(--space-md);
    padding: 0 var(--space-sm) 1.5rem var(--space-sm);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS */
}

/* Hide the scrollbar for a cleaner look */
.catalogue-grid::-webkit-scrollbar {
    display: none;
}

.catalogue-category-item {
    flex: 0 0 150px; /* Give each item a fixed width */
    scroll-snap-align: start; /* Snap to the start of each item */
}

.catalogue-category-title {
    font-size: 0.5rem; /* Smaller title font */
}

.catalogue-subcategory-link {
    padding: var(--space-xs); /* Tighter subcategory padding */
    font-size: 0.5rem; /* Smaller subcategory font */
}

.catalogue-category-dropdown.open {
    padding: var(--space-sm) var(--space-md); /* Match header padding when open */
}

    /* Services & Selection */
    /* Replace the rule above with this */
    .services-grid {
        grid-template-columns: 1fr; /* Reverted to a single column */
        gap: var(--space-xl); /* Restore original gap */
        height: 50%;
    }
    /* Add this new rule */
    .service-card p {
        display: none;
        width: 50%;
        height: 50%;
    }
    .selection-grid {
        grid-template-columns: 1fr; /* Keep selection cards in a single column */
    }

    /* Footer */
/* Footer */
    .premium-footer {
        padding: var(--space-2xl) 0 var(--space-lg); /* Reduces top/bottom padding */
    }

    .footer-content {
        grid-template-columns: 1fr 1fr; /* Creates a two-column layout */
        gap: var(--space-xl);
        text-align: left; /* Aligns text to the left for readability */
    }

    .footer-brand {
        grid-column: 1 / -1; /* Makes the brand span both columns */
        text-align: center;  /* Keeps the brand content centered */
        margin-bottom: var(--space-lg);
    }
    
    /* This is the key fix for the logo size */
    .footer-brand img {
        height: 120px !important; /* Drastically reduces logo height */
        margin: 0 auto var(--space-sm) auto; /* Centers the logo */
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
        text-align: center;
    }

    /* Add this block inside the @media (max-width: 768px) query */
.products-grid {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: var(--space-md);
    padding: 0 var(--space-sm) 1.5rem var(--space-sm);
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.products-grid::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 240px;
    scroll-snap-align: start;
}


/* Mobile Services Styling */
    .mobile-services-list {
        display: flex;
        flex-direction: column;
        gap: var(--space-lg);
        padding: 0 var(--space-md);
    }
    
    .mobile-service-item {
        display: flex;
        align-items: center;
        gap: var(--space-md);
        background: var(--pure-white);
        padding: var(--space-lg);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .mobile-service-icon {
        flex-shrink: 0;
        width: 50px;
        height: 50px;
        background: var(--premium-gradient);
        border-radius: var(--radius-md);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--pure-white);
        font-size: 1.2rem;
    }
    
    .mobile-service-content {
        flex: 1;
    }
    
    .mobile-service-content h3 {
        font-size: 1rem;
        font-weight: var(--font-weight-bold);
        margin-bottom: var(--space-xs);
        color: var(--primary-black);
    }
    
    .mobile-service-content p {
        font-size: 0.85rem;
        color: var(--medium-gray);
        line-height: 1.4;
        margin: 0;
    }

}

/* --------------------------------------------------------------------------
   SMALL MOBILE (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .section-container {
        padding: 0 var(--space-md);
    }

    /* Nav */
    .nav-container {
        height: 60px;
    }
    .nav-links {
        top: 60px;
    }
    .nav-brand img {
        margin-top: 10%;
        height: 80px !important;
        width: 80px;
    }

    .nav-search-btn {
        width: 2px !important;
    }

    .hero-content {
        /* This forces the container to always fit the screen */
        width: 70%;
        /* max-width: 50%; */
        text-align: center;

    }


    .hero-title {
        margin-left: 40% !important;
    }
    .hero-subtitle {
        margin-left: 40% !important;
        
    }


    .hero-stats {
        /* This forces the container to always fit the screen */
        width: 40%;
        /* max-width: 50%; */
        text-align: center;
        /* overflow-wrap: break-word; */
        font-size: 0.9rem;
        /* margin-left: 10%;  */
        margin-right: 10%;
    }
    .stat-number {
        width: 10%;
        font-size: 0.7rem;
        text-align: center;
        margin-left: 50%;
    }
    .stat-label {
        width: 20%;
        font-size: 0.7rem;
        text-align: center;
        margin-left: 50%;
    }

    /* Hero */
    /* Replace the existing Hero rules inside the 480px media query with this */
    .hero-title {
        font-size: 1.9rem; /* Further reduction for a better fit */
        overflow-wrap: break-word; /* Add this line */
        line-height: 1.3;  /* Tighter line spacing */
        text-align: center;/* Force center alignment */
    }

    .hero-subtitle {
        font-size: 0.9rem; /* Slightly smaller subtitle */
        text-align: center;/* Force center alignment */
        margin: 0 auto var(--space-2xl) auto; /* Re-center margin */
        /* overflow-wrap: break-word; */
    }
    .premium-swiper {
        height: 250px;
        width: 140%;
        margin-left: 5%;
    }

    .selection-card {
        margin-right: 10% !important;
        /* width:80%; */
    }

    /* Catalogue */
    /* .catalogue-grid {
        grid-template-columns: 1fr; 
    } */
.nav-search-form {
    min-width: 50px !important; /* Shrink the search bar on small screens */
    margin-right: 10%;
}

}


/* Fix for category header with separate title and dropdown button */
.catalogue-category-title-link {
    text-decoration: none;
    color: inherit;
    flex: 1;
}

.catalogue-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-gray);
}

.catalogue-dropdown-toggle:hover {
    color: var(--accent-blue);
}


/* ========================================================================== 
   HERO V2 - LUXURY REDESIGN (Ralph Lauren Inspired)
   ========================================================================== */

.hero-v2-section {
    position: relative;
    min-height: 85vh;
    background: #fafafa;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-v2-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 80px;
    align-items: center;
}

/* Content Side - Refined Typography */
.hero-v2-content {
    padding-right: 40px;
}

.hero-v2-accent-line {
    width: 60px;
    height: 2px;
    background: #2c2c2c;
    margin-bottom: 30px;
}

.hero-v2-title {
    font-size: clamp(2.8rem, 4vw, 4.5rem);
    font-weight: 300;
    line-height: 1.15;
    color: #1a1a1a;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
    font-family: 'Inter', sans-serif;
}

.hero-v2-title strong {
    font-weight: 700;
    color: #000;
}

.hero-v2-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--accent-blue);
    line-height: 1.7;
    margin-bottom: 50px;
    max-width: 520px;
    font-family: 'Inter', sans-serif;
}

/* Refined Stats Bar */
.hero-v2-stats {
    display: flex;
    gap: 60px;
    padding: 35px 0;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 45px;
}

.hero-v2-stat {
    display: flex;
    flex-direction: column;
}

.hero-v2-stat-value {
    font-size: 2.2rem;
    font-weight: 200;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.hero-v2-stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* Premium CTA Buttons */
.hero-v2-cta {
    display: flex;
    gap: 20px;
    align-items: center;
}

.hero-v2-btn {
    padding: 18px 40px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.03em;
    font-family: 'Inter', sans-serif;
}

.hero-v2-btn-primary {
    background: #1a1a1a;
    color: #fff;
    border: 2px solid #1a1a1a;
}

.hero-v2-btn-primary:hover {
    background: #000;
    border-color: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.hero-v2-btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #d4d4d4;
}

.hero-v2-btn-secondary:hover {
    border-color: #1a1a1a;
    background: #fafafa;
}

/* Luxury Carousel */
.hero-v2-carousel-wrapper {
    position: relative;
    height: 650px;
    width: 100%;
}

.hero-v2-swiper {
    width: 100%;
    height: 100%;
    position: relative;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.hero-v2-swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-v2-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-v2-slide.active {
    opacity: 1;
}

.hero-v2-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Minimal Overlay for Text */
.hero-v2-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    pointer-events: none;
}

.hero-v2-slide-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: white;
    z-index: 2;
}

.hero-v2-slide-title {
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.hero-v2-slide-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.9;
    letter-spacing: 0.05em;
}

/* Elegant Navigation */
.hero-v2-nav {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero-v2-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1a1a1a;
    font-size: 14px;
}

.hero-v2-nav-btn:hover {
    background: #1a1a1a;
    color: white;
    transform: scale(1.05);
}

/* Minimalist Pagination */
.hero-v2-pagination {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.hero-v2-pagination-line {
    width: 30px;
    height: 1px;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-v2-pagination-line.active {
    background: #1a1a1a;
    width: 50px;
}

/* Trust Badges */
.hero-v2-trust {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e5e5;
}

.hero-v2-trust-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 20px;
}

.hero-v2-trust-logos {
    display: flex;
    gap: 40px;
    align-items: center;
}

.hero-v2-trust-logo {
    height: 45px;
    opacity: 0.4;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.hero-v2-trust-logo:hover {
    opacity: 0.7;
}

/* ========================================================================== 
   RESPONSIVE - LUXURY MAINTAINED
   ========================================================================== */

@media (max-width: 1200px) {
    .hero-v2-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .hero-v2-carousel-wrapper {
        height: 550px;
    }
}

@media (max-width: 968px) {
    .hero-v2-section {
        min-height: auto;
        padding: 100px 0 60px;
    }
    
    .hero-v2-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 25px;
    }
    
    /* MOBILE: Carousel on top */
    .hero-v2-carousel-wrapper {
        order: -1; /* This moves carousel to top */
        height: 420px;
        width: 100%;
        margin: 0 auto 20px;
    }
    
    .hero-v2-content {
        order: 1;
        padding-right: 0;
        text-align: center;
    }
    
    .hero-v2-accent-line {
        margin: 0 auto 25px;
    }
    
    .hero-v2-subtitle {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-v2-stats {
        justify-content: center;
    }
    
    .hero-v2-cta {
        justify-content: center;
    }
    
    .hero-v2-trust {
        text-align: center;
    }
    
    .hero-v2-trust-logos {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .hero-v2-section {
        padding: 80px 0 50px;
    }
    
    .hero-v2-container {
        padding: 0 20px;
        gap: 30px;
    }
    
    .hero-v2-title {
        font-size: 2rem;
        margin-bottom: 20px;
        line-height: 1.2;
    }
    
    .hero-v2-subtitle {
        font-size: 1rem;
        margin-bottom: 35px;
        padding: 0 10px;
    }
    
    .hero-v2-stats {
        gap: 30px;
        padding: 20px 0;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    
    .hero-v2-stat {
        min-width: 80px;
    }
    
    .hero-v2-stat-value {
        font-size: 1.6rem;
    }
    
    .hero-v2-stat-label {
        font-size: 0.65rem;
    }
    
    .hero-v2-cta {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-v2-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 25px;
        font-size: 0.9rem;
    }
    
    .hero-v2-carousel-wrapper {
        height: 320px;
        margin-bottom: 15px;
    }
    
    .hero-v2-slide-content {
        bottom: 25px;
        left: 25px;
        right: 25px;
    }
    
    .hero-v2-slide-title {
        font-size: 1.3rem;
        margin-bottom: 5px;
    }
    
    .hero-v2-slide-subtitle {
        font-size: 0.85rem;
    }
    
    .hero-v2-nav {
        bottom: 20px;
        right: 20px;
        gap: 10px;
    }
    
    .hero-v2-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }
    
    .hero-v2-pagination {
        top: 20px;
        right: 20px;
    }
    
    .hero-v2-pagination-line {
        width: 20px;
    }
    
    .hero-v2-pagination-line.active {
        width: 35px;
    }
    
    .hero-v2-trust {
        margin-top: 40px;
        padding-top: 30px;
    }
    
    .hero-v2-trust-logos {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-v2-section {
        padding: 70px 0 40px;
        min-height: auto;
    }
    
    .hero-v2-container {
        padding: 0 15px;
        gap: 25px;
    }
    
    .hero-v2-accent-line {
        width: 40px;
        margin-bottom: 20px;
    }
    
    .hero-v2-title {
        font-size: 1.65rem;
        margin-bottom: 18px;
        padding: 0 5px;
    }
    
    .hero-v2-title strong {
        display: block; /* Forces line break for better mobile readability */
        margin-top: 5px;
    }
    
    .hero-v2-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 30px;
        padding: 0 5px;
    }
    
    .hero-v2-stats {
        gap: 0;
        padding: 18px 10px;
        justify-content: space-between;
        width: 100%;
    }
    
    .hero-v2-stat {
        flex: 1;
        min-width: auto;
        padding: 0 5px;
    }
    
    .hero-v2-stat-value {
        font-size: 1.4rem;
        margin-bottom: 5px;
    }
    
    .hero-v2-stat-label {
        font-size: 0.6rem;
        line-height: 1.2;
    }
    
    .hero-v2-carousel-wrapper {
        height: 260px;
        margin-bottom: 10px;
    }
    
    .hero-v2-swiper {
        border-radius: 8px;
    }
    
    .hero-v2-slide-content {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }
    
    .hero-v2-slide-title {
        font-size: 1.1rem;
        margin-bottom: 3px;
    }
    
    .hero-v2-slide-subtitle {
        font-size: 0.75rem;
        opacity: 0.8;
    }
    
    .hero-v2-nav {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .hero-v2-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 11px;
    }
    
    .hero-v2-pagination {
        top: 15px;
        right: 15px;
        gap: 5px;
    }
    
    .hero-v2-pagination-line {
        width: 18px;
        height: 1px;
    }
    
    .hero-v2-pagination-line.active {
        width: 28px;
    }
    
    .hero-v2-cta {
        gap: 10px;
        margin-bottom: 0;
    }
    
    .hero-v2-btn {
        padding: 14px 20px;
        font-size: 0.85rem;
        letter-spacing: 0.02em;
    }
    
    .hero-v2-trust {
        margin-top: 35px;
        padding-top: 25px;
    }
    
    .hero-v2-trust-label {
        font-size: 0.65rem;
        margin-bottom: 15px;
    }
    
    .hero-v2-trust-logos {
        gap: 15px;
    }
    
    .hero-v2-trust-logo {
        height: 18px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-v2-title {
        font-size: 1.5rem;
    }
    
    .hero-v2-carousel-wrapper {
        height: 220px;
    }
    
    .hero-v2-stat-value {
        font-size: 1.2rem;
    }
    
    .hero-v2-stat-label {
        font-size: 0.55rem;
    }
    
    .hero-v2-btn {
        padding: 12px 18px;
        font-size: 0.8rem;
    }
}



/* Update/Replace the product-image-container styles in home.css */
.product-image-container {
    position: relative;
    width: 100%;
    height: 200px; /* Default height */
    overflow: hidden;
    background: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain; /* This is the key change from 'cover' to 'contain' */
    transition: transform 0.3s ease;
    position: relative; /* Ensure image is above the background pattern */
    z-index: 1;
}

/* Add a subtle background pattern for any empty space */
.product-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(45deg, #fafafa 25%, transparent 25%),
        linear-gradient(-45deg, #fafafa 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #fafafa 75%),
        linear-gradient(-45deg, transparent 75%, #fafafa 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
    opacity: 0.3;
    z-index: 0;
}

/* Update the hover effect to work nicely with 'contain' */
.product-card:hover .product-image {
    transform: scale(1.08);
}

/* Placeholder styles for when there's no image */
.product-no-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #999;
    font-size: 3rem;
    background: transparent;
    z-index: 2; /* Ensure it's above the pattern */
    position: relative;
}

.product-no-image span {
    font-size: 0.9rem;
    margin-top: 10px;
    color: #aaa;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive image container heights */
@media (max-width: 1200px) {
    .product-image-container {
        height: 180px;
    }
}

@media (max-width: 768px) {
    .product-image-container {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .product-image-container {
        height: 140px;
    }
}

/* Loading animation state */
.product-image-container.loading {
    background: #f0f0f0;
}

.product-image-container.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border: 3px solid #e0e0e0;
    border-top-color: var(--accent-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 2;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==========================================================================
   FORCE OVERRIDE FOR PRODUCT IMAGE BACKGROUND
   This block ensures the correct background style is applied.
   ========================================================================== */

.product-image-container {
    background-color: #ffffff !important; /* Force a solid white background */
    border-bottom: 1px solid #f0f0f0 !important; /* Force the separator line */
    padding: 10px !important; /* Ensure consistent padding */
}

/* This rule will hide the unwanted pattern if it still exists from a previous rule */
.product-image-container::before {
    display: none !important;
}






/* ========================================================================== 
   SELECTION SECTION V2 - REWORKED FOR STABILITY
   ========================================================================== */

.selection-v2-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow-x: hidden; /* Add this as a failsafe to prevent any horizontal overflow */
}

/* Subtle background pattern - CORRECTED */
.selection-v2-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;      /* Anchor to the left edge */
    width: 100%;    /* Explicitly set width to 100% of the section */
    height: 100%;   /* Explicitly set height */
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 200px,
        rgba(0,0,0,0.01) 200px,
        rgba(0,0,0,0.01) 201px
    );
    z-index: 0;
    pointer-events: none; /* Prevent the overlay from interfering with clicks */
}

.selection-v2-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

/* Header with refined typography */
.selection-v2-header {
    text-align: center;
    margin-bottom: 80px;
}

.selection-v2-subtitle {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #999;
    margin-bottom: 20px;
}

.selection-v2-title {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    font-weight: 300;
    line-height: 1.2;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.selection-v2-title strong {
    font-weight: 700;
    color: var(--accent-blue);
}

/* Cards Grid */
.selection-v2-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

/* Luxury Card Design */
.selection-v2-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    overflow: hidden;
}

.selection-v2-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border-color: #1a1a1a;
}

/* Card inner content */
.selection-v2-card-inner {
    padding: 60px 50px;
}

/* Minimalist icon */
.selection-v2-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 40px;
    position: relative;
}

.selection-v2-icon-circle {
    width: 60px;
    height: 60px;
    border: 2px solid #1a1a1a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.selection-v2-card:hover .selection-v2-icon-circle {
    background: #1a1a1a;
    transform: scale(1.1);
}

.selection-v2-icon i {
    font-size: 24px;
    color: var(--accent-blue);
    transition: color 0.3s ease;
}

.selection-v2-card:hover .selection-v2-icon i {
    color: #fff;
}

/* Card content */
.selection-v2-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--accent-blue);
    letter-spacing: -0.01em;
}

.selection-v2-card-subtitle {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
}

/* Features list - minimalist style */
.selection-v2-features {
    list-style: none;
    padding: 0;
    margin: 0 0 50px 0;
}

.selection-v2-feature {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.selection-v2-feature:last-child {
    border-bottom: none;
}

.selection-v2-card:hover .selection-v2-feature {
    padding-left: 10px;
}

.selection-v2-feature-icon {
    width: 20px;
    margin-right: 15px;
    color: #1a1a1a;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.selection-v2-card:hover .selection-v2-feature-icon {
    opacity: 1;
}

.selection-v2-feature-text {
    font-size: 0.95rem;
    color: #666;
    letter-spacing: 0.01em;
}

/* CTA Button */
.selection-v2-cta {
    display: inline-flex;
    align-items: center;
    padding: 18px 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    transition: all 0.3s ease;
    position: relative;
}

.selection-v2-cta-text {
    margin-right: 10px;
}

.selection-v2-cta-arrow {
    transition: transform 0.3s ease;
}

.selection-v2-card:hover .selection-v2-cta-arrow {
    transform: translateX(5px);
}

/* Accent colors for differentiation */
.selection-v2-card.buyer {
    border-top: 3px solid #1a1a1a;
}

.selection-v2-card.supplier {
    border-top: 3px solid #8b7355;
}

.selection-v2-card.supplier .selection-v2-icon-circle {
    border-color: #8b7355;
}

.selection-v2-card.supplier:hover .selection-v2-icon-circle {
    background: #8b7355;
}

.selection-v2-card.supplier .selection-v2-feature-icon {
    color: #8b7355;
}

.selection-v2-card.supplier .selection-v2-cta {
    border-color: #8b7355;
    color: #8b7355;
}

/* Trust indicator */
.selection-v2-trust {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid #e0e0e0;
}

.selection-v2-trust-text {
    font-size: 0.85rem;
    color: #999;
    letter-spacing: 0.05em;
}

.selection-v2-trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
    opacity: 0.4;
    filter: grayscale(100%);
}

/* ========================================================================== 
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 968px) {
    .selection-v2-section {
        padding: 70px 0;
    }

    .selection-v2-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 600px;
        margin: 0 auto 50px;
    }

    .selection-v2-header {
        margin-bottom: 60px;
    }

    .selection-v2-card-inner {
        padding: 50px 40px;
    }
}

@media (max-width: 640px) {
    .selection-v2-container {
        padding: 0 25px;
    }

    .selection-v2-title {
        font-size: 1.8rem;
    }

    .selection-v2-header {
        margin-bottom: 40px;
    }

    .selection-v2-card-inner {
        padding: 40px 30px;
    }

    .selection-v2-card-title {
        font-size: 1.5rem;
    }

    .selection-v2-card-subtitle {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .selection-v2-features {
        margin-bottom: 40px;
    }

    .selection-v2-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 30px;
    }

    .selection-v2-icon-circle {
        width: 50px;
        height: 50px;
    }

    .selection-v2-icon i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .selection-v2-section {
        padding: 60px 0;
    }

    .selection-v2-container {
        padding: 0 20px;
    }

    .selection-v2-title {
        font-size: 1.6rem;
    }

    .selection-v2-subtitle {
        font-size: 0.7rem;
    }

    .selection-v2-card-inner {
        padding: 35px 25px;
    }

    .selection-v2-card-title {
        font-size: 1.35rem;
        margin-bottom: 15px;
    }

    .selection-v2-card-subtitle {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }

    .selection-v2-feature {
        padding: 10px 0;
    }

    .selection-v2-feature-text {
        font-size: 0.85rem;
    }

    .selection-v2-cta {
        padding: 15px 0;
        font-size: 0.8rem;
        width: 100%;
        justify-content: space-between;
    }

    .selection-v2-trust-logos {
        gap: 20px;
        flex-wrap: wrap;
    }
}