.logo,
header,
nav ul {
  display: flex;
}
.bar,
.dropdown-menu {
  transition: 0.3s ease-in-out;
}
.dropdown-menu,
header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.75);
}
.dropdown-menu ul li a,
header li a {
  transition: color 0.1s ease-in-out;
  font-family: Poppins, Times, serif, Courier, monospace;
  font-size: 16px;
}
.f_lovecare-column .f_lovecare-title,
.sd_title {
  text-align: center;
}
.hamburger,
.logo,
a,
button {
  -webkit-tap-highlight-color: transparent;
  outline: 0;
}
:root {
  --primary-color-rgb: 18, 28, 20;
  --text-color: #dca593;
  --second-text-color: #3f4740;
  --color1: #c59382;
  --header-height: 71px;
  --text-color-third: rgb(35, 32, 30);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
  box-sizing: border-box;
}
body {
  background-color: rgba(var(--primary-color-rgb));
}
header {
  justify-content: space-between;
  align-items: center;
  padding: 10px 100px;
  position: sticky;
  height: var(--header-height);
  top: 0;
  /* background-color: #0000005e; */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 1920px;
  margin: 0 auto;
}
.hamburger,
a,
button {
  background: 0 0;
  text-decoration: none;
}
header li a {
  font-weight: 800;
}
header li:not(:last-child) {
  padding-right: 10px;
}
.dropdown-menu ul li a:hover,
header a:hover {
  color: var(--text-color);
}
.logo,
.logo a {
  color: var(--text-color-third);
  text-decoration: none;
  font-family: "Playfair Display", serif;
}
.logo {
  font-size: 40px;
  font-weight: 700;
  align-items: center;
  background-color: transparent;
  box-shadow: none;
  letter-spacing: 2px;
}
.logo,
.logo a {
  color: var(--header-text-color);
  text-decoration: none;
  font-family: "Playfair Display", serif;
  color: var(--text-color-third);
}
.logo a:last-child {
  font-size: 45px;
  font-weight: 500;
  font-family: Times, serif, Courier, monospace;
  padding: 0;
}
.f_contact_data p a,
.logo,
.logo a {
  color: var(--text-color-third);
  text-decoration: none;
}
.f_contact_data p a {
  color: #fff;
}
.logo,
.logo a {
  color: var(--header-text-color);
  text-decoration: none;
  font-family: "Playfair Display", serif;
  color: var(--text-color-third);
}
.logo a:last-child {
  font-size: 45px;
  font-weight: 500;
  font-family: Times, serif, Courier, monospace;
  padding: 0;
}
.logo {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 2px;
  align-items: center;
  background-color: transparent;
  box-shadow: none;
}
.icon img {
  width: 75px;
  padding-right: 15px;
  padding-top: 15px;
}
.logo a img {
  height: 70px;
  width: auto;
}
nav ul {
  list-style: none;
}
nav ul li {
  margin: 0 15px;
}
.f_lovecare-column ul li a,
nav ul li a {
  text-decoration: none;
  color: var(--text-color-third);
  font-weight: 400;
}
.f_lovecare-column ul li a {
  color: #fff;
}
.f_rights p a,
.logo a:visited {
  text-decoration: none;
  color: inherit;
}
.btn {
  background-color: var(--text-color);
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
}
.hamburger {
  all: unset;
  display: none;
  cursor: pointer;
}
.bar {
  content: "";
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-color-third);
}
.sd_title,
.title_container {
  height: clamp(500px, 5vw, 500px);
}
.dropdown-menu {
  position: fixed;
  top: var(--header-height);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  /* background-color: #0000005e; */
  justify-content: center;
  width: 100%;
  left: 0;
  display: none;
}
.residence-map,
.sd_title,
footer {
  position: relative;
}
@supports not (
  (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))
) {
  .element {
    background: rgba(255, 255, 255, 0.6);
  }
}
.dropdown-menu ul {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  list-style: none;
  padding-top: 15px;
}
.sd_container,
.sd_title {
  justify-content: center;
  display: flex;
}
.sd_title h1 {
  margin-top: -60px;
}
.dropdown-menu ul li {
  position: relative;
  margin-bottom: 1rem;
  padding-right: 0;
}
.dropdown-menu ul :nth-child() {
  margin-bottom: 0;
}
.dropdown-menu ul li a {
  text-decoration: none;
  color: var(--text-color-third);
  font-weight: 500;
}
.about-us {
  background-color: #f9ecd1;
  background: radial-gradient(circle, #fceac3, #f8f0e0);
  margin-top: calc(-1 * (var(--header-height)));
}
.title_container {
  padding-top: 100px;
  background-image: url("./images/InteriorHouse8.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left 40%;
}
.sd_title {
  background-color: rgba(0, 0, 0, 0.6);
  top: -100px;
  padding-top: 60px;
  color: #fff;
  font-size: 3em;
  font-weight: 700;
  line-height: 1.2;
  flex-direction: column;
  align-items: center;
}
.member-container {
  position: relative;
  overflow: hidden;
}
.f_title,
.offer {
  font-weight: 600;
}
.introduction-about,
.sd_container {
  line-height: 1.6;
  width: 100%;
}
.sd_title h1 {
  font-size: clamp(1.7rem, 5vw, 2.75rem);
  padding-bottom: 10px;
  max-width: 70%;
}
.sd_title p {
  font-size: clamp(12px, 5vw, 22px);
  color: var(--text-color);
}
.background-container > :first-child {
  padding-top: 30px;
}
.background-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 55px;
}
.introduction-about {
  max-width: 1050px;
  font-size: 1.25rem;
  padding-top: 20px;
  padding-left: 40px;
  padding-right: 40px;
  color: #333;
}
.introduction-about::before {
  content: "\2022";
  margin-right: 10px;
}
.final-arg {
  padding-bottom: 50px;
}
.sd_container {
  max-width: 1200px;
  padding: 40px;
  gap: 100px;
  margin: 0 auto;
}
.first_paragraph,
.second_paragraph {
  width: 475px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  border-radius: 10px;
  background-color: #ffdcbe;
  /* background-color: #fce4d0; */
  /* background-color: #fde0c7; */
  /* background-color: #ffd0a9; */
  /* background-color: #ecbcac; */
  /* background-color: #393735; */
}
.first_paragraph p,
.second_paragraph p {
  padding: 25px;
  text-align: justify;
  font-size: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  /* color: #fff; */
  color: #202020;
}
.offer {
  font-size: 1.75rem;
  padding-left: 75px;
  color: #333;
}
.sd_options_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin-top: 10px;
  align-items: center;
}
.sd_options_container div {
  flex: 0 0 50%;
  padding: 15px 15px 15px 45px;
}
.sd_options {
  display: flex;
}
.sd_options > img {
  width: 20px;
  height: auto;
  margin-right: 10px;
}
.sd_options p {
  margin: 0;
  padding: 0;
  color: #333;
  font-size: 20px;
}
.sd_container1 {
  max-width: 1200px;
  margin: 20px auto 0;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
}
.sd_img_container {
  height: 0%;
  width: auto;
  border: 15px solid #f7f5ef;
}
.sd_img {
  width: 100%;
  height: auto;
  display: block;
}
.residence-map {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  height: 520px;
}
.background-iframe {
  background-color: #f5f4f4;
  height: 600px;
}
footer {
  margin-top: -160px;
  pointer-events: none;
}
.f_container {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  /* background-color: #212529; */
  background-color: #f5dcc6;
  color: #fff;
  width: 100%;
  padding-top: 25px;
  pointer-events: all;
}
.f_title_container {
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 90%;
}
.f_title {
  margin: 0;
  font-size: clamp(35px, 5vw, 45px);
}
.f_sub_title {
  margin: 0 0 30px;
  font-size: 16px;
}
.f_border_title {
  width: 90%;
  margin: 0 auto;
  border-bottom: 2px solid #383b3f;
}
.f_contacts_container {
  width: 80%;
  display: flex;
  justify-content: flex-start;
  gap: 8%;
  padding-top: 20px;
}
.f_contact_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  width: 30%;
}
.f_contact_img img {
  width: 35px;
  height: 35px;
}
.f_contact_data {
  display: flex;
  flex-direction: column;
  border-left: 2px solid #383b3f;
  padding-left: 15px;
}
#phone {
  color: #fff;
}
.f_contact_type {
  font-weight: 700;
}
.f_rights {
  padding: 20px 0;
  width: 80%;
  gap: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  white-space: nowrap;
}
.f_rights p,
.f_rights p a {
  font-size: clamp(0.9rem, 2vw, 1rem);
}
.f_terms {
  display: flex;
  gap: 5px;
}
.f_lovecare-section {
  width: 70%;
  display: flex;
  justify-content: center;
}
.f_lovecare-column-container {
  display: flex;
  padding-top: 30px;
  width: 70%;
}
.f_lovecare-column-container:nth-child(2) {
  width: 50%;
  padding-left: 20%;
}
.f_lovecare-column {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}
.f_lovecare-column p {
  align-items: center;
  justify-content: center;
  text-align: justify;
}
.f_lovecare-column-container:nth-child(2) p {
  margin: 0;
  align-items: center;
  justify-content: center;
}
.f_lovecare-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.f_lovecare-column li {
  margin-bottom: 5px;
}
.f_lovecare-description {
  flex: 2;
  padding: 10px;
}
.f_lovecare-description p {
  margin-bottom: 10px;
}
.f_lovecare-title {
  font-size: 20px;
  font-weight: 600;
  margin: 0 auto;
  padding-bottom: 10px;
}
.f_lovecare-title > p {
  margin: 0;
  padding: 0;
}
.f_border_style {
  width: 90%;
  padding-top: 20px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 0;
  border: 2px solid #f60;
  background-color: rgba(255, 102, 0, 0.1);
  box-shadow: 0 0 5px rgba(255, 102, 0, 0.6);
  padding: 2px;
  border-radius: 4px;
}
.f_terms a:focus-visible {
  outline: #ff6600 solid 2px;
  background-color: rgba(255, 102, 0, 0.1);
  padding: 2px;
  border-radius: 4px;
}
.f_contact_data a:focus-visible {
  outline: #ff6600 solid 2px;
  background-color: rgba(255, 102, 0, 0.1);
  padding: 2px;
  border-radius: 4px;
}
input:focus-visible,
textarea:focus-visible {
  outline: 0;
  border: 2px solid #f60;
  background-color: rgba(255, 102, 0, 0.1);
  box-shadow: 0 0 5px rgba(255, 102, 0, 0.6);
  padding: 2px;
  border-radius: 4px;
}
button[type="submit"]:focus-visible {
  outline: 0;
  border: 2px solid #f60;
  background-color: rgba(255, 102, 0, 0.1);
  padding: 2px;
  border-radius: 4px;
}

.detail-item {
  display: flex;
  flex-direction: row; /* Default for desktop */
  margin-bottom: 10px;
  align-items: center; /* Vertically align description and image */
}

.description {
  flex: 1;
  padding-right: 20px; /* Space between description and image */
}

.description p {
  font-size: 22px;
  padding: 50px;
}

.detail-item.reversed .description {
  padding-left: 20px;
  padding-right: 0;
}

.image {
  flex: 0.65;
  padding: 0 30px;
}

.image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px; /* Optional: for rounded corners */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional: subtle shadow */
}

.detail-item .image-bathroom img {
  height: 500px;
  width: auto;
  margin-right: 30px;
  display: block;
  border-radius: 8px;
}

.description h2 {
  color: #333;
  margin-bottom: 10px;
}

.description p {
  line-height: 1.6;
  color: #333;
}
.f_container p,
.f_contacts_container .f_contact_container p,
.f_contacts_container .f_contact_data p,
.f_contact_container p,
footer .f_lovecare-title,
.f_lovecare-column ul li a,
.f_contact_data #phone1 {
  color: #383b3f;
}
@media (max-width: 1650px) {
  footer {
    margin-top: -140px;
  }
}
@media (max-width: 1450px) {
  footer {
    margin-top: -120px;
  }

  .detail-item .description p {
    font-size: 20px;
    padding: 0 30px;
  }

  .detail-item.reversed .description {
    padding-left: 10px;
    padding-right: 0;
  }

  .detail-item .image {
    flex: 0.85;
  }
}
@media (max-width: 1280px) {
  footer {
    margin-top: -110px;
  }
}
@media (max-width: 1150px) {
  header {
    padding: 10px 40px;
    margin: 0 auto;
  }
  footer {
    margin-top: -100px;
  }
  nav ul li {
    display: block;
    margin-bottom: 10px;
  }
  .btn {
    font-size: 1rem;
    padding: 8px 16px;
  }
  nav {
    display: none;
  }
  .hamburger {
    display: block;
    z-index: 101;
  }
  .hamburger.active :nth-child(2) {
    opacity: 0;
  }
  .hamburger.active :first-child {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.active :nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  .dropdown-menu.active {
    display: flex;
    opacity: 1;
  }
  .f_contacts_container {
    flex-wrap: wrap;
  }
  .f_contact_container:nth-child(3) {
    width: auto;
    margin: 10px auto;
  }
  .f_contact_container:first-child,
  .f_contact_container:nth-child(2) {
    width: 45%;
  }
  .sd_title h1 {
    max-width: 80%;
  }
  .f_rights {
    display: flex;
    flex-direction: column;
  }
  .detail-item .description p {
    font-size: 18px;
  }
  .sd_title,
  .title_container {
    height: clamp(350px, 5vw, 350px);
  }
}
@media (max-width: 900px) {
  footer {
    margin-top: -100px;
  }
  .detail-item {
    flex-direction: column;
    padding-bottom: 35px;
  }

  .detail-item .description p {
    font-size: 17px;
  }

  .detail-item.reversed {
    flex-direction: column;
  }

  .description {
    padding: 0;
    margin-bottom: 15px;
  }

  .detail-item.reversed .description {
    padding: 0;
  }

  .detail-item.reversed {
    flex-direction: column-reverse;
  }

  .assisted-living-details {
    padding: 10px 40px 50px; /* Adjust as needed */
  }

  .assisted-living-details p {
    font-size: 20px;
  }

  .detail-item .image-bathroom img {
    margin-right: 0px;
    flex: 0.85;
  }

  .sd_title h1 {
    margin-top: 75px;
  }
}
@media (max-width: 767px) {
  .f_lovecare-description,
  footer svg {
    width: 100%;
  }
  .logo {
    font-size: 30px;
  }
  .logo a:last-child {
    font-size: 40px;
    font-weight: 500;
    font-family: Times, serif, Courier, monospace;
    padding: 0;
  }
  .icon img {
    width: 70px;
    padding-right: 15px;
    padding-top: 12px;
  }
  .logo a img {
    height: 60px;
    width: auto;
  }
  iframe {
    height: 300px;
  }
  .sd_options_container div {
    flex: 0 0 100%;
  }
  .f_lovecare-section {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .f_lovecare-column-container:nth-child(2) {
    padding-left: 0;
  }
  .f_lovecare-column-container {
    width: 100%;
    justify-content: center;
    margin: 15px 0 10px;
    padding: 0;
  }
  .f_lovecare-column {
    justify-content: center;
  }
  .f_lovecare-column ul {
    text-align: center;
  }
  footer svg {
    height: 50px;
    z-index: 20;
  }
  .sd_container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
  }
  .background-container p:nth-child(2) {
    padding-bottom: 0;
  }
  .first_paragraph,
  .second_paragraph {
    width: 80%;
  }
  .sd_container1,
  .sd_options_container .offerings {
    padding: 0 30px;
  }
  .introduction-about {
    padding-top: 20px 0;
  }
  .assisted-living-details p {
    font-size: 20px;
  }
  .assisted-living-details {
    padding: 0px; /* Adjust as needed */
  }
  .assisted-living-details .detail-item .description p {
    font-size: 20px;
  }
  .f_contacts_container {
    display: flex;
    flex-direction: column;
    width: 50%;
    justify-content: center;
  }
  .f_contact_container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .f_contact_container:nth-child(3) {
    width: 100%;
    align-items: center;
    justify-content: start;
    margin: 0;
  }
  .f_contact_container:first-child,
  .f_contact_container:nth-child(2) {
    width: 100%;
    align-items: center;
    justify-content: start;
  }
}
@media (max-width: 550px) {
  header {
    padding: 10px 20px;
  }
  .icon img {
    width: 57px;
    padding-right: 10px;
    padding-top: 12px;
    margin-left: -5px;
  }
  .f_contacts_container {
    flex-direction: column;
    width: 70%;
  }
  .f_contact_container:nth-child(3) {
    width: 100%;
    align-items: center;
    justify-content: start;
    margin: 0;
  }
  .f_contact_container:first-child,
  .f_contact_container:nth-child(2) {
    width: 100%;
    align-items: center;
    justify-content: start;
  }
  .f_lovecare-section {
    width: 80%;
  }
  .first_paragraph,
  .second_paragraph {
    width: 95%;
  }
  .first_paragraph p,
  .second_paragraph p {
    text-align: left;
    font-size: 16px;
  }
  .sd_container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .sd_container1 {
    width: 95%;
    padding: 0 20px;
  }
  .introduction-about {
    padding: 0 30px 30px;
  }
  .offer,
  .sd_options_container .offerings {
    padding: 0;
  }
  .sd_options_container .sd_options {
    padding-left: 0;
    padding-right: 0;
  }
  .f_contacts_container {
    width: 80%;
  }
}
