/* Hero section */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

:root {
  --dark-blue: #093a60;
  --golden: #cea54a;
  --light-bg: #f8f9fa;
  --dark-text: #333;
  --light-text: #fff;
  --transition: all 0.3s ease;
}

body {
  background-color: var(--light-bg);
  color: var(--dark-text);
  overflow-x: hidden;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(9, 58, 96, 0.7), rgba(9, 58, 96, 0.5)),
    url("../images/addis2.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
  image-rendering: -webkit-optimize-contrast; /* Better rendering */
  image-rendering: crisp-edges;
}

.hero-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  padding-top: 80px; /* Added padding at the top */
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  padding-top: 40px; /* Added padding above h1 */
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  line-height: 1.6;
  opacity: 0.9;
  margin-left: auto;
  margin-right: auto;
}

.search-container {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  margin: 0 auto;
}

.search-title {
  color: var(--dark-blue);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
  font-weight: 500;
  text-align: left;
}

.form-control {
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--golden);
  box-shadow: 0 0 0 2px rgba(206, 165, 74, 0.2);
}

.search-button {
  background-color: var(--golden);
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-button i {
  margin-right: 0.5rem;
}

.search-button:hover {
  background-color: #b8913a;
  transform: translateY(-2px);
}

.stats {
  display: flex;
  margin-top: 3rem;
  gap: 2rem;
  justify-content: center;
}

.stat-item {
  display: flex;
  align-items: center;
}

.stat-icon {
  background-color: var(--golden);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
}

.stat-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design - Improved Mobile Responsiveness */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
    padding-top: 30px; /* Adjusted padding for tablet */
  }

  nav ul {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .cta-button {
    display: none;
  }

  .hero-content {
    padding-top: 60px; /* Adjusted padding for tablet */
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 60px; /* Added padding to show more background */
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero h1 {
    font-size: 2.4rem;
    padding-top: 50px; /* More padding on mobile */
    margin-bottom: 1.2rem;
  }

  .hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0 1rem;
  }

  .search-container {
    margin: 0 1rem;
    padding: 1.5rem;
  }

  .search-form {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .stats {
    flex-direction: row; /* Changed to row for side-by-side layout */
    flex-wrap: wrap; /* Allow wrapping if needed */
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
  }

  .stat-item {
    flex: 0 0 auto;
    justify-content: center;
    margin: 0.5rem;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-right: 0.8rem;
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .hero {
    padding: 80px 0 40px; /* Adjusted padding for small mobile */
  }

  .hero-content {
    padding-top: 30px;
  }

  .hero h1 {
    font-size: 2rem;
    padding-top: 40px;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .search-container {
    padding: 1.2rem;
    margin: 0 0.5rem;
  }

  .search-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .stats {
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .stat-item {
    flex-direction: column;
    text-align: center;
    margin: 0.3rem;
  }

  .stat-icon {
    margin-right: 0;
    margin-bottom: 0.5rem;
  }

  .stat-text {
    text-align: center;
  }

  .logo {
    font-size: 1.5rem;
  }

  .mobile-menu {
    font-size: 1.3rem;
  }
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 1.8rem;
    padding-top: 30px;
  }

  .stats {
    flex-direction: column; /* Stack vertically on very small screens */
    gap: 1rem;
  }

  .stat-item {
    flex-direction: row;
    justify-content: flex-start;
  }

  .stat-icon {
    margin-right: 0.8rem;
    margin-bottom: 0;
  }

  .stat-text {
    text-align: left;
  }
}

/* Updated Logo Styles */
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: var(--transition);
}

.logo-img {
  height: 40px; /* Same height as the original icon + text */
  width: auto;
  transition: var(--transition);
}

header.scrolled .logo-img {
  filter: brightness(0) saturate(100%) invert(16%) sepia(40%) saturate(1500%)
    hue-rotate(185deg) brightness(90%) contrast(90%);
}

/* Updated Stats Icons */
.stat-icon {
  background-color: var(--golden);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
  background-color: var(--dark-blue);
  transform: scale(1.1);
}

/* Responsive adjustments for logo */
@media (max-width: 992px) {
  .logo-img {
    height: 35px;
  }
}

@media (max-width: 576px) {
  .logo-img {
    height: 30px;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-right: 0.8rem;
  }
}

/* Featured Listings Section Styles */
.featured-listings {
  background: #fff;
  padding: 5rem 0;
}

.featured-listings .container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Section Header - Now takes full width and centered */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-subtitle {
  color: #cea54a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-align: center;
}

.section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 700px;
  line-height: 1.6;
  text-align: center;
}

/* CTA Section - Now properly centered below cards */
.section-cta {
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
}

.browse-all {
  background: #cea54a;
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.browse-all:hover {
  background: #b8913a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(206, 165, 74, 0.3);
}

/* Responsive Design */
@media (max-width: 1400px) {
  .featured-listings .container {
    max-width: 1200px;
  }
}

@media (max-width: 1200px) {
  .listings-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .listings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 768px) {
  .featured-listings {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .listings-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .listing-features {
    gap: 1.5rem;
  }

  .section-header {
    margin-bottom: 3rem;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.8rem;
  }

  .listing-actions {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }

  .view-details {
    width: 100%;
    text-align: center;
  }

  .listing-image {
    height: 220px;
  }

  .browse-all {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* How It Works Section - Modern & Classy */
.how-it-works {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.how-it-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cea54a, transparent);
}

.how-it-works .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 5rem; /* Space between sections */
}

.how-it-works .section-header {
  text-align: center;
  width: 100%;
  order: 1; /* Ensures it stays at top */
}

.how-it-works .section-subtitle {
  color: #cea54a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: block;
}

.how-it-works .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.how-it-works .section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  width: 100%;
  order: 2; /* Ensures it stays in middle */
}

.process-step {
  background: white;
  padding: 3rem 2rem;
  border-radius: 16px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid rgba(9, 58, 96, 0.08);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
}

.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #093a60, #cea54a);
  border-radius: 16px 16px 0 0;
  opacity: 0;
  transition: all 0.4s ease;
}

.process-step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(206, 165, 74, 0.2);
}

.process-step:hover::before {
  opacity: 1;
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #093a60, #0a4a7a);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 2rem;
  position: relative;
  transition: all 0.4s ease;
}

.process-step:hover .step-number {
  transform: scale(1.1);
  background: linear-gradient(135deg, #cea54a, #b8913a);
}

.step-icon {
  width: 90px;
  height: 90px;
  background: linear-gradient(
    135deg,
    rgba(206, 165, 74, 0.1),
    rgba(206, 165, 74, 0.05)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.2rem;
  color: #cea54a;
  transition: all 0.4s ease;
}

.process-step:hover .step-icon {
  background: linear-gradient(
    135deg,
    rgba(9, 58, 96, 0.1),
    rgba(9, 58, 96, 0.05)
  );
  color: #093a60;
  transform: scale(1.05);
}

.step-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #093a60;
  margin-bottom: 1.2rem;
}

.step-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.8rem;
  font-size: 1rem;
}

.step-features {
  list-style: none;
  text-align: left;
}

.step-features li {
  padding: 0.6rem 0;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
}

.step-features li i {
  color: #cea54a;
  font-size: 0.9rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.process-step:hover .step-features li i {
  transform: scale(1.2);
}

/* CTA Section - At Bottom */
.process-cta {
  text-align: center;
  background: linear-gradient(135deg, #093a60, #0a4a7a);
  padding: 4rem 3rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
  order: 3; /* Ensures it stays at bottom */
}

.process-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23CEA54A" fill-opacity="0.03" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
}

.process-cta .cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.2rem;
}

.cta-description {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button-primary {
  background: #cea54a;
  color: white;
  border: none;
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
}

.cta-button-primary:hover {
  background: #b8913a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(206, 165, 74, 0.4);
}

.cta-button-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
}

.cta-button-secondary:hover {
  background: white;
  color: #093a60;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .how-it-works .container {
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .how-it-works {
    padding: 4rem 0;
  }

  .how-it-works .section-title {
    font-size: 2.2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-step {
    padding: 2.5rem 1.5rem;
  }

  .process-cta {
    padding: 3rem 2rem;
  }

  .cta-title {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button-primary,
  .cta-button-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .how-it-works .container {
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .how-it-works .section-title {
    font-size: 2rem;
  }

  .process-step {
    padding: 2rem 1.2rem;
  }

  .step-icon {
    width: 70px;
    height: 70px;
    font-size: 1.8rem;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
  }

  .cta-title {
    font-size: 1.6rem;
  }

  .process-cta {
    padding: 2.5rem 1.5rem;
  }

  .how-it-works .container {
    gap: 2.5rem;
  }
}

/* Founder's Message Section */
.founder-message {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 5rem 0;
  position: relative;
}

.founder-message::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cea54a, transparent);
}

.founder-message .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.founder-message .section-header {
  text-align: center;
  width: 100%;
  order: 1;
}

.founder-message .section-subtitle {
  color: #cea54a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: block;
}

.founder-message .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.founder-message .section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Founder Content */
.founder-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  order: 2;
}

.founder-image {
  position: relative;
}

.founder-img {
  width: 100%;
  max-width: 500px;
  height: 600px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.founder-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
}

.founder-badge {
  position: absolute;
  bottom: 30px;
  left: -20px;
  background: linear-gradient(135deg, #cea54a, #b8913a);
  color: white;
  padding: 1.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(206, 165, 74, 0.3);
}

.badge-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  opacity: 0.9;
}

.badge-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.founder-text {
  padding: 2rem 0;
}

.founder-quote {
  font-size: 1.4rem;
  line-height: 1.6;
  color: #093a60;
  margin-bottom: 2rem;
  font-weight: 500;
  position: relative;
}

.founder-quote::before {
  content: '"';
  font-size: 4rem;
  color: #cea54a;
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.2;
  font-family: serif;
}

.founder-description {
  color: #666;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.founder-signature {
  margin-bottom: 2rem;
}

.signature-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 0.3rem;
}

.signature-title {
  color: #cea54a;
  font-weight: 600;
  font-size: 1rem;
}

/* Founder Achievements */
.founder-achievements {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  order: 3;
}

.achievement-item {
  text-align: center;
  padding: 2rem 1rem;
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(9, 58, 96, 0.08);
  transition: all 0.3s ease;
}

.achievement-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: rgba(206, 165, 74, 0.2);
}

.achievement-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    rgba(206, 165, 74, 0.1),
    rgba(206, 165, 74, 0.05)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: #cea54a;
}

.achievement-number {
  font-size: 2rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 0.5rem;
}

.achievement-label {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .founder-content {
    gap: 3rem;
  }

  .founder-img {
    height: 500px;
  }

  .founder-achievements {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .founder-message {
    padding: 4rem 0;
  }

  .founder-message .container {
    gap: 3rem;
  }

  .founder-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .founder-image {
    order: 2;
  }

  .founder-text {
    order: 1;
    padding: 0;
  }

  .founder-quote {
    font-size: 1.2rem;
  }

  .founder-quote::before {
    font-size: 3rem;
    top: -15px;
  }

  .founder-badge {
    position: relative;
    bottom: auto;
    left: auto;
    margin-top: 2rem;
    text-align: center;
  }

  .founder-achievements {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .achievement-item {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 576px) {
  .founder-message .section-title {
    font-size: 2rem;
  }

  .founder-img {
    height: 400px;
  }

  .founder-quote {
    font-size: 1.1rem;
  }

  .founder-description {
    font-size: 1rem;
  }

  .badge-value {
    font-size: 1.5rem;
  }

  .founder-message .container {
    gap: 2.5rem;
  }
}

/* Services Snapshot Section */
.services-snapshot {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  padding: 5rem 0;
  position: relative;
}

.services-snapshot::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cea54a, transparent);
}

.services-snapshot .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.services-snapshot .section-header {
  text-align: center;
  width: 100%;
  order: 1;
}

.services-snapshot .section-subtitle {
  color: #cea54a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: block;
}

.services-snapshot .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.services-snapshot .section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  width: 100%;
  order: 2;
}

.service-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid rgba(9, 58, 96, 0.08);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #093a60, #cea54a);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(206, 165, 74, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(206, 165, 74, 0.1),
    rgba(206, 165, 74, 0.05)
  );
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 2.2rem;
  color: #cea54a;
  transition: all 0.4s ease;
  position: relative;
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, #093a60, #0a4a7a);
  color: white;
  transform: scale(1.05) rotate(5deg);
}

.service-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.service-description {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.service-features {
  list-style: none;
  margin-bottom: 0;
}

.service-features li {
  padding: 0.5rem 0;
  color: #555;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.service-features li i {
  color: #cea54a;
  font-size: 0.9rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-card:hover .service-features li {
  transform: translateX(5px);
}

.service-card:hover .service-features li i {
  color: #093a60;
  transform: scale(1.2);
}

/* Service Card Variations */
.service-card:nth-child(1) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(9, 58, 96, 0.1),
    rgba(9, 58, 96, 0.05)
  );
}

.service-card:nth-child(2) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(206, 165, 74, 0.1),
    rgba(206, 165, 74, 0.05)
  );
}

.service-card:nth-child(3) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(46, 204, 113, 0.1),
    rgba(46, 204, 113, 0.05)
  );
}

.service-card:nth-child(4) .service-icon {
  background: linear-gradient(
    135deg,
    rgba(52, 152, 219, 0.1),
    rgba(52, 152, 219, 0.05)
  );
}

/* Services CTA */
.services-cta {
  text-align: center;
  width: 100%;
  order: 3;
}

.explore-services {
  background: #093a60;
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.explore-services:hover {
  background: #0a4a7a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(9, 58, 96, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
    gap: 2rem;
  }

  .service-card {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .services-snapshot {
    padding: 4rem 0;
  }

  .services-snapshot .container {
    gap: 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card {
    padding: 2.5rem 2rem;
  }

  .services-snapshot .section-title {
    font-size: 2.2rem;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .services-snapshot .section-title {
    font-size: 2rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .service-title {
    font-size: 1.3rem;
  }

  .service-description {
    font-size: 1rem;
  }

  .services-snapshot .container {
    gap: 2.5rem;
  }

  .explore-services {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }
}

/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  padding: 5rem 0;
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cea54a, transparent);
}

.testimonials .container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.testimonials .section-header {
  text-align: center;
  width: 100%;
  order: 1;
}

.testimonials .section-subtitle {
  color: #cea54a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: block;
}

.testimonials .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.testimonials .section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  width: 100%;
  order: 2;
}

.testimonial-card {
  background: white;
  padding: 3rem 2.5rem;
  border-radius: 20px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  border: 1px solid rgba(9, 58, 96, 0.08);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #093a60, #cea54a);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
  border-color: rgba(206, 165, 74, 0.15);
}

.testimonial-card:hover::before {
  transform: scaleX(1);
}

.testimonial-content {
  position: relative;
  z-index: 2;
}

.quote-icon {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 4rem;
  color: rgba(206, 165, 74, 0.1);
  z-index: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #cea54a;
  transition: all 0.3s ease;
}

.testimonial-card:hover .author-avatar {
  border-color: #093a60;
  transform: scale(1.05);
}

.author-info {
  flex: 1;
}

.author-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 0.3rem;
}

.author-role {
  color: #cea54a;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.author-location {
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.author-location i {
  color: #cea54a;
  font-size: 0.8rem;
}

.rating {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.5rem;
}

.rating i {
  color: #cea54a;
  font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .testimonials-grid {
    gap: 2rem;
  }

  .testimonial-card {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 4rem 0;
  }

  .testimonials .container {
    gap: 3rem;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .testimonial-card {
    padding: 2.5rem 2rem;
  }

  .testimonials .section-title {
    font-size: 2.2rem;
  }

  .quote-icon {
    font-size: 3rem;
    top: -5px;
    left: -5px;
  }
}

@media (max-width: 576px) {
  .testimonials .section-title {
    font-size: 2rem;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .author-avatar {
    width: 50px;
    height: 50px;
  }

  .author-name {
    font-size: 1.1rem;
  }

  .testimonials .container {
    gap: 2.5rem;
  }
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #093a60 0%, #0a4a7a 100%);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23CEA54A" fill-opacity="0.05" points="0,0 1000,1000 0,1000"/></svg>');
  background-size: cover;
}

.cta-section .container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Base CTA Button Styles */
.cta-button {
  padding: 1.2rem 2.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  border: none;
  font-family: inherit;
}

/* Remove any potential link underlines */
.cta-button,
.cta-button:link,
.cta-button:visited,
.cta-button:hover,
.cta-button:active,
.cta-button:focus {
  text-decoration: none;
}

/* Primary Button Style */
.cta-button-primary {
  background: #cea54a;
  color: white;
}

.cta-button-primary:hover {
  background: #b8913a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(206, 165, 74, 0.4);
  color: white;
}

/* Secondary Button Style */
.cta-button-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button-secondary:hover {
  background: white;
  color: #093a60;
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .cta-section {
    padding: 4rem 0;
  }

  .cta-title {
    font-size: 2.2rem;
  }

  .cta-description {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .cta-title {
    font-size: 2rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
  padding: 5rem 0;
  position: relative;
}

.faq-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cea54a, transparent);
}

.faq-section .container {
  width: 90%;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.faq-section .section-header {
  text-align: center;
  width: 100%;
  order: 1;
}

.faq-section .section-subtitle {
  color: #cea54a;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  display: block;
}

.faq-section .section-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #093a60;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.faq-section .section-description {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* FAQ Content */
.faq-content {
  width: 100%;
  order: 2;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: white;
  border-radius: 12px;
  border: 1px solid rgba(9, 58, 96, 0.08);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  overflow: hidden;
}

.faq-item:hover {
  border-color: rgba(206, 165, 74, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.faq-question {
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(9, 58, 96, 0.02);
}

.faq-question-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: #093a60;
  line-height: 1.4;
  flex: 1;
  margin-right: 2rem;
}

.faq-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(
    135deg,
    rgba(206, 165, 74, 0.1),
    rgba(206, 165, 74, 0.05)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cea54a;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  background: linear-gradient(135deg, #093a60, #0a4a7a);
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 2.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
  padding: 0 2.5rem 2rem;
  max-height: 500px;
  border-top-color: rgba(9, 58, 96, 0.08);
}

.answer-content {
  color: #666;
  line-height: 1.7;
  font-size: 1.05rem;
}

.answer-content p {
  margin-bottom: 1rem;
}

.answer-content p:last-child {
  margin-bottom: 0;
}

/* FAQ CTA */
.faq-cta {
  text-align: center;
  width: 100%;
  order: 3;
}

.contact-support {
  background: #093a60;
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s ease;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.contact-support:hover {
  background: #0a4a7a;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(9, 58, 96, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-section {
    padding: 4rem 0;
  }

  .faq-section .container {
    gap: 3rem;
  }

  .faq-section .section-title {
    font-size: 2.2rem;
  }

  .faq-question {
    padding: 1.5rem 1.5rem;
  }

  .faq-question-text {
    font-size: 1.1rem;
    margin-right: 1.5rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
  }

  .faq-icon {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
}

@media (max-width: 576px) {
  .faq-section .section-title {
    font-size: 2rem;
  }

  .faq-question {
    padding: 1.2rem 1.2rem;
  }

  .faq-question-text {
    font-size: 1rem;
    margin-right: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 1.2rem 1.2rem;
  }

  .answer-content {
    font-size: 1rem;
  }

  .faq-section .container {
    gap: 2.5rem;
  }

  .contact-support {
    padding: 1rem 2.5rem;
    font-size: 1rem;
  }
}

/* Updated Mobile Navigation Styles */
@media (max-width: 992px) {
  .logo {
    font-size: 1.5rem;
  }

  nav ul {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  /* Show Call Now button in mobile menu instead of hiding it */
  .cta-button {
    display: none; /* Hide from header, show in mobile menu */
  }
}

/* Updated Mobile Menu Styles */
@media (max-width: 992px) {
  /* When mobile menu is open */
  nav ul.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  nav ul.mobile-open li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
  }

  nav ul.mobile-open li:last-child {
    border-bottom: none;
  }

  nav ul.mobile-open li a {
    color: var(--dark-blue);
    padding: 0.8rem 0;
    display: block;
    width: 100%;
  }

  /* Add Call Now button to mobile menu */
  .mobile-cta-button {
    background-color: var(--golden);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(206, 165, 74, 0.3);
    width: 100%;
    margin-top: 1rem;
    text-align: center;
    display: block;
    text-decoration: none;
  }

  .mobile-cta-button:hover {
    background-color: #b8913a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(206, 165, 74, 0.4);
  }
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #093a60 0%, #0a4a7a 100%);
  color: white;
  padding: 4rem 0 0;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cea54a, transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

/* Footer Brand */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-logo span {
  color: #cea54a;
}

.footer-logo .logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.footer-logo .logo-text .marketing {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-motto {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  line-height: 1.6;
  font-style: italic;
  max-width: 300px;
  border-left: 3px solid #cea54a;
  padding-left: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Footer Links */
.footer-links h3,
.footer-contact h3 {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 30px;
  height: 2px;
  background: #cea54a;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: #cea54a;
  transform: translateX(5px);
}

.footer-links a i {
  font-size: 0.8rem;
  color: #cea54a;
  width: 16px;
}

/* Footer Contact */
.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-contact li {
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  line-height: 1.5;
}

.footer-contact i {
  color: #cea54a;
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Social Media */
.footer-social {
  margin-top: 2rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
  background: #cea54a;
  transform: translateY(-3px);
  border-color: #cea54a;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
}

.footer-bottom::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, #cea54a, transparent);
  margin-bottom: 1.5rem;
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.footer-legal a:hover {
  color: #cea54a;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 3rem 0 0;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
  }

  .footer-motto {
    border-left: none;
    border-top: 3px solid #cea54a;
    padding-left: 0;
    padding-top: 1rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-legal {
    flex-direction: column;
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .footer-logo {
    font-size: 1.8rem;
  }

  .footer-motto {
    font-size: 1rem;
  }

  .social-links {
    gap: 0.8rem;
  }

  .social-link {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

/* footer logo */

.footer-logo {
  height: 100px;
}

/* Add to your existing CSS */
.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Prevent layout shifts */
  aspect-ratio: 4 / 3;
}

.founder-img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}

/* Search Toggle Styles */
.search-toggle-container {
  max-width: 400px;
  margin: 0 auto 2rem;
}

.search-toggle {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(206, 165, 74, 0.3);
  border-radius: 12px;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.search-toggle:hover {
  background: white;
  border-color: #cea54a;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.toggle-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.toggle-text {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 600;
  color: #093a60;
  font-size: 1.1rem;
}

.toggle-text i {
  color: #cea54a;
  font-size: 1.2rem;
}

.toggle-icon {
  color: #093a60;
  transition: transform 0.3s ease;
}

.search-toggle[aria-expanded="true"] .toggle-icon {
  transform: rotate(180deg);
}

/* Search Container Styles */
.search-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.search-container.active {
  max-height: 600px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.search-container .search-title {
  color: #093a60;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  text-align: center;
}

/* Enhanced Search Form */
.search-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #093a60;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-label i {
  color: #cea54a;
  font-size: 0.9rem;
}

.form-control {
  padding: 0.9rem 1rem;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-control:focus {
  outline: none;
  border-color: #cea54a;
  box-shadow: 0 0 0 3px rgba(206, 165, 74, 0.1);
}

.form-help {
  color: #6c757d;
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.search-button {
  background: linear-gradient(135deg, #cea54a, #b8913a);
  color: white;
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: end;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  grid-column: 1 / -1;
}

.search-button:hover {
  background: linear-gradient(135deg, #b8913a, #a57c2a);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(206, 165, 74, 0.4);
}

/* Enhanced Hero Section for Better Background Visibility */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(9, 58, 96, 0.6), rgba(9, 58, 96, 0.4)),
    url("../images/addis2.jpg") no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.hero-content {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  z-index: 2;
  padding-top: 80px;
}

.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  line-height: 1.6;
  opacity: 0.95;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
    padding-top: 20px;
  }

  .hero p {
    font-size: 1.1rem;
    padding: 0 1rem;
  }

  .search-toggle-container {
    max-width: 90%;
    margin: 0 auto 1.5rem;
  }

  .search-toggle {
    padding: 1rem 1.2rem;
  }

  .toggle-text {
    font-size: 1rem;
  }

  .search-container.active {
    padding: 1.5rem;
    margin: 0 1rem 1.5rem;
  }

  .search-form {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .search-container .search-title {
    font-size: 1.3rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .search-toggle {
    padding: 0.9rem 1rem;
  }

  .toggle-text {
    font-size: 0.95rem;
    gap: 0.6rem;
  }

  .search-container.active {
    padding: 1.2rem;
  }

  .stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-item {
    justify-content: center;
  }
}

/* Animation for smooth toggle */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-container.active .search-form {
  animation: slideDown 0.3s ease-out;
}

/* Stats Section - Improved for Mobile */
.stats {
  display: flex;
  margin-top: 3rem;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.stat-icon {
  background-color: var(--golden);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.stat-item:hover .stat-icon {
  background-color: var(--dark-blue);
  transform: scale(1.1);
}

.stat-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  flex: 1;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  color: white;
  line-height: 1.3;
}

/* Mobile Optimizations for Stats */
@media (max-width: 768px) {
  .stats {
    flex-direction: row; /* Force side-by-side on mobile */
    gap: 1rem;
    margin-top: 2rem;
    justify-content: space-between;
    padding: 0 0.5rem;
  }

  .stat-item {
    flex-direction: row;
    min-width: auto;
    max-width: none;
    flex: 1;
    margin: 0;
    justify-content: flex-start;
  }

  .stat-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    margin-right: 0.8rem;
    margin-bottom: 0; /* Remove any bottom margin */
  }

  .stat-text {
    text-align: left;
  }

  .stat-number {
    font-size: 1.2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .stats {
    gap: 0.8rem;
    margin-top: 1.5rem;
  }

  .stat-item {
    flex-direction: row;
    align-items: center;
  }

  .stat-icon {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
    margin-right: 0.6rem;
  }

  .stat-number {
    font-size: 1.1rem;
  }

  .stat-label {
    font-size: 0.75rem;
  }
}

/* Extra small mobile devices */
@media (max-width: 400px) {
  .stats {
    gap: 0.5rem;
  }

  .stat-item {
    flex-direction: row;
  }

  .stat-icon {
    width: 32px;
    height: 32px;
    margin-right: 0.5rem;
  }

  .stat-number {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }
}

/* Ensure stats don't wrap on very small screens */
@media (max-width: 350px) {
  .stats {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 0.5rem;
  }

  .stat-item {
    flex: 0 0 auto;
    min-width: 100px;
  }

  /* Hide scrollbar but keep functionality */
  .stats::-webkit-scrollbar {
    display: none;
  }

  .stats {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

/* Add this to your existing search-container.active styles */
.search-container.active ~ .stats {
  display: none;
}

a {
  text-decoration: none;
}

/* Homepage Featured Properties Grid */
.featured-properties-grid {
  margin: 50px 0;
}

.featured-properties-grid .listings-main-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

/* Homepage Property Card Styles */
.featured-properties-grid .property-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #f3f4f6;
  height: auto;
  display: flex;
  flex-direction: column;
}

.featured-properties-grid .property-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-color: #e5e7eb;
}

.featured-properties-grid .property-card-image {
  position: relative;
  height: 200px;
  overflow: hidden;
  flex-shrink: 0;
  border-bottom: 1px solid #f3f4f6;
}

.featured-properties-grid .property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.featured-properties-grid .property-card:hover .property-card-image img {
  transform: scale(1.05);
}

.featured-properties-grid .property-card-placeholder {
  width: 100%;
  height: 100%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 2.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.featured-properties-grid .property-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-properties-grid .property-card-badge.sale {
  background: rgba(16, 185, 129, 0.9);
}

.featured-properties-grid .property-card-badge.rent {
  background: rgba(245, 158, 11, 0.9);
}

.featured-properties-grid .property-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  /* REMOVED gap: 12px */
}

/* Homepage Price Styling */
.featured-properties-grid .listings-price-per-sqm {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0a4572;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 12px; /* ADDED margin instead of gap */
}

.featured-properties-grid .listings-price-per-sqm::before {
  content: "\f02b";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #cea54a;
  font-size: 0.9rem;
}

/* Homepage Title Styling */
.featured-properties-grid .property-card-title {
  margin: 0;
  font-size: 1.1rem;
  color: #374151;
  line-height: 1.4;
  font-weight: 600;
  margin-bottom: 12px; /* ADDED margin instead of gap */
}

.featured-properties-grid .property-card-title a {
  color: #374151;
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-properties-grid .property-card-title a:hover {
  color: #0a4572;
}

/* Homepage Location Styling */
.featured-properties-grid .property-card-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #cea54a;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 12px;
  background: rgba(206, 165, 74, 0.1);
  border-radius: 6px;
  border: 1px solid rgba(206, 165, 74, 0.2);
  border-left: 3px solid #cea54a;
  margin-bottom: 12px; /* ADDED margin instead of gap */
}

.featured-properties-grid .property-card-location i {
  color: #cea54a;
}

/* Homepage Features Styling */
.featured-properties-grid .property-card-features {
  display: flex;
  gap: 15px;
  margin-bottom: 12px; /* ADDED margin instead of gap */
  padding: 12px 0;
  border-bottom: 1px solid #f3f4f6;
}

.featured-properties-grid .property-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 500;
  /* REMOVED background and border */
}

.featured-properties-grid .property-feature i {
  color: #cea54a;
  width: 14px;
  text-align: center;
  font-size: 0.8rem;
}

/* Homepage Divider */
.featured-properties-grid .property-card-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 8px 0;
  border: none;
}

/* Homepage Description */
.featured-properties-grid .property-card-description {
  margin-bottom: 12px; /* ADDED margin instead of gap */
}

.featured-properties-grid .property-card-description p {
  margin: 0;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  /* REMOVED background, padding, and border */
}

/* Homepage Bottom Actions */
.featured-properties-grid .property-card-bottom-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f3f4f6;
}

.featured-properties-grid .view-details-btn {
  background: #0a4572;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(10, 69, 114, 0.2);
}

.featured-properties-grid .view-details-btn:hover {
  background: #b8913a;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(184, 145, 58, 0.3);
  color: white;
}

.featured-properties-grid .property-share-btn {
  background: transparent;
  border: 1px solid #d1d5db;
  color: #6b7280;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.featured-properties-grid .property-share-btn:hover {
  background: #f3f4f6;
  color: #374151;
  border-color: #9ca3af;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.featured-properties-grid .property-share-btn .share-tooltip {
  font-size: 0.75rem;
  font-weight: 500;
}

.featured-properties-grid .property-share-btn.copied .share-tooltip {
  color: #10b981;
}

/* Responsive Design for Homepage */
@media (max-width: 1024px) {
  .featured-properties-grid .listings-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .featured-properties-grid {
    margin: 30px 0;
  }

  .featured-properties-grid .listings-main-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .featured-properties-grid .property-card-image {
    height: 180px;
  }

  .featured-properties-grid .property-card-content {
    padding: 16px;
    /* REMOVED gap */
  }

  .featured-properties-grid .property-card-features {
    gap: 12px;
  }

  .featured-properties-grid .property-card-bottom-actions {
    flex-direction: column;
    gap: 10px;
  }

  .featured-properties-grid .property-share-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .featured-properties-grid .listings-price-per-sqm {
    font-size: 1.1rem;
  }

  .featured-properties-grid .property-card-title {
    font-size: 1rem;
  }

  .featured-properties-grid .property-card-location {
    font-size: 0.85rem;
  }

  .featured-properties-grid .property-feature {
    font-size: 0.8rem;
  }

  .featured-properties-grid .property-card-description p {
    font-size: 0.85rem;
  }
}

.featured-properties-grid .property-share-btn.copied .share-tooltip {
  color: #0a4572;
}

.stats {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Mobile styles: Hide the entire stats section */
@media (max-width: 768px) {
  /* This hides the entire section on mobile */
  /* .stats {
    
    display: none;
  } */

  /* The following rules are now redundant but kept for reference if you ever
       decide to show them again, otherwise you can remove them. */

  .stats {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }

  .stat-item {
    width: 100%;
    padding: 15px;
    /* border-bottom: 1px solid #eee; */
    justify-content: center;
  }

  .stat-item:last-child {
    border-bottom: none;
  }

  .stat-icon {
    font-size: 1rem;
  }
}
