/* ===========================
   Base Styles
=========================== */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
  font-size: 0.9rem;
}

/* ===========================
   Navbar
=========================== */
.navbar {
  background-color: #ffffff !important;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.navbar-brand {
  color: #333 !important;
  font-weight: 600;
  font-size: 1rem;
}

.navbar-brand:hover {
  color: #007a33 !important;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
  font-size: 0.9rem; /* ✅ ensure consistent font */
}

.navbar-nav .nav-link:hover {
  color: #007a33 !important;
}

.navbar-toggler {
  border: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(51,51,51,0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ===========================
   Hero Section
=========================== */
.hero-section {
  background: linear-gradient(135deg, #007a33, #fbc02d);
  animation: gradientShift 8s ease infinite alternate;
  text-align: center;
  padding: 2.5rem 1rem;
  color: white;
}

/* ===========================
   Content Section
=========================== */
.article-wrapper {
  padding: 2rem 1rem;
}

.content-section {
  max-width: 900px;
  margin: 0 auto;
}

.content-section p {
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  color: #333;
}

/* ===========================
   List Styling
=========================== */
.content-section ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.2rem;
}

.content-section ul li {
  margin-bottom: 0.5rem;
  font-weight: 500;
  background: #ffffff;
  padding: 6px 10px;
  font-size: 0.85rem;
  border-left: 3px solid #007a33;
  border-radius: 5px;
  transition: transform 0.3s, background 0.3s;
}

/* ===========================
   Footer
=========================== */
footer {
  background-color: #006400;
  color: white;
  text-align: center;
  padding: 0.8rem 1rem;
  font-size: 0.8rem;
  margin-top: 2rem;
}

/* ===========================
   Section Spacing
=========================== */
section {
  margin-bottom: 1.5rem;
  padding: 0.8rem;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

section:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0,0,0,0.1);
}

/* ===========================
   Ad Styling
=========================== */
.ad-container {
  max-width: 320px;
  margin: 1rem auto;
  text-align: center;
}

.ad-container ins.adsbygoogle {
  display: inline-block !important;
  width: 320px !important;
  height: 50px !important;
}

/* Tablet */
@media (min-width: 768px) {
  .ad-container ins.adsbygoogle {
    width: 468px !important;
    height: 60px !important;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .ad-container ins.adsbygoogle {
    width: 728px !important;
    height: 90px !important;
  }
}

/* ===========================
   Responsive Adjustments
=========================== */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 1rem;
  }

  h1 { font-size: 1.5rem; }
  h2 { font-size: 1.3rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.1rem; }
  h5 { font-size: 0.95rem; }
  h6 { font-size: 0.8rem; }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 1.8rem 1rem;
  }

  .navbar-brand img {
    height: 30px;
  }

  .content-section ul li {
    padding: 5px 8px;
    font-size: 0.8rem;
  }

  footer {
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
  }
}

/* ===========================
   Ad Styling (my-3 wrapper)
=========================== */
.my-3 {
  max-width: 320px;
  margin: 1rem auto;
  text-align: center;
}

.my-3 ins.adsbygoogle {
  display: inline-block !important;
  width: 320px !important;
  height: 50px !important;
  border: none !important;
  background: transparent !important;
}

/* Tablet */
@media (min-width: 768px) {
  .my-3 ins.adsbygoogle {
    width: 468px !important;
    height: 60px !important;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .my-3 ins.adsbygoogle {
    width: 728px !important;
    height: 90px !important;
  }
}

/* ===========================
   Dropdown Styling (Right aligned, borderless, same font)
=========================== */

/* ✅ Dropdown container */
.nav-item.dropdown .dropdown-menu {
  background: #ffffff;
  padding: 0.2rem 0;
  font-size: 0.9rem; /* ✅ EXACT same as nav-link */
  font-weight: 500;  /* ✅ EXACT same as nav-link */
  right: 0;
  left: auto;
  border: none !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* ✅ Dropdown items */
.dropdown-menu .dropdown-item {
  padding: 5px 10px;
  font-size: 0.9rem;  /* ✅ match nav-link */
  font-weight: 500;   /* ✅ match nav-link */
  color: #333;
  text-align: right;  /* ✅ align right on hamburger */
  transition: background 0.3s, color 0.3s;
}

/* ✅ Hover effect */
.dropdown-menu .dropdown-item:hover {
  background: #ffffff;
  color: #007a33;
}

/* ✅ Desktop hover open */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}
