/* Hero Section */
.hero {
  position: relative;
  padding: 20px 0 130px;
  overflow: hidden;
}

.hero-blob {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 140%;
  background: #e0f7fa;
  border-radius: 44% 56% 70% 30% / 30% 45% 55% 70%;
  z-index: 0;
  opacity: 0.6;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: 52px;
  color: #1a202c;
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 20px;
  color: #4a5568;
  margin-bottom: 24px;
  max-width: 500px;
}

.hero-image-wrapper {
  position: relative;
  z-index: 1;
}

.hero-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(46, 196, 182, 0.15);
}

/* Stats Section */
.stats-section {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  margin-bottom: 80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  gap: 20px;
}

.stat-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stat-info h3 {
  font-size: 24px;
  color: #2d3748;
}

.stat-info p {
  font-size: 14px;
  color: #718096;
  margin: 0;
}

/* About Section */
.about-section {
  padding: 100px 0;
  background-color: #fffbf5;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-container {
  position: relative;
}

.main-about-img {
  width: 100%;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(255, 125, 5, 0.1);
}

.floating-card {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: white;
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 240px;
}

.experience-icon {
  background: var(--secondary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-tag {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 16px;
  display: block;
}

/* Programs */
.programs-section {
  padding: 100px 0;
  text-align: center;
}

.section-header {
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.program-card {
  background: white;
  padding: 40px 32px;
  border-radius: 32px;
  border: 1px solid #edf2f7;
  text-align: left;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
  overflow: hidden;
}

/* Programs decorative corner */
.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(
    circle at top right,
    var(--muted) 0%,
    transparent 70%
  );
  border-radius: 0 32px 0 0;
}

.program-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
}

.program-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.program-card p {
  color: #718096;
  margin-bottom: 24px;
}

.link-with-arrow {
  color: var(--primary);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Gallery */
.gallery-section {
  padding: 80px 0;
  background: #f0fdf4;
  position: relative;
  overflow: hidden;
}

/* Gallery blobs */
.blob-decoration {
  position: absolute;
  z-index: 0;
  opacity: 0.4;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.gallery-item {
  border-radius: 32px;
  overflow: hidden;
  height: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.gallery-item.large {
  grid-column: span 2;
  grid-row: span 2;
}

/* Why Choose Us */
.why-us-section {
  padding: 100px 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.check-icon {
  width: 24px;
  height: 24px;
  background: var(--secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  margin-top: 4px;
}

.illustration-container {
  background: #fff5f0;
  border-radius: 40px;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Events Styles from Index */
.events-section {
  padding: 100px 0 80px;
  background: #fffdf7;
}
.events-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  gap: 24px;
}
.events-header h2 {
  font-size: 32px;
}
.events-subtitle {
  color: #718096;
  font-size: 16px;
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.event-card {
  background: #ffffff;
  border-radius: 32px;
  padding: 24px 24px 28px;
  border: 1px solid #edf2f7;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.event-date-badge {
  align-self: flex-start;
  background: #fff3e6;
  border-radius: 999px;
  padding: 8px 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #c05621;
  font-weight: 700;
}
.event-date-day {
  font-size: 18px;
}
.event-title {
  font-size: 18px;
  font-weight: 700;
  color: #2d3748;
}
.event-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: #718096;
}
.event-image-wrapper {
  width: 100%;
  height: 180px;
  border-radius: 24px;
  overflow: hidden;
}
.event-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.events-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}
.events-footer-row .btn-outline {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
}

/* Utility Classes for Icons */
.icon-sm {
  font-size: 16px;
}

.icon-md {
  font-size: 20px;
}

.icon-lg {
  font-size: 24px;
}

.icon-xl {
  font-size: 28px;
}

.icon-2xl {
  font-size: 32px;
}

/* Button Variations */
.btn-hero {
  padding: 16px 40px;
  font-size: 18px;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn-footer-sm {
  padding: 10px 24px;
  font-size: 14px;
}

/* Stat Icon Backgrounds */
.stat-icon-primary {
  background: #ffedd5;
  color: var(--primary);
}

.stat-icon-secondary {
  background: #e0f7fa;
  color: var(--secondary);
}

.stat-icon-yellow {
  background: #fef3c7;
  color: #d97706;
}

.stat-icon-purple {
  background: #f3e8ff;
  color: #9333ea;
}

/* Icon Container */
.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Floating Card Text Styles */
.floating-card-title {
  font-weight: 800;
  font-size: 20px;
  color: #1a202c;
}

.floating-card-subtitle {
  font-size: 13px;
  color: #718096;
}

/* About Section Text Styles */
.about-heading {
  font-size: 40px;
  margin-bottom: 24px;
}

.about-description {
  color: #4a5568;
  font-size: 18px;
  margin-bottom: 32px;
}

.about-actions {
  display: flex;
  gap: 24px;
  align-items: center;
}

/* Programs Section */
.programs-description {
  color: #718096;
  font-size: 18px;
}

.program-icon-secondary {
  background: #e0f7fa;
  color: var(--secondary);
}

.program-icon-primary {
  background: #ffedd5;
  color: var(--primary);
}

.program-icon-purple {
  background: #f3e8ff;
  color: #9333ea;
}

/* Event Date Badge Variations */
.event-date-badge-secondary {
  background: #e0f7fa;
  color: #036672;
}

.event-date-badge-yellow {
  background: #fef3c7;
  color: #854d0e;
}

/* Gallery Blob Decorations */
.blob-top-left {
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: #ffedd5;
  border-radius: 50%;
  filter: blur(40px);
}

.blob-bottom-right {
  bottom: -50px;
  right: -50px;
  width: 400px;
  height: 400px;
  background: #e0f7fa;
  border-radius: 50%;
  filter: blur(50px);
}

/* Why Us Section */
.why-us-heading {
  font-size: 40px;
  margin-bottom: 24px;
}

.why-us-description {
  color: #4a5568;
  font-size: 18px;
  max-width: 500px;
}

.benefit-title {
  font-size: 18px;
  margin-bottom: 4px;
}

.benefit-description {
  color: #718096;
  margin: 0;
  font-size: 14px;
}

.btn-mt-32 {
  margin-top: 32px;
}

.why-us-image {
  width: 100%;
  border-radius: 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Footer Styles */
.footer-social-links {
  margin-top: 24px;
}

.footer-copyright {
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 32px;
  text-align: center;
  color: #718096;
  font-size: 14px;
}

/* Event Card Button */
.event-card .btn-primary {
  margin-top: auto;
  align-self: flex-start;
}

/* ============================================
   RESPONSIVE DESIGN - INDEX PAGE
   ============================================ */

/* Tablet and Below (1023px and below) */
@media (max-width: 1023px) {
  /* Hero Section */
  .hero {
    padding: 80px 0 100px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text p {
    font-size: 18px;
  }

  /* Stats Section */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-card {
    padding: 20px;
  }

  /* About Section */
  .about-section {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image-container {
    order: -1;
  }

  .floating-card {
    bottom: -20px;
    right: -20px;
    padding: 20px;
    max-width: 200px;
  }

  /* Programs Section */
  .programs-section {
    padding: 80px 0;
  }

  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .section-header h2 {
    font-size: 32px;
  }

  /* Events Section */
  .events-section {
    padding: 80px 0 60px;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .events-header {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Gallery Section */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 200px);
  }

  .gallery-item.large {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Why Us Section */
  .why-us-section {
    padding: 80px 0;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .illustration-container {
    order: -1;
  }
}

/* Mobile (767px and below) */
@media (max-width: 767px) {
  /* Hero Section */
  .hero {
    padding: 60px 0 80px;
  }

  .hero-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .hero-text p {
    font-size: 17px;
    margin-bottom: 32px;
  }

  .hero-blob {
    width: 80%;
    height: 120%;
  }

  /* Stats Section */
  .stats-section {
    margin-top: -40px;
    margin-bottom: 60px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .stat-info h3 {
    font-size: 20px;
  }

  /* About Section */
  .about-section {
    padding: 60px 0;
  }

  .about-grid {
    gap: 32px;
  }

  .about-heading {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .about-description {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .about-actions {
    flex-direction: column;
    gap: 16px;
  }

  .about-actions .btn {
    width: 100%;
  }

  .floating-card {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }

  /* Programs Section */
  .programs-section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .programs-description {
    font-size: 16px;
  }

  .programs-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .program-card {
    padding: 32px 24px;
  }

  .program-card h3 {
    font-size: 20px;
  }

  /* Events Section */
  .events-section {
    padding: 60px 0 40px;
  }

  .events-header h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .events-subtitle {
    font-size: 15px;
  }

  .events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .event-card {
    padding: 20px;
  }

  .event-image-wrapper {
    height: 200px;
  }

  .events-footer-row {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }

  .events-footer-row .btn-outline {
    width: 100%;
  }

  /* Gallery Section */
  .gallery-section {
    padding: 60px 0;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 220px);
    gap: 16px;
  }

  .gallery-item.large {
    grid-row: span 1;
  }

  /* Why Us Section */
  .why-us-section {
    padding: 60px 0;
  }

  .why-us-heading {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .why-us-description {
    font-size: 16px;
  }

  .benefit-list {
    margin-top: 24px;
    gap: 20px;
  }

  .benefit-title {
    font-size: 16px;
  }

  .benefit-description {
    font-size: 13px;
  }

  .illustration-container {
    padding: 32px;
  }
}

/* Small Mobile (639px and below) */
@media (max-width: 639px) {
  /* Hero Section */
  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .btn-hero {
    padding: 14px 32px;
    font-size: 16px;
    width: 100%;
  }

  /* About Section */
  .about-heading {
    font-size: 28px;
  }

  .main-about-img {
    border-radius: 24px;
  }

  /* Programs Section */
  .section-header h2 {
    font-size: 26px;
  }

  .program-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }

  /* Events Section */
  .event-date-badge {
    padding: 6px 12px;
    font-size: 13px;
  }

  .event-date-day {
    font-size: 16px;
  }

  .event-title {
    font-size: 16px;
  }

  /* Gallery Section */
  .gallery-grid {
    grid-template-rows: repeat(5, 200px);
  }

  /* Why Us Section */
  .why-us-heading {
    font-size: 28px;
  }

  .check-icon {
    width: 20px;
    height: 20px;
  }
}

/* 4K Screens (3840px+) */
@media (min-width: 3840px) {
  .hero-text h1 {
    font-size: 90px;
  }

  .hero-text p {
    font-size: 28px;
  }

  .stats-grid {
    gap: 32px;
  }

  .stat-card {
    padding: 32px;
  }

  .stat-icon {
    width: 80px;
    height: 80px;
  }

  .programs-grid {
    gap: 40px;
  }

  .program-card {
    padding: 48px 40px;
  }

  .events-grid {
    gap: 32px;
  }

  .gallery-grid {
    grid-template-rows: repeat(2, 320px);
    gap: 32px;
  }
}
