:root {
  --main-blue-color: #0092ff;
  --main-orange-color: #ffa100;
}

body {
  font-family: Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.font-light {
  font-weight: 300;
}

.font-medium {
  font-weight: 500;
}

.font-heavy {
  font-weight: 700;
}

.font-size-1 {
  font-size: 23px;
  font-weight: 40px;
}

.font-size-2 {
  font-size: 29px;
  font-weight: 48px;
}

.font-size-3 {
  font-size: 37px;
  font-weight: 59px;
}

.font-size-4 {
  font-size: 47px;
  font-weight: 74px;
}

.font-size-5 {
  font-size: 60px;
  font-weight: 92px;
}

.font-size-6 {
  font-size: 76px;
  font-weight: 115px;
}

.header-container {
  background: var(--main-blue-color);
  display: flex;
  justify-content: center;
}

.slanted-square {
  position: relative;
  width: 220px;
  height: 200px;
  background-color: white;
  border-radius: 8px;
}

.slanted-square::before {
  content: "";
  position: absolute;
  top: -54px;
  left: 0;
  width: 100%;
  height: 68px;
  background-color: white;
  transform: skewY(14deg);
  transform-origin: top left;
  border-radius: 8px;
}

.container {
  display: flex;
  align-items: flex-end;
  height: 350px;
}

.list {
  padding: 0;

  li {
    margin-bottom: 12px;
  }
}

.section-2-container {
  /* box-shadow: 3px -3px 16px rgba(0, 0, 0, 0.25); */
  padding: 20px;
  display: flex;
  justify-content: center;
}

.section-2 {
  display: flex;
  max-width: 420px;
  justify-content: space-evenly;

  div {
    margin-bottom: 32px;

    p {
      margin-top: 8px;
    }
  }

  h2 {
    margin-top: 0;
    margin-bottom: 0;
  }

  p {
    line-height: 24px;
    margin-bottom: 0;
  }

  ul {
    list-style-type: none;

    li {
      margin-bottom: 12px;
    }
  }
}

@media (max-width: 430px) {
  .section-2 {
    padding: 20px;
  }
}

.card {
  padding: 8px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  color: white;
  border-radius: 12px;
}

.card.blue {
  background-color: var(--main-blue-color);
}

.card.orange {
  background-color: var(--main-orange-color);
}

.form-container {
  background-color: #2c3e50;
  display: flex;
  justify-content: center;
  padding: 48px 24px;

  h2 {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
  }

  .form-content {
    display: grid;
    gap: 15px;
  }

  label {
    font-weight: bold;
    color: #b0c4de;
  }

  input {
    width: 100%;
    padding: 10px;
    border: 1px solid #4a5568;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #2c3e50;
    color: #e0e0e0;
  }

  input:focus {
    outline: none;
    border-color: #0092ff;
  }

  button {
    background-color: #0092ff;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
  }

  button:hover {
    background-color: #0052cc;
  }

  p {
    color: #fff;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
    font-size: 36px;
  }
}

.form-container form.htmx-request .form-content {
  display: none;
}

/* .copyright-footer { */
/*   background-color: #1b2631; */
/*   /* Darker than #2C3E50 */ */
/*   color: #a9b7c6; */
/*   /* Light grayish blue for better readability */ */
/*   text-align: center; */
/*   padding: 15px 0; */
/*   font-size: 14px; */
/*   font-family: Arial, sans-serif; */
/* } */
/**/
/* .copyright-footer p { */
/*   margin: 0; */
/* } */


.image-overlay {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.image-overlay img {
  width: 100%;
  height: auto;
  display: block;
}

.image-overlay .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  /* Lightly transparent overlay */
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.image-overlay h1 {
  margin: 0;
}


.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  /* Adjust height based on your preference */
  background-image: url('moderate_house_1.webp');
  /* Replace with your image path */
  background-size: cover;
  /* Ensures the image covers the entire area */
  background-position: center;
  /* Keeps the image centered */
  background-repeat: no-repeat;
}

.hero-content {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
  /* Subtle shadow for better text readability */
  background-color: rgba(0, 0, 0, 0.45);
  /* Lightly transparent overlay */
}

.hero h1 {
  margin: 0.2em 0;
}

.hero p {
  margin: 0;
}



.responsive-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  background-color: #f9f9f9;
  /* Optional background color */
  padding: 20px;
  box-sizing: border-box;
}

.responsive-section.with-bg-color {
  background-color: #6db69c4D;
  /* box-shadow: 3px -3px 16px rgba(0, 0, 0, 0.25); */
  box-shadow: inset 0 0 8px 0px rgba(0, 0, 0, 0.25);
}

.content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  width: 100%;
  text-align: center;
  margin-top: 50px;
  margin-bottom: 50px;
}

.rounded-image {
  flex: 1;
  max-width: 15%;
  border-radius: 200px;
  margin: 10px;
  width: 100%;
  height: auto;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.5);
}


.text {
  flex: 1;
  text-align: center;
  margin: 10px;
  max-width: 447px;
}

.text h2 {
  margin: 0 0 10px;
  font-size: 1.8em;
}

.text p {
  margin: 0;
  font-size: 1.1em;
  line-height: 1.5;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    text-align: center;
  }

  .rounded-image {
    max-width: 50%;
  }

  .text {
    max-width: 100%;
  }
}

  .site-footer {
    background-color: #1b2631;
    color: #ffffff;
    padding: 2rem 1rem;
    font-family: system-ui, sans-serif;
  }

  .footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem; 
    justify-content: space-evenly;
    margin-bottom: 64px;
  }

  .site-footer-title-container {
    max-width: 800px;
  }

  .site-title {
    margin: 0;
    font-size: 1.25rem;
  }

  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .footer-links li {
    margin: 0.25rem 0;
  }

  .footer-links a {
    color: #d0d0d0;
    text-decoration: none;
  }

  .footer-links a:hover,
  .footer-links a:focus {
    text-decoration: underline;
  }

  /* Responsive: stack columns on small screens */
  @media (max-width: 600px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
      margin-bottom: 64px;
    }
  }

.copyright {
  text-align: center;
  margin-top: 12px;
}
