@media screen and (max-width: 992px) {
  .properties-details-content .col-3,
  .properties-details-content > .col-9 {
    width: 100% !important;
  }

  .navbar-brand {
    width: 120px;
  }
  .banner-section {
    padding: 17px 20px;
  }
  .banner-content {
    margin-top: 20px;
  }

  .banner-content > h1 {
    font-size: 40px;
  }

  .floating-search {
    top: 495px;
    z-index: 10;
  }

  .floating-search-divider {
    display: none;
  }

  .form-row:last-child > .form-group:first-child,
  .form-row:last-child > .form-group:last-child {
    width: 100%;
  }

  .price-range,
  .room-type,
  .price-range > .currency-selector {
    width: 100%;
  }

  .apartment-content {
    margin-top: 160px;
  }

  .about-section {
    padding-block: 180px 30px;
  }

  .floating-search1 {
    top: 340px;
    z-index: 10;
  }

  .about-text-content > h3 {
    font-size: 26px;
  }
  .about-text-content > p {
    font-size: 15px;
  }

  .stat-number {
    font-size: 22px;
  }

  .stat-label {
    font-size: 9px;
  }
  .divider2,
  .testimonial-card > span {
    display: none;
  }

  .form-area,
  .form-row:first-child,
  .form-row:last-child {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .slider-container {
    width: 100%;
  }
  .get-in-touch-content {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }

  .get-in-touch-content-left {
    align-items: center !important;
    padding-block: 20px;
  }

  .contact-area {
    align-self: center !important;
  }

  .get-in-touch-content-left > h2 {
    font-size: 40px !important;
  }

  .get-in-touch-content-left > p {
    font-size: 14px !important;
    margin-top: 10px !important;
  }

  .floating-filter-btn {
    display: none !important;
  }

  .property-sidebar-form {
    position: static;
    width: 100%;
    height: auto;
    max-width: none;
    padding: 19px 22px 22px 25px;
    box-shadow: none;
    right: 0;
  }

  .properties-section {
    padding: 0 15px;
  }

  .properties-swiper {
    padding: 0;
  }

  .properties-details-section {
    padding-top: 250px;
  }

  .properties-details-content {
    flex-direction: column;
  }

  .property-card-title {
    font-size: 22px;
  }

  .property-card-description,
  .property-card-location {
    font-size: 14px;
  }

  #propertySidebarForm {
    display: none;
  }

  .commitment-content {
    gap: 30px;
  }

  .txt-overlay1 {
    padding: 8px;
  }

  .txt-overlay-content > h3 {
    font-size: 12px;
  }

  .txt-overlay-content > p {
    font-size: 9px;
  }

  .property-apply-btn {
    margin-top: 0 !important;
    font-size: 11px;
    padding: 10px;
  }

  #propertyDropdownFilters {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .property-select-dropdown,
  .dropdown-toggle {
    font-size: 9px;
  }

  .overlay {
    padding: 25px;
  }

  .overlay > p {
    font-size: 30px;
  }

  .top-img2 > img,
  .bottom-img2,
  .bottom-img2 > img,
  .commitment-image-container > img,
  .commitment-image-container {
    border-radius: 30px;
  }

  .banner-wrppr,
  .banner-wrppr1,
  .banner-wrppr2 {
    border-radius: 15px;
  }

  .btn-search {
    margin-top: 15px;
  }

  .commitment-text-content > p {
    font-size: 16px;
    margin-block: 10px 20px;
  }

  .vision-area, .mission-area{
    text-align: center;
  }

  .vision-area > h4, .mission-area > h4{
    font-size: 18px;
  }

  .vision-area > p, .mission-area > p{
    font-size: 15px;
  }

}
@media screen and (max-width: 768px) {
  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12 {
    width: 100% !important;
  }

  .nav-links,
  .nav-btns {
    display: none;
  }

  .navbar-brand {
    position: static;
    margin-left: 65px;
  }

  .btn-login {
    background: var(--color-primary);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    text-transform: uppercase;
    font-size: 16px;
  }

  .navbar {
    flex-direction: row;
    padding: 20px;
  }

  .nav-logo {
    width: 100px;
  }

  .footer-content,
  .newsletter-area,
  .newsletter-form {
    flex-direction: column;
    gap: 30px;
  }

  .col-20 {
    width: 30% !important;
  }

  .apartment-content > h3 {
    font-size: 28px;
  }

  .commercial,
  .residential,
  .villa,
  .apartment,
  .warehouse {
    margin-bottom: 30px;
  }

  .txt-overlay-row1 > h3 {
    font-size: 16px;
  }

  .form-row:first-child > .form-group:first-child,
  .form-row:first-child > .form-group:nth-child(2),
  .form-row:first-child > .form-group:nth-child(3),
  .form-row:last-child > .form-group:first-child,
  .form-row:last-child > .form-group:nth-child(3) .form-row > .slider-container,
  .form-row > .room-type,
  .property-listings-grid {
    width: 100%;
  }
  .properties-details-content {
    flex-direction: column;
  }

  .menu {
    display: flex !important;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 21px;
    position: relative;
    cursor: pointer;
    z-index: 10001;
  }

  .menu span {
    position: absolute;
    height: 3px;
    width: 100%;
    background: #333;
    border-radius: 2px;
    transition: all 0.3s ease-in-out;
  }

  .menu span:nth-child(1) {
    top: 0;
  }
  .menu span:nth-child(2) {
    top: 9px;
  }
  .menu span:nth-child(3) {
    top: 18px;
  }

  .menu.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
  }
  .menu.open span:nth-child(2) {
    opacity: 0;
  }
  .menu.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
  }

  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transform: translateY(-100%);
    transition: all 0.4s ease-in-out;
    opacity: 0;
    pointer-events: none;
    z-index: 9999;
  }

  .mobile-overlay.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .close-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 32px;
    background: none;
    border: none;
    color: #333;
    cursor: pointer;
    z-index: 10000;
  }

  .mobile-menu-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
  }

  .mobile-menu-content ul {
    list-style: none;
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .mobile-menu-content ul li a {
    font-family: "Lato", sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 24px;
    color: var(--color-dark-grey-3);
    transition: color 0.3s ease-in-out;
  }

  .header-section > div > div {
    margin: 15px 0;
  }
  .banner-content {
    margin-top: 30px;
  }

  .banner-content > h1 {
    font-size: 32px;
  }

  .about-section {
    padding-block: 120px 30px;
  }

  .services-section-content {
    margin-top: 60px;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .services-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .testimonials-section-content > h3 {
    font-size: 28px;
  }

  .testimonials-section-header > a {
    font-size: 16px;
  }

  .testimonial-card {
    position: absolute;
    right: -20px !important;
    padding: 12px;
    width: calc(100vh - 54%);
    right: -50px;
    z-index: 999;
  }
  .testimonial-card > p {
    font-size: 13px;
    line-height: 130%;
  }

  .author h4 {
    font-size: 14px;
    line-height: 120%;
  }

  /* About page specific styles for medium screens */

  .about-text-content {
    align-items: center;
    text-align: center;
    margin-block: 30px;
  }

  .about-text-content > h3,
  .commitment-text-content > h3,
  .teams-section-content > h3 {
    font-size: 28px;
  }

  .about-section-content > p,
  .commitment-text-content > p {
    font-size: 16px;
  }

  .text-container > h3,
  .vision-area > h4,
  .mission-area > h4 {
    font-size: 20px;
  }

  .bottom-img2 {
    border-radius: 15px;
  }

  .bottom-img2 > img {
    border-radius: 15px;
  }

  .companies-section {
    margin: 0 20px;
  }

  .modal-overlay {
    padding: 1rem;
    justify-content: center;
    align-items: center;
  }

  .modal {
    width: 100%;
  }

  .modal-btn {
    font-size: 12px;
  }

  .about-section-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .stats-row {
    gap: 30px;
  }

  .teams-section-cards {
    flex-direction: column;
    gap: 20px;
  }

  .txt-overlay1 {
    padding: 12px 19px 13px 20px;
  }

  .txt-overlay-content > h3 {
    font-size: 16px;
  }

  .txt-overlay-content > p {
    font-size: 14px;
  }

  .about-us-section-content {
    flex-direction: column;
    gap: 40px;
  }

  #propertyDropdownFilters {
    flex-direction: column;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
  }

  .services-section-content > h3 {
    font-size: 26px;
    margin-bottom: 20px;
  }

  .services-section-content > p:nth-of-type(1),
  .services-section-content > p:nth-of-type(2) {
    font-size: 14px;
  }

  .property-btn {
    max-width: 226px;
    font-size: 16px;
  }

  .listings {
    max-width: 176px;
    font-size: 16px;
  }

  .commitment-content {
    flex-direction: column;
  }
  .commitment-text-content {
    align-items: center;
  }

  .overlay {
    top: 45%;
    right: 130px;
    padding: 15px;
  }

  .overlay > p {
    font-size: 24px;
  }

  .overlay > p > span {
    font-size: 12px;
  }
  .top-img2 > img,
  .bottom-img2,
  .bottom-img2 > img,
  .commitment-image-container > img,
  .commitment-image-container {
    border-radius: 25px;
  }

  .banner-wrppr,
  .banner-wrppr1,.banner-wrppr2{
    border-radius: 10px;
  }
}

@media screen and (max-width: 576px) {
  .header-section {
    top: 10px;
  }

  .header-section > div {
    padding: 0;
  }

  .banner-section {
    padding: 10px;
  }

  .navbar {
    padding: 10px;
  }

  .nav-logo {
    width: 80px;
  }

  .btn-search {
    font-size: 16px;
  }

  .properties-section-content-header {
    flex-direction: column;
    width: 100%;
  }

  .services-section-header > a {
    font-size: 16px;
  }

  .bottom-img1 {
    width: 50%;
    border-radius: 15px;
  }

  .services-content {
    margin-top: 60px;
  }

  .banner-content {
    margin-top: -40px;
  }

  .banner-content > h1 {
    font-size: 28px;
  }

  .banner-content > p {
    font-size: 16px;
    margin-top: 5px;
  }

  .apartment-search {
    top: -225px;
  }

 

  .apartment-content > h3 {
    font-size: 26px;
    text-align: center;
  }

  .col-20 {
    width: 45% !important;
  }

  .commercial,
  .residential,
  .villa,
  .apartment,
  .warehouse {
    margin-bottom: 40px;
  }

  .testimonial-card {
    max-width: calc(100vw - 250px) !important;
    right: -10px !important;
    padding: 12px;
    transform: translateY(-50%) !important;
    position: absolute !important;
    border-radius: 10px;
  }

  .testimonial-card > p {
    font-size: 10px;
  }

  .author-img {
    width: 30px;
    height: 30px;
  }

  .author h4 {
    font-size: 12px;
  }

  .author > div {
    width: 60%;
  }
  .star {
    width: 12px;
    height: 12px;
  }

  .bottom-img2 {
    right: -40px;
    width: 50%;
    bottom: -20px;
    border-radius: 15px;
  }

  .bottom-img2 > img {
    border-radius: 15px;
  }

  .property-btn {
    font-size: 14px;
    max-width: 200px;
  }

  /* About page specific mobile styles */
  .about-section {
    padding-block: 100px 40px;
  }

  .image-container {
    max-width: 100%;
  }

  .bottom-img2 {
    right: -30px;
    width: 45%;
    bottom: -15px;
    border-radius: 12px;
  }

  .bottom-img2 > img {
    border-radius: 12px;
  }

  .properties-content-header {
    flex-direction: column;
    align-items: center;
  }

  .about-section-content > h3,
  .services-section-content > h3,
  .properties-content-header > h3 {
    font-size: 22px;
    margin-bottom: 15px;
  }

  .about-section-content > p,
  .services-section-content > p:nth-of-type(1),
  .services-section-content > p:nth-of-type(2) {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .text-container > h3 {
    font-size: 18px;
  }

  .text-container > p {
    font-size: 16px;
  }

  .stats-row {
    gap: 20px;
  }

  .stat-card {
    width: 100%;
    max-width: 280px;
  }

  .commitment-section {
    padding: 40px 0;
  }

  .commitment-text-content {
    text-align: center;
  }

  .commitment-text-content > h3 {
    font-size: 24px;
    margin-bottom: 15px;
  }

  .commitment-text-content > p {
    font-size: 16px;
    margin-bottom: 25px;
  }

  .mission-vision-area {
    flex-direction: column;
    gap: 20px;
  }

  .vision-area > h4,
  .mission-area > h4 {
    font-size: 18px;
  }

  .vision-area > p,
  .mission-area > p {
    font-size: 16px;
  }

  .teams-section {
    margin: 10px;
    padding: 30px 20px;
    border-radius: 20px;
  }

  .teams-section-content > h3 {
    font-size: 24px;
    margin-bottom: 30px;
  }

  .txt-overlay {
    padding: 10px;
  }

  .txt-overlay-row1 > h3 {
    font-size: 13px;
  }

  .txt-overlay-content > h3 {
    font-size: 16px;
  }

  .txt-overlay-content > p {
    font-size: 14px;
  }

  .rating > span,
  .location > span {
    font-size: 11px;
  }

  .detail-btn {
    font-size: 10px;
    padding: 5px;
  }

  .commercial > h5,
  .residential > h5,
  .villa > h5,
  .apartment > h5,
  .warehouse > h5 {
    font-size: 14px;
    line-height: 18px;
  }

  .commercial > p,
  .residential > p,
  .villa > p,
  .apartment > p,
  .warehouse > p {
    font-size: 10px;
    line-height: 12px;
  }

  .call-icon {
    width: 26px;
    height: 26px;
    padding: 5px;
  }

  .companies-section {
    margin: 0 10px;
  }

  .newsletter-area {
    padding: 20px;
  }

  .newsletter-area-header > h5 {
    font-size: 26px;
    margin-bottom: 20px;
    text-align: center;
  }

  .newsletter-form {
    gap: 15px;
  }

  .newsletter-input {
    padding: 12px 15px;
    font-size: 14px;
  }

  .subscribe-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .scrl-wrpr {
    margin: 15px 0;
  }

  .img-item {
    height: 50%;
  }

  .img-item > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .testimonials-section-content > h3 {
    font-size: 24px;
  }
  .companies-section-content > h5 {
    font-size: 18px;
    text-align: center;
  }
  .footer-left > p {
    font-size: 16px;
  }

  .footer-center > ul > li > a {
    font-size: 16px;
  }

  .bottom-img2 {
    right: -20px;
    width: 40%;
    bottom: -10px;
    border-radius: 10px;
  }

  .bottom-img2 > img {
    border-radius: 10px;
  }

  .banner-content > h1 > span {
    font-size: 24px;
  }

  .about-section-content > h3,
  .commitment-text-content > h3,
  .teams-section-content > h3 {
    font-size: 22px;
  }

  .teams-section {
    margin: 5px;
    padding: 25px 15px;
  }

  .newsletter-area {
    padding: 15px;
  }

  .property-listing-card,
  .property-listing-card2 {
    flex-direction: column;
    align-items: center;
  }

  .subfooter-content {
    flex-direction: column;
    gap: 15px;
  }
  .subfooter-content-right {
    gap: 15px;
  }
  .form-row1 {
    flex-direction: column;
  }

  .faq-question > span {
    font-size: 14px !important;
  }

  .faq-answer-content > p {
    font-size: 12px !important;
  }

  .bottom-img1 > img {
    border-radius: 15px;
  }

  .top-img2 > img {
    border-radius: 25px;
  }
  .testimonials-section {
    padding: 0 15px;
  }

  .testimonials-image > img {
    border-radius: 15px;
  }

  .overlay {
    top: 50%;
    right: 80px;
  }

  .about-text-header > a,
  .properties-section-header > a,
  .services-section-header > a,
  .testimonials-section-header > a,
  .commitment-section-header > a,
  .teams-section-header > a,
  .get-in-touch-content-header > span {
    font-size: 18px;
  }

  .top-img2 > img,
  .bottom-img2,
  .bottom-img2 > img,
  .commitment-image-container > img,
  .commitment-image-container {
    border-radius: 20px;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    text-align: center;
    align-items: center !important;
  }

  .property-image-row {
    justify-content: center !important;
  }
  .banner-wrppr2 {
    border-radius: 10px !important;
  }
  
  .contact-form-area{
    padding: 10px !important;
  }
}

@media screen and (max-width: 400px) {
  .testimonial-card {
    max-width: calc(100vw - 168px) !important;
    right: -10px !important;
    padding: 8px;
    transform: translateY(-50%) !important;
    position: absolute !important;
    border-radius: 10px;
  }

  .property-section-card-img > img,
  .txt-overlay {
    border-radius: 15px;
  }

  .testimonial-card > p {
    font-size: 7px;
  }

  .stats-row {
    flex-direction: column;
  }

  .txt-overlay-content > h3 {
    font-size: 13px;
  }
  .txt-overlay-content > p {
    font-size: 10px;
  }

  .about-text-header > a,
  .properties-section-header > a,
  .services-section-header > a,
  .testimonials-section-header > a,
  .commitment-section-header > a,
  .teams-section-header > a,
  .get-in-touch-content-header > span {
    font-size: 14px;
  }

  .overlay {
    top: 45%;
    right: 30px;
    padding: 10px;
  }
  .overlay > p {
    font-size: 18px;
  }

  .overlay > p > span {
    font-size: 10px;
  }

  .top-img2 > img,
  .bottom-img2,
  .bottom-img2 > img,
  .commitment-image-container > img,
  .commitment-image-container {
    border-radius: 15px;
  }
}
