:root {
  --primary-color: #0A2342;
  --accent-color: #C9A84C;
  --bg-color: #FFFFFF;
  --secondary-bg: #F0F4F8;
  --text-color: #0A2342;
  --subtext-color: #6B7280;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

/* Resets and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-color);
  color: #fff;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.3);
}

.btn-primary:hover {
  background-color: #b39542;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn-secondary:hover {
  background-color: #fff;
  color: var(--primary-color);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

.btn-outline:hover {
  background-color: var(--accent-color);
  color: #fff;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: var(--bg-color);
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

.nav-links {
  display: flex;
  gap: 35px;
  align-items: center;
}

.nav-links a {
  font-weight: 500;
  font-size: 15px;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.header-phone {
  font-weight: 600;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.burger-menu {
  display: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(10, 35, 66, 0.65), rgba(10, 35, 66, 0.65)), url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  height: 85vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  color: #fff;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 25px;
  color: #fff;
  max-width: 900px;
  line-height: 1.1;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
  color: #e2e8f0;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

/* Sections Common */
section {
  padding: 100px 5%;
}

.section-title {
  text-align: center;
  font-size: 2.75rem;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Featured Listings */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.property-card {
  background-color: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.property-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.property-img {
  height: 280px;
  background-color: #ddd;
  position: relative;
  overflow: hidden;
}

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

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

.property-price {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: var(--primary-color);
  color: #fff;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.25rem;
  font-family: var(--font-heading);
  letter-spacing: 0.5px;
}

.property-content {
  padding: 30px;
}

.property-address {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.property-features {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 18px 0;
  margin-bottom: 25px;
  color: var(--subtext-color);
  font-size: 0.95rem;
}

.property-features div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-features i {
  color: var(--accent-color);
}

/* Services */
.services-section {
  background-color: var(--secondary-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.service-card {
  text-align: center;
  padding: 50px 40px;
  background-color: var(--bg-color);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-icon {
  font-size: 45px;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.service-card h3 {
  margin-bottom: 20px;
  font-size: 1.75rem;
}

.service-card p {
  color: var(--subtext-color);
  line-height: 1.7;
}

/* Why Choose Us */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.reason-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px 30px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.reason-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  background-color: var(--bg-color);
}

.reason-icon {
  width: 60px;
  height: 60px;
  background-color: var(--secondary-bg);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 25px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.reason-card:hover .reason-icon {
  background-color: var(--accent-color);
  color: #fff;
}

.reason-card h3 {
  font-size: 1.25rem;
  margin-bottom: 15px;
  font-family: var(--font-body);
}

.reason-card p {
  color: var(--subtext-color);
  font-size: 1rem;
  line-height: 1.6;
}

/* Testimonials */
.testimonials-section {
  background-color: var(--secondary-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.testimonial-card {
  background-color: var(--bg-color);
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  position: relative;
}

.quote-icon {
  position: absolute;
  top: 30px;
  right: 30px;
  font-size: 60px;
  color: rgba(201, 168, 76, 0.15);
  font-family: var(--font-heading);
  line-height: 1;
}

.testimonial-text {
  color: var(--subtext-color);
  font-style: italic;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  line-height: 1.8;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 20px;
}

.client-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
}

.client-details h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  font-family: var(--font-body);
}

.client-details p {
  color: var(--accent-color);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(to right, #0A2342, #113665);
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.cta-section h2 {
  color: #fff;
  font-size: 3rem;
  margin-bottom: 40px;
}

/* Footer */
.footer {
  background-color: #051426;
  color: #fff;
  padding: 100px 5% 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 70px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 25px;
  display: block;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-about p {
  color: #94a3b8;
  margin-bottom: 25px;
  line-height: 1.7;
}

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

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

.social-links a:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

.footer-heading {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 12px;
  font-family: var(--font-body);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links li {
  margin-bottom: 15px;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: '\f105';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--accent-color);
  font-size: 12px;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
}

.footer-links a:hover::before {
  transform: translateX(5px);
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: #94a3b8;
  line-height: 1.6;
}

.footer-contact i {
  color: var(--accent-color);
  margin-top: 5px;
  font-size: 18px;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: #94a3b8;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 10px;
}

.footer-hours li span:last-child {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: #64748b;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .section-title { font-size: 2.25rem; }
  section { padding: 80px 5%; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--bg-color);
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .header-phone {
    display: none;
  }
  
  .header-phone.active {
    display: flex;
    justify-content: center;
    padding: 15px 0;
    border-top: 1px solid #e2e8f0;
    width: 100%;
    margin-top: 10px;
  }
  
  .burger-menu {
    display: block;
  }
  
  .hero {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero h1 { font-size: 2.75rem; }
  .hero-subtitle { font-size: 1.1rem; }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
  }
  
  section { padding: 60px 5%; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-section h2 { font-size: 2.25rem; }
}

/* Utilities */
.w-full { width: 100%; }
.text-center { text-align: center; }

/* ========================================= */
/*       Properties Page Specific Styles     */
/* ========================================= */

.page-hero {
  background: linear-gradient(rgba(10, 35, 66, 0.75), rgba(10, 35, 66, 0.75)), url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  padding: 140px 20px 100px;
  text-align: center;
  color: #fff;
}

.page-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #fff;
  text-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.page-hero p {
  font-size: 1.15rem;
  color: #e2e8f0;
  max-width: 600px;
  margin: 0 auto;
}

/* Filter Section */
.filter-section {
  background-color: var(--secondary-bg);
  padding: 40px 5%;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-end;
}

.filter-group {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-size: 1.05rem;
}

.filter-select {
  padding: 14px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-color);
  outline: none;
  background-color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%230A2342%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 15px top 50%;
  background-size: 12px auto;
}

.filter-select:focus, .filter-select:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.filter-btn-group {
  display: flex;
  align-items: flex-end;
}

#search-btn {
  padding: 14px 40px;
  height: 50px;
}

/* Property Badges */
.property-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  z-index: 10;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.badge-buy { background-color: var(--primary-color); }
.badge-sell { background-color: var(--accent-color); color: #fff; }
.badge-rent { background-color: #2b6cb0; }

/* Filter Responsive */
@media (max-width: 768px) {
  .page-hero { padding: 100px 20px 60px; }
  .page-hero h1 { font-size: 2.75rem; }
  .filter-group { min-width: 100%; }
  .filter-btn-group { width: 100%; }
  #search-btn { width: 100%; }
}

/* ========================================= */
/*       Property Detail Page Styles         */
/* ========================================= */

.property-detail-wrapper {
  padding: 60px 5% 60px;
  background-color: var(--secondary-bg);
}

.breadcrumb {
  margin-bottom: 30px;
  color: var(--subtext-color);
  font-size: 0.95rem;
}

.breadcrumb a {
  color: var(--primary-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.breadcrumb i {
  font-size: 0.8rem;
  margin: 0 8px;
  color: #cbd5e1;
}

.property-top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}

.property-title-area h1 {
  font-size: 2.75rem;
  margin-bottom: 10px;
}

.property-title-area p {
  color: var(--subtext-color);
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-price-area {
  text-align: right;
}

.property-price-large {
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
  margin-bottom: 8px;
}

.property-status {
  display: inline-block;
  padding: 5px 15px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Gallery */
.property-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 15px;
  margin-bottom: 50px;
  border-radius: 12px;
  overflow: hidden;
}

.gallery-main {
  height: 500px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-main img:hover {
  opacity: 0.95;
}

.gallery-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 15px;
  height: 500px;
}

.gallery-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-side img:hover {
  opacity: 0.9;
}

/* Main Content Layout */
.property-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.property-details-box {
  background-color: var(--bg-color);
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  margin-bottom: 40px;
}

.property-details-box h2 {
  font-size: 1.85rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
}

.key-features-bar {
  display: flex;
  justify-content: space-between;
  padding: 25px 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 35px;
}

.key-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.key-feature i {
  font-size: 26px;
  color: var(--accent-color);
}

.key-feature span {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-color);
}

.key-feature small {
  color: var(--subtext-color);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-description p {
  margin-bottom: 20px;
  color: var(--subtext-color);
  line-height: 1.8;
  font-size: 1.05rem;
}

.features-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--subtext-color);
  font-size: 1.05rem;
}

.features-list li i {
  color: var(--accent-color);
  width: 20px;
  text-align: center;
}

/* Sidebar */
.agent-sidebar {
  background-color: var(--bg-color);
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.04);
  position: sticky;
  top: 100px;
}

.agent-profile {
  text-align: center;
  margin-bottom: 35px;
}

.agent-profile img {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 15px;
  border: 3px solid var(--accent-color);
  padding: 3px;
}

.agent-profile h3 {
  font-size: 1.35rem;
  margin-bottom: 5px;
}

.agent-profile p {
  color: var(--subtext-color);
  margin-bottom: 15px;
  font-weight: 500;
}

.agent-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  background-color: var(--secondary-bg);
  border-radius: 6px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 35px;
  transition: background-color 0.3s ease;
}

.agent-contact-btn:hover {
  background-color: #e2e8f0;
}

.agent-contact-btn i {
  color: var(--accent-color);
}

.sidebar-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  font-family: var(--font-body);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  background-color: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent-color);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* Similar Properties Section */
.similar-properties {
  padding: 80px 5%;
  background-color: var(--bg-color);
}

/* Detail Responsive */
@media (max-width: 1024px) {
  .property-gallery {
    grid-template-columns: 1fr;
  }
  .gallery-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
    height: 250px;
  }
}

@media (max-width: 992px) {
  .property-layout {
    grid-template-columns: 1fr;
  }
  .agent-sidebar {
    position: static;
  }
  .property-top-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .property-price-area {
    text-align: left;
  }
}

@media (max-width: 768px) {
  .features-list {
    grid-template-columns: 1fr;
  }
  .gallery-main {
    height: 350px;
  }
  .gallery-side {
    height: 200px;
  }
  .key-features-bar {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-start;
  }
  .key-feature {
    width: 45%;
    align-items: flex-start;
    text-align: left;
  }
  .property-details-box {
    padding: 30px 20px;
  }
}

/* ========================================= */
/*         Services Page Specific Styles     */
/* ========================================= */

.service-detail-section {
  padding: 100px 5%;
}

.service-detail-section:nth-child(odd) {
  background-color: var(--bg-color);
}

.service-detail-section:nth-child(even) {
  background-color: var(--secondary-bg);
}

.service-detail-layout {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-detail-section:nth-child(even) .service-detail-layout {
  flex-direction: row-reverse;
}

.service-detail-content {
  flex: 1.2;
}

.service-detail-image {
  flex: 1;
  position: relative;
}

.service-detail-image img {
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.service-detail-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent-color);
  border-radius: 12px;
  z-index: -1;
}

.service-detail-section:nth-child(even) .service-detail-image::before {
  left: 20px;
  top: 20px;
}

.service-detail-content h2 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.service-detail-content h2 i {
  color: var(--accent-color);
  font-size: 2.2rem;
}

.service-detail-content > p {
  color: var(--subtext-color);
  font-size: 1.15rem;
  margin-bottom: 35px;
  line-height: 1.8;
}

.service-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.service-process h3, .service-benefits h3 {
  font-size: 1.4rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
  display: inline-block;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.process-step {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.step-number {
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
  font-family: var(--font-heading);
  box-shadow: 0 4px 10px rgba(10, 35, 66, 0.2);
}

.step-content h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.step-content p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: var(--subtext-color);
}

.benefits-list {
  list-style: none;
}

.benefits-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--subtext-color);
  font-size: 1.05rem;
  line-height: 1.6;
}

.benefits-list li i {
  color: var(--accent-color);
  margin-top: 5px;
  font-size: 1.2rem;
}

/* Stats Section */
.stats-section {
  background: linear-gradient(rgba(10, 35, 66, 0.85), rgba(10, 35, 66, 0.85)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/fixed cover no-repeat;
  padding: 120px 5%;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  background-color: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  transition: transform 0.4s ease, background-color 0.4s ease;
}

.stat-item:hover {
  transform: translateY(-10px);
  background-color: rgba(255,255,255,0.1);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--accent-color);
  margin-bottom: 15px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.stat-label {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #e2e8f0;
}

/* Responsive */
@media (max-width: 1024px) {
  .service-detail-layout, .service-detail-section:nth-child(even) .service-detail-layout {
    gap: 40px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .service-detail-layout, .service-detail-section:nth-child(even) .service-detail-layout {
    flex-direction: column;
  }
  .service-detail-image {
    width: 100%;
    order: -1;
  }
  .service-detail-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .service-blocks {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .stat-number {
    font-size: 3rem;
  }
}

/* ========================================= */
/*         About Page Specific Styles        */
/* ========================================= */

.about-section {
  padding: 100px 5%;
}

.about-section.bg-light {
  background-color: var(--secondary-bg);
}

.story-layout {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.story-content {
  flex: 1.2;
}

.story-content h2 {
  font-size: 2.75rem;
  margin-bottom: 25px;
}

.story-content p {
  color: var(--subtext-color);
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
}

.story-image {
  flex: 1;
  position: relative;
}

.story-image img {
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  width: 100%;
}

.story-image::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--accent-color);
  border-radius: 12px;
  z-index: -1;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mv-card {
  background-color: var(--bg-color);
  padding: 60px 50px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  text-align: center;
  border-bottom: 4px solid var(--accent-color);
}

.mv-icon {
  font-size: 3.5rem;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.mv-card h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.mv-card p {
  color: var(--subtext-color);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.team-card {
  background-color: var(--bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.team-img {
  height: 400px;
  position: relative;
}

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

.team-info {
  padding: 35px 30px;
  text-align: center;
}

.team-info h3 {
  font-size: 1.5rem;
  margin-bottom: 5px;
}

.team-title {
  color: var(--accent-color);
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-bio {
  color: var(--subtext-color);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Values Section */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-item {
  text-align: center;
  padding: 50px 30px;
  background-color: var(--bg-color);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.value-item:hover {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(10, 35, 66, 0.15);
}

.value-item:hover p, .value-item:hover h3 {
  color: #fff;
}

.value-item i {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 25px;
}

.value-item h3 {
  font-size: 1.35rem;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.value-item p {
  color: var(--subtext-color);
  font-size: 1rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* About Responsive */
@media (max-width: 992px) {
  .story-layout {
    flex-direction: column;
    gap: 40px;
  }
  .story-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .mission-vision-grid {
    grid-template-columns: 1fr;
  }
  .team-img {
    height: 350px;
  }
}

/* ========================================= */
/*       Contact Page Specific Styles        */
/* ========================================= */

.contact-section {
  padding: 100px 5%;
}

.contact-layout {
  display: flex;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form-container {
  flex: 1.5;
  background: var(--bg-color);
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.contact-form-container h2 {
  font-size: 2.25rem;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

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

.form-group.full-width {
  width: 100%;
}

.form-group label {
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--primary-color);
}

.form-control {
  padding: 15px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #f8fafc;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

.form-control.error {
  border-color: #ef4444;
  background-color: #fef2f2;
}

.error-message {
  color: #ef4444;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

textarea.form-control {
  resize: vertical;
  min-height: 150px;
}

.success-message {
  display: none;
  background-color: #dcfce7;
  color: #166534;
  padding: 40px 20px;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
  text-align: center;
}

.success-message i {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #22c55e;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-info-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-block {
  background-color: var(--secondary-bg);
  padding: 40px;
  border-radius: 12px;
}

.info-block h3 {
  font-size: 1.5rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 10px;
}

.info-list {
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  color: var(--subtext-color);
  font-size: 1.05rem;
  line-height: 1.6;
}

.info-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
  margin-top: 4px;
}

.info-list li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.info-list li a:hover {
  color: var(--accent-color);
}

.hours-list {
  list-style: none;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: var(--subtext-color);
  font-size: 1.05rem;
  border-bottom: 1px dashed #cbd5e1;
  padding-bottom: 8px;
}

.map-container {
  border-radius: 12px;
  overflow: hidden;
  height: 350px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact Responsive */
@media (max-width: 992px) {
  .contact-layout {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .form-group {
    margin-bottom: 20px;
  }
  .contact-form-container {
    padding: 30px 20px;
  }
}

/* ========================================= */
/*         Admin & Login Page Styles         */
/* ========================================= */

.login-body {
  background-color: var(--secondary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
}

.login-container {
  background: #fff;
  padding: 50px 40px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  width: 100%;
  max-width: 450px;
  text-align: center;
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.login-logo img {
  height: 45px;
  border-radius: 6px;
}

.login-container h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: var(--primary-color);
}

.login-form .form-group {
  text-align: left;
  margin-bottom: 20px;
}

.admin-header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.admin-header .logo {
  color: #fff;
}

.admin-header .logo span {
  color: var(--accent-color);
}

.admin-main {
  padding: 40px 5%;
  max-width: 1400px;
  margin: 0 auto;
}

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

.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.admin-stat-card {
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-left: 4px solid var(--accent-color);
}

.admin-stat-card h3 {
  font-size: 1rem;
  color: var(--subtext-color);
  margin-bottom: 10px;
}

.admin-stat-card .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-heading);
}

.admin-table-container {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th, .admin-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid #e2e8f0;
}

.admin-table th {
  background-color: #f8fafc;
  color: var(--primary-color);
  font-weight: 600;
}

.admin-table tbody tr:hover {
  background-color: #f8fafc;
}

.admin-table img {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.status-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.status-active { background-color: #dcfce7; color: #166534; }
.status-sold { background-color: #fee2e2; color: #991b1b; }
.status-pending { background-color: #fef9c3; color: #854d0e; }

.action-btns {
  display: flex;
  gap: 10px;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 5px;
  border-radius: 4px;
  transition: all 0.2s;
}

.btn-edit { color: #3b82f6; }
.btn-edit:hover { background-color: #eff6ff; }
.btn-delete { color: #ef4444; }
.btn-delete:hover { background-color: #fef2f2; }

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 35, 66, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #fff;
  width: 90%;
  max-width: 800px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  padding: 20px 30px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary-color);
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--subtext-color);
  transition: color 0.2s;
}

.close-modal:hover {
  color: #ef4444;
}

.modal-body {
  padding: 30px;
  overflow-y: auto;
}

.modal-footer {
  padding: 20px 30px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

/* ========================================= */
/*            Agent Login Button             */
/* ========================================= */

.agent-login-btn {
  border: 1px solid var(--accent-color);
  color: var(--accent-color) !important;
  padding: 6px 18px !important;
  border-radius: 4px;
  font-size: 0.85rem !important;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-left: 15px;
  text-decoration: none;
}

.agent-login-btn:hover {
  background-color: var(--accent-color);
  color: #fff !important;
}

@media (max-width: 1024px) {
  .agent-login-btn {
    margin-left: 0;
    margin-top: 15px;
    display: inline-block;
    align-self: center;
  }
}
