/* =============================================
   REAL ESTATE AGENCY - UPGRADES CSS
   Modern features, animations, admin styles
   ============================================= */

/* ----- Scroll Reveal Animations ----- */
.reveal {
  opacity: ;
  transform: translateY(40px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY();
}
.reveal-left {
  opacity: ;
  transform: translateX(-60px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX();
}
.reveal-right {
  opacity: ;
  transform: translateX(60px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX();
}
.reveal-scale {
  opacity: ;
  transform: scale(.85);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* ----- WhatsApp Floating Button ----- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  box-shadow:  4px 15px rgba(37, 211, 102, .4);
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  color: #fff;
  box-shadow:  6px 20px rgba(37, 211, 102, .6);
}
.whatsapp-float .tooltip-text {
  position: absolute;
  right: 65px;
  background: #333;
  color: #fff;
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: ;
  pointer-events: none;
  transition: opacity .3s ease;
}
.whatsapp-float:hover .tooltip-text {
  opacity: 1;
}

/* ----- Back to Top Button ----- */
.back-to-top {
  position: fixed;
  bottom: 25px;
  right: 20px;
  z-index: 999;
  width: 44px;
  height: 44px;
  background: #f35525;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  opacity: ;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .3s ease;
  border: none;
  box-shadow:  4px 12px rgba(243, 85, 37, .3);
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY();
}
.back-to-top:hover {
  background: #d9441a;
  color: #fff;
  transform: translateY(-3px);
}

/* ----- Hero Search Bar ----- */
.hero-search {
  background: rgba(255, 255, 255, .95);
  border-radius: 50px;
  padding: 8px;
  max-width: 700px;
  margin: 30px auto ;
  box-shadow:  10px 40px rgba(, , , .15);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.hero-search input,
.hero-search select {
  border: none;
  background: transparent;
  padding: 12px 20px;
  font-size: 14px;
  color: #333;
  flex: 1;
  min-width: 140px;
  outline: none;
}
.hero-search select {
  cursor: pointer;
  border-left: 1px solid #eee;
}
.hero-search button {
  background: #f35525;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background .3s ease;
  white-space: nowrap;
}
.hero-search button:hover {
  background: #d9441a;
}

/* ----- Featured Agents Section ----- */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}
.agent-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow:  5px 25px rgba(, , , .08);
  transition: all .3s ease;
  text-align: center;
}
.agent-card:hover {
  transform: translateY(-8px);
  box-shadow:  15px 40px rgba(, , , .12);
}
.agent-card .agent-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 30px auto 15px;
  border: 4px solid #f35525;
}
.agent-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 5px;
}
.agent-card .role {
  color: #f35525;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 10px;
}
.agent-card .agent-contact {
  padding: 15px 20px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.agent-card .agent-contact a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: all .3s;
}
.agent-card .agent-contact a:hover {
  transform: scale(1.15);
}
.agent-card .agent-contact .phone-link { background: #25d366; }
.agent-card .agent-contact .email-link { background: #0071f8; }
.agent-card .agent-contact .profile-link { background: #1e1e1e; }

/* ----- Testimonials ----- */
.testimonials-section {
  background: #fafafa;
  padding: 100px ;
}
.testimonial-card {
  background: #fff;
  border-radius: 15px;
  padding: 35px 30px;
  box-shadow:  5px 25px rgba(, , , .06);
  margin: 15px;
  text-align: center;
  transition: all .3s ease;
}
.testimonial-card:hover {
  box-shadow:  10px 35px rgba(, , , .1);
  transform: translateY(-5px);
}
.testimonial-card .stars {
  color: #ffc107;
  font-size: 16px;
  margin-bottom: 15px;
}
.testimonial-card p {
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  font-style: italic;
  margin-bottom: 20px;
}
.testimonial-card .client {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.testimonial-card .client img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-card .client h5 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}
.testimonial-card .client span {
  font-size: 12px;
  color: #aaa;
}

/* ----- Property Card Modern ----- */
.property-card-modern {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  background: #fff;
  box-shadow:  5px 20px rgba(, , , .06);
  transition: all .4s ease;
  margin-bottom: 30px;
}
.property-card-modern:hover {
  transform: translateY(-8px);
  box-shadow:  15px 40px rgba(, , , .12);
}
.property-card-modern .prop-img {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.property-card-modern .prop-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.property-card-modern:hover .prop-img img {
  transform: scale(1.08);
}
.property-card-modern .prop-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #f35525;
  color: #fff;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
}
.property-card-modern .prop-badge.sale {
  background: #0071f8;
}
.property-card-modern .prop-price {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(, , , .7);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 16px;
  font-weight: 700;
  z-index: 2;
}
.property-card-modern .prop-body {
  padding: 20px;
}
.property-card-modern .prop-body h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.property-card-modern .prop-body h4 a {
  color: #1e1e1e;
  transition: color .3s;
}
.property-card-modern .prop-body h4 a:hover {
  color: #f35525;
}
.property-card-modern .prop-body .prop-location {
  font-size: 13px;
  color: #888;
  margin-bottom: 12px;
}
.property-card-modern .prop-body .prop-location i {
  color: #f35525;
  margin-right: 5px;
}
.property-card-modern .prop-features {
  display: flex;
  justify-content: space-between;
  padding-top: 15px;
  border-top: 1px solid #eee;
}
.property-card-modern .prop-features span {
  font-size: 12px;
  color: #888;
  display: flex;
  align-items: center;
  gap: 5px;
}
.property-card-modern .prop-features span i {
  color: #f35525;
  font-size: 14px;
}

/* ----- Newsletter ----- */
.newsletter-section {
  background: linear-gradient(135deg, #1e1e1e %, #2d2d2d 100%);
  padding: 80px ;
  text-align: center;
}
.newsletter-section h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 15px;
}
.newsletter-section p {
  color: #aaa;
  margin-bottom: 30px;
}
.newsletter-form {
  max-width: 500px;
  margin:  auto;
  display: flex;
  gap: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border-radius: 50px;
  border: none;
  outline: none;
  font-size: 14px;
}
.newsletter-form button {
  padding: 15px 35px;
  background: #f35525;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: background .3s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: #d9441a;
}

/* ----- Stats Counter (enhanced) ----- */
.stat-item {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: 15px;
  box-shadow:  5px 20px rgba(, , , .05);
  transition: all .3s ease;
}
.stat-item:hover {
  transform: translateY(-5px);
  box-shadow:  10px 30px rgba(, , , .1);
}
.stat-item .stat-icon {
  font-size: 40px;
  color: #f35525;
  margin-bottom: 15px;
}
.stat-item h3 {
  font-size: 36px;
  font-weight: 800;
  color: #1e1e1e;
  margin-bottom: 5px;
}
.stat-item p {
  font-size: 14px;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ----- Page Loader (enhanced) ----- */
.js-preloader {
  position: fixed;
  top: ;
  left: ;
  right: ;
  bottom: ;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity .5s ease, visibility .5s ease;
}
.js-preloader.loaded {
  opacity: ;
  visibility: hidden;
  pointer-events: none;
}
.loader-house {
  width: 60px;
  height: 60px;
  position: relative;
  animation: houseBounce 1.2s ease-in-out infinite;
}
.loader-house i {
  font-size: 50px;
  color: #f35525;
}
@keyframes houseBounce {
  %, 100% { transform: translateY(); }
  50% { transform: translateY(-15px); }
}

/* ----- Responsive Updates ----- */
@media (max-width: 768px) {
  .hero-search {
    flex-direction: column;
    border-radius: 20px;
  }
  .hero-search select {
    border-left: none;
    border-top: 1px solid #eee;
    width: 100%;
  }
  .hero-search button {
    width: 100%;
    border-radius: 50px;
    margin-top: 5px;
  }
  .newsletter-form {
    flex-direction: column;
    padding:  20px;
  }
  .newsletter-form button {
    width: 100%;
  }
  .stat-item {
    margin-bottom: 20px;
  }
  .agents-grid {
    grid-template-columns: 1fr;
  }
}
