/* Outreach Section Styles */
.outreach-section {
  max-width: 1800px;
  margin: var(--header-height) auto 0;
  padding: 4rem 2rem;
  text-align: center;
  background: linear-gradient(
    to bottom,
    rgba(11, 12, 16, 0.95),
    rgba(31, 31, 31, 0.98)
  );
  color: white;
  position: relative;
  overflow: visible;
  min-height: calc(100vh - var(--header-height));
}

/* Ambient gradient background */
.outreach-section::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 30% 30%,
      rgba(36, 152, 220, 0.03) 0%,
      transparent 80%
    ),
    radial-gradient(circle at 70% 70%, rgba(255, 131, 0, 0.03) 0%, transparent 80%);
  pointer-events: none;
  z-index: 0;
  animation: gradientMove 20s ease-in-out infinite alternate;
}

/* Add ambient gradient background */
.outreach-section::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 30%, rgba(36, 152, 220, 0.03) 0%, transparent 80%),
        radial-gradient(circle at 70% 70%, rgba(255, 131, 0, 0.03) 0%, transparent 80%);
    pointer-events: none;
    z-index: 0;
    animation: gradientMove 20s ease-in-out infinite alternate;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Nasalization', sans-serif;
    background: linear-gradient(90deg, #2498DC, #FF8300);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(36, 152, 220, 0.3);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 3px;
    background: linear-gradient(90deg, #2498DC, #FF8300);
    box-shadow: 0 0 10px rgba(36, 152, 220, 0.5);
}

.section-description {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}
/* Outreach Grid */
.outreach-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
  padding: 2rem 0;
}

/* Outreach Cards */
.outreach-card {
  background: linear-gradient(
    135deg,
    rgba(36, 152, 220, 0.05) 0%,
    rgba(26, 26, 26, 0.9) 50%,
    rgba(255, 131, 0, 0.05) 100%
  );
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 131, 0, 0.1), 0 0 15px rgba(36, 152, 220, 0.1);
  transition: all 0.3s ease;
  border: 1px solid;
  border-image: linear-gradient(
      135deg,
      rgba(36, 152, 220, 0.3),
      rgba(255, 131, 0, 0.3)
    )
    1;
  backdrop-filter: blur(5px);
  opacity: 1;
  transform: translateY(0);
}

.outreach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(255, 131, 0, 0.2), 0 0 25px rgba(36, 152, 220, 0.2);
}

.outreach-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.outreach-card:hover .outreach-image img {
  transform: scale(1.05);
}

.outreach-content {
  padding: 1.5rem;
  text-align: left;
}

.outreach-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2498dc;
  font-family: "Nasalization", sans-serif;
}

.outreach-content p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 1rem;
}

/* Responsive Outreach Grid */
@media (max-width: 1200px) {
  .outreach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .outreach-grid {
    grid-template-columns: 1fr;
  }

  .section-title,
  .page-header h1 {
    font-size: 2.5rem;
  }

  .outreach-content h2 {
    font-size: 1.3rem;
  }
}

/* Calendar Section Styles */
.calendar-section {
  margin-top: 0;
  padding: 2rem 0;
  position: relative;
  z-index: 1;
}

.calendar-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-family: "Nasalization", sans-serif;
  background: linear-gradient(90deg, #2498dc, #ff8300);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(36, 152, 220, 0.3);
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
}

.calendar-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, #2498dc, #ff8300);
  box-shadow: 0 0 10px rgba(36, 152, 220, 0.5);
}

.calendar-description {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

/* Dynamic Events Grid */
#calendar-events {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
}

/* Dynamic Event Cards */
.event-card {
  background: linear-gradient(
    135deg,
    rgba(36, 152, 220, 0.05) 0%,
    rgba(26, 26, 26, 0.9) 50%,
    rgba(255, 131, 0, 0.05) 100%
  );
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(36, 152, 220, 0.2);
  padding: 1.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card h3 {
  margin-top: 0;
  color: #2498dc;
  font-family: "Nasalization", sans-serif;
  margin-bottom: 0.5rem;
}

.event-card p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.85);
}

/* Add to Calendar Button */
.add-calendar-btn {
  align-self: center;
  background: #2498dc;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.add-calendar-btn:hover {
  background: #1b7ec6;
}


/* Responsive Calendar Events Grid */
@media (max-width: 900px) {
  #calendar-events {
    grid-template-columns: 1fr;
  }
}

.calendar-sync {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.calendar-sync-button {
  background-color: #2498dc;
  color: #fff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.calendar-sync-button:hover {
  background-color: #1c7db6;
  transform: scale(1.05);
}

.calendar-load-controls {
  text-align: center;
  margin-top: 2rem;
}

#load-more-btn {
  display: block;
  margin: 2rem auto 0;
  max-width: fit-content;
}
