@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary-color: #0B2545;       /* Deep Navy Blue */
  --primary-hover: #134074;
  --secondary-color: #FF6B35;     /* Vibrant Orange */
  --secondary-hover: #F25C22;
  --accent-color: #2A9D8F;        /* Forest Green */
  --accent-hover: #218276;
  --text-dark: #1D2D44;           /* Off-black */
  --text-light: #6C7A89;          /* Gray text */
  --bg-white: #FFFFFF;
  --bg-light: #F4F9F9;            /* Cool soft light neutral */
  --bg-gradient: linear-gradient(135deg, #0B2545 0%, #134074 100%);
  --orange-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8F66 100%);
  --white-gradient: linear-gradient(180deg, #FFFFFF 0%, #F4F9F9 100%);
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  /* Shadows and Effects */
  --shadow-sm: 0 4px 6px -1px rgba(11, 37, 69, 0.05), 0 2px 4px -1px rgba(11, 37, 69, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(11, 37, 69, 0.08), 0 4px 6px -2px rgba(11, 37, 69, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(11, 37, 69, 0.12), 0 10px 10px -5px rgba(11, 37, 69, 0.06);
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.5);

  /* Layout and Transitions */
  --border-radius-sm: 8px;
  --border-radius-md: 14px;
  --border-radius-lg: 24px;
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  scroll-snap-type: y proximity;
  scroll-padding-top: 80px; /* Accounts for header height */
}

/* Scroll-Snapping for Landing Page Sections */
.hero-section,
.mission-section,
.what-we-do-section,
.callout-section,
footer {
  scroll-snap-align: start;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  background: none;
  transition: var(--transition-smooth);
}

input, textarea, select {
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header & Sticky Nav */
.header-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.header-scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
  padding: 8px 0;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  background: var(--orange-gradient);
  color: var(--bg-white);
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  box-shadow: 0 4px 10px rgba(255, 107, 53, 0.3);
  transition: var(--transition-bounce);
}

.logo:hover .logo-icon {
  transform: rotate(10deg) scale(1.05);
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background-color: var(--bg-white);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: var(--transition-bounce);
}

.logo:hover .logo-img {
  transform: rotate(10deg) scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--primary-color);
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--secondary-color);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #000000 !important;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(255, 107, 53, 0.06);
}

/* Dropdown styling */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 280px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: #000000;
  transition: var(--transition-smooth);
}

.dropdown-item:hover {
  background-color: var(--bg-light);
  color: var(--secondary-color);
}

.dropdown-icon {
  width: 28px;
  height: 28px;
  background-color: rgba(11, 37, 69, 0.05);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.dropdown-item:hover .dropdown-icon {
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--secondary-color);
}

.caret {
  font-size: 0.65rem;
  transition: var(--transition-smooth);
}

.nav-dropdown:hover .caret {
  transform: rotate(180deg);
}

/* Search and CTA in Header */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 40px;
  height: 40px;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid transparent;
  background-color: rgba(11, 37, 69, 0.05);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  color: var(--text-dark);
}

.search-input:focus {
  width: 200px;
  cursor: text;
  background-color: var(--bg-white);
  border-color: rgba(11, 37, 69, 0.15);
  box-shadow: var(--shadow-sm);
}

.search-icon-btn {
  position: absolute;
  right: 12px;
  color: var(--primary-color);
  pointer-events: none;
  font-size: 0.95rem;
}

/* Navigation Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--orange-gradient);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.25);
}

.btn-primary:hover {
  background: var(--orange-gradient);
  box-shadow: 0 6px 18px rgba(255, 107, 53, 0.35);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 12px rgba(11, 37, 69, 0.2);
}

.btn-secondary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
  background-color: transparent;
  box-shadow: none;
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.btn-outline-orange {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
  background-color: transparent;
  box-shadow: none;
}

.btn-outline-orange:hover {
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

/* Hamburger */
.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 101;
}

.hamburger-menu span {
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Breadcrumbs */
.breadcrumbs-wrapper {
  background-color: var(--bg-white);
  border-bottom: 1px solid rgba(11, 37, 69, 0.06);
  padding: 10px 0;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
}

.breadcrumbs a {
  color: var(--primary-color);
}

.breadcrumbs a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero-section {
  position: relative;
  background-image: url('images/hero_background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 37, 69, 0.92) 0%, rgba(11, 37, 69, 0.65) 50%, rgba(11, 37, 69, 0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--bg-white);
  max-width: 650px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-content h1 {
  color: var(--bg-white);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.hero-content p {
  font-size: 1.15rem;
  opacity: 0.95;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-actions .btn-outline {
  border-color: var(--bg-white);
  color: var(--bg-white);
}

.hero-actions .btn-outline:hover {
  background-color: var(--bg-white);
  color: var(--primary-color);
}

/* Section Common Styles */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-title-tag {
  text-transform: uppercase;
  color: var(--secondary-color);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
}

.section-desc {
  color: var(--text-light);
  font-size: 1.05rem;
}

/* Mission Section */
.mission-section {
  background: var(--bg-white);
  position: relative;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.mission-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mission-highlight {
  font-size: 1.25rem;
  color: var(--secondary-color);
  font-weight: 600;
  line-height: 1.5;
}

.mission-body {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.mission-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 20px;
}

.stat-box {
  background-color: var(--bg-light);
  padding: 24px;
  border-radius: var(--border-radius-md);
  border-left: 4px solid var(--secondary-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

.mission-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.mission-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.mission-image-wrapper:hover img {
  transform: scale(1.03);
}

/* What We Do Grid */
.what-we-do-section {
  background-color: var(--bg-light);
}

.programs-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.program-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
  flex: 0 1 calc(33.333% - 20px);
  min-width: 300px;
}

.program-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-color);
  transition: var(--transition-smooth);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.program-card:hover::after {
  background: var(--secondary-color);
}

.program-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(11, 37, 69, 0.05);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: var(--transition-smooth);
}

.program-card:hover .program-icon-wrap {
  background-color: rgba(255, 107, 53, 0.1);
  color: var(--secondary-color);
  transform: scale(1.05);
}


.program-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.program-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  flex-grow: 1;
}

.program-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.program-card:hover .program-link {
  color: var(--secondary-color);
}

/* Green Color Accents for Climate Program Card */
.program-card-green::after {
  background: var(--accent-color);
}
.program-card-green:hover::after {
  background: #38B000;
}
.program-card-green .program-icon-wrap {
  color: var(--accent-color);
  background-color: rgba(42, 157, 143, 0.08);
}
.program-card-green:hover .program-icon-wrap {
  color: #38B000;
  background-color: rgba(56, 176, 0, 0.1);
}

/* Right to Play Section Callout */
.callout-section {
  background: var(--bg-white);
}

.callout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.callout-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.callout-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
}

.callout-text {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.feature-bullets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  margin-top: 10px;
}

.bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-color);
}

.bullet-icon {
  color: var(--secondary-color);
}

.callout-image-wrapper {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.callout-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.callout-image-wrapper:hover img {
  transform: scale(1.03);
}

/* Footer Section */
footer {
  background-color: var(--primary-color);
  color: rgba(255, 255, 255, 0.85);
  padding: 80px 0 30px 0;
  font-size: 0.95rem;
  border-top: 5px solid var(--secondary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo .logo-img {
  filter: brightness(0) invert(1);
  background-color: transparent;
  box-shadow: none;
}

.footer-logo .logo-title {
  color: var(--bg-white);
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bg-white);
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--secondary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
}

.footer-contact-icon {
  color: var(--secondary-color);
  margin-top: 4px;
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.badge-item {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 8px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px dashed rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-tag {
  width: 8px;
  height: 8px;
  background-color: var(--secondary-color);
  border-radius: 50%;
}

.badge-tag-green {
  background-color: var(--accent-color);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a:hover {
  color: var(--secondary-color);
}

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 37, 69, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 480px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: modal-zoom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
}

.modal-header-accent {
  background: var(--bg-gradient);
  padding: 24px 30px;
  color: var(--bg-white);
  position: relative;
}

.modal-title {
  color: var(--bg-white);
  font-size: 1.5rem;
}

.modal-subtitle {
  font-size: 0.85rem;
  opacity: 0.85;
  margin-top: 4px;
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 30px;
  color: var(--bg-white);
  font-size: 1.25rem;
  opacity: 0.75;
}

.modal-close-btn:hover {
  opacity: 1;
}

.modal-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Modal specific inputs */
.donation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.donation-btn {
  border: 2px solid rgba(11, 37, 69, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 12px;
  font-weight: 700;
  text-align: center;
  font-size: 1.05rem;
  color: var(--primary-color);
}

.donation-btn:hover {
  border-color: var(--secondary-color);
  background-color: rgba(255, 107, 53, 0.05);
}

.donation-btn.selected {
  border-color: var(--secondary-color);
  background-color: var(--secondary-color);
  color: var(--bg-white);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.form-control {
  border: 2px solid rgba(11, 37, 69, 0.15);
  border-radius: var(--border-radius-sm);
  padding: 12px 16px;
  font-size: 0.95rem;
  width: 100%;
  color: var(--text-dark);
}

.form-control:focus {
  border-color: var(--secondary-color);
}

/* Floating mobile action button */
.floating-donate-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  background: var(--orange-gradient);
  color: var(--bg-white);
  box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: pulse-button 2s infinite;
}

/* Page View Content Layouts */
.view-container {
  padding: 60px 0 100px 0;
  background-color: var(--bg-white);
  min-height: 400px;
  display: none;
  animation: view-fade-in 0.4s ease-out forwards;
}

.view-container.active {
  display: block;
}

/* About Us View */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 70px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-text p {
  color: var(--text-light);
  line-height: 1.8;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.team-card-wide {
  grid-column: span 2;
}

@media (max-width: 768px) {
  .team-card-wide {
    grid-column: span 1;
  }
}

.team-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-bounce);
  border: 1px solid rgba(11, 37, 69, 0.04);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--orange-gradient);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
}

.team-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
}

.team-role {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: -8px;
}

.team-meta {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Project detail subpages layout */
.project-detail-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 50px;
}

.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-title {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background-color: var(--bg-light);
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.sidebar-link.active, .sidebar-link:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
}

.sidebar-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: rgba(11, 37, 69, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.sidebar-link.active .sidebar-icon, .sidebar-link:hover .sidebar-icon {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--bg-white);
}

.project-main-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.project-main-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 12px;
  margin-bottom: 10px;
}

.project-main-content p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.feature-box-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 10px;
}

.feature-box {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.feature-box-icon {
  color: var(--secondary-color);
  font-size: 1.4rem;
}

.feature-box-title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.feature-box-desc {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* Get Involved Tabs and Forms */
.involved-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  background-color: var(--bg-light);
  padding: 8px;
  border-radius: 40px;
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.involved-tab {
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-color);
}

.involved-tab.active {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: var(--shadow-sm);
}

.tab-pane {
  display: none;
  animation: view-fade-in 0.4s ease-out forwards;
}

.tab-pane.active {
  display: block;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 10px;
}

.alert {
  padding: 14px 20px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  margin-bottom: 20px;
  display: none;
  animation: view-fade-in 0.3s ease-out forwards;
}

.alert-success {
  background-color: rgba(42, 157, 143, 0.1);
  color: var(--accent-hover);
  border-left: 4px solid var(--accent-color);
}

/* Resources Page */
.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: flex-start;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(11, 37, 69, 0.1);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  box-shadow: var(--shadow-sm);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary-color);
}

.faq-question:hover {
  background-color: rgba(11, 37, 69, 0.02);
}

.faq-answer {
  padding: 0 24px;
  height: 0;
  overflow: hidden;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.6;
  transition: var(--transition-smooth);
}

.faq-item.active {
  background-color: var(--bg-light);
}

.faq-item.active .faq-answer {
  padding: 0 24px 24px 24px;
  height: auto;
}

.faq-item.active .caret {
  transform: rotate(180deg);
  color: var(--secondary-color);
}

.downloads-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-radius: var(--border-radius-md);
  background-color: var(--bg-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.download-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.download-meta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.download-icon {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.download-title {
  font-weight: 700;
  font-size: 1rem;
}

.download-size {
  font-size: 0.8rem;
  color: var(--text-light);
  font-weight: 500;
}

/* Contact View */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background-color: var(--bg-light);
  border-radius: var(--border-radius-md);
  padding: 24px;
  display: flex;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.contact-card-icon {
  color: var(--secondary-color);
  font-size: 1.4rem;
  margin-top: 4px;
}

.contact-card h4 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.mock-map {
  background-color: #E2EAF4;
  border-radius: var(--border-radius-md);
  height: 200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-weight: 600;
  gap: 8px;
  border: 1px dashed rgba(11, 37, 69, 0.15);
}

.map-icon {
  font-size: 1.8rem;
  color: var(--secondary-color);
}

/* Animations */
@keyframes modal-zoom {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes view-fade-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-button {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 107, 53, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 53, 0);
  }
}

/* Search results display */
.search-results-box {
  position: absolute;
  top: 105%;
  right: 0;
  width: 320px;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  display: none;
  flex-direction: column;
  gap: 8px;
  z-index: 105;
  max-height: 400px;
  overflow-y: auto;
  border: 1px solid rgba(11, 37, 69, 0.08);
}

.search-results-box.active {
  display: flex;
}

.search-result-item {
  padding: 10px;
  border-radius: var(--border-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.search-result-item:hover {
  background-color: var(--bg-light);
}

.search-result-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-color);
}

.search-result-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--secondary-color);
  font-weight: 700;
}

.search-no-results {
  padding: 20px;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

/* Media Queries (Responsive Styling) */
@media (max-width: 1024px) {
  .program-card {
    flex: 0 1 calc(50% - 20px);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .project-detail-layout {
    grid-template-columns: 1fr;
  }
  .project-sidebar {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 8px;
    white-space: nowrap;
  }
  .sidebar-link {
    display: inline-flex;
    padding: 10px 16px;
  }
}

@media (max-width: 1100px) {
  .logo-title {
    font-size: 0.95rem;
  }
  .logo-subtitle {
    font-size: 0.6rem;
  }
  .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .nav-link {
    padding: 8px 8px !important;
    font-size: 0.85rem;
  }
  .nav-menu {
    gap: 4px;
  }
  .header-actions {
    gap: 10px;
  }
  .search-input {
    width: 36px;
    height: 36px;
  }
  .search-input:focus {
    width: 140px;
  }
  .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  header {
    padding: 12px 0;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-white);
    box-shadow: var(--shadow-lg);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px 24px;
    gap: 16px;
    transition: var(--transition-smooth);
    z-index: 100;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-link {
    width: 100%;
    padding: 12px 16px;
  }
  .dropdown-menu {
    position: static;
    display: block;
    opacity: 1;
    transform: none;
    box-shadow: none;
    padding: 0 0 0 16px;
    width: 100%;
    border-radius: 0;
  }
  .nav-dropdown:hover .dropdown-menu {
    transform: none;
  }
  .dropdown-item {
    padding: 8px 12px;
  }
  .header-actions {
    margin-right: 48px;
  }
  .hamburger-menu {
    display: flex;
  }
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .hero-section {
    min-height: 460px;
    text-align: center;
    padding: 40px 0;
  }
  .hero-content {
    max-width: 100%;
    align-items: center;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .mission-grid, .callout-grid, .about-grid, .resources-grid, .contact-grid, .form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mission-image-wrapper img, .callout-image-wrapper img {
    height: 300px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .sportal-safe-grid {
    grid-template-columns: 1fr !important;
  }
  .excellence-grid {
    grid-template-columns: 1fr;
  }
  .floating-donate-btn {
    display: flex;
  }
}

@media (max-width: 480px) {
  .program-card {
    flex: 0 1 100%;
  }
  .hero-content h1 {
    font-size: 1.8rem;
  }
  .btn {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .search-input:focus {
    width: 150px;
  }
  .feature-box-grid {
    grid-template-columns: 1fr;
  }
}

/* Custom Cursor Follower */
.custom-cursor {
  width: 22px;
  height: 22px;
  border: 2px solid var(--secondary-color);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 99999;
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  left: -100px;
  top: -100px;
}

.custom-cursor-hover {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 107, 53, 0.15);
  border-color: var(--secondary-color);
}

@media (max-width: 1024px) {
  .custom-cursor {
    display: none !important;
  }
}
