/* =============================
   Home Page (index.html)
   ============================= */

/* HERO */

/* Text-only hero (no image column) */
.hero{
  width: 100%;
  height: auto;
   margin-bottom: 4rem;
}

.hero-inner {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-inline: var(--space-sm);
}

.hero-content {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.hero-title {
  text-align: center;
  font-size: 5rem;
  gap: 0.4rem;
  margin-bottom: var(--space-xs);
}

.hero-badge {
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-primary);
  padding-inline: 0.55rem;
  color: var(--color-primary);
}

.hero-desc {
  text-align: center;
  margin-bottom: var(--space-md);
  max-width: 700px;
  font-size: 1.5rem;
}

.store-btnn{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

/* Store badges (App Store & Google Play) */
/* This controls the size of both badges everywhere they use class="store-icon" */
.store-icon{
  height: 56px; /* increase/decrease this value to adjust badge size */
  width: auto;
}


/* We no longer use the hero media, but keep it hidden so it doesn't break layout
   if the markup is still present for any reason. */
.hero-media {
  display: none;
}


/* GLIMPSE SECTION */
.section {
  width: 100%;
  height: auto;
}

.section-soft {
  background: var(--color-bg-soft);
}

.section-highlight {
  background: var(--color-bg-soft-alt);
}

.section-highlight-alt {
  background: #faf5f0;
}

.glimpse {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  justify-content: center;
  align-items: center;
}

.glimpse-text {
  text-align: left;
}

.glimpse-text p {
  max-width: 32rem;
  margin-inline: auto 0;
}

.glimpse-media {
  display: flex;
  justify-content: center;
}

.glimpse-media img {
  width: 320px;
  max-width: 100%;
}

/* WHY IGBOLEARN */
.card-grid.three-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.info-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-md);
  box-shadow: var(--shadow-subtle);
  transition: box-shadow 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.info-card:hover {
  box-shadow: var(--shadow-soft);
  background: #fff7f4;
  transform: translateY(-2px);
}

.info-card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

/* WORD OF THE DAY */
.word {
  max-width: 40rem;
}

.word-card {
  margin-top: var(--space-md);
  background: var(--color-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  padding: var(--space-md);
  box-shadow: var(--shadow-subtle);
}

.word-card-date {
  text-align: right;
  font-size: 0.8rem;
  color: var(--color-text-soft);
}

.word-card-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.word-card-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-soft);
}

.word-card-main {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.word-card-meaning {
  font-size: 0.95rem;
}

.icon-button {
  border-radius: 50%;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border-subtle);
  background: #ffffff;
  cursor: pointer;
}

/* FEATURE SPLITS (SEARCH + NEW WAY) */
.feature-split {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}

.feature-text{
  max-width: 600px;
}

.feature-media{
  width: 400px;
}

.feature-media img {
  width: 400px;
}

/* GPT SECTION */
.gpt {
  max-width: 52rem;
}

.gpt-card {
  margin-top: var(--space-md);
  background: #2f2f2f;
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  text-align: center;
}

.gpt-icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-sm);
}

.gpt-card h3 {
  color: #ffffff;
}

.gpt-features .mini-feature {
  background: #ffffff;
  color: var(--color-text-main);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  text-align: left;
}

.mini-feature i {
  font-size: 1.5rem;
  color: #ffcc00;
  margin-bottom: var(--space-xs);
}

/* TESTIMONIALS */
.testimonial {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.testimonial-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.testimonial blockquote {
  padding: var(--space-sm) var(--space-md) 0;
  font-style: italic;
  color: var(--color-text-main);
}

.testimonial figcaption {
  padding: 0 var(--space-md) var(--space-md);
  font-weight: 600;
  color: var(--color-text-main);
}

.section-highlight-alt {
  width: 100%;
  height: auto;
  background: #faf5f0;
  padding: 6rem 0;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .card-grid.three-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .hero {
    padding-block: var(--space-xl);
  }

  .hero--text-only .hero-inner {
    text-align: left;
  }

  .hero-title {
    text-align: center;
    font-size: 2.5rem;
    gap: 1rem;
  }

  .hero-desc {
    text-align: center;
    margin-bottom: var(--space-md);
    width: 100%;
    font-size: 1.25rem;
  }

  .section {
    width: 100%;
    height: auto;
    padding: 2 1rem;
  }

  .section-soft {
    background: var(--color-bg-soft);
  }

  .glimpse {
    flex-direction: column;
    text-align: center;
  }

  .glimpse-text {
    text-align: center;
  }

  .glimpse-text p {
    font-size: 1.25rem;
  }

  .card-grid.three-cols,
  .card-grid.four-cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .gpt-card {
    padding-inline: var(--space-sm);
  }

  .testimonial-image {
    height: 170px;
  }

  /* NEW WAY + SEARCH feature split: stack vertically on mobile */
  .feature-split {
    flex-direction: column;
    text-align: center;
  }

  .feature-media,
  .feature-text {
    width: 100%;
    max-width: 100%;
  }

  .feature-media img {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
}
