* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background-color: #b9171c;
  color: white;
}

body {
  font-family: "Inter Tight", sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  width: 100%;
  top: 1rem;
  z-index: 1000;
  padding-inline: 10px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  background-color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1025px) {
  .navbar-container {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: transparent;
    box-shadow: none;
  }
  
  .navbar-container:hover {
    background-color: rgb(255, 255, 255);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
}

/* Logo text hover effect only needed for larger screens */
@media (min-width: 1025px) {
  .navbar-container:hover .primary-logo {
    opacity: 0;
  }
  .navbar-container:hover .secondary-logo {
    opacity: 1;
  }
}

.navbar-container.scrolled {
  background-color: rgb(255, 255, 255);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Scrolled state for logo switching only needed for larger screens */
@media (min-width: 1025px) {
  .navbar-container.scrolled .primary-logo {
    opacity: 0;
  }
  .navbar-container.scrolled .secondary-logo {
    opacity: 1;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  position: relative;
  width: auto;
}

.logo-img {
  height: 60px; /* Adjust the height as needed */
  width: auto;
  object-fit: contain;
  transition: all 0.3s ease;
  max-width: 100%;
  position: relative;
}

.primary-logo {
  opacity: 1;
  z-index: 1;
}

.secondary-logo {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: 2;
}

/* Logo responsive styles */
@media (max-width: 1024px) {
  .primary-logo {
    opacity: 0;
  }
  .secondary-logo {
    opacity: 1;
  }
}

/* Second logo-container definition removed to prevent duplicates */



.right-group {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.auth-button {
  display: flex;
  align-items: center;
  gap: 0.5rem; /* Adjust this value to control space between buttons */
  position: relative;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 1rem;
  transition: 0.3s;
  padding: 0.5rem 1.2rem;
  background: #ffffff66;
  border-radius: 20px;
  display: inline-block;
  text-align: center;
  border: 1px solid #b9171c15;
}

.nav-links a:hover {
  color: white;
  background-color: #b9171c;
  border-color: #b9171c;
}

.btn-login {
  background-color: #f9f9f9;
  color: #333;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s;
  border: 1px solid #ddd;
  display: inline-block;
  text-align: center;
  min-width: 120px;
}

.btn-login i {
  margin-right: 0.5rem;
  font-size: 1rem;
  vertical-align: middle;
}

.btn-login:hover {
  background-color: #b9171c; /* Brand color on hover */
  color: white;
}

.currency-dropdown {
  position: relative;
  display: inline-block;
  overflow: visible !important;
}

.btn-login-currency {
    background-color: white;
    color: #b9171c;
    display: inline-block;
    text-align: center;
    min-width: 120px;
}

#language-btn {
    min-width: 140px !important;
}

#language-btn .dropdown-menu {
    min-width: 140px !important;
}

/* Language/Currency Dropdown Fix */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 140px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  border-radius: 12px;
  z-index: 9999 !important;
  padding: 0.5rem 0;
  margin-top: 6px;
}
.dropdown-menu.show {
  display: block !important;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  z-index: 9999 !important;
  background: #fff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.10) !important;
  border-radius: 12px !important;
  padding: 0.5rem 0 !important;
  margin-top: 6px !important;
  min-width: 140px !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.dropdown-item {
  padding: 0.5rem 1.2rem;
  color: #333;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
  display: block !important;
  text-decoration: none;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Override btn-login-currency styles for dropdown items */
.dropdown-menu .dropdown-item.btn-login-currency {
  display: block !important;
  background: transparent !important;
  color: #333 !important;
  border: none !important;
  min-width: auto !important;
  text-align: left !important;
  padding: 0.5rem 1.2rem !important;
  margin: 0 !important;
  font-weight: 400 !important;
}
.dropdown-item:hover {
  background: #f5f5f5;
  color: #b9171c;
}

.dropdown-menu .dropdown-item.btn-login-currency:hover {
  background: #f5f5f5 !important;
  color: #b9171c !important;
}

.dropdown-toggle {
  position: relative;
  z-index: 1002;
}

.dropdown-toggle.active {
  border-radius: 20px 20px 0 0;
}

.dropdown-item i {
  font-size: 1rem;
  margin-right: 0.5rem;
  display: inline-block;
  width: 16px; /* Fixed width for the icon */
  text-align: center;
}

.dropdown-item img,
.dropdown-item svg {
  margin-right: 10px !important;
  vertical-align: middle;
}

.currency-svg-icon {
  transition: all 0.3s;
}

.dirham-icon {
  vertical-align: middle;
}

/* Featured Properties Section */
.featured-properties {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1rem;
}

.section-header p {
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.property-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.property-card:hover {
  transform: scale(0.98);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.property-image {
  position: relative;
  height: 170px !important;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.property-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: #b9171c;
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.property-tag.rent {
  background-color: #2c6e49;
}

.property-details {
  padding: .8rem 1rem;
}

.property-details h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.property-location {
  color: #666;
  font-size: 0.8rem;
  margin-bottom: .8rem !important;
  display: flex;
  align-items: center;
}

.property-location i {
  margin-right: 0.4rem;
  color: #b9171c;
}

.property-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.9rem;
  color: #555;
}

.property-features span {
  display: flex;
  align-items: center;
}

.property-features i {
  margin-right: 0.3rem;
}

.property-price {
  font-size: 1.3rem;
  font-weight: 600;
  color: #b9171c;
}

.show-all-container {
  text-align: center;
}

.btn-show-all {
  display: inline-block;
  color: #676767;
  padding: 0.8rem 2.5rem;
  border-radius: 30px;
  font-weight: 500;
  border: 1px solid #b9171c19;
  transition: all 0.3s ease;
}

.btn-show-all:hover {
  background-color: #b9171c;
  color: white;
}

@media (max-width: 992px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  
  .property-image {
    height: 180px;
  }
}

@media (max-width: 576px) {
  .properties-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Section Styles */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  background-color: #043263; /* Fallback color if video doesn't load */
  overflow: hidden;
  padding-top: 70px; /* Account for fixed navbar */
  z-index: 1; /* Ensure hero content is above overlay and video */
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -10; /* Place video at the bottom of the stacking order */
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -5; /* Place overlay above video but below content */
}

.hero-content {
  text-align: left;
  max-width: 1300px;
  width: 100%;
  padding: 0 1rem;
  margin-top: 50px; /* Adjust to center content vertically */
  position: relative;
  z-index: 5; /* Ensure content is above overlay */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-content h1 {
  font-family: "Inter Tight", serif;
  font-size: 4.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.05;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Main Search Form Styles */
.main-search-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 100%;
  max-width: 1000px;
  position: relative;
  z-index: 10;
  margin-block: 20px;
  color: #333;
}

.search-title {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
  padding-left: 10px;
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 20px;
}

.search-field {
  display: flex;
  flex-direction: column;
}

.search-field label {
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: #363636af;
  padding-left: 10px;
  font-weight: 500;
}

.search-input,
.search-select {
  width: 100%;
  padding: 10px 15px;
  border: none;
  border-radius: 30px;
  background-color: #f8f8f8;
  font-size: 0.95rem;
  appearance: none;
  outline: none;
  transition: all 0.3s ease;
}

.search-select {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23999' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 15px;
}

.status-toggle {
  display: flex;
  background-color: #f0f0f0;
  border-radius: 30px;
  padding: 3px;
  width: 100%;
  max-width: 220px;
  position: relative;
  z-index: 1;
}

.toggle-option {
  border: none;
  border-radius: 30px;
  padding: 8px 0;
  flex: 1;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  transition: color 0.3s ease;
  font-family: "Inter Tight", sans-serif;
  background-color: transparent;
  position: relative;
  z-index: 2;
}

.toggle-option:hover {
  color: #333;
}

.toggle-option.active {
  color: #000000;
  font-weight: 500;
}

.status-toggle::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  height: calc(100% - 6px);
  width: calc(50% - 3px);
  background-color: white;
  border-radius: 30px;
  transition: transform 0.3s ease;
  z-index: 1;
}

.status-toggle.second-active::before {
  transform: translateX(100%);
}

.filter-options {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 5px 10px;
}

.filter-label {
  font-weight: 500;
  color: #555;
  margin-right: 10px;
}

.filter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  padding: 8px 15px;
  font-size: 0.9rem;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover{
  background-color: rgba(255, 237, 237, 0.237);
  color: #b9171c;
}

.filter-btn.active {
  background-color: rgba(255, 222, 222, 0.692);
  color: #b9171c;
  border-color: rgba(172, 0, 0, 0.692);
}

.search-properties-btn {
  margin-left: auto;
  color: white;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: .92rem;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 100px;
  text-align: center;
  background-color: #b9171c;
  border: 1px solid #eee;
  font-family: "Inter Tight", sans-serif;
}

.search-properties-btn:hover {
  background-color: #eee;
  color: black;
  border-color: #6767672e;
}

@media (max-width: 992px) {
  .filter-options {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .search-properties-btn {
    margin-left: 0;
    margin-top: 15px;
    width: 100%;
  }
}

.search-form {
  display: flex;
  flex-direction: column;
  position: relative;
}

.search-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  height: 70px;
  position: relative;
}

/* Home page search form width */
.search-container.hero-form {
  margin-left: 0;
  margin-right: auto;
  background-color: rgb(255, 255, 255);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  max-width: 100%;
  width: 60%;
  position: relative;
}

.hidden {
  display: none;
}

/* WhatsApp Button */
.whatsapp-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #25d366; /* WhatsApp green color */
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(37, 211, 102, 0.15);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
}

.whatsapp-button.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.whatsapp-icon {
  width: 24px;
  height: 24px;
  transition-duration: 0.3s;
  fill: white;
}

.whatsapp-button:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: #25d366;
  align-items: center;
}

.whatsapp-button:hover .whatsapp-icon {
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.whatsapp-button::before {
  position: absolute;
  bottom: -20px;
  content: "Contact Us";
  color: white;
  font-size: 0px;
  font-family: "Inter Tight", sans-serif;
}

.whatsapp-button:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  transition-duration: 0.3s;
}

/* Additional whatsapp icon styles */
.whatsapp-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition-duration: 0.3s;
  fill: white;
}

.whatsapp-button:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: #25d366;
  align-items: center;
}

.whatsapp-button:hover .whatsapp-icon {
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.whatsapp-button::before {
  position: absolute;
  bottom: -20px;
  content: "Chat With Us";
  color: white;
  font-size: 0px;
  font-family: "Inter Tight", sans-serif;
}

.whatsapp-button:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  transition-duration: 0.3s;
}

/* Back to Top Button */
.back-to-top-button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #b9171c;
  border: none;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 4px rgba(139, 0, 0, 0.15);
  cursor: pointer;
  transition-duration: 0.3s;
  overflow: hidden;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
}

.back-to-top-button.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-icon {
  width: 12px;
  transition-duration: 0.3s;
  fill: white;
}

.back-to-top-button:hover {
  width: 140px;
  border-radius: 50px;
  transition-duration: 0.3s;
  background-color: #b9171c;
  align-items: center;
}

.back-to-top-button:hover .back-to-top-icon {
  transition-duration: 0.3s;
  transform: translateY(-200%);
}

.back-to-top-button::before {
  position: absolute;
  bottom: -20px;
  content: "Back to Top";
  color: white;
  font-size: 0px;
  font-family: "Inter Tight", sans-serif;
}

.back-to-top-button:hover::before {
  font-size: 13px;
  opacity: 1;
  bottom: unset;
  transition-duration: 0.3s;
}

/* Testimonials Section */
.testimonials {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.testimonials .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.testimonials .section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.testimonials .section-header p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.testimonials-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 2rem;
}

.testimonial-card {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 4px solid transparent;
}

.testimonial-quote {
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-quote i {
  color: #b9171c;
  font-size: 2rem;
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: -10px;
  z-index: 0;
}

.testimonial-quote p {
  font-style: italic;
  color: #444;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  margin-top: 1.5rem;
}

.author-image {
  width: 60px;
  height: 60px;
  margin-right: 15px;
  border-radius: 50%;
  border: 3px solid #f5f5f5;
  overflow: hidden;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-info h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: #333;
}

.author-info p {
  margin: 0 0 8px 0;
  color: #666;
  font-size: 0.9rem;
}

.rating {
  color: #f5a623;
}

.rating .fi-ss-star {
  font-size: 0.8rem;
  margin-right: 2px;
}

@media (max-width: 992px) {
  .testimonials-slider {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .testimonials-slider {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .testimonial-card.featured {
    transform: scale(1);
  }
  
  .testimonial-card.featured:hover {
    transform: translateY(-10px);
  }
  
  .testimonials {
    padding: 4rem 0;
  }
  
  .testimonials .section-header {
    margin-bottom: 2.5rem;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?w=1800&fit=crop');
  background-size: cover;
  background-position: center;
  padding: 6rem 0;
  position: relative;
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-section p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-primary {
  display: inline-block;
  background-color: #b9171c;
  color: white;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: rgba(232, 225, 225, 0.3);
  backdrop-filter: blur(4px);
  color: white;
}

/* Footer Styles */
.site-footer {
  background-color: #1a1a1a;
  color: #e0e0e0;
  padding: 5rem 0 2rem;
  font-family: "Inter Tight", sans-serif;
}

.footer-upper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-heading {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 40px;
  background-color: #b9171c;
}

.footer-logo {
  display: block;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 70px;
  width: auto;
}

.footer-brand-section {
  display: flex;
  flex-direction: column;
}

.footer-tagline {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  color: #b3b3b3;
}

.footer-navigation {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav-column {
  display: flex;
  flex-direction: column;
}

.newsletter p {
  color: #b3b3b3;
  font-size: .9rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.newsletter-form input {
  padding: 1rem;
  border-radius: 4px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: "Inter Tight", sans-serif;
}

.newsletter-form input::placeholder {
  color: #999;
}

.newsletter-form input:focus {
  outline: 1px solid #b9171c;
}

.btn-subscribe {
  padding: 0.8rem 1rem;
  background-color: #b9171c;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 400;
  transition: all 0.3s ease;
  font-family: "Inter Tight", sans-serif;
}

.btn-subscribe:hover {
  background-color: rgba(255, 255, 255, 0.345);
  backdrop-filter: blur(4px);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #b9171c;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.contact-item i {
  margin-right: 0.8rem;
  color: #b9171c !important;
  font-size: 1.1rem;
  padding-top: 0.2rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.copyright {
  margin: 0;
  color: #999;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s;
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  text-decoration: underline;
}

@media (max-width: 1024px) {
  .footer-upper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-brand-section {
    text-align: center;
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-navigation {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-nav-column {
    align-items: center;
  }
  
  .footer-heading:after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .copyright {
    order: 2;
    width: 100%;
  }
  
  .footer-bottom-links {
    order: 1;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-bottom: 10px;
  }
  
  .contact-item {
    justify-content: center;
    text-align: center;
  }
  
  .contact-item i {
    margin-right: 10px;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-links li {
    text-align: center;
  }
}

/* About Page Styles */
.about-section {
  padding: 4rem 0 5rem;
  background: linear-gradient(135deg, #f9f9f9 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(139, 0, 0, 0.03);
  z-index: 1;
}

.about-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(139, 0, 0, 0.02);
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  margin: 0 auto;
}

.about-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.about-content h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: #b9171c;
}

.about-introduction {
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  position: relative;
  border: 1px solid rgba(139, 0, 0, 0.1);
  overflow: hidden;
}

.about-introduction p {
  font-family: "Inter Tight", serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.about-introduction p:last-child {
  margin-bottom: 0;
}

.about-introduction strong {
  color: #b9171c;
  font-weight: 600;
}

@media (max-width: 992px) {
  .about-section {
    padding: 7rem 0 4rem;
  }
  
  .about-content h1 {
    font-size: 3rem;
  }
  
  .about-introduction {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 6rem 0 3rem;
  }
  
  .about-content h1 {
    font-size: 2.5rem;
  }
  
  .about-introduction p {
    font-size: 1.1rem;
  }
}

/* Main Areas of Activity Styling */
.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: #333;
  margin: 3rem 0 2rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background-color: #b9171c;
}

.activity-areas {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 2rem;
}

/* New Card Layout with Images */
.activity-area-card {
  display: flex;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-area-card.reversed {
  flex-direction: row-reverse;
}

.activity-image {
  flex: 0 0 40%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f9f9f9 0%, #e6e6e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.activity-image::before {
  content: "Image";
  font-family: "Inter Tight", sans-serif;
  color: #999;
  font-size: 1.2rem;
  opacity: 0.5;
}

.activity-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.activity-content {
  flex: 0 0 60%;
  padding: 2.5rem;
  position: relative;
}

.activity-content h3 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #b9171c;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.activity-content h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: #b9171c;
}

.activity-content p {
  font-family: "Inter Tight", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

.activity-content p:last-child {
  margin-bottom: 0;
}

.activity-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.activity-content ul li {
  font-family: "Inter Tight", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
  position: relative;
}

.activity-content ul li::before {
  content: '';
  position: absolute;
  left: -1.2rem;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #b9171c;
}

@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .activity-area-card {
    flex-direction: column;
  }
  
  .activity-area-card.reversed {
    flex-direction: column;
  }
  
  .activity-image {
    flex: 0 0 250px;
    width: 100%;
  }
  
  .activity-content {
    flex: 1;
    padding: 2rem;
  }
  
  .activity-content h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
  }
  
  .activity-areas {
    gap: 2.5rem;
  }
  
  .activity-image {
    flex: 0 0 200px;
  }
  
  .activity-content {
    padding: 1.5rem;
  }
  
  .activity-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .activity-image {
    flex: 0 0 180px;
  }
  
  .activity-content {
    padding: 1.2rem;
  }
}

/* Why Choose Us Section Styles */
.why-choose-us {
  margin-top: 4rem;
}

.why-choose-us-intro {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #555;
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.advantage-card {
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.wide-card {
  grid-column: span 3;
  display: flex;
  flex-direction: row;
}

.advantage-number {
  background-color: #b9171c;
  color: white;
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
  min-height: 30px;
}

.wide-card .advantage-number {
  padding: 2rem;
}

.advantage-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.advantage-content h4 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

.advantage-content p {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin: 0;
}

.collaboration-note {
  margin: 3rem 0 1rem;
  background: rgba(139, 0, 0, 0.05);
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
}

.collaboration-note p {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
  margin: 0;
}

@media (max-width: 992px) {
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .wide-card {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .wide-card {
    grid-column: span 1;
    flex-direction: column;
  }
  
  .wide-card .advantage-number {
    padding: 1.5rem 0;
  }
  
  .advantage-number {
    font-size: 1.5rem;
    padding: 1rem 0;
  }
  
  .advantage-content h4 {
    font-size: 1.1rem;
  }
  
  .collaboration-note p {
    font-size: 1.1rem;
  }
}

/* Page Headers - Global Styles */
.header-banner {
  background-size: cover;
  background-position: center;
  color: white;
  padding: 8rem 0;
  text-align: center;
  height: 350px;
  display: flex;
  align-items: center;
  position: relative;
}

/* Contact Page Header */
.contact-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../assets/From-Idea-to-Reality-Embracing-Turnkey-Solutions-for-Seamless-Success.webp');
}

.catalog-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../assets/d95f319f-ffec-4fa8-9874-497378e3267b.png');
}

.about-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../assets/83e3ebec-0287-4221-b1a0-62fccb08626e.png');
}

.header-banner h1 {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.header-banner p {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.contact-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.contact-section .contact-info{
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact-wrapper {
  display: flex;
  gap: 3rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
}

.contact-intro {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  background-color: rgba(139, 0, 0, 0.08);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
  color: #b9171c;
  font-size: 1.2rem;
  position: relative;
}

.contact-icon i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-text h3 {
  font-family: "Inter Tight", sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 0.5rem;
}

.contact-text p {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

.contact-form-container {
  flex: 1;
  background-color: white;
  padding: 2.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.form-checkbox {
  flex-direction: row;
  align-items: flex-start;
  margin: 15px 0;
}

.form-group label {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group.form-checkbox label {
  margin: 0 0 0 10px;
  line-height: 1.4;
  font-size: 0.85rem;
  color: #666;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f9f9f9;
  color: #333;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #b9171c;
  box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1);
}

.contact-form-container .btn-primary {
  font-family: "Inter Tight", sans-serif;
  
  border-radius: 10px;
  border: 1px solid #b9171c6f;
}

.contact-form-container .btn-primary:hover {
  background: transparent;
  color: #b9171c !important;
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
}

.map-section {
  padding: 4rem 0;
  background-color: white;
}

.map-container {
  margin-top: 2rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 300px;
}

/* Partners Page Styles */
.partners-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5)), url('../assets/partnership-vs-sponsorship-scaled.webp');
}

.partners-intro {
  padding: 5rem 0 3rem;
  background-color: #fff;
}

.intro-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.intro-text {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-top: 1.5rem;
}

.partners-section {
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.partners-carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 40px 0 70px 0;
  padding-bottom: 60px;
}

.partners-carousel .partner-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  padding: 32px 24px;
  margin: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 120px;
  max-width: 220px;
  max-height: 140px;
  height: 140px;
  transition: box-shadow 0.2s;
}

.partners-carousel .partner-box img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  height: 80px;
  transition: transform 0.2s ease;
}

.partners-carousel .partner-box a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.slick-dots {
  position: relative !important;
  bottom: -40px !important;
}

.slick-dots li button:before {
  color: #FFD600;
  font-size: 14px;
}

.slick-slide {
  outline: none;
}

.partner-box:hover {
  transform: translateY(-5px);
}

.partner-box:hover img {
  transform: scale(1.05);
}

.partners-carousel::before,
.partners-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.partners-carousel::before {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.partners-carousel::after {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

/* Media query to hide quick filters on smaller screens but keep search button */
@media (max-width: 700px) {
  /* Rearrange search grid to 2x2 layout */
  .search-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }
  
  .search-field {
    width: 100% !important;
    padding: 0 5px;
    margin-bottom: 10px !important;
    box-sizing: border-box;
    display: block !important;
  }
  
  /* Hide filter buttons but keep search button */
  /* .filter-label,
  .filter-buttons {
    display: none;
  } */
  
  .filter-options {
    display: flex;
    justify-content: center;
    padding-top: 15px;
  }
  
  .search-properties-btn {
    width: 80%;
    margin: 0 auto;
  }
  
  /* Ensure select elements are responsive */
  .search-select {
    width: 100%;
    min-width: auto !important;
  }
  
  /* Ensure status toggle buttons adjust to smaller size */
  .status-toggle {
    width: 100%;
    display: flex;
  }
  
  .toggle-option {
    flex: 1;
    font-size: 0.8rem;
    padding: 8px 5px;
  }
  .search-select{
    font-size: 0.8rem;
  }
  .hero-content h1{
    font-size: 3rem !important;
  }
  .search-field{
    margin-bottom: 0 !important;
  }
  .filter-options{
    padding-top: 0 !important;
  }
}

.partners-showcase {
  padding: 2rem 0 5rem;
  background-color: #f9f9f9;
}

.partners-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.partners-category {
  margin-bottom: 1rem;
}

.category-title {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.8rem;
}

.category-title:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 60px;
  background-color: #b9171c;
}

.partners-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.partner-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.partner-logo {
  height: 100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  border-bottom: 1px solid #f0f0f0;
}

.partner-logo img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
}

.partner-name {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.partner-desc {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.partner-link {
  font-family: "Inter Tight", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  color: #b9171c;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  width: fit-content;
}

.partner-link:hover {
  color: #6d0000;
}

.partner-link i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.partner-link:hover i {
  transform: translateX(3px);
}

.become-partner {
  padding: 6rem 0;
  background-color: #fff;
  position: relative;
  overflow: hidden;
}

.become-partner:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: 0;
}

.become-partner-content {
  display: flex;
  align-items: center;
  gap: 4rem;
  position: relative;
  z-index: 1;
}

.become-partner-text {
  flex: 1;
}

.become-partner-text h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.become-partner-text p {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
}

.partner-benefits {
  margin-bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.partner-benefits li {
  font-family: "Inter Tight", sans-serif;
  font-size: 1rem;
  color: #444;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  line-height: 1.4;
}

.partner-benefits i {
  color: #b9171c;
  font-size: 1rem;
  margin-top: 0.2rem;
}

.become-partner-image {
  flex: 1;
  position: relative;
}

.become-partner-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

@media (max-width: 1200px) {
  .partners-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .become-partner-content {
    flex-direction: column;
  }
  
  .become-partner-image {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .partners-row {
    grid-template-columns: 1fr;
  }
  
  .category-title {
    font-size: 1.6rem;
  }
  
  .partners-intro,
  .partners-showcase,
  .become-partner {
    padding: 3rem 0;
  }
  
}

@media (max-width: 992px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-info,
  .contact-form-container {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .page-header {
    padding: 4rem 0;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .contact-section {
    padding: 3rem 0;
  }

  .contact-info,
  .contact-form-container {
    padding: 1.5rem;
  }
}

/* Remove duplicate styles */

/* Adjust the responsive styles for the new form */
@media (max-width: 992px) {
  .search-field {
    flex: 1 1 33.33%;
    border-bottom: 1px solid #eee;
  }

  .show-more-field {
    flex: 1 1 100%;
    justify-content: flex-start;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .search-button {
    margin: 10px 15px;
  }
}

@media (max-width: 768px) {
  .search-field {
    flex: 1 1 50%;
  }

  .search-container {
    border-radius: 25px;
  }
}

@media (max-width: 576px) {
  .search-field {
    flex: 1 1 100%;
    border-right: none;
  }
}

/* Services Section */
.services {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.services-header p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.service-card {
  flex: 1;
  min-width: 300px;
  padding: 2rem;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: #b9171c; /* Brand dark red color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 4px 8px rgba(139, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.service-icon i {
  color: white;
  font-size: 2rem;
}

.service-card h3 {
  font-family: "Inter Tight", sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #333;
}

.service-card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .search-form {
    flex-wrap: wrap;
    height: auto;
    padding: 1rem;
  }

  .search-field {
    flex: 1 1 45%;
    border-right: none;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.8rem;
  }
  
  /* Services section responsive */
  .services-grid {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .service-card {
    min-width: 100%;
  }
  
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .search-field {
    flex: 1 1 100%;
  }

  .search-container {
    border-radius: 20px;
  }
}

/* Search Section */
.search-section {
  padding: 40px 0;
  background-color: #fff;
}

/* General search container styles */
.search-container {
  background-color: #fff;
  border-radius: 10px;
  margin: 0 auto;
}

.hero-content .search-container{
  padding: 0;
}

/* Catalog page search form width */
.search-container.catalog-form {
  width: 100%;
}

.advanced-search-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.search-group {
  flex: 1;
  min-width: 200px;
  margin-bottom: 5px;
}

.search-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.9rem;
}

.search-group select,
.search-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.95rem;
  color: #333;
  background-color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23b9171c" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: 12px;
  padding-right: 35px;
}

.search-group select:focus,
.search-group input:focus {
  outline: none;
  border-color: #b9171c;
  box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.1);
}

.features-group {
  flex: 2;
}

.features-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
  padding: 5px 0;
}

.features-checkboxes label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: normal;
  cursor: pointer;
  padding: 5px 0;
  color: #333;
  font-size: 0.95rem;
}

.features-checkboxes input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #b9171c;
  cursor: pointer;
  margin: 0;
}

/* Remove arrow styles from area inputs */
#min-area, #max-area {
  background-image: none;
  padding-right: 15px;
}

.search-buttons {
  display: flex;
  gap: 5px;
  margin-top: 15px;
  width: 100%;
}

.search-btn, 
.reset-btn {
  padding: 12px 22px;
  border: none;
  border-radius: 6px;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  border: 1px solid #b9171c62 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
  .search-btn, 
  .reset-btn {
    font-size: 0.9rem;
  }
}

.search-btn {
  background-color: #b9171c;
  color: white;
  flex: 2;
}

.search-btn:hover {
  background-color: white;
  color: #b9171c;
}   

.reset-btn {
  background-color: transparent;
  color: #333;
  flex: 1;
  border: 1px solid #e0e0e0;
}

.reset-btn:hover {
  background-color: #b9171c;
  color: white;
}

/* Properties Section */
.catalog-properties {
  padding: 40px 0 60px;
  background-color: #f9f9f9;
}

/* Property card styling */
.property-card {
  transition: all 0.3s ease-in-out;
  display: flex !important;
  flex-direction: column;
  height: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.property-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.property-price {
  margin-top: auto;
  font-size: 1.2rem;
  font-weight: 600;
  color: #b9171c;
  padding-top: 10px;
  border-top: 1px solid #f0f0f0;
}

.catalog-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.results-count p {
  font-size: 1rem;
  color: #666;
}

.sorting {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sorting label {
  font-size: 0.9rem;
  color: #666;
}

.sorting select {
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-family: "Inter Tight", sans-serif;
  font-size: 0.9rem;
  color: #333;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23b9171c" viewBox="0 0 16 16"><path d="M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>');
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: 12px;
  padding-right: 35px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  
  
  .search-group {
    width: 100%;
  }
  
  .features-checkboxes {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .catalog-tools {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .catalog-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
}

.burger-menu{
  display: none;
  font-size: 1.5rem;
  color: #4b4b4b;
  padding-top: 5px;
  margin-left: 10px;
}

@media (max-width: 1024px){
  .nav-links{
    display: none;
  }
  .burger-menu{
    display: block;
  }
  .hero-content h1{
    font-size: 3.5rem;
  }
  .logo-text span{
    font-size: .7rem;
  }
  .logo-text{
    margin-left: 55px;
  }
  .logo-img{
    height: 50px;
  }
  #currency-btn{
    font-size: .9rem;
  }
  #language-btn{
    font-size: .9rem;
  }
  .dropdown-item{
    font-size: .9rem;
  }
}

@media(max-width: 768px){
  #currency-btn{
    display: none;
  }
  #language-btn{
    display: none;
  }
  /* Ensure language dropdown is visible in mobile menu */
  .mobile-menu #language-btn-mobile {
    display: block !important;
    width: 100%;
    max-width: 200px;
    margin: 10px 0;
    padding: 12px 16px;
    font-size: 1rem;
    background: #b9171c;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .mobile-menu #language-btn-mobile:hover {
    background: #a01518;
  }
  
  .mobile-menu #language-btn-mobile i {
    margin-right: 8px;
  }
  
  /* Mobile language dropdown menu styling */
  .mobile-menu #language-menu-mobile {
    position: relative !important;
    display: none;
    width: 100%;
    max-width: 200px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 5px;
    overflow: hidden;
    z-index: 9999;
    top: auto !important;
    left: auto !important;
    min-width: auto !important;
    padding: 0 !important;
    margin-top: 5px !important;
  }
  
  .mobile-menu #language-menu-mobile.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
  }
  
  .mobile-menu #language-menu-mobile .dropdown-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    background: transparent;
    color: #333;
    border: none;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
  }
  
  .mobile-menu #language-menu-mobile .dropdown-item:last-child {
    border-bottom: none;
  }
  
  .mobile-menu #language-menu-mobile .dropdown-item:hover {
    background: #f5f5f5;
    color: #b9171c;
  }
  
  .mobile-menu #language-menu-mobile .dropdown-item.active {
    background: #b9171c;
    color: white;
    font-weight: 600;
  }
}

@media(max-width: 576px){
  .hero-content{
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    gap: 50px;
  }
  .hero-content h1{
    text-align: center;
  }
}

@media(max-width: 425px){
  .hero-content h1{
    font-size: 2.5rem !important;
  }
}

.mobile-menu{
  height: 100vh;
  width: 280px;
  background-color: white;
  padding: 20px;
  display: flex;
  right: -300px;
  top: 0;
  z-index: 2000;
  position: fixed;
  box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  transition: right 0.4s ease-in-out;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-container{
  display: flex;
  width: 100%;
  flex-direction: column;
  margin-top: 20px;
}

.mobile-menu-close{
  display: flex;
  font-size: 1.5rem;
  justify-content: flex-end;
  margin-right: 15px;
  margin-bottom: 25px;
  cursor: pointer;
  color: #444;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover {
  color: #b9171c;
}  

.mobile-nav{
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.mobile-nav ul{
  display: flex;
  flex-direction: column;
  font-size: 1.2rem;
  list-style: none;
  gap: 20px;
}

.mobile-nav ul li a {
  color: #333;
  text-decoration: none;
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  display: block;
  padding: 5px 0;
  transition: color 0.3s ease, transform 0.2s ease;
}

.mobile-nav ul li a:hover {
  color: #b9171c;
  transform: translateX(5px);
}

/* .overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
} */

h2{
  font-size: 2.5rem;
  font-weight: 500 !important;
}

@media (max-width: 768px) {
 h2{
  font-size: 2rem !important;
  line-height: 1.2 !important;
 }
 .cta-content p{
  font-size: 1rem !important;
 }
 .header-banner h1{
  font-size: 3rem !important; 
  line-height: 1.1 !important;
 }
 .header-banner p{
  font-size: 1rem !important;
 }
 .cta-content .btn-primary{
  padding: 8px 15px !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  width: 80% !important;
  margin: 0 auto !important;
 }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.modal.active {
  display: flex;
}

.modal-content {
  background-color: #fff;
  width: 100%;
  max-width: 800px;
  max-height: 90%;
  border-radius: 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  margin: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

@media (min-width: 601px) {
  .modal-content {
    border-radius: 12px;
    margin: 20px 0;
    max-height: 90%;
    height: auto;
  }
}

.modal-header {
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
  font-weight: 600;
  text-align: center;
  width: 100%;
}

.close-btn {
  background: none;
  border: none;
  font-size: 2.2rem;
  cursor: pointer;
  color: #666;
  padding: 0 15px;
  line-height: 1;
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: #b9171c;
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  padding: 0;
  width: 100%;
}

.tab-btn {
  flex: 1;
  padding: 16px 20px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  color: #666;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  position: relative;
  font-family: "Inter Tight", sans-serif;
}

.tab-btn.active {
  color: #b9171c;
  border-bottom-color: #c5060c;
  font-weight: 600;
}

.tab-btn:not(:last-child) {
  border-right: 1px solid #e0e0e0;
}

.modal-body {
  width: 100%;
  padding-inline: 2rem;
  flex: 1;
  overflow-y: auto;
  position: relative;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.filter-section{
  padding-block: 1.5rem;
  border-bottom: 1px solid rgba(202, 202, 202, 0.337);
}

.filter-section h3 {
  margin: 0 0 .8rem 0;
  font-size: 1.1rem;
  color: #333;
  font-weight: 600;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 0.95rem;
  color: #444;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  transition: all 0.2s;
}

.checkbox-container:hover .checkmark {
  background-color: #eee;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #b9171c;
  border-color: #b9171c;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 7px;
  top: 3px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.price-inputs {
  display: flex;
  gap: 15px;
}

.price-group {
  flex: 1;
}

.price-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #555;
}

.price-group select,
.select-dropdown {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='12' height='12' viewBox='0 0 12 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 4L6 8L10 4' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 35px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.select-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.select-wrapper {
  flex: 1;
}

/* Single select dropdown (for bathroom count) */
.single-select {
  max-width: 150px;
}

.select-dropdown:focus {
  outline: none;
  border-color: #b9171c;
  box-shadow: 0 0 0 2px rgba(185, 23, 28, 0.1);
}

.filter-actions {
  display: flex;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: #fff;
  border-top: 1px solid #eee;
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  margin: 0 -2rem -1.5rem;
  padding-bottom: 1.5rem;
  background-clip: padding-box;
}

.btn-clear {
  background: none;
  border: 1px solid #ddd;
  color: #666;
  padding: 10px 20px;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-apply {
  background-color: #b9171c;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-apply:hover {
  background-color: #9a1418;
}

/* Filters */
.filters-container {
  margin-bottom: 2rem;
  display: flex;
  justify-content: flex-start;
}

.filter-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  background-color: #b9171c;
  color: white;
  border: 1px solid #b9171c59;
  border-radius: 30px;
  font-family: "Inter Tight", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  height: 50px;
}

.filter-toggle-btn:hover {
  background-color: white;
  color: #b9171c ;
}

.filter-toggle-btn i {
  font-size: 1.1rem;
}

/* Catalog Banner */
.catalog-banner {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url(../assets/d95f319f-ffec-4fa8-9874-497378e3267b.png) no-repeat center/cover;
  padding: 10rem 0;
  color: white;
  position: relative;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-content h1 {
  font-size: 2.5rem;
  color: white;
  margin: 0 0 30px 0;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.banner-controls {
  display: flex;
  gap: 15px;
  max-width: 800px;
  width: 100%;
}

.search-container {
  display: flex;
  flex: 1;
  max-width: 500px;
}

.search-input {
  flex: 1;
  padding: 14px 20px;
  border: none;
  border-radius: 4px 0 0 4px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.95);
}

.search-input:focus {
  box-shadow: 0 0 0 2px rgba(139, 0, 0, 0.5);
}

.search-btn {
  background-color: #8b0000;
  color: white;
  border: none;
  padding: 0 25px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-btn:hover {
  background-color: #6a0000;
}

.search-btn i {
  font-size: 1.2rem;
}


@media (max-width: 768px) {
  .banner-content {
    text-align: center;
  }
  
  .banner-content h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .banner-controls {
    flex-direction: column;
    gap: 10px;
  }
  
  .search-container,
  .filter-toggle-btn {
    width: 100%;
    max-width: 100%;
  }
  
  .filter-toggle-btn {
    justify-content: center;
    padding: 12px 20px;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
  
  .price-inputs {
    flex-direction: column;
    gap: 15px;
  }
  
  .modal-content {
    margin: 10px;
    max-height: 85vh;
  }
}

/* Overlay property card flex layout for consistent price alignment */
.property-card.overlay-result {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.property-card.overlay-result .property-image {
  flex-shrink: 0;
}
.property-details.flex-col {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.property-details.flex-col .flex-spacer {
  flex: 1 1 auto;
}
.property-details.flex-col .property-price {
  margin-top: 16px;
  align-self: flex-start;
  font-weight: bold;
  font-size: 1.1rem;
}
.property-results-grid .property-card.overlay-result {
  height: 100%;
}

.currency-dropdown, .auth-button, .right-group, .navbar-container, .navbar, .container {
  overflow: visible !important;
}




