* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f7f7f7;
    line-height: 1.6;
    color: #2c2c2c;
}



/* ===============================
   Start: All Products Gallery CSS
   =============================== */

   .all-products-gallery {
    padding: 2rem 1rem;
    background-color: #f8f9fa;
    text-align: center;
  }
  
  .all-products-gallery .section-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
  }
  
  .all-products-gallery .section-desc {
    font-size: 1rem;
    color: #666;
    margin-bottom: 2rem;
  }
  
  /* Gallery grid */
  .custom-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
  }
  
  .gallery-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .gallery-image:hover {
    transform: scale(1.03);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  
  /* Modal styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 4rem;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 10px;
  }
  
  /* Close button */
  .close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* Enquire button */
  .enquire-btn {
    display: inline-block;
    margin: 1rem auto;
    padding: 0.75rem 1.5rem;
    background-color: #25d366;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
  }
  
  .enquire-btn:hover {
    background-color: #1ebd5a;
  }
  
  /* Navigation arrows */
  .modal-nav {
    display: flex;
    justify-content: space-between;
    max-width: 600px;
    margin: 1rem auto;
  }
  
  .modal-nav button {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    font-size: 2rem;
    padding: 0.25rem 1rem;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .modal-nav button:hover {
    background-color: #ddd;
  }
  
  /* =============================
     End: All Products Gallery CSS
     ============================= */
  
  

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0071ce 0%, #004c87 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Main Content */
main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Category Sections */
.category {
    margin-bottom: 60px;
}

.category h2 {
    font-size: 2rem;
    color: #2c2c2c;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0071ce;
    position: relative;
}

.category h2::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ff6b35;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Product Cards */
.product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #e0e0e0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: #0071ce;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #0071ce, #ff6b35);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover::before {
    opacity: 1;
}

/* Product Images */
.product-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    background: #f8f8f8;
}

.product-card:hover img {
    transform: scale(1.05);
}

/* Product Content */
.product-content {
    padding: 24px;
}

.product-content h3 {
    font-size: 1.3rem;
    color: #2c2c2c;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.4;
}

.product-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cta-buttons a {
    flex: 1;
    min-width: 120px;
    padding: 12px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* WhatsApp Button */
.cta-buttons a[href*="wa.me"] {
    background: #25d366;
    color: white;
    border: 2px solid #25d366;
}

.cta-buttons a[href*="wa.me"]:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

/* Email Button */
.cta-buttons a[href*="mailto"] {
    background: transparent;
    color: #0071ce;
    border: 2px solid #0071ce;
}

.cta-buttons a[href*="mailto"]:hover {
    background: #0071ce;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 113, 206, 0.3);
}

/* Button Ripple Effect */
.cta-buttons a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.cta-buttons a:active::before {
    width: 300px;
    height: 300px;
}

/* Footer */
footer {
    background: #2c2c2c;
    color: white;
    padding: 40px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 40px 20px;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .category h2 {
        font-size: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .product-content {
        padding: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons a {
        min-width: auto;
    }
}

@media (max-width: 480px) {
    main {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .hero-section h1 {
        font-size: 1.5rem;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .category {
        margin-bottom: 40px;
    }
    
    .product-content {
        padding: 16px;
    }
    
    .product-content h3 {
        font-size: 1.1rem;
    }
}

/* Loading Animation for Images */
.product-card img {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

.product-card img[src] {
    animation: none;
    background: #f8f8f8;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Scroll Animation */
.category {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.category:nth-child(1) { animation-delay: 0.1s; }
.category:nth-child(2) { animation-delay: 0.2s; }
.category:nth-child(3) { animation-delay: 0.3s; }
.category:nth-child(4) { animation-delay: 0.4s; }
.category:nth-child(5) { animation-delay: 0.5s; }
.category:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Focus States for Accessibility */
.cta-buttons a:focus {
    outline: 3px solid #ffc220;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cta-buttons {
        display: none;
    }
    
    .hero-section {
        background: #0071ce !important;
        -webkit-print-color-adjust: exact;
    }
    
    .product-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}
.product-description-block {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.product-image-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.product-image-group img {
  width: 180px;
  height: auto;
  border-radius: 6px;
  background-color: var(--light-gray);
  padding: 0.3rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.description-text {
  max-width: 700px;
  text-align: center;
  font-size: 1rem;
  color: var(--dark);
}

@media (max-width: 768px) {
  .product-image-group img {
    width: 45%;
  }
  .description-text {
    font-size: 0.95rem;
  }
}

/* ================================ */
/*         Back to Top Button       */
/* ================================ */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
    background-color: #0b6e4f; /* Steve & Robert’s brand green */
    color: white;
    border: none;
    outline: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: none; /* Hidden by default */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
  }
  
  #backToTop:hover {
    background-color: #064d36;
    transform: scale(1.1);
  }
  
