/* Shared responsive layer for the public Schoolizy website. */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

img,
svg,
video {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
}

.header .navbar-toggler {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 6px;
  padding: 8px 12px;
}

.header .navbar-toggler:focus {
  outline: 2px solid #ffde59;
  outline-offset: 2px;
}

.heroslider .carousel-inner .carousel-item {
  height: clamp(500px, 62vw, 650px);
  min-height: 500px;
  position: relative;
}

.heroslider .carousel-inner .carousel-item > .first-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.heroslider .carousel-inner .carousel-item::before {
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
}

.hero-content-row {
  min-height: 500px;
  height: 100%;
  padding-top: 76px;
}

.hero-copy {
  color: #fff;
  max-width: 720px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .2);
}

.hero-copy h1 {
  font-size: clamp(2rem, 4.2vw, 3.75rem);
  line-height: 1.12;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.hero-copy p {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 650px;
}

.hero-device-image {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  padding-top: 90px;
}

.hero-device-image img {
  width: min(100%, 390px);
  max-height: 520px;
  object-fit: contain;
}

.appworks,
.right_more_reason,
.why-choose-card-main-area,
.contact-address-main-area,
.blog-card-main-area {
  height: 100%;
}

.sectionappwork .row > [class*="col-"] {
  margin-bottom: 20px;
}

.about_app_img img,
.full_widthimg img,
.who-we-area-img-area img,
.form-img-box-area img {
  max-width: 100%;
  height: auto;
  float: none;
  object-fit: contain;
}

#contact-form {
  scroll-margin-top: 70px;
}

.contact-us-form-area label {
  display: block;
  font-size: 15px;
  line-height: 1.3;
  margin-bottom: 7px;
  color: #343a40;
}

.required-star {
  color: #dc3545;
  font-weight: 700;
}

.contact-us-form-area .invalid-feedback {
  display: block;
  margin-top: -22px;
  margin-bottom: 18px;
  font-size: 13px;
  color: #dc3545;
}

.contact-us-form-area .form-control.is-invalid {
  border-color: #dc3545;
  background-image: none;
}

.contact-form-alert {
  overflow: hidden;
  max-height: 120px;
}

.form-img-box-area img {
  width: 100%;
  height: 520px;
  object-fit: contain;
}

.post-thumbs-img {
  overflow: hidden;
}

.post-thumbs-img img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.locaion-map-box-area iframe {
  width: 100%;
  max-width: 100%;
  border: 0;
}

.email-box form {
  display: flex;
  gap: 12px;
}

.email-box .form-control {
  width: 100% !important;
  min-width: 0;
}

.btn-email {
  margin: 0;
  white-space: nowrap;
}

a.btn.btn-md.bgColor.colorwhite.btndesgin::before {
  display: none;
}

a.btn.btn-md.bgColor.colorwhite.btndesgin {
  box-shadow: 0 8px 20px rgba(112, 20, 35, .25);
}

@media (max-width: 991.98px) {
  .header {
    position: absolute;
  }

  .header .navbar {
    padding: 6px 15px !important;
  }

  .header .navbar-collapse {
    background: #a92334;
    border-radius: 8px;
    padding: 10px 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, .18);
  }

  .header .h2-nav .navbar-nav .nav-item {
    margin: 0;
  }

  .header .h2-nav .navbar-nav .nav-item .nav-link {
    padding: 11px 8px;
  }

  .section_padd,
  .who-we-area-main-area,
  .why-choose-main-area,
  .contact-info-main-area,
  .form-map-main-area,
  .locaion-map-detail-area {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .whyUserscont h2,
  .who-we-area-description-area h1,
  .why-choose-main-area h2,
  .playStore h2 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    line-height: 1.25;
  }

  .icon_box_list {
    flex-wrap: wrap;
  }

  .full_widthimg,
  .about_app_img,
  .who-we-area-img-area,
  .form-img-box-area {
    margin: 24px auto 0;
    text-align: center;
  }

  .padtop {
    padding-top: 0;
  }

  .playStorebgImg {
    padding: 65px 40px;
    margin-left: 15px;
    margin-right: 15px;
    background-size: cover;
  }

  .contact-address-main-area {
    margin-bottom: 20px;
    height: auto;
    min-height: 210px;
  }
}

@media (max-width: 767.98px) {
  .bgColor .navbar-brand img {
    width: 52px;
  }

  .heroslider .carousel-inner .carousel-item,
  .hero-content-row {
    height: auto;
    min-height: 520px;
  }

  .hero-content-row {
    padding: 105px 28px 70px;
  }

  .hero-copy {
    text-align: center !important;
  }

  .hero-copy h1 {
    font-size: clamp(1.85rem, 9vw, 2.6rem);
  }

  .heroslider .carousel-control-next,
  .heroslider .carousel-control-prev {
    width: 12%;
  }

  .heroslider .carousel-indicators {
    margin-bottom: 14px;
  }

  .section_padd,
  .who-we-area-main-area,
  .why-choose-main-area,
  .contact-info-main-area,
  .form-map-main-area,
  .locaion-map-detail-area {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .quiz_counter {
    padding-top: 16px;
  }

  .quiz_counter .count-wrap {
    font-size: 48px;
    line-height: 1.1;
  }

  .about_app_img img,
  .about_app_img.features-commonplace img {
    width: min(100%, 340px);
  }

  .icon_box_list {
    display: block;
  }

  .right_more_reason.mt-4 {
    margin-top: 20px !important;
  }

  .playStorebgImg {
    padding: 48px 20px;
  }

  .playStoreImg_icon {
    padding: 28px 0 0;
  }

  .playStoreImg_icon a {
    display: inline-block;
    max-width: 145px;
    margin: 6px 2px;
  }

  .inner-banner-detail-area {
    height: 240px;
  }

  .breadcrum-info-title {
    margin-top: 110px;
  }

  .why-choose-card-main-area {
    height: auto;
    min-height: 180px;
  }

  .business-productivity-btn-area {
    margin: 26px 0 34px;
  }

  .contact-us-form-area {
    padding: 24px 18px;
  }

  .form-img-box-area img {
    width: 100%;
    max-height: 360px;
  }

  .email-box {
    padding: 20px 0;
  }

  .email-box form {
    flex-direction: column;
  }

  .btn-email {
    width: 100%;
  }

  .subscribe {
    border-right: 0;
    padding-bottom: 0;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .hero-content-row {
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero-copy p {
    font-size: .98rem;
  }

  .testimonial .pic {
    width: 150px;
  }

  .shrot-detail-main-area {
    align-items: flex-start;
  }

  .detail-icon-area {
    width: 48px;
    min-width: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
