/* ==========================================
   CSS VARIABLES & RESET
   ========================================== */
:root {
    --primary-color: #1e2b37;      /* Dark blue-gray for text/headers */
    --secondary-color: #e63946;     /* Devki red - main brand color */
    --accent-color: #2a9d8f;        /* Teal accent */
    --light-bg: #f8fafc;            /* Very light background */
    --dark-text: #1e2b37;           /* Dark text color */
    --light-text: #ffffff;          /* White text */
    --border-color: #e2e8f0;        /* Light gray borders */
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    overflow-x: hidden;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   HEADER STYLES
   ========================================== */
header {
    background: var(--light-text);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.logo h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.logo p {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.cart-icon {
    position: relative;
    cursor: pointer;
}

.cart-icon i {
    font-size: 1.3rem;
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--secondary-color);
    color: var(--light-text);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
    font-weight: 700;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* ==========================================
   HERO CAROUSEL STYLES
   ========================================== */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #000;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 10;
    width: 80%;
    max-width: 800px;
    animation: fadeInUp 1s ease;
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.carousel-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.carousel-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--secondary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-btn:hover {
    background: transparent;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Carousel Navigation Dots */
.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.dot.active {
    background: var(--secondary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

.dot:hover {
    background: white;
    transform: scale(1.1);
}

/* Carousel Arrows */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    border: 2px solid rgba(255,255,255,0.3);
}

.carousel-arrow:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-arrow.prev {
    left: 30px;
}

.carousel-arrow.next {
    right: 30px;
}

/* ==========================================
   PRODUCTS SECTION STYLES
   ========================================== */
.products-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    margin: 1rem auto;
}

/* Products Layout with Sidebar */
.products-layout {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

/* Category Sidebar */
.category-sidebar {
    width: 280px;
    flex-shrink: 0;
    background: var(--light-text);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.category-sidebar h3 {
    margin: 0 0 1rem 0;
    color: var(--primary-color);
    font-size: 1.2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: none;
    background: var(--light-bg);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-size: 0.95rem;
    color: #555;
    width: 100%;
    border: 2px solid transparent;
    position: relative;
}

.sidebar-category:hover {
    background: #e8e8e8;
    transform: translateX(4px);
}

.sidebar-category.active {
    background: var(--secondary-color);
    color: white;
    border-color: #c53030;
}

.sidebar-category i {
    width: 20px;
    text-align: center;
}

/* Desktop and Mobile Labels */
.desktop-label {
    display: inline;
}

.mobile-label {
    display: none;
}

.category-count {
    margin-left: auto;
    background: rgba(0,0,0,0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sidebar-category.active .category-count {
    background: rgba(255,255,255,0.3);
}

/* Sidebar Info Box */
.sidebar-info {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.sidebar-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--primary-color);
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sidebar-info p {
    margin: 0 0 1rem 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.sidebar-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 0.75rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    width: 100%;
}

.sidebar-cta:hover {
    background: #128c7e;
}

/* Products Grid Wrapper */
.products-grid-wrapper {
    flex: 1;
}

/* Products Grid - 3 PER ROW ON DESKTOP */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Product Card Styles */
.product-card {
    background: var(--light-text);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    min-width: 0;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

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

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

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

.product-info {
    padding: 1.5rem;
}

.product-category-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--light-bg);
    color: #666;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.product-info h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
    line-height: 1.3;
    color: var(--primary-color);
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.product-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 0.25rem;
}

.product-gauge {
    font-size: 0.8rem;
    color: var(--accent-color);
    margin-top: 0.3rem;
    font-weight: 500;
}

/* No Products Message */
.no-products {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    color: #999;
    text-align: center;
    background: var(--light-bg);
    border-radius: 8px;
    border: 2px dashed var(--border-color);
}

.no-products i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ccc;
}

.no-products p {
    font-size: 1.1rem;
    margin: 0;
}

/* ==========================================
   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.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: var(--light-text);
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
    animation: slideIn 0.3s ease;
}

.close-modal {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark-text);
}

.modal-body {
    margin-top: 1rem;
}

.modal-product-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
}

.modal-product-info {
    flex: 1;
}

.modal-category-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--secondary-color);
    color: white;
    font-size: 0.875rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.modal-product-info h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.modal-product-description {
    margin: 1rem 0;
    line-height: 1.8;
    color: #555;
}

.modal-product-price {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: bold;
    margin: 1rem 0;
}

/* Gauge Selector Styles */
.gauge-selector {
    margin: 1.5rem 0;
}

.gauge-selector label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.gauge-select {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    background: var(--light-text);
    cursor: pointer;
    transition: var(--transition);
}

.gauge-select:hover {
    border-color: var(--secondary-color);
}

.gauge-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.1);
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
}

.quantity-btn {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
}

.quantity-btn:hover {
    background: var(--secondary-color);
    color: var(--light-text);
    border-color: var(--secondary-color);
}

.quantity-input {
    width: 60px;
    height: 40px;
    text-align: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
}

.add-to-cart-btn {
    background: var(--secondary-color);
    color: var(--light-text);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-to-cart-btn:hover {
    background: #c53030;
}

/* ==========================================
   CART SIDEBAR STYLES
   ========================================== */
.cart-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: var(--light-text);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    z-index: 1500;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.close-cart {
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--dark-text);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

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

.cart-item-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: var(--primary-color);
}

.cart-item-price {
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.cart-qty-decrease,
.cart-qty-increase {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    width: 28px;
    height: 28px;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-qty-decrease:hover,
.cart-qty-increase:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
}

.remove-item {
    margin-left: auto;
    color: #e74c3c;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.25rem;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #c0392b;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--light-bg);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

#cartTotal {
    color: var(--secondary-color);
}

.checkout-btn {
    background: #25D366;
    color: var(--light-text);
    border: none;
    padding: 1rem;
    width: 100%;
    border-radius: 4px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-btn:hover {
    background: #128C7E;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
footer {
    background: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--light-text);
}

.footer-section h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section p {
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.footer-section i {
    margin-right: 0.5rem;
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

/* ==========================================
   PAGE HEADER (for about & contact pages)
   ========================================== */
.page-header {
    background: linear-gradient(rgba(44, 62, 80, 0.9), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1581094794329-c8112c89d12e?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ==========================================
   ABOUT PAGE STYLES
   ========================================== */
.about-story {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.about-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.values-section {
    padding: 4rem 0;
    background: var(--light-bg);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.value-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

.testimonials-preview {
    padding: 4rem 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--secondary-color);
}

.testimonial p {
    font-style: italic;
    color: #555;
    line-height: 1.6;
}

.customer-name {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: normal !important;
}

/* ==========================================
   CONTACT PAGE STYLES
   ========================================== */
.contact-info-section {
    padding: 4rem 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.contact-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-card p {
    color: #555;
    margin-bottom: 0.3rem;
}

.contact-card .small {
    font-size: 0.85rem;
    color: #888;
    margin-top: 0.5rem;
}

.service-centers {
    padding: 4rem 0;
    background: var(--light-bg);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 2rem;
}

.centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.center-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.center-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.center-card h3 i {
    color: var(--secondary-color);
    margin-right: 0.5rem;
}

.center-card p {
    color: #666;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.contact-form-section {
    padding: 4rem 0;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(230, 57, 70, 0.1);
}

.submit-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.submit-btn:hover {
    background: #c53030;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */

/* Large Desktop */
@media (min-width: 1200px) {
    .products-grid {
        gap: 2rem;
    }
    
    .product-image {
        height: 220px;
    }
}

/* Small Desktop / Large Tablet */
@media (max-width: 1100px) {
    .products-grid {
        gap: 1.25rem;
    }
    
    .product-image {
        height: 180px;
    }
}

/* Tablet and Mobile (max-width: 968px) */
@media (max-width: 968px) {
    .header-content {
        padding: 1rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--light-text);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        display: flex;
    }
    
    .hero-carousel {
        height: 400px;
    }
    
    .carousel-content h1,
    .carousel-content h2 {
        font-size: 1.75rem;
    }
    
    .carousel-content p {
        font-size: 1rem;
    }
    
    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .carousel-arrow.prev {
        left: 15px;
    }
    
    .carousel-arrow.next {
        right: 15px;
    }
    
    .products-layout {
        flex-direction: column;
        gap: 1rem;
    }
    
    .category-sidebar {
        width: 100%;
        position: static;
        order: -1;
        padding: 0.75rem;
        top: auto;
    }
    
    .category-sidebar h3 {
        display: none;
    }
    
    .category-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .sidebar-category {
        flex-direction: column;
        padding: 0.75rem 0.25rem;
        text-align: center;
        gap: 0.35rem;
        transform: none !important;
    }
    
    .sidebar-category i {
        font-size: 1.1rem;
    }
    
    /* Show mobile labels, hide desktop labels */
    .desktop-label {
        display: none;
    }
    
    .mobile-label {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
    }
    
    .category-count {
        position: absolute;
        top: -5px;
        right: -5px;
        margin: 0;
        font-size: 0.65rem;
        padding: 0.15rem 0.4rem;
        background: var(--secondary-color);
        color: white;
    }
    
    .sidebar-category.active .category-count {
        background: white;
        color: var(--secondary-color);
    }
    
    .sidebar-info {
        display: none;
    }
    
    /* 2 columns on tablet */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 1rem;
    }
    
    .modal-product-detail {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-product-image {
        width: 100%;
        height: 200px;
    }
    
    .cart-sidebar {
        max-width: 100%;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .hero-carousel {
        height: 350px;
    }
    
    .carousel-content {
        padding: 1.5rem;
        margin: 0 1rem;
        width: 90%;
    }
    
    .carousel-content h1,
    .carousel-content h2 {
        font-size: 1.5rem;
    }
    
    .carousel-btn {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    
    .category-nav {
        gap: 0.35rem;
    }
    
    .sidebar-category {
        padding: 0.6rem 0.2rem;
    }
    
    .sidebar-category i {
        font-size: 1rem;
    }
    
    .mobile-label {
        font-size: 0.7rem;
    }
    
    /* 1 column on mobile */
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .product-image {
        height: 200px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .modal-body {
        padding: 1rem;
    }
    
    .quantity-selector {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }
    
    .footer-section h3:after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Extra Small Mobile (max-width: 360px) */
@media (max-width: 360px) {
    .category-nav {
        gap: 0.25rem;
    }
    
    .sidebar-category {
        padding: 0.5rem 0.15rem;
    }
    
    .mobile-label {
        font-size: 0.65rem;
    }
    
    .category-count {
        display: none;
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center {
    text-align: center;
}

.hidden {
    display: none !important;
}

/* Loading State */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.loading::after {
    content: "";
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Focus Styles for Accessibility */
button:focus,
a:focus,
input:focus,
select:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-carousel,
    .category-sidebar,
    .cart-sidebar,
    .modal,
    header,
    footer {
        display: none !important;
    }
    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================
   GROUP COMPANIES CAROUSEL
   ========================================== */

.companies-carousel-section {
    background: #f8f9fa;
    padding: 3rem 0;
    border-top: 1px solid #e2e8f0;
    overflow: hidden;
}

.companies-title {
    text-align: center;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
}

.companies-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: white;
    padding: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.companies-track {
    display: flex;
    gap: 3rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.companies-track:hover {
    animation-play-state: paused;
}

.company-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.company-logo:hover {
    transform: scale(1.1);
}

.company-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.company-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.company-logo span {
    font-size: 0.85rem;
    color: #666;
    text-align: center;
    font-weight: 500;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.company-logo:hover span {
    color: var(--secondary-color);
}

/* Infinite scroll animation */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .companies-carousel-section {
        padding: 2rem 0;
    }
    
    .companies-title {
        font-size: 1.25rem;
    }
    
    .company-logo {
        min-width: 120px;
    }
    
    .company-logo img {
        width: 60px;
        height: 60px;
    }
    
    .company-logo span {
        font-size: 0.75rem;
    }
    
    .companies-track {
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .company-logo {
        min-width: 100px;
        padding: 0.5rem;
    }
    
    .company-logo img {
        width: 50px;
        height: 50px;
    }
    
    .company-logo span {
        font-size: 0.7rem;
    }
}