@media (max-width: 1599px) {
  .about__title {
    font-size: calc(18px + 62 * ((100vw - 320px) / 1280));
  }
  .footer__meta-info:last-child {
    font-size: calc(13px + 0 * ((100vw - 320px) / 1280));
  }
  .contact__social p {
    font-size: calc(16px + 8 * ((100vw - 320px) / 1280));
  }
  .contact__info-item a {
    font-size: calc(16px + 4 * ((100vw - 320px) / 1280));
  }
}

@media (max-width: 1500px) {
  .theme-btn.theme-btn--sm {
    font-size: 12px;
  }
  .header {
    padding: 20px;
  }
  .header__menu {
    gap: 20px;
    font-size: 12px;
  }
  .header__action-btn {
    min-width: 122px;
  }
  .services__slide h2 {
    font-size: 4vw;
  }
  .brands__slider .slick-list {
    margin-inline: -5px;
  }
  .quick-search__actions {
    gap: 15px;
  }
  .quick-search__action-btn span.big {
    letter-spacing: 0;
  }
}

/* 
  Extra large devices (less than 1400px)
*/
@media (max-width: 1399px) {
}

/* 
  Large devices (less than 1200px)
*/
@media (max-width: 1199px) {
  .header__actions {
    gap: 10px;
  }
  .megamenu__col {
    max-width: 73%;
    flex: 0 0 73%;
  }
  .megamenu__main::before {
    width: 80%;
  }
  .hero__content-header {
    margin-bottom: 2rem;
  }
  h1 {
    font-size: 60px;
  }
  h2 {
    font-size: 50px;
  }
  h3 {
    font-size: 40px;
  }
  .theme-btn {
    padding-inline: 20px;
    height: 52px;
  }
  .about__header {
    max-width: 50%;
  }
  .about__left {
    max-width: 45%;
    flex: 0 0 45%;
    padding-inline: 2rem;
  }
  .about__thumb {
    margin-top: -10rem;
    max-width: 380px;
  }
  .about__right {
    max-width: 55%;
    flex: 0 0 55%;
  }
  .about__content {
    padding: 3rem;
  }
  .about__desc p {
    font-size: 16px;
  }
  .about__desc {
    margin-bottom: 2rem;
  }
  .about {
    padding-top: 2rem;
  }
  .about__thumb img {
    height: auto;
  }
  .about--style-2 {
    padding-block: 5rem;
  }
  .about--style-2 .about__wrapper {
    margin-inline: -30px;
  }
  .about--style-2 .about__right {
    max-width: 40%;
    flex: 0 0 40%;
    padding-inline: 30px;
  }
  .about--style-2 .about__left {
    max-width: 60%;
    flex: 0 0 60%;
    padding-inline: 30px;
  }
  .about--style-2 .about__thumb {
    max-width: 100%;
    height: 500px;
  }
  /* .about--style-2 h2 {
    font-size: 50px;
  } */

  .services {
    padding-block: 6rem;
  }
  .services__slider .slick-list {
    padding: 0px 18vw !important;
  }
  .services__slide h2 {
    font-size: 4.6vw;
  }
  .slick-arrow {
    width: 65px;
    height: 65px;
  }
  .services__slider .slick-prev {
    left: 4.5vw;
  }
  .services__slider .slick-next {
    right: 4.5vw;
  }
  .services__slide p {
    font-size: 15px;
    bottom: 15px;
  }
  .brands__slider .slick-list {
    margin-inline: -35px;
  }
  .brands__slide {
    padding-inline: 35px;
    height: 60px;
  }

  .app-download {
    padding-block: 5rem;
  }
  .app-download__left {
    padding-inline: 25px;
  }
  .app-download__wrapper {
    margin-inline: -25px;
  }
  .app-download__right {
    padding-inline: 25px;
  }
  .footer__top {
    padding-block: 4rem;
    background-image: linear-gradient(145deg, #000 30%, #221c35 80%) !important;
  }
  .footer__top-content {
    padding: 2rem;
  }
  .footer__bottom {
    padding-block: 3rem 4rem;
  }
  .footer__widget {
    max-width: 31%;
    flex: 0 0 31%;
  }
  .footer__widget:last-child {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .footer__widget:last-child .footer__widget-title {
    font-size: 20px;
  }
  .footer__widget .link-text {
    font-size: 17px;
  }
  .quick-search__left {
    max-width: 55%;
    flex: 0 0 55%;
  }
  .quick-search__right {
    max-width: 45%;
    flex: 0 0 45%;
  }
  .evaluation__content {
    padding: 3rem;
  }

  .features {
    padding-block: 5rem 10rem;
  }
  .features__wrapper {
    margin-top: 4rem;
  }
  .theme-card {
    height: 350px;
  }
  .contact {
    padding-bottom: 5rem;
  }
  .form {
    transform: translateY(-5rem);
    margin-bottom: -5rem;
    padding: 3rem 2rem 2rem;
  }

  .about--style-3 .about__left {
    max-width: 50%;
    flex: 0 0 50%;
  }
  .about--style-3 .about__right {
    max-width: 50%;
    flex: 0 0 50%;
  }

  .contact--style-2 {
    padding-block: 5rem;
  }
  .contact__wrapper {
    margin-inline: -30px;
  }
  .contact__left {
    max-width: 40%;
    flex: 0 0 40%;
    padding-inline: 30px;
  }
  .contact__right {
    max-width: 60%;
    flex: 0 0 60%;
    padding-inline: 30px;
  }
  .contact--style-2 .form__desc {
    font-size: 16px;
  }

  .blog__items {
    grid-template-columns: repeat(2, minmax(8rem, 1fr));
  }
  .support--find-dream-home {
    padding-block: 5rem 10rem;
  }
  .support--find-dream-home .support__item {
    padding: 1.5rem;
  }
  .support--find-dream-home .support__desc {
    font-size: 16px;
  }

  .description {
    padding-block: 5rem;
  }
  .description__wrapper {
    margin-inline: -30px;
  }
  .description__thumb {
    max-width: 50%;
    flex: 0 0 50%;
  }
  .description__col {
    padding-inline: 30px;
  }
  .description__content {
    max-width: 50%;
    flex: 0 0 50%;
  }
  .area-guides-page .contact__left {
    max-width: 50%;
    flex: 0 0 50%;
  }
  .area-guides-page .contact__right {
    max-width: 50%;
    flex: 0 0 50%;
  }
  .top-schools {
    padding-block: 4rem;
  }
  .school__item {
    padding: 25px 16px;
  }
  .contact__text {
    margin: 30px 0 0;
  }
}

/*
  Medium devices (less than 992px)
*/
@media (max-width: 991px) {
  /* Fix mobile banner issues - iOS doesn't support background-attachment: fixed */
  .hero,
  .about {
    background-attachment: scroll !important;
  }
  .hero__slide-img {
    background-attachment: scroll !important;
    background-position: center top;
  }

  body {
    font-size: 16px;
  }
  h1 {
    font-size: 50px;
  }
  h2 {
    font-size: 45px;
  }
  h3 {
    font-size: 35px;
  }

  .megamenu__main {
    padding: 1rem;
  }
  .megamenu__main::before {
    width: 100%;
  }
  .megamenu__col {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .about__header {
    max-width: 100%;
  }
  .about__left {
    max-width: 85%;
    flex: 0 0 85%;
  }
  .about__right {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .about__content {
    max-width: 700px;
  }
  .about--style-2 .about__left {
    max-width: 100%;
    flex: 0 0 100%;
    padding-inline: 0;
  }
  .about--style-2 .about__right {
    max-width: 100%;
    flex: 0 0 100%;
    padding-inline: 0;
  }
  .about--style-2 .about__wrapper {
    margin-inline: 0;
    gap: 40px;
  }
  .about--style-2::before {
    display: none;
  }
  .about--style-2 .about__content {
    max-width: 100%;
  }
  .about--style-3::before {
    display: block;
    width: 100%;
  }
  .about--style-3 .about__thumb {
    max-width: 480px;
    height: auto;
  }

  .services {
    padding-block: 5rem;
  }
  .brands__slide {
    padding-inline: 25px;
  }
  .brands__slider .slick-list {
    margin-inline: -24px;
  }
  .brands {
    padding-block: 4rem;
  }
  .testimonial {
    padding-block: 5rem 3rem;
  }
  .testimonial__slider {
    margin-top: 3rem;
  }
  .app-download__left {
    padding-inline: 15px;
  }
  .app-download__right {
    padding-inline: 15px;
  }
  .app-download__content {
    padding-right: 0;
  }
  .app-download__desc {
    font-size: 15px;
  }
  .footer__top-content {
    padding: 0;
  }
  .footer__widget {
    max-width: 33%;
    flex: 0 0 33%;
  }
  .footer__meta-col {
    width: 100%;
    padding: 5px 15px 0;
  }
  .footer__bottom {
    padding: 2.5rem 0 8rem;
  }
  .quick-search__left {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .quick-search__right {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .quick-search__actions {
    justify-content: space-between;
  }
  .evaluation {
    padding-block: 5rem;
  }

  .evaluation {
    padding-block: 5rem;
  }
  .support {
    padding-block: 5rem;
  }
  .section__header-desc {
    padding-inline: 10%;
  }
  .support__container {
    margin-top: 4rem;
  }
  .support__items {
    grid-template-columns: repeat(2, 1fr);
  }
  .support__item:nth-child(2) {
    border-right: 0;
  }
  .support__item:nth-child(3) {
    border-top: 1px solid rgba(0, 0, 0, 0.2);
  }
  .support__item:nth-child(4) {
    border-left: 1px solid rgba(0, 0, 0, 0.2);
  }
  .support__item:nth-child(5) {
    border-inline: none;
  }
  .support__item:last-child {
    border-left: 1px solid rgba(0, 0, 0, 0.2);
  }
  .features .section__header-desc {
    padding-inline: 10%;
  }
  .theme-card {
    height: 300px;
    padding: 5rem 1.5rem 1.5rem;
  }
  .form__title {
    font-size: 45px;
  }
  .form__input-list {
    grid-template-columns: 1fr;
  }
  .form__input--fluid {
    grid-column: unset;
  }

  .contact__left {
    max-width: 100%;
    flex: 0 0 100%;
    padding-inline: 0;
  }
  .contact__right {
    max-width: 100%;
    flex: 0 0 100%;
    padding-inline: 0;
  }
  .contact__wrapper {
    margin-inline: 0;
  }
  .contact--style-2 .form__input-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog__container {
    grid-template-columns: 1fr;
    grid-template-areas: "main";
  }
  .blog {
    padding-block: 4em;
  }

  .support--find-dream-home {
    padding-block: 5rem 10rem;
  }
  .support--find-dream-home .support__item {
    grid-column: span 6;
  }
  .support--find-dream-home .support__item:last-child {
    grid-column: span 12;
    border-left: 0;
  }

  .description__col {
    padding-inline: 0;
  }
  .description__thumb {
    max-width: 100%;
    flex: 0 0 100%;
    height: 500px;
  }
  .description__content {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .description__content-wrapper {
    padding-bottom: 0;
    padding-top: 50px;
  }
  .description__wrapper {
    margin-inline: 0;
  }
  .area-guides-page .contact__left {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .area-guides-page .contact__right {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .blog--style-2 .blog__items {
    grid-template-columns: 1fr;
  }
}

/*
  Small devices (less than 768px)
*/
@media (max-width: 767px) {
  /* Mobile hero banner improvements */
  .hero {
    min-height: 80vh;
  }
  .hero__slide-img {
    background-position: center center;
    background-size: cover;
  }
  .hero--style-2,
  .hero--style-2-sm {
    min-height: 60vh;
  }

  .header__logo img {
    width: 250px;
  }
  .header {
    padding: 15px;
  }
  h1 {
    font-size: 45px;
  }
  h2 {
    font-size: 40px;
  }
  .hero__btns {
    row-gap: 10px !important;
  }
  .hero__desc {
    padding-inline: 0;
  }
  .about__left {
    max-width: 100%;
    flex: 0 0 100%;
  }
  .about__thumb {
    margin-inline: auto;
  }
  .about--style-2 {
    padding-block: 4rem;
  }
  /* .about--style-2 h2 {
    font-size: 40px;
  } */
  .about--style-2 .about__thumb {
    height: 350px;
  }
  .about--style-2 .about__wrapper {
    gap: 30px;
  }

  .services__slider .slick-list {
    padding: 0 !important;
  }
  .services__slide {
    padding: 0 1.5rem;
  }
  .services__slide-content-inner {
    padding: 2rem 3rem 5rem 3rem;
    height: 60vw;
    max-height: 500px;
    min-height: 360px;
  }
  .services__slide h2 {
    font-size: 7.5vw;
    width: 90%;
    padding-inline: 3rem;
  }
  .services__slide p {
    font-size: 16px;
  }
  .slick-arrow {
    width: 55px;
    height: 55px;
  }
  .slick-arrow::before {
    font-size: 20px;
  }
  .services__slider .slick-prev {
    left: 0;
  }
  .services__slider .slick-next {
    right: 0;
  }
  .brands__slide {
    padding-inline: 20px;
    height: 50px;
  }
  .testimonial {
    padding-block: 4rem 2rem;
  }
  .app-download {
    padding-block: 4rem;
  }
  .app-download__left {
    max-width: 100%;
    flex: 0 0 100%;
    padding-inline: 0;
  }
  .app-download__container {
    max-width: 500px;
  }
  .app-download__wrapper {
    margin-inline: 0;
  }
  .app-download__right {
    max-width: 100%;
    flex: 0 0 100%;
    padding: 20px 0 0;
  }
  .footer__widget {
    max-width: 50%;
    flex: 0 0 50%;
  }
  .footer__bottom {
    padding: 2rem 0 1rem;
  }
  .footer__logo {
    margin-bottom: 20px;
  }

  .evaluation {
    padding-block: 4rem;
  }
  .evaluation__content {
    padding: 2rem;
  }
  .evaluation__desc {
    margin-block: 1rem 2rem;
  }
  .support {
    padding-block: 4rem;
  }
  .section__header-desc {
    padding-inline: 5%;
  }
  .support__container {
    margin-top: 3rem;
  }
  .support__items {
    grid-template-columns: 1fr;
  }
  .support__item:nth-child(2) {
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
  }
  .support__item:nth-child(4) {
    border-left: 0;
  }
  .support__item:last-child {
    border-left: 0;
  }
  .features {
    padding-block: 4rem 8rem;
  }
  .features .section__header-desc {
    padding-inline: 5%;
  }
  .features__wrapper {
    margin-top: 3rem;
  }
  .features__wrapper .row {
    --bs-gutter-x: 0;
  }
  .contact {
    padding-bottom: 4rem;
  }
  .form {
    transform: translateY(-5rem);
    margin-bottom: -5rem;
    padding: 2rem 1rem 1rem;
  }
  .form__title {
    font-size: 40px;
  }
  .contact--style-2 {
    padding-block: 4rem;
  }
  .blog__items {
    grid-template-columns: repeat(1, minmax(8rem, 1fr));
  }

  .support--find-dream-home {
    padding-block: 4rem 8rem;
  }
  .support--find-dream-home .support__item {
    grid-column: span 12;
  }

  .description {
    padding-block: 4rem;
  }
  .description__thumb {
    height: 400px;
  }
  .area-guides-page .form__input-list {
    grid-template-columns: 1fr;
  }
  .top-schools__dropdown .dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .top-schools {
    padding-block: 3rem;
  }
  .school__item {
    padding: 20px 8px;
  }
  .school__item > span {
    padding-inline: 0;
  }
  .blog .section__header {
    margin-bottom: 2rem;
  }
}

/*
  Extra small devices (less than 576px)
*/
@media (max-width: 575px) {
  /* Extra small mobile hero adjustments */
  .hero {
    min-height: 70vh;
  }
  .hero--style-2,
  .hero--style-2-sm {
    min-height: 50vh;
  }
  .hero--style-2-xs {
    min-height: 40vh;
  }

  .theme-btn.theme-btn--sm {
    padding-inline: 16px;
    min-width: 0;
    font-size: 13px;
  }
  h1 {
    font-size: 38px;
  }
  h2 {
    font-size: 34px;
  }
  h3 {
    font-size: 30px;
  }
  .about__content {
    padding: 2rem 1.5rem;
  }
  /* .about--style-2 h2 {
    font-size: 34px;
  } */
  .about--style-2 .about__thumb {
    height: 300px;
  }
  .services {
    padding-block: 4rem;
  }
  .footer__widget {
    max-width: 100%;
    flex: 0 0 100%;
    text-align: center;
  }
  .footer__widget-divider {
    margin-inline: auto;
  }

  .megamenu__header-wrapper {
    gap: 20px;
  }
  .megamenu__title {
    text-align: center;
  }
  .megamenu__divider {
    margin-inline: auto;
  }
  .megamenu__menu {
    grid-template-columns: 1fr;
  }
  .megamenu__menu-widget {
    text-align: center;
  }

  .theme-card__title {
    font-size: 26px;
  }
  .form__title {
    font-size: 34px;
  }
  .contact--style-2 .form__input-list {
    grid-template-columns: 1fr;
  }
  .contact--style-2 .contact__form {
    padding: 2rem 1rem 1rem;
  }

  .description__thumb {
    height: 300px;
  }
  .description__content-wrapper {
    padding-top: 40px;
  }
  .description__content h5 {
    font-size: 1.1rem;
  }
  .contact__text {
    margin: 30px 0 0;
  }
}
