@font-face {
  font-family: Nunito;
  src: url(/assets/Nunito/Nunito-VariableFont_wght.ttf)
}

@font-face {
  font-family: Playwrite;
  src: url(/assets/Playwrite_IE/PlaywriteIE-VariableFont_wght.ttf);
}

:root {
  --color-1: #112540;
  --color-2: #3A5880;
  --color-3: #F59BA3;
  --color-4: #FCD8DC;
  --color-5: #ABABAB;
  --color-6: #FFFFFF;
  --shadow-soft: 0 8px 20px rgba(245, 155, 163, 0.1);
  --shadow-medium: 0 12px 28px rgba(17, 37, 64, 0.15);
  --transition-default: all 0.3s ease;
}

/* Global Styles */
body {
  margin: 0;
  font-family: 'Nunito', sans-serif;
  background-color: var(--color-6);
  color: var(--color-1);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23f59ba3' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: -1;
  opacity: 0.4;
}

button {
  font-family: 'Nunito', sans-serif;
  transition: var(--transition-default);
  position: relative;
  overflow: hidden;
}

button::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.4) 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.8s;
}

button:active::after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

header {
  background-color: var(--color-1);
  color: var(--color-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  font-family: 'Nunito';
  box-shadow: 0 4px 12px rgba(17, 37, 64, 0.15);
  top: 0;
  z-index: 100;
  position: sticky;
}

.logo {
  font-family: 'Playwrite';
  font-size: 24px;
  position: relative;
  display: inline-block;
  transition: var(--transition-default);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  z-index: 200;
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--color-6);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.logo::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--color-3);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.logo:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  color: var(--color-6);
  margin-left: 1.5rem;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 5px 0;
  transition: var(--transition-default);
}

nav a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-3);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

nav a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 2rem;
  background: linear-gradient(to bottom right, var(--color-4), var(--color-2), var(--color-1));
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 155, 163, 0.3) 0%, rgba(252, 216, 220, 0.1) 70%);
  z-index: -1;
  animation: float 15s infinite alternate ease-in-out;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 88, 128, 0.2) 0%, rgba(17, 37, 64, 0.1) 70%);
  z-index: -1;
  animation: float 18s infinite alternate-reverse ease-in-out;
}

@keyframes float {
  0% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, 20px) rotate(5deg); }
  100% { transform: translate(-20px, 10px) rotate(-5deg); }
}

.hero h1 {
  font-size: 2.6rem;
  color: var(--color-6);
  text-shadow: 0 2px 10px rgba(17, 37, 64, 0.3);
  animation: fadeInUp 1s ease-out;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin: 1.5rem 0 2.5rem;
  color: var(--color-6);
  text-shadow: 0 1px 3px rgba(17, 37, 64, 0.2);
  animation: fadeInUp 1s ease-out 0.2s backwards;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero button {
  margin: 0 0.8rem;
  padding: 0.85rem 1.8rem;
  border: none;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-6);
  background-color: var(--color-3);
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  box-shadow: 0 4px 15px rgba(245, 155, 163, 0.4);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.hero button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(245, 155, 163, 0.6);
  background-color: var(--color-2);
}

/* Featured Section */
section {
  padding: 4rem 2rem;
}

.featured {
  text-align: center;
  position: relative;
}

.featured::before {
  content: "";
  position: absolute;
  top: -30px;
  right: 5%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 155, 163, 0.3) 0%, transparent 70%);
  z-index: -1;
}

.featured::after {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 216, 220, 0.4) 0%, transparent 70%);
  z-index: -1;
}

.featured h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.featured h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background-color: var(--color-3);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.initiative {
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--color-6);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-default);
  transform: translateY(0);
  text-align: left;
  border: none;
  position: relative;
  padding: 10px;
}

.initiative:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.initiative img {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  transition: var(--transition-default);
  border-radius: 10px;
}

.initiative:hover img {
  transform: scale(1.05);
}

.initiative-content {
  padding: 1.5rem;
}

.initiative h3 {
  margin: 0.5rem 0;
  font-size: 1.3rem;
  transition: var(--transition-default);
}

.initiative:hover h3 {
  color: var(--color-3);
}

.initiative p {
  color: var(--color-2);
  margin-bottom: 1rem;
}

.initiative a {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-1);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-default);
}

.initiative a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-3);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

.initiative:hover a {
  color: var(--color-3);
}

.initiative:hover a::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.view-all-btn {
  margin-top: 3rem;
  padding: 0.85rem 2rem;
  background-color: var(--color-3);
  color: var(--color-6);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 155, 163, 0.3);
  transition: var(--transition-default);
}

.view-all-btn:hover {
  background-color: var(--color-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 88, 128, 0.4);
}

/* About Section */
.about, .why {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 1;
}

.about {
  background-color: rgba(252, 216, 220, 0.1);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-soft);
}

.about h2, .why h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.about h2::after, .why h3::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background-color: var(--color-3);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

.about p, .why p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.about p .icon {
  font-size: 1.5rem;
  color: var(--color-3);
  margin-top: 0.1rem;
  flex-shrink: 0;
  width: 2rem;
  text-align: center;
  margin-right: 10px;
  }

  .about p .text {
            flex: 1;
        }

.about::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 155, 163, 0.3) 0%, transparent 70%);
  z-index: -1;
}

.about::after {
  content: "";
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 88, 128, 0.15) 0%, transparent 70%);
  z-index: -1;
}

/* Why Section */
.why {
  margin-top: 4rem;
  text-decoration: none;
}

.why a {
  text-decoration: none;
}

.founder-container {
  display: flex;
  align-items: center;
  margin: 2rem 0;
  padding: 1rem;
  background-color: rgba(252, 216, 220, 0.2);
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-default);
}

.founder-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.founder-container img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--color-3);
  box-shadow: 0 5px 15px rgba(245, 155, 163, 0.3);
  transition: var(--transition-default);
}

.founder-container:hover img {
  transform: scale(1.05);
  border-color: var(--color-2);
}

.founder-name {
  margin-left: 25px;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--color-1);
}

/* Resources Section */
.resources {
  text-align: center;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.resources h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
}

.resources h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background-color: var(--color-3);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.resources::before {
  content: "";
  position: absolute;
  bottom: -50px;
  right: 8%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 88, 128, 0.2) 0%, transparent 70%);
  z-index: -1;
}

.resources::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 5%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 216, 220, 0.5) 0%, transparent 70%);
  z-index: -1;
}

.icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 2.5rem;
}

.icon-item {
  flex: 1;
  margin: 1rem;
  min-width: 250px;
  background-color: var(--color-6);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  transition: var(--transition-default);
  text-align: center;
  box-shadow: var(--shadow-soft);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.icon-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-4) 0%, rgba(252, 216, 220, 0.3) 100%);
  z-index: -1;
  opacity: 0;
  transition: var(--transition-default);
}

.icon-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.icon-item:hover::before {
  opacity: 1;
}

.icon-item img {
  width: 70px;
  height: 70px;
  margin-bottom: 1.5rem;
  transition: var(--transition-default);
}

.icon-item:hover img {
  transform: scale(1.1);
}

.icon-item p {
  font-weight: 600;
  color: var(--color-1);
  margin: 0;
  font-size: 1.1rem;
  transition: var(--transition-default);
}

.icon-item:hover p {
  color: var(--color-2);
}

.resources-btn {
  margin-top: 3rem;
  padding: 0.85rem 2rem;
  background-color: var(--color-3);
  color: var(--color-6);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(245, 155, 163, 0.3);
  transition: var(--transition-default);
}

.resources-btn:hover {
  background-color: var(--color-2);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(58, 88, 128, 0.4);
}

/* CTA Section */
.cta {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, rgba(252, 216, 220, 0.9) 0%, rgba(245, 155, 163, 0.2) 100%);
  color: var(--color-1);
  border-radius: 20px;
  margin: 4rem auto;
  max-width: 1200px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.cta::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 155, 163, 0.4) 0%, transparent 70%);
  z-index: 0;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 216, 220, 0.6) 0%, transparent 70%);
  z-index: 0;
}

.cta h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-1);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.cta p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: var(--color-2);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.submit-btn {
  padding: 1rem 2.5rem;
  background-color: var(--color-1);
  color: var(--color-6);
  border: none;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition-default);
  box-shadow: 0 6px 20px rgba(17, 37, 64, 0.3);
  position: relative;
  z-index: 1;
}

.submit-btn:hover {
  background-color: var(--color-2);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(17, 37, 64, 0.4);
}

.stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-default);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
  background-color: rgba(255, 255, 255, 0.9);
}

.stat-number {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--color-1);
  transition: all 1.5s ease;
  position: relative;
}

.stat-item p {
  font-size: 1.1rem;
  color: var(--color-2);
  font-weight: 600;
  margin-top: 0.5rem;
}

/* Footer */
footer {
  background-color: var(--color-1);
  color: var(--color-6);
  padding: 3rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--color-4), var(--color-3), var(--color-2));
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

footer a {
  color: var(--color-6);
  margin: 0.7rem 0;
  text-decoration: none;
  transition: var(--transition-default);
  position: relative;
  padding: 2px 0;
}

footer a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--color-3);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}

footer a:hover {
  color: var(--color-3);
}

footer a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.footer-social {
  display: flex;
  gap: 25px;
  margin-left: 100px;
}

.footer-social a {
  position: relative;
  transition: var(--transition-default);
}

.footer-social img {
  width: 55px;
  height: 55px;
  transition: var(--transition-default);
  filter: grayscale(30%);
}

.footer-social a:hover img {
  transform: translateY(-5px) scale(1.1);
  filter: grayscale(0%);
}

.footer-logo {
  margin-left: auto;
  max-width: 20%;
  height: auto;
}

.footer-logo img {
  max-width: 60%;
  height: auto;
  transition: var(--transition-default);
}

.footer-logo img:hover {
  transform: scale(1.05);
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.active {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries */
@media (max-width: 1100px) {
  .grid {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
      flex-direction: column;
      padding: 1rem;
  }

  .hamburger {
    display: flex;
  }
  
  nav {
     position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--color-1);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
  }

   nav.active {
    right: 0;
  }
  
  nav a {
    margin: 0 0 1.5rem 0;
    font-size: 1.2rem;
    width: 100%;
  }

  /* Hamburger animation */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Prevent scrolling when menu is open */
  body.menu-open {
    overflow: hidden;
  }
  
  .grid {
      grid-template-columns: 1fr;
  }
  
  .hero h1 {
      font-size: 2.2rem;
  }
  
  .hero p {
      font-size: 1.1rem;
  }

  .hero button {
    margin-top: 5px;
  }
  
  .stats {
      flex-direction: column;
      gap: 2rem;
  }
  
  .footer-social {
      margin-left: 1rem;
      margin-top: 2rem;
  }
  
  .footer-logo {
      margin: 2rem auto 0;
      text-align: center;
      max-width: 50%;
  }

  .initiatives-grid .grid-container {
    grid-template-columns: 1fr; /* One column on mobile */
  }
  
  .initiative {
    max-width: 100%; /* Ensure cards take full width */
    margin-bottom: 1.5rem; /* Add some spacing between cards */
  }
  
  .initiative img {
    height: auto; /* Allow image height to adjust proportionally */
    max-height: 220px; /* Optional: slightly larger images on mobile */
  }
  
  .initiative-content {
    padding: 1.2rem; /* Slightly reduce padding on mobile */
  }
}

.scroll-animation {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-animation.active {
  opacity: 1;
  transform: translateY(0);
}



/* INITATIVES PAGE */

/* Hero Section */
.initiatives-hero {
  text-align: center;
  padding: 5rem 2rem;
  background: linear-gradient(135deg, var(--color-4), var(--color-3), var(--color-2));
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.initiatives-hero::before {
  content: "";
  position: absolute;
  top: -100px;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  z-index: 0;
}

.initiatives-hero::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: 15%;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.initiatives-hero h1 {
  font-size: 3.2rem;
  color: var(--color-6);
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(17, 37, 64, 0.3);
}

.initiatives-hero p {
  font-size: 1.3rem;
  color: var(--color-6);
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 1px 3px rgba(17, 37, 64, 0.2);
}

/* Navigation Active State */
nav a.active {
  color: var(--color-3);
}

nav a.active::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Filters Section */
.filters-section {
  padding: 2.5rem 2rem;
  background-color: rgba(252, 216, 220, 0.1);
  position: relative;
}

.filters-section::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 155, 163, 0.2) 0%, transparent 70%);
  z-index: 0;
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
}

.filter-group {
  margin-bottom: 1.5rem;
}

.filter-group h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--color-1);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  background-color: var(--color-6);
  color: var(--color-1);
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
}

.filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  background-color: var(--color-4);
  color: var(--color-1);
}

.filter-btn.active {
  background-color: var(--color-3);
  color: var(--color-6);
  box-shadow: 0 4px 12px rgba(245, 155, 163, 0.3);
}

/* Initiatives Grid */
.initiatives-grid {
  padding: 3rem 2rem;
  position: relative;
}

.initiatives-grid::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: 8%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 88, 128, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.initiative-card {
  background-color: var(--color-6);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  animation: fadeInUp 0.8s ease-out backwards;
}

.initiative-card:nth-child(3n+1) { animation-delay: 0.1s; }
.initiative-card:nth-child(3n+2) { animation-delay: 0.3s; }
.initiative-card:nth-child(3n+3) { animation-delay: 0.5s; }

.initiative-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.card-image {
  height: 200px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.initiative-card:hover .card-image img {
  transform: scale(1.08);
}

.card-content {
  padding: 1.5rem;
}

.card-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: var(--color-1);
  transition: color 0.3s ease;
}

.initiative-card:hover h3 {
  color: var(--color-3);
}

.card-content p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-2);
  margin-bottom: 1.2rem;
  min-height: 4.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.tag {
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.category-tag {
  background-color: rgba(252, 216, 220, 0.7);
  color: var(--color-1);
}

.type-tag {
  background-color: rgba(58, 88, 128, 0.1);
  color: var(--color-2);
}

.learn-more {
  display: inline-block;
  color: var(--color-3);
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.initiative-card:hover .learn-more::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* Featured Initiatives Section */
.featured-initiatives {
  padding: 5rem 2rem;
  background-color: rgba(252, 216, 220, 0.1);
  position: relative;
}

.featured-initiatives::before {
  content: "";
  position: absolute;
  top: 10%;
  right: 5%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 155, 163, 0.2) 0%, transparent 70%);
  z-index: 0;
}

.featured-initiatives::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 5%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 88, 128, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.featured-initiatives h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  z-index: 1;
}

.featured-initiatives h2::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 3px;
  background-color: var(--color-3);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.featured-item {
  display: flex;
  max-width: 1100px;
  margin: 0 auto 4rem;
  background-color: var(--color-6);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 1;
}

.featured-item.reverse {
  flex-direction: row-reverse;
}

.featured-image {
  flex: 1;
  min-height: 400px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-item:hover .featured-image img {
  transform: scale(1.05);
}

.featured-content {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-label {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: var(--color-4);
  color: var(--color-1);
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  align-self: flex-start;
}

.featured-content h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-1);
}

.featured-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-2);
  margin-bottom: 1.5rem;
}

.featured-quote {
  font-style: italic;
  border-left: 3px solid var(--color-3);
  padding-left: 1rem;
  font-size: 1.1rem;
  margin: 1.5rem 0 0.5rem;
  color: var(--color-1);
}

.quote-author {
  display: block;
  font-weight: 600;
  text-align: right;
  color: var(--color-2);
  margin-bottom: 1.5rem;
}

.featured-link {
  display: inline-block;
  color: var(--color-6);
  background-color: var(--color-3);
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(245, 155, 163, 0.3);
  align-self: flex-start;
}

.featured-link:hover {
  background-color: var(--color-2);
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(58, 88, 128, 0.4);
}

/* CTA Section */
.initiatives-cta {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, rgba(252, 216, 220, 0.9) 0%, rgba(245, 155, 163, 0.2) 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.initiatives-cta::before {
  content: "";
  position: absolute;
  top: -80px;
  right: 10%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  z-index: 0;
}

.initiatives-cta::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: 5%;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, transparent 70%);
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
  margin-top: 30px;
}

.initiatives-cta h2 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-1);
  margin-bottom: 1.5rem;
}

.initiatives-cta p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  color: var(--color-2);
}

/* Scroll to Top Button */
.scroll-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--color-3);
  color: var(--color-6);
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background-color: var(--color-2);
}

/* Animations */
@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Media Queries */
@media (max-width: 1100px) {
  .grid-container {
      grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .featured-item, .featured-item.reverse {
      flex-direction: column;
  }
}

.podcast-feature h2 {
  font-size: 2.2rem;
  text-align: center;
}

.podcast-feature p {
  font-size: 1.2rem;
  text-align: center;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 25px;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.accent {
    color: var(--color-3);
  }

  