body {
  font-family: "Cairo", sans-serif;
  background-image: linear-gradient(
      rgb(255 255 255 / 55%),
      rgb(255 255 255 / 24%)
    ),
    url(../public/static/images/bg111.png);
  background-size: cover;
  background-position: bottom;
  background-blend-mode: darken;
  /* background-color: rgba(0, 0, 0, 0.4); */
}

.hero {
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.title {
  font-family: "Amiri", serif;
  font-size: 2.8rem;
  text-align: center;
  line-height: 1.6;
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1.2s ease-out forwards;
  opacity: 0;
}

.sub-title {
  font-size: 1.4em;
  color: #ffffffb3;
}

#searchBoxDiv {
  width: 100%;
  max-width: 700px;
  background: #f0f8ff78;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  /* font-size: 1.2em; */
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 60px 20px;
}

.section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1f2e41;
  margin-bottom: 30px;
  text-align: center;
}

.feature-box {
  text-align: center;
  padding: 20px;
  border-radius: 8px;
  background-color: #f0f8ff78;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

footer {
  background-color: #f0f8ff78;
  color: #000;
  padding: 20px 0;
  text-align: center;
  font-size: 1rem;
}

.navbar {
  background: #f0f8ff78;
}

.card {
  background-color: transparent;
}

.card-body {
  background-color: #f0f8ff78;
}

.card-title,
.card-text {
  font-size: 1.4em;
}

.section h5 {
  font-size: 1.4em;
}

#searchBox li {
  width: 50%;
}

header {
  min-height: 90px !important;
}

.nav-tabs .nav-link {
  color: #000;
  font-size: 1.3em;
}

#sale-property-type {
  font-size: 1.1em;
}

.form-check-input {
  padding: 11px;
  margin-left: 11px;
}

.section {
  padding: 27px 20px;
  background: #19875408;
  border: 1px solid #f0fff534;
  margin: 20px;
  border-radius: 15px;
}

.badge {
  width: fit-content;
  color: white;
  border-radius: 4px;
  background: #198754b5;
  padding: 3px 8px;
}

#searchBoxDiv {
  width: 100%;
  max-width: 700px;
  background: #f0f8ff78;
  padding: 10px;
  border-radius: 12px;
  box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}

.agent-scroll-section .btn {
  width: 100px;
  border-radius: 3px;
  margin: 2px;
}

.custom-section {
  background: #f0f8ff34;
  border: 1px solid #f0f8ff78;
  border-radius: 15px;
}

/* Button-like Container */
.button-container {
  width: 100%;
  max-width: 45%;
  /* padding: 20px; */
  /* text-align: center; */
  /* border: 2px solid #007bff; */
  border-radius: 15px;
  background-color: #198754;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.button-container:hover {
  transform: scale(1.01);
  /* Button grows slightly on hover */
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
  /* Shadow for depth */
}

/* Title Styling */
.button-title {
  font-size: 14px;
  font-weight: bold;
  color: #ffffff;
  /* margin-left: 10px; */
  text-align: center;
  padding: 0px;
  margin: 0px;
  display: inline-flex;
  align-items: center;
  line-height: 1.6rem;
  position: relative;
  top: 3px;
  left: 10px;
}

/* Icon Styling */
.button-icon {
  width: 45px;
  /* height: 50px; */
  object-fit: contain;
}

.carousel-div {
  padding: 5px;
}

.carousel-indicators-dot [data-bs-target] {
  border: 3px var(--tblr-border-style) #198754;
  margin: 2px;
}

.carousel-indicators-vertical {
  right: -13px;
}

#searchBtn {
  color: #198754;
  background-color: white;
  font-weight: bold;
}

#searchBtn:hover {
  background-color: #198754;
  color: white;
  font-weight: bold;
}

.main-title {
  font-size: 1.1rem;
  padding: 10px 0px;
}

@keyframes bounceLeft {
  0% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(2px);
    /* Slight right movement */
  }

  100% {
    transform: translateX(0);
    /* Return to original position */
  }
}

.fa-arrow-left {
  animation: bounceLeft 1s ease-in-out infinite;
  margin-right: 5px;
  /* Adjust duration and make it loop */
}

/* --- Elegant Modal Styles --- */

/* 1. Define the Color Palette and Font */
:root {
  --elegant-green: #198754;
  /* A deep, rich green */
  --elegant-green-darker: #212529;
  --elegant-black: #212529;
  /* Softer than pure black */
  --elegant-gray: #f0f2f5;
  /* Light gray for backgrounds */
  --elegant-border: #dee2e6;
  --font-main: "Cairo", sans-serif;
}

/* 2. Style the Modal Content */
.modal-elegant {
  font-family: var(--font-main);
  border: none;
  border-radius: 12px;
  /* Softer corners */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* 3. Style the Header */
.modal-elegant .modal-header {
  background-color: var(--elegant-green);
  color: #ffffff;
  border-bottom: none;
  padding: 1.25rem 1.5rem;
  border-radius: 11px 11px 0 0;
}

.modal-elegant .modal-header .modal-title {
  font-weight: 700;
  font-size: 1.25rem;
}

.modal-elegant .modal-header .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  /* Makes close button white */
  margin: -0.5rem -0.5rem -0.5rem auto;
  /* RTL support */
}

/* 4. Style the Body */
.modal-elegant .modal-body {
  text-align: center;
  padding: 2rem 1.75rem;
}

.modal-elegant .welcome-title {
  font-weight: 700;
  color: var(--elegant-black);
  margin-bottom: 0.5rem;
}

.modal-elegant .lead-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 1rem;
}

/* 5. Style the Social Media Links */
.modal-elegant .social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-elegant .social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: var(--elegant-gray);
  color: var(--elegant-black);
  border-radius: 50%;
  /* Perfect circle */
  font-size: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.modal-elegant .social-icon:hover {
  background-color: var(--elegant-green);
  color: #ffffff;
  transform: translateY(-3px);
  /* Subtle lift effect */
}

/* 6. Style the Main Action Button */
.modal-elegant .btn-main-action {
  background-color: var(--elegant-green);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.8rem 1rem;
  width: 100%;
  border: none;
  border-radius: 50px;
  /* Pill shape */
  transition: background-color 0.3s ease;
}

.modal-elegant .btn-main-action:hover {
  background-color: var(--elegant-green-darker);
  color: #ffffff;
}
