/* ============================================
   CHIRAG BATTERIES - PREMIUM MODERN DESIGN
   Mobile-First, Clean, Professional
   ============================================ */

:root {
    /* BRAND COLORS - CORE */
    --primary: #0066cc;
    /* Professional Blue */
    --primary-dark: #004c99;
    --primary-light: #e6f0ff;

    --secondary: #ff6b35;
    /* Energetic Orange */
    --secondary-hover: #e65520;

    --accent: #f59e0b;
    /* Amber Accent */

    --success: #10b981;
    /* Trust Green */
    --alert: #ef4444;
    /* Warning Red */
    --alert-dark: #b91c1c;

    /* NEUTRALS */
    --dark: #1f2937;
    --gray-900: #111827;
    /* Footer BG */
    --gray-800: #1f2937;
    --gray-700: #374151;
    /* Text Body */
    --gray-500: #6b7280;
    /* Subtitles */
    --gray-300: #d1d5db;
    /* Borders */
    --gray-100: #f3f4f6;
    /* Light BG */
    --white: #ffffff;

    /* SHADOWS & EFFECTS */
    --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-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --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);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-in-out;
    --spacing-unit: 0.25rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-900);
    line-height: 1.6;
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.875rem);
}

h4 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
}

p {
    margin-bottom: 1rem;
    color: var(--gray-700);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lazy Loading */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-align: center;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    box-shadow: var(--shadow);
}

.btn-whatsapp:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: var(--secondary);
    color: var(--white);
    border: 2px solid var(--secondary);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    width: 100%;
    display: block;
    text-align: center;
    border-radius: 0.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn-outline:hover {
    background: var(--secondary-hover);
    color: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* ===================
   TOP BAR
   =================== */
.top-bar {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-info a {
    color: var(--white);
    opacity: 0.95;
}

.contact-info a:hover {
    opacity: 1;
    text-decoration: underline;
}

.back-home-link {
    font-weight: 700;
    color: var(--secondary) !important;
    margin-right: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.back-home-link:hover {
    color: var(--white) !important;
    text-decoration: none !important;
}

.separator {
    opacity: 0.3;
}

.language-switch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-switch button {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
    transition: var(--transition-fast);
}

.language-switch button.active {
    color: var(--white);
    font-weight: 700;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 0.25rem;
}

.language-switch button:hover {
    color: var(--white);
}

/* ===================
   NAVBAR - STICKY
   =================== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    top: 0;
    z-index: 1100;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon-wrapper {
    position: relative;
    width: 50px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-wrapper .main-icon {
    font-size: 2.2rem;
    color: var(--primary);
}

.logo-icon-wrapper .sub-icon {
    position: absolute;
    font-size: 1.2rem;
    color: var(--secondary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    paint-order: stroke fill;
    -webkit-text-stroke: 2px var(--white);
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin: 0;
}

.logo p {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0;
}

/* Mobile Menu Styles */
.nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 0;
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    display: flex;
    /* Always flex, hidden by height */
    gap: 0;
}

.nav-menu.active {
    max-height: 400px;
    /* Open state */
    padding: 1rem 0;
    border-top: 1px solid var(--gray-100);
}

.nav-menu li {
    width: 100%;
    text-align: center;
}

.nav-menu a {
    display: block;
    padding: 1rem;
    font-weight: 500;
    color: var(--gray-700);
    font-size: 1rem;
    position: relative;
    border-bottom: 1px solid transparent;
}

.nav-menu a:hover {
    background: var(--gray-50);
    color: var(--primary);
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1101;
    position: relative;
}

.menu-toggle .bar {
    width: 1.75rem;
    height: 0.2rem;
    background-color: var(--gray-900);
    transition: var(--transition);
    border-radius: 2px;
}

/* ===================
   HERO - PREMIUM
   =================== */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4)),
        url('assets/hero-bg.jpg') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Removed extra gradient */
}

.hero .container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 4rem 1.5rem;
}

.hero-content {
    max-width: 800px;
    /* Increased width */
    margin: 0 auto;
}

.hero h2 {
    color: var(--white);
    font-size: clamp(2.5rem, 6vw, 4rem);
    /* Significantly increased size */
    margin-bottom: 1rem;
    font-weight: 800;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    /* Stronger shadow */
}

.hero h3 {
    color: #ffd700;
    font-weight: 400;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brands Section */
.brands-section {
    background: var(--white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.brands-section p {
    color: var(--gray-500);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.brands-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.7;
}

.brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--gray-700);
    transition: var(--transition-fast);
}

.brand:hover {
    color: var(--primary);
    opacity: 1;
}

/* ===================
   SECTION STYLING
   =================== */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
}

/* ===================
   PRODUCTS - UNIFORM CARDS
   =================== */
.products {
    background: linear-gradient(135deg, var(--primary-light), var(--white));
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 2rem;
    border: 2px solid var(--gray-300);
    background: var(--white);
    color: var(--gray-700);
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.category-section {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
    padding-left: 0.5rem;
    border-left: 4px solid var(--secondary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* HORIZONTAL SCROLL ENABLER - Used for both Home and Catalog */
.products-horizontal-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding: 1.5rem 0.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) transparent;
    -webkit-overflow-scrolling: touch;
}

.products-horizontal-grid::-webkit-scrollbar {
    height: 6px;
}

.products-horizontal-grid::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 10px;
}

.products-horizontal-grid .product-card {
    flex: 0 0 300px !important;
    scroll-snap-align: start;
    min-height: auto;
}

@media (max-width: 768px) {
    .products-horizontal-grid .product-card {
        flex: 0 0 85% !important;
        /* Shows one full card and a peek of the next */
    }
}

/* Sticky Category Navigation for all-products.html */
.category-nav-wrapper {
    position: sticky;
    top: 0;
    /* Adjust based on main navbar height */
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0.75rem 0;
    margin-bottom: 2rem;
}

.category-nav {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 0.5rem 1rem;
    white-space: nowrap;
    scrollbar-width: none;
    /* Hide scrollbar for nav */
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-tab {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: var(--gray-700);
    transition: var(--transition);
    border-radius: 2rem;
    border: 2px solid transparent;
}

.category-tab:hover {
    color: var(--secondary);
}

.category-tab.active {
    background: var(--secondary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

/* Category Page Specifics */
.catalog-page-header {
    background: var(--white);
    padding: 3rem 0;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
}

.catalog-page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.catalog-page-header p {
    color: var(--gray-500);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.catalog-page-header .header-line {
    width: 60px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto;
}

.catalog-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--gray-100);
    scroll-margin-top: 150px;
    /* Offset for sticky nav */
}

.category-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.category-icon {
    font-size: 2rem;
}

.category-header-row h3 {
    font-size: 1.75rem;
    color: var(--primary-dark);
}

.product-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.category-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.view-all-main-container {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.btn-view-all {
    background: var(--secondary);
    color: var(--white);
    padding: 1rem 3rem;
    border-radius: 0.5rem;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    border: none;
    cursor: pointer;
}

.btn-view-all:hover {
    background: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: var(--white);
}

.view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.products-wrapper {
    position: relative;
}

.scroll-hint {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    pointer-events: none;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse-hint 2s infinite;
    transition: opacity 0.5s ease;
}

@keyframes pulse-hint {
    0% {
        transform: translateY(-50%) translateX(0);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }

    70% {
        transform: translateY(-50%) translateX(-5px);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: translateY(-50%) translateX(0);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

@media (hover: hover) {
    .product-card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

    .product-card:hover .product-image img {
        transform: scale(1.05);
    }
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    /* Red gradient */
    color: var(--white);
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(239, 68, 68, 0.3);
    z-index: 10;
}

.product-image {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 0.75rem;
    background: var(--white);
    padding: 1rem;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card h3 {
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    text-align: center;
}

.specs {
    color: var(--gray-500);
    font-size: 0.9375rem;
    text-align: center;
    margin-bottom: 0.5rem;
}

.warranty {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9375rem;
    text-align: center;
    margin-bottom: 1rem;
}

.product-card .btn-outline {
    margin-top: auto;
}

/* ===================
   SERVICES - UNIFORM HEIGHT
   =================== */
.services {
    background: linear-gradient(135deg, var(--primary-light), var(--white));
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.service-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background: var(--gray-100);
    transition: var(--transition);
    min-height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.service-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.icon-box {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    color: var(--white);
    font-size: 1.75rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

/* ===================
   OWNER SECTION - NEW
   =================== */
.owner-section {
    background: linear-gradient(135deg, var(--primary-light), var(--white));
    padding: 4rem 0;
}

.owner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.owner-image {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 400px;
    margin: 0 auto;
    background: var(--white);
    /* Added background */
}

.owner-image img {
    width: 100%;
    height: auto;
    display: block;
}

.owner-content {
    text-align: center;
}

.owner-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent), #059669);
    color: var(--white);
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow);
}

.owner-content h2 {
    margin-bottom: 0.5rem;
}

.owner-title {
    color: var(--gray-600);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.owner-content p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.owner-quote {
    background: var(--white);
    border-left: 4px solid var(--primary);
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0.5rem;
    box-shadow: var(--shadow);
    font-style: italic;
    color: var(--gray-700);
}

/* ===================
   ABOUT SECTION
   =================== */
.about {
    background: linear-gradient(135deg, var(--primary-light), var(--white));
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
}

.features-list {
    list-style: none;
    margin-top: 1.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.features-list i {
    color: var(--accent);
    font-size: 1.25rem;
}

.shop-image {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.shop-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(135deg, var(--primary-light), var(--white));
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.stars {
    color: #f59e0b;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.review-card p {
    font-style: italic;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.review-card h5 {
    font-weight: 700;
    color: var(--primary);
}

/* ===================
   CONTACT SECTION
   =================== */
.contact {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
}

.contact .section-header h2,
.contact .section-header p {
    color: var(--white);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s ease-out forwards;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-details {
    padding: 2rem 1.5rem;
    color: var(--dark);
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.social-links a {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gray-100);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
}

.contact-map {
    width: 100%;
    min-height: 300px;
}

/* FAQ */
.faq {
    background: linear-gradient(135deg, var(--primary-light), var(--white));
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

details {
    background: var(--gray-100);
    margin-bottom: 1rem;
    border-radius: 0.75rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

details[open] {
    background: var(--white);
    box-shadow: var(--shadow);
}

summary {
    font-weight: 600;
    list-style: none;
    position: relative;
    padding-right: 2rem;
    color: var(--gray-900);
}

summary::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

details[open] summary::after {
    transform: translateY(-50%) rotate(180deg);
}

/* Brands Marquee */
.brands-section {
    padding: 3rem 0;
    overflow: hidden;
    padding: 3rem 0;
    overflow: hidden;
    background: transparent;
}

.brands-section p {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    /* Fade edges */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 4rem;
    width: max-content;
    /* Ensure container fits all items */
    animation: scroll 20s linear infinite;
}

/* Pause animation on hover for better UX */
.marquee-content:hover {
    animation-play-state: paused;
}

.brand {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gray-300);
    white-space: nowrap;
    transition: var(--transition);
    cursor: default;
}

.brand:hover {
    color: var(--primary);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ===================
   MODAL STYLES
   =================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex !important;
    opacity: 1;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 400px;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
}

.modal h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

#modalProductTitle {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

#enquiryForm input {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.modal-actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
}

/* ===================
   TRUST BADGES (HERO)
   =================== */
.trust-badges {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.badge-item i {
    font-size: 1.5rem;
    color: #ffd700;
}

/* ===================
   ANIMATIONS & ENHANCEMENTS
   =================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

/* Enhanced Card UI */
.product-card {
    border-radius: 1.5rem;
    background: linear-gradient(to bottom right, #ffffff, #f8f9fa);
    border: 1px solid transparent;
}

.product-card:hover {
    border-color: var(--primary-light);
}

/* Mobile Menu Backdrop */
.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    /* Below toggle but above content */
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}


summary::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 700;
}

details[open] summary::after {
    content: '−';
}

details p {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--gray-200);
    color: var(--gray-600);
}

/* ===================
   FOOTER - IMPROVED
   =================== */
footer {
    background: var(--gray-900);
    color: #9ca3af;
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #9ca3af;
    transition: var(--transition-fast);
}

.footer-section ul li a:hover {
    color: var(--white);
    padding-left: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.875rem;
}

.footer-bottom p {
    color: #9ca3af;
}

.footer-bottom strong {
    color: var(--secondary);
}

/* Floating Buttons */
.floating-btns {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    z-index: 999;
}

.float-btn {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(135deg, #25D366, #20ba5a);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    animation: pulse-float 2s ease-in-out infinite;
}

.float-btn:hover {
    transform: scale(1.1);
}

@keyframes pulse-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    background: var(--white);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.sticky-btn {
    flex: 1;
    text-align: center;
    padding: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

.sticky-btn.call {
    background: var(--secondary);
    color: var(--white);
}

.sticky-btn.whatsapp-sticky {
    background: #25D366;
    color: var(--white);
}

.sticky-btn:active {
    transform: scale(0.98);
}

/* ===================
   RESPONSIVE - TABLET
   =================== */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    .scroll-hint {
        display: none;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        overflow-x: visible;
        padding-bottom: 0;
        scroll-snap-type: none;
    }

    .product-card {
        min-width: 0;
        /* Reset flex min-width */
        flex: none;
        /* Reset flex-basis */
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .owner-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .owner-content {
        text-align: left;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-wrapper {
        grid-template-columns: 1fr 1fr;
    }

    .mobile-sticky-bar {
        display: none;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===================
   RESPONSIVE - DESKTOP
   =================== */
@media (min-width: 1024px) {
    section {
        padding: 5rem 0;
    }

    .nav-menu {
        display: flex;
        position: static;
        flex-direction: row;
        width: auto;
        max-height: none;
        box-shadow: none;
        padding: 0;
        background: transparent;
        overflow: visible;
        gap: 2rem;
    }

    .nav-menu li {
        width: auto;
    }

    .nav-menu a {
        padding: 0;
        font-weight: 500;
        border-bottom: none;
    }

    .nav-menu a:hover {
        background: transparent;
        color: var(--primary);
    }

    .nav-menu.active {
        border-top: none;
        padding: 0;
    }

    .menu-toggle {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .services-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .testimonial-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===================
   MODAL STYLES
   =================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 1rem;
    max-width: 450px;
    width: 90%;
    position: relative;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

.modal-content h3 {
    color: var(--primary-dark);
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.5rem;
}

.modal-content p {
    text-align: center;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 300;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-1 {
    margin-top: calc(var(--spacing-unit) * 4);
}

.mt-2 {
    margin-top: calc(var(--spacing-unit) * 8);
}

.mb-1 {
    margin-bottom: calc(var(--spacing-unit) * 4);
}

.mb-2 {
    margin-bottom: calc(var(--spacing-unit) * 8);
}