/* Premium Real Estate Color Palette */
:root {
  --primary-white: #ffffff;
  --secondary-white: #fafafa;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #666666;
  --text-dark: #333333;
  --text-light: #777777;
  --accent-emerald: #0d7e63;
  --shadow-light: rgba(0, 0, 0, 0.05);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-heavy: rgba(0, 0, 0, 0.15);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--primary-white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

p {
  font-size: 1rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background-color: var(--accent-emerald);
  color: white;
  box-shadow: 0 4px 6px var(--shadow-light);
}

.btn-primary:hover {
  background-color: #0b6a54;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px var(--shadow-medium);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 2px solid var(--medium-gray);
}

.btn-outline:hover {
  background-color: var(--light-gray);
  border-color: var(--dark-gray);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 0px;
  box-shadow: 0 2px 10px var(--shadow-light);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--secondary-white) 0%, var(--light-gray) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('https://images.unsplash.com/photo-1564013799919-ab600027ffc6?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80') no-repeat center center;
  background-size: cover;
  opacity: 0.05;
  z-index: -1;
}

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

.hero-content h1 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.search-bar {
  display: flex;
  gap: 15px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.search-input {
  flex: 1;
  min-width: 200px;
  position: relative;
}

.search-input input,
.search-input select {
  width: 100%;
  padding: 14px 16px 14px 40px;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  font-size: 1rem;
  background-color: var(--primary-white);
  transition: border-color 0.3s ease;
}

.search-input .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--dark-gray);
  z-index: 1;
}

.search-input input:focus,
.search-input select:focus {
  outline: none;
  border-color: var(--accent-emerald);
}

.search-bar .btn {
  min-width: 180px;
  align-self: flex-end;
}

.hero-cta {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Value Proposition */
.value-prop {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.value-prop .container {
  text-align: center;
}

.value-prop h2 {
  margin-bottom: 1rem;
}

.value-prop p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 3rem;
  color: var(--text-light);
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 2rem;
}

.card {
  background: var(--primary-white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-medium);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--accent-emerald);
  display: flex;
  justify-content: center;
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Featured Properties */
.featured-properties {
  padding: 100px 0;
  background-color: var(--secondary-white);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.section-header h2 {
  margin-bottom: 0;
}

.view-all {
  text-decoration: none;
  color: var(--accent-emerald);
  font-weight: 500;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.view-all:hover {
  color: #0b6a54;
}

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.property-card-link {
  text-decoration: none;
  display: block;
}

.property-card {
  background: var(--primary-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeInUp 0.6s ease-out;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-medium);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.property-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-emerald);
  color: white;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.property-info {
  padding: 20px;
}

.property-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.property-info h3 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.property-location {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.property-details {
  display: flex;
  gap: 15px;
  color: var(--text-light);
  font-size: 0.9rem;
  border-top: 1px solid var(--light-gray);
  padding-top: 15px;
}

.property-details i {
  color: var(--accent-emerald);
  margin-right: 5px;
  width: 16px;
}

/* Agents Section */
.agents-section {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.agents-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.agents-text h2 {
  margin-bottom: 1rem;
}

.agents-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: var(--text-light);
}

.benefits-list {
  list-style: none;
  margin-bottom: 2rem;
}

.benefits-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: var(--text-dark);
  display: flex;
  align-items: center;
}

.benefits-list i {
  color: var(--accent-emerald);
  margin-right: 10px;
  width: 20px;
}

.stats {
  display: flex;
  gap: 30px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--accent-emerald);
  margin-bottom: 0.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.agents-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow-medium);
}

/* Testimonials */
.testimonials {
  padding: 100px 0;
  background-color: var(--secondary-white);
}

.testimonials .container {
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 3rem 0;
}

.testimonial-card {
  background: var(--primary-white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-light);
}

.testimonial-content {
  margin-bottom: 20px;
  position: relative;
}

.quote-icon {
  position: absolute;
  top: -20px;
  left: -10px;
  font-size: 2rem;
  color: var(--accent-emerald);
  opacity: 0.3;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.1rem;
  padding-left: 30px;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.author-info p {
  color: var(--text-light);
  margin-bottom: 0;
  font-size: 0.95rem;
}

.partner-logos {
  margin-top: 5rem;
}

.partner-logos h3 {
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.logo-placeholder {
  background: var(--primary-white);
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 3px 10px var(--shadow-light);
  font-weight: 600;
  color: var(--text-dark);
}

/* Final CTA */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #0a5f4a 100%);
  color: white;
  text-align: center;
}

.final-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

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

.final-cta .btn {
  background: white;
  color: var(--accent-emerald);
  font-weight: 600;
}

.final-cta .btn:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

.final-cta .btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.final-cta .btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Auth Section */
.auth-section {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--secondary-white) 0%, var(--light-gray) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.auth-container {
  display: flex;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px var(--shadow-medium);
  max-width: 900px;
  margin: 0 auto;
}

.auth-content {
  flex: 1;
  padding: 50px;
  background: white;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-icon {
  font-size: 3rem;
  color: var(--accent-emerald);
  margin-bottom: 15px;
  display: block;
}

.auth-header h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.auth-header p {
  color: var(--text-light);
  margin-bottom: 0;
}

.auth-form {
  margin-bottom: 25px;
}

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

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

.form-group label i {
  margin-right: 8px;
  color: var(--accent-emerald);
  width: 16px;
  display: inline-block;
}

.form-group input {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(13, 126, 99, 0.1);
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  font-size: 0.9rem;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

.checkbox-group input {
  margin-right: 10px;
  margin-top: 4px;
}

.checkbox-group label {
  margin-bottom: 0;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
  color: var(--text-dark);
}

.checkbox-group i {
  margin-right: 8px;
  color: var(--accent-emerald);
}

.checkbox-group a {
  color: var(--accent-emerald);
  text-decoration: none;
}

.checkbox-group a:hover {
  text-decoration: underline;
}

.forgot-password {
  color: var(--accent-emerald);
  text-decoration: none;
  font-weight: 500;
}

.forgot-password:hover {
  text-decoration: underline;
}

.auth-footer {
  text-align: center;
  margin-bottom: 30px;
}

.auth-footer a {
  color: var(--accent-emerald);
  text-decoration: none;
  font-weight: 500;
}

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

.divider {
  text-align: center;
  position: relative;
  margin: 30px 0;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--medium-gray);
  z-index: 1;
}

.divider span {
  position: relative;
  background: white;
  padding: 0 20px;
  color: var(--text-light);
  z-index: 2;
  font-size: 0.95rem;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  background: white;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.social-btn:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
  border-color: var(--dark-gray);
}

.social-btn.google i {
  color: #DB4437;
  font-size: 1.1rem;
}

.social-btn.facebook i {
  color: #4267B2;
  font-size: 1.1rem;
}

.auth-image {
  flex: 1;
  position: relative;
  min-height: 400px;
}

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

.auth-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 126, 99, 0.85);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  z-index: 2;
}

.auth-image-overlay h2 {
  color: white;
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.auth-image-overlay p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
}

/* Property Detail Page */
.property-detail {
  padding-top: 100px;
  padding-bottom: 50px;
}

.breadcrumb {
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--accent-emerald);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.property-header {
  margin-bottom: 30px;
}

.property-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.property-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent-emerald);
}

.location {
  color: var(--text-light);
  font-size: 1.1rem;
}

.property-gallery {
  margin-bottom: 40px;
}

.main-image img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 15px;
}

.image-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.thumbnail img {
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.thumbnail img:hover {
  opacity: 0.8;
}

.property-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
}

.property-main-content {
  margin-bottom: 40px;
}

.property-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.property-description h2,
.property-details h2,
.property-features h2,
.property-agent h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}

.property-description p {
  margin-bottom: 15px;
  line-height: 1.8;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
}

.detail-item strong {
  color: var(--text-dark);
}

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

.features-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
}

.features-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
  font-weight: bold;
}

.agent-card {
  background: var(--light-gray);
  padding: 25px;
  border-radius: 12px;
}

.agent-info {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.agent-info img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.agent-details h3 {
  margin-bottom: 5px;
  color: var(--text-dark);
}

.agent-details p {
  margin: 3px 0;
  color: var(--text-light);
  font-size: 0.9rem;
}

.agent-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.similar-properties {
  margin-top: 50px;
}

.similar-properties h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}

/* About Page */
.about-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, var(--secondary-white) 0%, var(--light-gray) 100%);
  text-align: center;
}

.about-content h1 {
  margin-bottom: 15px;
}

.about-content p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

.our-story {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.story-text h2 {
  margin-bottom: 20px;
}

.story-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: var(--text-dark);
}

.story-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px var(--shadow-medium);
}

.our-mission {
  padding: 100px 0;
  background-color: var(--secondary-white);
}

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

.mission-text {
  max-width: 800px;
  margin: 0 auto 50px;
}

.mission-text h2 {
  margin-bottom: 20px;
}

.mission-text p {
  font-size: 1.2rem;
  color: var(--text-dark);
}

.mission-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value {
  background: var(--primary-white);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-medium);
}

.value-icon {
  font-size: 2.5rem;
  color: var(--accent-emerald);
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.value h3 {
  margin-bottom: 10px;
  color: var(--text-dark);
}

.value p {
  color: var(--text-light);
}

.leadership-team {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.leadership-team h2 {
  text-align: center;
  margin-bottom: 50px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.team-member {
  background: var(--primary-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.member-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

.member-info {
  padding: 20px;
  text-align: center;
}

.member-info h3 {
  margin-bottom: 5px;
  color: var(--text-dark);
}

.member-info p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.member-info p:first-of-type {
  font-weight: 500;
  color: var(--accent-emerald);
  margin-bottom: 10px;
}

.achievements {
  padding: 100px 0;
  background-color: var(--secondary-white);
}

.achievements h2 {
  text-align: center;
  margin-bottom: 50px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-card {
  background: var(--primary-white);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--accent-emerald);
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 5px;
}

.stat-text {
  color: var(--text-light);
  font-size: 1rem;
}

/* Contact Page */
.contact-hero {
  padding: 150px 0 80px;
  background: linear-gradient(135deg, var(--secondary-white) 0%, var(--light-gray) 100%);
  text-align: center;
}

.contact-content h1 {
  margin-bottom: 15px;
}

.contact-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.contact-info {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.info-card {
  background: var(--primary-white);
  padding: 35px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--light-gray);
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-medium);
}

.info-icon {
  font-size: 2.5rem;
  color: var(--accent-emerald);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.info-card h3 {
  margin-bottom: 12px;
  color: var(--text-dark);
  font-size: 1.2rem;
}

.info-card p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 0.95rem;
}

.contact-form-section {
  padding: 100px 0;
  background-color: var(--secondary-white);
}

.form-container {
  max-width: 800px;
  margin: 0 auto;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.contact-form {
  background: var(--primary-white);
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 5px 15px var(--shadow-light);
  border: 1px solid var(--light-gray);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--medium-gray);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-emerald);
  box-shadow: 0 0 0 3px rgba(13, 126, 99, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form .btn {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
}

.map-container {
  max-width: 800px;
  margin: 60px auto 0;
  text-align: center;
}

.map-container h2 {
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.map-placeholder {
  background: var(--light-gray);
  padding: 80px;
  border-radius: 12px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.map-placeholder i {
  color: var(--accent-emerald);
  font-size: 1.5rem;
}

.faq-section {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background: var(--primary-white);
  border: 1px solid var(--medium-gray);
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 5px 20px var(--shadow-light);
  border-color: var(--accent-emerald);
}

.faq-question {
  padding: 25px;
  background: var(--secondary-white);
  cursor: pointer;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.faq-question i {
  color: var(--accent-emerald);
  font-size: 1.2rem;
}

.faq-answer {
  padding: 25px;
}

.faq-answer p {
  margin: 0;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* Privacy & Terms Pages */
.privacy-hero,
.terms-hero {
  padding: 150px 0 60px;
  background: linear-gradient(135deg, var(--secondary-white) 0%, var(--light-gray) 100%);
  text-align: center;
}

.privacy-content h1,
.terms-content h1 {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.privacy-content h1 i,
.terms-content h1 i {
  color: var(--accent-emerald);
}

.privacy-content p,
.terms-content p {
  font-size: 1rem;
  color: var(--text-light);
}

.privacy-content-section,
.terms-content-section {
  padding: 80px 0 100px;
  background-color: var(--primary-white);
}

.privacy-policy-text,
.terms-text {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.privacy-policy-text h2,
.terms-text h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  color: var(--text-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--light-gray);
}

.privacy-policy-text h3,
.terms-text h3 {
  font-size: 1.4rem;
  margin: 30px 0 15px;
  color: var(--text-dark);
}

.privacy-policy-text h4,
.terms-text h4 {
  font-size: 1.1rem;
  margin: 25px 0 10px;
  color: var(--text-dark);
}

.privacy-policy-text p,
.terms-text p {
  margin-bottom: 15px;
  color: var(--text-light);
}

.privacy-policy-text ul,
.terms-text ul {
  margin: 15px 0;
  padding-left: 25px;
}

.privacy-policy-text ul li,
.terms-text ul li {
  margin-bottom: 10px;
  color: var(--text-light);
  line-height: 1.6;
}

.privacy-policy-text strong,
.terms-text strong {
  color: var(--text-dark);
}

.privacy-policy-text a,
.terms-text a {
  color: var(--accent-emerald);
  text-decoration: none;
}

.privacy-policy-text a:hover,
.terms-text a:hover {
  text-decoration: underline;
}

/* Contact Page */
.footer {
  background-color: var(--text-dark);
  color: white;
  padding: 70px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-section p {
  color: var(--medium-gray);
  margin-bottom: 1.5rem;
}

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

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 36px;
  color: white;
  text-decoration: none;
  transition: background 0.3s ease;
}

.social-links a:hover {
  background: var(--accent-emerald);
}

.social-links i {
  font-size: 16px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: var(--medium-gray);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  color: var(--medium-gray);
}

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

.legal-links a {
  color: var(--medium-gray);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: white;
}

/* Agent Page Styles */
.agent-hero {
  padding: 180px 0 80px;
  background: linear-gradient(135deg, var(--secondary-white) 0%, var(--light-gray) 100%);
  text-align: center;
}

.agent-content h1 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.agent-content > p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.agent-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.agent-stats .stat {
  text-align: center;
}

.agent-stats .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 0.5rem;
}

.agent-stats .stat-label {
  font-size: 1rem;
  color: var(--text-light);
}

.agent-benefits {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.agent-benefits h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.benefit-card {
  background: var(--primary-white);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-medium);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.benefit-card h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.7;
}

.agent-process {
  padding: 100px 0;
  background-color: var(--secondary-white);
}

.agent-process h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 60px;
  height: 60px;
  background: var(--accent-emerald);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.step h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.step p {
  color: var(--text-light);
  line-height: 1.7;
}

.agent-testimonials {
  padding: 100px 0;
  background-color: var(--primary-white);
}

.agent-testimonials h2 {
  text-align: center;
  margin-bottom: 3rem;
}

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

.testimonial-card {
  background: var(--primary-white);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 5px 15px var(--shadow-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px var(--shadow-medium);
}

.testimonial-content {
  margin-bottom: 20px;
}

.testimonial-content p {
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.8;
  font-size: 1.05rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

.author-info h4 {
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.agent-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--accent-emerald) 0%, #0a5f4a 100%);
  color: white;
  text-align: center;
}

.agent-cta h2 {
  color: white;
  margin-bottom: 1rem;
}

.agent-cta > p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.agent-cta .cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.agent-cta .btn-primary {
  background: white;
  color: var(--accent-emerald);
}

.agent-cta .btn-primary:hover {
  background: var(--light-gray);
  transform: translateY(-2px);
}

.agent-cta .btn-outline {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.5);
}

.agent-cta .btn-outline:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 992px) {
  .agents-content {
    grid-template-columns: 1fr;
  }

  .stats {
    justify-content: center;
  }

  .auth-container {
    flex-direction: column;
  }

  .auth-image {
    height: 300px;
  }

  .property-content {
    grid-template-columns: 1fr;
  }

  .story-content {
    grid-template-columns: 1fr;
  }

  .mission-values {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .header .container {
    flex-direction: column;
    gap: 15px;
  }

  .nav ul {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .search-bar {
    flex-direction: column;
  }

  .search-bar .btn {
    width: 100%;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .final-cta .btn {
    width: 100%;
    max-width: 300px;
  }

  .auth-section {
    padding: 50px 20px;
  }

  .auth-content {
    padding: 30px;
  }

  .form-options {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }

  .property-detail {
    padding-top: 70px;
  }

  .contact-hero {
    padding: 120px 0 60px;
  }

  .contact-form {
    padding: 25px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .legal-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .hero {
    padding: 130px 0 60px;
  }
  
  .auth-header h1 {
    font-size: 1.8rem;
  }
  
  .auth-image-overlay h2 {
    font-size: 1.5rem;
  }
}