/* Section */
.learning-support {
  background-color:white;
  padding: 60px 20px;
  color:black;
  font-family: 'Poppins', sans-serif;
}

.learning-support .container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.learning-support h1 {
  color:black;
  font-size: 2.5rem;
  margin-bottom: 40px;

  font-family: 'Georgia', 'Times New Roman', serif;

}

/* Flex Layout */
.content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  align-items:stretch;
  gap: 40px;
}

/* LEFT: Cards */
.left-section {
  flex: 1 1 48%;
  max-width: 480px;

  display: flex;
  flex-direction: column;
  gap: 25px;
}
.left-section .card {
  border-radius: 28px; /* smaller corners */
}
/* Card */
.card {
  background: #114d37;
  border-radius: 5px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
}

.card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color:white;
}

.card p {
  font-size: 0.9rem;
  color:white;
  line-height: 1.5;
}

/* Hidden content (collapsible) */
.extra-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

/* When expanded */
.card.expanded .extra-content {
  max-height: 300px;
  opacity: 1;
  margin-top: 10px;
}

/* Expand button (arrow) */
.expand-btn {
  background: none;
  border: none;
  color:white;
  font-size: 1.5rem;
  cursor: pointer;
  display: block;
  margin: 10px auto 0;
  transition: transform 0.3s ease;
}

.expand-btn.rotate {
  transform: rotate(180deg);
}

/* RIGHT: Quote box */
.quote-box {
  flex: 1 1 40%;
  background-color: #f7b5bc;
 align-self:center;
  padding: 18px 30px;
  color: #000;
  text-align: left;
  position: relative;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  max-width: 280px;
  margin-left: 200px;
  transition: all 0.3s ease;
    height: 350px; /* adjust as needed */
margin-top:20px;
}


/* Pinned image */
.quote-icon {
  position: absolute;
  top: 15px;
  left: 20px;
  width: 25px;     /* adjusts automatically */
  height: auto;
}


.quote-box p {
  font-family: 'Merriweather', serif;
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 40px 0 15px;
}

.quote-box span {
  font-family: 'Merriweather', serif;
  font-weight: 700;
  font-style: italic;
  display: block;
  margin-top: 10px;
}

/* Hover animation */
.quote-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
  .quote-box {
    max-width: 100%;
    width: 90%;
    margin: 20px auto 0;
  }
}

@media (max-width: 576px) {
  .quote-box {
    padding: 20px 18px;
  }
  .quote-box p {
    font-size: 0.9rem;
  }
  .quote-box span {
    font-size: 0.85rem;
  }
}
/* Responsive */
@media (max-width: 992px) {
  .content {
    flex-direction: column;
    align-items: center;
  }

  .left-section, .quote-box {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .quote-box {
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .learning-support h1 {
    font-size: 1.5rem;
  }

  .card, .quote-box {
    padding: 16px 18px;
  }

  .card h3 {
    font-size: 0.95rem;
  }

  .card p, .quote-box p {
    font-size: 0.85rem;
  }

  .expand-btn {
    font-size: 1.2rem;
  }
}


/* Expand button */
.expand-btn {
  background: none;
  border: none;
  color: #7a0c24;
  font-size: 1.2rem;
  cursor: pointer;
  display: block;
  margin: 10px auto 0;
  transition: transform 0.3s ease;
}

/* Rotate on expand */
.expand-btn.rotate i {
  transform: rotate(180deg);
}

/* Smooth icon transition */
.expand-btn i {
  transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 576px) {
  .expand-btn {
    font-size: 1rem;
  }
}