/* style.css */

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #f4f9f5;
  color: #2b2b2b;
  line-height: 1.6;
}

header.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(4,52,20,0.65) 60%, rgba(255,230,0,0.18) 100%);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(2px);
  border-radius: 22px;
  padding: 2.5rem 2.5rem 2rem 2.5rem;
  box-shadow: 0 8px 32px rgba(4,52,20,0.13);
  display: inline-block;
  margin-top: 2rem;
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  animation: heroFadeIn 1.2s cubic-bezier(.4,0,.2,1) 0.2s forwards;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-text h1 {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ffe600;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 12px #04341455;
}

.hero-text h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 1.1rem;
  color: #fff;
  text-shadow: 0 2px 12px #04341444;
}

.hero-text h2 span {
  color: #ffe600;
  text-shadow: 0 2px 12px #04341455;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #fffde7;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px #04341433;
}

.hero-text .cta,
.hero-text .secondary-cta {
  display: inline-block;
  background: #ffe600;
  color: #043414;
  font-weight: 700;
  border: none;
  border-radius: 26px;
  padding: 0.85rem 2.2rem;
  margin: 0.5rem 0.5rem 0 0;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(4,52,20,0.10);
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.hero-text .secondary-cta {
  background: #fff;
  color: #043414;
  border: 2px solid #ffe600;
}

.hero-text .cta:hover,
.hero-text .cta:focus,
.hero-text .secondary-cta:hover,
.hero-text .secondary-cta:focus {
  background: #043414;
  color: #ffe600;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(4,52,20,0.13);
}

section {
  padding: 2rem 1rem;   /* Reduced from 4rem to 2rem */
  margin-bottom: 0;     /* Ensure no extra margin between sections */
  text-align: center;
  background: #fff;
}

section h2 {
  margin-top: 0;
  margin-bottom: 1.2rem;
  color: #2c3e50;
  font-size: 2rem;
}

section h2 span {
  color: #064420;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;          /* Reduce gap between cards if needed */
  justify-content: center;
  margin-top: 2rem;
}

.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 1rem;
  width: 280px;
  transition: transform 0.3s;
  text-align: left;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.card h3 {
  margin: 0.5rem 0;
  color: #043414;
}

.card button {
  background: #064420;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  margin-top: 0.5rem;
  cursor: pointer;
}

footer {
  background: linear-gradient(120deg, #043414 80%, #ffe600 120%);
  color: #fff;
  padding: 1.2rem 0 0.5rem 0;
  text-align: center;
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
  box-shadow: 0 -2px 24px rgba(4,52,20,0.10);
  position: relative;
  margin-top: 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 2.2rem;
  margin-bottom: 0.5rem;
  padding: 0 1rem;
}

.footer-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.footer-logo img {
  height: 38px;
  filter: drop-shadow(0 2px 8px #0002);
  margin-right: 0.5rem;
}

.footer-contact, .footer-social {
  min-width: 180px;
  flex: 1 1 180px;
  margin-bottom: 0;
}

.footer-contact h3, .footer-social h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
  color: #ffe600;
}

.contact-info {
  font-size: 0.98rem;
  color: #ffe600;
  margin-top: 0.7rem;
  margin-bottom: 0;
}

.footer-social .social-icons {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 0.4rem;
}

.footer-social .social-icons a {
  color: #ffe600;
  background: #043414;
  font-size: 1.3rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
}

.footer-social .social-icons a:hover {
  background: #ffe600;
  color: #043414;
  transform: scale(1.13);
}

footer form.contact-form {
  display: none; /* Hide form for minimal look, show if needed */
}

footer p {
  font-size: 0.97rem;
  color: #ffe600;
  margin: 0.8rem 0 0.2rem 0;
  letter-spacing: 0.5px;
  background: none;
}

/* Classic footer with booking form and payment icons */
.classic-footer {
  background: #043414;
  color: #fff;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  box-shadow: 0 -2px 24px rgba(4,52,20,0.10);
  margin-top: 2rem;
  font-size: 1rem;
  padding: 0;
}
.classic-footer-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.2rem 2vw 0.5rem 2vw;
}
.classic-footer-col {
  flex: 1 1 220px;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.classic-footer-logo img {
  height: 70px;
  margin-bottom: 0.3rem;
  filter: drop-shadow(0 2px 8px #0002);
}
.classic-footer-brand {
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffe600;
  margin-bottom: 0.2rem;
  text-align: center;
}
.classic-footer-contact {
  font-size: 1rem;
  color: #ffe600;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: center;
}
.classic-footer-contact i {
  margin-right: 0.4em;
}
.classic-footer-contact a {
  color: #ffe600;
  text-decoration: underline;
}
.classic-footer-booking {
  background: #fff;
  color: #043414;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(4,52,20,0.10);
  padding: 1.2rem 1.2rem 0.7rem 1.2rem;
  margin: 0 auto;
  max-width: 340px;
  width: 100%;
  align-items: stretch;
}
.classic-footer-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.classic-footer-form input,
.classic-footer-form select {
  width: 100%;
  padding: 0.5rem 0.8rem;
  border: 1px solid #b2c8b2;
  border-radius: 6px;
  font-size: 1rem;
  background: #f9f9f9;
  color: #043414;
}
.classic-footer-form button {
  background: #ffe600;
  color: #064420;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 24px;
  font-weight: bold;
  cursor: pointer;
  margin-top: 0.3rem;
  transition: background 0.2s, color 0.2s;
}
.classic-footer-form button:hover {
  background: #064420;
  color: #ffe600;
}
.classic-footer-payments {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin: 0.5rem 0 0.2rem 0;
  justify-content: center;
}
.classic-footer-payments img {
  height: 26px;
  width: auto;
  filter: grayscale(0.2) brightness(0.95);
  background: #fff;
  border-radius: 4px;
  padding: 2px 4px;
  box-shadow: 0 1px 4px rgba(4,52,20,0.08);
}
.classic-footer-note {
  font-size: 0.93rem;
  color: #043414;
  margin-bottom: 0.2rem;
  text-align: center;
}
.classic-footer-social {
  gap: 0.5rem;
}
.classic-footer-social > div:first-child {
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffe600;
  margin-bottom: 0.2rem;
}
.classic-footer-social-icons {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
}
.classic-footer-social-icons a {
  color: #ffe600;
  background: #043414;
  font-size: 1.3rem;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s, color 0.18s, transform 0.18s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  text-decoration: none;
}
.classic-footer-social-icons a:hover {
  background: #ffe600;
  color: #043414;
  transform: scale(1.13);
}
.classic-footer-bottom {
  font-size: 0.97rem;
  color: #ffe600;
  margin: 0.5rem 0 0.2rem 0;
  letter-spacing: 0.5px;
  background: none;
  text-align: center;
  padding-bottom: 0.5rem;
}
@media (max-width: 900px) {
  .classic-footer-content {
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 1rem 0.5rem 0.2rem 0.5rem;
  }
  .classic-footer-logo img {
    height: 54px;
  }
  .classic-footer-booking {
    width: 100%;
    max-width: 98vw;
    margin: 0;
  }
}

@media (max-width: 700px) {
  footer {
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    padding: 1rem 0 0.3rem 0;
  }
  .footer-content {
    flex-direction: column;
    gap: 1.2rem;
    padding: 0 0.5rem;
  }
  .footer-logo img {
    height: 32px;
  }
}

@media screen and (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
  }
}

.card-title {
  background: linear-gradient(135deg, #ffe600, #064420);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1rem;
}

.card-title h2 {
  font-size: 2rem;
  margin: 0;
  color: #ffe600;
}

/* Section backgrounds */
#tours.section {
  background: #f4f9f5;
}

#about.section {
  background: #e6f4ea;
}

#packages.section {
  background: #fffbe6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;            /* Reduce gap between gallery images */
  margin-top: 1rem;     /* Less space above gallery grid */
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  object-fit: cover;
  height: 180px;
  background: #fff;
  transition: 
    opacity 0.8s cubic-bezier(.4,0,.2,1),
    transform 0.8s cubic-bezier(.4,0,.2,1),
    box-shadow 0.3s;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 32px rgba(4,52,20,0.18);
  z-index: 2;
}

.contact-form {
  max-width: 500px;
  margin: 2rem auto 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form .form-row {
  display: flex;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #b2c8b2;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
}

.contact-form button.cta {
  align-self: flex-end;
  background: #ffe600;
  color: #064420;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 30px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.contact-form button.cta:hover {
  background: #064420;
  color: #ffe600;
}

.contact-info {
  text-align: center;
  margin-top: 2rem;
  color: #043414;
}

@media (max-width: 600px) {
  .contact-form .form-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }
}

@media (max-width: 900px) {
  .intro-content {
    flex-direction: column;
    gap: 1rem;
    padding: 1.2rem 0.5rem;
  }
  .intro-image img {
    max-width: 90vw;
  }
}

/* Full-width background for sections */
.section.section-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
  padding: 0;
}

.about-section {
  background-image: url('images/serengeti-bg.jpg');
}

.why-section {
  background-image: url('images/kilimanjaro-bg.jpg');
}

.section-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 4rem 5vw;
  background: rgba(4, 52, 20, 0.65); /* dark overlay for readability */
}

.section-text {
  flex: 2;
  min-width: 260px;
}

.section-image-wrapper {
  flex: 1;
  min-width: 220px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.section-image-wrapper img {
  width: 100%;
  max-width: 350px;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.4s;
}

.section-image-wrapper img.hover-zoom:hover {
  transform: scale(1.07) rotate(-2deg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.info-section {
  background: #f4f9f5;
  padding: 1.5rem 0 2rem 0; /* Less vertical space */
}

.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(4,52,20,0.08);
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px;
}

.info-table tr {
  border-bottom: 1px solid #e0e0e0;
}

.info-table tr:last-child {
  border-bottom: none;
}

.info-table td {
  vertical-align: top;
  padding: 0;
  border: none;
  background: transparent;
}

.info-card {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 2rem 1.2rem 1.2rem 1.2rem;
  margin: 0;
  border-right: 1px solid #e0e0e0;
  border-bottom: none;
  transition: box-shadow 0.2s, border 0.2s, transform 0.2s;
}

.info-table tr td:last-child .info-card {
  border-right: none;
}

.info-card h2 {
  color: #043414;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.info-card i {
  color: #ffe600;
  font-size: 1.3em;
}

.info-card p {
  color: #222;
  margin-bottom: 0.7rem;
  line-height: 1.7;
}

/* Pop effect for selected info card */
.info-table td:target .info-card {
  box-shadow: 0 0 0 4px #ffe600, 0 8px 32px rgba(4,52,20,0.18);
  border: 2px solid #ffe600;
  background: #fffbe6;
  transform: scale(1.04);
  z-index: 2;
  position: relative;
}

/* Responsive: stack cards vertically on small screens */
@media (max-width: 900px) {
  .info-table, .info-table tbody, .info-table tr, .info-table td {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .info-table {
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(4,52,20,0.10);
  }
  .info-card {
    border-right: none !important;
    border-bottom: 1px solid #e0e0e0;
    padding: 1.2rem 0.7rem;
  }
  .info-table tr:last-child .info-card {
    border-bottom: none;
  }
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 24px;
  background: #ffe600;
  color: #043414;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
  text-decoration: none;
  z-index: 999;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.back-to-top:hover {
  background: #043414;
  color: #ffe600;
  transform: translateY(-4px) scale(1.08);
}

/* Prevent horizontal scrolling on the whole page */
html, body {
  max-width: 100vw;
  overflow-x: hidden;
}

/* Make sure info cards and tables never overflow */
.info-table, .info-card-grid {
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.info-card {
  max-width: 100%;
  box-sizing: border-box;
  word-break: break-word;
}

/* On small screens, ensure no horizontal scroll */
@media (max-width: 900px) {
  .info-table, .info-table tbody, .info-table tr, .info-table td {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box;
    overflow-x: hidden;
  }
  .info-card {
    max-width: 100vw;
    width: 100%;
    box-sizing: border-box;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* --- Tours Section Card Button & Link Styles --- */
#tours .cards .card a.cta {
  display: inline-block;
  background: #ffe600;
  color: #043414;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  padding: 0.55rem 1.5rem;
  margin-top: 0.7rem;
  font-size: 1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(4,52,20,0.07);
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}

#tours .cards .card a.cta:hover,
#tours .cards .card a.cta:focus {
  background: #043414;
  color: #ffe600;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(4,52,20,0.13);
}

#tours .cards .card a {
  color: #064420;
  text-decoration: underline;
  transition: color 0.18s;
}

#tours .cards .card a:not(.cta):hover,
#tours .cards .card a:not(.cta):focus {
  color: #ffe600;
  text-decoration: underline wavy #ffe600;
}

/* --- Hero Section Button & Link Styles (Explore & Book Now) --- */
.hero-text .cta,
.navbar-btn {
  display: inline-block;
  background: #ffe600;
  color: #043414;
  font-weight: 700;
  border: none;
  border-radius: 26px;
  padding: 0.85rem 2.2rem;
  margin-top: 1rem;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(4,52,20,0.10);
  transition: background 0.18s, color 0.18s, transform 0.18s, box-shadow 0.18s;
}

.hero-text .cta:hover,
.hero-text .cta:focus,
.navbar-btn:hover,
.navbar-btn:focus {
  background: #043414;
  color: #ffe600;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 18px rgba(4,52,20,0.13);
}

/* Remove underline from hero and navbar buttons */
.hero-text .cta,
.navbar-btn {
  text-decoration: none !important;
}

.navbar.minimalist-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 0.3rem 4vw;
  box-shadow: 0 2px 12px rgba(4,52,20,0.07);
  min-height: 48px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-logo {
  text-decoration: none;
  color: #043414;
  font-weight: bold;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #043414;
}

.navbar-links {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.navbar-links a {
  color: #043414;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 4px 0;
  transition: color 0.18s;
}

.navbar-links a:hover,
.navbar-links a:focus {
  color: #ffe600;
}

.navbar-btn {
  background: #ffe600;
  color: #043414;
  border: none;
  border-radius: 20px;
  padding: 0.35rem 1.1rem;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none !important;
  transition: background 0.18s, color 0.18s;
  margin-left: 1rem;
  display: inline-block;
}

.navbar-btn:hover,
.navbar-btn:focus {
  background: #043414;
  color: #ffe600;
}

@media (max-width: 700px) {
  .navbar.minimalist-navbar {
    flex-direction: column;
    align-items: stretch;
    padding: 0.3rem 2vw;
    min-height: unset;
  }
  .navbar-links {
    justify-content: center;
    gap: 0.7rem;
    margin: 0.3rem 0;
    flex-wrap: wrap;
  }
  .navbar-btn {
    margin: 0.3rem auto 0 auto;
    width: 90%;
    text-align: center;
  }
}

/* Animation for section and card visibility */
.section, .cards .card, .info-card, .gallery-grid img {
  opacity: 0;
  transform: translateY(40px) scale(0.98);
  transition: 
    opacity 0.8s cubic-bezier(.4,0,.2,1),
    transform 0.8s cubic-bezier(.4,0,.2,1);
  will-change: opacity, transform;
}

.section.visible, .cards .card.visible, .info-card.visible, .gallery-grid img.visible {
  opacity: 1;
  transform: none;
}

/* Button pop effect */
.cta, .navbar-btn {
  transition: 
    background 0.18s, color 0.18s, 
    transform 0.18s, box-shadow 0.18s;
}
.cta:hover, .cta:focus, .navbar-btn:hover, .navbar-btn:focus {
  transform: scale(1.07) translateY(-2px);
  box-shadow: 0 6px 24px rgba(4,52,20,0.18);
}

.event-gallery-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2rem;
}

.event-link-card {
  position: relative;
  width: 260px;
  height: 160px;
  border-radius: 18px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 4px 24px rgba(4,52,20,0.13);
  display: flex;
  align-items: flex-end;
  text-decoration: none;
  transition: transform 0.22s, box-shadow 0.22s;
}

.event-link-card:hover,
.event-link-card:focus {
  transform: scale(1.04) translateY(-4px);
  box-shadow: 0 8px 32px rgba(4,52,20,0.18);
  z-index: 2;
}

.event-link-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,rgba(4,52,20,0.55) 60%,rgba(255,230,0,0.18) 100%);
  z-index: 1;
}

.event-link-content {
  position: relative;
  z-index: 2;
  color: #ffe600;
  font-weight: 700;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}
.event-link-content i {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

/* --- Container utility --- */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Section headings and lists --- */
.section h2 {
  color: #2c3e50;
  font-size: 2rem;
  margin-bottom: 1rem;
  margin-top: 0;
  padding: 0 1rem;
}
.section h3 {
  margin-top: 2rem;
  color: #1e3a8a;
  font-size: 1.5rem;
  padding-left: 0;
  margin-left: 0;
}
.section h4 {
  color: #0f172a;
  font-size: 1.1rem;
  margin-top: 1.2rem;
}

/* --- Highlighted quote block --- */
.highlight-quote {
  border-left: 4px solid #1e40af;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  background-color: #f9fafb;
  font-size: 1.1rem;
  color: #0f172a;
}

/* --- Section lists --- */
.section ul,
.section ol {
  margin-left: 1.2rem;
  padding-left: 1.2rem;
  background: none;
  font-style: normal;
  border-left: none;
}

/* --- Remove duplicate/erroneous lines --- */
/* Removed: display: flex;rem; gap: 0.5rem;on: column; etc. */
/* Removed: .section h2 {adding: 0 1rem; ... } duplicate/typo */
/* Removed: .section ul, .section ol {  background-color: #f9fafb;  font-style: italic;  margin: 1.5rem 0;  padding-left: 1rem;  border-left: 4px solid #1e40af;} duplicate/typo */
/* Removed: .section h4 { margin-top: 2rem;  font-size: 1.3rem;} duplicate/typo */
/* Removed: .container { ... }; duplicate/typo */
/* Removed: .event-link-content i { ... } duplicate/typo */

/* Custom list style for about-northern section */
#about-northern ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}
#about-northern ul li {
  position: relative;
  padding-left: 2em;
  margin-bottom: 0.7em;
  font-size: 1.08em;
  color: #064420;
  background: none;
}
#about-northern ul li::before {
  content: "\f058"; /* Font Awesome check-circle */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: #ffe600;
  position: absolute;
  left: 0;
  top: 0.1em;
  font-size: 1.1em;
}