/********** Template CSS **********/
:root {
  --primary: #348e38;
  --secondary: #525368;
  --light: #e8f5e9;
  --dark: #0f4229;
}

body {
  overflow-x: hidden;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

/* Mobile Back Arrow - Sticky */
.mobile-back-arrow {
  position: fixed !important;
  top: 130px !important;
  left: 15px !important;
  z-index: 99999 !important;
  display: none;
  width: 45px;
  height: 45px;
  background: rgba(52, 142, 56, 0.95);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  pointer-events: auto !important;
}

.mobile-back-arrow:hover {
  background: rgba(33, 136, 56, 1);
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.mobile-back-arrow i {
  color: white;
  font-size: 20px;
}

@media (max-width: 768px) {
  .mobile-back-arrow {
    display: flex !important;
  }
}

h1,
.h1,
h2,
.h2,
.fw-bold {
  font-weight: 700 !important;
}

h3,
.h3,
h4,
.h4,
.fw-medium {
  font-weight: 600 !important;
}

h5,
.h5,
h6,
.h6,
.fw-semi-bold {
  font-weight: 500 !important;
}

/*** 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 {
  transition: 0.5s;
  font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
  color: var(--light);
}

.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 ***/
.navbar.sticky-top {
  top: -100px;
  transition: 0.5s;
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.85), rgba(139, 195, 74, 0.85), rgba(205, 220, 57, 0.85)) !important;
  backdrop-filter: blur(10px);
  z-index: 1020;
}

.navbar {
  background: linear-gradient(135deg, rgba(76, 175, 80, 0.85), rgba(139, 195, 74, 0.85), rgba(205, 220, 57, 0.85)) !important;
  backdrop-filter: blur(10px);
  z-index: 1020;
}

.navbar-collapse {
  z-index: 1019 !important;
}

.navbar .navbar-nav .nav-link {
  margin-right: 35px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  outline: none;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: #ffeb3b;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-toggler {
  background-color: transparent !important;
  border: none !important;
  padding: 8px 12px;
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav .nav-link {
    margin-right: 0;
    padding: 12px 20px;
    border-radius: 8px;
    margin: 4px 0;
    transition: all 0.3s ease;
    position: relative;
    color: #0f4229 !important;
    text-shadow: none !important;
  }

  .navbar .navbar-nav .nav-link:hover {
    background: rgba(52, 142, 56, 0.1);
    transform: translateX(5px);
  }

  .navbar .navbar-nav .nav-link.active {
    background: linear-gradient(135deg, #348e38, #4caf50);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(52, 142, 56, 0.3);
  }

  .navbar .navbar-nav .nav-link.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background: #ffffff;
    border-radius: 0 4px 4px 0;
  }

  .navbar .navbar-nav {
    border-top: 1px solid #e8f5e9;
    padding: 15px 10px;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  }

  .navbar-collapse {
    margin-top: 10px;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    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: center;
  text-align: center;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.carousel-caption h1 {
  background: linear-gradient(135deg, #4caf50, #8bc34a, #cddc39);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  background: linear-gradient(135deg, #4caf50, #8bc34a, #cddc39);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Override gradient for Facts section numbers */
.facts h1,
.facts .h1 {
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
  color: #ffffff !important;
}

.service-item .service-text h4 {
  background: linear-gradient(135deg, #4caf50, #8bc34a, #cddc39);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.heading-bird {
  width: 40px;
  height: 40px;
  margin-right: 10px;
  vertical-align: middle;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
}

/* Hero Slider Zoom Out Effect */
#header-carousel {
  overflow: hidden;
}

/* Fade transition for carousel */
#header-carousel .carousel-item {
  overflow: hidden;
  transition: opacity 1.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

#header-carousel .carousel-item.active {
  position: relative;
  opacity: 1;
  z-index: 1;
}

#header-carousel .carousel-item-next,
#header-carousel .carousel-item-prev {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

#header-carousel .carousel-item-next.carousel-item-start,
#header-carousel .carousel-item-prev.carousel-item-end {
  opacity: 1;
}

#header-carousel .carousel-item.active.carousel-item-start,
#header-carousel .carousel-item.active.carousel-item-end {
  opacity: 0;
}

#header-carousel .carousel-item img {
  animation: zoomOut 8s ease-in-out infinite;
  transform-origin: center center;
}

#header-carousel .carousel-item.active img {
  animation: zoomOut 8s ease-in-out;
}

@keyframes zoomOut {
  0% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 550px;
    overflow: hidden;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

.page-header {
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../img/WhatsApp\ Image\ 2026-01-05\ at\ 4.58.15\ PM.jpeg) center center
      no-repeat;
  background-size: cover;
}

.page-header .breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
  font-size: 18px;
  color: var(--light);
}

.page-header h1 {
  color: #ffffff !important;
  background: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

/*** Top Feature ***/
@media (min-width: 991.98px) {
  .top-feature {
    position: relative;
    margin-top: -80px;
    z-index: 1;
  }
}

/*** Facts & Quote ***/
.facts,
.quote {
  background: rgba(15, 66, 41, 0.6);
}

.facts {
  background:
    linear-gradient(rgba(15, 66, 41, 0.6), rgba(15, 66, 41, 0.6)),
    url(../img/top-view-beautiful-green-leaves-background.jpg) center center
      no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.quote {
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(../img/cool-coffee-india-tea-leaves-forest.jpg) center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/*** Service ***/
.service-item {
  position: relative;
  text-align: center;
  border-radius: 10px;
  overflow: hidden;
}

.service-item .service-img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -1;
}

.service-item .service-img img {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  object-fit: cover;
  transform: scale(1.2);
  transition: 0.5s;
  z-index: -1;
}

.service-item:hover .service-img img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.service-item .service-text {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.4s ease;
  border-radius: 10px;
  border: 3px solid #e8f5e9;
  position: relative;
  padding-bottom: 60px;
}

.service-item:hover .service-text {
  background: rgba(15, 66, 41, 0.6);
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(52, 142, 56, 0.4);
  border: 3px solid var(--primary);
}

.service-item .service-text h4,
.service-item .service-text p {
  transition: 0.4s;
}

.service-item .service-text p {
  min-height: 80px;
}

.service-item:hover .service-text h4 {
  color: #ffffff !important;
  background: transparent !important;
  -webkit-text-fill-color: #ffffff !important;
}

.service-item:hover .service-text p {
  color: var(--light);
}

.service-item .service-text .btn-square {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
  transition: 0.5s;
  border-radius: 50%;
}

.service-item:hover .service-text .btn-square {
  background: #ffffff;
  transform: scale(1.1);
}

.service-item .service-text .btn-square i {
  transition: 0.4s;
}

.service-item:hover .service-text .btn-square i {
  transform: rotateY(360deg);
}

.service-item .service-text .btn {
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  border-radius: 25px;
  font-weight: 500;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
}

.service-item .service-text .btn-primary {
  color: #ffffff;
  background: var(--primary);
  border: 2px solid var(--primary);
}

.service-item .service-text .btn-outline-primary {
  color: var(--primary);
  background: transparent;
  border: 2px solid var(--primary);
}

.service-item:hover .service-text .btn-primary {
  background: #ffffff;
  color: var(--primary);
}

.service-item:hover .service-text .btn-outline-primary {
  background: var(--primary);
  color: #ffffff;
}

/*** Project Portfolio ***/
#portfolio-flters {
  display: inline-block;
  background: var(--light);
  padding: 10px 15px;
}

#portfolio-flters li {
  display: inline-block;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  transition: 0.5s;
  border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
  color: var(--dark);
  border-color: var(--dark);
}

.portfolio-inner {
  position: relative;
  overflow: hidden;
}

.portfolio-inner::before,
.portfolio-inner::after {
  position: absolute;
  content: "";
  width: 0;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba(15, 66, 41, 0.6);
  transition: 0.5s;
}

.portfolio-inner::after {
  left: auto;
  right: 0;
}

.portfolio-inner:hover::before,
.portfolio-inner:hover::after {
  width: 50%;
}

.portfolio-inner .portfolio-text {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 3;
  opacity: 0;
}

.portfolio-inner:hover .portfolio-text {
  transition-delay: 0.3s;
  opacity: 1;
}

.portfolio-inner .portfolio-text .btn {
  background: var(--light);
  color: var(--primary);
}

.portfolio-inner .portfolio-text .btn:hover {
  background: var(--primary);
  color: var(--light);
}

/*** Team ***/
.team-item {
  position: relative;
  overflow: hidden;
}

.team-item .team-text {
  position: absolute;
  width: calc(100% - 45px);
  left: -100%;
  bottom: 45px;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 0 4px 4px 0;
  opacity: 0;
  transition: 0.5s;
}

.team-item:hover .team-text {
  left: 0;
  opacity: 1;
}

.team-item .team-social .btn {
  background: var(--light);
  color: var(--primary);
}

.team-item .team-social .btn:hover {
  background: var(--primary);
  color: var(--light);
}

.team-item .team-img .team-social {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.5s;
  z-index: 3;
  opacity: 0;
}

.team-item:hover .team-img .team-social {
  transition-delay: 0.3s;
  opacity: 1;
}

/*** Testimonial ***/

.testimonial-carousel .owl-item img {
  width: 100px;
  height: 100px;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  margin-right: 15px;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  background: var(--light);
  border-radius: 4px;
  font-size: 22px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  color: var(--light);
}

/*** Footer ***/
.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: var(--light);
  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;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  color: var(--primary);
  letter-spacing: 1px;
  box-shadow: none;
}

@media (min-width: 992px) {
  .footer {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  .footer .container {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  .footer .row {
    align-items: flex-start;
  }
  .footer .d-flex.pt-2 {
    margin-top: 15px !important;
  }
}

.copyright {
  color: var(--light);
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright a {
  color: #ffffff;
}

.copyright a:hover {
  color: var(--primary);
}

.property-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 2px solid transparent;
}

.property-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #348e38, #4caf50, #8bc34a);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s;
}

.property-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(52, 142, 56, 0.25);
  border-color: #348e38;
}

.property-card:hover::before {
  opacity: 1;
}

.property-card .card-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.property-card .card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover .card-image-wrapper img {
  transform: scale(1.15) rotate(2deg);
}

.property-card .card-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #348e38, #4caf50);
  color: white;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(52, 142, 56, 0.4);
  z-index: 2;
  animation: pulse 2s infinite;
}

.property-card .card-badge.badge-premium {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
}

.property-card .card-badge.badge-new {
  background: linear-gradient(135deg, #ff6b6b, #ff4757);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.property-card .card-body {
  padding: 25px;
  background: white;
  position: relative;
}

.property-card .card-location {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  font-size: 14px;
  margin-bottom: 12px;
  padding: 6px 14px;
  background: #f0f9f1;
  border-radius: 20px;
  font-weight: 500;
}

.property-card .card-location i {
  color: #348e38;
  font-size: 13px;
}

.property-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #0f4229;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #0f4229;
  font-weight: 700;
  transition: color 0.3s;
}

.property-card:hover h3 {
  color: #348e38;
}

.property-card p {
  font-size: 15px;
  margin-bottom: 18px;
  color: #666;
  line-height: 1.6;
}

.property-card .card-features {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.property-card .card-features span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #555;
  padding: 6px 12px;
  background: #f8f9fa;
  border-radius: 15px;
  font-weight: 500;
  transition: all 0.3s;
}

.property-card .card-features span i {
  color: #348e38;
  font-size: 12px;
}

.property-card:hover .card-features span {
  background: #e8f5e9;
  transform: translateY(-2px);
}

.property-card .price {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #348e38, #4caf50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.property-card .btn-visit {
  background: linear-gradient(135deg, #348e38, #4caf50);
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  font-size: 15px;
  box-shadow: 0 8px 20px rgba(52, 142, 56, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  position: relative;
  overflow: hidden;
}

.property-card .btn-visit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.5s;
}

.property-card .btn-visit:hover::before {
  left: 100%;
}

.property-card .btn-visit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(52, 142, 56, 0.4);
  background: linear-gradient(135deg, #2d7a30, #45a049);
}

.property-card .btn-visit i {
  font-size: 14px;
}

.navbar-toggler {
  border: 2px solid var(--dark);
  padding: 8px 12px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(52, 142, 56, 0.25);
}

/* Enhanced Mobile Navbar Toggler */
@media (max-width: 991.98px) {
  .navbar-toggler {
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 10px 14px;
    transition: all 0.3s ease;
    background: rgba(52, 142, 56, 0.05);
  }

  .navbar-toggler:hover {
    background: rgba(52, 142, 56, 0.1);
    transform: scale(1.05);
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.3rem rgba(52, 142, 56, 0.25);
    border-color: var(--primary);
  }

  .navbar-toggler[aria-expanded="true"] {
    background: var(--primary);
  }

  .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
}

/* Navbar Logo Responsive */
.navbar-logo {
  height: 120px;
}

@media (max-width: 768px) {
  .navbar-logo {
    height: 90px !important;
  }
}

/* Carousel Logo Styling */
#header-carousel .carousel-inner {
  overflow: visible;
}

#header-carousel .row {
  margin-left: 0;
  margin-right: 0;
}

#header-carousel .carousel-caption {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 15%;
}

#header-carousel .carousel-caption .container {
  width: 70%;
  max-width: 70%;
}

.hero-logo {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto 2rem auto;
  opacity: 0;
}

/* Fade In Animation for Hero Logo */
@keyframes fadeInLogo {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Animation only for active carousel item */
#header-carousel .carousel-item.active .hero-logo {
  animation: fadeInLogo 2.5s ease-in-out forwards;
}

/* Hide logo in non-active slides */
#header-carousel .carousel-item:not(.active) .hero-logo {
  opacity: 0;
}

@media (max-width: 768px) {
  .hero-logo {
    max-width: 140px !important;
    width: 140px !important;
    height: auto !important;
  }
}

/* Mobile Responsive Fixes for Index Page */
@media (max-width: 768px) {
  /* Navbar Logo - Higher Specificity */
  body .navbar .navbar-brand img {
    height: 90px !important;
    max-height: 90px !important;
  }

  body .navbar {
    padding: 0.5rem 0 !important;
  }

  body .navbar-brand {
    padding-left: 1rem !important;
  }

  /* Carousel - Higher Specificity */
  body #header-carousel {
    height: 85vh !important;
    min-height: 85vh !important;
    margin-bottom: -120px !important;
  }

  body #header-carousel .carousel-caption {
    padding: 20px !important;
    padding-bottom: 5% !important;
    padding-top: 100px !important;
  }

  body #header-carousel .carousel-caption h1 {
    font-size: 1.5rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.3 !important;
  }

  body #header-carousel .carousel-caption .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 15px !important;
    text-align: center !important;
  }

  body #header-carousel .carousel-caption .col-12.text-center .hero-logo {
    max-width: 140px !important;
    width: 140px !important;
    height: auto !important;
    margin: -100px auto 1rem auto !important;
    display: block !important;
  }

  body #header-carousel .carousel-caption .col-12.text-center {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Buttons */
  .button {
    font-size: 0.8rem !important;
    padding: 0.6rem 1.2rem !important;
    gap: 0.5rem !important;
  }

  .button__icon-wrapper {
    width: 20px !important;
    height: 20px !important;
  }

  /* Carousel Arrows */
  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    width: 2rem !important;
    height: 2rem !important;
    border: 6px solid var(--primary) !important;
  }

  /* About Section */
  .display-1 {
    font-size: 2.5rem !important;
  }

  .display-5 {
    font-size: 1.5rem !important;
  }

  /* Feature Cards */
  .btn-square {
    width: 60px !important;
    height: 60px !important;
  }

  /* Property Cards */
  .property-card h3 {
    font-size: 1.25rem !important;
  }

  .property-card .card-features {
    font-size: 0.75rem !important;
  }

  /* Testimonials */
  .testimonial-item p {
    font-size: 0.9rem !important;
  }

  /* Footer Logo */
  .footer img {
    height: 80px !important;
  }

  /* Footer Height Reduction */
  .footer {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .footer .container {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .footer .row > div {
    margin-bottom: 1.5rem !important;
  }

  /* Footer Social Icons Mobile */
  .footer .btn-square {
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin-top: 10px !important;
  }

  .footer .btn-square i {
    font-size: 14px !important;
  }
}


/* Footer Heading Size Increase for Project Pages */
.footer h4.text-white {
  font-size: 1.5rem !important;
}
