/* ------------------------------------------------------
   1. RESET & ROOT VARIABLES
-------------------------------------------------------*/
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --peacock: #005f69;
  --light-blue: #e6f6fb;
  --dark-text: #0b1b2b;
  --muted: #4a5568;
}


html, body {
  height: 100%;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: var(--dark-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.container {
  max-width: 1350px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ------------------------------------------------------
   2. GLOBAL UTILITIES (Buttons, Text, Spacing)
-------------------------------------------------------*/
.btn {
  display: inline-block;
  background: var(--peacock);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s, transform 0.16s;
}
.btn:hover { background: #004d5d; transform: translateY(-1px); }

.join-btn {
  background: #0077a6;
  color: #fff;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 119, 166, 0.12);
}
.join-btn:hover { transform: translateY(-2px); }

.muted { color: var(--muted); }
.center, .text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.section { padding: 10px 0; }

/* ------------------------------------------------------
   3. FORM ELEMENTS
-------------------------------------------------------*/
.form label {
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--dark-text);
}

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"],
.form textarea,
.form select,
.form input[type="file"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.form textarea { resize: vertical; }

/* ------------------------------------------------------
   4. HEADER AREA
-------------------------------------------------------*/
.header {
  background: linear-gradient(180deg, rgba(5,54,70,0.95), rgba(15,90,110,0.85));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(6,30,40,0.15);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
}


/* ------------------------------------------------------
   5. LOGO
-------------------------------------------------------*/
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.foundation-name h1 {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
}

.foundation-name h4 {
  font-size: 12px;
  color: #e6f6fb;
}

/* ------------------------------------------------------
   6. NAVIGATION MENU (DESKTOP + MOBILE)
-------------------------------------------------------*/
.nav-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.nav-links a {
  position: relative;
  color: #e6f6fb;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: .25s ease;
}

/* Bottom underline (default hidden) */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #00d5e4;
  transform: translateX(-50%);
  transition: .30s ease;
  border-radius: 3px;
}

/* Hover background */
.nav-links a:hover {
  background: rgba(255,255,255,0.06);
}

/* ACTIVE LINK */
.nav-links a.active {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

.nav-links a.active::after {
  width: 100%;
}

/* FOCUS (keyboard) */
.nav-links a:focus {
  outline: none;
  background: rgba(255,255,255,0.12);
}

.nav-links a:focus::after {
  width: 100%;
}

.menu-btn {
  position: absolute;
  left: 20px;
  top: 16px;
  background: transparent;
  border: none;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 2003;
}

/* ------------------------------------------------------
   7. DONATE BUTTON
-------------------------------------------------------*/

.btn-donate {
  display: inline-block;
  background: linear-gradient(135deg,#005f69, #0a8ea8 60%, #00b8d4);
  color: #fff !important;
  padding: 10px 16px;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,140,160,0.18),
              inset 0 -2px 6px rgba(0,0,0,0.12);
  border: 2px solid rgba(255,255,255,0.08);
  font-weight: 700;
  letter-spacing: .2px;
  animation: pulseDonate 2.8s ease-in-out infinite;
  position: relative;
  left: 10px;
}

@keyframes pulseDonate {
  0% { box-shadow: 0 8px 30px rgba(0,140,160,0.18), 0 0 0 0 rgba(0,186,212,0.12); }
  70% { box-shadow: 0 18px 60px rgba(0,140,160,0.12), 0 0 40px 8px rgba(0,186,212,0.06); }
  100% { box-shadow: 0 8px 30px rgba(0,140,160,0.18), 0 0 0 0 rgba(0,186,212,0); }
}

/* ------------------------------------------------------
   8. HERO SECTION
-------------------------------------------------------*/
.hero {
  padding: 48px 0 24px;
  background: linear-gradient(180deg,#f7fdff,#e9f8fb);
}

.hero h1, .hero h2 { color: #015B85; }

.hero .lead {
  font-size: 18px;
  color: #0b2b36;
  max-width: 920px;
}

.motto {
  display: inline-block;
  margin: 8px 0;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(2,74,101,0.06), rgba(2,114,138,0.06));
  border-left: 6px solid #005f69;
  border-radius: 8px;
  color: #003a3f;
  box-shadow: 0 6px 18px rgba(2,74,101,0.06);
  font-size: 16px;
  line-height: 1.3;
}

/* ================================================================
   ABOUT SECTION / HERO2
================================================================ */
.hero1 {
  padding: 20px 0 36px;
}

.about {
  color: #142d33;
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================================
   ABOUT US — ORIGINAL RESTORED
============================================================ */
.hero {
  padding: 70px 0 50px;
  background: linear-gradient(180deg,#f7fdff,#e9f8fb);
}

.hero .container {
  max-width: 900px;
}

.hero h1 {
  font-size: 34px;
  font-weight: 800;
  color: #015B85;
  margin-bottom: 18px;
}

.hero p {
  font-size: 16px;
  line-height: 1.75;
  color: #0b2b36;
  margin-bottom: 20px;
}

.hero-quote-block {
  margin-top: 25px;
  padding: 22px 24px;
  background: #eefafd;
  border-left: 6px solid #00a1b4;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,70,90,0.06);
}

.hero-quote-main {
  font-size: 20px;
  font-weight: 700;
  color: #005f69;
  margin: 8px 0;
}

.hero-quote-sub {
  font-size: 15px;
  color: #0b2b36;
}


/* ============================================================
   MANAGEMENT SECTION — FULLY FIXED POSITION
============================================================ */
.management-section {
  text-align: center;
}

/* Title */
.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  text-align: center;
}

.management-section .tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 25px;
}

/* Tabs */
.tab {
  padding: 10px 20px;
  background: #e5f7fa;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: 0.25s;
}

.tab:hover {
  background: #d5f1f6;
}

.tab.active {
  background: linear-gradient(135deg,#005f69,#00b8d4);
  color: white;
}

/* Content Wrapper */
.tab-wrapper {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

/* Tab Content */
.tab-content {
  width: 100%;
  min-height: 250px;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding-top: 10px;
}

.tab-content.active {
  display: flex;
}

/* Profile Card */
.profile-card {
  width: 230px;
  padding: 20px;
  background: white;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 8px 26px rgba(0,70,90,0.12);
  transition: 0.25s;
}

.profile-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0,80,100,0.22);
}

/* Image */
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(0,184,212,0.25);
  margin-bottom: 10px;
}

/* LinkedIn */
.linkedin-btn {
  width: 27px;
  height: 27px;
  background: #0077b5;
  color: white;
  border-radius: 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px auto 0;
  font-size: 17px;
  transition: 0.25s;
}

.linkedin-btn:hover {
  background: #005582;
  transform: scale(1.12);
}


/* Mobile Fix */
@media (max-width: 600px) {
  .profile-card {
    width: 100%;
  }
  .tab {
    padding: 9px 14px;
    font-size: 13px;
  }
}


/* ============================================================
   VISION / MISSION / GOALS
============================================================ */
/* WRAPPER GRID */
/* WRAPPER GRID — 3 CARDS IN SINGLE ROW */
/* OUTER SECTION: centers whole cards row */
.vision-section {
  width: 100%;
  display: flex;
  justify-content: center;   /* center full row */
  padding: 40px 0;
}

/* WRAPPER: controls card alignment + spacing */
.vision-wrapper {
  display: flex;
  justify-content: center;   /* all cards in center */
  align-items: stretch;
  gap: 30px;                 /* perfect spacing between cards */
  max-width: 1200px;         /* keeps cards nicely centered */
  width: 100%;
  padding: 0 20px;           /* little left-right breathing space */
}

/* CARD DESIGN */
.vision-card {
  background: #B9D8E7;
  padding: 40px 28px;
  border-radius: 22px;
  text-align: center;
  color: black;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 360px;          /* all cards same width */
  transition: 0.3s ease;
}

.vision-card:hover {
  transform: translateY(-10px);
}

/* ICON CIRCLE */
.vision-icon {
  width: 50px;
  height: 50px;
  /* background: #fff; */
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-size: 45px;
  box-shadow: 0 0 20px rgba(255,255,255,0.8);
}

/* BLUE HIGHLIGHT */
.vision-highlight {
  color: #4747B3;
  font-weight: 700;
}

/* RESPONSIVE — mobile me 1 column */
@media (max-width: 900px) {
  .vision-wrapper {
    flex-direction: column;
    align-items: center;
  }
}

/* ============================================================
   CORE VALUES
============================================================ */
.core-values {
  padding: 50px 0;
}

.core-card {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 900px;
  margin: auto;
}

.value-box {
  display: flex;
  gap: 18px;
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: 0 8px 26px rgba(0,70,90,0.08);
  transition: .25s ease;
  animation: fadeUp .7s ease;
}

.value-box:hover {
  transform: translateY(-6px);
}

.value-box img {
  width: 160px;
  height: 130px;
  object-fit: cover;
  border-radius: 12px;
}

/* ============================================================
   OUR LEADERSHIP CARDS
============================================================ */
.section {
  padding: 40px 0;
}

.section h2 {
  font-size: 24px;
  color: #004d5d;
  margin-bottom: 18px;
}

.section .grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 18px;
}

.card {
  background: #7fa99b;
  padding: 18px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(10,80,100,0.05);
  transition: 0.25s ease;
  animation: fadeUp .7s ease;
}

.card:hover {
  transform: translateY(-6px);
  background: #C0DCE9;
  box-shadow: 0 24px 45px rgba(0,80,100,0.25);
}

/* ------------------------------------------------------
   9. GRID & CARD SECTION
-------------------------------------------------------*/
.section .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(10,80,100,0.04);
  border: 1px solid rgba(6,40,50,0.03);
}

.card h3 {
  color: #004d5d;
  margin-bottom: 6px;
}



/* ------------------------------------------------------
   10. NEWSLETTER SECTION
-------------------------------------------------------*/
.newsletter {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.newsletter-container {
  max-width: 640px;
  background: #f0fcff;
  padding: 18px;
  border-radius: 12px;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.join-section {
  padding: 50px 20px;
  text-align: center;
  max-width: 850px;
  margin: 60px auto;
  animation: fadeUp .7s ease;
}

.join-section h2 {
  font-size: 28px;
  color: #004d5d;
  font-weight: 700;
}

.join-section p {
  font-size: 16px;
  color: #264653;
  margin: 10px auto 25px;
  line-height: 1.6;
}

.join-btn {
  padding: 12px 28px;
  background: linear-gradient(135deg,#005f69,#00b8d4);
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: .25s ease;
}



.join-btn:hover {
  transform: translateY(-3px);
}

/* ============================================================
   NEWSLETTER
============================================================ */
.newsletter-container {
  background: #f2fcff;
  max-width: 420px;
  padding: 25px;
  margin: 40px auto 0;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,70,90,0.15);
  transition: .25s ease;
  animation: fadeUp .7s ease;
}

.newsletter-container:hover {
  transform: translateY(-5px);
}

.newsletter-icon {
  font-size: 35px;
  margin-bottom: 12px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,70,90,0.25);
}

.send-btn {
  background: #005f69;
  color: white;
  padding: 12px;
  border-radius: 10px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: .25s ease;
}

.send-btn:hover {
  transform: translateY(-3px);
}

.newsletter-check {
  display: flex;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .wrapper,
  .section .grid {
    grid-template-columns: 1fr;
  }

  .value-box {
    flex-direction: column;
    text-align: center;
  }

  .value-box img {
    width: 100%;
    height: 180px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .send-btn {
    width: 100%;
  }
}


/* ------------------------------------------------------
   11. FOOTER
-------------------------------------------------------*/
.footer {
  margin-top: 36px;
}


/* ------------------------------------------------------
   12. BACK TO TOP BUTTON
-------------------------------------------------------*/
.back-to-top {
  position: fixed;
  right: 16px;
  bottom: 18px;
  background: var(--peacock);
  color: #fff;
  padding: 10px 12px;
  border-radius: 50%;
  display: none;
}


/* ------------------------------------------------------
   13. RESPONSIVE MEDIA QUERIES
-------------------------------------------------------*/

/* Tablets */
@media (max-width: 1024px) {
  .section .grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 880px) {
  .menu-btn { display: block; }

  .header .container { padding-left: 70px; }

  .nav-links {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    padding: 100px 20px;
    flex-direction: column;
    background: #003a44;
    transform: translateX(-110%);
  }
  
  .nav-links.open { transform: translateX(0); }

  .nav-links a {
    font-size: 15px;
    width: 100%;
  }

  .section .grid { grid-template-columns: 1fr; }
}