/* US Foreclosure Recovery - Modern Professional Styling */

:root {
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #ecf0f1;
  --dark-color: #2c3e50;
  --success-color: #27ae60;
  --font-main: 'Open Sans', Arial, sans-serif;
  --font-heading: 'Montserrat', Arial, sans-serif;
}

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

body {
  font-family: var(--font-main);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

header {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  text-align: center;
  position: relative;
}

header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

header .content {
  position: relative;
  z-index: 2;
}

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

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: white;
}

h2 {
  font-size: 2rem;
  color: var(--secondary-color);
  border-bottom: 2px solid var(--light-color);
  padding-bottom: 0.5rem;
  margin-top: 2rem;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.hero {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.section {
  padding: 4rem 0;
}

.section-alt {
  background-color: var(--light-color);
}

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

.section-title h2 {
  display: inline-block;
  border-bottom: 3px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

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

.card {
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.card-content {
  padding: 1.5rem;
}

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

.image-feature {
  display: flex;
  align-items: center;
  margin: 3rem 0;
}

.image-feature-reverse {
  flex-direction: row-reverse;
}

.image-feature-img {
  flex: 1;
  padding: 1rem;
}

.image-feature-img img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.image-feature-content {
  flex: 1;
  padding: 2rem;
}

.quote {
  background-color: var(--light-color);
  padding: 2rem;
  border-left: 5px solid var(--accent-color);
  margin: 2rem 0;
  font-style: italic;
}

.quote p {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.quote-author {
  font-weight: bold;
  text-align: right;
  color: var(--primary-color);
}

.cta {
  background-color: var(--accent-color);
  color: white;
  text-align: center;
  padding: 4rem 0;
}

.cta h2 {
  color: white;
  border: none;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

.btn {
  display: inline-block;
  background-color: var(--secondary-color);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #2980b9;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
}

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

footer {
  background-color: var(--dark-color);
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.copyright {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .image-feature {
    flex-direction: column;
  }
  
  .image-feature-reverse {
    flex-direction: column;
  }
  
  .hero {
    height: 400px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .hero {
    height: 350px;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}
