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

body {
    font-family: "Saira", sans-serif; 
    color: #333;
    background-color: #f5f5f5;

}

/* NAVBAR BASE */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(179, 0, 0, 0.9);
  padding: 1rem 3rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  z-index: 1000;
  font-family: "Arimo", sans-serif;
}
.navbar::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 65%;
  height: 100%;
  background: rgba(179, 0, 0, 0.9);
  z-index: -1;
}

/* Navbar container */
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  margin: 0;
  flex-wrap: wrap;
}

/* Brand */
.navbar .brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #333;
}

/* Brand logo */
.navbar .brand-logo {
  height: 70px;
  width: auto;
}

/* Brand text */
.navbar .brand-text {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
}

/* Nav Links */
.navbar .nav-links {
  list-style: none;
  display: flex;
  justify-content: flex-start;
  flex: 0;
  gap: 2rem;
  margin-right: 140px;
  transition: all 0.4s ease;
}

.navbar .nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  transition: color 0.3s ease;
}

.navbar .nav-links li a:hover {
  color: #e07b17;
}

/* Search Bar */
.nav-search {
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-search input {
  padding: 6px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  outline: none;
}

.nav-search button {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  color: #d01313;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-search button i {
  font-size: 16px;
  line-height: 1;
}

.nav-search button:hover {
  background-color: #a50e0e;
}

/* -------------------- MOBILE VIEW -------------------- */
/* --- FIX HAMBURGER VISIBILITY AND LAYERING --- */
@media (max-width: 768px) {
  /* Brand responsive */
  .navbar .brand {
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    margin-right: auto;
  }

  .navbar .brand-logo {
    height: 50px;
  }

  .navbar .brand-text {
    font-size: 16px;
  }

  /* Make sure hamburger is above the red overlay */
/* --- FIX HAMBURGER VISIBILITY --- */
  .hamburger {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    font-size: 30px;
    color: #333;
    z-index: 9999;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
  }

  .hamburger i {
    color: #333;
  }

  .navbar .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    background: rgba(179, 0, 0, 0.97);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    transition: right 0.4s ease-in-out;
    z-index: 2500;
    padding-top: 100px;
  }

  .navbar .nav-links.open {
    right: 0;
  }



  /* Fix container layout */
  .navbar .container {
    justify-content: space-between;
    align-items: center;
  }



  .nav-links li a {
    color: #fff;
    font-size: 18px;
  }

  .nav-search {
    display: none;
  }

  /* Change icon to close (X) when active */
  .hamburger.active i::before {
    content: "\f00d";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
  }
}

/* Hide hamburger in desktop */
.hamburger {
  display: none;
}

/* ------------------- DROPDOWN MENU ------------------- */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  list-style: none;
  min-width: 220px;
  display: none;
  flex-direction: column;
  padding: 10px 0;
  z-index: 3000;
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  color: #333 !important;
  text-decoration: none;
  display: block;
  padding: 10px 20px;
  transition: background 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgba(179, 0, 0, 0.1);
  color: #d01313 !important;
}

/* Show dropdown on hover - desktop only */
@media (min-width: 769px) {
  .dropdown:hover .dropdown-menu {
    display: flex;
  }
}

/* --- MOBILE DROPDOWN --- */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
    display: none;
    align-items: center;
    flex-direction: column;
  }

  .dropdown.open .dropdown-menu {
    display: flex;
  }

  .dropdown-menu li a {
    color: #fff !important;
    padding: 8px 0;
    text-align: center;
  }

  .dropdown-toggle i {
    margin-left: 6px;
  }

   .dropdown {
    width: 100%;
    text-align: center;
  }

  .dropdown-toggle {
    justify-content: center;
  }
}

/* -------- Desktop Sub Dropdown -------- */
@media (min-width: 769px) {

  .sub-dropdown {
    position: relative;
  }

  .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    list-style: none;
    min-width: 200px;
    display: none;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .sub-menu li a {
    color: #333 !important;
    padding: 10px 20px;
    display: block;
  }

  .sub-menu li a:hover {
    background: rgba(179,0,0,0.1);
    color: #d01313 !important;
  }

  .sub-dropdown:hover .sub-menu {
    display: block;
  }
}

/* -------- Third Level Dropdown -------- */
@media (min-width: 769px) {

  .sub-sub-dropdown {
    position: relative;
  }

  .sub-sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    background: #fff;
    list-style: none;
    min-width: 200px;
    display: none;
    padding: 10px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  .sub-sub-dropdown:hover .sub-sub-menu {
    display: block;
  }

  .sub-sub-menu li a {
    padding: 10px 20px;
    display: block;
    color: #333 !important;
  }

  .sub-sub-menu li a:hover {
    background: rgba(179,0,0,0.1);
    color: #d01313 !important;
  }
}

/* ================= MOBILE PRODUCT MENU FIX ================= */
@media (max-width: 768px) {

  /* Hide all inner sub menus in mobile */
  .dropdown-menu .sub-menu,
  .dropdown-menu .sub-sub-menu {
    display: none !important;
  }

  /* Hide arrows ▸ in mobile */
  .dropdown-menu a {
    pointer-events: auto;
  }

  .dropdown-menu a::after {
    display: none !important;
  }

  /* Make Product main categories clean list */
  .dropdown-menu > .sub-dropdown > a {
    font-size: 18px;
    font-weight: 600;
    padding: 10px 0;
  }

  /* Remove extra spacing */
  .dropdown-menu {
    gap: 0;
  }
}

/* ===================================== */

/* Utility to hide/show sections */
/* .hidden {
  display: none !important;
} */

/* Article View Layout */
.article-view-section {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 20px;
  animation: fadeIn 0.5s ease;
}

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

.article-container {
  background-color: #fff;
  max-width: 900px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.08);
  padding: 50px;
}

/* Back Button */
.back-btn {
  background-color: #f0f0f0;
  color: #111;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 40px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background-color: #d01313;
  color: #fff;
}

/* Typography inside Article */
.article-header h1 {
  color: #d01313;
  font-size: 2.5em;
  line-height: 1.2;
  margin-bottom: 30px;
}

.article-content h2 {
  color: #d01313;
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 10px;
}

.article-content h3 {
  color: #111;
  font-size: 1.4em;
  margin-top: 25px;
  margin-bottom: 10px;
}

.article-content h4 {
  color: #111;
  font-size: 1.2em;
  margin-top: 20px;
  margin-bottom: 8px;
}

.article-content p {
  color: #111;
  font-size: 1.05em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-content hr {
  border: 0;
  height: 1px;
  background-color: #eaeaea;
  margin: 40px 0;
}

/* List Styling */
.article-content ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.article-content li {
  color: #111;
  font-size: 1.05em;
  line-height: 1.6;
  margin-bottom: 8px;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
}

/* Grids for better layout of dense info */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.bad-outcomes {
  background-color: #fff5f5;
  padding: 20px;
  border-left: 4px solid #d01313;
  border-radius: 0 4px 4px 0;
}

.good-outcomes {
  background-color: #f5fff5;
  padding: 20px;
  border-left: 4px solid #28a745;
  border-radius: 0 4px 4px 0;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.category-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #eaeaea;
}

.faq-section h4 {
  color: #d01313;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .article-container { padding: 30px 20px; }
  .comparison-grid { grid-template-columns: 1fr; }
  .article-header h1 { font-size: 2em; }
}

/* ===================================== */

/* Table Styles */
.table-responsive {
  overflow-x: auto;
  margin-bottom: 30px;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.custom-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  min-width: 600px; /* Ensures it doesn't squish too much on mobile */
}

.custom-table th, 
.custom-table td {
  padding: 15px 20px;
  border: 1px solid #eaeaea;
  text-align: left;
  color: #111;
}

.custom-table th {
  background-color: #d01313;
  color: #fff;
  font-weight: bold;
  font-size: 1.1em;
}

.custom-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.custom-table tr:hover {
  background-color: #fff5f5;
  transition: background-color 0.3s ease;
}

/* ===================================== */
/* FOOTER */

footer {
  background: #111;
  color: white;
  padding: 60px 8%;
  font-family: 'Poppins', sans-serif;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 50px;
  align-items: start;
}

/* Column 1: Logo + tagline */
.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.footer-brand-logo {
  width: 120px;
  border-radius: 10px;
}
.footer-logo p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.7;
}

/* Quick Links */
.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
}
.footer-links ul {
  list-style: none;
  padding: 0;
}
.footer-links ul li {
  margin-bottom: 10px;
}
.footer-links ul li a {
  color: #ccc;
  text-decoration: none;
  transition: 0.3s;
}
.footer-links ul li a:hover {
  color: #ff4d4d;
}

/* Contact Info */
.footer-contact p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* Social Media Icons in White Pills */
.footer-social .social-pill-container {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-social .social-pill-container a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: white;
  color: #a00000;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: 0.3s;
}
.footer-social .social-pill-container a:hover {
  background: #ff4d4d;
  color: white;
  transform: translateY(-3px);
}
/* Footer Product Grid */
.footer-products h4 {
  margin-bottom: 15px;
  font-size: 18px;
  color: #fff;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-grid img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  background: #fff;
  padding: 3px;
}

.footer-bottom {
  text-align: center;
  margin-top: 50px;
  color: #777;
  font-size: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

.footer-bottom a {
  color: #777;
  font-size: 16px;
  text-decoration: none;
  border-top: none;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social .social-pill-container {
    justify-content: center;
  }
}
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  padding: 10px;
  z-index: 1000;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 48px;
  height: 48px;
  display: block;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}
@media (max-width: 600px) {
  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }
  .whatsapp-float img {
    width: 42px;
    height: 42px;
  }
}


/* --- Responsive Adjustments --- */

/* Medium devices (Tablets) */
@media (max-width: 992px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* Small devices (Mobiles) */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: left; /* left align for mobile */
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    text-align: left;
  }

  .footer-social .social-pill-container {
    justify-content: flex-start;
  }
}

/* Extra Small Devices (Phones under 480px) */
@media (max-width: 480px) {
  footer {
    padding: 40px 6%;
  }

  .footer-brand-logo {
    width: 100px;
  }

  .footer-links h4,
  .footer-contact h4 {
    font-size: 18px;
  }

  .footer-links ul li a,
  .footer-contact p {
    font-size: 16px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    padding: 8px;
  }

  .whatsapp-float img {
    width: 40px;
    height: 40px;
  }
}

/* =======================================================
   🔧 UNIVERSAL FIX: Remove unwanted horizontal scrollbars
   Works for all sections & all screen sizes
======================================================= */

/* Prevent body from scrolling horizontally */
html, body {
  width: 100%;
  overflow-x: hidden;  /* ✅ No horizontal scrollbar anywhere */
}