@media (max-width: 1480px) {
  h1 {
    font-size: 45px;
  }

  /* ==========header-section=========== */

  .header-section {
    padding: 15px 40px;
  }

  /* ==========banner-section=========== */

  .enquiry-section {
    margin-top: 40px;
  }

  .enquiry-section p {
    margin-bottom: 8px;
  }

  /* =========overview section=========== */

  .apex-content::after {
    width: 52.5%;

    left: 44%;
  }

  .overview-section::after {
    left: 91%;

    height: 73%;
  }

  .apex-image {
    width: 75%;
  }

  .apex-content {
    margin: 50px 18%;
  }

  /* =======choose Project-section======== */

  .prev,
  .next {
    top: -24%;
  }

  button.prev {
    right: 5%;

    left: inherit;
  }

  /* =============Amenities-section================= */

  .ami-box {
    max-width: 100%;
  }

  /* =========price section========== */

  .container-fluid.pricing-header.p1 {
    height: 420px;
  }

  .info span,
  .info strong {
    font-size: 16px;
  }
  .pricing-card {
    padding: 15px;
  }
  .pricing-grid {
    gap: 10px;
  }
  /* =========floor-sertion========== */

  .tabs {
    width: 75%;
  }

  /* ========location-section========== */

  section.location-section img.loc-banner {
    height: 420px;
  }
  .advantages {
    justify-content: center;
  }
  /* ========gallery-section======== */
  p.pro-name {
    left: 23%;
  }
}

@media (max-width: 1450px) {
  p.pro-name {
    left: 12%;
  }
}
@media (max-width: 1366px) {
  h1 {
    font-size: 45px;
  }

  .item p {
    font-size: 13px;

    color: #000;
  }

  .item {
    width: 300px;
  }

  .info span,
  .info strong {
    font-size: 13px;
  }

  /* ==========banner-section=========== */

  .enquiry-section {
    margin-top: 35px;
  }

  .enquiry-section p {
    margin-bottom: 30px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px;
  }

  .form-group {
    margin-bottom: 35px;
  }

  .checkbox label {
    font-size: 14px;

    line-height: 1.2;
  }

  .banner-right-section {
    padding: 20px 40px 10px;
  }

  .apex-content::after {
    width: 55.5%;

    left: 47%;
  }

  .apex-content {
    margin: 50px 19.5%;
  }

  .apex-image {
    width: 80%;
  }

  /* ======floor-section======= */

  .floor-image {
    width: 89%;

    margin: 0 auto;

    height: 88%;

    text-align: right;
  }

  .floor-image img {
    margin: 0 auto;

    width: 100%;
  }

  .tab {
    padding: 15px 45px;
  }

  /* =========price section========== */

  .container-fluid.pricing-header.p1 {
    height: 325px;
  }

  .info span,
  .info strong {
    font-size: 14px;
  }

  /* ========location-section========== */

  section.location-section img.loc-banner {
    height: 390px;
  }
  /* =======gallery-section======== */
  p.pro-name {
    left: 23%;
  }
}

@media (max-width: 1280px) {
  /* ==========banner-section=========== */

  .logo-right-sec img,
  .logo-left-sec img {
    height: 28px;
  }

  .header-section {
    padding: 15px 40px;
  }

  .enquiry-section {
    margin-top: 24px;
  }

  /* ======overview-section====== */

  .apex-content::after {
    width: 58.5%;

    left: 50%;
  }

  .apex-content {
    margin: 50px 21%;
  }

  .apex-image {
    width: 85%;
  }

  /* ======highilight-section======= */

  .card p {
    font-size: 14px;
  }
  .card h3 {
    font-size: 20px;
  }
  /* =========price section========== */

  .container-fluid.pricing-header.p1 {
    height: 355px;
  }

  .info span,
  .info strong {
    font-size: 14px;
  }

  /* =======floor-section====== */

  .floor-image {
    width: 100%;
  }

  /* ========location-section========== */

  section.location-section img.loc-banner {
    height: 355px;
  }
}

@media (max-width: 1180px) {
  h1 {
    font-size: 34px;
  }

  /* ======banner-section===== */

  .form-group {
    margin-bottom: 20px;
  }

  /* ======overview-section====== */

  .apex-content::after {
    width: 74%;

    left: 50%;
  }

  .apex-content {
    margin: 50px auto;
  }

  .d-flex.align-items-end.justify-content-between.apex-image-sec {
    flex-direction: column;

    justify-content: center !important;

    align-items: center !important;
  }

  .apex-image {
    width: 100%;

    margin: 30px 0;
  }

  .overview-section::after {
    display: none;
  }

  /* ======price section======= */

  .pricing-grid {
    gap: 15px;
  }

  .info span,
  .info strong {
    font-size: 12px;
  }

  /* ======floor-section====== */

  .tabs {
    width: 85%;
  }
}

@media (max-width: 992px) {
  /* =====header-section===== */

  nav.main-menu {
    width: 80%;
  }

  /* ======banneer-section======== */

  .banner-section {
    height: inherit;
  }

  .banner-section .d-flex {
    flex-direction: column;
  }

  .mob-content {
    text-align: center;

    padding: 15px;

    background-color: #f2f8ff;
  }

  .mob-content p strong {
    font-size: 25px;
    font-weight: 700;
    font-family: "TT Ramillas", serif;
  }

  .mob-content p.pric-mob-sec {
    font-size: 19px;
    padding-bottom: 15px;
    position: relative;
    font-family: "TT Ramillas", serif;
  }

  .mob-content p.pric-mob-sec::after {
    content: "";

    position: absolute;

    bottom: 0;

    left: 50%;

    transform: translateX(-50%);

    width: 100%;

    height: 1px;

    background: linear-gradient(
      90deg,
      rgba(13, 77, 161, 0.137) 0%,

      rgba(0, 0, 0, 1) 50%,

      rgba(13, 77, 161, 0.137) 100%
    );
  }

  p.detail-mob-sec {
    font-size: 17px;
    padding-top: 15px;
  }

  .banner-image-section,
  .banner-right-section {
    width: 100%;
  }

  .banner-image-section img {
    height: 74vh;
  }

  .banner-right-section {
    padding: 30px 20px;
  }

  .banner-right-section {
    height: inherit;
  }

  /* =====overview-section===== */

  .p1 {
    padding: 80px 15px;
  }

  .apex-content {
    width: 90%;

    margin: 0 auto;
  }

  .apex-content::after {
    width: 100%;

    height: 80%;
  }

  .apex-image {
    width: 100%;

    margin: 30px 0;
  }

  .overview-section::after {
    display: none;
  }

  .d-flex.align-items-end.justify-content-between.apex-image-sec {
    flex-direction: column;

    justify-content: center !important;

    align-items: center !important;
  }

  /* ======highilight-section======  */

  button.prev {
    right: 7%;

    left: inherit;
  }

  .card {
    min-width: calc(100% / 2 - 15px);

    box-sizing: border-box;

    padding: 5px;

    border: none;

    background: transparent;
  }

  /* =======price section======= */

  .pricing-grid {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 40px;
  }

  .pricing-section {
    padding: 60px 25px;
  }

  /* =====floor-sectiion====== */

  .tab {
    padding: 15px 20px;
  }

  .box strong {
    font-size: 20px;
  }

  .advantages {
    gap: 5px;
  }

  .floor-details {
    width: 100%;
  }

  .floor-image {
    width: 100%;

    height: 100%;
  }

  /* =====cta-section====== */

  .floating-contact {
    display: none;
  }

  .contact-bar {
    position: fixed;

    bottom: 0;

    width: 100%;

    display: flex;

    background: linear-gradient(90deg, #092049, #01235e);

    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);

    z-index: 998;
  }

  .contact-btn {
    flex: 1;

    text-align: center;

    padding: 14px 5px;

    color: #fff;

    text-decoration: none;

    font-size: 12px;

    font-weight: 500;

    border-right: 1px solid rgba(255, 255, 255, 0.2);

    transition: all 0.3s ease;
  }

  .contact-btn:last-child {
    border-right: none;
  }

  .contact-btn span {
    display: block;

    margin-top: 3px;

    font-size: 12px;
  }

  .contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
  }

  /* ======footer-section====== */

  .footer-section {
    padding-bottom: 100px;
  }
}

@media (max-width: 767px) {
  .p1 {
    padding: 45px 15px;
  }

  /* =======header-section============ */

  .main-logo {
    border-right: 1px solid #fff;
  }

  .logo-right-sec img,
  .logo-left-sec img {
    height: 25px;
  }

  .header-section {
    padding: 15px 15px;
  }

  nav.main-menu {
    width: 100%;
  }

  /* =======banner-section============ */

  .banner-containt {
    padding: 15px;
  }

  .banner-containt h1 {
    font-size: 30px;
  }

  section#overview h1 {
    font-size: 20px;

    text-align: center;
  }

  .apex-content .d-flex {
    height: 300px;
  }

  .apex-image {
    width: 100%;

    height: 100%;
  }

  .banner-containt {
    bottom: 5%;
  }

  /* =======overview-section======= */

  .apex-content {
    margin: 25px 0;

    width: 100%;
  }

  .apex-image-sec {
    flex-direction: column;

    justify-content: center !important;

    align-items: center !important;

    text-align: center;

    height: 300px;
  }

  .apex-image,
  .apex-image img {
    height: 100%;
  }

  .apex-image img {
    object-fit: cover;
  }

  .apex-btn {
    margin-top: 25px;
  }

  section#highlights .container-fluid.p1 {
    padding-bottom: 60px;
  }

  /* ========highlight-section======= */

  .card {
    min-width: calc(100% / 1 - 0px);

    box-sizing: border-box;

    padding: 5px;

    border: none;

    background: transparent;

    margin-bottom: 20px;
  }

  .prev,
  .next {
    top: 100%;

    margin: 0 15px;
  }

  button.prev {
    left: 35%;
  }

  button.next {
    left: 53%;
  }

  .header.py-3 h2 {
    font-size: 22px;

    margin-bottom: 10px !important;
  }

  .card p {
    font-size: 13px;
  }

  /* =======price section======= */

  .pricing-grid {
    display: grid;

    grid-template-columns: repeat(1, 1fr);

    gap: 40px;
  }

  .pricing-section {
    padding: 25px 20px 45px;
  }

  .pricing-header .header h2 {
    font-size: 20px;
  }

  .pricing-header .header h2 {
    width: 100%;
  }

  .container-fluid.pricing-header.p1 {
    height: 161px;
  }

  /* ======floor-section======== */

  .cards {
    grid-template-columns: 1fr;
  }

  .floor-section {
    padding: 0;
  }

  .floor-content {
    grid-template-columns: 1fr;
  }

  .tabs {
    width: 100%;
    gap: 5px;
  }

  .tab {
    padding: 10px 1px;

    font-size: 11px;

    width: 100%;
  }

  .floor-image,
  .floor-details {
    width: 100%;

    text-align: center;
  }

  ul.features {
    text-align: center;
  }

  .floor-image img {
    width: 100%;
  }

  .box strong {
    font-size: 16px;
  }

  /* ======aminities-section====== */

  .features-table {
    width: 100%;
    border-collapse: collapse;
    position: relative; /* 🔥 important */
  }

  .features-table td:nth-child(2) {
    width: 100%;
  }

  .feature-item h4 {
    font-size: 14px;
  }
  .features-table td {
    width: 47%;
  }
  .features-table::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(13, 77, 161, 0.1),
      rgba(13, 77, 161, 1),
      rgba(13, 77, 161, 0.1)
    );
  }
  .features-table td:not(:last-child)::before {
    height: 80%;
    background: linear-gradient(
      180deg,
      rgba(13, 77, 161, 0.1),
      rgba(13, 77, 161, 1),
      rgba(13, 77, 161, 1)
    );
  }
  .features-table td:not(:last-child)::before {
    display: none;
  }
  .features-table tr.sec-tr td:not(:last-child)::before {
    top: 0;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(13, 77, 161, 1),
      rgba(13, 77, 161, 1),
      rgba(13, 77, 161, 1)
    );
  }

  .features-table tr.sec-last td:not(:last-child)::before {
    top: 0;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(13, 77, 161, 1),
      rgba(13, 77, 161, 1),
      rgba(13, 77, 161, 0.1)
    );
  }

  .features-section {
    padding: 20px 0;
  }

  /* ======gallery-section ===== */

  /* .parent {

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    grid-auto-rows: minmax(150px, auto);

    gap: 10px;

    height: 540px;

  }

  .parent div img {

    width: 100%;

    height: 100%;

    object-fit: cover;

  }



  .div1 {

    grid-column: span 2;

    grid-row: span 1;

  }



  .div2 {

    grid-column: span 1;

    grid-row: span 1;

  }



  .div3 {

    grid-column: span 1;

    grid-row: span 1;

  }



  .div4 {

    grid-column: span 1;

    grid-row: span 1;

  }



  .div5 {

    grid-column: span 1;

    grid-row: span 1;

  } */

  .col-md-7,
  .col-md-5 {
    width: 100%;

    padding: 0;
  }

  .gallery-top-group {
    flex-direction: column;
  }

  .div1 {
    height: 220px;
  }

  .right-group {
    flex-direction: row;

    gap: 10px;
  }

  .div2,
  .div3 {
    flex: 1;

    height: 150px;
  }

  .gallery-bottom-group {
    flex-direction: row;

    gap: 10px;
  }

  .div4,
  .div5 {
    flex: 1;

    height: 150px;
  }

  /* =======location-section========= */

  .location-sec {
    padding: 70px 0;
  }

  .loc-banner {
    height: 250px;
  }

  .item {
    width: 100%;
  }

  .item h4 {
    font-size: 16px;
  }

  .advantages {
    gap: 10px;
  }

  section.location-section img.loc-banner {
    height: 225px;
  }

  .item p {
    font-size: 12px;

    color: #000;
  }

  /* ======Legacy Of Excellence========== */

  .legacy-stats {
    gap: 10px;

    flex-wrap: nowrap;
  }

  .title {
    font-size: 24px;
  }

  .legacy-title {
    font-size: 28px;
  }

  .legacy-desc {
    font-size: 14px;

    text-align: justify;
  }

  .stat-box span {
    font-size: 20px;
  }

  .stat-box {
    padding: 15px 0px;

    background: transparent;

    min-width: 110px;
  }

  .stat-box p {
    font-size: 12px;
  }

  .legacy-section .container {
    max-width: 100%;

    padding: 0;
  }

  /* ======contact-form======== */

  .contact-section form .row {
    display: block;
  }

  .form-box {
    padding: 20px;
  }

  .contact-section {
    padding: 80px 0px;
  }

  .contact-section h2 {
    font-size: 24px;

    margin-bottom: 30px;
  }

  .disclaimer {
    text-align: justify;
  }

  .footer-bottom2 {
    display: grid;

    grid-template-columns: 1fr;

    gap: 10px;

    font-size: 12px;

    color: #b8c3d1;
  }
  .footer-bottom2.d-grid.d-lg-none span a {
    font-size: 12px;
    color: #fff;
  }
  .footer-bottom2 span:nth-child(3) {
    grid-column: span 2; /* full width */

    text-align: center;
  }

  .footer-section {
    padding: 30px 0px 65px;
  }

  .footer-bottom2 span,
  .footer-bottom2 span strong {
    font-size: 10px;
  }

  /* =====popup-form==== */

  .modal-content.p-4.position-relative {
    padding: 0 !important;
  }
  .enquiry-section h3 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #fff;
    text-align: center;
}
}

@media only screen and (orientation: landscape) and (max-height: 650px) {
  .enquiry-section p {
    margin-bottom: 15px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .enquiry-section h3 {
    margin-bottom: 15px;
  }
}
