/* =========================
   GLOBAL RESET & BASE STYLES
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #fff;
  background-color: #000;
  overflow-x: hidden;
}

/* =========================
   NAVBAR
========================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: 70px;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  z-index: 1000;
}

.logo img {
  max-height: 55px; /* fits cleanly inside 70px navbar */
  width: auto;
  display: block;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.navbar a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar a:hover {
  color: #4da6ff;
}

/* =========================
   BUTTONS
========================= */
.btn {
  background: linear-gradient(135deg, #0077b6, #003049);
  color: white;
  padding: 1rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: left 0.4s ease;
}

.btn:hover::after {
  left: 0;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.btn.involved {
  margin-top: 2rem;
}

.btn.donate {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
}

/* =========================
   HERO SECTION
========================= */
.hero {
  min-height: 100svh; /* iOS-safe viewport height */
  background: url('puffin.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.1);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero p {
  font-size: clamp(1rem, 2vw, 2rem);
  line-height: 1.6;
  font-weight: 400;
  opacity: 0.85;
  margin-top: 0rem;
}

.hero-logo img {
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: 0 auto 0.5rem auto;
  display: block;
  margin-top: 0rem;
}

/* =========================
   HOW WE WORK SECTION
========================= */
.how-we-work {
  background: linear-gradient(135deg, #0077b6, #003049);
  padding: 4rem 2rem;
  text-align: center;
}

.how-we-work h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: whitesmoke;
}

.work-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.color-card {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  border-radius: 12px;
  max-width: 320px;
  color: white;
  transition: transform 0.3s ease;
}

.color-card:hover {
  transform: translateY(-5px);
}

.card-collab { background-color: #0077b6; }
.card-media { background-color: #00b4d8; }
.card-network { background-color: #90e0ef; color: #003049; }

/* =========================
   ABOUT SECTION
========================= */
.section2.about {
  min-height: 100svh;
  background: url('waterturtle.jpg') center/cover no-repeat;
  color: #F6F3E9;
  padding: 8rem 4rem;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.6);
}

.section2-different {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section2-h3 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.section-aboutintro {
  font-size: 1.25rem;
  line-height: 1.7;
  max-width: 700px;
  opacity: 0.85;
}

/* =========================
   MISSION DIVIDER
========================= */
.mission-divider {
  background: linear-gradient(135deg, #0077b6, #003049);
  color: #fff;
  padding: 2.5rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: left;
}

.mission-content {
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  width: 100%;
}

.mission-icon img {
  width: 120px;
  height: auto;
}

.mission-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

.mission-text p {
  margin: 0.5rem 0 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* =========================
   SOCIAL SECTION
========================= */
.section-social-cards {
  min-height: 100svh;
  background: url('boat.jpg') center/cover no-repeat;
  color: #F6F3E9;
  text-align: center;
  padding: 6rem 2rem;
}

.section-social-cards h2 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.section-social-cards p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.85;
}

.social-card-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.social-card {
  background-color: rgba(246, 248, 255, 0.82);
  color: #222222;
  width: 180px;
  height: 180px;
  border-radius: 16px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.social-card i {
  font-size: 2.8rem;
  margin-bottom: 0.8rem;
}

.social-card:hover {
  transform: translateY(-6px);
}

.instagram i { color: #E1306C; }
.tiktok i { color: #69C9D0; }
.youtube i { color: #FF0000; }

/* =========================
   RESPONSIVE FIXES (iPhone SE & below)
========================= */
@media (max-width: 480px) {
  .navbar {
    padding: 0 1rem;
    height: 60px;
  }

  .navbar ul {
    gap: 1rem;
  }

  .hero {
    background-position: center top;
    padding: 0 1rem;
  }

  .hero-logo img {
    max-width: 90%;
    margin-top: -2rem;
  }

  .hero p {
    font-size: 1rem;
    margin-top: 0;
  }

  .how-we-work h2 {
    font-size: 2rem;
  }

  .color-card {
    max-width: 90%;
  }

  .section2.about {
    padding: 5rem 1.5rem;
  }

  .section2-different {
    font-size: 2rem;
  }

  .section2-h3 {
    font-size: 1.3rem;
  }

  .section-aboutintro {
    font-size: 1rem;
  }

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

  .mission-icon img {
    width: 80px;
  }

  .mission-text h2 {
    font-size: 1.3rem;
  }

  .section-social-cards {
    padding: 4rem 1rem;
  }

  .social-card {
    width: 140px;
    height: 140px;
    font-size: 0.9rem;
  }

  .social-card i {
    font-size: 2.2rem;
  }
}
/* =====================================
   iPhone SE & similar narrow portrait screens
===================================== */
/* @media screen and (max-aspect-ratio: 3/4) {
  .navbar {
    padding: 0 0.5rem;
  }
  .navbar ul {
    gap: 0.7rem;
  }
  .logo img {
    max-height: 45px;
  }
  .navbar a {
    font-size: 0.9rem;
  }
} */

@media screen and (max-width: 480px) {
  .navbar ul {
    display: none !important;
    visibility: hidden;
  }
  .navbar {
    justify-content: center; /* centers logo */
    /* display: none; */
  }

  .logo img {
    max-height: 50px;
  }
}

