/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: linear-gradient(135deg, #87CEEB 0%, #7FC3E0 100%);
  min-height: 100vh;
  color: #333;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Whimsical floating elements */
.floating-element {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}

.star {
  width: 20px;
  height: 20px;
  background: #FFD700;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  animation: twinkle 3s ease-in-out infinite, float 6s ease-in-out infinite;
}

.heart {
  width: 16px;
  height: 16px;
  background: #FFB6C1;
  position: relative;
  transform: rotate(-45deg);
  animation: pulse 2s ease-in-out infinite, float 8s ease-in-out infinite;
}

.heart:before,
.heart:after {
  content: '';
  width: 16px;
  height: 16px;
  position: absolute;
  left: 8px;
  top: 0;
  background: #FFB6C1;
  border-radius: 8px;
  transform: rotate(-45deg);
  transform-origin: 0 8px;
}

.heart:after {
  left: 0;
  transform: rotate(45deg);
  transform-origin: 8px 8px;
}

.circle {
  width: 12px;
  height: 12px;
  background: rgba(91, 188, 214, 0.6);
  border-radius: 50%;
  animation: bounce 4s ease-in-out infinite, float 7s ease-in-out infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes pulse {
  0%, 100% { transform: rotate(-45deg) scale(1); }
  50% { transform: rotate(-45deg) scale(1.1); }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  33% { transform: translateY(-15px); }
  66% { transform: translateY(5px); }
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 15px 0;
  position: relative;
  z-index: 100;
  animation: slideDown 0.8s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease;
  animation: logoSpin 0.8s ease-out;
}

.logo:hover {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 0 20px rgba(91, 188, 214, 0.4);
}

@keyframes logoSpin {
  from {
    transform: rotate(-180deg) scale(0.5);
    opacity: 0;
  }
  to {
    transform: rotate(0deg) scale(1);
    opacity: 1;
  }
}

.site-title {
  font-size: 28px;
  font-weight: bold;
  color: #2E86AB;
  letter-spacing: -0.5px;
}

/* Navigation */
.nav {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  text-decoration: none;
  color: #2E86AB;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #1B5E7F;
  transform: translateY(-2px);
}

.nav-link:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background: linear-gradient(90deg, #5BBCD6, #FFB84D);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover:after {
  width: 100%;
}

/* Header Buttons */
.header-buttons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.header-btn {
  display: inline-block;
  padding: 10px 24px;
  border: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
}

.subscribe-btn {
  background: linear-gradient(45deg, #5BBCD6, #87CEEB);
  color: white;
  position: relative;
  overflow: hidden;
}

.subscribe-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.subscribe-btn:hover {
  background: linear-gradient(45deg, #4EACC5, #7FC3E0);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(91, 188, 214, 0.4);
}

.subscribe-btn:hover:before {
  left: 100%;
}

.donate-btn {
  background: linear-gradient(45deg, #FFB84D, #FFA726);
  color: white;
  position: relative;
  overflow: hidden;
}

.donate-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}

.donate-btn:hover {
  background: linear-gradient(45deg, #FFA726, #FF9800);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(255, 184, 77, 0.4);
}

.donate-btn:hover:before {
  left: 100%;
}

/* Main content */
.main {
  flex: 1;
  padding: 60px 0;
  position: relative;
  z-index: 2;
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
}

/* Hero content */
.hero-content {
  padding-left: 40px;
  animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
  from {
    transform: translateX(-50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.hero-title {
  font-size: 48px;
  font-weight: 300;
  color: white;
  line-height: 1.2;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.hero-description {
  font-size: 18px;
  color: #4A4A4A;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 450px;
}

.learn-more-btn {
  display: inline-block;
  background: #5BBCD6;
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(91, 188, 214, 0.3);
  text-decoration: none;
  text-align: center;
}

.learn-more-btn:hover {
  background: linear-gradient(45deg, #4EACC5, #5BBCD6);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(91, 188, 214, 0.5);
  animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
  0%, 100% { transform: translateY(-3px) scale(1.05) rotate(0deg); }
  25% { transform: translateY(-3px) scale(1.05) rotate(1deg); }
  75% { transform: translateY(-3px) scale(1.05) rotate(-1deg); }
}

/* Hero illustration */
.hero-illustration {
  padding-right: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
  from {
    transform: translateX(50px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Hero Slideshow Styling */
.hero-slideshow-container {
  position: relative;
  width: 500px;
  height: 375px;
  border-radius: 20px;
  overflow: hidden;
  animation: gentle-bounce 6s ease-in-out infinite;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.slideshow-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.slide {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  transition: opacity 1s ease-in-out !important;
  z-index: 1;
}

.slide.active {
  opacity: 1 !important;
  z-index: 2;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-slideshow-container:hover .hero-photo {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  padding: 20px;
  color: white;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.hero-slideshow-container:hover .photo-overlay {
  transform: translateY(0);
}

/* Slideshow Dots */
.slideshow-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

.photo-caption {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

/* Kids Running Photo in About Section */
.kids-running-container {
  margin-top: 30px;
  text-align: center;
  animation: slideInLeft 1s ease-out 0.6s both;
}

.kids-running-photo {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  animation: float 4s ease-in-out infinite;
}

.kids-running-photo:hover {
  transform: scale(1.05) rotate(1deg);
  box-shadow: 0 15px 40px rgba(91, 188, 214, 0.2);
}

.kids-running-container .photo-caption {
  margin-top: 15px;
  color: #6C757D;
  font-style: italic;
  font-size: 14px;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

/* Corporate Sponsors Section */
.sponsors-section {
  background: white;
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sponsors-section:before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(91, 188, 214, 0.05) 0%, transparent 50%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.sponsors-title {
  font-size: 32px;
  color: #2E86AB;
  margin-bottom: 40px;
  font-weight: bold;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  align-items: center;
}

.sponsor-placeholder {
  padding: 20px;
  background: linear-gradient(135deg, #F8F9FA, #FFF);
  border-radius: 12px;
  color: #6C757D;
  font-weight: 600;
  border: 2px dashed #DEE2E6;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.sponsor-placeholder:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(91, 188, 214, 0.1), transparent);
  transition: left 0.5s;
}

.sponsor-placeholder:hover {
  border-color: #5BBCD6;
  color: #2E86AB;
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(91, 188, 214, 0.2);
  background: linear-gradient(135deg, #FFF, #F0F8FF);
}

.sponsor-placeholder:hover:before {
  left: 100%;
}

/* Partner Logos Styling */
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: white;
  border-radius: 12px;
  border: 2px solid #E9ECEF;
  transition: all 0.3s ease;
  min-height: 120px;
}

.sponsor-logo img {
  max-width: 100%;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.3s ease;
}

.sponsor-logo:hover {
  border-color: #5BBCD6;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(91, 188, 214, 0.15);
}

.sponsor-logo:hover img {
  filter: grayscale(0%) opacity(1);
}

/* How Can You Help Section */
.help-section {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.help-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(91, 188, 214, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 184, 77, 0.1) 0%, transparent 50%);
  animation: shimmer 8s ease-in-out infinite alternate;
}

@keyframes shimmer {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

.help-title {
  font-size: 36px;
  color: white;
  margin-bottom: 40px;
  font-weight: bold;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.donorbox-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.help-card {
  background: white;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.help-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 30px 40px;
  text-align: center;
}

.help-card-image {
  width: 100%;
  height: 450px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.help-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-3px); }
}

.help-description {
  font-size: 18px;
  color: #4A4A4A;
  line-height: 1.7;
  margin-bottom: 30px;
  padding: 0;
}

.support-btn {
  display: inline-block;
  background: #5BBCD6;
  color: white;
  border: none;
  padding: 15px 35px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  margin: 0;
}

.support-btn:hover {
  background: linear-gradient(45deg, #4EACC5, #5BBCD6);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(91, 188, 214, 0.4);
  animation: pulse-glow 0.6s ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 8px 25px rgba(91, 188, 214, 0.4); }
  50% { box-shadow: 0 8px 35px rgba(91, 188, 214, 0.6); }
}

/* Content sections */
.content-section {
  background: rgba(255, 255, 255, 0.95);
  margin: 0;
  padding: 60px 0;
  backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: start;
  text-align: left;
  max-width: 1000px;
  margin: 0 auto;
}

.content-section h2, .about-text h2 {
  font-size: 36px;
  color: #2E86AB;
  margin-bottom: 20px;
  font-weight: bold;
}

.content-section p, .about-text p, .about-mission p {
  font-size: 18px;
  color: #4A4A4A;
  line-height: 1.7;
}

.about-mission h3 {
  font-size: 24px;
  color: #2E86AB;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Donation Section */
.donate-section {
  background: linear-gradient(135deg, white 0%, #F8F9FA 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.donate-section:before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(91, 188, 214, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.donate-section:after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(255, 184, 77, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  bottom: -75px;
  left: -75px;
  animation: float 6s ease-in-out infinite reverse;
}

.donate-section h2 {
  font-size: 36px;
  color: #2E86AB;
  margin-bottom: 20px;
  font-weight: bold;
}

.donate-section p {
  font-size: 18px;
  color: #4A4A4A;
  margin-bottom: 40px;
}

/* Get Involved Section */
.volunteer-section {
  background: #F8F9FA;
  padding: 80px 0;
}

.volunteer-section h2 {
  font-size: 36px;
  color: #2E86AB;
  margin-bottom: 50px;
  text-align: center;
  font-weight: bold;
}

.volunteer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.volunteer-option {
  background: linear-gradient(135deg, white 0%, #F8F9FA 100%);
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.6s ease-out;
}

.volunteer-option:nth-child(1) {
  animation-delay: 0.2s;
}

.volunteer-option:nth-child(2) {
  animation-delay: 0.4s;
}

.volunteer-option:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(91, 188, 214, 0.05) 0%, rgba(255, 184, 77, 0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.volunteer-option:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.volunteer-option:hover:before {
  opacity: 1;
}

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

.volunteer-option h3 {
  font-size: 24px;
  color: #2E86AB;
  margin-bottom: 15px;
  font-weight: 600;
}

.volunteer-option p {
  font-size: 16px;
  color: #4A4A4A;
  line-height: 1.6;
  margin-bottom: 25px;
}

.volunteer-btn, .request-btn {
  display: inline-block;
  background: #5BBCD6;
  color: white;
  border: none;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
}

.volunteer-btn:hover, .request-btn:hover {
  background: linear-gradient(45deg, #4EACC5, #5BBCD6);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 20px rgba(91, 188, 214, 0.3);
  animation: jiggle 0.5s ease-in-out;
}

@keyframes jiggle {
  0%, 100% { transform: translateY(-2px) scale(1.05) rotate(0deg); }
  25% { transform: translateY(-2px) scale(1.05) rotate(1deg); }
  75% { transform: translateY(-2px) scale(1.05) rotate(-1deg); }
}

.request-btn {
  background: #FFB84D;
}

.request-btn:hover {
  background: linear-gradient(45deg, #FFA726, #FFB84D);
  box-shadow: 0 6px 20px rgba(255, 184, 77, 0.3);
}

/* Footer */
.footer {
  background: #2C3E50;
  color: white;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.footer-section h4 {
  color: #5BBCD6;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section li {
  margin-bottom: 8px;
}

.footer-section a {
  color: #BDC3C7;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  position: relative;
}

.footer-section a:before {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -2px;
  left: 0;
  background: #5BBCD6;
  transition: width 0.3s ease;
}

.footer-section a:hover {
  color: #5BBCD6;
  transform: translateX(3px);
}

.footer-section a:hover:before {
  width: 100%;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.social-link {
  color: #BDC3C7;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #5BBCD6;
}

.contact-info p {
  color: #BDC3C7;
  font-size: 14px;
  margin: 5px 0;
}

.footer-bottom {
  border-top: 1px solid #34495E;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #95A5A6;
  font-size: 14px;
  margin: 0;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
}

.modal-content {
  background: white;
  padding: 40px;
  border-radius: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 32px;
  font-weight: bold;
  color: #95A5A6;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.close-modal:hover {
  color: #2C3E50;
}

.modal-title {
  color: #2C3E50;
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: bold;
}

.modal-subtitle {
  color: #7F8C8D;
  font-size: 16px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: #2C3E50;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #E0E6ED;
  border-radius: 10px;
  font-size: 16px;
  font-family: inherit;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #5BBCD6;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.modal-submit-btn {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, #5BBCD6, #4A9DB3);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.modal-submit-btn:hover {
  background: linear-gradient(135deg, #4A9DB3, #3D8AA0);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(91, 188, 214, 0.3);
}

.modal-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

#formMessage {
  margin-top: 15px;
  text-align: center;
}

/* Responsive design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .nav {
    gap: 20px;
  }
  
  .header-buttons {
    gap: 10px;
  }
  
  .header-btn {
    padding: 8px 20px;
    font-size: 12px;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    padding-left: 0;
  }
  
  .hero-illustration {
    padding-right: 0;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-slideshow-container {
    width: 350px;
    height: 260px;
  }
  
  .office-gallery {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .kids-running-photo {
    max-width: 280px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .help-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .volunteer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .nav {
    flex-direction: column;
    gap: 15px;
  }
  
  .header-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .header-btn {
    width: 100%;
    padding: 10px;
  }
  
  .illustration-container {
    width: 250px;
    height: 180px;
  }
  
  .sponsors-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }
  
  .social-links {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
}

/* Iframe styling for donation section */
iframe {
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Simple centered donation container */
.donation-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

/* Office Section Styling */
.office-section {
  background: linear-gradient(135deg, #F8F9FA 0%, white 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.office-section:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(91, 188, 214, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 184, 77, 0.05) 0%, transparent 50%);
  animation: office-shimmer 15s ease-in-out infinite alternate;
}

@keyframes office-shimmer {
  0% { opacity: 0.3; }
  100% { opacity: 0.8; }
}

.office-section h2 {
  font-size: 36px;
  color: #2E86AB;
  margin-bottom: 20px;
  font-weight: bold;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

.office-section .container > p {
  font-size: 18px;
  color: #6C757D;
  margin-bottom: 80px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.office-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.office-photo-container {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  animation: slideUp 0.8s ease-out;
}

.office-photo-container:nth-child(1) {
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.office-photo-container:nth-child(2) {
  animation-delay: 0.6s;
  animation-fill-mode: both;
}

.office-photo-container:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.office-photo {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.office-photo-container:hover .office-photo {
  transform: scale(1.1);
}

.office-caption {
  padding: 25px;
  text-align: left;
}

.office-caption h4 {
  font-size: 20px;
  color: #2E86AB;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.office-caption p {
  color: #6C757D;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

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

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