/* Maggies Page Styles */

/* Hero */

.maggies-hero {
  position: relative;
  height: 45vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.85) 0%, rgba(0, 102, 179, 0.75) 100%);
  z-index: 2;
}

.maggies-hero .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  max-width: 800px;
  color: white;
  text-align: center;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: rgba(255, 193, 7, 0.2);
  border: 2px solid var(--color-secondary);
  border-radius: 50px;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--color-secondary);
}

.maggies-hero h1 {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.maggies-hero p {
  font-family: var(--font-main);
  font-size: 20px;
  margin: 0;
  opacity: 0.95;
  line-height: 1.6;
}

/* Introduction */

.partnership-intro {
  background: white;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro-content h2 {
  margin-bottom: 24px;
}

.intro-text {
  font-size: 18px;
  font-weight: 500;
  color: #1a1a1a;
  line-height: 1.8;
  margin-bottom: 20px;
}

.intro-content p {
  font-family: var(--font-main);
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

.impact-stats {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stat-box {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.05), rgba(0, 119, 204, 0.02));
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-box:hover {
  transform: translateX(8px);
  box-shadow: 0 4px 16px rgba(0, 119, 204, 0.1);
}

.stat-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--color-primary), #005599);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-box h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: #1a1a1a;
  margin: 0 0 8px 0;
}

.stat-box p {
  font-size: 15px;
  color: #666;
  margin: 0;
}

.intro-video {
  position: sticky;
  top: 120px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-caption {
  margin-top: 16px;
  text-align: center;
}

.video-caption p {
  font-family: var(--font-main);
  font-size: 14px;
  color: #666;
  margin: 0;
  font-style: italic;
}

/* Timeline */

.maggies-story {
  background: #f8f9fa;
}

.story-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}

.story-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.story-timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
}

.timeline-item {
  position: relative;
  padding-left: 120px;
  margin-bottom: 80px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-marker {
  position: absolute;
  left: 23px;
  top: 8px;
  width: 36px;
  height: 36px;
  background: var(--color-primary);
  border: 4px solid #f8f9fa;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 119, 204, 0.2);
}

.timeline-year {
  display: inline-block;
  padding: 8px 20px;
  background: var(--color-secondary);
  color: #1a1a1a;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.timeline-content h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: #1a1a1a;
  margin: 0 0 20px 0;
}

.timeline-text p {
  font-family: var(--font-main);
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 16px;
}

.timeline-text p:last-child {
  margin-bottom: 0;
}

/* Who maggie */

.who-was-maggie {
  background: white;
}

.maggie-profile {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.profile-image {
  position: sticky;
  top: 120px;
}

.image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
  margin-bottom: 32px;
}

.image-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.profile-quote {
  position: relative;
  padding: 32px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.05), rgba(0, 119, 204, 0.02));
  border-left: 4px solid var(--color-primary);
  border-radius: 8px;
}

.quote-icon {
  position: absolute;
  top: -20px;
  left: 20px;
  color: var(--color-primary);
  opacity: 0.2;
}

.profile-quote blockquote {
  margin: 0;
  padding: 0;
  border: none;
}

.profile-quote p {
  font-family: var(--font-heading);
  font-size: 20px;
  font-style: italic;
  color: #1a1a1a;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.profile-quote cite {
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
  font-style: normal;
}

.profile-content h2 {
  margin-bottom: 32px;
}

.profile-description p {
  font-family: var(--font-main);
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 40px;
}

.maggie-qualities {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quality-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.quality-item:hover {
  border-color: var(--color-primary);
  transform: translateX(8px);
  box-shadow: 0 4px 16px rgba(0, 119, 204, 0.1);
}

.quality-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.1), rgba(0, 119, 204, 0.05));
  color: var(--color-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quality-item h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #1a1a1a;
  margin: 0 0 6px 0;
}

.quality-item p {
  font-size: 14px;
  color: #666;
  margin: 0;
}


/* CTA */

.maggies-cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-background-maggies {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/maggies-cta-bg.jpg') center/cover no-repeat;
  z-index: 1;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.92) 0%, rgba(0, 102, 179, 0.88) 100%);
  z-index: 2;
}

.maggies-cta .container {
  position: relative;
  z-index: 3;
}

.maggies-cta .cta-content {
  text-align: center;
  color: white;
  max-width: 800px;
  margin: 0 auto;
}

.cta-icon {
  width: 96px;
  height: 96px;
  background: rgba(255, 193, 7, 0.2);
  border: 3px solid var(--color-secondary);
  color: var(--color-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.maggies-cta h2 {
  font-family: var(--font-heading);
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 20px 0;
  line-height: 1.2;
}

.maggies-cta p {
  font-family: var(--font-main);
  font-size: 18px;
  margin: 0 0 40px 0;
  opacity: 0.95;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

/* Responsive */

@media (max-width: 1024px) {
  .maggies-hero {
    min-height: 500px;
  }

  .maggies-hero h1 {
    font-size: 42px;
  }

  .intro-grid,
  .maggie-profile {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .intro-video,
  .profile-image {
    position: static;
  }

  .idea-grid {
    grid-template-columns: 1fr;
  }

  .impact-grid {
    grid-template-columns: 1fr;
  }

  .story-timeline::before {
    left: 20px;
  }

  .timeline-marker {
    left: 8px;
  }

  .timeline-item {
    padding-left: 80px;
  }
}

@media (max-width: 768px) {
  .maggies-hero {
    height: 60vh;
    min-height: 450px;
  }

  .maggies-hero h1 {
    font-size: 32px;
  }

  .maggies-hero p {
    font-size: 16px;
  }

  .timeline-content h3 {
    font-size: 22px;
  }

  .idea-card {
    padding: 32px 24px;
  }

  .impact-item {
    padding: 32px 24px;
  }

  .maggies-cta h2 {
    font-size: 36px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .maggies-hero h1 {
    font-size: 28px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 8px 16px;
  }

  .timeline-item {
    padding-left: 60px;
  }

  .story-timeline::before {
    left: 12px;
  }

  .timeline-marker {
    left: 0;
    width: 28px;
    height: 28px;
  }

  .stat-box,
  .quality-item {
    flex-direction: column;
    text-align: center;
  }

  .stat-icon,
  .quality-icon {
    margin: 0 auto;
  }
}
