/* Jamie Jackson Homes - Shared Stylesheet */

/* Import Inter font from Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

/* CSS Variables for Colors */
:root {
  --primary-orange: #e67e22;
  --primary-orange-hover: #d35400;
  --dark-bg: #2c2c2c;
  --dark-gray: #3a3a3a;
  --medium-gray: #666666;
  --light-gray: #f5f5f5;
  --border-gray: #e0e0e0;
  --text-dark: #1a1a1a;
  --text-medium: #717182;
  --text-light: #ffffff;
  --font-family: "Inter", sans-serif;
  --light-bg: rgba(236, 236, 240, 0.3);
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.light-bg {
  background-color: var(--light-bg) !important;
}

.text-light {
  color: var(--text-medium) !important;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: #fafaf9;
}

a,
button {
  border-radius: 8px !important;
}
/* Navigation Styles */
.navbar {
  background-color: #ffffff;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: var(--text-dark) !important;
}

.navbar-brand .logo-placeholder {
  width: 40px;
  height: 40px;
  background-color: var(--text-dark);
  border-radius: 4px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
}

.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-orange) !important;
}

.navbar-nav .nav-link.active {
  background-color: var(--light-gray);
  border-radius: 4px;
}

.btn-book-viewing {
  background-color: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.5rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-book-viewing:hover {
  background-color: var(--primary-orange-hover);
  color: white;
}

/* Hero Section */
.hero-section {
  background-color: var(--light-gray);
  padding: 3rem 0;
  margin-bottom: 3rem;
}

/* @media (max-width: 991px) {
  .search-box {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    margin-top: 2rem;
  }

  .hero-section {
    margin-bottom: 2rem !important;
  }
}

@media (min-width: 992px) {
  .hero-section {
    margin-bottom: 150px; 
  }
} */

.hero-content {
  max-width: 633px;
}
.hero-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-dark);
}
.hero-content .tag-line {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.312px;
  color: var(--text-dark);
}

.hero-content p {
  color: var(--text-medium);
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.312px;
}

.btn-primary-orange {
  background-color: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-primary-orange:hover {
  background-color: var(--primary-orange-hover);
  color: white;
}

.btn-secondary-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.btn-secondary-outline:hover {
  background-color: var(--text-dark);
  color: white;
}

/* Search Box */
.search-box {
  background-color: white;
  padding: 1.5rem 2rem;

  margin-top: 2rem;

  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-control,
.form-select {
  border: 1px solid var(--border-gray);
  padding: 0.625rem 0.875rem;
  border-radius: 4px;
  font-size: 0.9rem;
  background-color: #fafafa;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.15);
}

.btn-search {
  background-color: var(--text-dark);
  color: white;
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  width: 100%;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-search:hover {
  background-color: #000000;
  color: white;
}

/* Section Headers */
.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  color: var(--text-dark);
  font-family: var(--font-family);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px; /* 150% */
  letter-spacing: -0.449px;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-medium);
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.312px;
}

.view-all-link {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: color 0.3s ease;
}

.view-all-link:hover {
  color: var(--primary-orange);
}

.view-all-link::after {
  content: "→";
  margin-left: 0.5rem;
}

/* Property Cards */
.property-card {
  display: flex;
  height: 483px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  margin-bottom: 25px;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.property-image {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: var(--light-gray);
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px 14px 0 0;
}

.property-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.25rem 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 8px;
  color: #fff;
  font-family: var(--font-family);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px; /* 133.333% */
}

.badge-new {
  background-color: var(--primary-orange);
}

.badge-for-sale {
  background-color: var(--dark-bg);
}

.badge-sold {
  background: #717182;
}

.badge-reduced {
  background-color: #205403;
  top: 50px;
}

.property-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.property-price {
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: -0.312px;
}

.property-title {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.312px;
}

.property-address {
  color: var(--text-medium);
  font-family: var(--font-family);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 142.857% */
  letter-spacing: -0.15px;
}

.property-features {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  color: var(--text-medium);
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.property-features span {
  display: flex;
  align-items: center;
}

.property-features span::before {
  margin-right: 0.25rem;
}

.btn-contact {
  background-color: var(--text-dark);
  color: white;
  border: none;
  padding: 0.75rem;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s ease;
  margin-top: auto;
  border-radius: 8px;
  background: #231f20;
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 20px; /* 142.857% */
  letter-spacing: -0.15px;
}

.btn-contact:hover {
  background-color: #000000;
  color: white;
}

/* Testimonials */
.ratings-summary-card,
.ratings-form-card {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 24px;
}

.testimonials-section {
  background-color: white;
  padding: 4rem 0;
}

.testimonial-highlight {
  text-align: center;
  margin-bottom: 3rem;
}

.star-rating {
  color: var(--primary-orange);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.star-rating.interactive {
  cursor: pointer;
}

.star-rating .star {
  display: inline-block;
  margin: 0 2px;
}

.star-rating .star.filled {
  color: var(--primary-orange);
}

.star-rating .star.empty {
  color: var(--border-gray);
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.testimonial-text {
  color: var(--text-medium);
  font-size: 1rem;
}

.testimonial-card {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
  padding: 2rem;
  margin-bottom: 2rem;
  height: 100%;
}

.testimonial-card .testimonial-header {
  display: flex;
  margin-bottom: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  background-color: var(--border-gray);
  border-radius: 50%;
  margin-right: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--text-medium);
}

.testimonial-info h5 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.btn-load-more {
  background-color: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.75rem 3rem;
  border-radius: 4px;
  font-weight: 600;
  display: block;
  margin: 2rem auto;
  transition: background-color 0.3s ease;
}

.btn-load-more:hover {
  background-color: var(--primary-orange-hover);
}

/* Benefits Section */
.benefits-section {
  background-color: #231f20;
  padding: 64px 0;
}

.brand-story {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-story a {
  width: fit-content;
}

.brand-story h3,
.brand-story p {
  color: #fff;
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 100;
  line-height: 24px; /* 150% */
  letter-spacing: -0.312px;
}

.brand-value-card {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
}

.brand-value-card i {
  margin-bottom: 15px;
}
.benefit-item h5 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  color: var(--text-medium);
  font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
  padding: 3rem 0;
  text-align: center;
}

.cta-section h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--text-medium);
  max-width: 670px;
  margin: auto auto 2rem;
}

.cta-section .content-wrapper {
  border-radius: 10px;
  border: 1px solid rgba(35, 31, 32, 0.2);
  background: rgba(35, 31, 32, 0.05);
  padding: 3rem 0;
}

@media screen and (max-width: 768px) {
  .cta-section .content-wrapper {
    border-radius: 0;
    border: none;
  }
}
/* Footer */
footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 3rem 0 1rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.footer-brand .logo-placeholder {
  width: 40px;
  height: 40px;
  background-color: white;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 18px;
}

.footer-description {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 36px;
  height: 36px;
  background-color: var(--dark-gray);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary-orange);
  color: white;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

.footer-contact p {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.newsletter-input {
  background-color: var(--dark-gray);
  border: none;
  color: white;
  padding: 0.75rem;
  border-radius: 4px;
  width: 100%;
  margin-bottom: 1rem;
}

.newsletter-input::placeholder {
  color: #888888;
}

.btn-subscribe {
  background-color: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  width: 100%;
  transition: background-color 0.3s ease;
}

.btn-subscribe:hover {
  background-color: var(--primary-orange-hover);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--dark-gray);
  text-align: center;
  color: #888888;
  font-size: 0.85rem;
}

/* Listings Page Styles */
.page-header {
  background-color: white;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.page-header h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--text-medium);
}

#propertyTabs {
  border-radius: 32px !important;
  background: #ececf0;
}

#propertyTabs .nav-link {
  color: #6c757d;
  border-radius: 14px;
  background: transparent;
  transition: all 0.2s ease;
}

#propertyTabs .nav-link.active {
  background-color: white !important;
  color: #212529 !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
/* 
.filter-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-gray);
}

.filter-tab {
  background: none;
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: var(--text-medium);
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab.active {
  color: var(--text-dark);
  border-bottom-color: var(--primary-orange);
}

.filter-tab:hover {
  color: var(--text-dark);
} */

.listings-container {
  display: flex;
  gap: 2rem;
}

.filters-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.filter-section {
  background-color: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 1.5rem;
}

.filter-section h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.filter-section .form-control,
.filter-section .form-select {
  margin-bottom: 1rem;
  border: 1px solid var(--border-gray);
  padding: 0.5rem;
  border-radius: 4px;
}

.price-range {
  display: flex;
  gap: 0.5rem;
}

.price-range input {
  width: 50%;
}

.btn-clear-filters {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-gray);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  width: 100%;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-clear-filters:hover {
  background-color: var(--light-gray);
}

.listings-content {
  flex-grow: 1;
}

.listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.results-count {
  color: var(--text-medium);
  font-weight: 500;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-btn {
  width: 36px;
  height: 36px;
  background-color: white;
  border: 1px solid var(--border-gray);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.view-btn.active {
  background-color: var(--text-dark);
  color: white;
  border-color: var(--text-dark);
}

.view-btn:hover {
  border-color: var(--text-dark);
}

/* About Page Styles */
.about-hero {
  background-color: var(--text-dark);
  color: white;
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.about-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-hero p {
  font-size: 1.1rem;
  opacity: 0.9;
}

.about-content {
  margin-bottom: 4rem;
}

.about-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-medium);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.values-section {
  padding: 4rem 0;
  margin-bottom: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
  height: 100%;
}

.value-icon {
  width: 80px;
  height: 80px;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.value-card h4 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.value-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
}

.team-section {
  margin-bottom: 4rem;
}

.team-member {
  margin-bottom: 2rem;
  background-color: #fff;
}

@media (min-width: 992px) {
  .team-member {
    max-width: 350px;
    margin: 0 auto;
  }
}

.team-photo {
  width: 100%;
  height: 300px;
  background-color: var(--light-gray);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.team-member h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.team-role {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.team-details {
  padding-left: 24px;
  padding-right: 24px;
}

.team-bio {
  color: var(--text-medium);
  font-size: 0.9rem;
  text-align: left;
  margin-bottom: 1rem;
}

.team-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.85rem;
  text-align: left;
}

.team-contact a {
  color: var(--text-medium);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.team-contact a:hover {
  color: var(--primary-orange);
}

.service-areas {
  background-color: var(--light-gray);
  padding: 3rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.service-areas h3 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.service-areas p {
  color: var(--text-medium);
  margin-bottom: 2rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.area-item {
  display: flex;
  align-items: center;
  color: var(--text-medium);
}

.area-item::before {
  content: "📍";
  margin-right: 0.5rem;
}

.map-placeholder {
  width: 100%;
  height: 400px;
  background-color: var(--light-gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-medium);
  margin-top: 2rem;
}

/* Contact Page Styles */
.contact-hero {
  background-color: white;
  padding: 2rem 0 3rem;
}

.contact-hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-hero p {
  color: var(--text-medium);
}

.contact-cards {
  margin-bottom: 3rem;
}

.contact-card {
  background-color: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.office-hours h5,
.contact-card h5 {
  color: #0a0a0a;
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.312px;
}

.contact-card p {
  color: var(--text-medium);
  font-size: 16px;
  font-family: var(--font-family);
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.312px;
  margin-bottom: 0.5rem;
}

.contact-card a {
  color: var(--text-dark);
  text-decoration: none;
  font-family: var(--font-family);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: -0.312px;
}

.contact-card a:hover {
  color: var(--primary-orange);
}

.office-hours {
  background-color: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 3rem;
}

.office-hours h5::before {
  content: "🕐";
  margin-right: 0.5rem;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.hours-item h6 {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.hours-item p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin: 0;
}

.contact-forms {
  margin-bottom: 3rem;
}

.contact-form-card {
  background-color: white;
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  padding: 2rem;
  height: 100%;
}

.contact-form-card h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-form-card > p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.contact-form-card .form-label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.contact-form-card .form-label .text-danger {
  color: #dc3545;
}

.contact-form-card .form-control,
.contact-form-card .form-select,
.contact-form-card textarea {
  border: 1px solid var(--border-gray);
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.contact-form-card textarea {
  min-height: 100px;
  resize: vertical;
}

.btn-submit-form {
  background-color: var(--primary-orange);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  width: 100%;
  transition: background-color 0.3s ease;
}

.btn-submit-form:hover {
  background-color: var(--primary-orange-hover);
}

.btn-submit-dark {
  background-color: var(--text-dark);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 4px;
  font-weight: 600;
  width: 100%;
  transition: background-color 0.3s ease;
}

.btn-submit-dark:hover {
  background-color: #000000;
}

.map-section {
  background-color: var(--light-gray);
  padding: 3rem;
  border-radius: 8px;
  text-align: center;
}

.map-section .map-placeholder {
  margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .listings-container {
    flex-direction: column;
  }

  .filters-sidebar {
    width: 100%;
  }

  .hours-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .btn-secondary-outline {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .property-features {
    flex-direction: column;
    gap: 0.5rem;
  }

  .filter-tabs {
    overflow-x: auto;
    white-space: nowrap;
  }

  .price-range {
    flex-direction: column;
  }

  .price-range input {
    width: 100%;
  }
}

.info-icon {
  width: 32px;
  height: 32px;
  background: #f3f4f6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}

.step-number {
  width: 28px;
  height: 28px;
  min-width: 28px;
  min-height: 28px;
  flex-shrink: 0;
  border-radius: 50%;
  background-color: #111827;
  color: #fff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.valuation-custom-card {
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: #fff;
}

/* Accordion Customization */
.accordion-item {
  border: none;
  margin-bottom: 10px;
  border-radius: 8px !important;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.accordion-button {
  font-weight: 500;
  font-size: 0.9rem;
  color: #444;
}
.accordion-button:not(.collapsed) {
  background-color: #fff;
  color: #000;
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}
.accordion-body {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

.feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 14px;
  padding: 30px;
  text-align: center;
  transition: transform 0.2s;
  height: 100%;
}
.feature-card i {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #333;
}
.feature-card h5 {
  font-size: 1rem;
  font-weight: 700;
}
.feature-card p {
  font-size: 0.85rem;
  color: #777;
}
.btn-light-custom {
  background: #f8f9fa;
  border: 1px solid #eee;
  width: 100%;
  font-size: 0.8rem;
  font-weight: 600;
}

.mininmal-section h2,
.mininmal-section h3 {
  color: #0a0a0a;
  font-family: var(--font-family);
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.449px;
}

.mininmal-section h2 {
  font-size: 20px;
}

.mininmal-section h3 {
  font-size: 18px;
}

.mininmal-section .contact-box {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 4px;
}

.mininmal-section .footer-note {
  background-color: #eeeeee;
  padding: 15px;
  margin-top: 20px;
  font-size: 0.85rem;
}

.mininmal-section ul {
  padding-left: 1.5rem;
}
.mininmal-section li {
  margin-bottom: 0.3rem;
}

.container.c-mw-sm {
  max-width: 815px;
}

/* Loading spinner styles */
.listings-loading-spinner {
  text-align: center;
  color: var(--primary-color, #007bff);
}

.property-listings-grid.list-view .col-md-6 {
  width: 100%;
  max-width: 100%;
}

/* List view card layout */
.property-listings-grid.list-view .property-card {
  display: flex;
  flex-direction: row;
  height: auto; /* Remove fixed height */
  min-height: auto;
  padding: 0;
  gap: 0;
  align-items: stretch;
}

/* Image container in list view */
.property-listings-grid.list-view .property-image {
  width: 320px;
  min-width: 320px;
  height: auto;
  min-height: 240px;
  flex-shrink: 0;
  position: relative;
}

.property-listings-grid.list-view .property-image img {
  border-radius: 14px 0 0 14px; /* Only round left corners */
  height: 100%;
  object-fit: cover;
}

/* Content area in list view */
.property-listings-grid.list-view .property-content {
  flex: 1;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Price styling in list view */
.property-listings-grid.list-view .property-price {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-dark);
}

/* Title in list view */
.property-listings-grid.list-view .property-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

/* Address in list view */
.property-listings-grid.list-view .property-address {
  font-size: 14px;
  margin-bottom: 16px;
}

/* Features in list view - horizontal layout */
.property-listings-grid.list-view .property-features {
  display: flex;
  flex-direction: row;
  gap: 24px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.property-listings-grid.list-view .property-features span {
  font-size: 15px;
  color: var(--text-medium);
}

/* Button in list view */
.property-listings-grid.list-view .btn-contact {
  width: auto;
  max-width: 200px;
  padding: 12px 24px;
  margin-top: 0;
}

/* Badge positioning in list view */
.property-listings-grid.list-view .property-badge {
  position: absolute;
  top: 16px;
  left: 16px;
}

.property-listings-grid.list-view .property-badge.badge-reduced {
  top: 52px; /* Stack below the main badge */
  left: 16px;
}

/* ============================================
   RESPONSIVE LIST VIEW
   ============================================ */

/* Tablet view */
@media (max-width: 991px) {
  .property-listings-grid.list-view .property-image {
    width: 280px;
    min-width: 280px;
    min-height: 220px;
  }

  .property-listings-grid.list-view .property-content {
    padding: 20px 24px;
  }

  .property-listings-grid.list-view .property-price {
    font-size: 20px;
  }

  .property-listings-grid.list-view .property-title {
    font-size: 16px;
  }
}

/* Mobile view - switch back to vertical card layout */
@media (max-width: 768px) {
  .property-listings-grid.list-view .property-card {
    flex-direction: column;
  }

  .property-listings-grid.list-view .property-image {
    width: 100%;
    min-width: 100%;
    height: 200px;
    min-height: 200px;
  }

  .property-listings-grid.list-view .property-image img {
    border-radius: 14px 14px 0 0; /* Round top corners only */
  }

  .property-listings-grid.list-view .property-content {
    padding: 20px;
  }

  .property-listings-grid.list-view .property-features {
    gap: 16px;
  }

  .property-listings-grid.list-view .btn-contact {
    width: 100%;
    max-width: 100%;
  }

  .property-listings-grid.list-view .property-badge {
    top: 12px;
    left: 12px;
  }

  .property-listings-grid.list-view .property-badge.badge-reduced {
    top: 48px;
  }
}

/* Small mobile */
@media (max-width: 576px) {
  .property-listings-grid.list-view .property-features {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* Hover effect for list view cards */
.property-listings-grid.list-view .property-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

/* Smooth transitions */
.property-listings-grid .property-card {
  transition: all 0.3s ease;
}

/* Add subtle animation when switching views */
.property-listings-grid.list-view .property-card {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Loading state for view switching */
.property-listings-grid.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* Filter button enhancement */
.btn-clear-filters {
  width: 100%;
  padding: 10px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  color: #6c757d;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-clear-filters:hover {
  background: #e9ecef;
  color: #495057;
}

.btn-clear-filters i {
  margin-right: 5px;
}
