/* ============================================================
   EWBS PROPERTIES — ENHANCED 3D MODERN WEBSITE STYLES v7
   ============================================================ */

:root {
  --red: #de1717;
  --red-glow: rgba(222,23,23,0.35);
  --gold: #c9a84c;
  --dark: #0a0e1a;
}

/* ---- ANIMATED PARTICLE / CURSOR GLOW ---- */
#cursor-glow {
  position: fixed;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(222,23,23,0.07) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  transform: translate(-50%, -50%);
  transition: left 0.2s ease, top 0.2s ease;
}

/* ---- AURORA / GRADIENT BG EFFECTS ON BODY ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 10% 20%, rgba(222,23,23,0.04) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 90% 80%, rgba(30,60,120,0.04) 0%, transparent 55%);
  pointer-events: none;
  z-index: 0;
  animation: bodyAurora 15s ease-in-out infinite alternate;
}
@keyframes bodyAurora {
  0%   { opacity: 0.5; }
  100% { opacity: 1; }
}

/* ---- FLOATING GEOMETRIC BG SHAPES ---- */
.geo-shapes-wrap {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.geo-shape {
  position: absolute;
  border: 1px solid rgba(222,23,23,0.12);
  animation: geoRise linear infinite;
  opacity: 0;
}
.geo-shape.sq  { border-radius: 6px; }
.geo-shape.ci  { border-radius: 50%; border-color: rgba(201,168,76,0.1); }
.geo-shape.di  { border-radius: 3px; transform-origin: center; border-color: rgba(255,255,255,0.07); }

.gs1  { width:70px;  height:70px;  bottom:-10%; left:4%;   animation-duration:22s; animation-delay:0s; }
.gs2  { width:45px;  height:45px;  bottom:-10%; left:15%;  animation-duration:28s; animation-delay:-5s; border-color:rgba(201,168,76,0.1); }
.gs3  { width:100px; height:100px; bottom:-10%; left:30%;  animation-duration:35s; animation-delay:-10s; border-color:rgba(255,255,255,0.06);}
.gs4  { width:35px;  height:35px;  bottom:-10%; left:45%;  animation-duration:18s; animation-delay:-3s; }
.gs5  { width:80px;  height:80px;  bottom:-10%; left:60%;  animation-duration:25s; animation-delay:-8s;  border-color:rgba(222,23,23,0.1); }
.gs6  { width:55px;  height:55px;  bottom:-10%; left:72%;  animation-duration:20s; animation-delay:-15s; }
.gs7  { width:40px;  height:40px;  bottom:-10%; left:85%;  animation-duration:30s; animation-delay:-2s;  border-color:rgba(201,168,76,0.12); }
.gs8  { width:90px;  height:90px;  bottom:-10%; left:93%;  animation-duration:24s; animation-delay:-7s; }

@keyframes geoRise {
  0%   { opacity:0;   transform:translateY(0) rotate(0deg) scale(0.7); }
  8%   { opacity:0.8; }
  92%  { opacity:0.6; }
  100% { opacity:0;   transform:translateY(-110vh) rotate(540deg) scale(1.2); }
}

/* ---- MARQUEE TICKER ---- */
.marquee-ticker {
  background: linear-gradient(135deg, #b01010, var(--red));
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 10;
}
.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-item {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 50px;
}
.marquee-sep {
  color: rgba(255,255,255,0.35);
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
  padding: 0 10px;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---- ANIMATED STAT COUNTER BAR ---- */
.stat-bar-section {
  background: linear-gradient(135deg, #0c1120, #111827);
  padding: 48px 0;
  border-top: 1px solid rgba(222,23,23,0.2);
  border-bottom: 1px solid rgba(222,23,23,0.2);
  position: relative;
  overflow: hidden;
}
.stat-bar-section::after {
  content:'';
  position:absolute;
  top:0;left:0;right:0;bottom:0;
  background: linear-gradient(90deg, transparent 0%, rgba(222,23,23,0.04) 50%, transparent 100%);
  animation: scanBar 5s ease-in-out infinite;
}
@keyframes scanBar {
  0%   { transform:translateX(-100%); }
  100% { transform:translateX(100%); }
}
.stat-counter-item {
  text-align: center;
  padding: 16px 24px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1);
}
.stat-counter-item:hover {
  transform: translateY(-6px) scale(1.04);
}
.stat-counter-item::after {
  content:'';
  position:absolute;
  right:0; top:20%; bottom:20%;
  width:1px;
  background:linear-gradient(to bottom, transparent, rgba(255,255,255,0.12), transparent);
}
.stat-counter-item:last-child::after { display:none; }
.s-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  display: block;
  text-shadow: 0 0 40px rgba(222,23,23,0.35);
}
.s-num .s-plus { color: var(--red); font-size: 0.7em; vertical-align: super; }
.s-lbl {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
  display: block;
}

/* ---- ENHANCED CITY CARDS ---- */
.cities-item {
  position: relative;
  overflow: hidden;
  border-radius: 16px !important;
  cursor: pointer;
}
.cities-item img {
  transition: transform 0.9s cubic-bezier(0.23,1,0.32,1) !important;
  width: 100%;
}
.cities-item:hover img {
  transform: scale(1.14) !important;
}
.cities-item::after {
  content:'';
  position:absolute;
  inset:0;
  background: linear-gradient(0deg, rgba(12,17,32,0.85) 0%, rgba(12,17,32,0.2) 55%, transparent 100%);
  z-index:1;
  transition: background 0.5s ease;
}
.cities-item:hover::after {
  background: linear-gradient(0deg, rgba(222,23,23,0.75) 0%, rgba(12,17,32,0.15) 65%, transparent 100%);
}
.cities-item .content {
  z-index: 2;
  position: relative;
}
.cities-item .content h4 {
  transition: transform 0.4s ease, letter-spacing 0.4s ease;
}
.cities-item:hover .content h4 {
  transform: translateY(-4px);
  letter-spacing: 1px;
}

/* ---- ABOUT IMAGE WRAPPER ---- */
.about-img-wrap {
  position: relative;
  display: inline-block;
}
.about-badge {
  position: absolute;
  bottom: 30px;
  right: -15px;
  background: linear-gradient(135deg, #b01010, var(--red));
  color: #fff;
  padding: 18px 22px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(222,23,23,0.45), 0 0 0 1px rgba(255,255,255,0.1) inset;
  animation: badgePulse 3.5s ease-in-out infinite;
  z-index: 5;
  min-width: 110px;
}
@keyframes badgePulse {
  0%,100% { transform: translateY(0) scale(1); }
  50%     { transform: translateY(-6px) scale(1.04); }
}
.about-badge .b-num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}
.about-badge .b-lbl {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-top: 5px;
}

/* ---- FLOATING AMENITY PILLS (hero) ---- */
.hero-pill {
  position: absolute;
  background: rgba(10,14,26,0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  padding: 10px 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
  pointer-events: none;
}
.hero-pill .p-icon { font-size: 18px; }
.hp1 {
  top: 22%; right: 4%;
  opacity: 0;
  animation: pillFadeIn 0.7s 1.8s forwards, pillDrift1 7s 2.5s ease-in-out infinite;
}
.hp2 {
  top: 46%; right: 2%;
  opacity: 0;
  animation: pillFadeIn 0.7s 2.2s forwards, pillDrift2 8s 3s ease-in-out infinite;
}
.hp3 {
  bottom: 25%; right: 5%;
  opacity: 0;
  animation: pillFadeIn 0.7s 2.6s forwards, pillDrift3 6s 3.5s ease-in-out infinite;
}
@keyframes pillFadeIn  { to { opacity:1; } }
@keyframes pillDrift1  { 0%,100%{transform:translateY(0)}  50%{transform:translateY(-12px);} }
@keyframes pillDrift2  { 0%,100%{transform:translateY(0)}  50%{transform:translateY(-16px);} }
@keyframes pillDrift3  { 0%,100%{transform:translateY(0)}  50%{transform:translateY(-10px);} }

/* ---- TESTIMONIAL STARS ---- */
.testimonials-item .t-stars {
  color: #f5a623;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
  display: block;
}

/* ---- MISSION CARD GLOW ---- */
.number-counter.style-1 {
  border-radius: 18px !important;
  border: 1px solid rgba(222,23,23,0.12) !important;
  position: relative !important;
  overflow: hidden !important;
  transition: all 0.4s cubic-bezier(0.23,1,0.32,1) !important;
}
.number-counter.style-1::before {
  content:'';
  position:absolute;
  top:0;left:0;right:0;
  height:2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  transform:translateX(-100%);
  transition: transform 0.6s ease;
}
.number-counter.style-1:hover::before {
  transform: translateX(100%);
}
.number-counter.style-1:hover {
  border-color: rgba(222,23,23,0.4) !important;
  box-shadow: 0 25px 60px rgba(222,23,23,0.15) !important;
}

/* ---- SCROLL REVEAL ---- */
.sr-fade {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s cubic-bezier(0.23,1,0.32,1), transform 0.85s cubic-bezier(0.23,1,0.32,1);
}
.sr-fade.d1 { transition-delay:0.1s; }
.sr-fade.d2 { transition-delay:0.2s; }
.sr-fade.d3 { transition-delay:0.3s; }
.sr-fade.d4 { transition-delay:0.4s; }
.sr-fade.visible { opacity:1; transform:translateY(0); }

/* ---- SEARCH BAR HERO ENHANCEMENT ---- */
.form-search-wrap {
  background: rgba(255,255,255,0.08) !important;
  backdrop-filter: blur(20px) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 18px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4) !important;
}

/* ---- PARTNER LOGOS ---- */
.img-fluids {
  height: 55px;
  width: auto;
  object-fit: contain;
  filter: grayscale(20%) opacity(0.75);
  transition: filter 0.4s ease, transform 0.4s cubic-bezier(0.23,1,0.32,1) !important;
  border-radius: 8px;
}
.img-fluids:hover {
  filter: grayscale(0%) opacity(1) drop-shadow(0 6px 20px rgba(222,23,23,0.3)) !important;
  transform: perspective(400px) rotateY(10deg) scale(1.1) translateY(-4px) !important;
}

/* ---- PARALLAX SECTION ENHANCED ---- */
.parallax-wrap.style-1 {
  position: relative;
  overflow: hidden;
}
.parallax-wrap.style-1::after {
  content:'';
  position:absolute;
  inset:0;
  background: rgba(10,14,26,0.45);
  z-index:0;
}
.parallax-wrap.style-1::before {
  content:'';
  position:absolute;
  inset:-5px;
  background: linear-gradient(135deg, rgba(222,23,23,0.2) 0%, transparent 50%, rgba(201,168,76,0.1) 100%);
  z-index:0;
  animation: parallaxGlow 8s ease-in-out infinite alternate;
}
@keyframes parallaxGlow { from{opacity:0.5} to{opacity:1} }
.parallax-wrap.style-1 .content { position:relative; z-index:2; }

/* ---- SECTION LABELS ---- */
.sec-label {
  display:inline-block;
  font-family:'Montserrat',sans-serif;
  font-size:11px;
  font-weight:700;
  letter-spacing:3px;
  text-transform:uppercase;
  color:var(--red);
  background:rgba(222,23,23,0.08);
  border:1px solid rgba(222,23,23,0.22);
  padding:5px 16px;
  border-radius:30px;
  margin-bottom:14px;
}

/* ---- BEST PROPERTIES SECTION ---- */
.best-properties.type-2D3A4F {
  position:relative;
  overflow:hidden;
}
.best-properties.type-2D3A4F::before {
  content:'';
  position:absolute;
  top:-80px;left:-80px;right:-80px;
  height:250px;
  background:radial-gradient(ellipse at 50% 0%,rgba(222,23,23,0.1),transparent 70%);
  pointer-events:none;
}

/* ---- HOW IT WORKS STEP ICONS ---- */
.box-icon.style-3 {
  background: rgba(255,255,255,0.03) !important;
  border: 1px solid rgba(222,23,23,0.12) !important;
  border-radius: 20px !important;
  transition: all 0.45s cubic-bezier(0.23,1,0.32,1) !important;
  position: relative;
  overflow: hidden;
}
.box-icon.style-3::after {
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 50% 100%, rgba(222,23,23,0.07), transparent 70%);
  opacity:0;
  transition:opacity 0.4s ease;
}
.box-icon.style-3:hover::after { opacity:1; }
.box-icon.style-3:hover {
  border-color: rgba(222,23,23,0.4) !important;
  box-shadow: 0 20px 50px rgba(222,23,23,0.15) !important;
}

/* ---- MOBILE ---- */
@media(max-width:768px){
  .hero-pill { display:none; }
  .about-badge { right:10px; bottom:20px; }
  .stat-counter-item::after { display:none; }
  .geo-shapes-wrap { display:none; }
}

/* ---- STATS ROW BELOW CTA BUTTON ---- */
.hero3d-stats-below {
    margin-top: 28px !important;
    margin-bottom: 0 !important;
    animation: fadeUpIn 0.8s 1.5s ease forwards !important;
    opacity: 0;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Re-animate on active slide for below stats */
.slider.home7 .swiper-slide-active .hero3d-stats-below {
    animation: fadeUpIn 0.8s 1.5s ease forwards !important;
}
.slider.home7 .swiper-slide:not(.swiper-slide-active) .hero3d-stats-below {
    opacity: 0 !important;
    animation: none !important;
}

/* Make the stat numbers slightly smaller for the row below button */
.hero3d-stats-below .stat-num {
    font-size: 20px !important;
}
.hero3d-stats-below .stat-label {
    font-size: 9px !important;
    letter-spacing: 1.8px !important;
}
.hero3d-stats-below {
    padding: 14px 24px !important;
    border-radius: 12px !important;
}

/* Remove the counter section styles since we deleted it */
.stat-bar-section { display: none; }

/* Center the CTA button so stats below it are truly centered */
.hero3d-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}
.hero3d-title {
    text-align: center !important;
    align-items: center !important;
}
.hero3d-btn {
    align-self: center !important;
}
