@media only screen and (max-width: 1400px) and (min-width: 1200px) {
.bottom-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(264px, 1fr));
    gap: 1rem;
}

}

@media only screen and (max-width: 1440px) and (min-width: 1200px) {
  .right {
    top: 160px;
    right: 51px;
  }
}

@media only screen and (max-width: 1280px) and (min-width: 992px) {
  .right {
    position: relative;
    display: block;
    left: 0;
    top: 0;
    float: none;
    margin: auto;
    width: 100%;
    max-width: 640px;
    margin-top: -70px;
  }

  .bannerForm {
    top: 54px;
    right: 100px;
  }
 

}

@media only screen and (max-width: 1199px) {
  .bottom-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
}

@media only screen and (max-width: 991px) {
  .sectionHead h1,
  .sectionHead h2 {
    font-size: 36px;
  }

  .bannerCaption h1 {
    font-size: 36px;
  }

  .bannerCaption h2 {
    font-size: 20px;
  }

  .bannerCaption p {
    font-size: 14px !important;
  }

  .amenitiesSection ul li {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }

  .subscribeRow h2 {
    font-size: 36px;
  }

  .right {
    position: relative;
    display: block;
    left: 0;
    top: 0;
    float: none;
    margin: auto;
    width: 100%;
    max-width: 640px;
    margin-top: -70px;
  }

  .headerTopRow a {
    padding: 10px;
    font-size: 13px;
  }

  .bannerForm {
    top: 10px;
    right: 36px;
  }

  .package_section {
    padding: 44px 0;
  }
  .mobileViewDirection {
    flex-direction: column-reverse;
}
}

@media only screen and (max-width: 767px) {
  .package_block h3 {
    font-size: 18px;
  }

  .package_block li {
    font-size: 16px;
  }

  .package_section .col-md-6 {
    margin-bottom: 20px;
  }
  .sectionHead h1,
  .sectionHead h2 {
    font-size: 28px;
  }

  .bannerForm {
    position: relative;
    top: 0;
    left: auto;
    right: auto;
    margin: 15px auto;
    width: 100%;
    max-width: 360px;
    background: #ffffff !important;
  }

  .bannerForm .subscribeFrom {
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
  }

  .emmarSection {
    padding: 44px 0;
  }

  .InfoSection,
  .AMENITIESSection {
    padding: 32px 0;
  }

  .themeTitle {
    font-size: 24px;
  }

  .aminitiSection {
    padding: 32px 0;
  }

  h2 {
    font-size: 1.3rem !important;
    line-height: 1.4;
  }

  .subscribeModal .modal-dialog {
    max-width: calc(100% - 40px) !important;
    margin: auto !important;
  }

  .subscribeRow h2 {
    font-size: 28px;
  }

  .subscribeBg {
    padding: 36px 0;
  }

  .memoentBanner {
    padding: 36px 0 24px 0;
  }

  .serviceContent {
    padding: 36px 15px;
  }

  .featurePoint {
    padding: 32px 20px;
  }

  .amenitiesSection ul li {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .outter.hero-video2 {
    background-image: none;
    padding-top: 36px;
  }
  .headerNew .container-fluid {
    padding: 0;
  }

  .activingLiving {
    padding: 36px 0;
  }
  .sectionHead p {
    font-size: 18px;
  }
  .package_section {
    padding: 36px 0;
  }

  .mortgagePointsList h3 {
    font-size: 20px;
  }

.img_figure_row .image-container {
  flex: 0 0 50%;
  max-width: calc(50% - 10px);
}

.main-title{font-size:28px;}

}

@media screen and (max-width: 575px) {
  .sectionHead h1,
  .sectionHead h2 {
    font-size: 24px;
  }
  .sectionHead p {
    font-size: 16px;
  }

  .bannerCaption .btn {
    font-size: 14px;
    padding: 5px 10px !important;
  }
  .bannerCaption {
    text-align: center;
  }

  .subscribeModal .subscribeFrom h3 {
    font-size: 20px;
    padding-right: 40px;
  }

  .featurePoint {
    padding: 32px 15px;
  }

  .subscribeFrom {
    padding: 20px;
  }

  .bannerCaption h1 {
    font-size: 18px;
  }
  .activingLiving p {
    font-size: 16px;
  }
  .activingLiving .head {
    margin-bottom: 15px;
  }

  .activingLiving h3 strong {
    padding: 0 !important;
  }

  .activingLiving .col-md-4 span {
    font-size: 16px;
  }
  .activingLiving h4 {
    font-size: 20px;
  }

  .activingLiving h3 {
    font-size: 24px;
    text-align: left !important;
  }

  .bannerCaption p {
    display: none;
  }
  .bannerCaption h2 {
    margin-top: 0px !important;
    font-size: 14px;
  }

  .featuresadddi {
    padding: 20px 0 0 0;
  }

  .amenitiesSection ul li img {
    flex: 0 0 28px;
    max-width: 28px;
  }

  .amenitiDetail strong {
    font-size: 18px;
  }

  .amenitiDetail > div {
    font-size: 13px;
  }

  .amenitiesSection ul li {
    padding: 10px 5px;
  }

  .amenitiesSection {
    padding: 36px 0;
  }

  .subscribeRow h2 {
    font-size: 24px;
  }

  .h2,
  h2 {
    font-size: 1.5rem;
  }

  .subscribeFrom {
    width: calc(100% - 30px);
  }

  .navbar-brand img {
    max-height: 24px;
  }
  .navbar {
    padding: 10px !important;
  }
  .header_phone a {
    font-size: 14px;
  }
  .headerTopRow a {
    padding: 8px;
    font-size: 12px;
  }
}
