/********** Template CSS **********/
:root {
  --primary: #F47C20;
  --secondary: #fff0e6;
  --light: #f8f8f9;
  --dark: #001d23;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
  color: #ffffff;
}

.btn.btn-primary:hover {
  color: var(--primary);
  background: transparent;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.fixed-top {
  transition: 0.5s;
}

.top-bar {
  height: 45px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    background: var(--dark);
  }

  .navbar .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background: rgba(0, 29, 35, 0.75);
  padding: 3rem 2rem;
  z-index: 1;
}

.carousel-caption h1 {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 1.2rem;
  color: #ddd;
  margin-bottom: 1.5rem;
}

.carousel-caption .btn {
  margin-right: 0.75rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border-radius: 0.5rem;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--dark);
  border: 10px solid var(--dark);
  border-radius: 50%;
}

#header-carousel .carousel-item img {
  height: 100vh;
  width: 100%;
  object-fit: cover;
}

/* Tablets & Below */
@media (max-width: 991.98px) {
  .carousel-caption {
    padding: 1.5rem;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    background: rgba(0, 29, 35, 0.65);
  }

  .carousel-caption h1 {
    font-size: 2rem;
    line-height: 1.4;
  }

  .carousel-caption p {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .carousel-caption .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    margin-bottom: 0.5rem;
  }

  #header-carousel .carousel-item {
    min-height: 500px;
  }

  #header-carousel .carousel-item img {
    height: 100%;
  }
}

/* Small Devices */
@media (max-width: 576px) {
  .carousel-caption {
    padding: 1rem;
  }

  .carousel-caption h1 {
    font-size: 1.6rem;
  }

  .carousel-caption p {
    font-size: 0.95rem;
  }

  .carousel-caption .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.75rem;
  }
}

.page-header {
  padding-top: 12rem;
  padding-bottom: 6rem;
  background: linear-gradient(rgba(0, 29, 35, 0.8), rgba(0, 29, 35, 0.8)),
    url(../img/carousel-1.jpg) center center no-repeat;
  background-size: cover;
  background-attachment: fixed; /* Optional for parallax-like effect on desktop */
  color: #fff;
  text-align: center;
}

/* Breadcrumb divider color */
.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: #999999;
}

/* Tablet view adjustments */
@media (max-width: 991.98px) {
  .page-header {
    padding-top: 8rem;
    padding-bottom: 4rem;
    background-attachment: scroll;
  }
}

/* Mobile view adjustments */
@media (max-width: 576px) {
  .page-header {
    padding-top: 6rem;
    padding-bottom: 3rem;
    background-position: center top;
    background-size: cover;
    text-align: center;
  }

  .page-header h1 {
    font-size: 1.8rem;
    line-height: 2.2rem;
  }

  .page-header p {
    font-size: 1rem;
  }
}

/*** Causes ***/
.causes-item .progress {
  height: 5px;
  border-radius: 0;
  overflow: visible;
}

.causes-item .progress .progress-bar {
  position: relative;
  overflow: visible;
  width: 0px;
  border-radius: 0;
  transition: 5s;
}

.causes-item .progress .progress-bar span {
  position: absolute;
  top: -7px;
  right: 0;
  width: 40px;
  height: 19px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  background: var(--primary);
  color: #ffffff;
}

.causes-item .causes-overlay {
  position: absolute;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  opacity: 0;
  transition: 0.5s;
}

.causes-item:hover .causes-overlay {
  height: 100%;
  opacity: 1;
}

/*** Service ***/
.service-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.06);
}

/*** Donate ***/
.donate {
  background: rgba(0, 29, 35, 0.8);
}

.btn-group .btn-light:hover,
.btn-group input[type="radio"]:checked + label {
  color: var(--primary);
  border-color: var(--primary);
}

/*** Team ***/
.team-item img {
  position: relative;
  top: 0;
  transition: 0.5s;
}

.team-item:hover img {
  top: -30px;
}

.team-item .team-text {
  position: relative;
  height: 100px;
  transition: 0.5s;
}

.team-item:hover .team-text {
  margin-top: -60px;
  height: 160px;
}

.team-item .team-text .team-social {
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-text .team-social {
  opacity: 1;
}

.team-item .team-social .btn {
  display: inline-flex;
  color: var(--primary);
  background: #ffffff;
  border-radius: 40px;
}

.team-item .team-social .btn:hover {
  color: #ffffff;
  background: var(--primary);
}

.social-btn {
  background-color: #F47C20; /* neutral beige from your theme */
  color: #1c1c1c; /* dark icon */
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-btn:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}
.footer-icon {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-icon:hover {
  color: #F47C20; /* Mango Farms Orange */
  transform: scale(1.2);
}

/* Individual platform hover colors */
.facebook:hover {
  background-color: #3b5998;
}

.youtube:hover {
  background-color: #ff0000;
}

.linkedin:hover {
  background-color: #0e76a8;
}


/*** Testimonial ***/
.testimonial-carousel::before {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.testimonial-carousel::after {
  position: absolute;
  content: "";
  top: 0;
  right: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(
    to left,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

@media (min-width: 768px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 200px;
  }
}

@media (min-width: 992px) {
  .testimonial-carousel::before,
  .testimonial-carousel::after {
    width: 300px;
  }
}

.testimonial-carousel .owl-item .testimonial-text {
  background: var(--light);
  transform: scale(0.8);
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary);
  transform: scale(1);
}

.testimonial-carousel .owl-item .testimonial-text *,
.testimonial-carousel .owl-item .testimonial-item img {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: var(--light) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item img {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 350px;
  top: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 300px;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  position: relative;
  color: var(--primary);
  font-size: 45px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

/*** Footer ***/

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: rgba(255, 255, 255, 0.5);
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--light);
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .btn.btn-square {
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.footer .btn.btn-square:hover {
  color: var(--secondary);
  border-color: var(--light);
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--secondary);
}

.footer .copyright a:hover {
  color: var(--primary);
}

/* Card container */
.real-estate-card {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 30px rgb(0 0 0 / 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  background: #fff;
  height: 100%;
}

.real-estate-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 40px rgb(0 0 0 / 0.15);
}

/* Image */
.real-estate-img {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.real-estate-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s ease-in-out;
}
.real-estate-card:hover .real-estate-img img {
  transform: scale(1.1);
}

/* Gradient overlay for text */
.overlay-gradient {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #fff;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Content area */
.card-content {
  padding: 20px 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-tag {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.property-details {
  font-size: 0.9rem;
  color: #555;
  margin: 10px 0 20px;
}

.btn-view {
  align-self: flex-start;
  background: var(--primary);
  color: white;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: background 0.5s ease;
  text-decoration: none;
}
.btn-view:hover {
  background: var(--primary);
  color: #fff;
}
/* Card container */

/* icons img */
.floating-icons {
  position: fixed;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9999;
}

.floating-icons .icon {
  width: 55px;
  height: 55px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.floating-icons .icon img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}

.floating-icons .icon:hover img {
  transform: scale(1.2);
}
/* icons img */

/* location */
.location-advantage-modern {
  background: #f4f9ff;
}

.adv-card-img {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.adv-card-img:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.img-icon {
  width: 80px;
  height: 80px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 15px;
}

/* location */

/* farm house */
.villa-section {
  padding: 60px 0;
}

.villa-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.villa-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #6b7280;
  margin-bottom: 50px;
}

.villa-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background-color: #fff;
}

.villa-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.villa-img {
  height: 230px;
  object-fit: cover;
}

.villa-card .card-body {
  padding: 25px;
}

.villa-card h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

.villa-feature {
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.btn-book {
  background-color: #10b981;
  color: #fff;
  font-weight: 500;
  border-radius: 8px;
  transition: 0.3s ease;
}

.btn-book:hover {
  background-color: #059669;
}
/* farm house */

/* location img */
.img-icon {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 12px; /* Optional: smooth edges */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); /* Optional: subtle shadow */
}
/* location img */

/* call back to action */
.farm-enquiry {
  position: relative;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-image: url("../img/callback.png");
  z-index: 1;
}

.farm-enquiry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.651); /* Dark overlay */
  z-index: 2;
}

.farm-enquiry .container {
  position: relative;
  z-index: 3;
}
/* call back to action */

/* card farm house */
.property-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.property-image {
  position: relative;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.price-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #0d6efd;
  color: white;
  padding: 6px 15px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  z-index: 1;
}

.property-details {
  padding: 25px;
}

.property-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #333;
}

.property-location {
  color: #6c757d;
  margin-bottom: 15px;
}

.property-info {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.view-btn {
  display: inline-block;
  margin-top: 15px;
  color: #0d6efd;
  font-weight: 600;
  text-decoration: none;
}

.view-btn:hover {
  text-decoration: underline;
}

/* card farm house */

/* header background */
.bg-header {
  position: relative;
  background-size: cover;
  background-position: center;
  z-index: 1;
  overflow: hidden;
}

.bg-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/toph.png");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  z-index: -1;
}
/* header background */

/* 1bhk */
.farmhouse-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.carousel-inner .inner {
  height: 100%;
  max-height: 500px;
  object-fit: cover;
}

.farmhouse-content {
  padding: 30px;
}

.farmhouse-title {
  font-weight: 700;
  font-size: 2rem;
}

.farmhouse-location {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 15px;
}

.farmhouse-badges span {
  margin-right: 8px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  font-weight: 500;
}

.farmhouse-inclusions li {
  font-size: 0.95rem;
}

.btn-orange {
  background-color: #ff9f43;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1rem;
  border-radius: 10px;
  transition: 0.3s;
}

.btn-orange:hover {
  background-color: #e0872f;
}

/* 1bhk */

/* about parallex section */
.property-card {
  background-color: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1rem;
  color: white;
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.property-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.5);
}

/* Icon circle style */
.icon-circle {
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem auto;
}

/* Orange Icon */
.icon-orange {
  color: rgba(224, 135, 47, 0.8); /* light version of #e0872f */
}

.section-heading {
  color: #e0872f;
}
/* about parallex section */

/* location */
.location-card h5 {
  font-size: 1.6rem; /* thoda bada heading */
  font-weight: 700;
  margin-bottom: 1rem;
}

.location-card h6 {
  font-size: 1.3rem; /* thoda bada subheading */
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.location-card p,
.location-card ul li {
  font-size: 1.1rem; /* text ko bada aur easy to read banaya */
  line-height: 1.6;
  color: #444444; /* thoda darker for better contrast */
}

.location-card ul li {
  margin-bottom: 0.6rem;
}

.location-card .badge {
  font-size: 1rem; /* badges thode bade */
  padding: 0.5rem 1rem;
}

.btn-location {
  font-size: 1.25rem; /* button text bada */
  padding: 12px 40px;
  border-radius: 12px;
  background-color: #ff9f43;
  color: white;
  transition: background-color 0.3s ease;
}

.btn-location:hover {
  background-color: #e0872f;
}

@media (max-width: 768px) {
  .location-card h5 {
    font-size: 1.4rem;
  }
  .location-card h6 {
    font-size: 1.1rem;
  }
  .location-card p,
  .location-card ul li {
    font-size: 1rem;
  }
}
/* location */

/* gallery */
.gallery-thumbnail img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
/* gallery */
