@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&family=Roboto:wght@400;700;900&display=swap");
/* #e3a443---brown
#01337a---green
#15414a---blue */

/* Base styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 62.5%;
}



body {
  font-family: "Poppins", Verdana, sans-serif;
}
a {
  text-decoration: none;
  font-weight: 400;
  /* 1.6rem*10 = 16px */
  font-size: 1.6rem;
  color: var(--white-color);
}

h1,
h2,
p,
h3 {
  margin: 1.6rem 0;
}

h1 {
  font-weight: 800;
  font-size: 3.6rem;
}

h2 {
  font-weight: 800;
  font-size: 2.4rem;
}

h3 {
  font-weight: 600;
  font-size: 1.2rem;
}

p {
  font-weight: 400;
  font-size: 1.6rem;
}

img {
  width: 100%;
  height: auto;
}

#menu {
  width: 40px;
  height: 40px;
  display: none;
}

.row {
  display: flex;
  justify-content: space-between;
  width: 80%;
  align-items: center;
  margin: 0 auto;
}

section {
  padding: 100px 0;
}

/* Header */
header {
  height: 100vh;
  color: white;
}

.header {
  height: 0px;
  color: white;
}

.logo a {
  font-size: 3rem;
  cursor: pointer;
  color: #01337a;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

/* .logo img {
  width: 70px;
  height: 70px;
} */

nav {
  padding: 0 8% 1%;
  display: flex;
  justify-content: flex-start;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style-type: none;
}

nav ul li {
  color: #000000;
  font-weight: 100;
  margin-top: 1.5rem;
  display: inline-block;
  margin-left: 3rem;
}

nav .contact-detail {
  margin-left: auto;
  margin-top: 1.5rem;
}

.contact-detail .index-contact {
  font-size: 1.8rem;
  font-weight: 400;
  color: #000000;
}

.contact-detail .index-contact img {
  height: 3rem;
  width: 3rem;
  margin-right: 0.5rem;
}

.contact-detail a {
  background-color: #01337a;
  padding: 0.6rem 2rem;
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  margin-left: 2rem;
  cursor: pointer;
}

@media only screen and (max-width: 1128px) {
  header {
    height: auto; /* Adjust to fit the content */
    min-height: 50vh; /* Set a minimum height if needed */
    padding: 1rem; /* Adjust padding as necessary */
  }

  .header {
    height: auto;
    min-height: 10vh; /* Reduce for mobile */
  }

  nav {
    padding: 2% 8%;
    flex-direction: column;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  #menu {
    display: block;
    position: absolute;
    top: 18px;
    right: 32px;
  }

  nav ul {
    background-color: #01337a;
    padding-bottom: 10px;
    display: none;
    border-radius: 1rem;
  }

  nav ul li {
    padding: 1% 0;
    display: block;
  }

  nav ul li a {
    color: #fff;
  }

  .contact-detail {
    margin-left: auto;
    margin-bottom: 2rem;
    display: none;
  }

  .showmenu {
    display: block;
  }
}

/* Modal */

/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}
.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
}
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modalinput {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  box-sizing: border-box;
  font-size: 16px;
  outline: none;
}

.modalbutton {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

/* Header content */

.header_content {
  margin: 0.5% 8%;
  padding: 10rem 4rem;
  text-align: center;
  border-radius: 2.4rem;
  background: linear-gradient(rgba(1, 51, 122, 0.5), rgba(1, 51, 122, 0.5)),
    url("images/kitchen-1543487_1920.jpg");
  background: -webkit-linear-gradient(
      rgba(1, 51, 122, 0.5),
      rgba(1, 51, 122, 0.5)
    ),
    url("images/kitchen-1543487_1920.jpg");
  background: -moz-linear-gradient(rgba(1, 51, 122, 0.5), rgba(1, 51, 122, 0.5)),
    url("images/kitchen-1543487_1920.jpg");
  background: -o-linear-gradient(rgba(1, 51, 122, 0.5), rgba(1, 51, 122, 0.5)),
    url("images/kitchen-1543487_1920.jpg");
  background: -ms-linear-gradient(rgba(1, 51, 122, 0.5), rgba(1, 51, 122, 0.5)),
    url("images/kitchen-1543487_1920.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.header_content1 {
  margin: 0.5% 8%;
  padding: 10rem 4rem;
  text-align: center;
  border-radius: 2.4rem;
  background: linear-gradient(rgba(1, 51, 122, 0.5), rgba(1, 51, 122, 0.5)),
    url("images/kitchen-1543487_1920.jpg");
  background: -webkit-linear-gradient(
      rgba(1, 51, 122, 0.5),
      rgba(1, 51, 122, 0.5)
    ),
    url("images/kitchen-1543487_1920.jpg");
  background: -moz-linear-gradient(rgba(1, 51, 122, 0.5), rgba(1, 51, 122, 0.5)),
    url("images/kitchen-1543487_1920.jpg");
  background: -o-linear-gradient(rgba(1, 51, 122, 0.5), rgba(1, 51, 122, 0.5)),
    url("images/kitchen-1543487_1920.jpg");
  background: -ms-linear-gradient(rgba(1, 51, 122, 0.5), rgba(1, 51, 122, 0.5)),
    url("images/kitchen-1543487_1920.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.header_content h1 {
  font-size: 4rem;
  text-align: center;
  margin-top: 7rem;
  margin-bottom: 7rem;
}

.header_content a {
  color: #fff;
  padding: 1.2rem 0.9rem;
  background-color: #01337a;
  font-size: 2rem;
  border: 1px solid #01337a;
  border-radius: 4px;
  transition: 0.1s ease-in-out;
  cursor: pointer;
}
.header_content p {
  padding-bottom: 2.6rem;
}


/* About Section */

.about .about-section p {
  margin-bottom: 4rem;
}

.about .about-section a {
  background-color: #01337a;
  padding: 0.6rem 2rem;
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  cursor: pointer;
}

.about .row {
  align-items: flex-start;
  margin-top: 0;
}

.about .about-section h1 {
  margin-top: 0;
  font-family: sans-serif;
  font-size: 5rem;
  font-weight: bolder;
  letter-spacing: -0.125rem;
}

.about .about-section h2 {
  font-size: 2.6rem;
  font-weight: 500;
}

/* @media only screen and (max-width: 1128px) { */
@media only screen and (max-width: 1128px) {
  .about .row {
    flex-direction: column;
  }

  .about .br-hidden {
    display: none;
  }

  .about h1 {
    font-size: 2.8rem;
    text-align: center;
  }

  .about h2 {
    font-size: 1.8rem;
  }

  .about p {
    font-size: 1rem;
  }

  .about .row .about-image {
    margin-top: 6rem;
  }
}

/* service Section */
.services .services-section a {
  background-color: #01337a;
  padding: 0.6rem 2rem;
  color: #fff;
  font-size: 2rem;
  border-radius: 10px;
  cursor: pointer;
}

.services .row {
  align-items: flex-start;
}

.services .row .services-section {
  padding-left: 7rem;
}

.services .services-section h1 {
  margin-top: 0;
  font-family: sans-serif;
  font-size: 5rem;
  font-weight: bolder;
  letter-spacing: -0.125rem;
}

.services .services-section h2 {
  font-size: 2.6rem;
  font-weight: 500;
}

.services .services-section p {
  margin-bottom: 4rem;
}

@media only screen and (max-width: 1128px) {
  .services .row {
    flex-direction: column-reverse;
  }

  .services .row .services-section {
    padding-left: 0rem;
  }

  .services h1 {
    font-size: 2.8rem;
    text-align: center;
  }

  .services h2 {
    font-size: 1.8rem;
  }

  .services p {
    font-size: 1rem;
  }

  .services .row .services-image {
    margin-top: 6rem;
  }
}

/* Location */

.location h1 {
  margin-top: 0;
  font-family: sans-serif;
  font-size: 5rem;
  font-weight: bolder;
  letter-spacing: -0.125rem;
}

.location .row:nth-child(1) {
  flex-direction: column;
}

.location .row iframe {
  width: 100%;
}

@media only screen and (max-width: 1128px) {
  .location .row {
    flex-direction: column;
  }

  .location p {
    font-size: 1rem;
  }

  .location h1 {
    font-size: 2.8rem;
  }
}

/* Properties */

.properties h1 {
  font-family: "Poppins", sans-serif;
  font-size: 4rem; /* Reduced size for balance */
  margin: 0 auto;
  margin-bottom: 2rem; /* Slightly reduced */
  font-weight: bolder;
  letter-spacing: -0.1rem; /* Adjusted */
  text-align: center; /* Center title for better visual balance */
}

.properties .row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

.properties .properties-image-content {
  margin: 10px;
  transition: transform 0.3s ease-in-out; /* Smooth hover effect */
}

.properties .properties-image-content:hover {
  transform: translateY(-10px); /* Lift card on hover */
}

.properties .row img {
  width: 100%;
  max-width: 32rem; /* Maintain max width for larger screens */
  height: 15rem; /* Set a fixed height for all images */
  object-fit: cover; /* Crop images to fit the defined dimensions */
  margin-bottom: 0;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.properties .row .buy-btn {
  background-color: #01337a;
  padding: 0.5rem 1.5rem; /* Increased padding for larger buttons */
  color: #fff;
  font-size: 1.4rem;
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  display: block;
  width: 100%;
  max-width: 200px; /* Center button with fixed width */
  margin: 1rem auto 0; /* Center button on all devices */
}

.properties .row .property-content {
  background-color: #fff;
  padding: 1.5rem;
  margin-top: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Softer shadow */
  border-radius: 0 0 1rem 1rem; /* Apply same rounded corners */
  text-align: left;
}

.properties .row .property-content h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #333; /* Darker text for better contrast */
}

.properties .row .price {
  font-size: 2rem; /* Slightly increased font size */
  font-weight: bold;
  color: #ff5722; /* Brighter color for price */
  margin-top: 1rem;
  text-align: center;
}

.properties .row .property-row-content .grey-content {
  color: #888; /* Softer grey for non-primary text */
}

.properties .row .property-row-content .rating {
  font-size: 1rem; /* Slightly smaller */
  padding: 0.3rem 1rem;
  border-radius: 50px;
  background-color: #f0f0f0;
  color: #555;
}

.properties .row .property-row-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

@media only screen and (max-width: 1128px) {
  .properties .row {
    flex-direction: column;
  }

  .properties h1 {
    font-size: 3.5rem;
  }

  .properties .properties-image-content {
    margin: 20px auto; /* Center card on smaller screens */
  }

  .properties .row img {
    width: 100%; /* Make images responsive */
    height: auto; /* Keep image proportion */
  }

  .property-content h2,
  .property-content-owner {
    text-align: center; /* Center text for better alignment */
  }

  .properties .row .price {
    text-align: center;
  }

  .properties .row .buy-btn {
    display: block;
    width: 100%; /* Ensure button stretches full width on mobile */
  }
}

/* contact us */
.contact .row {
  justify-content: center;
}

.contact1 .row {
  justify-content: center;
}

.contact form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact1 form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact form input {
  width: 80%;
}

.contact textarea {
  width: 80%;
  height: 150px;
  padding: 12px 20px;
  border: 1px solid #ccc;
  font-size: 1.3rem;
  resize: none;
  color: #01337a;
  margin: 1.2rem 0;
  font-family: "Poppins", sans-serif;
}

form {
  margin: 2.4rem 0;
}

form .contact1 {
  margin: 1.4rem 0;
}

input {
  font-size: 1.8rem;
  outline: none;
}

input[type="text"],
input[type="password"],
input[type="email"] {
  width: 50%;
  padding: 12px 20px;
  margin: 1.2rem 0;
  display: block;
  border: 1px solid #ccc;
}

textarea {
  outline: none;
  color: #000;
}

input[type="submit"] {
  width: 50%;
  background-color: #064663;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  text-transform: uppercase;
  cursor: pointer;
}

input::placeholder {
  font-size: 1.3rem;
  color: #01337a;
}

@media only screen and (max-width: 1128px) {
  input[type="text"],
  input[type="password"],
  input[type="email"],
  input[type="submit"] {
    width: 100%;
    font-size: 14px;
    padding: 9px 16px;
  }
}

/* Footer */
footer {
  padding: 1.2rem 3rem 5rem 3rem;
  background-color: #01337a;
  color: #fff;
  width: 100%;
  margin: 0 auto;
}

footer .row:nth-child(1) {
  margin: 0;
}

footer .row:nth-child(2) {
  align-items: flex-start;
}

footer .row:nth-child(2) p {
  margin: auto 0;
}

footer .row:nth-child(2) p span:nth-child(1) {
  font-size: 1.6rem;
  font-weight: bold;
}

footer .row:nth-child(2) span .footer-logos {
  width: 3.5rem;
  height: 3.5rem;
  margin-right: 2.5rem;
}

footer ul {
  list-style-type: none;
}

@media only screen and (max-width: 1128px) {
  #footer .row:nth-child(2) {
    flex-direction: column;
  }

  #footer .row:nth-child(2) a {
    text-align: center;
  }

  #footer .row:nth-child(2) div {
    margin: 0 auto;
    margin-bottom: 6rem;
  }

  #footer .row:nth-child(2) p {
    text-align: center;
    margin: 0 auto;
  }
}

/* Modal */
.animate-modal {
  animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.error {
  padding: 8px;
  font-size: 1.8rem;
  background: #f7acac;
  color: #ae1717;
  font-weight: 700;
}

.success {
  padding: 8px;
  font-size: 1.8rem;
  background: #c5f8c5;
  color: #115e15;
  font-weight: 700;
}

.alert {
  border-radius: 5px;
  margin: 10px 0;
  text-align: center;
}


/* The Modal (background) */
#modal1 {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
  padding-top: 60px; /* Padding from the top */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 5% auto; /* 5% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
  max-width: 600px; /* Ensures modal doesn't get too wide */
  border-radius: 10px; /* Rounded corners */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

/* The Close Button */
.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-modal:hover,
.close-modal:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/* Style the message text */
#modal-message {
  font-size: 18px;
  color: #333;
  margin-top: 10px;
}

.faq-section {
  max-width: 800px;
  margin: 60px auto;
  padding: 0 20px;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
  color: #222;
}

.faq-container {
  border-top: 1px solid #ddd;
}

.faq-item {
  border-bottom: 1px solid #ddd;
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  color: #333;
  text-align: center;
  padding: 18px 16px;
  font-size: 1.5rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background-color: #fff;
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '-';
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  font-size: 1rem;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0.5rem 0;
  line-height: 1.6rem;
  background: #fafafa;
}

.faq-answer p {
  padding: 12px 0;
  margin: 0;
  line-height: 1.5;
}


/* Add responsiveness */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 90%; /* Adjust width for smaller screens */
  }
}


