@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --bg-color: #Fdfbf7;
  --text-main: #111111;
  --text-secondary: #333333;
  --accent-color: #003366;
  --highlight-color: #00C9DB;
  --border-color: #111111;
  --card-bg: #ffffff;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.text-center {
  text-align: center !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-main);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 5%;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(241, 238, 231, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.nav-logo {
  height: 70px;
  margin-top: 6px;
  display: block;
}

.logo-text a {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  gap: 3rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-main);
}

.nav-links a:hover {
  color: var(--accent-color);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.btn-donate {
  background: var(--text-main);
  color: white !important;
  padding: 0.8rem 2rem;
  border-radius: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-donate:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.hero-professional {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
  color: white;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transform: scale(1.15);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}

.hero-title-pro {
  font-size: clamp(3rem, 10vw, 8rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  line-height: 0.95;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-pro {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  max-width: 700px;
  margin: 0 auto 3rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-btns-pro {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-primary-pro {
  background: white;
  color: var(--text-main);
  padding: 1rem 2.5rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  border: 2px solid white;
  cursor: pointer;
  display: inline-block;
}

.btn-primary-pro:hover {
  background: transparent;
  color: white;
}

.btn-outline-pro {
  background: transparent;
  color: white;
  padding: 1rem 2.5rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  border: 2px solid white;
  cursor: pointer;
  display: inline-block;
}

.btn-outline-pro:hover {
  background: white;
  color: var(--text-main);
}

section {
  padding: 5rem 5%;
}

.section-header-pro {
  margin-bottom: 3rem;
  text-align: left;
}

.section-title-pro {
  font-size: clamp(2.5rem, 5vw, 4rem);
  text-align: left;
}

.mission {
  position: relative;
  background: #111111;
  overflow: hidden;
  color: white;
  padding: 8rem 5%;
}

.mission-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.mission-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2;
}

.mission-content {
  position: relative;
  z-index: 3;
}

.mission .section-title-pro {
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.purpose-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.purpose-left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.purpose-lead {
  font-size: 1.4rem;
  line-height: 1.6;
  font-weight: 500;
  color: #ffffff;
  border-left: 4px solid var(--highlight-color);
  padding-left: 1.5rem;
}

.purpose-body {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.purpose-mission-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  backdrop-filter: blur(5px);
}

.purpose-mission-box p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  line-height: 1.6;
}

.purpose-right {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.purpose-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem;
  border-radius: 12px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.purpose-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--highlight-color);
  transform: translateX(10px);
}

.purpose-icon {
  font-size: 1.8rem;
  line-height: 1;
  color: #ffffff;
  opacity: 0.85;
  transition: all 0.3s ease;
  width: 32px;
  text-align: center;
  margin-top: 0.2rem;
}

.purpose-item:hover .purpose-icon {
  color: var(--highlight-color);
  opacity: 1;
  transform: scale(1.1);
}

.purpose-item p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  line-height: 1.5;
}

.objectives {
  background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), url('img/beach.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 8rem 5%;
}

.objectives .section-title-pro {
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.objectives-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.objective-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.6);
  align-items: flex-start;
  transition: var(--transition);
  border-radius: 12px;
}

.objective-item:hover {
  border-color: var(--highlight-color);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.objective-item p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

.objective-number {
  font-family: 'Oswald', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
}

.donations {
  background: linear-gradient(rgba(17, 17, 17, 0.85), rgba(17, 17, 17, 0.85)), url('img/forest.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  text-align: center;
  padding: 8rem 5%;
}

.donations .section-title-pro {
  text-align: center;
  color: white;
}

.btn-donate-large {
  background: var(--highlight-color);
  color: var(--text-main);
  padding: 1.2rem 3rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-size: 1.2rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 4rem;
}

.btn-donate-large:hover {
  background: white;
  color: var(--text-main);
  transform: scale(1.05);
}

/* Donation Projects Grid */
.donation-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2rem;
  text-align: left;
  transition: var(--transition);
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.project-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  border-color: white;
}

.project-card:hover h3,
.project-card:hover p {
  color: white;
}

.project-card h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  transition: var(--transition);
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}

.project-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  transition: var(--transition);
  text-align: center;
}

@media (max-width: 768px) {
  .donation-projects {
    grid-template-columns: 1fr;
  }
}

.contact {
  background: linear-gradient(rgba(253, 251, 247, 0.9), rgba(253, 251, 247, 0.9)), url('img/paper.jpg');
  background-size: cover;
  background-position: center;
}

.contact-form {
  background: white;
  padding: 4rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-group label {
  display: block;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid rgba(0, 0, 0, 0.1);
  background: var(--bg-color);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--text-main);
}

.form-submit {
  background: var(--text-main);
  color: white;
  padding: 1rem 3rem;
  border: none;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 2rem;
}

.form-submit:hover {
  background: var(--accent-color);
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

footer {
  background: var(--text-main);
  color: white;
  padding: 4rem 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
}

.footer-logo img {
  height: 100px;
  width: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.footer-logo img:hover {
  transform: scale(1.1);
  border-color: var(--highlight-color);
  box-shadow: 0 6px 25px rgba(0, 201, 219, 0.4);
}

.footer-text {
  text-align: center;
  flex: 1;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
  opacity: 0.7;
}

.social-links a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.menu-toggle span {
  width: 30px;
  height: 2px;
  background: var(--text-main);
  display: block;
}

@media (max-width: 768px) {
  .hero-title-pro {
    font-size: 15vw;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transform: translateY(-150%);
    transition: var(--transition);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .purpose-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .purpose-item:hover {
    transform: translateY(-5px);
  }

  .objectives-list {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .footer-logo {
    justify-content: center;
  }

  .social-links {
    justify-content: center;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== IMPACT SECTION (BENTO GRID RE-ADDED) ===== */
.impact-pro {
  background: var(--bg-color);
  padding-bottom: 2rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 1.5rem;
}

.bento-card {
  border: 2px solid var(--border-color);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  background: transparent;
  position: relative;
  border-radius: 12px;
}

.bento-card:hover {
  background: var(--text-main);
  color: white;
  transform: translateY(-5px);
  box-shadow: 5px 5px 0px rgba(0, 0, 0, 1);
}

.bento-card:hover .bento-label,
.bento-card:hover .bento-number,
.bento-card:hover .bento-text,
.bento-card:hover .bento-icon {
  color: white;
}

.card-large {
  grid-column: span 2;
  grid-row: span 2;
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.card-large .bento-number {
  color: white;
  font-size: clamp(3.5rem, 6vw, 6rem);
}

.card-large .bento-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

.card-large:hover {
  background: var(--text-main);
  border-color: var(--text-main);
}

.card-wide {
  grid-column: span 2;
}

.card-tall {
  grid-row: span 2;
}

.bento-number {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
  color: var(--text-main);
}

.bento-label {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.bento-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .card-large,
  .card-wide,
  .card-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}