/* Mobile fixes for the home page. Loaded after main.css. */
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
img, iframe, video { max-width: 100%; }

@media (max-width: 991px) {
  .about .col-lg-4 img { width: 100% !important; height: auto !important; }
}

@media (max-width: 767px) {
  .hero .carousel-item img { width: 100%; height: auto; }
  .about { padding: 30px 0; }
  .about .section-header h1 { font-size: 28px; }
  .about .section-header h2 { font-size: 20px; line-height: 1.4; }
  .about .section-header h4 { font-size: 15px; line-height: 1.4; }
  .about .content p { font-size: 18px !important; }
  .about .content li { font-size: 15px; line-height: 1.55; }
  .about .btn { white-space: normal; }
  .about .float-end { float: none !important; text-align: center; }
  .testimonials .section-header h2 { font-size: 24px; }
  .container-fluid iframe { height: 260px; }
}

@media (max-width: 400px) {
  .about .section-header h1 { font-size: 24px; }
  .about .section-header h2 { font-size: 18px; }
}
