* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Lexend', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: #050a30;
  padding-top: 100px; /* leave space for fixed header */
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100px;
  background-color: #4151b4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

header img:first-of-type {
  height: 60px;
  object-fit: contain;
}

/* Navbar container */
nav ul {
  list-style: none;
  display: flex;
  align-items: center; /* 🔧 Ensures vertical alignment */
  gap: 25px;
}

/* Common nav link styles */
nav ul li a {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Underline animation for regular links */
nav ul li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0%;
  background-color: #00bfff;
  transition: width 0.3s ease-in-out;
}

nav ul li a:hover::after {
  width: 100%;
}

nav ul li a:hover {
  color: #00bfff;
}

/* ✅ LOGIN button specific styles */
nav ul li a.login-button {
  padding: 6px 14px;               /* Adjust padding */
  border: 2px solid #00bfff;
  border-radius: 6px;
  line-height: 1;                  /* Align better */
  height: auto;
  display: inline-block;
  margin-top: -2px;                /* Slight tweak for vertical centering */
  transition: background-color 0.3s, color 0.3s;
}

nav ul li a.login-button:hover {
  background-color: #00bfff;
  color: #fff;
}
main {
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  text-align: center;
  margin: 3rem auto 2rem;
  color: white;
  position: relative;
}

.section-header h2 {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.3rem;
  font-weight: 400;
  color: #cfdcff;
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.underline-animation {
  height: 4px;
  width: 100px;
  margin: 0 auto;
  background: linear-gradient(90deg, #00bfff, #28e0c9);
  animation: grow 1s ease forwards;
  border-radius: 2px;
}

@keyframes grow {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 80px;
    opacity: 1;
  }
}
.donate-intro {
  color: white;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  padding-top: 4rem;
}

.donate-intro h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.donate-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.donation-uses {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.donation-box {
  background: #ffffff;
  color: #222;
  border-radius: 12px;
  padding: 1.5rem;
  max-width: 300px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-align: center;
  transition: transform 0.3s;
}

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

.donation-box h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.donation-box p {
  font-size: 0.95rem;
  line-height: 1.4;
}

.donation-progress {
  text-align: center;
  margin-bottom: 2rem;
}

.donation-progress h2 {
  font-size: 2rem;
  color: #00bfff;
  margin-bottom: 1rem;
}
.donation-progress {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.donation-progress h2 {
  font-size: 2rem;
  color: #00bfff;
  margin-bottom: 1rem;
}

.progress-bar-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.progress-bar-wrapper progress {
  width: 100%;
  height: 16px;
  border-radius: 8px;
  appearance: none;
  background-color: #e0e0e0;
  overflow: hidden;
}

progress::-webkit-progress-bar {
  background-color: #e0e0e0;
  border-radius: 8px;
}

progress::-webkit-progress-value {
  background-color: #00bfff;
  border-radius: 8px;
}

progress::-moz-progress-bar {
  background-color: #00bfff;
  border-radius: 8px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.95rem;
  color: #ccc;
}
.donation-form-embed {
  padding: 3rem 1rem;
}

.donation-content-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center; /* centers vertically */
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.donation-text {
  max-width: 450px;
  flex: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  min-height: 500px; /* ensure it fills space like the form */
}

.donation-text h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: #00bfff;
}

.donation-text p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #e0e0e0;
}

.donation-widget-wrapper {
  flex: 2;
  max-width: 600px;
  width: 100%;
  margin-left: 5rem; /* nudges form right */
  margin-right: auto;
}

.donation-widget-wrapper iframe {
  width: 100%;
  height: 900px;
  border:#00bfff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.terms {
  max-width: 800px;
  margin: 4rem auto 2rem;
  background: #fff;
  color: #333;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  font-size: 1rem;
  line-height: 1.6;
}

.terms h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.terms a {
  color: #007BFF;
  text-decoration: underline;
}

.terms a:hover {
  color: #0056b3;
}

footer {
  text-align: center;
  padding: 20px;
  background: #1a1a40;
  color: #aaa;
  font-size: 0.9rem;
  margin-top: 4rem;
}