.button {
  background-color: #14264e !important;
  color: #ecb44b !important;
}
.text-color{
  color: #112135;
}

/* ===============================
   🌎 Global
=================================*/
html,
body {
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.font {
  font-size: 19px;
}

/* ===============================
  text animation
=================================*/
.type {
  /* background: -webkit-linear-gradient(25deg, #DDB15B, #dbd56e); */
  background: #ecaf5f;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 3rem;
  /* default for large screens */
  font-weight: 500;
  overflow: hidden;
  white-space: nowrap;
  animation: type 1.5s steps(90) 1.5s 1 normal both, cursor 1s step-end infinite;
  position: relative;
}

/* Typing animation */
@keyframes type {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

@keyframes cursor {
  50% {
    border-color: transparent;
  }
}

/* ===============================
   📱 Responsive font sizes
=================================*/
@media (max-width: 1200px) {
  h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 992px) {
  h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.7rem;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.4rem;
  }
}
/* ========== CONTACT SECTION ========== */
.contact {
  margin-top: 100px;
  padding: 60px 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  display: block;
}

/* Form Styles */
.contact-form {
  position: relative;
  background-color: #fff;
  padding: 30px;
  color: black;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

/* Input & Textarea */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px 15px 10px 40px; /* left padding for icon */
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.95rem;
  outline: none;
  box-sizing: border-box;
  color: black;
}

/* Focus effect */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #e94e1b;
  box-shadow: 0 0 0 2px rgba(233, 78, 27, 0.1);
}

/* Form Icon */
.contact-form .form-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: #555;
  pointer-events: none;
}

/* Margin between form fields */
.contact-form .mb-3 {
  position: relative; /* each field relative for icon */
  margin-bottom: 20px;
}

/* Button Styling */
.button.btn {
  background-color: #e94e1b;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  font-weight: 500;
}

.button.btn:hover {
  background-color: #c74317;
}

/* Footer Info */
.footer-info h6 {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Responsive Fix */
@media (max-width: 768px) {
  .contact-form {
    margin-top: 30px;
  }

  .map-container iframe {
    min-height: 300px;
  }
}

/* ===========================
   Hero Section
=========================== */
.hero-section {
  position: relative;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible; /* ✅ allow cards to show outside */
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.hero-heading {
  position: absolute;
  z-index: 2;
  color: #f6b352;
}

.hero-heading h1 {
  font-size: 2.8rem;
  font-weight: 600;
}

/* ✅ Card section overlapping image */
.card-section {
  position: absolute;
  bottom: -90px; /* overlap height */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  z-index: 5; /* bring cards above image & overlay */
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  text-align: center;
  padding: 30px 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.feature-icon {
  font-size: 2rem;
  color: #162346;
  margin-bottom: 10px;
}

.feature-card:hover {
  transform: translateY(-5px);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  .hero-heading h1 {
    font-size: 1.8rem;
  }

  .card-section {
    bottom: -50px;
  }
}

@media (max-width: 576px) {
  .card-section {
    display: none;
  }
}

/* ===============================
   🏠 Property Search Section
=================================*/
.property-search {
  margin-top: 150px;
  background-color: #f9f9f9;
  padding: 50px 30px;
  border-radius: 16px;
  box-shadow: 0 10px 50px rgba(19, 49, 87, 0.8);
  transition: all 0.3s ease;
}

.property-search:hover {
  box-shadow: 0 20px 80px rgba(53, 11, 53, 0.1);
}

.property-search h2 {
  text-align: center;
  margin-bottom: 35px;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0e1927;
  letter-spacing: 0.5px;
}

/* Filters */
.property-search .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-bottom: 35px;
}

.property-search .filters select,
.property-search .filters input {
  padding: 12px 18px;
  border-radius: 10px;
  border: 1.5px solid #c9d6e8;
  font-size: 1rem;
  min-width: 160px;
  background-color: #fff;
  outline: none;
  transition: all 0.3s ease;
}

.property-search .filters select:focus,
.property-search .filters input:focus {
  border-color: #0e1927;
  box-shadow: 0 0 0 3px rgba(14, 25, 39, 0.1);
}

.property-search .filters input[type="number"] {
  max-width: 190px;
}

.property-search .filters button {
  padding: 12px 28px;
  background-color: #0e1927;
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 3px 10px rgba(14, 25, 39, 0.2);
}

.property-search .filters button:hover {
  background-color: #192d47;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(14, 25, 39, 0.3);
}

/* Property Listings */
.property-search .property-listings {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.property-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.property-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.property-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.property-card h3 {
  font-size: 1.25rem;
  margin: 15px;
  color: #0e1927;
  font-weight: 600;
}

.property-card p {
  font-size: 1rem;
  margin: 0 15px 20px;
  color: #555;
  line-height: 1.5;
}

/* ===============================
   🌆 Overlay Cards
=================================*/
.card-container {
  background-color: #d7e5f8;
  padding: 2rem 1rem 3rem;
}

.overlay-card {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(60%);
  transition: transform 0.6s ease, filter 0.5s ease;
}

.card-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px;
  color: #fff;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.overlay-card h6 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
}

.overlay-card p {
  font-size: 15px;
  margin: 5px 0;
}

.overlay-card:hover {
  transform: translateY(-5px);
}

.overlay-card:hover .card-bg-img {
  transform: scale(1.15);
  filter: brightness(40%) blur(1px);
}

.overlay-card:hover .card-overlay-content {
  opacity: 1;
  transform: translateY(0);
}

/* Right column overlay */
.position-relative img {
  width: 100%;
  height: 80vh;
  object-fit: cover;
}

.image-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 12px;
}

.image-text-overlay h3,
.image-text-overlay p {
  margin-left: 30px;
}

.image-text-overlay i {
  color: rgb(2, 2, 48);
  font-size: large;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .overlay-card {
    height: 200px;
  }

  .card-overlay-content {
    padding: 15px;
  }

  .image-text-overlay {
    padding: 2rem;
    font-size: 0.95rem;
  }
}

/* ===============================
   🔄 On image content
=================================*/
.on-img {
  position: relative;
  overflow: hidden;
  height: 60vh;
  max-height: 500px;
  min-height: 300px;
}

.on-img img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.on-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 5;
}

/* Center content perfectly */
.content-on {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.55);
  color: white;
  padding: 25px 30px;
  border-radius: 10px;
  max-width: 700px;
  width: 90%;
  box-sizing: border-box;
  z-index: 10;
  text-align: center;
}

.content-on h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  line-height: 1.3;
}

.content-on p {
  font-size: 1rem;
  line-height: 1.6;
}

/* ✅ Tablet */
@media (max-width: 992px) {
  .on-img {
    height: 50vh;
  }

  .content-on h2 {
    font-size: 1.6rem;
  }

  .content-on p {
    font-size: 0.95rem;
  }
}

/* ✅ Mobile */
@media (max-width: 768px) {
  .on-img {
    height: 45vh;
  }

  .content-on {
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
  }

  .content-on h2 {
    font-size: 1.3rem;
  }

  .content-on p {
    font-size: 0.85rem;
  }
}

/* ✅ Extra small screens */
@media (max-width: 480px) {
  .on-img {
    height: 40vh;
  }

  .content-on h2 {
    font-size: 1.1rem;
  }

  .content-on p {
    font-size: 0.8rem;
  }
}

/* ===============================
   🔄 flip card
=================================*/
.flip-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: white;
  justify-items: center;
}

.flip-card {
  width: 300px;
  height: 200px;
  perspective: 1000px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease-in-out;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  backface-visibility: hidden;
  overflow: hidden;
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.flip-card-front .flip-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.flip-card-front h2.flip-title {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: white;
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 14px;
  border-radius: 8px;
  width: 80%;
  text-align: center;
}

.flip-card-back {
  transform: rotateY(180deg);
  background-color: #0e1927;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
}

/* ===============================
   🔄 testimonial
=================================*/
.testimonial-img {
  max-width: 100%;
  border-radius: 8px;
}

.youtube-icon {
  cursor: pointer;
  margin-top: 10px;
}

.testimonial-quote {
  font-style: italic;
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  padding: 10px;
}

@media (max-width: 576px) {
  .testimonial-quote {
    font-size: 1rem;
  }

  .testimonial-content {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

.testimonial {
  background-color: #0e1927;
}

.side-btn,
.btn[data-bs-toggle="offcanvas"] {
  position: absolute !important;
  bottom: 212px !important;

  /* Position to left instead of center */
  left: 0 !important;  /* You can adjust the px value as needed */

  display: flex;
  z-index: 10;

  background: none !important;
  color: rgb(20, 35, 61);
  font-size: 3.5rem;
  font-weight: 700;
  border: none !important;
  padding: 8px 16px;
  box-shadow: none !important;
}

@media (min-width: 992px) {
  .side-btn,
  .btn[data-bs-toggle="offcanvas"] {
    display: none !important;
  }
}

/* cloud css */
.overlay-1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(
    270deg,
    rgba(226, 224, 211, 0) 0%,
    rgba(0, 0, 0, 0.75) 100%
  ); */
  z-index: 1;
}

/* Cloud overlay animation */
.overlay-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 200em;
  height: 30em;
  background: url("https://pngimg.com/uploads/cloud/cloud_PNG4.png") repeat-x bottom;
  animation: cloudLoop 80s linear infinite;
  z-index: 2;
  opacity: 0.7;
  pointer-events: none;
}

@keyframes cloudLoop {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

      @-webkit-keyframes cloudLoop {
        0% {
          -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
        }

        100% {
          -webkit-transform: translate3d(-50%, 0, 0);
          transform: translate3d(-50%, 0, 0);
        }
      }

      @keyframes cloudLoop {
        0% {
          -webkit-transform: translate3d(0, 0, 0);
          transform: translate3d(0, 0, 0);
        }

        100% {
          -webkit-transform: translate3d(-50%, 0, 0);
          transform: translate3d(-50%, 0, 0);
        }
      }