/* GENERAL */
body,
html {
  margin: 0;
  padding: 0;
  font-family: "Lato", sans-serif;
  scroll-behavior: smooth;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 12vw 20px 4vw;
  background: rgba(255, 255, 255, 0.05);
  z-index: 1000;
  box-sizing: border-box; /* ensures padding doesn't push content off-screen */
  /*overflow: hidden; /* prevents accidental overflow */
}

/* SCROLLED HEADER */
header.scrolled {
  background: rgba(52, 52, 52, 0.55); /* white overlay */
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 10px 6vw; /* tighter */
}

header.scrolled .logo-area img {
  width: 120px; /* shrink logo */
}

header.scrolled .logo-text {
  flex-direction: row; /* horizontal */
  gap: 10px;
  font-size: 22px;
  color: white;
}

header.scrolled nav ul li a {
  color: white;
  font-size: 18px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 5px;
  color: white;
}

.logo-area img {
  width: 260px;
  height: auto;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  font-weight: bold;
  font-size: 50px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap; /* allows items to move to the next line if too long */
  justify-content: flex-end;
  gap: 2.5vw; /* make spacing responsive */
  margin: 0;
  padding: 0;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 22px;
  display: block;
}

nav ul li a:hover {
  opacity: 0.8;
}

/* HAMBURGER BUTTON */
.menu-toggle {
  display: none; /* hidden on desktop, shown in mobile media query */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
  z-index: 1100; /* above the header background */
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* animate into an “X” when open (optional) */
.menu-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* HERO SECTION */
.hero {
  position: relative;
  background: url("../images/hero-bg.jpg") no-repeat center center/cover;
  height: 100vh;
  display: flex;
  justify-content: center; /* centers vertically */
  align-items: center; /* centers horizontally */
  text-align: center;
  color: white;
  padding: 0 20px;
}

.hero h1 {
  position: relative;
  z-index: 1; /* ensures text is above overlay */
  margin-top: 140px !important;
  font-size: 70px;
  max-width: 1500px;
  margin: 0;
  line-height: 1.3;
}

/* Black overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 12, 2, 0.4);
  z-index: 0;
}

.btn {
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(to bottom, #4da3ff, #0055cc);
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.btn:hover {
  opacity: 0.85;
}

/* QUOTE SECTION (Enhanced with Accent Line) */
.quote {
  background: #fff;
  padding: 50px 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.quote-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  position: relative;
}

/* Decorative quote icon */
.quote-icon {
  position: absolute;
  top: -10px;
  left: -80px; /* pushes the icon further left */
  width: 160px; /* larger quote icon */
  height: auto;
  opacity: 0.9;
}

/* Add a subtle blue accent line */
.main-quote {
  position: relative;
  max-width: 100%;
  padding-left: 40px; /* more padding to separate from icon */
  border-left: 4px solid rgba(0, 85, 204, 0.4); /* soft blue vertical line */
  margin-left: 90px; /* moves line right, away from quote image */
}

.main-quote p {
  font-size: 45px;
  line-height: 1.4;
  color: #111;
  margin: 10px;
}

/* Author */
.author {
  margin-top: 30px !important;
  font-size: 22px !important;
  font-style: normal;
  font-weight: bold;
  color: #222;
}

.author span {
  font-style: italic;
  font-size: 22px;
  font-weight: normal;
  color: #555;
}

/* Secondary quote aligned right */
.secondary-quote {
  align-self: flex-end;
  max-width: 450px;
  text-align: right;
  font-size: 30px;
  line-height: 1.5;
  color: #111;
}

.secondary-quote p {
  margin-top: 1px;
}

.secondary-quote span {
  display: block;
  font-style: italic;
  font-size: 22px;
  color: #555;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .quote {
    padding: 40px 20px;
  }

  .quote-icon {
    left: -40px;
    width: 60px;
  }

  .main-quote {
    padding-left: 25px;
    margin-left: 25px;
    border-left: 3px solid rgba(0, 85, 204, 0.4);
  }

  .main-quote p,
  .secondary-quote p {
    font-size: 18px;
  }
}

/* ABOUT SECTION */
.about {
  position: relative;
  background: url("../images/oahu-map.jpg") no-repeat center center/cover;
  color: white;
  padding: 120px 6vw;
  text-align: left;
  overflow: hidden; /* ensures overlay stays contained */
}

/* Black overlay */
.about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(20, 12, 2, 0.7); /* black overlay with 55% opacity */
  z-index: 0; /* sits behind content */
}

/* Make sure content appears above overlay */
.about * {
  position: relative;
  z-index: 1;
}

.about-title {
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 30px;
}
.about-title div:first-child {
  font-size: 24px; /* smaller font just for 'About' */
  font-weight: 600;
  color: #ddd; /* optional lighter shade */
  letter-spacing: 1px;
}

.about p {
  max-width: 100%;
  line-height: 1.4;
  font-size: 38px;
  margin-bottom: 15px;
}

/* Center the button in the About section */
.about-button {
  text-align: center;
  margin-top: 40px;
}

.about-button .btn {
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  background: linear-gradient(to bottom, #4da3ff, #0055cc);
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 20px;
  cursor: pointer;
  transition: opacity 0.3s ease;
  text-decoration: none;
}

.about-button .btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* HISTORY SECTION (No Overlay) */
.history {
  background: url("../images/about-history.jpg") no-repeat center center/cover;
  color: black;
  padding: 80px 60px;
  position: relative;
}

.history::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(
    255,
    255,
    255,
    0.1
  ); /* adjust transparency (0.5–0.85 looks good) */
  z-index: 0; /* keep it behind the text */
}

/* Make sure text stays above overlay */
.history > * {
  position: relative;
  z-index: 1;
}

.history h2 {
  text-transform: uppercase;
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 50px;
  text-align: left;
  margin-left: 80px;
}

.history h2 span {
  display: block;
  font-size: 30px;
  font-weight: 700;
  color: black;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns */
  gap: 40px 80px; /* row gap, column gap */
  max-width: 100%;
  margin: 0 auto;
}

.history-item {
  display: flex;
  align-items: flex-start;
  gap: 15px; /* smaller gap looks tighter */
}

.history-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  flex-shrink: 0; /* prevents the icon from shrinking */
  margin-top: 5px; /* optional: to align icon vertically with text */
}

.history-item h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.3;
  color: black;
}

.history-item div {
  display: flex;
  flex-direction: column;
  max-width: 100%; /* keeps text area aligned and readable */
}

.history-item p {
  font-size: 22px;
  line-height: 1.2;
  color: black;
  max-width: 100%;
  margin-top: 2px;
  margin: 0; /* removes extra spacing */
}
.history-text {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 100%;
}

.history-text h3 {
  font-size: 24px;
  font-weight: bold;
  margin: 0 0 6px;
  line-height: 1.3;
  color: black;
}

.history-text p {
  font-size: 20px;
  line-height: 1.4;
  color: black;
  margin: 0;
}

/* Fade-in Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* UPCOMING PROJECTS SECTION */
.upcoming-projects {
  position: relative;
  background: url("../images/yacht-projects.jpg") no-repeat center center/cover;
  height: 75vh;
  color: white;
  overflow: hidden;
}

/* White translucent overlay */
.upcoming-projects::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(255, 255, 255, 0.25);*/
  z-index: 0;
}

/* Ensures all content sits above overlay */
.projects-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Left-hand ABOUT section */
.projects-left {
  position: absolute;
  top: 10%;
  left: 5%;
  text-align: left;
}

.projects-left h2 {
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0;
  color: white;
}

.projects-left h3 {
  font-size: 36px;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-top: 8px;
}

/* Centered lower "Works in Progress" */
.projects-center {
  position: absolute;
  bottom: 18%;
  left: 40%;
  transform: translateX(-50%);
  text-align: center;
}

.projects-center h1 {
  font-size: 68px;
  font-weight: 500;
  color: yellow;
  margin-bottom: 53px;
}

/* Button style (same as hero) */
.projects-center .btn {
  background: linear-gradient(to bottom, #4da3ff, #0055cc);
  color: white;
  padding: 14px 36px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.projects-center .btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

/* Fade-in animation reuse */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* HOW TO DONATE SECTION */
.how-to-donate {
  position: relative;
  background: url("../images/boardroom.jpg") no-repeat center center/cover;
  height: 75vh;
  color: white;
  overflow: hidden;
}

/* White translucent overlay */
.how-to-donate::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background: rgba(255, 255, 255, 0.25);*/
  z-index: 0;
}

.donate-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Left-hand title */
.donate-left {
  position: absolute;
  top: 10%;
  left: 5%;
  text-align: left;
}

.donate-left h2 {
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0;
  color: white;
}

.donate-left h3 {
  font-size: 36px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-top: 8px;
}

/* Center paragraph and button */
.donate-center {
  position: absolute;
  bottom: 20%;
  left: 30%;
  transform: translateX(-50%);
  text-align: center;
  max-width: 1000px;
}

.donate-center p {
  font-size: 36px;
  line-height: 1.3;
  color: white;
  margin-bottom: 60px;
}

/* Button styling matches hero */
.donate-center .btn {
  background: linear-gradient(to bottom, #4da3ff, #0055cc);
  color: white;
  padding: 14px 38px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.donate-center .btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

/* Fade-in animation reuse */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MESSAGE FROM THE BOARD OF DIRECTORS SECTION */
.message-directors {
  position: relative;
  background: url("../images/message-directors.jpg") no-repeat center
    center/cover;
  height: 75vh;
  color: white;
  overflow: hidden;
}

/* White translucent overlay */
.message-directors::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  z-index: 0;
}

.directors-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Left-hand text block */
.directors-left {
  position: absolute;
  top: 10%;
  left: 5%;
  text-align: left;
}

.directors-left h2 {
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0;
  color: white;
}

.directors-left h3 {
  font-size: 34px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-top: 8px;
}

/* Right-hand paragraph */
.directors-right {
  position: absolute;
  top: 10%;
  right: 6%;
  width: 33%;
  text-align: left;
}

.directors-right p {
  font-size: 35px;
  line-height: 1.6;
  color: white;
  background: rgba(0, 0, 0, 0.3); /* subtle readable background */
  padding: 20px 25px;
  border-radius: 8px;
}

/* Fade-in animation reuse */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* MAKE A DONATION TODAY SECTION */
.donation-options {
  position: relative;
  background: url("../images/donation-bg.jpg") no-repeat center center/cover;
  padding: 100px 40px;
  color: white;
  text-align: center;
}

/* White translucent overlay */
.donation-options::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.25);
  z-index: 0;
}

.donation-overlay {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
}

.donation-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 60px;
  text-transform: uppercase;
  color: white;
}

.donation-title .highlight {
  color: #4da3ff;
}

/* Grid layout: 3 columns × 2 rows */
.donation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  justify-items: center;
}

/* Each donation card */
.donation-card {
  background: white;
  color: #000;
  border-radius: 25px;
  border-color: #000;
  border-style: solid;
  padding: 40px 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 350px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.donation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.donation-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Buttons inside cards */
.donation-card .btn {
  background: linear-gradient(to bottom, #4da3ff, #0055cc);
  color: white;
  padding: 14px 38px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.donation-card .btn:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

.donation-subtext {
  font-size: 20px;
  line-height: 1.6;
  color: white;
  max-width: 850px;
  margin: 0 auto 60px auto;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* =======================
   TAX INFORMATION SECTION
   ======================= */
.tax-information {
  background: url("../images/tax-info.jpg") no-repeat center center/cover;
  /* height: 75vh; */ /* remove this line */
  min-height: 75vh; /* keeps it tall on desktop */
  color: white;
  position: relative;
  overflow: hidden;
}

.tax-overlay {
  background-color: rgba(0, 0, 0, 0.3); /* subtle dark overlay for contrast */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tax-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
}

/*Left-hand text */

.tax-left {
  position: absolute;
  top: 10%;
  left: 5%;
  text-align: left;
}

.tax-heading-line1,
.tax-heading-line2 {
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: white;
  margin: 0;
}

.tax-heading-line1 {
  margin-bottom: 10px;
}

/*Right-hand text box*/

.tax-right {
  position: absolute;
  top: 10%;
  right: 5%;
  width: 35%;
  text-align: center;
  background: rgba(25, 85, 110, 0.9); /* deep blue box like your screenshot */
  padding: 40px 50px;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.tax-right p {
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 25px;
}

.tax-right a {
  color: #a7d9ff;
  text-decoration: none;
  font-weight: 600;
}

.tax-right a:hover {
  text-decoration: underline;
}

/* =======================
   DONOR RECOGNITION SECTION
   ======================= */
.donor-recognition {
  position: relative;
  background: url("../images/donor-recog.jpg") no-repeat center center/cover;
  /* height: 75vh; */ /* remove this */
  min-height: 75vh; /* optional: keeps a nice tall feel on desktop */
  color: white;
  overflow: hidden;
}

.donor-recognition::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35); /* darker overlay for contrast */
  z-index: 0;
}

.donor-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Left-hand text */
.donor-left {
  position: absolute;
  top: 10%;
  left: 5%;
  text-align: left;
}

.donor-left h2 {
  text-transform: uppercase;
  font-size: 42px;
  letter-spacing: 1px;
  margin: 0;
  color: white;
}

.donor-left h3 {
  font-size: 42px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-top: 8px;
}

/* Right-hand text box */
.donor-right {
  position: absolute;
  margin-top: 4%;
  right: 5%;
  width: 35%;
  text-align: center;
  background: rgba(25, 85, 110, 0.9); /* deep blue box like your screenshot */
  padding: 40px 50px;
  border-radius: 4px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.donor-right p {
  font-size: 28px;
  line-height: 1.5;
  margin-bottom: 25px;
}

.donor-right a {
  color: #a7d9ff;
  text-decoration: none;
  font-weight: 600;
}

.donor-right a:hover {
  text-decoration: underline;
}

/* =======================
   CONTACT SECTION
======================= */
.contact-section {
  background: linear-gradient(180deg, #0c3b5b 0%, #174d74 100%);
  color: #fff;
  padding: 80px 10%;
  display: flex;
  justify-content: center;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  max-width: 1200px;
  width: 100%;
  justify-content: space-between;
}

/* Left column */
.contact-left {
  flex: 1 1 55%;
}

.contact-left h2 {
  font-size: 50px;
  margin-bottom: 10px;
  margin-top: 1px;
}

.contact-left p {
  color: #c9d8e2;
  margin-bottom: 40px;
  font-size: 22px;
  line-height: 1.6;
}

/* Form layout */
.contact-form .form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.contact-form .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 20px;
}

.contact-form input,
.contact-form textarea {
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 12px;
  color: white;
  font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1fa3e5;
}

/* Submit button */
.btn-submit {
  background: linear-gradient(to bottom, #4da3ff, #0055cc);
  color: white;
  padding: 14px 38px;
  margin-top: 20px;
  border-radius: 6px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-submit:hover {
  opacity: 0.9;
  transform: translateY(-3px);
}

/* Right column */
.contact-right {
  flex: 1 1 35%;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 40px;
}

.contact-right h3 {
  margin-top: 24px;
  margin-bottom: 8px;
  font-size: 25px;
}

.contact-right p,
.contact-right a {
  color: #c9d8e2;
  font-size: 22px;
  line-height: 1.5;
}

.contact-right a:hover {
  color: #fff;
}

/* Social icons */
.social-icons {
  margin-top: 10px;
}

.social-icons a {
  color: #c9d8e2;
  font-size: 28px;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #1fa3e5;
}

/* =======================
   FOOTER SECTION
======================= */
.site-footer {
  background-color: #0a2f47;
  color: #a7b9c6;
  padding: 25px 10%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.footer-left p {
  margin: 0;
  font-size: 14px;
}

.footer-right a {
  color: #a7b9c6;
  text-decoration: none;
  margin-left: 20px;
  font-size: 14px;
}

.footer-right a:hover {
  color: #1fa3e5;
}

/* =======================
   MODAL POPUP STYLES
   ======================= */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); /* Dark overlay */
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #156082;
  color: white;
  padding: 40px 60px;
  border-radius: 4px;
  width: 80%;
  max-width: 700px;
  text-align: center;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: modalFade 0.4s ease;
  /* NEW: mobile friendliness */
  max-height: 90vh; /* never taller than the viewport */
  overflow-y: auto; /* scroll if content is tall */
  box-sizing: border-box;
}

/* Optional: tweak the button inside the modal */
.modal-donate-btn {
  display: inline-block;
  margin-top: 10px;
}

.modal-content iframe {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 4px;
  background: #fff;
}

@keyframes modalFade {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-content h2 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.modal-content h3 {
  font-size: 28px;
  font-weight: bold;
  margin: 15px 0;
  line-height: 1.5;
}

.modal-content p {
  font-size: 20px;
  margin: 15px 0;
  line-height: 1.6;
}

/* Close button (X) */
.close-btn {
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 28px;
  color: white;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  color: #ddd;
}

/* Hide honeypot field */
.hidden-field {
  display: none !important;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  left: -9999px;
}

/* Responsive layout */
@media (max-width: 992px) {
  .donation-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .donation-grid {
    grid-template-columns: 1fr;
  }

  .donation-title {
    font-size: 36px;
  }
}

/* RESPONSIVE */

/* Mobile Responsive */
@media (max-width: 768px) {
  .history {
    padding: 80px 30px;
    text-align: left;
  }

  .history-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .history-item h3 {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 10px 4vw;
    display: flex;
    align-items: center;
  }

  /* show hamburger */
  .menu-toggle {
    display: block;
  }

  /* hide nav dropdown by default */
  header nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    padding: 15px 24px;
    display: none;
  }

  /* when JS adds .active, show it */
  header nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
  }

  nav ul li a {
    font-size: 18px;
  }

  /* keep your existing about + modal tweaks */
  .about {
    align-items: center;
    text-align: center;
  }

  .about-title {
    font-size: 30px;
  }

  .modal-content iframe {
    height: 400px;
  }

  .logo-area img {
    width: 160px;
    height: auto;
  }

  .logo-text {
    line-height: 1.2;
    font-size: 20px;
  }

  /* show hamburger on mobile */
  .menu-toggle {
    display: block;
  }

  /* mobile nav hidden by default */
  header nav {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(20, 20, 20, 0.95);
    padding: 15px 25px;
    display: none;
  }

  .hero H1 {
    font-size: 36px;
  }

  /* when JS adds .active, show it */
  header nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
  }

  nav ul li a {
    font-size: 18px;
  }

  .directors-right {
    position: absolute;
    top: 21%;
    right: 6%;
    width: 90%;
    text-align: left;
  }

  .directors-right p {
    font-size: 25px;
  }
}

/* Responsive  900px */

@media (max-width: 900px) {
  .donor-recognition {
    min-height: auto;
    padding: 60px 20px;
    overflow: visible; /* let content expand, don’t clip */
  }

  .donor-overlay {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .donor-left,
  .donor-right {
    position: static; /* no absolute positioning */
    width: 100%;
    text-align: center;
  }

  .donor-left {
    margin-bottom: 20px;
  }

  .donor-left h2,
  .donor-left h3 {
    font-size: 32px;
  }

  .donor-right {
    background: rgba(25, 85, 110, 0.9);
    padding: 24px 20px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  }

  .donor-right p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .tax-information {
    min-height: auto;
    padding: 60px 20px;
    overflow: visible; /* let content grow, don’t clip it */
  }

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

  .tax-left,
  .tax-right {
    position: static; /* no more absolute positioning */
    width: 100%;
  }

  .tax-left {
    margin-bottom: 20px;
    text-align: center;
  }

  .tax-heading-line1,
  .tax-heading-line2 {
    font-size: 32px;
  }

  .tax-right {
    background: rgba(25, 85, 110, 0.9);
    padding: 24px 0px;
    border-radius: 4px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
    max-width: 700px; /* optional: keeps it from getting too wide on tablets */
  }

  .tax-right p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 0;
  }

  .tax-text-box {
    max-width: 100%;
    padding: 0; /* we’re already padding .tax-right */
  }

  .upcoming-projects {
    height: auto;
    padding: 60px 20px;
    text-align: center;
  }

  .projects-overlay {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .projects-left,
  .projects-center {
    position: static; /* remove absolute positioning */
    width: 100%;
    text-align: center;
    transform: none;
    margin: 0;
    padding: 0;
  }

  .projects-left h2 {
    font-size: 20px;
  }

  .projects-left h3 {
    font-size: 32px;
  }

  .projects-center h1 {
    font-size: 52px;
    margin-top: 20px;
  }

  .contact-container {
    flex-direction: column;
  }

  .contact-right {
    border-left: none;
    padding-left: 0;
    margin-top: 40px;
  }

  .contact-form .form-row {
    flex-direction: column;
  }
}

@media (min-width: 769px) {
  .menu-toggle {
    display: none;
  }

  header nav {
    position: static;
    background: transparent;
    padding: 0;
    display: block;
  }
}

@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    max-width: none;
    padding: 24px 18px;
  }

  .modal-content h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .modal-content p {
    font-size: 16px;
    line-height: 1.5;
  }

  .modal-donate-btn {
    width: 100%; /* full-width button on phones */
    padding: 12px 0;
  }
}
