/* 
   Main Stylesheet - ARSH INTERNATIONAL TRADERS
   Color Palette:
   - Primary (Navy Blue): #0B1B3D
   - Secondary (Slate Grey): #6C757D
   - Light Background/White: #F8F9FA / #FFFFFF
   - Accent/CTA (Industrial Green): #28A745
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #053172;
    --primary-light: #0d4ba1;
    --secondary-color: #7E868C;
    --accent-color: #990011;
    --accent-hover: #7a000d;
    --bg-light: #F8F9FA;
    --text-dark: #212529;
    --text-muted: #7E868C;
    --font-main: 'Outfit', sans-serif;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);

    /* Override Bootstrap 5 primary colors */
    --bs-primary: #053172;
    --bs-primary-rgb: 5, 49, 114;
    --bs-link-color: #053172;
    --bs-link-hover-color: #0d4ba1;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
}

/* Typography Custom */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}

/* Glassmorphism Elements */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
}

.glass-card-dark {
    background: rgba(11, 27, 61, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ffffff;
}

/* Premium Buttons */
.btn-green {
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 24px;
    border: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-green:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-navy {
    background-color: var(--primary-color);
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 24px;
    border: none;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background-color: var(--primary-light);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 27, 61, 0.3);
}

/* Header & Top Bar */
.top-bar {
    background-color: var(--accent-color);
    color: #ffffff;
    font-size: 0.9rem;
    padding: 8px 0;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--accent-color);
}

.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar-custom .navbar-brand {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.navbar-custom .navbar-brand span {
    color: var(--accent-color);
}

.navbar-custom .nav-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.active .nav-link {
    color: var(--accent-color);
}

/* Sticky Header */
.navbar-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

/* Hero Section */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: calc(100vh - 100px);
    min-height: 550px;
    background-color: var(--primary-color);
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 27, 61, 0.9) 0%, rgba(11, 27, 61, 0.4) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    max-width: 700px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.85);
}

/* Slide Controls */
.slider-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-control-btn:hover {
    background: var(--accent-color);
    color: #ffffff;
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

/* Interactive Cards */
.interactive-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.interactive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(11, 27, 61, 0.1);
    border-color: rgba(40, 167, 69, 0.2);
}

.interactive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: var(--accent-color);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}

.interactive-card:hover::before {
    transform: scaleY(1);
}

/* Sticky RFQ Button */
.sticky-rfq-btn {
    position: fixed;
    right: -50px;
    top: 50%;
    transform: translateY(-50%) rotate(-90deg);
    transform-origin: right bottom;
    z-index: 1000;
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 24px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.sticky-rfq-btn:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    right: -45px;
}

/* Floating Call Button */
.floating-call {
    position: fixed;
    bottom: 95px;
    left: 24px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color, #0B1B3D);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-decoration: none;
    animation: pulse-call 2s infinite;
}

.floating-call i {
    color: #ffffff;
    font-size: 28px;
}

@keyframes pulse-call {
    0% {
        box-shadow: 0 0 0 0 rgba(11, 27, 61, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(11, 27, 61, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(11, 27, 61, 0);
    }
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp i {
    color: #ffffff;
    font-size: 32px;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Go to Top Button */
.go-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1000;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color, #0b1b3d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
    color: white;
    opacity: 0;
    visibility: hidden;
    animation: shake-anim 2s infinite;
}

.go-to-top.show {
    opacity: 1;
    visibility: visible;
}

.go-to-top i {
    color: #ffffff;
    font-size: 20px;
}

.go-to-top:hover {
    background-color: #28a745;
}

@keyframes shake-anim {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(-10deg); }
    40% { transform: rotate(10deg); }
    50% { transform: rotate(0deg); }
}

/* Exit Intent / Popups styling */
.custom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 27, 61, 0.75);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.custom-modal-container {
    background: #ffffff;
    border-radius: 16px;
    max-width: 500px;
    width: 90%;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary-color);
    cursor: pointer;
}

/* Footer Section */
.footer-section {
    background-color: #2f64a5;
    color: rgba(255, 255, 255, 0.85);
    padding: 80px 0 20px 0;
}

.footer-section h5 {
    color: #ffffff;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: var(--accent-color);
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    margin-top: 50px;
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2rem;
    }

    .sticky-rfq-btn {
        display: none;
        /* Hide sticky on mobile */
    }
}

/* Navigation Sidebars: Categories & Brands (Reduced font size and padding) */
.category-nav-list .list-group-item,
.brand-nav-list .list-group-item {
    border-radius: 8px !important;
    margin-bottom: 6px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-weight: 500;
    color: var(--primary-color);
    padding: 8px 12px;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.category-nav-list .list-group-item:hover,
.brand-nav-list .list-group-item:hover {
    background-color: var(--bg-light);
    border-color: rgba(40, 167, 69, 0.2);
    color: var(--accent-color);
}

.category-nav-list .list-group-item.active-category,
.brand-nav-list .list-group-item.active-brand {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
}

.category-nav-list .list-group-item.active-category i,
.brand-nav-list .list-group-item.active-brand i {
    color: #ffffff !important;
}

.category-nav-list .list-group-item i,
.brand-nav-list .list-group-item i {
    transition: color 0.3s ease;
    font-size: 0.8rem;
}

/* Redesigned Homepage UI Components */

.text-accent {
    color: var(--accent-color) !important;
}

.text-navy {
    color: var(--primary-color) !important;
}

.bg-navy {
    background-color: var(--primary-color) !important;
}

.bg-accent {
    background-color: var(--accent-color) !important;
}

/* Badge accents */
.badge-blue-subtle {
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Premium Buttons */
.btn-burgundy {
    background-color: var(--accent-color);
    color: #ffffff;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 28px;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-burgundy:hover {
    background-color: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(153, 0, 17, 0.3);
}

.btn-outline-navy {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 26px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline-navy:hover {
    background: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Hero UI Section */
.hero-new-container {
    background-color: var(--primary-color);
    padding: 85px 0;
}

.hero-heading {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
}

.hero-heading span.text-primary-navy {
    color: #ffffff;
}

.hero-lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

.hero-visual-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(5, 49, 114, 0.15);
}

.hero-visual-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.hero-visual-card:hover img {
    transform: scale(1.05);
}

.hero-glass-floating {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Grayscale Logos Slider/Ribbon */
.brand-marquee-ribbon {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 20px 0;
    background-color: #fafbfc;
}

.brand-ribbon-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.brand-ribbon-logo {
    height: 32px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: all 0.3s ease;
}

.brand-ribbon-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Section Header Typography */
.section-badge {
    color: var(--accent-color);
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 10px;
}

.section-title-navy {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 2.2rem;
}

.section-subtitle-text {
    color: #616e80;
    font-size: 1.05rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

/* Categories UI card */
.category-premium-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    height: 100%;
}

.category-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(5, 49, 114, 0.1);
    border-color: rgba(5, 49, 114, 0.1);
}

.category-premium-card img {
    border-radius: 12px;
    width: 100%;
    height: 160px;
    object-fit: cover;
    margin-bottom: 16px;
}

/* Industry solutions with colored glassmorphism overlays */
.industry-solutions-grid {
    margin-top: 40px;
}

.industry-visual-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.industry-visual-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.industry-visual-card:hover img {
    transform: scale(1.06);
}

.industry-visual-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.industry-visual-card.red-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(153, 0, 17, 0.15);
    z-index: 1;
}

.industry-visual-card.blue-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 49, 114, 0.18);
    z-index: 1;
}

.industry-content-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 3;
    color: #ffffff;
}

.industry-icon-box {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

.industry-content-overlay h4 {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 8px;
}

.industry-content-overlay p {
    font-size: 0.92rem;
    opacity: 0.85;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 3-Step RFQ Cards */
.rfq-step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 30px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 10px 35px rgba(5, 49, 114, 0.03);
    position: relative;
    height: 100%;
    transition: all 0.3s ease;
}

.rfq-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(5, 49, 114, 0.08);
}

.rfq-step-num {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(5, 49, 114, 0.05);
}

.rfq-step-card:hover .rfq-step-num {
    color: rgba(153, 0, 17, 0.07);
}

.rfq-step-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(5, 49, 114, 0.06);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.rfq-step-card:hover .rfq-step-icon {
    background: var(--accent-color);
    color: #ffffff;
}

/* Presence Blue Section */
.presence-navy-bg {
    background-color: var(--primary-color);
    color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    padding: 60px;
    box-shadow: 0 20px 45px rgba(5, 49, 114, 0.25);
}

.presence-info-icon {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 4px;
}

.presence-address-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
}

/* ARSH Advantage Cards */
.advantage-clean-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    transition: all 0.3s ease;
}

.advantage-clean-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(5, 49, 114, 0.07);
}

.advantage-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(5, 49, 114, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.advantage-clean-card:hover .advantage-icon {
    background: var(--accent-color);
    color: #ffffff;
}

/* Customer success testimonial */
.testimonial-new-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #556275;
    font-style: italic;
}

.testimonial-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
}

/* Blog premium card layout */
.blog-premium-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: all 0.3s ease;
}

.blog-premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(5, 49, 114, 0.08);
}

.blog-premium-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-card-meta {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-card-title {
    font-weight: 700;
    font-size: 1.15rem;
    line-height: 1.4;
    color: var(--primary-color);
    margin: 8px 0 12px 0;
}

.blog-card-desc {
    font-size: 0.9rem;
    color: #616e80;
    line-height: 1.6;
}

/* WhatsApp banner layout */
.whatsapp-banner-box {
    background: linear-gradient(135deg, #053172 0%, #001f4c 100%);
    border-radius: 24px;
    padding: 50px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.whatsapp-banner-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.glass-banner-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.btn-whatsapp-cta {
    background-color: #25D366;
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    padding: 12px 28px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-whatsapp-cta:hover {
    background-color: #1ebe57;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .hero-heading {
        font-size: 2.5rem;
    }

    .presence-navy-bg {
        padding: 30px;
    }

    .whatsapp-banner-box {
        padding: 30px;
    }
}

/* Continuous Infinite Marquee & Swiper Slider Custom Styles */

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.marquee-scroll-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    width: 100%;
    position: relative;
    padding: 10px 0;
}

.marquee-scroll-wrapper {
    display: flex;
    width: max-content;
    animation: scrollMarquee 35s linear infinite;
}

/* Pause scroll when user hovers */
.marquee-scroll-container:hover .marquee-scroll-wrapper {
    animation-play-state: paused;
}

/* Brand Marquee Logo wrapper styles */
.brand-marquee-item {
    flex-shrink: 0;
    padding: 0 45px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Brand Marquee Logo card styles */
.brand-marquee-card {
    flex-shrink: 0;
    width: 220px;
    height: 90px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 10px 15px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(5, 49, 114, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.brand-marquee-card img {
    max-height: 80%;
    max-width: 85%;
    object-fit: contain;
}

.brand-marquee-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(5, 49, 114, 0.08);
}

/* Client Marquee Logo box styles */
.client-marquee-card {
    flex-shrink: 0;
    width: 220px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 20px 24px;
    margin-right: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(5, 49, 114, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.client-marquee-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(5, 49, 114, 0.08);
}

.client-logo-box {
    height: 55px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.client-logo-box svg,
.client-logo-box img {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.client-card-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: #616e80;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: auto;
}

/* Swiper Slider Design System Customizations */
.swiper-slider-container {
    position: relative;
    padding: 10px 10px 50px 10px;
}

.swiper-nav-btn {
    color: var(--primary-color) !important;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
}

.swiper-nav-btn:after {
    font-size: 1rem !important;
    font-weight: 900;
}

.swiper-nav-btn:hover {
    background: var(--accent-color);
    color: #ffffff !important;
    border-color: var(--accent-color);
    box-shadow: 0 4px 15px rgba(153, 0, 17, 0.25);
}

.swiper-pagination-bullets {
    bottom: 10px !important;
}

.swiper-pagination-bullet {
    background: #bdc5d1 !important;
    opacity: 0.7 !important;
    width: 8px !important;
    height: 8px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--accent-color) !important;
    width: 22px !important;
    border-radius: 5px !important;
    opacity: 1 !important;
}

.swiper-slide {
    height: auto !important;
    display: flex;
    flex-direction: column;
}

/* Brand Listing Premium Cards Styles */
.brand-premium-card {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.brand-premium-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-color) !important;
    box-shadow: 0 12px 30px rgba(5, 49, 114, 0.1) !important;
}

.brand-premium-card:hover .brand-logo-img {
    transform: scale(1.05);
}

.brand-premium-card:hover .brand-text-fallback {
    color: var(--accent-color) !important;
    transform: scale(1.05);
}

.brand-premium-card:hover .brand-view-link {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Category Details Brands Marquee Styles */
.category-brands-marquee:hover .category-brands-marquee-inner {
    animation-play-state: paused !important;
}

@keyframes catBrandScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ==========================================
   HOMEPAGE DYNAMIC SLIDER & CTA REDESIGN
   ========================================== */

/* 1. Hero Swiper animations & delay entries */
.heroSwiper {
    width: 100%;
    overflow: hidden;
}

.heroSwiper .swiper-slide {
    height: auto !important;
    display: flex;
    align-items: center;
    background: transparent;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.heroSwiper .swiper-slide-active {
    opacity: 1;
}

/* Hide animations before transition */
.heroSwiper .swiper-slide .badge,
.heroSwiper .swiper-slide .hero-heading,
.heroSwiper .swiper-slide .company-subtitle,
.heroSwiper .swiper-slide .hero-lead-text,
.heroSwiper .swiper-slide .d-flex.flex-wrap,
.heroSwiper .swiper-slide .hero-visual-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Animate active slide elements with delays */
.heroSwiper .swiper-slide-active .badge,
.heroSwiper .swiper-slide-active .hero-heading,
.heroSwiper .swiper-slide-active .company-subtitle,
.heroSwiper .swiper-slide-active .hero-lead-text,
.heroSwiper .swiper-slide-active .d-flex.flex-wrap,
.heroSwiper .swiper-slide-active .hero-visual-card {
    opacity: 1;
    transform: translateY(0);
}

.heroSwiper .swiper-slide-active .badge {
    transition-delay: 0.1s;
}

.heroSwiper .swiper-slide-active .hero-heading {
    transition-delay: 0.2s;
}

.heroSwiper .swiper-slide-active .company-subtitle {
    transition-delay: 0.3s;
}

.heroSwiper .swiper-slide-active .hero-lead-text {
    transition-delay: 0.4s;
}

.heroSwiper .swiper-slide-active .d-flex.flex-wrap {
    transition-delay: 0.5s;
}

.heroSwiper .swiper-slide-active .hero-visual-card {
    transition-delay: 0.3s;
}

/* Custom Hero Pagination dot overrides */
.heroSwiper .swiper-pagination {
    bottom: 20px !important;
}

/* 2. CTA Redesigned Layout styling */
.cta-redesigned-box {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(11, 27, 61, 0.12);
    background: #ffffff;
}

.bg-cta-blue {
    background-color: #1e53a3;
    /* Royal blue from mockup */
}

.cta-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.cta-icon-square {
    width: 56px;
    height: 56px;
    background-color: rgba(11, 27, 61, 0.32);
    /* Darker transparent blue background */
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.btn-whatsapp-burgundy {
    background-color: #900a14;
    /* Mockup deep red burgundy */
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    padding: 14px 28px;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-whatsapp-burgundy:hover {
    background-color: #73060E;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(144, 10, 20, 0.35);
}

.warehouse-bg-col {
    position: relative;
    min-height: 420px;
    background-size: cover !important;
    background-position: center !important;
}

.warehouse-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(240, 242, 245, 0.72);
    /* Faded/light overlay */
    backdrop-filter: grayscale(100%);
    -webkit-backdrop-filter: grayscale(100%);
    z-index: 1;
}

.store-floating-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    width: 85%;
    max-width: 360px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    z-index: 2;
    text-align: center;
}

.store-floating-card .store-pin-icon {
    font-size: 2.2rem;
    color: #a30014;
    /* Deep red map pin */
}

/* Responsiveness for CTA box grid */
@media (max-width: 991px) {
    .warehouse-bg-col {
        min-height: 320px;
    }
}

/* ==========================================
   HOMEPAGE INDUSTRY TIMELINE MARQUEE REDESIGN
   ========================================== */

.industry-timeline-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 65px 0;
}

.timeline-line-bg {
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 4px;
    background: repeating-linear-gradient(to right, #bdc5d1, #bdc5d1 10px, transparent 10px, transparent 20px);
    transform: translateY(-2px);
    z-index: 1;
}

.timeline-marquee-wrapper {
    display: flex;
    gap: 70px;
    width: max-content;
    animation: scrollTimelineMarquee 30s linear infinite;
    position: relative;
    z-index: 2;
}

.timeline-marquee-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scrollTimelineMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Individual node styling */
.timeline-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 140px;
    position: relative;
}

/* Node circle structure */
.node-outer-circle {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(11, 27, 61, 0.06);
    border: 8px solid;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.node-inner-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.timeline-node:hover .node-outer-circle {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(11, 27, 61, 0.12);
}

/* Label styling */
.node-label {
    font-size: 0.9rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: center;
    position: absolute;
    width: 180px;
}

.node-arrow {
    font-size: 0.95rem;
    position: absolute;
    line-height: 1;
}

/* Up-pointing layout */
.node-up {
    padding-top: 50px;
}

.node-up .node-label {
    top: -5px;
}

.node-up .node-arrow {
    top: 24px;
}

/* Down-pointing layout */
.node-down {
    padding-bottom: 50px;
}

.node-down .node-label {
    bottom: -5px;
}

.node-down .node-arrow {
    bottom: 24px;
}

/* Theme color definitions */
.teal-theme {
    color: #0e8a7f;
}

.teal-theme .node-outer-circle {
    border-color: #0e8a7f;
}

.teal-theme .node-inner-circle i {
    color: #0e8a7f;
}

.red-theme {
    color: #a70014;
}

.red-theme .node-outer-circle {
    border-color: #a70014;
}

.red-theme .node-inner-circle i {
    color: #a70014;
}

.gold-theme {
    color: #b08030;
}

.gold-theme .node-outer-circle {
    border-color: #b08030;
}

.gold-theme .node-inner-circle i {
    color: #b08030;
}

.olive-theme {
    color: #6e8020;
}

.olive-theme .node-outer-circle {
    border-color: #6e8020;
}

.olive-theme .node-inner-circle i {
    color: #6e8020;
}

.purple-theme {
    color: #682080;
}

.purple-theme .node-outer-circle {
    border-color: #682080;
}

.purple-theme .node-inner-circle i {
    color: #682080;
}

/* Categories Swiper Multi-row (Grid) Slider and Hover Navigation */
.categoriesSwiper {
    height: 720px;
    padding-bottom: 40px !important;
}

.categoriesSwiper .swiper-slide {
    height: calc((100% - 24px) / 2) !important;
    display: flex;
    flex-direction: column;
}

/* Hide navigation buttons by default and show on hover */
.categoriesSwiper .swiper-nav-btn {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.swiper-slider-container:hover .categoriesSwiper .swiper-nav-btn {
    opacity: 1;
    pointer-events: auto;
}

/* Responsive styles for Category Grid */
@media (max-width: 991px) {
    .categoriesSwiper {
        height: 680px;
    }
}

@media (max-width: 767px) {
    .categoriesSwiper {
        height: 640px;
    }

    .categoriesSwiper .swiper-slide {
        height: calc((100% - 20px) / 2) !important;
    }

    .category-premium-card {
        padding: 15px;
    }

    .category-premium-card img {
        height: 130px;
        margin-bottom: 12px;
    }
}

@media (max-width: 575px) {
    .categoriesSwiper {
        height: 560px;
    }

    .categoriesSwiper .swiper-slide {
        height: calc((100% - 20px) / 2) !important;
    }

    .category-premium-card {
        padding: 12px;
    }

    .category-premium-card img {
        height: 110px;
        margin-bottom: 8px;
    }

    .category-premium-card h5 {
        font-size: 0.9rem !important;
        margin-bottom: 4px !important;
    }

    .category-premium-card p {
        font-size: 0.75rem !important;
    }
}

/* Presence stats counters style */
.presence-counter-item {
    border-left: 3px solid var(--accent-color);
    padding-left: 20px;
    margin-bottom: 10px;
}

.presence-counter-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
}

.presence-counter-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

@media (max-width: 575px) {
    .presence-counter-value {
        font-size: 1.8rem;
    }

    .presence-counter-item {
        padding-left: 15px;
    }
}

/* Brand ribbon red section style */
.brand-ribbon-red {
    background-color: var(--accent-color) !important;
}

/* Custom Header Navbar Dropdown Styles */
.navbar-custom .dropdown-menu {
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(5, 49, 114, 0.1);
    padding: 10px;
    margin-top: 10px;
    min-width: 180px;
}

.navbar-custom .dropdown-item {
    font-family: var(--font-main);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.navbar-custom .dropdown-item:hover {
    background-color: rgba(153, 0, 17, 0.05);
    color: var(--accent-color);
    transform: translateX(3px);
}

.navbar-custom .dropdown-item.active,
.navbar-custom .dropdown-item:active {
    background-color: var(--accent-color);
    color: #ffffff;
}

@media (min-width: 992px) {
    .navbar-custom .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-custom .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s ease;
    }
}

/* Client directory page card styles */
.client-list-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(5, 49, 114, 0.02);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.client-list-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 25px rgba(5, 49, 114, 0.08);
}

/* Responsive Sticky Sidebars */
@media (min-width: 992px) {
    .sticky-lg-sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 100px !important;
        z-index: 10;
    }
}

@media (min-width: 768px) {
    .sticky-md-sidebar {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 100px !important;
        z-index: 10;
    }
}

/* Custom Mobile Menu Navbar Toggler */
.navbar-custom .navbar-toggler {
    padding: 0;
    font-size: 1.5rem;
    line-height: 1;
    background-color: transparent;
    border: none !important;
    position: relative;
    z-index: 1100;
}

.navbar-custom .navbar-toggler:focus {
    box-shadow: none !important;
    outline: none !important;
}

.navbar-toggler-icon-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    color: var(--primary-color);
    font-size: 1.15rem;
    transition: all 0.2s ease-in-out;
}

.navbar-toggler-icon-custom:hover {
    background-color: #e2e8f0;
    color: var(--accent-color);
    border-color: #cbd5e1;
}

/* Toggle menu and close icon states based on Bootstrap collapse expanded state */
.navbar-toggler .icon-close {
    display: none !important;
}

.navbar-toggler[aria-expanded="true"] .icon-menu {
    display: none !important;
}

.navbar-toggler[aria-expanded="true"] .icon-close {
    display: inline-block !important;
}

/* Mobile responsive padding and styles for collapsed navbar */
@media (max-width: 991px) {
    body.menu-open {
        overflow: hidden !important;
    }

    body.menu-open .navbar-custom {
        z-index: 1050 !important;
    }

    .navbar-custom .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 70% !important;
        background: #ffffff;
        z-index: 1050;
        margin-top: 0 !important;
        padding: 80px 20px 20px 20px !important;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
        display: block !important;
        visibility: hidden;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
    }

    .navbar-custom .navbar-collapse.show {
        visibility: visible;
        transform: translateX(0);
    }

    /* Backdrop overlay covering the screen behind drawer */
    body::after {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.55);
        z-index: 1040;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease-in-out;
    }

    body.menu-open::after {
        opacity: 1;
        pointer-events: auto;
    }

    /* Override bootstrap's height collapse transition class */
    .navbar-custom .navbar-collapse.collapsing {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh !important;
        width: 70% !important;
        background: #ffffff;
        z-index: 1050;
        margin-top: 0 !important;
        padding: 80px 20px 20px 20px !important;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15);
        display: block !important;
        visibility: visible;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }

    .navbar-custom .nav-link {
        padding: 12px 15px !important;
        border-radius: 6px;
        font-weight: 600;
        color: var(--primary-color) !important;
    }

    .navbar-custom .nav-link:hover,
    .navbar-custom .nav-item.active .nav-link {
        background-color: rgba(5, 49, 114, 0.05);
        color: var(--accent-color) !important;
    }

    .navbar-custom .dropdown-menu {
        border: none;
        box-shadow: none;
        padding-left: 15px;
        margin-top: 0;
        background-color: #f8f9fa;
    }

    .hero-heading {
        font-size: 2.2rem !important;
    }

    .company-subtitle {
        font-size: 1.3rem !important;
        margin-bottom: 15px !important;
    }

    .hero-visual-card img {
        height: 320px !important;
    }

    .hero-lead-text {
        font-size: 1.05rem !important;
        margin-bottom: 20px !important;
    }
}

@media (max-width: 575px) {
    .hero-heading {
        font-size: 1.8rem !important;
    }

    .company-subtitle {
        font-size: 1.1rem !important;
    }

    .hero-visual-card img {
        height: 240px !important;
    }
}

/* Hide Navbar on Scroll Down, Show on Scroll Up */
.navbar-custom.nav-hidden {
    transform: translateY(-100%) !important;
}

/* Hide client slider navigation buttons on mobile/tablet viewports */
@media (max-width: 767px) {

    .client-nav-next,
    .client-nav-prev {
        display: none !important;
    }
}

/* Floating Action Button (FAB) for mobile category list toggler */
.fixed-bottom-cat-btn {
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.fixed-bottom-cat-btn:hover,
.fixed-bottom-cat-btn:focus {
    background-color: #152e5e !important;
    transform: translateX(-50%) translateY(-2px) scale(1.05) !important;
    box-shadow: 0 12px 35px rgba(11, 27, 61, 0.45) !important;
}

.fixed-bottom-cat-btn:active {
    transform: translateX(-50%) translateY(0) scale(0.98) !important;
}

/* Toggled body backdrop overlay state */
body.cat-menu-open::after {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Category Sidebar Collapsible Drawer Layout on mobile viewports (< 768px) */
@media (max-width: 767px) {

    #categorySidebarCollapse,
    #categoryDetailSidebarCollapse {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 300px !important;
        height: 100vh !important;
        z-index: 1060 !important;
        background: #ffffff !important;
        margin: 0 !important;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.15) !important;
        overflow-y: auto !important;
        display: block !important;
        visibility: hidden;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), visibility 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }

    #categorySidebarCollapse.collapsing,
    #categoryDetailSidebarCollapse.collapsing {
        display: block !important;
        visibility: visible !important;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    }

    #categorySidebarCollapse.show,
    #categoryDetailSidebarCollapse.show {
        visibility: visible !important;
        transform: translateX(0) !important;
    }

    /* Make the inner card borderless and scrollable on mobile */
    #categorySidebarCollapse .card,
    #categoryDetailSidebarCollapse .card {
        border: none !important;
        box-shadow: none !important;
        padding: 20px !important;
        border-radius: 0 !important;
        height: 100% !important;
        background: #ffffff !important;
    }
}

/* Distributor Promo Cards */
.distributor-promo-card {
    position: relative;
    aspect-ratio: 2.25 / 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    background-color: #ffffff;
    display: block;
}

.distributor-promo-card img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

.distributor-promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(11, 27, 61, 0.15);
}

@media (max-width: 767px) {
    .distributor-promo-card {
        /* aspect-ratio will naturally scale height on mobile */
    }
}

/* Marquee Responsive Fixes */
@media (max-width: 767px) {
    .brand-marquee-card {
        width: 140px;
        height: 70px;
        padding: 5px 10px;
        margin-right: 10px;
    }
    .client-marquee-card {
        width: 160px;
        padding: 10px 15px;
        margin-right: 15px;
    }
    .client-logo-box {
        height: 40px;
    }
}