/* ========================================
   HIKVISION KAZAKHSTAN - Modern E-Commerce
   Bright & Colorful Design with Animations
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary-color: #f59e0b;
    --secondary-dark: #d97706;
    --accent-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #06b6d4;
    --success-color: #10b981;
    
    --dark-color: #1e293b;
    --dark-light: #334155;
    --gray-color: #64748b;
    --gray-light: #94a3b8;
    --light-color: #f1f5f9;
    --white-color: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-accent: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-hero: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-rainbow: linear-gradient(135deg, #ef4444 0%, #f59e0b 25%, #10b981 50%, #3b82f6 75%, #8b5cf6 100%);
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(37, 99, 235, 0.3);
    --shadow-glow-secondary: 0 0 20px rgba(245, 158, 11, 0.3);
    
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --border-radius-xl: 30px;
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    color: var(--dark-color);
    background-color: var(--white-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

/* ========================================
   PRELOADER
   ======================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.loader-text {
    color: var(--white-color);
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 4px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ========================================
   TOP BAR
   ======================================== */
.top-bar {
    background: linear-gradient(90deg, var(--dark-color) 0%, var(--dark-light) 100%) !important;
    font-size: 0.85rem;
}

.top-bar i {
    font-size: 0.9rem;
}

.top-bar .text-warning {
    color: var(--secondary-color) !important;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.sticky-top {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95) !important;
}

.logo-bg {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px rgba(37, 99, 235, 0.5); }
    to { box-shadow: 0 0 20px rgba(37, 99, 235, 0.8); }
}

.brand-text {
    font-family: var(--font-primary);
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--dark-color) !important;
    padding: 10px 18px !important;
    position: relative;
    transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: calc(100% - 36px);
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-menu {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-xl);
    padding: 10px;
    margin-top: 10px !important;
}

.dropdown-item {
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--gradient-primary);
    color: white;
}

.search-box {
    position: relative;
}

.search-box input {
    border-radius: var(--border-radius-xl);
    padding-left: 40px;
    border: 2px solid var(--light-color);
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-light);
}

.btn-cart {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--light-color);
    border: none;
    transition: var(--transition);
}

.btn-cart:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: var(--danger-color);
    color: white;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.btn-login {
    border-radius: var(--border-radius-xl);
    padding: 10px 25px;
    font-weight: 600;
    border: 2px solid var(--primary-color);
    transition: var(--transition);
}

.btn-login:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   HERO SLIDER
   ======================================== */
.hero-slider {
    position: relative;
    min-height: 100vh;
}

.heroSwiper {
    height: 100vh;
    min-height: 700px;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.swiper-slide-active .slide-bg {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.9) 0%, rgba(59, 130, 246, 0.7) 50%, rgba(6, 182, 212, 0.6) 100%);
}

.slide-overlay.gradient-2 {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.9) 0%, rgba(217, 119, 6, 0.7) 50%, rgba(239, 68, 68, 0.6) 100%);
}

.slide-overlay.gradient-3 {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.9) 0%, rgba(5, 150, 105, 0.7) 50%, rgba(6, 182, 212, 0.6) 100%);
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.slide-subtitle {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 8px 20px;
    border-radius: var(--border-radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    animation: fadeInDown 0.8s ease;
}

.slide-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.slide-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 35px;
    line-height: 1.8;
}

.slide-buttons .btn {
    padding: 15px 35px;
    font-weight: 600;
    border-radius: var(--border-radius-xl);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.slide-buttons .btn-primary {
    background: var(--gradient-secondary);
    border: none;
    box-shadow: var(--shadow-glow-secondary);
}

.slide-buttons .btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.5);
}

.slide-buttons .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.slide-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    border-color: white;
    transform: translateY(-3px);
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    width: 30px;
    border-radius: 6px;
}

.swiper-button-next,
.swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--secondary-color);
    transform: scale(1.1);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

/* Features Bar */
.features-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 30px 0;
    z-index: 20;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 55px;
    height: 55px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-item:hover .feature-icon {
    transform: rotateY(360deg);
    box-shadow: var(--shadow-glow);
}

.feature-text h5 {
    font-size: 1rem;
    margin-bottom: 3px;
    color: var(--dark-color);
}

.feature-text p {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin: 0;
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section-header {
    margin-bottom: 50px;
}

.section-subtitle {
    display: inline-block;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.section-line {
    width: 80px;
    height: 4px;
    background: var(--gradient-rainbow);
    border-radius: 2px;
    margin: 0 auto;
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories-section {
    padding: 80px 0;
    background: var(--white-color);
}

.category-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
    transition: var(--transition-slow);
}

.category-card.small {
    height: 200px;
}

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

.category-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(30, 41, 59, 0.95) 0%, rgba(30, 41, 59, 0.5) 50%, rgba(30, 41, 59, 0.2) 100%);
    transition: var(--transition);
}

.category-card:hover .category-overlay {
    background: linear-gradient( to top, rgba(212, 47, 55, 0.95) 0%, rgba(212, 47, 55, 0.7) 30%, rgba(212, 47, 55, 0.3) 80%);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    color: white;
    z-index: 10;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.category-card:hover .category-icon {
    transform: scale(1.1) rotate(10deg);
}

.category-content h3,
.category-content h4 {
    font-weight: 700;
    margin-bottom: 8px;
}

.category-content p {
    opacity: 0.9;
    margin-bottom: 15px;
}

.category-content .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.category-card:hover .category-content .btn {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products-section {
    padding: 80px 0;
    background: var(--light-color);
}

.product-filter {
    margin-bottom: 40px;
}

.btn-filter {
    padding: 10px 25px;
    margin: 5px;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    color: var(--gray-color);
    background: white;
    border: 2px solid transparent;
    transition: var(--transition);
}

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

.product-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: var(--shadow-xl);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.product-badges .badge {
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
}

.product-image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-height: 180px;
    object-fit: contain;
    transition: var(--transition-slow);
}

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

.product-actions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 10px;
    opacity: 0;
    transition: var(--transition);
}

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

.btn-action {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    transform: translateY(20px);
}

.product-card:hover .btn-action {
    transform: translateY(0);
}

.btn-action:nth-child(2) {
    transition-delay: 0.1s;
}

.btn-action:nth-child(3) {
    transition-delay: 0.2s;
}

.btn-action:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-rating {
    color: var(--secondary-color);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.product-rating span {
    color: var(--gray-light);
    margin-left: 5px;
}

.product-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}
.product-title a{
    color: var(--dark-color);
}
.product-desc {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-bottom: 15px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.old-price {
    font-size: 0.9rem;
    color: var(--gray-light);
    text-decoration: line-through;
}

.current-price {
    font-size: 16px;
    font-weight: 800;
    color: #d42f37;
}

.btn-add-cart {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 12px;
    background: var(--gradient-primary);
    border: none;
    transition: var(--transition);
}

.btn-add-cart:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   PROMO BANNER
   ======================================== */
.promo-banner {
    padding: 80px 0;
    background: var(--gradient-rainbow);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.promo-content {
    position: relative;
    z-index: 10;
    color: white;
}

.promo-subtitle {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--border-radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.promo-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.promo-desc {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 500px;
}

.promo-form .input-group {
    background: white;
    border-radius: var(--border-radius-xl);
    padding: 5px;
    box-shadow: var(--shadow-xl);
}

.promo-form .form-control {
    border: none;
    padding: 15px 20px;
    font-size: 1rem;
}

.promo-form .form-control:focus {
    box-shadow: none;
}

.promo-form .btn-warning {
    background: var(--gradient-secondary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: var(--border-radius-xl);
}

.promo-note {
    margin-top: 15px;
    font-size: 0.9rem;
    opacity: 0.9;
}

.promo-image {
    position: relative;
    text-align: center;
}

.promo-image img {
    max-height: 400px;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.promo-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 120px;
    height: 120px;
    background: var(--danger-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.5);
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.badge-percent {
    font-size: 2rem;
    font-weight: 800;
}

.badge-text {
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   SOLUTIONS SECTION
   ======================================== */
.solutions-section {
    padding: 80px 0;
    background: var(--white-color);
}

.solution-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 35px;
    height: 100%;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 2px solid transparent;
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.solution-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
    transition: var(--transition);
}

.solution-card:hover .solution-icon {
    transform: rotateY(360deg);
    box-shadow: var(--shadow-glow);
}

.solution-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.solution-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
}

.solution-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--dark-light);
    font-size: 0.95rem;
}

.solution-features li i {
    color: var(--success-color);
    font-size: 1.1rem;
}

.solution-card .btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 10px 25px;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: 80px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.stat-item {
    text-align: center;
    color: white;
    position: relative;
    z-index: 10;
}

.stat-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--secondary-color);
    transform: rotateY(360deg);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: 80px 0;
}

.testimonialSwiper {
    padding: 20px 10px 50px;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 35px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.testimonial-rating {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--dark-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.author-info p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0;
}

/* ========================================
   BRANDS SECTION
   ======================================== */
.brands-section {
    background: var(--light-color);
    padding: 40px 0;
}

.brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--dark-color);
    transition: var(--transition);
}

.brand-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.05);
}

.brand-item i {
    font-size: 1.5rem;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact-section {
    padding: 80px 0;
    background: var(--white-color);
}

.contact-desc {
    color: var(--gray-color);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contact-items {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

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

.contact-item:hover .contact-icon {
    transform: rotateY(360deg);
    box-shadow: var(--shadow-glow);
}

.contact-text h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

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

.contact-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.contact-form-wrapper {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: var(--dark-color);
}

.form-floating .form-control,
.form-floating .form-select {
    border: 2px solid var(--light-color);
    border-radius: var(--border-radius);
}

.form-floating .form-control:focus,
.form-floating .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

/* ========================================
   MAP SECTION
   ======================================== */
.map-section iframe {
    filter: grayscale(20%);
    transition: var(--transition);
}

.map-section iframe:hover {
    filter: grayscale(0%);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-color);
    color: white;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-brand .brand-text {
    background: linear-gradient(135deg, white 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 25px;
}

.footer-payments {
    margin-top: 20px;
}

.payment-title {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-light);
    margin-bottom: 10px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    font-size: 1.8rem;
    color: var(--gray-light);
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
}

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

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

.footer-links a {
    color: var(--gray-light);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

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

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--gray-light);
}

.footer-contact li i {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid var(--dark-light);
    padding: 25px 0;
}

.copyright {
    color: var(--gray-light);
    margin: 0;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--gray-light);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--secondary-color);
}

/* ========================================
   CART OFFCANVAS
   ======================================== */
.offcanvas {
    border-radius: var(--border-radius-lg) 0 0 var(--border-radius-lg);
}

.offcanvas-header {
    border-bottom: 1px solid var(--light-color);
    padding: 25px;
}

.offcanvas-title {
    font-weight: 700;
    font-size: 1.3rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--light-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.cart-item:hover {
    background: white;
    box-shadow: var(--shadow);
}

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--border-radius);
    background: white;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h6 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

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

.cart-item-qty span {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.cart-item-remove {
    padding: 5px;
}

.offcanvas-footer {
    padding: 25px;
    border-top: 1px solid var(--light-color);
    background: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.cart-total-price {
    font-weight: 800;
    color: var(--primary-color);
    font-size: 1.4rem;
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 1.3rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 1000;
    box-shadow: var(--shadow-glow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.5);
}

/* ========================================
   ANIMATIONS
   ======================================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1199px) {
    .heroSwiper {
        height: auto;
        min-height: 600px;
    }
    
    .slide-content {
        padding: 120px 0 200px;
    }
    
    .features-bar {
        position: relative;
        background: white;
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: var(--border-radius);
        box-shadow: var(--shadow-lg);
        margin-top: 15px;
    }
    
    .search-box {
        margin: 15px 0;
    }
    
    .slide-title {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .promo-image {
        margin-top: 40px;
    }
}

@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-desc {
        font-size: 1rem;
    }
    
    .slide-buttons .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .category-card {
        height: 280px;
    }
    
    .promo-badge {
        width: 90px;
        height: 90px;
    }
    
    .badge-percent {
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 25px;
    }
}

@media (max-width: 575px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ========================================
   CUSTOM SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light-color);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========================================
   SELECTION
   ======================================== */
::selection {
    background: #d42f37;
    color: white;
}

/* ========================================
   FOCUS STYLES
   ======================================== */
:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* ========================================
   BUTTON VARIANTS
   ======================================== */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-warning {
    background: var(--gradient-secondary);
    border: none;
    color: white;
}

.btn-warning:hover {
    background: var(--gradient-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-secondary);
}

.btn-danger {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border: none;
}

.btn-success {
    background: var(--gradient-accent);
    border: none;
}

/* ========================================
   ALERTS & NOTIFICATIONS
   ======================================== */
.alert {
    border-radius: var(--border-radius);
    border: none;
}

.toast {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: var(--shadow-xl);
}

.category-content h3{
    color:#fff;
}
.category-content h4{
    color:#fff;
}
.category-content .btn.btn-outline-light.btn-sm{
    padding: 5px 10px;
  font-size: 12px;
  line-height: 1.5;
  border-radius: 3px;
  --bs-btn-padding-y: 0.25rem;
  --bs-btn-padding-x: 0.5rem;
  --bs-btn-font-size: 0.875rem;
  --bs-btn-border-radius: var(--bs-border-radius-sm);
  --bs-btn-color: #f8f9fa;
  --bs-btn-border-color: #f8f9fa;
  background: none;
  border: 1px solid #fff;
}
.category-content .btn.btn-outline-light.btn-sm:hover{
    color: var(--bs-btn-hover-color);
  background-color: var(--bs-btn-hover-bg);
  border-color: var(--bs-btn-hover-border-color);
}