/* ===========================
   Base Styles
=========================== */
body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff; /* unified white */
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6; /* slightly tighter */
  font-size: 0.9rem; /* smaller base */
}

/* ===========================
   Navbar
=========================== */
.navbar {
  background-color: #ffffff !important; /* pure white */
  border-bottom: 1px solid rgba(0,0,0,0.05); /* subtle divider */
}

.navbar-brand {
  color: #333 !important;
  font-weight: 600;
  font-size: 1rem;
}

.navbar-brand:hover {
  color: #007a33 !important; /* accent hover */
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: #007a33 !important; /* accent hover */
}

.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; /* reduced height */
  color: white;
}

/* ===========================
   Content Section
=========================== */
.article-wrapper {
  padding: 2rem 1rem; /* reduced */
}

.content-section {
  max-width: 900px;
  margin: 0 auto;
}

.content-section p {
  font-size: 0.9rem;
  margin-bottom: 0.8rem; /* tighter spacing */
  color: #333;
}

/* ===========================
   List Styling
=========================== */
.content-section ul {
  list-style-type: disc;
  padding-left: 1.5rem; /* reduced */
  margin-bottom: 1.2rem;
}

.content-section ul li {
  margin-bottom: 0.5rem;
  font-weight: 500;
  background: #ffffff; /* unified white */
  padding: 6px 10px; /* smaller padding */
  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; /* reduced */
  font-size: 0.8rem;
  margin-top: 2rem;
}

/* ===========================
   Section Spacing
=========================== */
section {
  margin-bottom: 1.5rem; /* reduced */
  padding: 0.8rem; /* reduced */
  background: #ffffff; /* unified white */
  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;       /* compact mobile size */
  margin: 1rem auto;      /* center horizontally */
  text-align: center;
}

.ad-container ins.adsbygoogle {
  display: inline-block !important;
  width: 320px !important;   /* mobile leaderboard */
  height: 50px !important;   /* compact height */
}

/* 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; /* smaller */
  }

  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; /* even smaller */
  }

  .navbar-brand img {
    height: 30px; /* smaller logo */
  }

  .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;       /* compact mobile size */
  margin: 1rem auto;      /* center horizontally */
  text-align: center;
}

.my-3 ins.adsbygoogle {
  display: inline-block !important;
  width: 320px !important;   /* mobile leaderboard */
  height: 50px !important;   /* compact height */
  border: none !important;   /* remove borders */
  background: transparent !important; /* clean look */
}

/* 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;
  }
}