/* ══════════════════════════════════
   GLOBAL SCROLLBAR
   ══════════════════════════════════ */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--gray-50); }
::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 10px; transition: var(--transition); }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* Selection Color */
::selection { background: var(--primary); color: white; }

:root {
    /* Colors */
    --primary: #e30613;
    --primary-dark: #b8050f;
    --primary-light: #ffebec;
    --dark: #121212;
    --dark-light: #1e1e1e;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    
    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 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-premium: 0 30px 60px rgba(0, 0, 0, 0.12);

    /* Layout */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --container: 1400px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Inter', sans-serif;
}

body {
    background-color: var(--gray-50);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 900;
    line-height: 1.2;
}

/* Layout Components */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 30px;
}

/* Header & Nav */
header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
  
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    max-width: var(--container);
    margin: 0 auto;
    gap: 20px;
  
}

.search-container {
    flex: 1;
    max-width: 500px;
    position: relative;
    margin: 0;
    
}

.search-container input {
    width: 100%;
    padding: 14px 25px;
    padding-right: 50px;
    background: var(--gray-100);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.search-container input:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.search-container i {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
   
}

.nav-icons a {
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-600);
}

.nav-icons a:hover {
    color: var(--primary);
}

.nav-icons i {
    font-size: 20px;
}

.categories-bar {
    background: var(--white);
    border-top: 1px solid var(--gray-100);
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 15px 30px;
}

.categories-bar a {
    font-size: 13px;
    font-weight: 800;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.categories-bar a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.categories-bar a:hover:after, .categories-bar a.active:after {
    width: 100%;
}

.categories-bar a:hover, .categories-bar a.active {
    color: var(--primary);
}

/* Cards */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.card:hover {
    box-shadow: var(--shadow-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 6, 19, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray-200);
    color: var(--gray-600);
}

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

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

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

.product-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .main-img {
    opacity: 0;
    transform: scale(1.1);
}

.product-card:hover .hover-img {
    opacity: 1 !important;
    transform: scale(1.05);
}

.hover-img {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 40px) !important;
    height: calc(100% - 40px) !important;
    opacity: 0;
    z-index: 1;
}

.product-name {
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 48px;
}

.product-price {
    font-size: 22px;
    font-weight: 900;
    color: var(--primary);
}

/* Badges */
.badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 15px;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-100);
}

td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--gray-100);
}

/* Admin Sidebar */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 280px;
    background: var(--dark);
    color: white;
    padding: 40px 20px;
    position: fixed;
    height: 100vh;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: var(--radius-sm);
    color: var(--gray-400);
    font-weight: 700;
    margin-bottom: 5px;
}

.sidebar-nav a:hover, .sidebar-nav a.active {
    background: var(--primary);
    color: white;
}

.admin-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
}

/* Account Dropdown */
.header-account-dropdown:hover .account-menu {
    display: block !important;
}

.account-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    border-radius: 15px;
    padding: 10px;
    display: none;
    z-index: 1000;
    border: 1px solid var(--gray-100);
    margin-top: 15px;
    animation: slideUp 0.3s ease;
}

.account-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid var(--gray-100);
    border-left: 1px solid var(--gray-100);
}

.account-menu a, .account-menu button {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    border-radius: 10px;
    transition: all 0.3s ease;
    width: 100%;
    text-align: left;
    border: none;
    background: none;
    cursor: pointer;
}

.account-menu a:hover, .account-menu button:hover {
    background: var(--gray-50);
    color: var(--primary);
    transform: translateX(5px);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =======================================
   NEW HOMEPAGE STYLES
======================================= */

/* HERO SLIDER */
.hero-slider-wrapper { margin-top: 20px; }
.hero-slider { position: relative; overflow: hidden; border-radius: 20px; height: 580px; background: var(--dark); }
.hero-slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: all; }
.hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 8s ease; }
.hero-slide.active .hero-slide-bg { transform: scale(1.05); }
.hero-slide-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.1) 100%); }
.hero-slide-content { position: relative; z-index: 2; }
.hero-text { max-width: 650px; }
.hero-badge { background: var(--primary); color: white; padding: 6px 18px; border-radius: 50px; font-size: 11px; font-weight: 900; letter-spacing: 2px; display: inline-block; margin-bottom: 20px; }
.hero-title { color: white; font-size: 64px; font-weight: 900; line-height: 1.05; margin-bottom: 20px; letter-spacing: -2px; }
.hero-accent { color: var(--primary); }
.hero-desc { color: #bbb; font-size: 18px; margin-bottom: 40px; line-height: 1.6; max-width: 500px; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; }
.btn-hero { padding: 18px 40px; font-size: 15px; border-radius: 50px; }
.btn-hero-outline { display: inline-flex; align-items: center; gap: 10px; padding: 18px 40px; border-radius: 50px; border: 2px solid rgba(255,255,255,0.5); color: white; font-weight: 800; font-size: 14px; transition: var(--transition); text-transform: uppercase; }
.btn-hero-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }

/* SLIDER CONTROLS */
.slider-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: white; font-size: 18px; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.slider-nav:hover { background: var(--primary); border-color: var(--primary); }
.slider-prev { left: 25px; }
.slider-next { right: 25px; }
.slider-dots { position: absolute; bottom: 25px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 10; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: var(--transition); padding: 0; }
.slider-dot.active { width: 30px; border-radius: 4px; background: var(--primary); }
.slider-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.1); }
.slider-progress-bar { height: 100%; background: var(--primary); width: 0; }

/* FEATURES STRIP */
.features-strip { background: white; border-bottom: 1px solid var(--gray-100); padding: 25px 0; margin-top: 30px; box-shadow: var(--shadow-sm); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 15px; }
.feature-icon { width: 52px; height: 52px; background: var(--primary-light); color: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.feature-text strong { display: block; font-weight: 900; font-size: 14px; }
.feature-text small { color: var(--gray-500); font-weight: 600; }

/* SECTION */
.section-block { padding: 80px 0; }
.section-dark-bg { background: var(--gray-50); }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 50px; }
.center-header { justify-content: center; text-align: center; }
.section-title { font-size: 36px; font-weight: 900; letter-spacing: -1.5px; }
.section-sub { color: var(--gray-500); font-size: 16px; margin-top: 8px; }
.see-all-link { color: var(--primary); font-weight: 900; text-transform: uppercase; font-size: 13px; letter-spacing: 1px; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.text-primary { color: var(--primary); }

/* CATEGORIES SHOWCASE */
.categories-showcase { display: grid; grid-template-columns: repeat(8, 1fr); gap: 15px; }
.cat-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 25px 15px; background: white; border-radius: 16px; border: 1px solid var(--gray-100); transition: var(--transition); text-decoration: none; color: var(--dark); }
.cat-card:hover { border-color: var(--primary); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.cat-icon { width: 55px; height: 55px; background: var(--primary-light); color: var(--primary); border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; transition: var(--transition); }
.cat-card:hover .cat-icon { background: var(--primary); color: white; }
.cat-name { font-weight: 800; font-size: 13px; text-align: center; }
.cat-count { color: var(--gray-400); font-size: 11px; font-weight: 600; }

/* HOME PRODUCTS GRID */
.products-grid-home { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; perspective: 1000px; }
.product-card-home { 
    background: white; 
    border-radius: 20px; 
    overflow: hidden; 
    border: 1px solid var(--gray-100); 
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    position: relative; 
    display: flex; 
    flex-direction: column; 
    transform-style: preserve-3d;
}
.recently-viewed-card {
    flex: 0 0 250px;
    width: 250px;
    min-width: 250px;
}
.recently-viewed-card .product-img-wrap {
    height: 250px;
    aspect-ratio: auto;
}
.product-card-home:hover { 
    transform: translateY(-12px) rotateX(4deg) rotateY(-2deg); 
    box-shadow: 0 30px 60px rgba(0,0,0,0.15); 
    border-color: var(--primary-light);
}
[data-aos] { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-aos].visible { opacity: 1; transform: translateY(0); }
.product-badge-discount { 
    position: absolute; 
    top: 12px; 
    left: 12px; 
    background: var(--primary); 
    color: white; 
    font-size: 10px; 
    font-weight: 900; 
    padding: 6px 12px; 
    border-radius: 50px; 
    z-index: 5; 
    box-shadow: 0 4px 10px rgba(227,6,19,0.3);
    animation: badgePulse 2s infinite;
}
@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); box-shadow: 0 4px 20px rgba(227,6,19,0.5); }
    100% { transform: scale(1); }
}
.product-fav-btn { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); z-index: 10; color: var(--gray-300); transition: var(--transition); }
.product-fav-btn:hover, .product-fav-btn.active { color: var(--primary); transform: scale(1.1); }
.product-img-wrap { display: block; overflow: hidden; background: var(--gray-50); padding: 20px; position: relative; aspect-ratio: 1; }
.product-main-img { width: 100%; height: 100%; object-fit: contain; transition: var(--transition); position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); color: transparent; }
.product-hover-img { position: absolute; inset: 20px; width: calc(100% - 40px); height: calc(100% - 40px); object-fit: contain; opacity: 0; transition: var(--transition); color: transparent; }
.product-card-home:hover .product-main-img { opacity: 0.85; filter: blur(4px); }
.product-card-home:hover .product-hover-img { opacity: 0.85; filter: blur(4px); }
.product-overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(0,0,0,0.4); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    opacity: 0; 
    transition: all 0.4s ease; 
    z-index: 10; 
    backdrop-filter: blur(4px); 
}
.product-card-home:hover .product-overlay { opacity: 1; }

.overlay-btn { 
    width: 48px; 
    height: 48px; 
    background: white; 
    color: var(--dark); 
    border: none; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 18px; 
    cursor: pointer; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    transform: translateY(40px) scale(0.5); 
}
.product-card-home:hover .overlay-btn { transform: translateY(0) scale(1); }
.product-card-home:hover .overlay-btn:nth-child(2) { transition-delay: 0.1s; }

.overlay-btn:hover { background: var(--primary); color: white; transform: translateY(-5px) scale(1.1) !important; }

.product-card-home::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: none;
    z-index: 15;
    pointer-events: none;
}
.product-card-home:hover::after {
    left: 150%;
    transition: all 0.8s ease;
}
.product-info-wrap { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-brand { font-size: 11px; color: var(--gray-400); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.product-title-link { color: var(--dark); }
.product-title-home { font-size: 14px; font-weight: 800; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-price-row { display: flex; align-items: center; gap: 10px; margin-top: 4px; }
.product-old-price { font-size: 13px; color: var(--gray-400); text-decoration: line-through; }
.product-new-price { font-size: 20px; font-weight: 900; color: var(--primary); }
.product-stock-row { margin-top: 4px; }
.stock-badge { font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; }
.stock-ok { color: var(--success); }
.stock-low { color: var(--warning); }
.stock-out { color: var(--danger); }
.btn-add-cart { display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--primary); color: white; padding: 14px; border-radius: 10px; font-weight: 900; font-size: 13px; letter-spacing: 0.5px; transition: var(--transition); margin-top: auto; }
.btn-add-cart:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* HORIZONTAL SCROLL */
.scroll-nav { display: flex; gap: 10px; }
.scroll-btn { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--gray-200); background: white; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); font-size: 14px; color: var(--gray-600); }
.scroll-btn:hover { border-color: var(--primary); color: var(--primary); }
.products-horizontal { display: flex; gap: 20px; overflow-x: auto; padding-bottom: 15px; scroll-behavior: smooth; -ms-overflow-style: none; scrollbar-width: none; }
.products-horizontal::-webkit-scrollbar { display: none; }
.product-h-card { 
    min-width: 240px; 
    background: white; 
    border-radius: 18px; 
    overflow: hidden; 
    border: 1px solid var(--gray-100); 
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); 
    flex-shrink: 0; 
}
.product-h-card:hover { 
    transform: translateY(-8px) scale(1.02); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.1); 
    border-color: var(--primary-light);
}
.product-h-img-wrap { display: block; overflow: hidden; background: var(--gray-50); padding: 15px; position: relative; }
.product-h-img-wrap img { width: 100%; height: 160px; object-fit: contain; transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1); }
.product-h-card:hover img { transform: scale(1.1) rotate(2deg); }
.product-h-info { padding: 15px; }
.product-h-info h4 { font-size: 13px; font-weight: 800; line-height: 1.4; margin-bottom: 8px; color: var(--dark); }
.product-h-price { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.h-old { font-size: 12px; color: var(--gray-400); text-decoration: line-through; }
.h-new { font-size: 16px; font-weight: 900; color: var(--primary); }
.btn-h-cart { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: var(--primary); color: white; border-radius: 8px; font-size: 14px; transition: var(--transition); float: right; }
.btn-h-cart:hover { background: var(--primary-dark); }

/* STATS SECTION */
.stats-section { background: var(--dark); padding: 80px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat-item { text-align: center; color: white; }
.stat-number { font-size: 56px; font-weight: 900; line-height: 1; color: var(--primary); display: inline; }
.stat-plus { font-size: 40px; font-weight: 900; color: var(--primary); display: inline; }
.stat-label { color: #999; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; margin-top: 10px; }

/* SERVICE BANNER */
.service-banner { background: linear-gradient(135deg, var(--primary) 0%, #a0040d 100%); padding: 80px 0; }
.service-banner-inner { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.service-banner-text { max-width: 600px; color: white; }
.service-banner-badge { background: rgba(255,255,255,0.2); color: white; padding: 6px 18px; border-radius: 50px; font-size: 11px; font-weight: 900; letter-spacing: 2px; display: inline-block; margin-bottom: 20px; }
.service-banner-text h2 { font-size: 48px; font-weight: 900; line-height: 1.1; letter-spacing: -2px; }
.service-banner-text h2 span { opacity: 0.85; }
.service-banner-text p { margin-top: 20px; font-size: 17px; opacity: 0.9; line-height: 1.6; }
.service-banner-actions { display: flex; gap: 15px; margin-top: 40px; flex-wrap: wrap; }
.btn-white-solid { background: white; color: var(--primary); padding: 18px 35px; border-radius: 50px; font-weight: 900; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; transition: var(--transition); }
.btn-white-solid:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.btn-white-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); padding: 18px 35px; border-radius: 50px; font-weight: 900; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; transition: var(--transition); }
.btn-white-outline:hover { border-color: white; background: rgba(255,255,255,0.1); }
.service-banner-cards { display: flex; flex-direction: column; gap: 15px; min-width: 320px; }
.service-mini-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.2); border-radius: 14px; padding: 18px 22px; display: flex; align-items: center; gap: 18px; color: white; transition: var(--transition); }
.service-mini-card:hover { background: rgba(255,255,255,0.2); transform: translateX(5px); }
.service-mini-icon { width: 44px; height: 44px; background: rgba(255,255,255,0.15); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.service-mini-card strong { display: block; font-size: 14px; font-weight: 800; }
.service-mini-card small { color: rgba(255,255,255,0.7); font-size: 12px; }

/* TESTIMONIALS */
.testimonials-slider { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.testimonial-card { background: white; border-radius: 16px; padding: 30px; border: 1px solid var(--gray-100); transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.testimonial-stars { color: #f59e0b; font-size: 14px; margin-bottom: 15px; }
.testimonial-text { color: var(--gray-600); font-size: 14px; line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 42px; height: 42px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; flex-shrink: 0; }
.testimonial-author strong { display: block; font-size: 14px; font-weight: 800; }
.testimonial-author small { color: var(--gray-500); font-size: 12px; }

/* PAGE HERO */
.page-hero { position: relative; height: 350px; display: flex; align-items: center; overflow: hidden; border-radius: 20px; margin-bottom: 60px; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%); }
.page-hero-content { position: relative; z-index: 2; color: white; }
.page-hero-content h1 { font-size: 56px; font-weight: 900; letter-spacing: -2px; margin: 15px 0; }
.page-hero-content p { font-size: 18px; opacity: 0.85; max-width: 500px; }

/* SERVICES PAGE */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
@media (max-width: 1200px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .services-grid { grid-template-columns: 1fr; gap: 15px; } }
.service-full-card { background: white; border-radius: 16px; overflow: hidden; border: 1px solid var(--gray-100); transition: var(--transition); position: relative; }
.service-full-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-premium); }
.service-card-tag { position: absolute; top: 15px; right: 15px; background: #f59e0b; color: white; font-size: 10px; font-weight: 900; padding: 4px 10px; border-radius: 50px; z-index: 5; }
.service-card-header { padding: 35px 25px; color: white; }
.service-card-icon { width: 60px; height: 60px; background: rgba(255,255,255,0.15); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 15px; }
.service-card-header h3 { font-size: 20px; font-weight: 900; }
.service-card-body { padding: 25px; }
.service-card-body p { color: var(--gray-600); font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.service-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.service-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; font-weight: 600; color: var(--gray-700); }
.service-features li i { color: var(--success); margin-top: 2px; flex-shrink: 0; }
.service-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--gray-100); }
.service-price { font-size: 13px; font-weight: 800; color: var(--primary); }
.btn-sm { padding: 10px 20px; font-size: 12px; border-radius: 8px; }

/* HOW IT WORKS */
.how-it-works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; }
.how-it-works::before { content: ''; position: absolute; top: 35px; left: 12.5%; right: 12.5%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--primary)); z-index: 0; }
.how-step { text-align: center; position: relative; z-index: 1; }
.how-step-num { font-size: 12px; font-weight: 900; color: var(--primary); letter-spacing: 1px; margin-bottom: 15px; }
.how-step-icon { width: 70px; height: 70px; background: white; border: 3px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); margin: 0 auto 20px; box-shadow: 0 10px 30px rgba(227,6,19,0.15); }
.how-step h4 { font-size: 16px; font-weight: 900; margin-bottom: 10px; }
.how-step p { color: var(--gray-500); font-size: 13px; line-height: 1.6; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 15px; max-width: 800px; margin: 0 auto; }
.faq-item { background: white; border-radius: 14px; border: 1px solid var(--gray-100); overflow: hidden; }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 25px; background: none; border: none; cursor: pointer; font-weight: 800; font-size: 15px; text-align: left; gap: 20px; transition: var(--transition); }
.faq-question:hover { color: var(--primary); }
.faq-item.open .faq-question { color: var(--primary); }
.faq-icon { transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 25px 22px; color: var(--gray-600); font-size: 14px; line-height: 1.7; }

/* SERVICE FORM */
.service-form-section { background: var(--dark); padding: 100px 0; }
.service-form-wrapper { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.service-form-left { color: white; }
.service-form-left h2 { font-size: 44px; font-weight: 900; letter-spacing: -2px; margin: 15px 0; text-transform: uppercase; }
.service-form-left h2 span { color: var(--primary); }
.service-form-left p { color: #999; font-size: 16px; line-height: 1.7; margin-top: 15px; }
.contact-infos { display: flex; flex-direction: column; gap: 20px; margin-top: 40px; }
.contact-info-item { display: flex; align-items: center; gap: 18px; }
.contact-info-icon { width: 46px; height: 46px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; color: white; flex-shrink: 0; }
.contact-info-item strong { display: block; font-size: 13px; color: #999; font-weight: 700; }
.contact-info-item span { font-size: 15px; font-weight: 800; color: white; }
.service-form-right { background: white; border-radius: 20px; padding: 45px; }
.service-request-form { display: flex; flex-direction: column; gap: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group-custom { display: flex; flex-direction: column; gap: 8px; }
.form-group-custom label { font-weight: 800; font-size: 13px; color: var(--gray-700); }
.form-input-custom { padding: 14px 18px; border: 2px solid var(--gray-200); border-radius: 10px; font-size: 14px; outline: none; transition: var(--transition); width: 100%; font-family: inherit; }
.form-input-custom:focus { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-light); }
.form-input-custom.error { border-color: var(--danger); }
.form-error { color: var(--danger); font-size: 12px; font-weight: 700; }
.alert-success-custom { background: var(--success); color: white; padding: 15px 20px; border-radius: 10px; display: flex; align-items: center; gap: 12px; font-weight: 700; margin-bottom: 20px; }
/* =======================================
   RESPONSIVENESS & REFINEMENTS
======================================= */

@media (max-width: 1200px) {
    :root { --container: 1140px; }
    .hero-title { font-size: 52px; }
    .categories-showcase { grid-template-columns: repeat(6, 1fr); }
    .products-grid-home { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    :root { --container: 960px; }
    .top-bar { flex-wrap: wrap; padding: 15px 20px; }
    .logo-container { order: 1; }
    .nav-icons { order: 2; }
    .search-container { order: 3; flex: 1 1 100%; margin: 10px 0 0 0; max-width: none; }
    .hero-title { font-size: 42px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .categories-showcase { grid-template-columns: repeat(4, 1fr); }
    .products-grid-home { grid-template-columns: repeat(2, 1fr); }
    .service-banner-inner { flex-direction: column; text-align: center; }
    .service-banner-text { max-width: 100%; }
    .service-banner-actions { justify-content: center; }
    .service-banner-cards { width: 100%; margin-top: 30px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-slider { grid-template-columns: repeat(2, 1fr); }
    footer div[style*="grid-template-columns"] { grid-template-columns: 1fr 1fr !important; gap: 40px !important; }
}

@media (max-width: 768px) {
    :root { --container: 720px; }
    .hero-slider { height: 500px; }
    .hero-title { font-size: 32px; }
    .hero-desc { font-size: 16px; }
    .section-title { font-size: 28px; }
    .categories-showcase { grid-template-columns: repeat(3, 1fr); }
    .testimonials-slider { grid-template-columns: 1fr; }
    .page-hero {
        height: auto;
        min-height: 220px;
        margin-bottom: 40px;
        border-radius: 16px;
    }
    .page-hero-content {
        width: 100%;
        box-sizing: border-box;
        padding: 28px 18px;
    }
    .page-hero-content h1 {
        font-size: clamp(28px, 9vw, 40px);
        line-height: 1.05;
        letter-spacing: -1px;
        margin: 10px 0 12px;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-word;
    }
    .page-hero-content p {
        font-size: 15px;
        line-height: 1.5;
        max-width: 100%;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 576px) {
    :root { --container: 540px; }
    .top-bar { padding: 10px 15px; }
    .logo-container img { height: 40px !important; }
    .nav-icons { gap: 15px; }
    .nav-icons span { display: none !important; }
    .hero-slider { height: 450px; }
    .hero-title { font-size: 28px; }
    .hero-actions { flex-direction: column; }
    .btn-hero, .btn-hero-outline { width: 100%; text-align: center; justify-content: center; }
    .features-grid { grid-template-columns: 1fr; }
    .categories-showcase { grid-template-columns: repeat(2, 1fr); }
    .products-grid-home { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .page-hero-content {
        padding: 24px 16px;
    }
    .page-hero-content h1 {
        font-size: clamp(26px, 10vw, 34px);
    }
    .page-hero-content p {
        font-size: 14px;
    }
    .page-hero .hero-actions,
    .page-hero .page-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .page-hero .hero-actions > a,
    .page-hero .page-hero-actions > a {
        width: 100%;
        justify-content: center;
    }
    footer div[style*="grid-template-columns"] { grid-template-columns: 1fr !important; gap: 30px !important; }
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ══════════════════════════════════
   FLOATING WHATSAPP BUTTON
   ══════════════════════════════════ */
.whatsapp-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(37,211,102,0.4);
    z-index: 2000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    text-decoration: none;
}
.whatsapp-fab:hover { transform: scale(1.1) rotate(10deg); box-shadow: 0 15px 35px rgba(37,211,102,0.6); }

.whatsapp-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #25d366;
    border-radius: 50%;
    z-index: -1;
    animation: fabRipple 2s infinite;
}

@keyframes fabRipple {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.8); opacity: 0; }
}

/* Section Background Patterns */
.bg-dots {
    background-image: radial-gradient(var(--gray-200) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Premium Button Shine */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: none;
}
.btn-shine:hover::after {
    left: 150%;
    transition: all 0.6s ease;
}

/* ==================================
   PREMIUM UTILITIES
   ================================== */

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

.premium-glow-red:hover {
    box-shadow: 0 20px 40px rgba(227, 6, 19, 0.15);
}

.premium-glow-dark:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.floating-anim {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes pulse-soft {
    0% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 0.8; }
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
}

/* Mega Menu Box Styles */
.mega-menu-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
    transition: all 0.3s ease;
    text-decoration: none;
}

.mega-menu-box:hover {
    background: var(--primary-light);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.mega-menu-box-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 8px;
    color: var(--primary);
    font-size: 14px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.mega-menu-box-title {
    font-weight: 800;
    font-size: 13px;
    color: var(--dark);
}
