/* Base Styles - Light Theme */
body {
    background-color: #ffffff; /* White background */
    color: #4b5563; /* Dark gray text */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px 0 80px 0;
    font-size: 18px; /* Bumped up the base font size */
}

 /* =========================================
    Navbar (Header) Styles
   ========================================= */
#header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 80px;
  background-color: #ffffff;
  box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background-color 0.4s ease;
}
.header-container {
  width: 100%; max-width: 1400px;
  margin: 0 auto; padding: 0 40px;
  display: flex; justify-content: space-between; align-items: center;
}
/* You can leave these next two lines in case you ever want the text back, or delete them safely */
.logo-title {
  font-size: 24px; font-weight: 800; color: #000000;
  margin: 0; letter-spacing: -0.5px; transition: color 0.4s ease;
}
.logo-title span { color: #106eea; }

.main-nav ul { list-style: none; display: flex; margin: 0; padding: 0; align-items: center; }
.main-nav ul li { margin: 0 15px; }
.nav-link { color: #333333; font-size: 14px; font-weight: 500; padding: 8px 0; display: block; transition: color 0.3s; }
.nav-link.active { color: #106eea; border-bottom: 3px solid #106eea; }
.nav-link:hover { color: #106eea; }
.nav-btn-quote { background-color: #106eea; color: #ffffff; padding: 12px 30px; font-size: 15px; font-weight: 600; display: inline-block; transition: 0.3s ease; border-radius: 4px; }
.nav-btn-quote:hover { background-color: #0d58ba; color: #ffffff; }

/* --- IMAGE STYLING --- */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo-img {
  max-height: 80px; /* Keeps the logo cleanly inside the header */
  width: auto;
  display: block;
}

    
/* Navigation Links */
.back-link {
    color: #6b7280;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 40px;
    font-size: 1.1rem; /* Increased font size */
    font-weight: 500;
}

.back-link i {
    margin-right: 8px;
}

.back-link:hover {
    color: #0284c7; /* Darker blue on hover */
}

/* Main Product Image */
.img-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08); /* Soft shadow for white bg */
}

.img-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.container {
    margin-top: 0px;
}

/* Main Product Details */
.badge-type {
    background-color: #e0f2fe; /* Light blue bg */
    color: #0284c7; /* Dark blue text */
    border: 1px solid #bae6fd;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 1rem; /* Increased font size */
    display: inline-block;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: 600;
}

.category-name {
    color: #0ea5e9;
    font-size: 1.1rem; /* Increased font size */
    margin-bottom: 8px;
    font-weight: 600;
}

.product-title {
    color: #111827; /* Near black */
    font-weight: 700;
    font-size: 2.8rem; /* Increased font size */
    margin-bottom: 25px;
}

.product-desc {
    line-height: 1.8;
    margin-bottom: 35px;
    font-size: 1.25rem; /* Increased font size */
    color: #4b5563;
}

/* Buttons */
.btn-enquiry {
    background-color: #0ea5e9; /* Sky blue */
    color: #ffffff; /* White text */
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1.1rem; /* Increased font size */
    font-weight: 600;
    margin-right: 15px;
    text-decoration: none;
    transition: background-color 0.3s;
    display: inline-block;
}

.btn-enquiry:hover {
    background-color: #0284c7;
    color: #ffffff;
}

.btn-contact {
    background-color: transparent;
    color: #111827;
    border: 1px solid #d1d5db; /* Gray border */
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 1.1rem; /* Increased font size */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-contact:hover {
    background-color: #f3f4f6;
    color: #111827;
}

/* Related Products Section */
.related-section-title {
    color: #111827;
    font-size: 2rem; /* Increased font size */
    font-weight: 700;
    margin-top: 80px;
    margin-bottom: 30px;
}

.related-section-title span {
    color: #0ea5e9;
}

/* Related Product Cards */
.rel-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
    border: 1px solid #e5e7eb; /* Light gray border */
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.rel-card:hover {
    transform: translateY(-5px);
    border-color: #bae6fd;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); /* Stronger shadow on hover */
}

.rel-img-wrapper {
    position: relative;
    height: 200px; /* Made image slightly taller to match larger text */
    padding: 10px 10px 0 10px;
}

.rel-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.rel-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background-color: #0ea5e9;
    color: #ffffff;
    font-size: 0.85rem; /* Increased font size */
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rel-body {
    padding: 20px;
}

.rel-category {
    color: #0ea5e9;
    font-size: 0.95rem; /* Increased font size */
    margin-bottom: 8px;
    font-weight: 600;
}

.rel-title {
    color: #111827;
    font-size: 1.3rem; /* Increased font size */
    font-weight: 700;
    margin-bottom: 10px;
}

.rel-desc {
    color: #6b7280;
    font-size: 1.05rem; /* Increased font size */
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================
   NEW Dark Footer Section Styles
========================================= */
.footer-dark-section {
    background-color: #111111;
    color: #aaaaaa;
    font-family: 'Inter', sans-serif;
    position: relative;
    overflow: hidden;
    margin-top: 60px;
}

/* Newsletter / CTA Banner */
.footer-newsletter {
    background: linear-gradient(90deg, #106eea 0%, #0d58ba 100%);
    padding: 35px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-newsletter h4 {
    font-weight: 700;
    font-size: 22px;
}

.footer-btn {
    background-color: #ffffff;
    color: #106eea;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}

.footer-btn:hover {
    background-color: #f8f9fa;
    color: #0d58ba;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

/* Main Footer Content */
.footer-content {
    padding: 70px 15px 15px 15px;
}

.footer-logo-text {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.footer-logo-text span {
    color: #106eea;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-heading::after {
    content: '';
    position: absolute;
    display: block;
    width: 40px;
    height: 3px;
    background: #106eea;
    bottom: 0;
    left: 0;
    border-radius: 2px;
}

.footer-desc {
    line-height: 1.8;
    font-size: 15px;
    color: #999999;
}

/* Footer Links */
.footer-dark-section .footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-dark-section .footer-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-dark-section .footer-links ul li:last-child {
    border-bottom: none;
}

.footer-dark-section .footer-links ul i {
    color: #106eea;
    font-size: 18px;
    margin-right: 8px;
}

.footer-dark-section .footer-links ul a {
    color: #aaaaaa;
    text-decoration: none;
    transition: 0.3s ease;
    font-size: 15px;
}

.footer-dark-section .footer-links ul a:hover {
    color: #ffffff;
    padding-left: 6px; /* Smooth slide effect on hover */
}

/* Contact Info */
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-item i {
    font-size: 22px;
    color: #106eea;
    margin-right: 15px;
    margin-top: 2px;
}

.contact-item p {
    margin: 0;
    line-height: 1.6;
    font-size: 15px;
    color: #aaaaaa;
}

.contact-item a {
    color: #aaaaaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #106eea;
}

/* Social Links */
.social-links-dark {
    display: flex;
    gap: 12px;
}

.social-links-dark a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.05);
    color: #ffffff;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links-dark a:hover {
    background-color: #106eea;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(16, 110, 234, 0.4);
}

/* Footer Bottom Bar */
.footer-bottom-dark {
    background-color: #050505;
    padding: 22px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom-dark .copyright {
    color: #888888;
}

.footer-bottom-dark .copyright strong {
    color: #ffffff;
    font-weight: 500;
}

.footer-legal-links a {
    color: #888888;
    text-decoration: none;
    margin-left: 15px;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #ffffff;
}

/* Base Styles - Light Theme */
body {
    background-color: #ffffff; 
    color: #4b5563; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 0px 0 0 0; /* Changed the bottom 80px to 0 */
    font-size: 18px; 
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .footer-content {
        padding: 50px 15px 5px 15px;
    }
    .footer-legal-links {
        margin-top: 10px;
    }
    .footer-legal-links a {
        margin: 0 10px;
    }
}


    /* =========================================
       Floating Buttons (WhatsApp, Theme, Scroll)
    ========================================= */
    .floating-container {
      position: fixed;
      bottom: 30px;
      right: 30px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      z-index: 9999;
    }
    .float-btn {
      width: 50px; height: 50px;
      border-radius: 50%;
      display: flex; align-items: center; justify-content: center;
      font-size: 24px; color: #fff;
      border: none; cursor: pointer;
      box-shadow: 0px 4px 15px rgba(0,0,0,0.2);
      transition: transform 0.3s ease, background-color 0.3s;
    }
    .float-btn:hover { transform: translateY(-4px); color: #fff; }
    
    .whatsapp-btn { background-color: #25D366; }
    .whatsapp-btn:hover { background-color: #20bd5a; }
    
    .theme-btn { background-color: #333333; }
    .theme-btn:hover { background-color: #111111; }
    
    .scroll-btn { background-color: #106eea; opacity: 0; visibility: hidden; transition: 0.4s ease; }
    .scroll-btn.show { opacity: 1; visibility: visible; }
    .scroll-btn:hover { background-color: #0d58ba; }

    /* =========================================
   Responsive Navbar (Tablet & Mobile)
   ========================================= */

/* Hide mobile toggle on Desktop */
.mobile-toggle {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: #333;
}

/* Tablet and Mobile Views */
@media (max-width: 991px) {
  .header-container {
    padding: 0 20px;
  }
  
  /* Show hamburger menu */
  .mobile-toggle {
    display: block;
    order: 2; /* Pushes it to the right side */
  }

  /* Hide the get quote button to save space on mobile (optional) */
  .nav-button-wrapper {
    display: none; 
  }

  /* Restructure the navigation into a dropdown */
  .main-nav {
    position: absolute;
    top: 80px; /* Right below the header */
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    display: none; /* Hidden by default on mobile */
    border-top: 1px solid #f1f1f1;
    padding: 20px 0;
  }

  /* Class added by JavaScript to show the menu */
  .main-nav.active {
    display: flex; 
  }

  /* Stack navigation links vertically */
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .main-nav ul li {
    margin: 12px 0;
  }

  .nav-link {
    padding: 10px 0;
    font-size: 16px;
  }

  /* Adjust active state for mobile (removes bottom border) */
  .nav-link.active {
    border-bottom: none;
    color: #106eea;
    font-weight: 700;
  }
}