/* ================================
   GLOBAL
================================ */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

body {
  margin: 0;
  font-family: Poppins;
  background: #f8fafc;
}

section {
  padding: 80px 0;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}


/* ================================
   NAVBAR
================================ */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(15,23,42,0.7);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 15px 0;
  z-index: 1000;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar a {
  color: #fff;
  margin-left: 20px;
  text-decoration: none;
}


/* ================================
   HERO
================================ */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),url('/assets/images/hero.jpg') center/cover;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 55px;
}

.btn-main {
  background: #c8a96a;
  padding: 12px 25px;
  color: #000;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid #fff;
  padding: 12px 25px;
  color: #fff;
}


/* ================================
   SERVICES
================================ */
.section-title {
  text-align: center;
  font-size: 32px;
  margin-bottom: 40px;
}

.services-pro-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2x2 GRID */
  gap: 30px;
}

.service-pro-card {
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

/* HOVER */
.service-pro-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.1);
}
/* ENTRY ANIMATION */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* STAGGER EFFECT */
.services-pro-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.services-pro-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ICON ANIMATION */
.service-pro-card .icon {
  width: 60px;
  height: 60px;
  margin: auto;
  margin-bottom: 15px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.4s;
}

.service-pro-card svg {
  width: 28px;
  height: 28px;
  fill: #c8a96a;
}

/* ICON ANIMATION */
.service-pro-card:hover .icon {
  background: #c8a96a;
}

.service-pro-card:hover svg {
  fill: #fff;
  transform: scale(1.1);
}

/* ================================
   AGENTS GRID
================================ */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
}


/* ================================
   AGENT CARD
================================ */
.agent-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  z-index: 1;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.agent-card:hover {
  transform: translateY(-10px);
}


/* ANIMATED BORDER */
.agent-card::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  background: linear-gradient(270deg, #c8a96a, #ffffff, #c8a96a);
  background-size: 400% 400%;
  animation: borderFlow 6s linear infinite;
  z-index: -1;
}

@keyframes borderFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}


/* GLOW SWIPE */
.agent-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
}

.agent-card:hover::after {
  left: 100%;
}


/* IMAGE */
.agent-img {
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 15px;
}

.agent-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.agent-card:hover img {
  transform: scale(1.08);
}


/* CONTENT */
.agent-content {
  padding: 15px;
  text-align: center;
}

.agent-content p {
  color: #777;
  font-size: 14px;
}


/* ================================
   AGENT BUTTONS (FINAL SYSTEM)
================================ */
.agent-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.agent-buttons .btn {
  padding: 10px;
  border-radius: 30px;
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}


/* BUTTON COLORS */
.btn.call {
  background: #0f172a;
  color: #fff;
}

.btn.whatsapp {
  background: #25D366;
  color: #fff;
}

.btn.email {
  background: #1e293b;
  color: #fff;
}

.btn.property {
  background: #c8a96a;
  color: #000;
}


/* BUTTON HOVER */
.agent-buttons .btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}


/* BUTTON SHINE */
.agent-buttons .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.5), transparent);
  transition: 0.5s;
}

.agent-buttons .btn:hover::before {
  left: 100%;
}


/* ================================
   TESTIMONIAL
================================ */

.testimonials {
  background: #0f172a;
  color: #fff;
  padding: 100px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 25px;
  margin-top: 40px;
}

.testimonial-card {
  background: #1e293b;
  padding: 25px;
  border-radius: 15px;
  transition: 0.3s;
  position: relative;
}

/* QUOTE STYLE */
.testimonial-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #ddd;
}

.testimonial-card h4 {
  margin-top: 15px;
  font-size: 13px;
  color: #c8a96a;
}

/* HOVER */
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* MOBILE */
@media (max-width: 768px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* ================================
   FOOTER
================================ */
.footer {
  background: #020617;
  color: #ccc;
  text-align: center;
  padding: 50px 20px;
}

.footer h3 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-contact {
  margin: 15px 0;
  font-size: 14px;
}

.footer-contact p {
  margin: 5px 0;
}


/* ================================
   RESPONSIVE
================================ */
@media (max-width: 992px) {
  .agents-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 768px) {
    
    .agent-card {
  height: auto;
}

.agent-img {
  aspect-ratio: 4/5;
}

  .agents-grid {
    grid-template-columns: 1fr;
  }

  .services-pro-grid {
    grid-template-columns: 1fr;
  }

  .agent-buttons {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 32px;
  }
}

/* ================================
   CONTACT SECTION
================================ */

.contact-section {
  padding: 100px 0;
  background: #f8fafc;
}

.contact-box {
  max-width: 600px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 14px;
  outline: none;
}

.contact-form textarea {
  height: 120px;
}

/* BUTTON */
.contact-form button {
  background: #c8a96a;
  border: none;
  padding: 12px;
  border-radius: 30px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form button:hover {
  transform: scale(1.05);
}

/* MESSAGES */
.success {
  color: green;
}

.error {
  color: red;
}

/* ================================
   CTA LUXURY
================================ */

.cta {
  text-align: center;
  background: linear-gradient(135deg, #c8a96a, #e5d3a3);
  padding: 80px 20px;
}

.cta h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.cta p {
  color: #333;
  margin-bottom: 20px;
}

/* ================================
   WHATSAPP FLOAT FIX
================================ */

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  text-decoration: none;
  z-index: 9999;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  transition: 0.3s;
}

/* Hover */
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* ================================
   FEATURED AGENT
================================ */

.featured-agent {
  background: #0f172a;
  color: #fff;
  padding: 80px 0;
}

.featured-box {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #1e293b;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.featured-img {
  width: 250px;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 15px;
}

.featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-content h3 {
  font-size: 26px;
  margin-bottom: 10px;
}

/* FEATURED SLIDER STYLES */
.featured-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.featured-slide {
  min-width: 300px;
  background: #1e293b;
  padding: 20px;
  border-radius: 15px;
  scroll-snap-align: start;
}

.featured-content .badge {
  background: #c8a96a;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 12px;
  display: inline-block;
  color: #000;
  font-weight: 600;
}

/* ================================
   FEATURED AGENTS SLIDER
================================ */
.featured-agents {
  background: linear-gradient(135deg, #0f172a, #1a2635);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.featured-agents .section-title {
  color: #fff;
  margin-bottom: 40px;
  font-size: 28px;
}

@media (max-width: 768px) {
  .featured-agents .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

.featured-slider-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .featured-slider-container {
    padding: 0 20px;
  }
}

.featured-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 20px 10px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.featured-slider::-webkit-scrollbar {
  display: none;
}

.featured-slide {
  min-width: calc(33.333% - 30px);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

/* Mobile - keep same styling just different width */
@media (max-width: 992px) {
  .featured-slide {
    min-width: calc(50% - 30px);
  }
}

@media (max-width: 768px) {
  .featured-slide {
    min-width: calc(100% - 40px);
    scroll-snap-align: center;
  }
}

@media (max-width: 480px) {
  .featured-slide {
    min-width: 100%;
    scroll-snap-align: center;
  }
}

.featured-slide-inner {
  background: #1e293b;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(200, 169, 106, 0.3);
}

/* Mobile hover effect - use same styling */
@media (max-width: 768px) {
  .featured-slide-inner:active {
    transform: scale(0.98);
  }
}

.featured-slide-inner:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 60px rgba(200, 169, 106, 0.2);
  border-color: #c8a96a;
}

.featured-slide .featured-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

/* Mobile image height */
@media (max-width: 768px) {
  .featured-slide .featured-img {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .featured-slide .featured-img {
    height: 220px;
  }
}

.featured-slide .featured-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, #1e293b, transparent);
  z-index: 1;
}

.featured-slide .featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.featured-slide-inner:hover .featured-img img {
  transform: scale(1.1);
}

/* Mobile image zoom on touch */
@media (max-width: 768px) {
  .featured-slide-inner:active .featured-img img {
    transform: scale(1.05);
  }
}

.featured-slide .featured-content {
  padding: 25px 20px 25px;
  text-align: center;
  position: relative;
  background: #1e293b;
  z-index: 2;
}

.featured-slide .badge {
  display: inline-block;
  background: #c8a96a;
  color: #000;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  box-shadow: 0 5px 15px rgba(200, 169, 106, 0.3);
  position: relative;
  top: -45px;
  margin-bottom: -25px;
  text-transform: uppercase;
}

/* Mobile badge */
@media (max-width: 768px) {
  .featured-slide .badge {
    font-size: 12px;
    padding: 6px 16px;
    top: -40px;
    margin-bottom: -20px;
  }
}

.featured-slide h3 {
  font-size: 24px;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 600;
}

/* Mobile heading */
@media (max-width: 768px) {
  .featured-slide h3 {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .featured-slide h3 {
    font-size: 20px;
  }
}

.featured-slide p {
  color: #c8a96a;
  font-size: 15px;
  margin-bottom: 15px;
  opacity: 0.9;
  font-weight: 500;
}

/* Mobile text */
@media (max-width: 768px) {
  .featured-slide p {
    font-size: 14px;
  }
}

.featured-contact {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 20px 0;
}

/* Mobile contact icons */
@media (max-width: 768px) {
  .featured-contact {
    gap: 12px;
    margin: 15px 0;
  }
}

.contact-icon {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  transition: all 0.3s ease;
  border: 1px solid rgba(200, 169, 106, 0.3);
}

/* Mobile contact icon size */
@media (max-width: 768px) {
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
}

.contact-icon:hover {
  background: #c8a96a;
  transform: translateY(-3px);
  color: #000;
  border-color: #c8a96a;
  box-shadow: 0 5px 15px rgba(200, 169, 106, 0.4);
}

/* Mobile touch effect */
@media (max-width: 768px) {
  .contact-icon:active {
    background: #c8a96a;
    transform: scale(0.95);
    color: #000;
  }
}

.btn-small {
  display: inline-block;
  background: transparent;
  color: #c8a96a;
  text-decoration: none;
  padding: 10px 25px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #c8a96a;
  transition: all 0.3s ease;
  margin-top: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile button */
@media (max-width: 768px) {
  .btn-small {
    padding: 8px 20px;
    font-size: 13px;
    margin-top: 5px;
  }
}

.btn-small:hover {
  background: #c8a96a;
  color: #000;
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(200, 169, 106, 0.3);
}

/* Mobile button touch */
@media (max-width: 768px) {
  .btn-small:active {
    background: #c8a96a;
    color: #000;
    transform: scale(0.95);
  }
}

/* Slider Navigation - same for mobile/desktop */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: #c8a96a;
  color: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 2px solid transparent;
}

.slider-nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  border-color: #c8a96a;
}

.slider-nav.prev {
  left: 0;
}

.slider-nav.next {
  right: 0;
}

/* Hide navigation on very small screens - use swipe instead */
@media (max-width: 480px) {
  .slider-nav {
    display: none;
  }
}

/* Slider Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .slider-dots {
    margin-top: 20px;
  }
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.dot:hover {
  background: rgba(200, 169, 106, 0.5);
  transform: scale(1.2);
}

.dot.active {
  background: #c8a96a;
  transform: scale(1.2);
  width: 25px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(200, 169, 106, 0.5);
}

/* Mobile dots */
@media (max-width: 768px) {
  .dot {
    width: 10px;
    height: 10px;
  }
  
  .dot.active {
    width: 20px;
  }
}

/* Touch feedback for mobile */
@media (max-width: 768px) {
  .featured-slide-inner {
    cursor: pointer;
  }
  
  .featured-slide-inner:active {
    opacity: 0.9;
  }
}

/* Ensure smooth scrolling on mobile */
@media (max-width: 768px) {
  .featured-slider {
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    gap: 15px;
  }
}

/* Loading animation for images */
.featured-slide .featured-img img {
  opacity: 0;
  animation: imageLoad 0.5s ease forwards;
}

@keyframes imageLoad {
  from {
    opacity: 0;
    transform: scale(1.1);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Gradient overlay - same for mobile */
.featured-slide .featured-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, #1e293b, transparent);
  z-index: 1;
}

/* Ensure text is always readable */
.featured-slide .featured-content {
  position: relative;
  z-index: 2;
  background: #1e293b;
}
/* ================================
   AGENT BADGE
================================ */

.agent-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #c8a96a;
  color: #000;
  padding: 6px 12px;
  font-size: 11px;
  border-radius: 20px;
  font-weight: 600;
  z-index: 10;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* MOBILE FIXES FOR FEATURED AGENT */
@media (max-width: 768px) {

  .featured-box,
  .featured-slide {
    flex-direction: column;
    text-align: center;
  }

  .featured-img {
    width: 100%;
    max-width: 250px;
    margin: auto;
  }
  
  .featured-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth; /* IMPORTANT */
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

/* Hide ugly scrollbar */
.featured-slider::-webkit-scrollbar {
  display: none;
}

.featured-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.featured-slide {
  min-width: 320px;
  flex: 0 0 auto;
  background: #1e293b;
  padding: 20px;
  border-radius: 15px;
  scroll-snap-align: start;
  transition: 0.3s;
}

.featured-slide:hover {
  transform: scale(1.03);
}