body {
  padding-top: 7rem;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
  height: 100%;
  margin: 0;
}

/* === Top Banner === */
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #111;
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-family: 'Montserrat', sans-serif;
  z-index: 1001; /* higher than navbar */
}

/* Make the navbar a 3-column layout: left (hamburger/nav), center (logo), right (tips) */
.navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: fixed;
  top: 2rem;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 1rem 2rem;
  z-index: 1000;
}

/* Hamburger on the left */
.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  justify-self: start;
}

.nav-links {
  padding-left: 2.5rem;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #5B93EE;
}

/* Center logo */
.nav-center {
  justify-self: center;
}


.nav-center.logo img {
  height: 54px;
  width: auto;   /* maintain aspect ratio */
}


/* Tips button on the right */
.nav-right {
  justify-self: end;
}

/* Mobile styles */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .nav-links {
  display: none;
  flex-direction: column;
  align-items: center;       /* ✅ Center children horizontally */
  text-align: center;        /* ✅ Center link text */
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #fff;
  padding: 1rem 0;           /* ✅ Removed horizontal padding */
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 999;
}

.nav-links a {
  width: 100%;               /* ✅ So text-align works fully */
  padding: 0rem 0;         /* ✅ Vertical padding only */
}


  .nav-links.mobile-open {
    display: flex;
  }
}

/* === Language Switcher (Mobile) === */

/* default: hide mobile language switcher */
.mobile-lang {
  display: none;
  margin-top: 10px;
  text-align: center;
}

/* show inside hamburger menu on small screens */
@media (max-width: 768px) {
  .mobile-lang {
    display: block;
  }

  /* hide desktop flags */
  .nav-right img {
    display: none;
  }
}

/* --- Mobile tweaks --- */
@media (max-width: 768px) {
 

  .navbar {
    position: fixed;
    top: 2rem;       /* same as top-banner height */
    left: 0;
    right: 0;
    margin: 0;
    padding: 1.5rem 1rem;
    z-index: 1000;
    background-color: #fff;
  }

  .fas{
    padding-top: 0.8rem;
    padding-left: .5rem;
  }

  /* optional: prevent overlap visually */
  
}
.hidden-lang {
  display: none !important;
}
.nav-left, .nav-right {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: flex-start; /* keeps items aligned inside their column */
}

.nav-right {
  justify-content: flex-end; /* push Tips to the far right */
}

.nav-left a,
.nav-right a {
  text-decoration: none;
  color: #222;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-left a:hover,
.nav-right a:hover {
  color: #5B93EE;
}

.nav-donate-link {
  display: inline-block;
  background-color: #ffd700;    /* gold background */
  color: #b8860b;               /* dark goldenrod text */
  padding: 0.4rem 0.9rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-donate-link:hover {
  background-color: #ffd700;    /* gold on hover */
  color: white;
}

/* Show desktop donate button only on desktop */
.donate-desktop {
  display: block;
}

/* Hide donate link inside hamburger on desktop */
.donate-mobile {
  display: none;
}

/* Mobile styles */
@media (max-width: 600px) {
  /* Hide desktop donate on mobile */
  .donate-desktop {
    display: none;
  }
  /* Show donate link inside hamburger on mobile */
  .donate-mobile {
    display: block;
    background-color: transparent;
    border-radius: 6px;
    font-weight: 600;
    color: #b8860b;
    text-decoration: none;
    /* Full width inside menu */
    width: 100%;
    box-sizing: border-box;
  }
  .donate-mobile:hover {
    background-color: none;
    color: white;
  }
}



/* === Center Logo === */
.nav-center img {
  height: 46px; /* or whatever fits best */
  max-width: 120px;
}


/* === Tips Button === */
.tips-container {
  position: relative;
  display: inline-block;
}

.tips-tooltip {
  position: absolute;
  bottom: 110%; /* position above the button */
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  background-color: #222;
  color: #fff;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 10;
}

.tips-container:hover .tips-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) scale(1);
}
.tips-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
}



/* === Responsive Stack (Mobile) === */
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 0rem;
    align-items: flex-start;
  }

  .nav-center {
    align-self: center;
  }
}


.hero {
  text-align: center; /* or left if preferred */
  
}

.hero-title {
  font-family: 'The Seasons', serif;
  font-size: 2.8rem; /* or larger if needed */
  font-weight: 300;
  margin: 0.5rem 0;
}
.hero-title1 {
  font-family: 'The Seasons', serif;
  font-size: 1.8rem; /* or larger if needed */
  font-weight: 300;
  margin: 0.5rem 0;
}

.hero-subheadline {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #555;
  text-align: center;
  margin: 0.5rem auto;
  max-width: 100%;
  white-space: nowrap;
  overflow-x: auto;

}

@media (max-width: 600px) {
  .hero-subheadline {
    white-space: normal;
  }
}

.hero-subheadline-1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #555;
  text-align: center;
  margin: 0.5rem auto;
  max-width: 600px;
}

header {
  text-align: center;
  margin: 2rem 0;
}

header h1 {
  font-size: 2.5rem;
  letter-spacing: 0.1rem;
}

header span {
  color: #64c2c8;
}

.subscribe-box {
  max-width: 500px;
  margin: 2rem auto;
  text-align: center;
}

/* Force horizontal form layout */
.custom-form-wrapper form {
  display: flex !important;
  flex-direction: row !important;
  border-radius: 6px !important;
  overflow: hidden !important;
  padding: 0 !important;
  background: #fff;
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: 2.5rem;
  width: 100%; /* ensure it scales */
}

/* Mobile tweaks: add spacing on sides */
@media (max-width: 600px) {
  .custom-form-wrapper form {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box; /* so padding doesn’t overflow */
    flex-direction: column !important; /* optional: stack vertically */
  }

  .custom-form-wrapper input[type="email"],
  .custom-form-wrapper button[type="submit"] {
    width: 100% !important; /* fill container minus padding */
  }
}

/* Style email input */
.custom-form-wrapper input[type="email"] {
  flex: 1;
  padding: 0.7rem 1rem;
  font-size: 1rem;
  border: none !important;
  border-right: 1px solid #ccc !important;
  border-radius: 0 !important;
}

/* Style submit button */
.custom-form-wrapper button[type="submit"] {
  padding: 0.7rem 1.5rem;
  background-color: #8b6d4d;
  color: #fff;
  font-size: 1rem;
  border: none !important;
  border-radius: 0 !important;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.custom-form-wrapper button[type="submit"]:hover {
  background-color: #6d543c;
}

/* Responsive: Stack vertically on small screens 
@media (max-width: 480px) {
  .custom-form-wrapper form {
    flex-direction: column !important;
  }

  .custom-form-wrapper input[type="email"],
  .custom-form-wrapper button[type="submit"] {
    width: 100%;
    border-radius: 0 !important;
    border-right: none !important;
  }
}*/


.posts {
  max-width: 600px;
  margin: 3rem auto;
  border-top: 1px solid #ccc;
  padding-top: 2rem;
}

.post {
  margin-bottom: 2rem;
}

.post-date {
  color: #777;
  font-size: 0.9rem;
}

.post-title {
  font-size: 1.2rem;
  margin: 0.3rem 0;
}

.post-title span {
  font-weight: bold;
}

.post-desc {
  color: #555;
}


/* Highlights Section */
.highlights {
  display: flex;
  justify-content: space-around;
  text-align: center;
  padding: 1rem 1rem;
  max-width: 800px;
  margin: 0 auto;
  gap: 1rem;
  flex-wrap: wrap;
}

.highlight-item {
  flex: 1;
  min-width: 180px;
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
}

/* Testimonials Section */
.testimonials {
  
  padding: 3rem 1rem;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap; /* Ensures responsiveness on small screens */
}

.testimonial {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  max-width: 280px;
  flex: 1;
  min-width: 220px;
  font-style: italic;
  color: #444;
}

.testimonial .stars {
  font-size: 1.2rem;
  color: goldenrod;
  margin-bottom: 0.5rem;
  font-style: normal;
}

.testimonial span {
  display: block;
  margin-top: 0.5rem;
  font-weight: bold;
  font-size: 0.9rem;
  color: #666;
}

.social {
  display: flex;
  justify-content: center;     /* ← centers the list horizontally */
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 2rem auto;           /* ← centers the whole block */
  list-style: none;
}


.social li {
  position: relative;
  flex-basis: 4.5rem;
}

.social li::after {
  position: absolute;
  /* content: "Tooltip"; */
  content: attr(data-tooltip);
  inset: -45% auto auto 50%;
  z-index: -1;
  translate: -50%;
  padding: 0.25rem 0.75rem;
  font-size: 0.875rem;
  color: #fff;
  /* background: #070707; */
  background: var(--bg, #070707);
  border-radius: 0.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  /* transition: all 0.3s ease-in-out; */
  transition: inset 0.4s cubic-bezier(0.47, 2, 0.41, 1.5),
    visibility 0.3s ease-in-out, opacity 0.2s ease-in-out;
}

.social li:has(a:hover, a:focus-visible)::after {
  opacity: 1;
  visibility: visible;
  inset-block-start: -60%;
}

.social a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  aspect-ratio: 1;
  font-size: 1.75rem;
  color: #070707;
  border: 1px solid;
  border-radius: 100%;
  text-decoration: none;
  outline: none;
  overflow: hidden;
  transition: color 0.3s ease-in-out;
}

.social a > i {
  position: relative;
  z-index: 1;
}

.social a::after {
  position: absolute;
  content: "";
  inset: 100% 0 0;
  /* background: #070707; */
  background: var(--bg, #070707);
  pointer-events: none;
  transition: inset 0.3s ease-in-out;
}

.social a:hover,
.social a:focus-visible {
  color: #fff;
}

.social a:hover::after,
.social a:focus-visible::after {
  inset-block-start: 0;
}


/* Footer */
footer {
  border-top: none;
  margin-top: 0;
  padding-top: 2rem;
  padding-bottom: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #777;
  padding: 20px;
}
