/* Media Queries for Responsive Design */

/* Large Desktop (max-width: 1200px) */
@media (max-width: 1200px) {
  .custom-container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
  }

  .custom-container .review-card-container,
  .custom-container .review-title {
    width: 100%;
    max-width: 1000px;
  }
  .container {
    width: min(1000px, 90vw);
  }

  .about-section h1 {
    font-size: 35px;
    line-height: 44px;
  }

  .hero-copy blockquote {
    width: 100%;
    max-width: 600px;
    font-size: 36px;
    line-height: 44px;
  }

  .author {
    width: 100%;
    max-width: 600px;
  }

  .hero-illustration img {
    margin-left: 50px;
  }

  .activities h2 {
    width: 100%;
/*     max-width: 650px; */
  }

  .play-card,
  .award-card,
  .award-card_second,
  .award-card_third {
    width: 100%;
    max-width: 350px;
  }

  .testimonials h2 {
    width: 100%;
    max-width: 500px;
  }

  .awards h2 {
    width: 100%;
    max-width: 400px;
  }

  .award-logos {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
  .custom-container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
  }

  .custom-container .review-card-container,
  .custom-container .review-title {
    width: 100%;
    max-width: 900px;
  }
  .container {
    width: min(900px, 92vw);
  }

  .hero {
    padding: 100px 0 200px;
  }

  .about-section h1 {
    font-size: 25px;
    line-height: 30px;
  }

  .hero-inner {
    gap: 40px;
  }

  .hero-copy blockquote {
    font-size: 34px;
    line-height: 42px;
    height: auto;
  }

  .author {
    font-size: 20px;
  }

  .hero-illustration img {
    margin-left: 0;
  }

  .activities h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .play-card h3,
  .award-card h3,
  .award-card_second h3,
  .award-card_third h3 {
    font-size: 21px;
    line-height: 28px;
    width: 100%;
    height: auto;
  }

  .testimonials h2,
  .awards h2,
  .reviews h2 {
    font-size: 36px;
    line-height: 44px;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
  }

  .award-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .award-logos img {
    width: 150px;
    height: 100px;
  }

  section {
    padding: 80px 0;
  }
}

/* Mobile and Small Tablet (max-width: 767px) */
@media screen and (max-width: 767px) {
  .custom-container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
  }

	#youtubeIframe {
	  width: 100%;
	  height: 245px;
	}
	
	.close-btn {
    font-size: 50px !important;
    cursor: pointer !important;
    background: none;
    border: none;
    margin-top: 30px;
    color: #000 !important;
    margin-left: 205px;
    float: right;
}
	
  .custom-container .review-card-container,
  .custom-container .review-title {
    width: 100%;
    max-width: 100%;
  }

  .custom-container .review-card-image,
  .custom-container .review-card-title,
  .custom-container .review-body {
    width: 100%;
  }

  .container {
    width: 90vw;
  }

  .nav-bar {
    flex-direction: column;
    height: auto;
    padding: 20px;
    gap: 16px;
  }

  .nav {
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .logo {
    font-size: 13px;
  }

  .nav a {
    font-size: 9px;
  }

  .hero {
    padding: 60px 0 150px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .hero-copy blockquote {
    font-size: 30px;
    line-height: 38px;
    width: 100%;
    height: auto;
    margin: 0 auto;
  }

  .author {
    font-size: 18px;
    width: 100%;
    margin-top: 16px;
  }

  .hero-illustration {
    justify-content: center;
  }

  .hero-illustration img {
    margin-left: 0;
    max-width: 100%;
  }

  .wave {
    height: 150px;
  }

  section {
    padding: 60px 0;
  }

  .activities h2 {
    font-size: 28px;
    line-height: 36px;
    width: 100%;
    height: auto;
  }

  .cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .play-card,
  .award-card,
  .award-card_second,
  .award-card_third {
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }

  .play-card h3,
  .award-card h3,
  .award-card_second h3,
  .award-card_third h3 {
    font-size: 20px;
    line-height: 26px;
    width: 100%;
    height: auto;
  }

  .card-actions {
    padding: 10px 14px;
    gap: 12px;
  }

  .card-actions span {
    font-size: 14px;
  }

  .testimonials h2,
  .awards h2,
  .reviews h2 {
    font-size: 28px;
    line-height: 36px;
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }

  .testimonial {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  .testimonial p {
    width: 100%;
    font-size: 15px;
    line-height: 22px;
  }

  .testimonial p.testimonial-author {
    width: 100% !important;
  }

  .testimonial strong {
    width: 100%;
    height: auto;
    font-size: 18px;
    line-height: 24px;
  }

  .teachers-testimonial {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  .grandparents-testimonial {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  .grandparents-testimonial p {
    width: 100%;
    min-height: auto;
  }

  .grandparents-testimonial p.testimonial-author {
    width: 100% !important;
  }

  .testimonial.kid {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  .award-card,
  .award-card_second,
  .award-card_third {
    min-height: auto;
    height: auto;
  }

  .award-card ul,
  .award-card_second ul,
  .award-card_third ul {
    width: 100%;
    height: auto;
  }

  .award-card ul li,
  .award-card_second ul li,
  .award-card_third ul li {
    width: 100%;
  }

  .award-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .award-logos img {
    width: 120px;
    height: 80px;
  }

  .reviews .review-card ul {
    width: 100%;
    height: auto;
  }

  .cta-btn {
    width: 160px;
    height: 50px;
    font-size: 18px;
    padding: 8px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-about {
    max-width: 100%;
  }
}

/* Small Mobile (max-width: 575px) */
@media (max-width: 575px) {
  .custom-container {
    max-width: 90%;
    width: 100%;
    margin: 0 auto;
  }

  .custom-container .review-card-container,
  .custom-container .review-title {
    width: 100%;
    max-width: 100%;
  }

  .custom-container .review-card-image,
  .custom-container .review-card-title,
  .custom-container .review-body {
    width: 100%;
  }

  .custom-container .section-4-images-container {
    width: 100%;
    padding: 0 10px;
  }
  .container {
    width: 100%;
  }

  .nav-bar {
    padding: 16px;
  }

  .logo {
    font-size: 20px;
  }

  .nav {
    gap: 10px;
  }

  .nav a {
    font-size: 12px;
  }

  .hero {
    padding: 50px 0 120px;
  }

  .hero-copy blockquote {
    font-size: 24px;
    line-height: 32px;
  }

  .author {
    font-size: 16px;
  }

  .wave {
    height: 120px;
  }

  section {
    padding: 50px 0;
  }

  .activities h2 {
    font-size: 24px;
    line-height: 32px;
  }

  .play-card,
  .award-card,
  .award-card_second,
  .award-card_third {
    padding: 20px;
  }

  .play-card h3,
  .award-card h3,
  .award-card_second h3,
  .award-card_third h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .card-actions {
    padding: 8px 12px;
    flex-direction: row;
    gap: 10px;
  }

  .card-actions span {
    font-size: 13px;
  }

  .card-actions .play-btn {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .testimonials h2,
  .awards h2,
  .reviews h2 {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 24px;
  }

  .testimonial {
    padding: 20px 16px;
  }

  .testimonial p {
    font-size: 14px;
    line-height: 20px;
  }

  .testimonial strong {
    font-size: 16px;
    line-height: 22px;
  }

  .cards-grid.four,
  .cards-grid.three {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .award-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .award-logos img {
    width: 100px;
    height: 70px;
  }

  .cta-btn {
    width: 140px;
    height: 45px;
    font-size: 16px;
    padding: 6px 20px;
  }

  .site-footer {
    padding: 60px 0 0;
  }

  .footer-grid {
    gap: 30px;
  }

  .site-footer h4 {
    font-size: 18px;
  }

  .site-footer p,
  .site-footer li {
    font-size: 14px;
    line-height: 20px;
  }

  .footer-copyright {
    padding: 24px 0;
  }
}