/* ===========================
   Resource Library - Hero
   =========================== */
.resource-hero {
  padding: 200px 0 100px;
  background: linear-gradient(135deg, #100329 0%, #0F0039 50%, #1a0a3e 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.resource-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(130, 94, 231, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.resource-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.resource-hero__title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #ffffff;
}

.resource-hero__subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ===========================
   Resource Cards Grid
   =========================== */
.resources {
  padding: 80px 0 100px;
  background: linear-gradient(180deg, #0F0039 0%, #1C0944 100%);
}

.resources__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.resource-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.resource-card__image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

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

.resource-card:hover .resource-card__image img {
  transform: scale(1.05);
}

.resource-card__content {
  padding: 24px;
}

.resource-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 8px;
  line-height: 1.3;
}

.resource-card__text {
  font-size: 0.95rem;
  color: #555555;
  line-height: 1.6;
  margin-bottom: 16px;
}

.resource-card__link {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #53389E;
  transition: color 0.3s ease;
}

.resource-card__link:hover {
  color: #6941C6;
}

/* ===========================
   Resource CTA Section
   =========================== */
.resource-cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #0F0039 0%, #100329 50%, #1a0a3e 100%);
  position: relative;
}

.resource-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(130, 94, 231, 0.08) 0%, transparent 70%);
}

.resource-cta .container {
  max-width: 1400px;
}

.resource-cta__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.resource-cta__content {
  padding-top: 40px;
}

.resource-cta__content .section-title {
  margin-bottom: 24px;
}

.resource-cta__text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
}

.resource-cta__booking {
  min-height: 680px;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(130, 94, 231, 0.15);
}

.resource-cta__booking .meetings-iframe-container {
  min-height: 680px;
  width: 100%;
}

.resource-cta__booking iframe {
  border-radius: 16px;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 992px) {
  .resource-hero__title {
    font-size: 2.75rem;
  }

  .resources__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .resource-cta__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .resource-cta__content {
    padding-top: 0;
  }

  .resource-cta__text {
    margin-left: auto;
    margin-right: auto;
    max-width: 640px;
  }
}

@media (max-width: 768px) {
  .resource-hero {
    padding: 140px 0 60px;
  }

  .resource-hero__title {
    font-size: 2.25rem;
  }

  .resource-hero__subtitle {
    font-size: 1.1rem;
  }

  .resources {
    padding: 48px 0 64px;
  }

  .resources__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  .resource-card__image {
    height: 200px;
  }

  .resource-cta {
    padding: 64px 0;
  }
}

@media (max-width: 480px) {
  .resource-hero__title {
    font-size: 1.85rem;
  }

  .resource-card__content {
    padding: 20px;
  }
}
