/* ===================================
   TONG YANG HARDWARE & PARTS - ENHANCED STYLESHEET
   Enhanced design with compact product layout for better responsiveness
   =================================== */

/* ===================================
   1. RESET & ROOT VARIABLES
   =================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Enhanced with new CTA colors */
    --primary-sage: #768578;        /* Main brand color - sage green */
    --primary-blue: #748794;        /* Secondary brand color - blue grey */
    --neutral-light: #F5F5F5;       /* Light background color */
    --neutral-cream: #FAFAFA;       /* Clean background */
    --accent-orange: #E67E22;       /* Clean accent color */
    --accent-vibrant: #E74C3C;      /* Vibrant red for CTAs */
    --accent-dark: #C0392B;         /* Darker red for CTA hover */
    --text-dark: #2C3E50;           /* Darker text for better readability */
    --text-medium: #5D6D7E;         /* Medium text color */
    --white: #FFFFFF;               /* Pure white */
    --light-gray: #ECF0F1;          /* Light gray for subtle elements */
    --border-color: #E5E5E5;        /* Clean border color */
    --shadow: rgba(0, 0, 0, 0.1);   /* Subtle shadow */
    
    /* Simplified section background colors for About page */
    --section-bg-1: #FFFFFF;        /* White */
    --section-bg-2: #FAFAFA;        /* Neutral cream */
    
    /* Typography */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    
    /* Spacing */
    --section-padding: 2rem 5%;
    --container-max-width: 1400px;
    
    /* Transitions */
    --transition-standard: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* ===================================
   2. BASE TYPOGRAPHY & LAYOUT
   =================================== */

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 5%;
}

/* Full screen sections */
.full-screen-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ===================================
   ENHANCED SECTION TITLES - IMPROVED ABOUT PAGE CONSISTENCY
   =================================== */

/* Enhanced section title styling for better visibility */
.section-title {
    font-size: 3rem !important;  /* Increased from 2.5rem */
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

/* Enhanced section subtitle */
.section-subtitle {
    text-align: center;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ===================================
   3. HEADER & NAVIGATION - ENHANCED WITH WHITE LOGO SUPPORT
   =================================== */

header {
    background: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition-standard);
}

/* Special header behavior for pages with hero backgrounds */
body.about header,
body.products-page header,
body.services-page header {
    background: transparent;
    box-shadow: none;
}

/* Header with white text for hero sections */
header.header-light {
    background: transparent;
    box-shadow: none;
}

header.header-light nav a {
    color: var(--white) !important;
}

header.header-light .mobile-menu-toggle span {
    background: var(--white);
}

/* Header when scrolled - return to normal */
header.scrolled {
    background: var(--white) !important;
    box-shadow: 0 2px 10px var(--shadow) !important;
}

header.scrolled nav a {
    color: var(--text-dark) !important;
}

header.scrolled .mobile-menu-toggle span {
    background: var(--text-dark);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    height: 80px;
}

/* Logo styling with white logo support */
.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img,
.logo-img-white {
    height: 45px;
    width: auto;
    transition: var(--transition-standard);
}

.logo-img:hover,
.logo-img-white:hover {
    transform: scale(1.05);
}

.logo-img-mobile,
.logo-img-mobile-white {
    display: none;
    height: 100px;
    width: auto;
}

/* Logo visibility control - Clean mobile implementation */
.logo-img-white,
.logo-img-mobile-white {
    display: none;
}

/* Desktop logo behavior for pages with hero backgrounds */
@media (min-width: 769px) {
    /* Only for pages with hero backgrounds */
    body.about header.header-light .logo-img,
    body.products-page header.header-light .logo-img,
    body.services-page header.header-light .logo-img {
        display: none;
    }

    body.about header.header-light .logo-img-white,
    body.products-page header.header-light .logo-img-white,
    body.services-page header.header-light .logo-img-white {
        display: block;
    }
}

/* Mobile logo behavior - Clean and simple */
@media (max-width: 768px) {
    /* Hide all desktop logos */
    .logo-img,
    .logo-img-white {
        display: none !important;
    }
    
    /* Default mobile logo state */
    .logo-img-mobile {
        display: block;
    }
    
    .logo-img-mobile-white {
        display: none;
    }
    
    /* Hero pages in mobile - show white logo only in first section */
    body.about header.header-light .logo-img-mobile,
    body.products-page header.header-light .logo-img-mobile,
    body.services-page header.header-light .logo-img-mobile {
        display: none !important;
    }
    
    body.about header.header-light .logo-img-mobile-white,
    body.products-page header.header-light .logo-img-mobile-white,
    body.services-page header.header-light .logo-img-mobile-white {
        display: block !important;
    }
    
    /* When scrolled - show original logo only */
    body.about header.scrolled .logo-img-mobile,
    body.products-page header.scrolled .logo-img-mobile,
    body.services-page header.scrolled .logo-img-mobile {
        display: block !important;
    }
    
    body.about header.scrolled .logo-img-mobile-white,
    body.products-page header.scrolled .logo-img-mobile-white,
    body.services-page header.scrolled .logo-img-mobile-white {
        display: none !important;
    }
}

/* Navigation menu */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition-standard);
    position: relative;
    outline: none; /* Remove focus outline */
    border: none; /* Remove border */
}

/* Remove focus effects but keep orange line animation */
nav a:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

/* Active navigation link */
nav a.active {
    color: var(--primary-sage);
    font-weight: 600;
}

/* Hover effect for navigation links - keep orange line only */
nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-orange);
    transition: width 0.3s ease;
}

@media (max-width: 768px) {
    nav .logo-container a::after {
        bottom: 15px;
    }
}



nav a:hover::after,
nav a.active::after {
    width: 100%;
}

nav a:hover {
    color: var(--primary-sage);
}

/* Call-to-action button in navigation - always white text */
.cta-button {
    background: var(--primary-sage) !important;
    color: var(--white) !important;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    transition: var(--transition-standard);
    box-shadow: 0 2px 5px var(--shadow);
}

.cta-button:hover {
    background: var(--accent-orange) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow);
}

/* Ensure CTA button always has white text regardless of header state */
header.header-light .cta-button,
header.scrolled .cta-button {
    color: var(--white) !important;
}

/* ===================================
   4. MOBILE MENU
   =================================== */

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Language selector */
.language-selector select {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition-standard);
    color: var(--text-dark);
}

.language-selector select:hover {
    border-color: var(--primary-sage);
}

/* Ensure language selector text is dark in mobile menu */
@media (max-width: 768px) {
    nav ul .language-selector select {
        color: var(--text-dark) !important;
        background: var(--white) !important;
    }
}

/* ===================================
   5. HERO SECTIONS - ENHANCED
   =================================== */

/* Home page hero */
.hero {
    margin-top: 80px;
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--primary-sage);
}

/* Wave layers */
.hero::before,
.hero::after,
.hero .wave {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 45%;
    animation: wave 15s linear infinite;
}

/* Different positions for layering effect */
.hero::before {
    top: -60%;
    left: -60%;
    animation-duration: 20s;
}

.hero::after {
    bottom: -60%;
    right: -60%;
    animation-duration: 25s;
}

.hero .wave {
    top: -50%;
    left: -40%;
    background: rgba(255, 255, 255, 0.08);
    animation-duration: 18s;
}

/* Animation for smooth flowing movement */
@keyframes wave {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(10%, 10%) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}


.hero-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 5%;
    position: relative;
    z-index: 1;
    display: grid;
    gap: 4rem;
    align-items: center;
}

/* Home Hero-content column for text and image seperate */
#home .hero-content{
    grid-template-columns: 1fr 1fr; /* ✅ text + image */
}

.hero-text h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    animation: slideInLeft 1s ease-out;
    font-weight: 700;
}

.hero-text p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    animation: slideInLeft 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    animation: slideInLeft 1s ease-out 0.4s both;
    flex-wrap: wrap;
}

/* Hero image with floating animation */
.hero-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.hero-image img.excavator-img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Enhanced hero sections for About, Products, Services */
.about-hero,
.products-hero,
.services-hero {
    position: relative;
    height: 100vh;
    background: url('images/construction_site.png') center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
}

.about-hero .overlay,
.products-hero .overlay,
.services-hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s ease;
}

.hero-title {
    position: relative;
    color: white;
    font-size: 3rem;
    text-align: center;
    z-index: 1;
    transition: transform 0.3s ease;
    line-height: 1.2;
    font-weight: 700;
}

.hero-subtitle {
    display: block;
    font-size: 1.5rem;
    font-weight: normal;
    letter-spacing: 10px;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.products-hero .hero-content,
.services-hero .hero-content {
    position: relative;
    z-index: 1;
    padding: 0 5%;
    text-align: center;
}

.products-hero h1,
.services-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--white);
    font-weight: 700;
}

.about-hero:hover .overlay,
.products-hero:hover .overlay,
.services-hero:hover .overlay {
    background: rgba(0, 0, 0, 0.6);
}

.about-hero:hover .hero-title,
.products-hero:hover .hero-title,
.services-hero:hover .hero-title {
    transform: translateY(-10px);
}

.hero-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.badge {
    background: var(--white);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    font-size: 0.9rem;
    box-shadow: 0 2px 5px var(--shadow);
}

.stat-item {
    text-align: center;
    background: var(--white);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px var(--shadow);
    color: var(--text-dark);
}


.stat-label {
    font-size: 0.9rem;
    color: var(--text-medium);
}

/* ===================================
   6. BUTTONS & INTERACTIVE ELEMENTS
   =================================== */

.btn-primary,
.btn-secondary,
.btn-primary-large {
    padding: 1rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-standard);
    display: inline-block;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Primary Button */
.btn-primary,
.btn-primary-large {
    background: red;
    color: white;
    border: 2px solid red;
}

.btn-primary:hover,
.btn-primary-large:hover {
    background: white;
    color: black;
    border: 2px solid black;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px var(--shadow);
}

/* Large Button */
.btn-primary-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-sage);
}

/* ===================================
   7. FEATURE CARDS & GRID LAYOUTS
   =================================== */

.features {
    padding: var(--section-padding);
    background: var(--neutral-cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: var(--transition-standard);
    position: relative;
    border-top: 4px solid var(--primary-sage);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-sage);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===================================
   8. PRODUCT OVERVIEW SECTION
   =================================== */

.product-overview {
    padding: var(--section-padding);
    background: var(--white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.quick-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.quick-category {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 15px;
    transition: var(--transition-standard);
    box-shadow: 0 4px 15px var(--shadow);
    border: 1px solid var(--border-color);
}

.quick-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px var(--shadow);
    border-color: var(--primary-sage);
}

.quick-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--primary-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition-standard);
}

.quick-category:hover .quick-icon {
    background: var(--accent-orange);
    transform: scale(1.1);
}

.quick-category h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.quick-category p {
    font-size: 0.9rem;
    color: var(--text-medium);
}

.cta-center {
    text-align: center;
    margin-top: 3rem;
}

/* Home Parts we Supply note*/
.supply-note {
    background: var(--light-gray);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin: 2rem auto 0;
    border-left: 4px solid var(--accent-orange);
    border-right: 4px solid var(--accent-orange);
    max-width: 400px;
    text-align: center;
}

/* Services note */
.services-note {
    background: var(--light-gray);
    padding: 1rem 1.25rem;
    border-radius: 10px;
    margin: 2rem auto;
    border-left: 4px solid var(--accent-orange);
    border-right: 4px solid var(--accent-orange);
    max-width: 400px;
    text-align: center;
}

.offers-grid a {
    text-decoration: none;
    color: inherit;
    display: block;
    outline: none; 
}

/* ===================================
   9. PRODUCT PAGE STYLES - ENHANCED COMPACT LAYOUT
   =================================== */

.category-nav {
    padding: 3rem 5% 2rem;
    background: var(--white);
    text-align: center;
    box-shadow: 0 2px 10px var(--shadow);
}

.quick-category a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.nav-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.nav-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--neutral-light);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 50px;
    transition: var(--transition-standard);
    box-shadow: 0 2px 8px var(--shadow);
    font-weight: 500;
    border: 2px solid transparent;
}

.nav-pill.active,
.nav-pill:hover {
    background: var(--primary-sage);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow);
    border-color: var(--primary-sage);
}

.nav-pill i {
    font-size: 1.2rem;
}

/* ===================================
   ENHANCED PRODUCT GRID - COMPACT CARDS
   =================================== */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

/* Modal Content (The Image) */
.modal-content {
  margin: auto;
  display: block;
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  object-fit: contain;
}

/* The Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

.products-grid {
    display: grid;
    /* More responsive grid with smaller minimum size */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem; /* Reduced from 3rem */
    margin-top: 2rem;
}

/* Compact product cards */
.product-card {
    background: var(--white);
    border-radius: 10px; /* Reduced from 15px */
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow); /* Reduced shadow */
    transition: var(--transition-standard);
    border: 1px solid var(--border-color);
    position: relative;
    height: auto;
    min-height: 320px; /* Set minimum height for consistency */
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px; /* Reduced from 4px */
    background: var(--primary-sage);
}

.product-card:hover {
    transform: translateY(-5px); /* Reduced from -10px */
    box-shadow: 0 12px 25px var(--shadow); /* Adjusted shadow */
}

/* Compact product images */
.product-image {
    background: var(--neutral-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: var(--transition-standard);
    overflow: hidden;
    
    /* This is the magic property. It makes the container a perfect square. */
    /* The height will now be the same as the responsive width. */
    aspect-ratio: 1 / 1; 
}


/* Real images in product cards (NEW CLEANED UP CODE) */
.product-image img {
    width: 100%;
    height: 100%;
    /* This ensures the entire image is visible without cropping */
    object-fit: contain; 
    transition: var(--transition-standard);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Fallback for icon placeholders */
.product-image i {
    font-size: 2.5rem; /* Reduced from 3rem */
    color: var(--primary-sage);
}

.product-card:hover .product-image {
    background: var(--primary-sage);
}

.product-card:hover .product-image i {
    color: var(--white);
}

/* Compact product info - FIXED GAP ISSUE */
.product-info {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0; /* Remove any default gap */
}

.product-info {
    max-height: fit-content;
}

.product-info h3 {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
    line-height: 1.3;
    margin-top: 0; /* Ensure no top margin */
}

.product-info p {
    color: var(--text-medium);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 0.9rem;
    flex: 1;
    margin-top: 0; /* Ensure no top margin */
}

/* Compact product features */
.product-features {
    display: flex;
    gap: 0.5rem; /* Reduced from 0.75rem */
    flex-wrap: wrap;
    margin-top: auto;
}

.product-features span {
    background: var(--neutral-light);
    padding: 0.3rem 0.75rem; /* Reduced padding */
    border-radius: 15px; /* Reduced from 20px */
    font-size: 0.75rem; /* Reduced from 0.85rem */
    color: var(--text-dark);
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Filter brand note styling */
.filter-brand-note {
    background: var(--light-gray);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0 2rem 0;
    border-left: 4px solid var(--accent-orange);
    text-align: left;
}

.filter-brand-note p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1rem;
    line-height: 1.5;
}

/* Product category sections - reduced spacing */
.product-category {
    padding: 3rem 5% 4rem; /* Reduced from 5rem */
    background: var(--white);
    min-height: auto; /* Allow natural height */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-category:nth-child(even) {
    background: var(--neutral-cream);
}

.category-header {
    text-align: center;
    margin-bottom: 2.5rem; /* Reduced from 4rem */
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.category-header h2 {
    font-size: 2.2rem; /* Reduced from 2.8rem */
    color: var(--text-dark);
    margin-bottom: 0.75rem; /* Reduced from 1rem */
    font-weight: 700;
}

.category-header h2 i {
    margin-right: 1rem;
    color: var(--primary-sage);
}

.category-header p {
    font-size: 1.1rem; /* Reduced from 1.2rem */
    color: var(--text-medium);
}

/* Adjust container max-width for better card distribution */
.product-category .container {
    max-width: 1200px; /* Reduced from 1400px for better card sizing */
}

/* Enhanced CTA sections with vibrant colors */
.product-cta,
.about-cta,
.services-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--accent-vibrant) 0%, var(--accent-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.product-cta::before,
.about-cta::before,
.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    margin-bottom: 1rem;
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
}

.cta-content p {
    margin-bottom: 2rem;
    opacity: 0.95;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--accent-vibrant);
    border: 2px solid var(--white);
    font-weight: 700;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-buttons .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    font-weight: 700;
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.cta-buttons .btn-secondary:hover {
    background: var(--white);
    color: var(--accent-vibrant);
}

/* ===================================
   10. SERVICES PAGE STYLES - ENHANCED DYNAMIC LAYOUT
   =================================== */

/* Services hero - full viewport height */
.services-hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Services overview - dynamic height */
.services-overview {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5%;
    background: var(--neutral-cream);
    text-align: center;
}

.services-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 3rem;
}

.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem;
    background: var(--white);
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 15px;
    transition: var(--transition-standard);
    box-shadow: 0 4px 15px var(--shadow);
    min-width: 140px;
    border: 2px solid transparent;
}

.service-nav-item.active,
.service-nav-item:hover {
    background: var(--primary-sage);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 12px 25px var(--shadow);
    border-color: var(--primary-sage);
}

.service-nav-item i {
    font-size: 2.5rem;
}

.service-nav-item span {
    font-weight: 600;
}

/* Service detail sections - dynamic viewport sizing */
.service-detail {
    min-height: 90vh;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5%;
    background: var(--white);
}

.service-detail:nth-child(even) {
    background: var(--neutral-cream);
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

/* Return Policy Service Section */
#return-policy {
    padding: 60px 20px;
    background: #f9f9f9;
}

#return-policy .container {
    max-width: 1200px;
    margin: 0 auto;
}

#return-policy .service-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#return-policy .service-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #2a2a2a;
}

#return-policy .service-text h2 i {
    margin-right: 10px;
    color: #2e7d32; /* green accent */
}

#return-policy .service-text h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #555;
    font-weight: 500;
}

#return-policy .service-text p {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* Return Policy Service Items */
#return-policy .support-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

#return-policy .support-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#return-policy .support-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

#return-policy .support-item i {
    font-size: 24px;
    color: #2e7d32; /* green for icons */
    flex-shrink: 0;
}

#return-policy .support-item h4 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #222;
}

#return-policy .support-item p {
    margin: 0;
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.service-text h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-text h2 i {
    margin-right: 1rem;
    color: var(--primary-sage);
}

.service-text h3 {
    color: var(--primary-sage);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-features {
    margin: 2rem 0;
}

/* Accordion container */
.service-features-accordion {
  display: none;
}

/* Mobile only: replace grid with accordion */
@media (max-width: 768px) {
  .desktop-features {
    display: none;
  }
  .service-features-accordion {
    display: block;
    margin-top: 15px;
  }
}

/* Accordion items */
.service-features-accordion .accordion-item {
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: box-shadow 0.3s ease;
}

.service-features-accordion .accordion-item:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Header button */
.service-features-accordion .accordion-header {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  background: #fff;
  color: #333;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.2s ease;
}

.accordion-header {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 500;
  background: #fff;
  color: #333;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between; /* left = title, right = chevron */
}

.accordion-title i {
  margin-right: 8px;
}

/* Auto-add chevron with CSS */
.accordion-header::after {
  content: "\f078"; /* Font Awesome chevron-down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  color: #888;
  transition: transform 0.3s ease;
}

/* Rotate chevron when open */
.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
  color: #444;
}


.service-features-accordion .accordion-header:hover {
  background: #f8f8f8;
}

/* Chevron icon */
.service-features-accordion .accordion-header::after {
  content: "\f078"; /* FontAwesome chevron-down */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 14px;
  color: #888;
  transition: transform 0.3s ease;
}

.service-features-accordion .accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
  color: #444;
}

/* Accordion content */
.service-features-accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  transition: max-height 0.35s ease, padding 0.25s ease;
  padding: 0 16px;
}

.service-features-accordion .accordion-content p {
  margin: 12px 0;
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

/* Expanded state */
.service-features-accordion .accordion-item.active .accordion-content {
  max-height: 300px; /* adjust as needed */
  padding: 12px 16px;
}


.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.feature-item i {
    color: var(--primary-sage);
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.feature-item h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.feature-item p {
    color: var(--text-medium);
}

.service-note {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
    border-left: 4px solid var(--accent-orange);
}

.service-note i {
    color: var(--accent-orange);
    margin-right: 0.5rem;
}

.service-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    background: var(--neutral-light);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--primary-sage);
    text-align: center;
    border: 2px solid var(--border-color);
}

.image-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.image-placeholder p {
    font-weight: 600;
    color: var(--text-medium);
}

/*  Parts Supply & Inventory Image */
.service-image {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
}

.service-image .responsive-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
.service-image:hover .responsive-img {
    transform: scale(1.05); /* zoom slightly */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Delivery methods grid */
.delivery-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.delivery-method {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: var(--transition-standard);
}

.delivery-method:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.delivery-method i {
    font-size: 2.5rem;
    color: var(--primary-sage);
    margin-bottom: 1rem;
}

.delivery-method h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.coverage-areas {
    margin-top: 2rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

/* Default: Show grid, hide dropdown */
.areas-dropdown {
  display: none;
}

/* Mobile: Show dropdown, hide grid */
@media (max-width: 768px) {
  .areas-grid {
    display: none;
  }
  .areas-dropdown {
    display: block;
  }
  .areas-dropdown select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
  }

  .coverage-areas h4{
    font-size: 20px;
  }
}

/* ===================================
   18. COOKIE CONSENT BANNER STYLES
   =================================== */

#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(44, 62, 80, 0.95); /* var(--text-dark) with opacity */
    color: var(--white);
    padding: 1rem 5%;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    z-index: 2000;
    font-size: 0.9rem;
}

#cookie-consent-banner.active {
    display: flex; /* Show banner when active class is added by JS */
}

#cookie-consent-banner p {
    margin: 0;
    line-height: 1.5;
}

#cookie-consent-banner a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

#cookie-accept-btn {
    background: var(--primary-sage);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
    flex-shrink: 0; /* Prevents the button from shrinking */
}

#cookie-accept-btn:hover {
    background: var(--accent-orange);
}

@media (max-width: 768px) {
    #cookie-consent-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 5%;
    }

    #cookie-accept-btn {
        width: 100%;
        max-width: 200px;
    }
}


.area-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--shadow);
    transition: var(--transition-standard);
}

.area-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px var(--shadow);
}

.area-item i {
    color: var(--accent-orange);
}

/* Sourcing process */
.sourcing-process {
    margin: 2rem 0;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-sage);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    font-size: 1.2rem;
}

.step-content h4 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.step-content p {
    color: var(--text-medium);
}

/* Support services */
.support-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.support-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: var(--transition-standard);
}

.support-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow);
}

.support-item i {
    color: var(--primary-sage);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.support-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.support-item p {
    color: var(--text-medium);
}

.channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.channel-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 3px 10px var(--shadow);
    transition: var(--transition-standard);
}

.channel-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px var(--shadow);
}

.channel-item i {
    font-size: 1.8rem;
    color: var(--primary-sage);
}

.channel-item h5 {
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.channel-item p {
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* Service guarantee section */
.service-guarantee {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5%;
    background: var(--neutral-cream);
    text-align: center;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minMax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guarantee-item {
    padding: 2.5rem 2rem;
    background: var(--neutral-cream);
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    transition: var(--transition-standard);
    border-top: 4px solid var(--primary-sage);
}

.guarantee-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px var(--shadow);
}

.guarantee-item i {
    font-size: 3rem;
    color: var(--primary-sage);
    margin-bottom: 1rem;
}

.guarantee-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.guarantee-item p {
    color: var(--text-medium);
}

/* Services CTA section */
.services-cta {
    min-height: 80vh; /* Slightly smaller for CTA */
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 5%;
    background: linear-gradient(135deg, var(--accent-vibrant) 0%, var(--accent-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ===================================
   11. ABOUT PAGE STYLES - IMPROVED CONSISTENCY
   =================================== */

/* Consistent section structure for all about sections */
.about-section {
    padding: 5rem 5% !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* Ensure all sections have consistent container */
.about-section .container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    width: 100%;
}

/* Simplified background colors for each About section */
.about-section:nth-child(2) {  /* About Us section */
    background: var(--section-bg-1);
}

.offers-section {  /* Offers section */
    background: var(--section-bg-2);
}

.about-section:nth-child(4) {  /* Why Choose Us section */
    background: var(--section-bg-1);
}

.commitment-section {  /* Commitment section */
    background: var(--section-bg-2);
}

.about-subsection {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-max-width);
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
    margin: 0 auto;
    display: block;
}

.about-text h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.about-text p {
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Enhanced about text styling */
.about-text h3 {
    font-size: 1.8rem;
    color: var(--primary-sage);
    margin-bottom: 1rem;
    margin-top: 2rem;
    font-weight: 600;
}

.about-text h3:first-of-type {
    margin-top: 0;
}

/* Improved brand logos section */
.brand-logos {
    margin-top: 2rem;
    text-align: center;
}

.brand-logos h3,
.brand-section-title {
    font-size: 2.2rem !important;  /* Larger than before */
    font-weight: 600;
    margin-bottom: 2rem;
    color: var(--text-dark);
    position: relative;
}


.brand-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 0;
}

.brand-item img {
    max-width: 140px;
    max-height: 70px;
    object-fit: contain;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-item img:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-standard);
    box-shadow: 0 5px 15px var(--shadow);
    border-top: 4px solid var(--primary-sage);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-sage);
}

.stat-label {
    color: var(--text-medium);
    margin-top: 0.5rem;
    font-weight: 500;
}

/* Consistent spacing for all offer cards */
.offers-section {
    padding: 5rem 5% !important;
}

.offers-section h2 {
    font-size: 3rem !important;
    font-weight: 700;
    text-align: center;
    position: relative;
}

.offers-section .subtitle,
.offers-section .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-medium);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.offer-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: var(--transition-standard);
    box-shadow: 0 5px 15px var(--shadow);
    border-top: 4px solid var(--primary-sage);
}

.offer-card i {
    font-size: 2.5rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.offer-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.offer-card p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.6;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px var(--shadow);
}

/* Why Choose Us section improvements */
.why-choose-us {
    padding: 5rem 5% !important;
}

.why-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Row 1: Two-column layout */
.why-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    padding-top: 2%;
}

.why-text h2 {
    font-size: 3rem !important;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.why-text h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-sage);
    border-radius: 2px;
}

.why-text h3 {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    color: var(--primary-sage);
}

.why-text ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.why-text ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.2rem;
    position: relative;
}

.why-text ul li::before {
    content: "✓";
    color: var(--primary-sage);
    position: absolute;
    left: 0;
    top: 0;
}

/* Right: Image slider */
.why-gallery {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 500px;
    height: 300px;
}

/* Slider wrapper */
.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Slides container */
.slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
}

/* Individual slide */
.slide {
    min-width: 100%;
    height: 100%;
    display: none;
    border-radius: 10px;
}

/* Ensure all images fill the fixed box */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Active slide visible */
.slide.active {
    display: block;
}

/* Arrows */
.prev,
.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    outline: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1.2rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover,
.next:hover {
    background: rgba(0,0,0,0.7);
}

.prev,
.next {
    outline: none !important;
    box-shadow: none !important;
}

.prev:focus,
.next:focus {
    outline: none !important;
    box-shadow: none !important;
}


/* Dots */
.dots {
    text-align: center;
    margin-top: 0.75rem;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.dot.active {
    background-color: var(--primary-sage);
}


/* Row 2: Stats */
.why-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

/* Commitment section consistency */
.commitment-section {
    padding: 5rem 5% !important;
}

.commitment-grid {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

.commitment-item {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: var(--transition-standard);
    border-top: 4px solid var(--accent-orange);
}

.commitment-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px var(--shadow);
}

.commitment-item i {
    font-size: 3rem;
    color: var(--accent-orange);
    margin-bottom: 1rem;
}

.commitment-item h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.commitment-item p {
    color: var(--text-medium);
    line-height: 1.6;
}

/* ===================================
   12. CONTACT SECTION 
   =================================== */

.contact {
    padding: var(--section-padding);
    background: var(--neutral-cream);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

/* Contact Form Styles */
.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px var(--shadow);
}

.contact-form h3 {
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-weight: 600;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: var(--transition-standard);
    font-family: inherit;
    background: var(--white);
    color: var(--text-dark);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-sage);
    box-shadow: none;
}

/* ===================================
   CONTACT FORM BUTTONS - NEW STYLES
   =================================== */

.form-buttons-container {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.submit-btn {
    flex: 1; /* Each button takes up equal space */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

/* Specific button styles */
.email-btn {
    background: var(--primary-sage);
    color: var(--white);
}

.email-btn:hover {
    background: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

.whatsapp-btn {
    background: #25D366;
    color: var(--white);
}

.whatsapp-btn:hover {
    background: #128C7E; /* Darker WhatsApp green */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--shadow);
}

/* Responsive styles for the buttons */
@media (max-width: 768px) {
    .form-buttons-container {
        flex-direction: column; /* Stack buttons on mobile */
        gap: 0.75rem;
    }
}

/* ===================================
   13. FOOTER - CLEAN & MINIMALISTIC WITH CONTACT INFO
   =================================== */

footer {
    background: var(--white);
    color: var(--text-dark);
    padding: 3rem 5% 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: var(--container-max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

.footer-section p {
    color: var(--text-medium);
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-medium);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--primary-sage);
}

.footer-section ul li i {
    width: 20px;
    color: var(--primary-sage);
    margin-right: 0.5rem;
}

/* Footer Contact Information Styles */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
}

.footer-contact-item i {
    color: var(--primary-sage);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    width: 20px;
}

.footer-contact-item div {
    flex: 1;
}

.footer-contact-item strong {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

.footer-contact-item div {
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.4;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--neutral-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-standard);
    color: var(--text-medium);
}

.social-links a:hover {
    background: var(--primary-sage);
    color: var(--white);
    transform: translateY(-3px);
}

footer hr {
    border: none;
    border-top: 1px solid var(--border-color);
    margin: 2rem 0 1rem;
}

footer > p {
    text-align: center;
    color: var(--text-medium);
    font-size: 0.9rem;
}

/* ===================================
   14. FLOATING ELEMENTS - IMPROVED BACK TO TOP
   =================================== */

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 90px;
    height: 90px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    cursor: pointer;
    transition: var(--transition-standard);
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Scroll to top button - LARGER LABEL */
.scroll-top {
    position: fixed;
    bottom: 150px;
    right: 50px;
    width: 50px;
    height: 50px;
    background: var(--primary-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    cursor: pointer;
    opacity: 0;
    transition: var(--transition-standard);
    z-index: 998;
    font-size: 1.4rem; /* Increased size */
    box-shadow: 0 4px 15px var(--shadow);
}

.scroll-top.visible {
    opacity: 1;
}

.scroll-top:hover {
    background: var(--accent-orange);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

/* ===================================
   15. ANIMATIONS
   =================================== */

/* Slide in animation for hero text */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Floating animation for hero image and about image */
@keyframes float {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-20px); 
    }
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Loading spinner animation */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   16. LOADER
   =================================== */

.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--neutral-light);
    border-top: 5px solid var(--primary-sage);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ===================================
   17. RESPONSIVE DESIGN - ENHANCED COMPACT LAYOUT
   =================================== */

/* ===================================
   RESPONSIVE DESIGN FOR COMPACT CARDS
   =================================== */

/* Large Desktop (1400px+) - 4 cards per row */
@media (min-width: 1400px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .commitment-grid{
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .product-card {
        min-height: 350px;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-info {
        padding: 1.5rem;
    }
}

/* Desktop (1200px - 1399px) - 4 cards per row */
@media (min-width: 1200px) and (max-width: 1399px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

/* Large Tablet/Small Desktop (992px - 1199px) - 3 products per row */
@media (min-width: 992px) and (max-width: 1199px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); /* Back to 3 products per row */
        gap: 1.5rem;
    }

    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .commitment-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .product-card {
        min-height: 300px; /* Better height for 3-column layout */
    }
    
    .product-image {
        height: 160px; /* Better image size for 3 columns */
    }
    
    .product-info {
        padding: 1.25rem; /* More comfortable padding */
    }
    
    .product-info h3 {
        font-size: 1.1rem; /* Better heading size for 3 columns */
        margin-bottom: 0.75rem;
    }
    
    .product-info p {
        font-size: 0.9rem; /* Better text size */
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .product-features span {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .offer-card {
        min-height: 300px;
    }

    .offer-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .offer-card p {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}

/* Tablet (768px - 991px) - Keep 2 products per row but improve spacing */
@media (min-width: 768px) and (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem; /* Better spacing */
    }

    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }

    .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card {
        min-height: 300px; /* Taller for better proportion */
    }
    
    .product-image {
        height: 120px; /* Better image size */
    }
    
    .product-info {
        padding: 1.25rem; /* More comfortable padding */
    }
    
    .product-features span {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .offer-card {
        min-height: 280px;
    }

    .offer-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }

    .offer-card p {
        font-size: 0.9rem;
        margin-bottom: 0.9rem;
    }

    .why-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0 15px;
        gap: 1.5rem;
        text-align: center;
    }

    .stat-card {
        margin: 0; 
        padding: 20px;
        box-sizing: border-box;
    }
}

/* Large Mobile (481px - 767px) - 2 cards per row */
@media (min-width: 481px) and (max-width: 767px) {
    .products-grid, .offers-grid, .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .product-card {
        min-height: 210px;
    }
    
    .product-image {
        height: 90px;
    }
    
    .product-features {
        gap: 0.25rem;
    }
    
    .product-features span {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .filter-brand-note {
        padding: 0.75rem 1rem;
        margin: 0.75rem 0 1.5rem 0;
    }
    
    .filter-brand-note p {
        font-size: 0.9rem;
    }
    
    .offer-card {
        min-height: auto;
        text-align: center;
    }

    .offer-card i {
        display: block;
        margin: 0 auto;
    }

    .offer-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }
    .offer-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }

    .why-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0 15px;
        gap: 1.5rem;
        text-align: center;
    }

    .stat-card {
        margin: 0; 
        padding: 20px;
        box-sizing: border-box;
    }
}

/* Small Mobile (320px - 480px) - 2 cards per row compact */
@media (max-width: 480px) {
    .products-grid, .offers-grid, .commitment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .product-card {
        min-height: 210px;
        border-radius: 8px;
    }
    
    .product-image {
        height: 80px;
    }
    
    .product-features {
        gap: 0.2rem;
        flex-wrap: wrap;
    }
    
    .product-features span {
        font-size: 0.6rem;
        padding: 0.15rem 0.3rem;
        border-radius: 10px;
    }
    
    .filter-brand-note {
        padding: 0.5rem 0.75rem;
        margin: 0.5rem 0 1rem 0;
    }
    
    .filter-brand-note p {
        font-size: 0.85rem;
    }
    
    /* Adjust category header for mobile */
    .category-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.75rem;
    }
    
    .category-header p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .offer-card {
        min-height: 240px;
    }

    .offer-card {
        min-height: auto;
        text-align: center;
    }

    .offer-card i {
        display: block;
        margin: 0 auto;
    }

    .offer-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        line-height: 1.2
    }
    .offer-card p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.5rem;
    }

    .why-stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        padding: 0 15px;
        gap: 1.5rem;
        text-align: center;
    }

    .stat-card {
        margin: 0; 
        padding: 20px;
        box-sizing: border-box;
    }
    
    /* Enhanced mobile category navigation */
    .nav-pills {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4rem;
    }
    
    .nav-pill {
        padding: 0.6rem 0.4rem;
        font-size: 0.7rem;
        border-radius: 8px;
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .nav-pill i {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .nav-pill span {
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

/* Enhanced mobile category navigation */
@media (max-width: 767px) {
    .nav-pills {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        justify-content: center;
    }
    
    .nav-pill {
        padding: 0.75rem 0.5rem;
        font-size: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.25rem;
        line-height: 1.2;
    }
    
    .nav-pill i {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .nav-pill span {
        font-size: 0.8rem;
        font-weight: 500;
    }
}

@media screen and (max-width: 768px) {
    /* Style for the container itself */
    .why-stats {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 1rem;
        padding: 0 15px; 
    }

    /* Style for the individual cards */
    .stat-card {
        flex: 1 1 calc(50% - 1rem); 
        max-width: calc(50% - 1rem); 
        margin: 0; 
        padding: 20px;
        box-sizing: border-box;
    }

    .stat-number {
        font-size: 2rem;
        font-weight: bold;
        color: var(--primary-sage);
    }

    .commitment-grid h3 {
        font-size: 1rem;
    }
}


/* Tablet styles (768px - 1024px) */
@media (max-width: 1024px) {
    .hero-content,
    .service-content,
    .contact-grid,
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 3rem;
    }
    
    .about-section {
        grid-template-columns: 1fr;
        padding: 4rem 5%;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Enhanced mobile navigation for categories */
    .nav-pills {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
        justify-content: center;
    }
    
    .nav-pill {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        text-align: center;
        display: flex;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .nav-pill i {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }
    
    .services-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
    
    .service-nav-item {
        min-width: auto;
        padding: 1rem;
    }
    
    .service-nav-item i {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Tablet hero waves adjustments (768px - 1024px) */
@media (max-width: 1024px) {
    /* Wave layers */
    .hero::before,
    .hero::after,
    .hero .wave {
        width: 180%;
        height: 180%;
        border-radius: 45%;
        background: rgba(255, 255, 255, 0.04); /* subtle opacity */
    }

    .hero::before {
        top: -50%;
        left: -50%;
        animation-duration: 22s;
    }

    .hero::after {
        bottom: -50%;
        right: -50%;
        animation-duration: 28s;
    }

    .hero .wave {
        top: -40%;
        left: -40%;
        background: rgba(255, 255, 255, 0.06);
        animation-duration: 20s;
    }

    /* Optional hero image for tablet */
    .hero-image {
        display: block;
        max-width: 80%;
        margin: 1.5rem auto 0;
    }
}


/* Mobile styles (max-width: 768px) */
@media (max-width: 768px) {
    /* Mobile navigation */
    .mobile-menu-toggle {
        display: flex;
    }
    
    .logo-img,
    .logo-img-white {
        display: none;
    }
    
    .logo-img-mobile,
    .logo-img-mobile-white {
        display: block;
    }
    
    header.header-light .logo-img-mobile {
        display: none;
    }
    
    header.header-light .logo-img-mobile-white {
        display: block;
    }
    
    nav ul {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px var(--shadow);
        padding: 2rem 0;
    }
    
    nav ul.active {
        left: 0;
    }
    
    /* Ensure mobile menu text is always dark - override all header states */
    nav ul a,
    header.header-light nav ul a,
    header.scrolled nav ul a {
        color: var(--text-dark) !important;
    }
    
    /* CTA button in mobile menu */
    nav ul a.cta-button,
    header.header-light nav ul a.cta-button,
    header.scrolled nav ul a.cta-button {
        background: var(--primary-sage) !important;
        color: var(--white) !important;
    }
    
    nav ul a.cta-button:hover {
        background: var(--accent-orange) !important;
        color: var(--white) !important;
    }
    
    /* Enhanced mobile category navigation */
    .nav-pills {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .nav-pill {
        width: 100%;
        justify-content: center;
        padding: 1rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .nav-pill i {
        font-size: 1rem;
    }
    
    /* Services navigation - 2 columns on mobile */
    .services-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .service-nav-item {
        min-width: auto;
        padding: 1rem 0.75rem;
    }
    
    .service-nav-item i {
        font-size: 1.8rem;
    }

    /* Service Image */
    .service-image {
        max-width:400px;
    }

    /* MOBILE SERVICES LAYOUT ADJUSTMENTS */
    .services-overview,
    .service-detail,
    .service-guarantee,
    .services-cta {
        min-height: auto;
        padding: 3rem 3%;
    }
    
    .services-hero {
        height: 100vh; /* Keep full height on mobile */
    }
    
    /* Service content - single column on mobile */
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Service navigation - 2 columns on mobile */
    .services-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .service-nav-item {
        min-width: auto;
        padding: 1rem 0.75rem;
    }
    
    .service-nav-item i {
        font-size: 1.8rem;
    }
    
    .service-nav-item span {
        font-size: 0.85rem;
    }

    /* Full screen sections adjust on mobile */
    .full-screen-section,
    .features,
    .product-overview,
    .contact,
    .about-subsection,
    .offers-section,
    .commitment-section,
    .product-category,
    .service-detail {
        min-height: auto;
        padding: 3rem 3% 4rem;
    }
    
    /* Hero adjustments */
    .hero {
        min-height: 100vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 3%;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    /* Section padding adjustments */
    :root {
        --section-padding: 3rem 3%;
    }
    
    .container {
        padding: 0 3%;
    }
    
    /* Grid layouts - single column on mobile */
    .feature-grid,
    .guarantee-grid,
    .areas-grid,
    .channels-grid,
    .delivery-methods {
        grid-template-columns: 1fr;
    }

    .quick-categories {
        grid-template-columns: 1fr 1fr;
    }

    /* Hero badges - stack on mobile */
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
    
    /* CTA buttons - stack on mobile */
    .hero-buttons,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary,
    .btn-primary-large {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    /* Brand logos - smaller gaps on mobile */
    .brand-row {
        gap: 2rem;
    }
    
    .brand-item img {
        max-width: 100px;
        max-height: 50px;
    }
    
    /* Stats grid - single column on mobile */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Text size adjustments */
    .section-title {
        font-size: 1.8rem !important;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .brand-logos h3,
    .brand-section-title {
        font-size: 1.8rem !important;
    }
    
    .about-text h3 {
        font-size: 1.5rem;
    }
    
    .why-text {
        text-align: center;
    }

    .why-text h2 {
        font-size: 2.2rem !important;
        text-align: center;
    }

    .why-text h3 {
        text-align: center;
    }
    
    .why-text h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .products-hero h1,
    .services-hero h1 {
        font-size: 2.5rem;
    }
    
    .category-header h2 {
        font-size: 1.8rem;
    }
    
    /* Contact form - single column on mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Footer adjustments */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: left;
    }
    
    .footer-contact {
        gap: 1.5rem;
    }
    
    .footer-contact-item {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .footer-contact-item:last-child {
        border-bottom: none;
    }
    
    .social-links {
        justify-content: flex-start;
    }
    
    /* About page adjustments */
    .hero-subtitle {
        letter-spacing: 5px;
        font-size: 1.2rem;
    }
    
    /* Process steps - stack on mobile */
    .process-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .step-number {
        align-self: center;
    }
    
    /* Support services - single column */
    .support-services {
        grid-template-columns: 1fr;
    }
    
    /* Why Choose Us mobile adjustments */
    .why-row {
        grid-template-columns: 1fr;
    }

    /* Home hero content only display one row */
    #home .hero-content{
        grid-template-columns: 1fr;
    }

    /* Hide commitment item's paragraph */
    .commitment-item p {
        display: none;
    }

    /* Hide offer card's paragraph */
    .offer-card p{
        display: none;
    }   

    .feature-card {
        text-align: center;
    }

    .feature-card .feature-icon {
        margin: 0 auto;
    }

    .product-info p {
        display: none;
    }
    
    .product-features {
        margin-top: 0;
    }

    .service-text h3, h3 + p {
        display: none;
    }
    
    .service-text {
        text-align: center;
    }

    .feature-item i {
        display: none;
    }

    .service-text h2 {
        font-size: 24px;
    }
}

/* Small mobile styles (max-width: 480px) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.9rem !important;
    }
    
    .brand-logos h3::after,
    .why-text h2::after {
        width: 60px;
        height: 3px;
    }
    
    /* Ultra-compact mobile navigation for products */
    .nav-pills {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
    
    .nav-pill {
        width: 100%;
        padding: 0.75rem 0.25rem;
        font-size: 0.75rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        line-height: 1.2;
    }
    
    .nav-pill i {
        font-size: 0.9rem;
        margin-bottom: 0.25rem;
    }
    
    .services-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .service-nav-item {
        padding: 1rem 0.5rem;
        min-width: auto;
    }
    
    .quick-categories {
        gap: 1rem;
    }
    
    .quick-category {
        padding: 1.5rem;
    }
    
    .quick-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Floating buttons - smaller on very small screens */
    .whatsapp-float {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-top {
        width: 45px;
        height: 45px;
        bottom: 110px;
        right: 37.5px;
        font-size: 1.2rem;
    }
    
    /* Contact form - full width inputs */
    .form-group input,
    .form-group textarea {
        padding: 1rem;
    }
}

/* Large desktop styles (min-width: 1400px) */
@media (min-width: 1400px) {
    .hero-text h1 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .quick-categories {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Hero waves - mobile optimization */
@media (max-width: 768px) {
    .hero::before,
    .hero::after,
    .hero .wave {
        width: 150%;
        height: 150%;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.03); /* more subtle on mobile */
    }

    .hero::before {
        top: -40%;
        left: -40%;
        animation-duration: 25s; /* slower, smoother */
    }

    .hero::after {
        bottom: -40%;
        right: -40%;
        animation-duration: 30s;
    }

    .hero .wave {
        top: -30%;
        left: -30%;
        background: rgba(255, 255, 255, 0.05);
        animation-duration: 22s;
    }
}

/* Print styles */
@media print {
    .header,
    .whatsapp-float,
    .scroll-top,
    .loader {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        margin-top: 0;
    }
}