/* Content Design Enhancements for Jothi Charity Trust */

/* Enhanced Content Cards */
.content-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Quote Styling */
.quote-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  position: relative;
  margin: 2rem 0;
}

.quote-box::before {
  content: '"';
  font-size: 4rem;
  position: absolute;
  top: -10px;
  left: 20px;
  opacity: 0.3;
  font-family: 'Merriweather', serif;
}

/* Mission Vision Cards */
.mission-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

/* .mission-card:hover {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.05);
} */

.mission-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* Enhanced Typography */
.content-title {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
}

.content-subtitle {
  font-family: 'Merriweather', serif;
  font-weight: 400;
  color: #666;
  font-style: italic;
  margin-bottom: 1rem;
}

/* Impact Numbers */
.impact-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}

.impact-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #666;
  margin-top: 0.5rem;
}

/* Timeline Design */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin: 2rem 0;
  padding: 1.5rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  width: 45%;
}

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

.timeline-item:nth-child(even) {
  margin-left: 55%;
}

.timeline-item::before {
  content: '';
  position: absolute;
  top: 50%;
  width: 15px;
  height: 15px;
  background: var(--primary-color);
  border-radius: 50%;
  transform: translateY(-50%);
}

.timeline-item:nth-child(odd)::before {
  right: -23px;
}

.timeline-item:nth-child(even)::before {
  left: -23px;
}

/* Feature Highlights */
.feature-highlight {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 15px;
  margin: 1rem 0;
  position: relative;
  overflow: hidden;
}

.feature-highlight::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.feature-highlight:hover::after {
  transform: scale(1.5);
}

/* Content Sections */
.content-section {
  padding: 4rem 0;
  position: relative;
}

.content-section:nth-child(even) {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Decorative Elements */
.decorative-line {
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
  margin: 1rem auto;
}

.decorative-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  display: inline-block;
  padding: 1rem;
  background: rgba(44, 90, 160, 0.1);
  border-radius: 50%;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    width: calc(100% - 40px);
    margin-left: 40px !important;
  }
  
  .timeline-item::before {
    left: -28px !important;
  }
  
  .content-card {
    padding: 1.5rem;
  }
  
  .impact-number {
    font-size: 2rem;
  }
}