/* Modern Homepage Styles */
:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --card-shadow: 0 10px 40px rgba(0,0,0,0.1);
  --hover-transform: translateY(-5px);
}

/* Hero Section - Modern Glass Effect */
.hero-modern {
  min-height: 85vh;
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 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='%23ffffff' 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");
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-modern h1 {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #f0f0f0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.8s ease-out;
}

.hero-modern .lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 2rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-modern .btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-modern .btn-primary {
  background: white;
  color: #667eea;
  border: none;
}

.hero-modern .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.hero-modern .btn-outline-light {
  border: 2px solid rgba(255,255,255,0.8);
  color: white;
}

.hero-modern .btn-outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
}

/* Floating Animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

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

/* Events Section - Modern Cards */
.events-modern {
  padding: 80px 0;
  background: #f8f9fa;
}

.event-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.event-card:hover {
  transform: var(--hover-transform);
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

.event-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.event-card-body {
  padding: 30px;
}

.event-card h4 {
  color: #333;
  font-weight: 700;
  margin-bottom: 15px;
}

.event-card p {
  color: #666;
  line-height: 1.6;
}

/* How It Works - Timeline Style */
.how-it-works-modern {
  padding: 80px 0;
  background: white;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #667eea, transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-icon {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
  z-index: 2;
}

.timeline-content {
  width: 45%;
  padding: 20px 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 35px rgba(0,0,0,0.12);
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
  text-align: right;
}

/* Features - Gradient Cards */
.features-modern {
  padding: 80px 0;
  background: #f8f9fa;
}

.feature-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: var(--hover-transform);
  box-shadow: 0 15px 45px rgba(0,0,0,0.1);
}

.feature-icon-modern {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 36px;
  color: white;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-modern {
  transform: rotate(5deg) scale(1.1);
}

/* Charity Section - Split Design */
.charity-modern {
  padding: 80px 0;
  background: white;
}

.charity-content {
  display: flex;
  align-items: center;
  gap: 60px;
}

.charity-image {
  flex: 1;
  position: relative;
}

.charity-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
}

.charity-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: 20px;
  bottom: 20px;
  background: var(--primary-gradient);
  border-radius: 20px;
  z-index: -1;
  opacity: 0.2;
}

.charity-text {
  flex: 1;
}

.charity-text h2 {
  color: #333;
  font-weight: 700;
  margin-bottom: 25px;
}

.charity-text p {
  color: #666;
  line-height: 1.8;
  font-size: 1.1rem;
}

/* CTA Section - Gradient Background */
.cta-modern {
  background: var(--primary-gradient);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cta-modern::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: float 6s ease-in-out infinite;
}

.cta-modern h2 {
  color: white;
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
}

.cta-modern p {
  color: rgba(255,255,255,0.9);
  font-size: 1.2rem;
  margin-bottom: 30px;
  position: relative;
}

.cta-modern .btn {
  background: white;
  color: #667eea;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.3s ease;
  position: relative;
}

.cta-modern .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* App Download - Modern Style */
.app-download-modern {
  padding: 80px 0;
  background: #f8f9fa;
}

.app-download-modern h2 {
  color: #333;
  font-weight: 700;
  margin-bottom: 15px;
}

.app-download-modern p {
  color: #666;
  margin-bottom: 40px;
}

.app-badges-modern {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.app-badges-modern a {
  transition: all 0.3s ease;
}

.app-badges-modern a:hover {
  transform: translateY(-5px);
  filter: brightness(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-modern h1 {
    font-size: 2.5rem;
  }
  
  .timeline::before {
    left: 30px;
  }
  
  .timeline-icon {
    left: 30px;
  }
  
  .timeline-content {
    width: calc(100% - 90px);
    margin-left: 90px !important;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    text-align: left;
  }
  
  .charity-content {
    flex-direction: column;
  }
}