* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

:root {
  --bg-color: #f5f8fa;
  --text-color: #1c2b36;
  --primary-color: #0f5c7a;
  --primary-dark: #0b4c66;
  --nav-bg: #e5fdff;
  --card-color: #ffffff;
  --subtitle-color: #5e6c75;
  --shadow: 0 10px 20px rgba(0,0,0,0.10);
}

body.dark-mode {
  --bg-color: #08131d;
  --text-color: #f3f8fc;
  --primary-color: #35a7d0;
  --primary-dark: #0d2d42;
  --nav-bg: #0b1823;
  --card-color: #10202d;
  --subtitle-color: #bfd0db;
  --shadow: 0 10px 20px rgba(0,0,0,0.35);
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* NAVBAR */
.logo {
  white-space: nowrap;
  border-radius: 0%;
  object-fit: cover;
}

nav {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.navbar {
  display: flex;
  justify-content: space-between;
  padding: 0px 40px;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar nav a {
  text-decoration: none;
  color: var(--text-color);
  font-size: large;
  position: relative;
}

.navbar nav a:hover,
.navbar nav a.active {
  color: var(--primary-color);
}

.navbar nav a.active::after,
.navbar nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
}

.donate-btn {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: 0.3s ease;
}

.donate-btn:hover {
  background: var(--primary-dark);
  color: hsl(207, 22%, 90%);
  transform: translateY(-2px);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 10px;
}

.theme-toggle,
.menu-toggle {
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  background: #edf7fb;
  font-size: 1rem;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--text-color);
}

/* HERO */
.hero {
  text-align: center;
  padding: 80px 20px 50px;
  background: linear-gradient(to bottom, #a5cbde, #ffffff);
  margin-top: 70px;
}

body.dark-mode .hero {
  background: linear-gradient(to bottom, #0f2433, #0e3646);
}

.small-title {
  color: #1d6fa5;
  font-weight: bold;
  letter-spacing: 2px;
  padding-top: 40px;
}

body.dark-mode .small-title {
  color: #69c8f0;
}

.hero h1 {
  font-size: 30px;
  margin: 20px 0;
  font-family: 'Playfair Display', serif;
}

.subtitle {
  color: var(--subtitle-color);
  max-width: 700px;
  margin: auto;
}

/* GLOBAL SECTION */
section {
  padding: 90px 0;
}

.section-header {
  width: min(850px, 92%);
  margin: 0 auto 50px;
  text-align: center;
}

.section-header h2 {
  font-family: Playfair;
  font-size: 35px;
  color: var(--text-dark);
  margin-bottom: 16px;
  font-weight: 800;
}

.section-header p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* PATH SECTION */
.path-section {
  background: #f3fcff ;
}
.path-card.reveal{
  text-decoration: none;
  color: black;
}

.path-cards {
  width: min(1180px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  align-items: stretch;
}

.path-card {
  background: transparent;
  text-align: center;
  padding: 25px 18px;
  border-radius: var(--radius);
  transition: 0.35s ease;
}

.path-card:hover {
  transform: translateY(-8px);
}

.path-icon,
.opportunity-icon,
.donation-icon,
.partner-icon {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  font-size: 3rem;
  margin: 0 auto 24px;
  box-shadow: var(--shadow);
}

.path-card h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 700;
}

.path-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 1.05rem;
}

.pink {
  background: linear-gradient(135deg, #ff5ea8, #ff0a68);
}

.blue {
  background: linear-gradient(135deg, #18b2e8, #1a7ff1);
}

.purple {
  background: linear-gradient(135deg, #7e72f8, #a246f7);
}

.indigo {
  background: linear-gradient(135deg, #6990ff, #516cf3);
}


/* VOLUNTEER SECTION */
.volunteer-section {
  background: linear-gradient(to bottom, #e2f8ff, white);
}
.pill-title-volunteer {
  width: fit-content;
  margin: 0 auto 30px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #db166e;
  color: white;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.section-header.reveal h2{
  color: #363c45;
  font-size: 35px;
}

.volunteer-grid {
  width: min(1180px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.opportunity-card {
  background: hsl(240, 14%, 97%);
  border-radius: 24px;
  padding: 34px 34px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow);
  transition: 0.35s ease;
}

.opportunity-card:hover {
  transform: translateY(-8px);
}

.opportunity-icon {
  width: 60px;
  height: 60px;
  font-size: 1.7rem;
  flex-shrink: 0;
  margin: 0;
}

.opportunity-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.opportunity-card p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 14px;
}

.opportunity-card span {
  color: var(--pink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.volunteer-cta,
.partner-cta {
  width: min(1180px, 92%);
  margin: 50px auto 0;
  text-align: center;
  color: white;
  border-radius: 24px;
  padding: 50px 20px;
}

.volunteer-cta {
  background: linear-gradient(135deg, hsl(332, 91%, 53%), #dd0945);
}

.partner-cta {
  background: linear-gradient(135deg, #625bdf, #b065d8);
}

.volunteer-cta h3,
.partner-cta h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  font-weight: 750;
}

.volunteer-cta p,
.partner-cta p {
  max-width: 800px;
  margin: 0 auto 28px;
  line-height: 1.8;
  font-size: 1.08rem;
}
.volunteer-cta.reveal a{
  color: rgb(52, 51, 51);
  text-decoration: none;
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  font-size: large;
}
.volunteer-cta.reveal a:hover{
  color: rgb(83, 81, 81);
}

/* BUTTONS */
.white-btn,
.gradient-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: 0.3s ease;
}

.white-btn {
  background: white;
  color: rgb(59, 58, 58);
  text-decoration: none;
}

.white-btn:hover{
  color: rgb(84, 77, 77);
  background-color: whitesmoke;
}

.gradient-btn {
  background: linear-gradient(90deg, #0f9ad4, #1e63f2);
  color: white;
}

.white-btn:hover,
.gradient-btn:hover,
.donate-btn:hover {
  transform: translateY(-3px) scale(1.02);
}

/* DONATE SECTION */
.donate-section {
  background: #eef8fb;
}

.pill-title {
  width: fit-content;
  margin: 0 auto 30px;
  padding: 16px 28px;
  border-radius: 999px;
  background: #0f93c8;
  color: white;
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.soft-purple {
  background: #dfe4ff;
  color: #4c46df;
}

.donation-grid {
  width: min(1180px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}

.donation-card {
  background: #f8f7f8;
  border-radius: 24px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: 0.35s ease;
}

.donation-card:hover {
  transform: translateY(-8px);
}

.donation-icon {
  width: 86px;
  height: 86px;
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.donation-card h3 {
  font-size: 2.4rem;
  margin-bottom: 14px;
  font-weight: 800;
}

.donation-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.donate-info {
  width: min(1120px, 92%);
  margin: auto;
  background: #f9f9fb;
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  position: relative;
}

.donate-column h3,
.partnership-left h3,
.partnership-right h3 {
  font-size: 1.4rem;
  margin-bottom: 22px;
  font-weight: 800;
}

.donate-column h3 i {
  color: var(--primary-blue);
  margin-right: 10px;
}

.donate-column ul,
.partnership-right ul {
  list-style: none;
}

.donate-column li,
.partnership-right li {
  margin-bottom: 18px;
  color: var(--text-light);
  line-height: 1.8;
  position: relative;
  padding-left: 34px;
}

.donate-column li::before,
.partnership-right li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 1px;
  color: #1e63f2;
}

.donate-btn-wrap {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 10px;
}

/* PARTNER SECTION */
.partner-section {
  background: #fdfdfd;
}

.partner-grid {
  width: min(1180px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.partnership-left,
.partnership-right {
  padding: 16px 0;
}

.partnership-right {
  background: #f4f3ff;
  padding: 42px;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.partner-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.partner-icon {
  width: 60px;
  height: 60px;
  font-size: 1.45rem;
  margin: 0;
  flex-shrink: 0;
}

.partner-item h4 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.partner-item p {
  color: var(--text-light);
  line-height: 1.7;
}

/* FOOTER */
.footer {
  background: #0b4c66;
  color: white;
  padding: 70px 0 30px;
}

.footer-grid {
  width: min(1180px, 92%);
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer h3,
.footer h4 {
  font-family: "Playfair Display", serif;
  margin-bottom: 20px;
  font-size: 1.9rem;
  color: #38c3ff;
}

.footer h4 {
  font-size: 1.4rem;
}

.footer p,
.footer li,
.footer a {
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  font-size: 1rem;
  text-decoration: none;
}

.footer ul {
  list-style: none;
}

.footer a:hover {
  color: white;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-bottom {
  width: min(1180px, 92%);
  margin: 40px auto 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 24px;
  text-align: center;
}

/* BACK TO TOP */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  width: 62px;
  height: 62px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #14a8e2, #1a6bf2);
  color: white;
  font-size: 1.3rem;
  box-shadow: 0 12px 25px rgba(17, 121, 200, 0.25);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* DARK MODE */
body.dark-mode .navbar {
  background: rgba(10, 22, 34, 0.96);
}

body.dark-mode nav a,
body.dark-mode .theme-toggle,
body.dark-mode .menu-toggle,
body.dark-mode .section-header h2,
body.dark-mode .path-card h3,
body.dark-mode .donation-card h3,
body.dark-mode .partner-item h4,
body.dark-mode .donate-column h3,
body.dark-mode .partnership-left h3,
body.dark-mode .partnership-right h3,
body.dark-mode .opportunity-card h3 {
  color: #e8f1ff;
}

body.dark-mode .section-header p,
body.dark-mode .path-card p,
body.dark-mode .opportunity-card p,
body.dark-mode .donation-card p,
body.dark-mode .partner-item p,
body.dark-mode .donate-column li,
body.dark-mode .partnership-right li {
  color: #bed0ea;
}

body.dark-mode .path-section,
body.dark-mode .donate-section {
  background: #11263a;
}

body.dark-mode .volunteer-section,
body.dark-mode .partner-section {
  background: #0d1b2a;
}

body.dark-mode .path-card,
body.dark-mode .opportunity-card,
body.dark-mode .donation-card,
body.dark-mode .donate-info,
body.dark-mode .partnership-right {
  background: #14283c;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
  .path-cards,
  .donation-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
    body.dark-mode nav {
  background: #0b1823;
}

body.dark-mode .theme-toggle,
body.dark-mode .menu-toggle {
  background: #14283c;
  color: #e8f1ff;
}
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  nav {
    position: absolute;
    top: 82px;
    right: 4%;
    width: 260px;
    background: var(--nav-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: 0.3s ease;
  }

  nav.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .volunteer-grid,
  .partner-grid,
  .donate-info {
    grid-template-columns: 1fr;
  }

  .opportunity-card {
    padding: 28px 24px;
  }
    body.dark-mode nav {
  background: #0b1823;
}
body.dark-mode .theme-toggle,
body.dark-mode .menu-toggle {
  background: #14283c;
  color: #e8f1ff;
}
}

@media (max-width: 700px) {
  .path-cards,
  .donation-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-content h1 {
    line-height: 1.0px;
  }

  .path-icon {
    width: 96px;
    height: 96px;
    font-size: 2.4rem;
  }

  .path-card h3 {
    font-size: 1.8rem;
  }

  .opportunity-card {
    flex-direction: column;
  }

  .donate-info,
  .partnership-right {
    padding: 28px 22px;
  }

  .volunteer-cta,
  .partner-cta {
    padding: 40px 18px;
  }

  .white-btn,
  .gradient-btn {
    width: 100%;
    text-align: center;
  }

  .back-to-top {
    width: 55px;
    height: 55px;
    right: 16px;
    bottom: 18px;
  }
      body.dark-mode nav {
  background: #0b1823;
}
body.dark-mode .theme-toggle,
body.dark-mode .menu-toggle {
  background: #0b1823;
  color: #e8f1ff;
}
}

@media (max-width: 480px) {
  .navbar {
    padding: 0 14px;
  }

  nav {
    left: 14px;
    right: 14px;
    width: auto;
    top: 78px;
  }
}