/* Base Styles */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffe4ec;
  text-align: center;
}

h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #153040;
  margin-bottom: 10px;
}

.card {
  background-color: #f8c4d6;
  border-radius: 20px;
  padding: 20px;
  margin: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.button {
  display: inline-block;
  background-color: #153040;
  color: #fff;
  padding: 10px 20px;
  border-radius: 10px;
  margin: 10px 5px;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(21, 48, 64, 0.3);
}

.subline,
.card-subtext,
.card-note {
  font-size: 1rem;
  color: #153040;
}

.card-note {
  font-style: italic;
  color: #555;
  margin-top: 0.75rem;
}

.card-image {
  width: 160px;
  margin-top: 0.8rem;
  margin-bottom: 0.15rem;
}

/* Header */
.hero-banner {
  padding: 20px;
}

.hero-flex {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-face {
  width: 120px;
  height: auto;
}

.hero-logo {
  max-width: 220px;
  height: auto;
}

.hero-tagline {
  font-family: 'Permanent Marker', cursive;
  font-size: 1.3rem;
  color: #153040;
  margin-top: 8px;
  white-space: nowrap;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
  .hero-flex {
    flex-direction: column;
  }

  .hero-face {
    width: 100px;
    margin-bottom: 10px;
  }

  .hero-logo {
    max-width: 180px;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  .button {
    padding: 8px 16px;
    font-size: 0.95rem;
  }
}

/* FAQ Styling */
.faq-side-by-side {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  justify-content: center;
}

.faq-image-side {
  max-width: 100px;
  height: auto;
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.faq-text {
  flex: 1;
  min-width: 280px;
  max-width: 600px;
  text-align: left;
}

.faq h2 {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
}

.faq-item {
  margin-bottom: 0.25rem;
  border-bottom: 1px solid #e7b9c9;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background-color: #fddce9;
}

.faq-toggle {
  font-size: 1.25rem;
  font-weight: bold;
  color: #222;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 1rem;
  font-size: 0.95rem;
  color: #222;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0.5rem 1rem 1rem;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

@media (max-width: 640px) {
  .faq-side-by-side {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq-text {
    width: 100%;
    min-width: unset;
  }

  .faq h2 {
    font-size: 1.25rem;
  }
}

/* Testimonial Styling */
.testimonial-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-slide {
  display: none;
  transition: opacity 0.3s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-quote {
  font-size: 1rem;
  font-style: italic;
  margin: 10px auto;
  color: #153040;
  max-width: 90%;
}

.testimonial-name {
  font-weight: bold;
  color: #333;
}

.testimonial-nav-with-image {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 25px;
}

.testimonial-button-wrap {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

.testimonial-image {
  width: 60px;
  height: auto;
}

/* Share MrTeach Section */
.share-mrteach {
  background-color: #f8c4d6;
  padding: 2rem;
  text-align: center;
  border-radius: 20px;
  margin: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.share-mrteach h2,
.share-title,
.share-mrteach .card-subtext {
  color: #153040;
}

/* Optional decorative arrow section */
.share-arrows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.5rem;
  color: #d63384;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.6; }
}

/* Banner Style */
.headline-banner {
  background: linear-gradient(to right, #f8b6c8, #f9d3e3);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  margin-bottom: 1.5rem;
}

.headline-banner h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  color: #3a3a3a;
}

.headline-banner p {
  font-size: 1.2rem;
  font-style: italic;
  margin-top: 0.5rem;
  color: #5c5c5c;
}

/* Share section image adjustment */
.share-mrteach .card-image {
  max-width: 280px;
  margin: 0 auto 1rem;
  display: block;
}

/* Mobile-specific tweaks */
@media (max-width: 600px) {
  .share-mrteach .card-image {
    max-width: 90vw;
    margin-top: -10px;
    margin-bottom: 1rem;
  }
}
/* Share MrTeach Section */
.share-section h2 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.share-section h3 {
  font-size: 1.2rem;
  margin-top: 0;
  font-weight: 500;
}

.share-section .share-image {
  width: 80%;
  max-width: 300px;
  margin: 15px auto;
  display: block;
}

.share-section p {
  font-size: 1rem;
  margin: 15px 0;
  line-height: 1.5;
}

}.share-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}


.share-buttons .button {
  width: fit-content;
  margin: 0 auto;
}

.share-section .phone-icon {
  width: 50px;
  margin-top: 10px;
  opacity: 0.6;
}
