@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;
  }
  /* =========floor-sertion========== */
  .tabs {
    width: 75%;
  }

  /* ========location-section========== */
  section.location-section img.loc-banner {
    height: 420px;
  }
  .location-sec .container {
    max-width: 100%;
  }
  .form-group {
    margin-bottom: 17px;
  }
  .form-group input,
  .form-group textarea {
    padding: 11px;
  }
}

@media (max-height: 660px) {
  ul.menu {
    overflow: scroll;
    height: 460px;
  }
}

@media (max-width: 1366px) {
  h1 {
    font-size: 45px;
  }
  .item p {
    font-size: 13px;
    color: #000;
  }

  .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%;
  }
  .tab {
    padding: 15px 32px;
  }
  /* ======floor-section======= */
  .floor-image {
    width: 89%;
    margin: 0 auto;
    height: 88%;
    text-align: right;
  }
  .floor-image img {
    margin: 0 auto;
    width: 100%;
  }

  /* =========price section========== */
  .container-fluid.pricing-header.p1 {
    height: 325px;
  }

  .info span,
  .info strong {
    font-size: 16px;
  }
  /* ========location-section========== */
  section.location-section img.loc-banner {
    height: 390px;
  }
}

@media (max-width: 1280px) {
  /* ==========banner-section=========== */
  .logo-right-sec img,
  .logo-left-sec img {
    height: 40px;
  }

  .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;
  }
  /* =========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;
    display: none !important;
  }

  .mob-content p strong {
    font-size: 25px;
    font-weight: 700;
  }

  .mob-content p.pric-mob-sec {
    font-size: 18px;
    padding-bottom: 15px;
    position: relative;
  }

  .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: 16px;
    padding-top: 15px;
    font-weight: bold;
  }

  .banner-image-section,
  .banner-right-section {
    width: 100%;
  }

  .banner-image-section img {
    /* height: 74vh; */
    height: auto;
  }

  .banner-right-section {
    padding: 30px 20px;
  }

  .banner-right-section {
    display: block;
    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-color: #000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 998;
  }

  .contact-btn {
    flex: 1;
    text-align: center;
    padding: 10px 5px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    border-right: 1px solid #fff;
    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: #fff;
    color: #000;
  }


.contact-btn img {
    filter: brightness(0) invert(1); /* white icon default */
    transition: 0.3s;
}

.contact-btn:hover img {
    filter: brightness(0) invert(0); /* turns black on hover */
}

  /* ======footer-section====== */
  .footer-section {
    padding-bottom: 100px;
  }
}

@media (max-width: 767px) {
  .location-sec h2,
  .selling-points-page h2 {
    font-size: 24px;
  }
  .writer-testi p {
    font-size: 20px !important;
    color: #ffffff !important;
    font-weight: 600 !important;
  }
  .gallery-section h2 {
    font-size: 24px;
  }
  .testimonial-section h2 {
    font-size: 24px;
  }
  .p1 {
    padding: 45px 15px;
  }
  /* =======header-section============ */
 /* .main-logo {
    border-right: 1px solid #fff;
  }*/

  .logo-right-sec img,
  .logo-left-sec img {
    height: 35px;
    filter: brightness(84.5);
  }

  .header-section {
    padding: 15px 15px;
  }

  nav.main-menu {
    width: 100%;
  }

  /* =======banner-section============ */
  .banner-containt {
    padding: 15px;
  }

  .banner-containt h1 {
    font-size: 35px;
  }

  section#overview h1 {
    font-size: 20px;
    text-align: center;
  }

  .apex-content .d-flex {
    height: 200px;
    justify-content: start !important;
  }

  .card h3 {
    font-size: 18px;
  }
  .features-table tbody {
    width: 100%;
    display: inline-block;
  }
  .features-table tr {
    width: 100%;
    display: inline-flex;
  }
  ul.menu > li.menu-items > a {
    padding: 12px 0;
    font-size: 15px;
  }
  .apex-image {
    width: 100%;
    height: 100%;
  }
  .banner-containt {
    bottom: 7%;
  }
  /* =======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: left;
  }
  .floor-image img {
    width: 100%;
  }
  /* ======aminities-section====== */
  .features-table td {
    width: 50%;
  }
  .features-section {
    padding: 0px 0;
  }
  .features-table td::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 100%;
    background: linear-gradient(
      180deg,
      rgba(13, 77, 161, 0.137) 0%,
      rgba(13, 77, 161, 1) 50%,
      rgba(13, 77, 161, 1) 100%
    );
  }

  .features-table tr.sec-tr td::before {
    background: rgba(13, 77, 161, 1);
  }
  .feature-item h4 {
    font-size: 14px !important;
  }
  .features-table td {
    padding: 40px 10px;
  }

  /* ======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%;
  }
  .form-box .row {
    display: block;
  }

  .footer-bottom2 span a {
    color: #b8c3d1;
    transition: 0.3s;
  }
  .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: 14px;
  }

  .legacy-title {
    font-size: 24px;
  }

  .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: 40px 0px;
  }
  .contact-section h2 {
    font-size: 24px;
    margin-bottom: 30px;
  }
  .disclaimer {
    text-align: justify;
  }
  .footer-bottom2 {
    display: block;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 12px;
    color: #b8c3d1;
  }

  .footer-bottom2 span:nth-child(3) {
    grid-column: span 2; /* full width */
    text-align: center;
  }

  .footer-section {
    padding: 30px 0px 65px;
  }
  .footer-bottom2 span strong {
    font-size: 10px;
  }

  /* =====popup-form==== */
  .modal-content.p-4.position-relative {
    padding: 0 !important;
  }
  .features li {
    text-align: center;
  }
  .pricing-card .info .price,
  .pricing-card .info .size {
    flex-direction: column;
    gap: 12px 0;
  }
  .testimonial-carousel .owl-dots {
    display: block !important;
    text-align: center;
    margin-top: 20px;
  }

  .testimonial-carousel .owl-nav {
    display: block !important;
  }

  .testimonial-carousel .owl-dots {
    text-align: center;
    margin-top: 20px;
  }

  .testimonial-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #ccc;
    display: block;
    border-radius: 50%;
  }

  .testimonial-carousel .owl-dot.active span {
    background: #2d3f32; /* match your theme */
  }

  .testimonial-carousel.owl-carousel .owl-nav.disabled {
    display: none !important;
  }

  .legacy-section .legacy-card {
    flex-direction: column;
  }

  .pricing-card .top {
    justify-content: center;
  }

  .legacy-section .developer-card {
    margin-bottom: 20px;
  }

  .hembargur {
    color: #fff;
    background: transparent;
    border: none;
  }

  .apex-content .d-flex .col-xl-4 {
    width: 100%;
    display: flex;
  }

  .enquiry-section h3{
    font-size: 25px;
  }

  .footer-bottom{
    justify-content: center;
  }

  .footer-bottom span{
    margin: 0px 10px;
  }
}

@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;
  }
  .enquiry-section h3 {
    font-size: 24px;
  }

  
}

/* ===== Lead Form Consistency ===== */

.mini-enquiry-section,
.form-box.luxury-footer-form,
.luxury-modal .luxury-modal-content {
  --lead-form-gap: 16px;
  --lead-form-radius: 14px;
  --lead-form-field-height: 56px;
  --lead-form-phone-prefix-width: 84px;
  --lead-form-padding-x: 18px;
}

.luxury-form-wrapper {
  align-items: center;
}

.mini-enquiry-section,
.form-box.luxury-footer-form {
  width: 100%;
}

.form-box.luxury-footer-form {
  max-width: 480px;
  margin-inline: auto;
  text-align: left;
}

.mini-enquiry-section > div,
.luxury-footer-form > div,
#popupForm {
  width: 100%;
}

.mini-enquiry-section {
  padding: 32px 28px;
  box-sizing: border-box;
}

.mini-enquiry-section h3,
.mini-enquiry-section .form-subtitle,
.luxury-modal .modal-heading h3 {
  margin: 0;
  text-align: center;
}

.mini-enquiry-section h3 {
  font-size: 30px;
  line-height: 1.18;
}

.mini-enquiry-section .form-subtitle {
  line-height: 1.6;
}

.mini-enquiry-section,
.mini-enquiry-section > div,
.luxury-footer-form > div,
.luxury-modal .modal-body,
#popupForm {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--lead-form-gap);
}

.luxury-modal .modal-dialog {
  width: min(100% - 28px, 520px);
  max-width: 520px;
  margin: 1rem auto;
}

.luxury-modal .luxury-modal-content {
  overflow: visible;
}

.luxury-modal .modal-body {
  padding: 32px 28px 28px;
}

.luxury-modal .modal-body > .text-center.mb-4,
.luxury-modal .modal-heading {
  margin-bottom: 0 !important;
}

.luxury-modal .pop-img {
  display: block;
  width: min(180px, 55vw);
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.mini-enquiry-section .form-group,
.luxury-footer-form .form-group,
#popupForm .form-group {
  width: 100%;
  margin: 0;
}

.mini-enquiry-section .form-group > div,
.luxury-footer-form .form-group > div,
#popupForm .form-group > div {
  display: flex !important;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

.mini-enquiry-section .form-group input,
.luxury-footer-form .form-group input,
#popupForm .form-group input {
  width: 100%;
  min-width: 0;
  height: var(--lead-form-field-height);
  padding: 0 var(--lead-form-padding-x);
  border-radius: var(--lead-form-radius);
  font-size: 14px;
  line-height: 1.2;
  border: 1px solid #ddd;
  box-shadow: none;
}

.mini-enquiry-section .form-group input::placeholder,
.luxury-footer-form .form-group input::placeholder,
#popupForm .form-group input::placeholder {
  color: #8a8a8a;
}

.mini-enquiry-section .form-group input:focus,
.luxury-footer-form .form-group input:focus,
#popupForm .form-group input:focus {
  transform: none;
}

.mini-enquiry-section .form-group > div > input:first-child,
.luxury-footer-form .form-group > div > input:first-child,
#popupForm .form-group > div > input:first-child {
  width: var(--lead-form-phone-prefix-width) !important;
  min-width: var(--lead-form-phone-prefix-width);
  max-width: var(--lead-form-phone-prefix-width);
  padding: 0 10px;
  text-align: center;
  font-weight: 500;
  color: #5f4a20;
  background: #f4f4f4;
}

.mini-enquiry-section .form-group > div > input:last-child,
.luxury-footer-form .form-group > div > input:last-child,
#popupForm .form-group > div > input:last-child {
  flex: 1 1 auto;
  width: auto !important;
}

.mini-enquiry-section .form-group > div > input:disabled,
.luxury-footer-form .form-group > div > input:disabled,
#popupForm .form-group > div > input:disabled {
  opacity: 1;
  cursor: default;
}

.side-query-box,
.modal-query-box,
.footer-query-box {
  position: relative;
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px;
  width: 100%;
  margin: 0;
  text-align: left;
}

.side-query-box input,
.modal-query-box input,
.footer-query-box input {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin: 3px 0 0;
  flex: 0 0 18px;
  accent-color: var(--gold-color);
}

.side-query-box br,
.modal-query-box br,
.footer-query-box br {
  display: none;
}

.terms-and-condition-block,
.footerterms-and-condition-block {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
}

.sidecondition-label,
.condition-label,
.footerterms-and-condition-block label {
  display: block;
  margin: 0;
  font-size: 12px;
  line-height: 1.6;
  color: #666;
}

.sidecondition-label,
.condition-label {
  color: #444;
  font-weight: 500;
  cursor: pointer;
}

.check-box,
.sidecheck-box {
  top: calc(100% + 10px);
  left: 0;
  width: min(320px, 100%);
  max-width: min(320px, calc(100vw - 56px));
  padding: 10px 12px;
  border-radius: 12px;
  background: #111;
  color: #fff !important;
  font-size: 11px;
  line-height: 1.5;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  z-index: 20;
}

.mini-enquiry-section div[align="center"],
.luxury-footer-form div[align="center"],
#popupForm div[align="center"] {
  width: 100%;
  margin-top: 4px;
}

.mini-enquiry-section .SubmitQuery1,
.luxury-footer-form .SubmitQuery1,
#popupForm .SubmitQuery1 {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  margin: 0;
  text-align: center;
}

@media (max-width: 991px) {
  .form-box.luxury-footer-form {
    max-width: 540px;
  }

  .mini-enquiry-section {
    max-width: 520px;
    margin-inline: auto;
  }
}

@media (max-width: 767px) {
  .mini-enquiry-section,
  .form-box.luxury-footer-form,
  .luxury-modal .luxury-modal-content {
    --lead-form-gap: 14px;
    --lead-form-field-height: 52px;
    --lead-form-phone-prefix-width: 74px;
  }

  .mini-enquiry-section,
  .form-box.luxury-footer-form {
    padding: 24px 18px;
  }

  .mini-enquiry-section h3 {
    font-size: 24px;
  }

  .luxury-modal .modal-dialog {
    width: calc(100% - 20px);
    margin: 0.75rem auto;
  }

  .luxury-modal .modal-body {
    padding: 24px 18px;
  }

  .check-box,
  .sidecheck-box {
    max-width: calc(100vw - 40px);
  }
}




