@import "tailwindcss";
@media (prefers-color-scheme: dark) {
  :root {
    --background: #ffffff;
    --foreground: #000000;
  }
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family:"Poppins", sans-serif !important;
  font-size: 18px;
}

.carousel p{color: #fff;}
 
.cta-btn {
  background-color: #40B93C;
  color: #ffffff;
  border-radius: 16px;
  padding: 7px 16px;          /* horizontal padding helps look nicer */
  display: inline-block;      /* enable transform on inline elements */
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
              box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;     /* hint for smoother animation */
}

.cta-btn:hover,
.cta-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.expert-section{
  background-color:#f0f8ff;
}
.expert-section img {
  height: 250px;
}
img{
  position: relative!important;
}
.top-header{
  background-color: #40B93C;

}
.top-header a{
  font-size: 14px;
  color:#133E1A;
  font-weight: 500;
}
.data-section{
  min-height: calc(80vh);
}
.select-category{
  flex-direction: row-reverse;
    width: 100%;
    font-size: 16px;
    display: flex;
}
.main-menu li a{
  padding:  15px;
}
.main-menu li{
   list-style:none;
}
.main-menu li a:hover{
  background-color: #40B93C;
  color: #ffffff;
}
.main-menu .sub-menu{
  position: absolute;
  left: 70%;
}
ol, li {
  list-style:disc;
}
.product h3{
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 16px;

}

.product span{
  font-size: 14px;
  color: #40B93C;
  display: block;
}

.product-box:hover span,
.product-box:focus span { 
  color: #ffffff;
}
.related-property {
  height: calc(100vh);        /* Full screen height */
  position: sticky;      /* Stick on scroll */
  top: 67px;                /* Stick to top */
  background: #ffffff;   /* Optional: avoid transparent issues */
  padding:0 10px;         /* Optional */
}
.related-scroll{
    scrollbar-width: 5px;
    overflow-y: auto; 
    height: calc(100vh - 280px); 
}
 
/* On hover → show blue scrollbar */
.related-scroll::-webkit-scrollbar {
  width: 5px;
}

/* Track */
.related-scroll::-webkit-scrollbar-track {
  border-radius: 10px;
}
 
/* Handle */
.related-scroll::-webkit-scrollbar-thumb {
  background:#40B93C; 
  border-radius: 10px;
}

.related-property h2,
.related-blog h2 {
  background: #40B93C;
  color: #fff;
  padding: 10px;
  margin: 0;
  flex-shrink: 0; /* prevent shrinking */
}

.related-blog li {
  border-bottom: #0a0a0a 1px solid;
  overflow: hidden;
  font-size: 16px;
  margin: 0;
}

.related-blog li a {
  display: block;
  padding: 10px 5px;
  cursor: pointer;
}

.related-blog li button {
  transition: all 0.3s ease;
  padding: 8px 10px;
  border-radius: 8px;
}

.related-blog li button:hover {
  background: linear-gradient(135deg, #40B93C, #40B93C);
  color: white;
  box-shadow: 0 4px 12px rgba(12, 140, 233, 0.3);
  transform: translateY(-2px);
}

/* Disable default swiper bullet styling so thumbnails show correctly */
.product-slider .swiper-pagination-bullet {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  opacity: 1 !important;
  margin: 0 4px !important;
  border-radius: 0 !important;
}

.product-slider .swiper-pagination-bullet img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  transition: 0.3s;
}

.product-slider .swiper-pagination-bullet-active img {
  border-color: #2563eb; /* blue-600 */
  transform: scale(1.05);
}
.current-product {
  font-weight: bold;
  color: #40B93C; /* example */
  background: #f0f8ff;
  border-radius: 4px;
  padding: 6px;
}
.product-slider .swiper-wrapper{
      padding: 0 0 85px 0;
}
/* Remove bullets for all li inside header-menu */
.header-menu li {
  list-style: none;
}

/* Base link style (main + submenu) */
.header-menu a {
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  transition: color 0.3s ease;
}

/* Underline style */
.header-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0%;
  height: 2px;
  background: #40B93C;
  transition: width 0.3s ease;
}

/* Hover + Active underline */
.header-menu a:hover::after,
.header-menu a.active::after {
  width: 100%;
}

/* Submenu smaller underline */
.header-menu .submenu-link::after {
  height: 1px;
  bottom: -1px;
}

.product-zoom-box {
  width: 350px;
    height: 350px;
    position: absolute;
    z-index: 99999;
    right: -350px;
}

.product-slide {
  width: 100% !important;
}
@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(0.6);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeZoom {
  animation: fadeZoom 0.35s ease-out;
}
.product-details-page h1{
  font-size: 20px;
}
.related-product, .product-details-page{
  margin-top: 20px;
}
@media (max-width: 767px) {
  .related-product,
  .product-details-page {
    margin-top: 10px; /* change for mobile */
  }
  .property-slider .swiper-pagination-bullet img {
    border-color: #40b93c;
    width: 30px;
    height: 30px;
  }
}
footer{
  mask: 
 linear-gradient(180deg,#0000 10px,#000 0),
    radial-gradient(10px,#000 calc(100% - 1px),#0000) top/18.5px 20px
}
footer ol, li{
  list-style: none;
}

.property-slider .swiper-wrapper {
      padding: 0 0 67px 0;
}

.property-slider .swiper-pagination-bullet {
    opacity: 1 !important;
    background: 0 0 !important;
    border-radius: 0 !important;
    width: auto !important;
    height: auto !important;
    margin: 0 4px !important;
}
.property-slider .swiper-pagination-bullet img{
border-color: #40b93c;
}
.property-slider .swiper-pagination-bullet-active img {
    border: #40b93c 3px solid;
    transform: scale(1.05);
}
.property-slider-img{
  width: 100%;
}
.property-slider  .swiper{
      position: static;
}
.dynamic_form input, select  { color: #000; }
