/* Navigation Components */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all var(--transition-normal);
    margin: 0;
    padding: 0;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-4) var(--space-6);
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--text-xl);
    color: var(--gray-900);
}

.nav-logo .logo {
    height: 50px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-link {
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition-fast);
    position: relative;
    padding: var(--space-2) 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-normal);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

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

/* ============================================
   DROPDOWN MENU STYLES
   ============================================ */
.nav-dropdown {
    position: relative;
}

.nav-dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown .nav-link i.dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-link i.dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
    padding: 12px;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1100;
    pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    display: block;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: var(--white);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.dropdown-item:hover {
    background: var(--gray-50);
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-item:hover::before {
    transform: scaleY(1);
}

.dropdown-item-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.dropdown-item:hover .dropdown-item-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Brand-specific icon colors */
.dropdown-item-icon.tp-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.dropdown-item-icon.dupas-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.dropdown-item-icon.kilews-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.dropdown-item-icon.koda-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.dropdown-item-icon.nisun-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.dropdown-item-icon.riveters-icon {
    background: linear-gradient(135deg, #6b7280, #4b5563);
}

.dropdown-item-text {
    display: flex;
    flex-direction: column;
}

.dropdown-item-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.95rem;
}

.dropdown-item-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
    font-weight: 400;
}

.dropdown-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 8px 0;
}

/* Dark theme dropdown for brand pages */
.navbar-dark .dropdown-menu {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.navbar-dark .dropdown-menu::before {
    border-bottom-color: rgba(26, 26, 26, 0.98);
}

.navbar-dark .dropdown-item {
    color: rgba(255, 255, 255, 0.8);
}

.navbar-dark .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.navbar-dark .dropdown-item-name {
    color: white;
}

.navbar-dark .dropdown-item-desc {
    color: rgba(255, 255, 255, 0.5);
}

.navbar-dark .dropdown-divider {
    background: rgba(255, 255, 255, 0.1);
}

/* Mobile dropdown styles */
@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 20px;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: transparent;
    }

    .dropdown-menu::before {
        display: none;
    }

    .nav-dropdown.active .dropdown-menu {
        max-height: 500px;
        padding: 10px 0 10px 20px;
    }

    .dropdown-item {
        padding: 10px 12px;
        border-radius: 8px;
    }

    .dropdown-item-icon {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }

    .dropdown-item-name {
        font-size: 0.9rem;
    }

    .dropdown-item-desc {
        display: none;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle .bar {
    width: 25px;
    height: 3px;
    background: var(--gray-700);
    transition: all var(--transition-normal);
    border-radius: 2px;
}

.nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Backdrop */
.nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 997;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.nav-backdrop.active {
    display: block;
    opacity: 1;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: var(--space-6);
    left: var(--space-6);
    z-index: var(--z-fixed);
    cursor: pointer;
}

.whatsapp-button {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    background: #25d366;
    color: var(--white);
    padding: var(--space-4) var(--space-5);
    border-radius: var(--radius-3xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    font-weight: 600;
    font-size: var(--text-base);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    background: #128c7e;
}

.whatsapp-button i {
    font-size: var(--text-2xl);
}

.whatsapp-text {
    display: none;
}

.whatsapp-tooltip {
    position: absolute;
    bottom: 100%;
    left: 0;
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-sm);
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    pointer-events: none;
    margin-bottom: var(--space-2);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: var(--space-4);
    border: 5px solid transparent;
    border-top-color: var(--gray-900);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateY(0);
}

.whatsapp-float:hover .whatsapp-text {
    display: inline;
}

/* Brand Components */
.brand-name {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.brand-description {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.brand-categories {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
}

.category-tag {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-3xl);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
}

.category-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.25);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-color);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.brand-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.brand-link i {
    transition: transform var(--transition-fast);
}

.brand-link:hover i {
    transform: translateX(3px);
}

/* Product Components */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-6);
    }
}

@media (max-width: 992px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

@media (max-width: 576px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

.product-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.02) 0%, rgba(245, 158, 11, 0.02) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-2xl);
    background: rgba(255, 255, 255, 0.98);
    border-color: var(--primary-color);
}

.product-card:hover::before {
    opacity: 1;
}

.product-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-card:hover .product-image img {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: var(--space-4);
    left: var(--space-4);
    background: var(--secondary-color);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-3xl);
    font-size: var(--text-sm);
    font-weight: 600;
}

.product-content {
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.product-description {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.spec-item {
    background: var(--gray-50);
    color: var(--gray-700);
    padding: var(--space-1) var(--space-2);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 500;
}

.product-actions {
    display: flex;
    gap: var(--space-3);
    margin-top: auto;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
}

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

/* Contact Components */
.contact-form {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: var(--space-6);
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: var(--space-2);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: var(--text-base);
    transition: all var(--transition-fast);
    background: var(--white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Animation Keyframes */
@keyframes whatsappPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        gap: 0;
        padding-top: 80px;
        padding-left: var(--space-6);
        padding-right: var(--space-6);
        padding-bottom: var(--space-6);
        box-shadow: var(--shadow-lg);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease-in-out;
        z-index: 998;
        overflow-y: auto;
    }

    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    /* Mobile Dropdown Styling */
    .nav-dropdown {
        width: 100%;
        position: static;
    }

    .nav-dropdown .nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: var(--space-2);
    }

    .dropdown-menu {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        min-width: 100%;
        box-shadow: none;
        background: var(--gray-50);
        margin-top: 5px;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: none;
        /* Initially hidden, toggled by JS */
        pointer-events: auto;
        border-left: 3px solid var(--primary-color);
        border-radius: 8px;
    }

    .dropdown-menu::before {
        display: none;
        /* Hide the arrow pointer on mobile */
    }

    .dropdown-item {
        padding: 10px 15px;
        border-bottom: 1px solid var(--gray-100);
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }

    .dropdown-item-icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }

    .nav-dropdown.active .dropdown-menu {
        display: block;
    }

    .nav-dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .nav-link {
        padding: var(--space-4) 0;
        border-bottom: 1px solid var(--gray-200);
        width: 100%;
        text-align: left;
        font-size: var(--text-lg);
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

    .navbar {
        z-index: 1000;
    }

    .nav-logo {
        font-size: var(--text-lg);
        z-index: 1001;
    }

    .nav-logo .logo {
        height: 40px;
        max-width: 150px;
    }

    .logo-text {
        font-size: var(--text-lg);
    }

    .whatsapp-text {
        display: none !important;
    }

    .whatsapp-button {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        justify-content: center;
        padding: 0;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .brands-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: var(--space-3) var(--space-4);
    }

    .nav-menu {
        padding-top: 70px;
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    .whatsapp-float {
        bottom: var(--space-4);
        left: var(--space-4);
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

    .whatsapp-button i {
        font-size: 24px;
    }

    .contact-form {
        padding: var(--space-6);
    }

    .product-content {
        padding: var(--space-4);
    }

    .product-card {
        margin-bottom: var(--space-4);
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* Products Section */
.products-section {
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/featuredproducthero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    opacity: 5.0;
    z-index: 0;
    transform: scale(1.02) translateY(var(--parallax-offset, 0px));
    transition: all 0.5s ease;
    filter: brightness(1.2) contrast(1.1);
    will-change: transform;
}

.products-section:hover::before {
    transform: scale(1);
    opacity: 0.12;
    filter: blur(0px) brightness(1.2) contrast(1.2);
}

.products-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(249, 250, 251, 0.75) 0%,
            rgba(249, 250, 251, 0.65) 25%,
            rgba(249, 250, 251, 0.7) 50%,
            rgba(249, 250, 251, 0.65) 75%,
            rgba(249, 250, 251, 0.75) 100%);
    z-index: 0;
    pointer-events: none;
}

.products-section .container {
    position: relative;
    z-index: 2;
}

.products-section .section-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.category-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-12);
}

.filter-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--gray-600);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-3xl);
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.filter-btn:hover::before {
    left: 100%;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 64, 175, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-normal);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.section-cta {
    text-align: center;
    margin-top: var(--space-16);
    padding: var(--space-12);
    background: var(--white);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-lg);
}

.section-cta h3 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    color: var(--gray-900);
}

.section-cta p {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-6);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: var(--text-lg);
}

/* About Section */
.about-section {
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-description {
    font-size: var(--text-lg);
    line-height: 1.8;
    margin-bottom: var(--space-8);
    color: var(--gray-600);
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: white;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    position: relative;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2196F3, #1976D2);
    border-radius: 16px 16px 0 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #2196F3;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.25);
    transition: all 0.4s ease;
}

.feature-icon i {
    display: block;
    line-height: 1;
}

.feature-item:hover .feature-icon {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 12px 30px rgba(33, 150, 243, 0.35);
}

.feature-content {
    flex: 1;
    min-width: 0;
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.feature-content p {
    color: #64748b;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
}

.about-stats {
    position: absolute;
    bottom: -30px;
    right: -30px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
}

.stat-box {
    background: white;
    padding: var(--space-5);
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 110px;
    border: 2px solid #e3f2fd;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2196F3, #1976D2);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.stat-box .stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-2);
    line-height: 1;
}

.stat-box .stat-label {
    font-size: 0.7rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    line-height: 1.3;
}

/* Contact Section */
.contact-section {
    background: var(--gray-50);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-lg);
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.contact-details p {
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
}

.form-actions {
    display: flex;
    gap: var(--space-4);
    justify-content: flex-start;
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: var(--space-20) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: var(--text-xl);
    margin-bottom: var(--space-4);
}

.footer-logo img {
    width: 40px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-description {
    color: var(--gray-300);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: var(--space-3);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    transition: all var(--transition-normal);
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-6);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-links a {
    color: var(--gray-300);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-light);
}

.contact-info-footer {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-300);
    margin: 0;
}

.contact-info-footer i {
    color: var(--primary-color);
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: var(--space-8);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gray-400);
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-links a {
    color: var(--gray-400);
    transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--primary-light);
}

/* Additional Responsive Design */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-8);
    }

    .about-stats {
        position: static;
        margin-top: var(--space-6);
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .category-filter {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: var(--space-2);
        -webkit-overflow-scrolling: touch;
    }

    .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: var(--text-sm);
        padding: var(--space-2) var(--space-4);
    }

    .about-features {
        gap: var(--space-4);
    }

    .feature-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .feature-icon {
        margin-bottom: var(--space-2);
    }

    .contact-info {
        gap: var(--space-6);
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .contact-icon {
        margin-bottom: var(--space-2);
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }

    /* Product cards mobile optimization */
    .product-card {
        margin-bottom: var(--space-4);
    }

    .product-image {
        height: 200px;
    }

    .product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        object-position: center;
    }

    .product-content {
        padding: var(--space-4);
    }

    .product-title {
        font-size: var(--text-base);
        margin-bottom: var(--space-2);
    }

    .product-description {
        font-size: var(--text-sm);
        margin-bottom: var(--space-3);
        line-height: 1.5;
    }

    .product-specs {
        flex-wrap: wrap;
        gap: var(--space-2);
        margin-bottom: var(--space-3);
    }

    .spec-item {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-2);
    }

    .product-actions {
        flex-direction: column;
        gap: var(--space-2);
    }

    .product-actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        display: flex;
        align-items: center;
        font-size: var(--text-sm);
        padding: var(--space-3) var(--space-4);
    }

    .product-actions .btn-outline {
        width: 100%;
        min-height: 44px;
    }

    .product-badge {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-2);
    }

    /* Hero section mobile */
    .hero {
        min-height: 60vh;
    }

    .hero-content {
        padding: var(--space-8) var(--space-4);
    }

    .hero-title {
        font-size: var(--text-4xl);
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: var(--text-base);
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: var(--space-3);
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-2);
    }

    .stat-box {
        padding: var(--space-3);
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .section-cta {
        padding: var(--space-8);
    }

    .section-cta h3 {
        font-size: var(--text-2xl);
    }

    .about-image img {
        height: 300px;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .contact-form {
        padding: var(--space-4);
    }

    .social-links {
        justify-content: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: var(--space-3);
    }

    /* Additional mobile improvements */
    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-subtitle {
        font-size: var(--text-sm);
    }

    .section-title {
        font-size: var(--text-3xl);
    }

    .section-subtitle {
        font-size: var(--text-sm);
    }

    .btn {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }

    .product-specs {
        flex-direction: column;
        gap: var(--space-2);
    }

    .spec-item {
        font-size: var(--text-xs);
    }

    /* Product card improvements for small screens */
    .product-card {
        border-radius: var(--radius-lg);
    }

    .product-image {
        height: 180px;
    }

    .product-content {
        padding: var(--space-3);
    }

    .product-title {
        font-size: var(--text-base);
        line-height: 1.3;
    }

    .product-description {
        font-size: var(--text-xs);
        line-height: 1.4;
    }

    .product-actions .btn {
        font-size: var(--text-xs);
        padding: var(--space-2) var(--space-3);
    }
}

/* Brand Pages Styles */
.brand-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.brand-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.brand-hero-content {
    position: relative;
    z-index: 1;
}

.brand-logo-large {
    width: 120px;
    height: 120px;
    background: var(--white);
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-6);
    box-shadow: var(--shadow-lg);
}

.brand-logo-large img {
    width: 80px;
    height: auto;
}

.brand-hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--white);
    margin-bottom: var(--space-4);
}

.brand-hero-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-8);
    max-width: 600px;
    line-height: 1.6;
}

.brand-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    max-width: 500px;
}

.brand-categories {
    background: var(--gray-50);
    padding: var(--space-20) 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-8);
    margin-top: var(--space-12);
}

.category-card {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left var(--transition-slow);
}

.category-card:hover::before {
    left: 100%;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: var(--text-3xl);
    margin-bottom: var(--space-6);
    transition: all var(--transition-normal);
}

.category-card:hover .category-icon {
    transform: scale(1.1);
    background: var(--gradient-secondary);
}

.category-title {
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.category-description {
    color: var(--gray-600);
    margin-bottom: var(--space-4);
    line-height: 1.6;
}

.category-features {
    list-style: none;
    margin-bottom: var(--space-6);
}

.category-features li {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--gray-700);
    margin-bottom: var(--space-2);
    font-size: var(--text-sm);
}

.category-features li::before {
    content: '✓';
    color: var(--primary-color);
    font-weight: bold;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    font-size: var(--text-xs);
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.category-link:hover {
    color: var(--primary-dark);
    transform: translateX(5px);
}

.category-link::after {
    content: '→';
    transition: transform var(--transition-fast);
}

.category-link:hover::after {
    transform: translateX(3px);
}

.featured-products {
    background: var(--white);
    padding: var(--space-20) 0;
}

.product-card.featured {
    border: 2px solid var(--primary-color);
    position: relative;
}

.product-card.featured::after {
    content: 'Featured';
    position: absolute;
    top: -10px;
    left: var(--space-6);
    background: var(--primary-color);
    color: var(--white);
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-md);
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* TP Brand Page Styles */
.brand-hero {
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 80px;
    overflow: hidden;
}

.brand-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.brand-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    z-index: 2;
}

.brand-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
}

.brand-hero-text {
    text-align: center;
    color: var(--white);
}

.brand-logo-large {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--space-6);
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.brand-logo-large img {
    width: 80px;
    height: auto;
}

.brand-hero-title {
    font-size: var(--text-5xl);
    font-weight: 800;
    margin-bottom: var(--space-4);
    font-family: var(--font-secondary);
}

.brand-hero-subtitle {
    font-size: var(--text-xl);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.brand-hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    max-width: 600px;
    margin: 0 auto;
}

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

.brand-stat .stat-number {
    font-size: var(--text-4xl);
    font-weight: 800;
    color: var(--secondary-color);
    display: block;
    margin-bottom: var(--space-2);
}

.brand-stat .stat-label {
    font-size: var(--text-sm);
    color: var(--gray-200);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Categories Navigation */
.categories-nav {
    padding: var(--space-20) 0;
    background: var(--gray-50);
}

.categories-nav-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.categories-nav-header h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
}

.categories-nav-header p {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.categories-nav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

.category-nav-item {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    text-align: center;
    border: 2px solid transparent;
}

.category-nav-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.category-nav-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-4);
    color: var(--white);
    font-size: var(--text-2xl);
}

.category-nav-item h3 {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-2);
}

.category-nav-item p {
    color: var(--gray-600);
    font-size: var(--text-sm);
}

/* Product Category Sections */
.product-category-section {
    padding: var(--space-20) 0;
    border-bottom: 1px solid var(--gray-200);
}

.product-category-section:nth-child(even) {
    background: var(--gray-50);
}

.category-header {
    text-align: center;
    margin-bottom: var(--space-16);
}

.category-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
}

.category-title i {
    color: var(--primary-color);
}

.category-description {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.subcategories-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.subcategory-section {
    background: var(--white);
    padding: var(--space-8);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
}

.subcategory-title {
    font-size: var(--text-2xl);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-8);
    padding-bottom: var(--space-4);
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-5);
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* DU-PAS About Section */
.dupas-about-section {
    padding: var(--space-20) 0;
    background: var(--white);
    color: var(--gray-900);
}

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

.about-content .section-title {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
    color: var(--gray-900);
}

.about-content .section-description {
    font-size: var(--text-lg);
    color: var(--gray-600);
    margin-bottom: var(--space-12);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-12);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    padding: var(--space-8);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--gray-200);
    text-align: center;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: var(--space-4);
    display: block;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
    color: var(--gray-900);
}

.feature-item p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 992px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Contact CTA Section */
.contact-cta-section {
    padding: var(--space-20) 0;
    background: var(--gradient-primary);
    color: var(--white);
    text-align: center;
}

.contact-cta-content h2 {
    font-size: var(--text-4xl);
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.contact-cta-content p {
    font-size: var(--text-lg);
    margin-bottom: var(--space-8);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
    flex-wrap: wrap;
}

/* Brand Page Responsive Design */
@media (max-width: 768px) {
    .brand-hero {
        height: 60vh;
        margin-top: 70px;
    }

    .brand-hero-title {
        font-size: var(--text-4xl);
    }

    .brand-hero-subtitle {
        font-size: var(--text-lg);
    }

    .brand-hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-4);
        text-align: center;
    }

    .categories-nav-grid {
        grid-template-columns: 1fr;
        gap: var(--space-6);
    }

    .category-nav-item {
        padding: var(--space-6);
        text-align: center;
    }

    .brand-logo-large {
        width: 100px;
        height: 100px;
        margin: 0 auto var(--space-6);
    }

    .brand-logo-large img {
        width: 60px;
    }

    .category-title {
        font-size: var(--text-3xl);
        flex-direction: column;
        gap: var(--space-2);
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .contact-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-cta-content h2 {
        font-size: var(--text-3xl);
    }

    .category-header {
        margin-bottom: var(--space-8);
        padding: 0 var(--space-4);
    }

    .category-title {
        font-size: var(--text-3xl);
        flex-direction: column;
        gap: var(--space-2);
    }

    .category-title i {
        font-size: var(--text-3xl);
    }

    .category-description {
        font-size: var(--text-sm);
    }

    .subcategory-section {
        padding: var(--space-6);
        margin-bottom: var(--space-8);
        border-radius: var(--radius-lg);
    }

    .subcategory-title {
        font-size: var(--text-xl);
        margin-bottom: var(--space-6);
    }

    .product-card {
        margin-bottom: var(--space-6);
    }

    .product-specs {
        flex-direction: column;
        gap: var(--space-2);
    }

    .product-actions {
        flex-direction: column;
        gap: var(--space-3);
    }

    .brand-hero-stats {
        margin-top: var(--space-6);
    }

    .categories-nav {
        padding: var(--space-12) 0;
    }

    .categories-nav-header {
        margin-bottom: var(--space-12);
    }

    .categories-nav-header h2 {
        font-size: var(--text-3xl);
    }

    .category-nav-icon {
        width: 50px;
        height: 50px;
        font-size: var(--text-xl);
    }
}

@media (max-width: 480px) {
    .brand-hero {
        height: 50vh;
        margin-top: 60px;
    }

    .brand-hero-title {
        font-size: var(--text-3xl);
    }

    .brand-hero-subtitle {
        font-size: var(--text-base);
        padding: 0 var(--space-4);
    }

    .brand-logo-large {
        width: 80px;
        height: 80px;
        margin-bottom: var(--space-4);
    }

    .brand-logo-large img {
        width: 50px;
    }

    .categories-nav-grid {
        gap: var(--space-4);
    }

    .category-nav-item {
        padding: var(--space-6);
    }

    .category-nav-item h3 {
        font-size: var(--text-lg);
    }

    .category-nav-item p {
        font-size: var(--text-xs);
    }

    .category-title {
        font-size: var(--text-2xl);
    }

    .category-description {
        font-size: var(--text-base);
        padding: 0 var(--space-4);
    }

    .category-header {
        margin-bottom: var(--space-6);
        padding: 0 var(--space-3);
    }

    .category-title {
        font-size: var(--text-2xl);
    }

    .category-title i {
        font-size: var(--text-2xl);
    }

    .category-description {
        font-size: var(--text-xs);
        line-height: 1.5;
    }

    .subcategory-section {
        padding: var(--space-4);
        margin-bottom: var(--space-6);
        border-radius: var(--radius-md);
    }

    .subcategory-title {
        font-size: var(--text-lg);
        margin-bottom: var(--space-4);
    }

    .product-card {
        padding: var(--space-4);
    }

    .product-title {
        font-size: var(--text-lg);
    }

    .contact-cta-content h2 {
        font-size: var(--text-2xl);
        padding: 0 var(--space-4);
    }

    .contact-cta-content p {
        font-size: var(--text-base);
        padding: 0 var(--space-4);
    }
}

@media (max-width: 480px) {
    .brand-hero {
        height: 50vh;
    }

    .brand-hero-title {
        font-size: var(--text-3xl);
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: var(--text-2xl);
    }

    .category-title {
        font-size: var(--text-xl);
    }

    /* Featured Products Section Mobile Optimization */
    .products-section::before {
        background-attachment: scroll;
        transform: scale(1.05);
        opacity: 0.06;
    }

    .products-section .section-header {
        padding: var(--space-6);
        margin-bottom: var(--space-8);
    }

    .category-filter {
        gap: var(--space-2);
        margin-bottom: var(--space-8);
    }

    .filter-btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }
}

@media (max-width: 480px) {
    .products-section::before {
        background-size: cover;
        background-position: center top;
        opacity: 0.04;
    }

    .products-section .section-header {
        padding: var(--space-4);
        margin-bottom: var(--space-6);
    }

    .category-filter {
        flex-direction: column;
        align-items: center;
        gap: var(--space-2);
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
        text-align: center;
    }
}

/* High-resolution display optimization */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .products-section::before {
        background-image: url('../images/featuredproducthero.png');
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {

    .products-section::before,
    .product-card::before,
    .filter-btn::before {
        transition: none;
        animation: none;
    }

    .products-section:hover::before,
    .product-card:hover,
    .filter-btn:hover {
        transform: none;
    }
}

/* Google Maps Section */
.map-section {
    margin-top: var(--space-16);
    padding: var(--space-12) 0;
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
}

.map-section .section-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.map-section .section-title {
    font-size: var(--text-3xl);
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
}

.map-section .section-subtitle {
    font-size: var(--text-lg);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.map-container {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: var(--white);
    max-width: 1000px;
    margin: 0 auto;
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}

.map-overlay {
    position: absolute;
    top: var(--space-6);
    left: var(--space-6);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
    box-shadow: var(--shadow-lg);
    max-width: 300px;
    z-index: 10;
}

.map-info h4 {
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: var(--space-3);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.map-info h4 i {
    color: var(--primary-color);
    font-size: var(--text-xl);
}

.map-info p {
    font-size: var(--text-sm);
    color: var(--gray-600);
    line-height: 1.5;
    margin-bottom: var(--space-4);
}

.map-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.map-actions .btn {
    justify-content: center;
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-4);
}

.map-actions .btn i {
    margin-right: var(--space-2);
}

/* Responsive Design for Map */
@media (max-width: 768px) {
    .map-section {
        margin-top: var(--space-12);
        padding: var(--space-8) var(--space-4);
    }

    .map-container {
        margin: 0 var(--space-4);
    }

    .map-container iframe {
        height: 300px;
    }

    .map-overlay {
        position: static;
        margin-top: var(--space-4);
        max-width: none;
        background: var(--white);
        backdrop-filter: none;
    }

    .map-actions {
        flex-direction: row;
        gap: var(--space-3);
    }

    .map-actions .btn {
        flex: 1;
        font-size: var(--text-xs);
        padding: var(--space-2) var(--space-3);
    }
}

@media (max-width: 480px) {
    .map-section .section-title {
        font-size: var(--text-2xl);
    }

    .map-section .section-subtitle {
        font-size: var(--text-base);
    }

    .map-container iframe {
        height: 250px;
    }

    .map-overlay {
        padding: var(--space-4);
    }

    .map-info h4 {
        font-size: var(--text-base);
    }

    .map-actions {
        flex-direction: column;
    }
}

/* Product Grid Styles */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    padding: var(--space-8) 0;
}

.product-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.product-image-container {
    width: 100%;
    height: 280px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    padding: var(--space-3);
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

/* Image Placeholder Styling */
.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    color: #64748b;
    font-size: var(--text-sm);
    font-weight: 500;
    text-align: center;
    padding: var(--space-4);
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: var(--space-3);
    color: #94a3b8;
    opacity: 0.6;
}

.image-placeholder p {
    margin: 0;
    font-size: var(--text-base);
    font-weight: 600;
    color: #475569;
}

.product-image-container img {
    position: relative;
    z-index: 1;
}

.product-image-container img[src*="placeholder"] {
    display: none;
}

.product-info {
    padding: var(--space-5);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: var(--text-lg);
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 0 var(--space-2) 0;
    font-family: var(--font-secondary);
}

.product-description {
    font-size: var(--text-sm);
    color: var(--gray-600);
    margin: 0;
    line-height: 1.5;
}

.product-specs {
    font-size: var(--text-xs);
    color: var(--gray-700);
    margin: var(--space-2) 0 0 0;
    line-height: 1.6;
    font-weight: 500;
}

/* Responsive Product Grid */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: var(--space-4);
        margin-bottom: var(--space-8);
        padding: var(--space-4) 0;
    }

    .product-image-container {
        height: 220px;
    }

    .product-info {
        padding: var(--space-4);
    }

    .product-title {
        font-size: var(--text-base);
    }

    .product-description {
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3);
    }

    .product-image-container {
        height: 250px;
    }
}

/* =============================================
   BRANDS SECTION - Enhanced Grid Layout
   ============================================= */

.brands-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-top: 50px;
}

.brand-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    position: relative;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2196F3, #1976D2, #0D47A1);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.brand-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(33, 150, 243, 0.2);
    border-color: #2196F3;
}

.brand-card:hover::before {
    transform: scaleX(1);
}

/* Brand Logo Wrapper - No Box, Larger Logo */
.brand-logo-wrapper {
    padding: 50px 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 200px;
    position: relative;
    overflow: hidden;
}

.brand-logo-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(33, 150, 243, 0.03) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.brand-logo-img {
    max-width: 300px;
    max-height: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.brand-card:hover .brand-logo-img {
    transform: scale(1.1);
    filter: drop-shadow(0 8px 20px rgba(33, 150, 243, 0.3));
}

.brand-icon-large {
    font-size: 5rem;
    color: #2196F3;
    filter: drop-shadow(0 4px 12px rgba(33, 150, 243, 0.3));
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.brand-card:hover .brand-icon-large {
    transform: scale(1.15) rotate(5deg);
    color: #1976D2;
}

/* Specific styling for Maxwrench Brand Card */
.maxwrench-card .brand-logo-wrapper {
    background: #0A0A0A;
    /* Deep charcoal to match Maxwrench theme */
    padding: 30px;
    min-height: 200px;
}

.maxwrench-card .brand-logo-wrapper::after {
    background: radial-gradient(circle, rgba(255, 140, 0, 0.1) 0%, transparent 70%);
}

.maxwrench-card .brand-logo-img {
    max-width: 85%;
    max-height: 120px;
    filter: drop-shadow(0 0 15px rgba(255, 140, 0, 0.3));
}

.maxwrench-card:hover {
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.2);
    border-color: #FF8C00;
}

.maxwrench-card:hover .brand-logo-img {
    filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.5));
    transform: scale(1.15);
}

.maxwrench-card::before {
    background: linear-gradient(90deg, #FF8C00, #FFA500, #FFD700);
}

/* Brand Content */
.brand-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 12px 0;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.brand-description {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.brand-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.category-tag {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1565c0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.category-tag:hover {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.brand-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.brand-link:hover::before {
    width: 300px;
    height: 300px;
}

.brand-link:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 25px rgba(33, 150, 243, 0.4);
}

.brand-link i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.brand-link:hover i {
    transform: translateX(5px);
}

.brand-link span {
    position: relative;
    z-index: 1;
}

/* Responsive Design for Brands */
@media (max-width: 1200px) {
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .brands-section {
        padding: 60px 0;
    }

    .brands-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-top: 40px;
    }

    .brand-card {
        border-radius: 16px;
    }

    .brand-logo-wrapper {
        padding: 40px 30px 25px;
        min-height: 180px;
    }

    .brand-logo-img {
        max-width: 250px;
        max-height: 170px;
    }

    .brand-icon-large {
        font-size: 4rem;
    }

    .brand-content {
        padding: 25px;
    }

    .brand-name {
        font-size: 1.4rem;
    }

    .brand-description {
        font-size: 0.9rem;
    }

    .category-tag {
        font-size: 0.75rem;
        padding: 5px 12px;
    }

    .brand-link {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .brands-grid {
        gap: 20px;
    }

    .brand-logo-wrapper {
        padding: 35px 20px 20px;
        min-height: 160px;
    }

    .brand-logo-img {
        max-width: 220px;
        max-height: 140px;
    }

    .brand-icon-large {
        font-size: 3.5rem;
    }

    .brand-content {
        padding: 20px;
    }

    .brand-name {
        font-size: 1.3rem;
    }

    .brand-description {
        font-size: 0.85rem;
        margin-bottom: 16px;
    }

    .brand-categories {
        gap: 6px;
        margin-bottom: 20px;
    }

    .category-tag {
        font-size: 0.7rem;
        padding: 4px 10px;
    }

    .brand-link {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   Category Listing Section - Text-based Categories
   ============================================ */
.category-listing-section {
    padding: 100px 20px 60px;
    background: linear-gradient(180deg, rgba(240, 249, 255, 0.8) 0%, rgba(255, 255, 255, 0.9) 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23f8fafc" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
}

.category-listing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-listing-column {
    text-align: left;
}

.category-listing-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    text-transform: none;
    letter-spacing: 0;
}

.category-listing-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-listing-items li {
    font-size: 0.9rem;
    color: #666;
    padding: 6px 0;
    font-family: 'Inter', sans-serif;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.category-listing-items li:hover {
    color: #3b82f6;
}

/* Responsive */
@media (max-width: 1024px) {
    .category-listing-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px 25px;
    }
}

@media (max-width: 768px) {
    .category-listing-section {
        padding: 90px 15px 40px;
    }

    .category-listing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }

    .category-listing-title {
        font-size: 0.95rem;
    }

    .category-listing-items li {
        font-size: 0.85rem;
        padding: 5px 0;
    }
}

@media (max-width: 480px) {
    .category-listing-section {
        padding: 80px 15px 30px;
    }

    .category-listing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px 15px;
    }

    .category-listing-title {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .category-listing-items li {
        font-size: 0.8rem;
        padding: 4px 0;
    }
}