* {
  margin: 0;
  /* padding: 0; */
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: #000;
  margin: 0;
}

/* Circle container */
.menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;

  width: 50px;
  height: 50px;

  background: #ffffff;
  border: 1px solid #c8c8c8;
  border-radius: 50%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;

  cursor: pointer;
  z-index: 1000;
}

/* Hamburger lines */
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #000000;
  display: block;
}

/* Smooth animation */
.menu-toggle span {
  width: 18px;
  height: 2px;
  background: #000000;
  display: block;
  transition: all 0.3s ease;
}

/* When active */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
/* Nav Bar opening animation */
.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;

  background: #000000; /* light premium green */

  transform: translateY(-100%);
  transition: transform 0.5s ease;

  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 999;
}

.menu-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.menu-panel li {
  margin: 0;
}

.menu-panel a {
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 500;

  font-size: clamp(16px, 1.4vw, 20px);
  color: #ffffff; /* darker green for contrast */

  transition: opacity 0.3s ease;
}

.menu-panel a:hover {
  opacity: 0.6;
}

/* When open */
.menu-panel.active {
  transform: translateY(0);
}

/* Responsive Nav bar code */

.menu-toggle {
  width: 50px;
  height: 50px;
}

@media (max-width: 768px) {
  .menu-toggle {
    width: 42px;
    height: 42px;
    top: 15px;
    left: 15px;
  }

  .menu-toggle span {
    width: 16px;
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .menu-toggle span {
    width: 14px;
    height: 2px;
  }
}

@media (max-width: 768px) {
  .menu-panel ul {
    flex-direction: column;
    gap: 28px;
  }
}

/* Default (Desktop) */
.menu-panel ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
}

/* Tablet */
@media (max-width: 992px) {
  .menu-panel ul {
    gap: 40px;
  }

  .menu-panel a {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .menu-panel {
    height: 35vh; /* Slightly more space */
  }

  .menu-panel ul {
    flex-direction: column;
    gap: 20px;
  }

  .menu-panel a {
    font-size: 18px;
  }
}

/* Search Toggle */

.search-toggle {
  position: fixed;
  top: 20px;
  right: 20px;

  width: 50px;
  height: 50px;

  background: #ffffff;
  border: 1px solid #c8c8c8;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  cursor: pointer;
  z-index: 1000;
}
.search-toggle svg {
  width: 30px;
  height: 30px;
}

.search-toggle {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.search-toggle.hide-search {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

.menu-toggle,
.search-toggle {
  position: fixed;
  top: 32px;      /* more breathing space */
  z-index: 1000;
}

.menu-toggle {
  left: 100px;
}

.search-toggle {
  right: 100px;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .search-toggle {
    width: 50px;
    height: 50px;
  }

  .search-toggle svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .search-toggle {
    width: 44px;
    height: 44px;
  }

  .search-toggle svg {
    width: 16px;
    height: 16px;
  }
}

/* padding to minimal design for toggle and pages */

@media (max-width: 768px) {
  .menu-toggle {
    left: 20px;
  }

  .search-toggle {
    right: 20px;
  }

  .menu-toggle,
  .search-toggle {
    top: 20px;
  }
}

@media (max-width: 480px) {
  .menu-toggle {
    left: 16px;
  }

  .search-toggle {
    right: 16px;
  }

  .menu-toggle,
  .search-toggle {
    top: 16px;
  }
}

/* ---------- Pills ---------- */

.nav-pills {
  display: flex;
  gap: 25px;
}

.pill-section {
  padding: 120px 20px 40px;   /* top / horizontal / bottom */
}

.green { border-color: #3ca370; }
.purple { border-color: #b26df3; }
.blue { border-color: #3f7df0; }
.red { border-color: #f05353; }

/* ---------- Hero Section ---------- */

.hero {
  padding: 40px clamp(20px, 6vw, 120px) 0;
  max-width: 1200px;
  margin: 0 auto;
}

.category-tag {
  display: inline-block;
  padding: 10px 25px;
  border-radius: 30px;
  border: 1px solid black;
  margin-bottom: 40px;
  font-size: 20px;
}

h1 {
  font-size: 64px;
  line-height: 1.2;
  font-weight: 500;
  margin-bottom: 30px;
}

h3 {
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 20px;
}

.authors span {
  text-decoration: underline;
}

.meta {
  margin-top: 20px;
  letter-spacing: 1px;
  font-size: 14px;
  color: #555;
}

/* Next spotlight section */

.pill-section {
  padding: clamp(60px, 10vh, 100px) 20px;
  display: flex;
  justify-content: center;
}

.pill-container {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  flex-wrap: wrap;
  justify-content: center;
}

.pill {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 18px;
  text-decoration: none;
  color: #111;

  padding: 16px 40px;
  border-radius: 999px;
  border: 1px solid;

  transition: all 0.3s ease;
}

.green { border-color: #1B7F5C; }
.purple { border-color: #B058E6; }
.blue { border-color: #2D6CDF; }
.red { border-color: #E04B4B; }

.green:hover { background: rgba(27,127,92,0.08); }
.purple:hover { background: rgba(176,88,230,0.08); }
.blue:hover { background: rgba(45,108,223,0.08); }
.red:hover { background: rgba(224,75,75,0.08); }

/* ---------- Featured Image ---------- */

.featured-image img {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  margin-top: 60px;
}

.featured-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 40px;
  display: block;
  margin-top: 60px;
}

.image-caption {
  font-size: 14px;
  color: #666;
  margin-top: 12px;
  text-align: left;
  padding-left: 0;
}

.article-body {
  font-size: 16.7px;
  color: #666;
  margin-top: 12px;
  text-align: left;
}

/* -------- Pull Quote Box -------- */

.pull-out-box {
  display: block;
  padding: 20px 30px;
  border-radius: 40px;
  border: 1px solid black;
  margin: 40px 0;
  font-size: 20px;
  max-width: 800px;
}

/* sub heading */

.article-subheading {
  font-size: 28px;
  font-weight: 500;
  text-align: left;
  margin: 30px auto 30px;
  margin-left: 10px;
  max-width: 700px;
  line-height: 1.3;
}

/* article divider */

.article-divider {
  border: none;
  height: 1px;
  width: 100%;
  max-width: 750px;
  background-color: #999;
  margin: 40px 0;
}

/* Wrapper controls alignment */
.cta-wrapper {
  display: flex;
  justify-content: center;  /* CENTER */
  margin: 80px 0;
}

/* Pill Button */
.cta-button {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 20px 20px;
  border: 2px solid #111;
  border-radius: 100px;
  text-decoration: none;
  color: #111;
  background: #f5f5f5;
}

/* Icon circle */
.cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border: 2px solid #111;
  border-radius: 50%;
  font-size: 28px;
}

/* Text */
.cta-text {
  font-size: 32px;
  letter-spacing: 2px;
}

.cta-button:hover {
  background: #111;
  color: #fff;
  transition: 0.3s ease;
}

.cta-button:hover .cta-icon {
  border-color: #fff;
}


/* footer section */

.footer {
  padding: 80px 60px;
  background: #f5f5f5;
  font-family: 'Inter', sans-serif;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
}

.footer-left h2 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.3;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-links ul {
  list-style: disc;
}

.footer-links a {
  text-decoration: underline;
  font-size: 20px;
  color: #000;
}

.footer-contact {
  max-width: 350px;
}

.footer-contact h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer-contact p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.footer-btn {
  display: inline-block;
  padding: 12px 25px;
  background: #D8B66A;
  border-radius: 30px;
  text-decoration: none;
  color: #000;
  font-weight: 500;
}

.footer-divider {
  height: 1px;
  background: #ddd;
  margin: 50px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  font-size: 40px;
  font-weight: 700;
}

.footer-policy a {
  margin-right: 20px;
  text-decoration: underline;
  font-size: 14px;
  color: #000;
}

.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.footer-legal {
  margin-top: 40px;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
}

/* responsiveness */

@media (max-width: 1024px) {

  .impact-container {
    flex-direction: column;
    gap: 50px;
  }

  .divider {
    display: none;
  }

  .assist-section {
    flex-direction: column;
  }

  .assist-right {
    height: 400px;
  }

  .assist-card {
    right: 20px;
    bottom: 20px;
    max-width: 80%;
  }

  .footer-top {
    flex-direction: column;
    gap: 50px;
  }

  .footer-links {
    gap: 40px;
  }

}

@media (max-width: 768px) {

  .hero {
    padding: 140px 20px 40px;
  }

  .tagline {
    font-size: 22px;
    line-height: 1.35;
  }

  .feature-strip {
    overflow-x: auto;
    padding: 0 20px;
  }

  .strip-item {
    flex: 0 0 auto;
  }

  .assist-left {
    padding: 50px 20px;
  }

  .assist-left h2 {
    font-size: 32px;
  }

  .footer {
    padding: 60px 20px;
  }

  .footer-left h2 {
    font-size: 28px;
  }

}

@media (max-width: 900px) {

  .assist-section {
    flex-direction: column;
  }

  .assist-right {
    height: 400px;
  }

  .assist-card {
    right: 20px;
    bottom: 20px;
    max-width: 85%;
  }

}

@media (max-width: 900px) {

  .impact-container {
    flex-direction: column;
    gap: 60px;
  }

  .divider {
    display: none;
  }

}

@media (max-width: 768px) {

  .hero {
    padding: 130px 20px 40px;
  }

  .tagline {
    font-size: 22px;
    line-height: 1.4;
  }

}

@media (max-width: 900px) {

  .feature-strip {
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0 20px;
  }

  .strip-item {
    flex: 0 0 auto;
  }

}

@media (max-width: 900px) {

  .footer-top {
    flex-direction: column;
    gap: 50px;
  }

  .footer-links {
    gap: 40px;
  }

  .footer {
    padding: 60px 20px;
  }

}

/* ---------- FOOTER RESPONSIVE FIX ---------- */

@media (max-width: 1024px) {

  .footer-top {
    flex-direction: column;
    gap: 50px;
  }

  .footer-links {
    gap: 40px;
  }

  .footer-contact {
    max-width: 100%;
  }
}

@media (max-width: 768px) {

  .footer {
    padding: 60px 20px;
  }

  .footer-left h2 {
    font-size: 28px;
  }

  .footer-links {
    flex-direction: column;
    gap: 25px;
  }

  .footer-links ul {
    padding-left: 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-policy {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-social {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-brand {
    font-size: 28px;
  }

  .footer-legal {
    font-size: 12px;
  }
}

