/*
Theme Name: DCDH Estate Theme
Theme URI: https://dcdhestate.com
Author: DCDH ESTATE
Description: A beautiful and modern real estate theme for DCDH ESTATE - India's trusted property partner
Version: 7.7.1
Text Domain: dcdh-estate
*/

/* ===== CSS RESET & GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #e63946;
  --secondary-color: #60a5fa;
  --dark-color: #f9fafb;
  --darker-color: #f3f4f6;
  --light-color: #ffffff;
  --white: #ffffff;
  /* Text colors optimized for bright backgrounds */
  --text-dark: #111827;   /* Deep modern neutral for headings */
  --text-medium: #374151; /* Dark gray for body text */
  --text-light: #6b7280;  /* Medium gray for secondary text */
  --text-muted: #9ca3af;  /* Muted gray for tertiary text */
  --success-color: #10b981;
  --gold-accent: #f59e0b;
  --border-radius: 14px;
  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);

  /* Enhanced gradient system - Bright theme */
  --brand-start: #e63946;  /* soft red */
  --brand-end: #d62839;    /* deeper red */
  --accent-start: #14b8a6; /* teal */
  --accent-end: #06b6d4;   /* cyan */
  --gradient-primary: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%);
  --gradient-accent: linear-gradient(135deg, var(--accent-start) 0%, var(--accent-end) 100%);
  --gradient-hero: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  --surface-1: rgba(0,0,0,0.02);
  --surface-2: rgba(0,0,0,0.04);
  --surface-3: rgba(0,0,0,0.06);
  --border-subtle: 1px solid rgba(0,0,0,0.1);
}

body {
  margin: 0;
  /* Clean modern font stack */
  font-family: 'Inter', 'Poppins', 'DM Sans', 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Ubuntu, Cantarell, 'Helvetica Neue', Arial,
               'Nirmala UI', Mangal,
               'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
  background: linear-gradient(180deg, #fafbfc 0%, #f7f8fb 100%);
  background-attachment: fixed;
  color: var(--text-medium);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  scroll-behavior: auto;
}

/* Utility stacks so emoji and Indic scripts always render correctly */
:root {
  --emoji-fonts: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', 'Segoe UI Symbol', 'Segoe UI', sans-serif;
  --devanagari-fonts: 'Nirmala UI', Mangal, 'Segoe UI', sans-serif;
}

/* Ensure all visual icon spans render color emoji instead of ?? */
.emoji,
.btn-icon,
.service-emoji,
.badge-icon,
.badge-icon-hover,
.location-icon,
.feature-icon,
.label-icon,
.chip-icon,
.review-icon,
.avatar-icon,
.banner-icon,
.contact-icon,
.empty-state-icon,
.counter-icon,
.tagline-emoji,
.input-icon,
.link-icon,
.social-icon,
.story-icon,
.mission-icon {
  font-family: var(--emoji-fonts);
  font-variant-emoji: emoji;
  line-height: 1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lazy loading optimization */
img[loading="lazy"] {
  /* Ensure lazy images are visible by default; fade-ins can be handled via JS adding .loaded if desired */
  opacity: 1;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([loading]) {
  opacity: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  position: relative;
}

a:not(.btn):not(.whatsapp-float):not(.logo a):hover {
  background: linear-gradient(90deg, #FF9933 0%, #FFFFFF 50%, #138808 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

ul {
  list-style: none;
}

/* Remove default fieldset and legend borders */
fieldset {
  border: none;
  padding: 0;
  margin: 0;
}

legend {
  border: none;
  padding: 0;
  margin: 0;
  width: 100%;
  display: block;
  color: #1f2937; 
  font-weight: 600; 
  font-size: 0.9rem;
  margin-bottom: 10px; 
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: #1f2937;
}

/* Enhanced legend styling in search sections for modern look */
.search-section legend,
.property-search-results-section legend {
  background: linear-gradient(90deg, rgba(230, 57, 70, 0.2), rgba(230, 57, 70, 0.05));
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-flex;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== MODERN HEADER & NAVIGATION ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.95) 100%);
  backdrop-filter: blur(20px) saturate(150%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background, box-shadow;
}

/* Transparent Header - Homepage Hero Only */
.site-header.transparent-header {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  backdrop-filter: blur(5px);
  box-shadow: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Scrolled State - Compact & Solid */
.site-header.scrolled {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.98) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0,0,0,0.1);
  transform: translateY(0);
}

.site-header.scrolled .nav-container {
  padding: 10px 0;
}

.navbar {
  padding: 0 30px;
  display: flex;
  align-items: center;
  gap: 12px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.nav-container {
  flex: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  column-gap: 20px;
  align-items: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  padding: 20px 0;
}

.nav-container::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  transition: width 0.5s ease;
}

.site-header.scrolled .nav-container::before {
  width: 90%;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--secondary-color);
  white-space: nowrap;
  justify-self: start;
}

.logo-container {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoFloat 3s ease-in-out infinite;
  transition: all 0.5s ease;
}

.site-header.scrolled .logo-container {
  width: 44px;
  height: 44px;
}

.logo-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(106, 17, 203, 0.4) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowPulse 2s ease-in-out infinite;
  z-index: 0;
}

.logo-image {
  width: 52px;
  height: 52px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 12px rgba(106, 17, 203, 0.4));
  transition: all 0.5s ease;
}

.site-header.scrolled .logo-image {
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 2px 8px rgba(106, 17, 203, 0.5));
}

.logo a:hover .logo-image {
  transform: scale(1.12) rotate(5deg);
  filter: drop-shadow(0 8px 20px rgba(106, 17, 203, 0.6));
}

.logo-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.logo-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--gold-accent);
  animation: particleOrbit 4s linear infinite;
}

.logo-particles span:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.logo-particles span:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 1s;
}

.logo-particles span:nth-child(3) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 2s;
}

.logo-particles span:nth-child(4) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 3s;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes glowPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0.8;
  }
}

@keyframes particleOrbit {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.5);
  }
}

.logo-icon {
  font-size: 2rem;
}

.logo-text {
  background: linear-gradient(135deg, #e63946 0%, #d62839 50%, #b71c1c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 1.45rem;
  transition: all 0.5s ease;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  position: relative;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.18));
}

.site-header.scrolled .logo-text {
  font-size: 1.3rem;
  letter-spacing: -0.3px;
}


/* DCDH Featured Property Badge - Nov 3, 2025 */

.dcdh-featured-badge {
  display: inline-block;
  background: linear-gradient(135deg, #FFD700 0%, #FFC700 100%);
  color: #333;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
  margin-bottom: 12px;
  position: relative;
  animation: badge-pulse 2s infinite;
}

.dcdh-featured-badge::before {
  content: '\2605\00a0'; /* Unicode star + space */
  margin-right: 4px;
}

@keyframes badge-pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.6);
  }
}

/* On mobile: smaller badge */
@media (max-width: 768px) {
  .dcdh-featured-badge {
    padding: 5px 12px;
    font-size: 11px;
  }
}


.logo a:hover .logo-text {
  letter-spacing: 1px;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.6));
}

.logo-icon i {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-self: center;
  justify-content: center;
}

.nav-menu li {
  list-style: none;
  position: relative;
}

/* CTA: Post Property Free */
.cta-nav-item {
  margin-left: 8px;
  justify-self: end;
}

/* Responsive header spacing to prevent crowding */
@media (max-width: 1280px) {
  .nav-menu li a {
    padding: 10px 18px;
  }
  .btn-post-free {
    padding: 9px 16px;
  }
}

.btn-post-free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffffff;
  background: linear-gradient(135deg, #ff3b4a 0%, #e63946 40%, #d62839 70%, #b71c1c 100%);
  border: 1px solid rgba(183, 28, 28, 0.6);
  box-shadow: 0 10px 22px rgba(230, 57, 70, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-post-free .btn-shine {
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.0) 100%);
  transform: skewX(-20deg);
  animation: shineSweep 2.2s ease-in-out infinite;
}

@keyframes shineSweep {
  0% { left: -70%; }
  60% { left: 130%; }
  100% { left: 130%; }
}

.btn-post-free:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(230, 57, 70, 0.45), inset 0 1px 0 rgba(255,255,255,0.25);
}

.btn-post-free:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(183, 28, 28, 0.45);
}

.btn-post-free i { color: #ffffff; }

.nav-menu li a {
  color: #1f2937;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 16px;
  border-radius: 14px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  position: relative;
  letter-spacing: 0.4px;
  text-transform: capitalize;
  overflow: hidden;
  border: 1px solid transparent;
  white-space: nowrap;
}

.nav-menu li a::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--gold-accent) 0%, var(--secondary-color) 50%, var(--gold-accent) 100%);
  border-radius: 2px;
  transition: width 0.4s ease;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.nav-menu li a:hover::before {
  width: 80%;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.6), 0 2px 8px rgba(255, 165, 0, 0.4);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #e63946 0%, #d62839 50%, #b71c1c 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  border-radius: 14px;
  z-index: 0;
}

.nav-menu li a:hover::after {
  opacity: 1;
}

.nav-menu li a:hover {
  color: #ffffff !important;
  border-color: rgba(230, 57, 70, 0.3);
  position: relative;
  z-index: 1;
  transform: translateY(-2px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  font-weight: 700;
}

/* Stronger specificity to guarantee white text on red hover */
.site-header .nav-menu li a:hover { color: #ffffff !important; }
.site-header .nav-menu li.active a,
.site-header .nav-menu li.current-menu-item a,
.site-header .nav-menu li.current_page_item a { color: #ffffff !important; }

.nav-menu li.active a,
.nav-menu li.current-menu-item a,
.nav-menu li.current_page_item a {
  background: linear-gradient(135deg, #e63946 0%, #d62839 50%, #b71c1c 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12),
              0 2px 10px rgba(0, 0, 0, 0.16),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(183, 28, 28, 0.6);
}

.nav-menu li.active a::before,
.nav-menu li.current-menu-item a::before,
.nav-menu li.current_page_item a::before {
  width: 88%;
  background: linear-gradient(90deg, #FFD700 0%, #FFA500 50%, #FFD700 100%);
  height: 3px;
  bottom: 4px;
  animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
  0%, 100% {
    opacity: 0.8;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
  }
  50% {
    opacity: 1;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
  }
}

.nav-menu li.active a::after,
.nav-menu li.current-menu-item a::after,
.nav-menu li.current_page_item a::after {
  opacity: 0;
}

.nav-toggle {
  display: none !important;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.25), rgba(183, 28, 28, 0.35));
  border: 2px solid rgba(183, 28, 28, 0.6);
  border-radius: 12px;
  cursor: pointer;
  padding: 11px;
  backdrop-filter: blur(15px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12),
              inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
}

.nav-toggle::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-toggle:hover {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.4), rgba(183, 28, 28, 0.5));
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: scale(1.08);
  border-color: rgba(255, 215, 0, 0.5);
}

.nav-toggle:hover::before {
  opacity: 1;
}

.nav-toggle span {
  width: 28px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--gold-accent) 100%);
  border-radius: 4px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 10px rgba(230, 57, 70, 0.2);
  position: relative;
}

.nav-toggle span::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gold-accent), #FFD700);
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}

.nav-toggle.active span {
  background: linear-gradient(90deg, var(--gold-accent) 0%, #FFD700 100%);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.4);
}

.nav-toggle:hover span {
  background: linear-gradient(90deg, var(--gold-accent) 0%, var(--secondary-color) 100%);
  box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4), 0 0 12px rgba(230, 57, 70, 0.3);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 50%, #f9fafb 100%);
  text-align: center;
  color: var(--text-dark);
  padding: 120px 20px 80px;
  overflow: hidden;
}


/* Animated Background */
.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.05);
  border: none;
  animation: float 20s ease-in-out infinite;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 25s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: 15%;
  animation-delay: 3s;
  animation-duration: 20s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 20%;
  animation-delay: 1.5s;
  animation-duration: 22s;
}

.shape-4 {
  width: 250px;
  height: 250px;
  top: 30%;
  right: 10%;
  animation-delay: 4s;
  animation-duration: 28s;
}

.shape-5 {
  width: 180px;
  height: 180px;
  bottom: 10%;
  right: 30%;
  animation-delay: 2s;
  animation-duration: 24s;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.08;
  animation: orbFloat 15s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, transparent 70%);
  top: -10%;
  left: -5%;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.2) 0%, transparent 70%);
  bottom: -15%;
  right: -10%;
  animation-delay: 5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
  top: 40%;
  right: 20%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(50px, -50px) rotate(90deg);
  }
  50% {
    transform: translate(0, -100px) rotate(180deg);
  }
  75% {
    transform: translate(-50px, -50px) rotate(270deg);
  }
}

@keyframes orbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(100px, -100px) scale(1.2);
  }
  66% {
    transform: translate(-100px, 100px) scale(0.8);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  animation: fadeInUp 1.2s ease;
}

.hero-features {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
  animation: fadeInUp 1.4s ease;
}

.feature-badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(243, 244, 246, 0.9) 100%);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid rgba(59, 130, 246, 0.15);
  color: #111827;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.15), transparent);
  transition: left 0.6s ease;
}

.feature-badge:hover::before {
  left: 100%;
}

.feature-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 2px;
  background: linear-gradient(135deg, #e63946, #d62839, #b71c1c);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-badge:hover::after {
  opacity: 1;
}

.feature-badge i {
  font-size: 1.5rem;
  color: #e63946;
  transition: all 0.3s ease;
  animation: iconFloat 3s ease-in-out infinite;
}

.feature-badge:hover i {
  transform: scale(1.3) rotate(360deg);
  color: #b71c1c;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.feature-badge:nth-child(1) i {
  animation-delay: 0s;
}

.feature-badge:nth-child(2) i {
  animation-delay: 1s;
}

.feature-badge:nth-child(3) i {
  animation-delay: 2s;
}

@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.badge-text {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.feature-badge:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 15px 35px rgba(255, 215, 0, 0.4);
  background: linear-gradient(135deg, rgba(255, 153, 51, 0.3) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(19, 136, 8, 0.3) 100%);
}

.feature-badge:hover .badge-text {
  color: var(--gold-accent);
  transform: scale(1.1);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.feature-badge:active {
  transform: translateY(-5px) scale(1.02);
}

/* Badge Subtitle - Common */
.badge-subtitle {
  font-size: 0.75rem;
  color: #374151;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.5px;
  margin-top: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
  transition: all 0.3s ease;
}

/* === NO BROKERAGE BADGE (Golden/Money Theme - Rounded Rectangle Shape) === */
.feature-badge-no-brokerage {
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 215, 0, 0.9) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  animation: none;
  padding: 12px 24px;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

/* Internal golden sweep shine confined within rounded rectangle */
.feature-badge-no-brokerage::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50% !important; /* override base .feature-badge::before on hover */
  width: 50%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.22) 35%,
    rgba(255, 240, 140, 0.35) 50%,
    rgba(255, 255, 255, 0.18) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  mix-blend-mode: screen;
  filter: blur(1px);
  z-index: 1;
  pointer-events: none;
  animation: goldenShineNB 2.8s linear infinite;
}

/* Ensure base hover rule doesn't hijack left position */
.feature-badge-no-brokerage:hover::before {
  left: -50% !important;
}

@keyframes goldenShineNB {
  0% { transform: translateX(-60%); opacity: 0.0; }
  10% { opacity: 0.15; }
  50% { transform: translateX(160%); opacity: 0.3; }
  90% { opacity: 0.15; }
  100% { transform: translateX(160%); opacity: 0.0; }
}

@keyframes noBrokeragePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}



.feature-badge-no-brokerage::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #FFD700, #FFA500, #FFD700);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderGlow 2s ease-in-out infinite;
  z-index: 0;
}

@keyframes borderGlow {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.feature-badge-no-brokerage:hover::after {
  opacity: 1 !important;
}

.feature-badge-no-brokerage i {
  color: #1a1a2e !important;
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: moneyHandFloat 3s ease-in-out infinite !important;
  position: relative;
  z-index: 2;
}

@keyframes moneyHandFloat {
  0%, 100% { 
    transform: translateY(0) rotate(0deg) scale(1); 
  }
  25% { 
    transform: translateY(-8px) rotate(-8deg) scale(1.05); 
  }
  50% { 
    transform: translateY(-3px) rotate(0deg) scale(1); 
  }
  75% { 
    transform: translateY(-8px) rotate(8deg) scale(1.05); 
  }
}

.feature-badge-no-brokerage:hover i {
  color: #0a0a0f !important;
  animation: moneyHandBounce 0.6s ease-in-out !important;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

@keyframes moneyHandBounce {
  0%, 100% { transform: scale(1.4) rotate(0deg); }
  25% { transform: scale(1.5) rotate(-15deg); }
  50% { transform: scale(1.4) rotate(0deg); }
  75% { transform: scale(1.5) rotate(15deg); }
}

.feature-badge-no-brokerage .badge-text {
  color: #000000 !important;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(255, 215, 0, 0.5),
               0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 1.5px;
  position: relative;
  z-index: 2;
}

.feature-badge-no-brokerage:hover .badge-text {
  color: #000000 !important;
  transform: scale(1.15);
  text-shadow: 0 2px 8px rgba(255, 215, 0, 0.7),
               0 0 20px rgba(255, 255, 255, 0.6);
}

.feature-badge-no-brokerage .badge-subtitle {
  color: rgba(0, 0, 0, 0.85);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(255, 215, 0, 0.4);
}

.feature-badge-no-brokerage:hover .badge-subtitle {
  color: #000000;
  opacity: 1;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.feature-badge-no-brokerage:hover {
  transform: translateY(-12px) scale(1.08) !important;
  box-shadow: 0 20px 50px rgba(255, 215, 0, 1),
              0 0 120px rgba(255, 215, 0, 1),
              0 0 180px rgba(255, 215, 0, 0.8),
              inset 0 2px 25px rgba(255, 255, 255, 0.8) !important;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%) !important;
  border-color: rgba(255, 240, 0, 1) !important;
  animation: none !important;
}

/* === VERIFIED PROPERTIES BADGE (Green/Trust Theme - Shield Shape) === */
.feature-badge-verified {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%) !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(16, 185, 129, 0.9) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  animation: none;
  padding: 12px 24px;
  border-radius: 16px;
  position: relative;
}

@keyframes verifiedPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.feature-badge-verified::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: greenShine 3s ease-in-out infinite;
  z-index: 1;
  will-change: transform;
}

@keyframes greenShine {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.feature-badge-verified::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #10B981, #059669, #10B981);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderGlow 2s ease-in-out infinite;
  z-index: 0;
}

.feature-badge-verified:hover::after {
  opacity: 1 !important;
}

.feature-badge-verified .badge-icon-container {
  position: relative;
  width: 1.8rem;
  height: 1.8rem;
  display: inline-block;
  top: -6px; /* nudge the icon further upward */
}

.feature-badge-verified .badge-icon-default,
.feature-badge-verified .badge-icon-hover {
  color: #FFD54A !important; /* golden accent for shield icon */
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
  display: inline-block;
  width: 100%;
  height: 100%;
}

.feature-badge-verified .badge-icon-default {
  animation: none !important; /* keep tick stable */
  opacity: 1;
  transform: scale(1); /* no rotation */
}

.feature-badge-verified .badge-icon-hover {
  opacity: 0;
  transform: scale(0.5); /* prep for grow on hover, no rotation */
}

.feature-badge-verified:hover .badge-icon-default {
  opacity: 0; /* hide base icon on hover */
  transform: scale(0.5); /* subtle shrink, no rotation */
}

.feature-badge-verified:hover .badge-icon-hover {
  opacity: 1; /* show hover icon */
  transform: scale(1.4); /* bigger tick on hover */
  animation: tickPulse 0.6s ease-in-out !important; /* restore previous grow pulse */
  filter: drop-shadow(0 4px 8px rgba(255, 213, 74, 0.6)); /* golden glow on hover */
  color: #FFD700 !important; /* slightly brighter gold on hover */
}

/* Prevent generic .feature-badge i float/rotation from affecting shield icons */
.feature-badge-verified .badge-icon-default i,
.feature-badge-verified .badge-icon-hover i {
  animation: none !important;
}

@keyframes certificateBounce {
  0%, 100% { 
    transform: rotate(0deg) scale(1); 
  }
  25% { 
    transform: rotate(-15deg) scale(1.1); 
  }
  50% { 
    transform: rotate(0deg) scale(1); 
  }
  75% { 
    transform: rotate(15deg) scale(1.1); 
  }
}

@keyframes tickPulse {
  0%, 100% { transform: scale(1.4); }
  50% { transform: scale(1.6); }
}

.feature-badge-verified .badge-text {
  color: #001a14 !important;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(16, 185, 129, 0.5),
               0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 1.5px;
  position: relative;
  z-index: 2;
}

.feature-badge-verified:hover .badge-text {
  color: #000000 !important;
  transform: scale(1.15);
  text-shadow: 0 2px 8px rgba(16, 185, 129, 0.7),
               0 0 20px rgba(255, 255, 255, 0.6);
}

.feature-badge-verified .badge-subtitle {
  color: rgba(0, 26, 20, 0.85);
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(16, 185, 129, 0.4);
}

.feature-badge-verified:hover .badge-subtitle {
  color: #000000;
  opacity: 1;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.feature-badge-verified:hover {
  transform: translateY(-12px) scale(1.08) !important;
  box-shadow: 0 15px 30px rgba(16, 185, 129, 0.4),
              inset 0 2px 20px rgba(255, 255, 255, 0.6) !important;
  background: linear-gradient(135deg, rgba(5, 230, 150, 1) 0%, rgba(5, 150, 105, 1) 100%) !important;
}

/* === EXPERT GUIDANCE BADGE (Blue/Professional Theme - Rounded Rectangle) === */
.feature-badge-expert {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.95) 0%, rgba(214, 40, 57, 0.95) 100%) !important;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(230, 57, 70, 0.8) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
  animation: none;
  padding: 12px 24px;
  border-radius: 16px;
  position: relative;
}

@keyframes expertPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.feature-badge-expert::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  animation: blueShine 3s ease-in-out infinite;
  z-index: 1;
  will-change: transform;
}

@keyframes blueShine {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.feature-badge-expert::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 3px;
  background: linear-gradient(135deg, #e63946, #d62839, #e63946);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: borderGlow 2s ease-in-out infinite;
  z-index: 0;
}

.feature-badge-expert:hover::after {
  opacity: 1 !important;
}

.feature-badge-expert i {
  color: #111827 !important;
  font-size: 1.8rem;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  animation: handshakeWave 3s ease-in-out infinite !important;
  position: relative;
  z-index: 2;
}

@keyframes handshakeWave {
  0%, 100% { 
    transform: translateX(0) rotate(0deg) scale(1); 
  }
  25% { 
    transform: translateX(-8px) rotate(-10deg) scale(1.05); 
  }
  50% { 
    transform: translateX(0) rotate(0deg) scale(1); 
  }
  75% { 
    transform: translateX(8px) rotate(10deg) scale(1.05); 
  }
}

.feature-badge-expert:hover i {
  color: #111827 !important;
  animation: handshakeVibrate 0.6s ease-in-out !important;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
}

@keyframes handshakeVibrate {
  0%, 100% { transform: scale(1.4) rotate(0deg); }
  10% { transform: scale(1.45) translateX(-5px) rotate(-5deg); }
  20% { transform: scale(1.4) translateX(5px) rotate(5deg); }
  30% { transform: scale(1.45) translateX(-5px) rotate(-5deg); }
  40% { transform: scale(1.4) translateX(5px) rotate(5deg); }
  50% { transform: scale(1.45) rotate(0deg); }
  60% { transform: scale(1.4) translateX(-3px) rotate(-3deg); }
  70% { transform: scale(1.45) translateX(3px) rotate(3deg); }
  80% { transform: scale(1.4) translateX(-3px) rotate(-3deg); }
  90% { transform: scale(1.45) translateX(3px) rotate(3deg); }
}

.feature-badge-expert .badge-text {
  color: #111827 !important;
  font-size: 1.1rem;
  font-weight: 700;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  letter-spacing: 1.5px;
  position: relative;
  z-index: 2;
}

.feature-badge-expert:hover .badge-text {
  color: #111827 !important;
  transform: scale(1.15);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feature-badge-expert .badge-subtitle {
  color: rgba(17, 24, 39, 0.9);
  position: relative;
  z-index: 2;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.feature-badge-expert:hover .badge-subtitle {
  color: #111827;
  opacity: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.feature-badge-expert:hover {
  transform: translateY(-12px) scale(1.08) !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.95) 0%, rgba(214, 40, 57, 0.95) 100%) !important;
}

/* Hero Taglines */
.hero-taglines {
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  animation: fadeInUp 1.6s ease;
}

.hero-tagline {
  font-size: 1.2rem;
  margin: 0;
  line-height: 1.6;
  text-align: center;
}

.hero-tagline-en {
  font-style: italic;
  font-weight: 500;
  color: #111827;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0.95;
}

.hero-tagline-hi {
  /* Devanagari (Hindi) friendly stack */
  font-family: var(--devanagari-fonts);
  font-weight: 600;
  font-size: 1.1rem;
  background: linear-gradient(135deg, #FF9933 0%, #FFD700 50%, #138808 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 1px;
  text-shadow: none;
  position: relative;
  padding: 8px 0;
}

.hero-tagline-hi::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-accent), transparent);
  animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
  0%, 100% {
    opacity: 0.3;
    transform: scaleX(0.6);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

.tagline-emoji {
  display: inline-block;
  font-size: 1.3rem;
  animation: emojiPulse 2s ease-in-out infinite;
  margin-left: 5px;
}

@keyframes emojiPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1.8s ease;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #e63946, #d62839);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #e63946, #d62839, #b71c1c) 1;
}

.btn-primary::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;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border-image: linear-gradient(90deg, #d62839, #b71c1c, #e63946) 1;
}

.btn-secondary {
  background: transparent;
  color: #111827;
  border: 2px solid #111827;
}

.btn-secondary:hover {
  background: #111827;
  color: #ffffff;
}

/* Animated Buttons */
.btn-animated {
  position: relative;
  overflow: hidden;
  padding: 18px 40px;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-animated .btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.btn-animated i {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.btn-animated:hover i {
  transform: scale(1.2) rotate(10deg);
  animation: iconBounce 0.6s ease infinite;
}

@keyframes iconBounce {
  0%, 100% {
    transform: scale(1.2) rotate(10deg) translateY(0);
  }
  50% {
    transform: scale(1.2) rotate(10deg) translateY(-5px);
  }
}

.btn-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transition: left 0.6s ease;
  z-index: 1;
}

.btn-animated:hover .btn-shine {
  left: 100%;
}

.btn-animated.btn-primary {
  background: linear-gradient(135deg, #e63946 0%, #d62839 50%, #e63946 100%);
  background-size: 200% 200%;
  animation: gradientShift 3s ease infinite;
  border: 2px solid rgba(230, 57, 70, 0.5);
}

.btn-animated.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border-color: #b71c1c;
}

.btn-animated.btn-secondary {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(111, 127, 142, 0.5);
}

.btn-animated.btn-secondary:hover {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.95) 0%, rgba(214, 40, 57, 1) 100%);
  color: #ffffff;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border-color: #b71c1c;
}

@keyframes gradientShift {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20%);
  }
}

.property-footer {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 15px;
}

.property-footer .property-price {
  order: 1;
}

.property-footer .btn-view {
  order: 2;
  display: block;
  text-align: center;
  width: 100%;
}

.btn-view {
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  text-decoration: none;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-view:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
}

/* ===== SECTIONS ===== */
section {
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #111827;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
  border-radius: 2px;
  animation: tricolorFlow 3s ease-in-out infinite;
}

/* Remove tricolor line from search section */
.search-section .section-header h2::after {
  background: var(--gradient-primary);
  animation: none;
}

@keyframes tricolorFlow {
  0%, 100% {
    background: linear-gradient(90deg, #FF9933, #FFFFFF, #138808);
  }
  50% {
    background: linear-gradient(90deg, #138808, #FFFFFF, #FF9933);
  }
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 20px;
}

/* ===== PROPERTIES SECTION ===== */
.properties-section {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #ffffff 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.properties-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(20, 184, 166, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.properties-section .section-header {
  position: relative;
  z-index: 1;
}

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
  margin-top: 60px;
}

.property-card {
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0,0,0,0.08);
  position: relative;
  animation: propertyFadeIn 0.8s ease forwards;
  opacity: 0;
}

.property-card:nth-child(1) { animation-delay: 0.1s; }
.property-card:nth-child(2) { animation-delay: 0.2s; }
.property-card:nth-child(3) { animation-delay: 0.3s; }
.property-card:nth-child(4) { animation-delay: 0.4s; }
.property-card:nth-child(5) { animation-delay: 0.5s; }
.property-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes propertyFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.property-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #e63946, #d62839, #FFD700);
  transform: scaleX(0);
  transition: transform 0.5s ease;
  z-index: 2;
}

/* ===== PROPERTY SEARCH RESULTS (modern) ===== */
.property-search-results-section {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #e5e7eb 100%);
  min-height: 80vh;
}

/* Match search-section background with property-search-results-section */
.search-section {
  padding: 100px 0 60px;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #e5e7eb 100%);
}

/* Enhance search-section styling for modern elegant look */
.search-section .section-header h2 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.search-section .section-header p {
  font-size: 1.2rem;
  color: #6b7280;
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* Make the search form match property-search-form styling */
.search-section .property-search-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(249, 250, 251, 0.98));
  border: 1px solid rgba(230, 57, 70, 0.2);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.search-section .property-search-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shimmer 3s infinite;
}

.property-search-results-section .section-header h1 {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.property-search-results-section .section-header p {
  color: var(--text-light);
}

.property-search-form {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  backdrop-filter: none;
  padding: 24px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
}

.property-search-form::before {
  content: '';
  display: none;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.search-grid {
    display: grid;
    grid-template-columns: 200px 1fr 180px 1fr auto;
    gap: 12px;
    margin-bottom: 0;
    margin-top: 0;
    align-items: center;
}

.full-width {
    grid-column: 1 / -1;
    margin-top: 28px;
}

/* Property counter badge (inline, small). Avoid conflict with generic .counter-icon (80px circle) */
.property-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  color: #b71c1c;
  font-weight: 600;
  line-height: 1;
}

.property-counter-badge .counter-icon {
  width: auto;
  height: auto;
  margin: 0;
  background: none;
  border-radius: 0;
  box-shadow: none;
  font-size: 1.1rem;
  color: #e63946;
  display: inline-flex;
  align-items: center;
}

.property-counter-badge #livePropertyCount {
  color: #e63946;
  font-weight: 700;
}

.property-counter-badge .counter-label {
  opacity: 0.9;
}

/* Mobile full width handled in media queries */.search-field {
  position: relative;
}

.search-field label { 
  display: none;
}

.search-field label .label-icon {
  flex-shrink: 0;
  width: 1.2rem;
  text-align: center;
  font-size: 0.9rem;
}

.search-field select, .search-field input {
  background: #ffffff;
  backdrop-filter: none;
  border: 1px solid #d1d5db;
  color: #111827;
  padding: 12px 14px;
  border-radius: 4px;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 400;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: none;
}

.search-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath fill='%236b7280' d='M1 1l6 6 6-6' stroke='%236b7280' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.search-field select option {
  background: #ffffff;
  color: #111827;
  padding: 10px;
  font-weight: 400;
}

.search-field select optgroup {
  background: #f9fafb;
  color: #374151;
  font-weight: 600;
  font-style: normal;
  padding: 6px;
}

.search-field select:hover, .search-field input:hover {
  border-color: #9ca3af;
}

.search-field select:focus, .search-field input:focus { 
  outline: none; 
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
  border-color: #e63946;
  background: #ffffff;
  transform: none;
}

.btn-search {
  width: auto;
  background: #e63946 !important;
  background-size: auto;
  color: #ffffff !important;
  padding: 12px 28px;
  border-radius: 4px;
  border: none !important;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: capitalize;
  transition: all 0.2s ease;
  cursor: pointer;
  box-shadow: none;
  position: relative;
  overflow: hidden;
  margin-top: 0;
  white-space: nowrap;
}

.btn-search::before {
  content: '';
  display: none;
}

.btn-search:hover {
  background: #d62839 !important;
}

.btn-search:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

/* ===== INPUT ICON WRAPPERS ===== */
.input-icon-wrapper {
  position: relative;
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #e63946;
  font-size: 1.1rem;
  pointer-events: none;
  z-index: 1;
}

.input-icon-wrapper select,
.input-icon-wrapper input {
    padding-left: 48px !important;
}

/* Toggle Chips (Rent/Sale) */
.toggle-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.chip-option {
    flex: 0 1 auto;
    min-width: auto;
    cursor: pointer;
}

.chip-option input[type="radio"] {
    display: none;
}

.chip-option span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 16px;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #111827;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    text-align: center;
}

.chip-option span i {
    font-size: 1rem;
}

.chip-option:hover span {
  background: #ffffff;
  border-color: #e63946;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chip-option input[type="radio"]:checked + span {
    background: #e63946;
    border-color: #e63946;
    color: white;
    transform: none;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.2);
    font-weight: 600;
}

/* Property Type Chips */
.property-type-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
}

.type-chip {
    cursor: pointer;
    display: flex;
    align-items: stretch;
}

.type-chip input[type="radio"] {
    display: none;
}

.type-chip span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 14px;
    width: 100%;
    height: 100%;
    background: #f3f4f6;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    color: #111827;
    font-weight: 500;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0;
    box-shadow: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.type-chip span i {
    font-size: 1rem;
}

.type-chip:hover span {
  background: #ffffff;
  border-color: #e63946;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.type-chip input[type="radio"]:checked + span {
    background: #e63946;
    border-color: #e63946;
    color: white;
    transform: none;
    box-shadow: 0 2px 6px rgba(230, 57, 70, 0.2);
    font-weight: 600;
}

/* Budget Range Wrapper */
.budget-range-wrapper {
    position: relative;
}

.budget-range-wrapper select {
    width: 100%;
}

/* ===== ADVANCED FILTERS TOGGLE ===== */
.advanced-filters-toggle {
  margin: 20px 0 0;
  text-align: center;
}

.btn-toggle-filters {
  display: none;
}

.btn-toggle-filters:hover {
  background: rgba(230, 57, 70, 0.25);
  border-color: rgba(230, 57, 70, 0.5);
  transform: translateY(-2px);
}

.btn-toggle-filters .toggle-icon {
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

.btn-toggle-filters.active .toggle-icon {
  transform: rotate(180deg);
}

/* ===== ADVANCED FILTERS SECTION ===== */
.advanced-filters-section {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.3s ease, margin 0.3s ease;
  margin: 0;
  display: none;
}

.advanced-filters-section.show {
  max-height: 1000px;
  opacity: 1;
  margin: 24px 0;
}

.filters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.filter-group.full-width {
  grid-column: 1 / -1;
}

.filter-label {
  color: #1f2937;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-label i {
  color: #e63946;
  font-size: 1rem;
}

/* ===== CHECKBOX PILLS ===== */
.checkbox-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-option {
  position: relative;
  cursor: pointer;
}

.pill-option input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pill-option span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 25px;
  color: #111827;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.pill-option:hover span {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(230, 57, 70, 0.5);
  transform: translateY(-2px);
}

.pill-option input[type="checkbox"]:checked + span {
  background: linear-gradient(135deg, #e63946, #d62839);
  border-color: #e63946;
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.3);
  transform: translateY(-2px);
}

.amenities-pills .pill-option span {
  padding: 10px 16px;
}

/* ===== PRICE RANGE SLIDER ===== */
.price-range-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.price-range-display {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  border-radius: 12px;
}

.price-range-display span {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.range-separator {
  color: #e63946;
  font-weight: 400;
}

.dual-range-slider {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin: 0 10px;
}

.dual-range-slider input[type="range"] {
  position: absolute;
  width: 100%;
  height: 8px;
  background: transparent;
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #e63946, #d62839);
  border: 3px solid var(--white);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
  transition: all 0.2s ease;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 16px rgba(230, 57, 70, 0.5);
}

.dual-range-slider input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #e63946, #d62839);
  border: 3px solid var(--white);
  border-radius: 50%;
  cursor: pointer;
  pointer-events: all;
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.4);
  transition: all 0.2s ease;
}

.dual-range-slider input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 6px 16px rgba(147, 51, 234, 0.7);
}

.range-min::-webkit-slider-runnable-track,
.range-max::-webkit-slider-runnable-track {
  height: 8px;
  background: transparent;
}

.range-min::-moz-range-track,
.range-max::-moz-range-track {
  height: 8px;
  background: transparent;
}

.property-card.modern {
  background: var(--surface-1);
  border: var(--border-subtle);
}
.property-card.modern .property-content h3 { color: #111827; }
.property-card.modern .property-description { color: var(--text-medium); font-size: 0.95rem; line-height: 1.6; }
.property-card.modern .property-location { color: var(--text-light); }
.property-price { background: var(--gradient-accent); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700; }

.property-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
              0 0 50px rgba(106, 17, 203, 0.4);
  border-color: rgba(255, 215, 0, 0.6);
}

.property-card:hover::before {
  transform: scaleX(1);
}

.property-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.property-card:hover .property-image img {
  transform: scale(1.15) rotate(2deg);
}

.property-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(106, 17, 203, 0.9), rgba(147, 51, 234, 0.9));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.property-card:hover .property-overlay {
  opacity: 1;
}

.btn-view-overlay {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a2e;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.property-card:hover .btn-view-overlay {
  transform: translateY(0);
}

.btn-view-overlay:hover {
  background: linear-gradient(135deg, #FFA500, #FFD700);
  transform: scale(1.08);
  box-shadow: 0 12px 35px rgba(255, 215, 0, 0.7);
}

.property-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #10B981, #059669);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  z-index: 1;
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-badge.rent {
  background: linear-gradient(135deg, #e63946, #d62839);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
}

.property-badge.no-brokerage-badge {
  top: 80px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a1a;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
}

.property-content {
  padding: 30px;
}

.property-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  gap: 15px;
}

.property-content h3 {
  font-size: 1.5rem;
  color: #111827;
  margin: 0;
  font-weight: 700;
}

.property-location {
  color: #6b7280;
  margin-bottom: 20px;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.property-location i {
  color: #e63946;
  font-size: 0.95rem;
}

.property-features {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-top: 2px solid rgba(230, 57, 70, 0.3);
  border-bottom: 2px solid rgba(230, 57, 70, 0.3);
}

.property-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #374151;
  font-weight: 600;
}

.property-features i {
  color: #e63946;
  font-size: 1.1rem;
}

.property-price {
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

/* ===== SERVICES SECTION ===== */
.services-section {
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.service-card {
  background: #ffffff;
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.08);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.08);
}

.service-icon {
  font-size: 4rem;
  margin-bottom: 20px;
  color: #e63946;
}

.service-icon i {
  display: inline-block;
  transition: var(--transition);
}

.service-card:hover .service-icon i {
  transform: scale(1.2) rotateY(360deg);
  transition: transform 0.6s ease;
}

.service-card h3 {
  font-size: 1.4rem;
  color: #111827;
  margin-bottom: 15px;
}

.service-card p {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #e63946;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.service-link:hover {
  color: #b71c1c;
  gap: 12px;
}

/* Featured Service - No Brokerage */
.service-card.featured-service {
  background: linear-gradient(135deg, rgba(230, 57, 70, 0.08) 0%, rgba(214, 40, 57, 0.08) 100%);
  border: 2px solid rgba(230, 57, 70, 0.25);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  animation: featuredPulse 3s ease-in-out infinite;
}

@keyframes featuredPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.02);
    opacity: 1;
  }
}

.service-card.featured-service::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.08), transparent);
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #e63946, #d62839);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
  z-index: 1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.featured-badge i {
  animation: starRotate 2s linear infinite;
}

@keyframes starRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.service-card.featured-service .service-icon {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
  font-size: 4.5rem;
}

.service-card.featured-service:hover {
  transform: translateY(-15px) scale(1.03);
  border-color: rgba(255, 215, 0, 0.9);
}

.service-card.featured-service h3 {
  font-size: 1.6rem;
  background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 15px;
}

.service-card.featured-service p {
  color: #374151;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.7;
}

.savings-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(5, 150, 105, 0.2));
  border: 2px solid rgba(16, 185, 129, 0.5);
  padding: 12px 20px;
  border-radius: 30px;
  color: #10B981;
  font-weight: 700;
  font-size: 1rem;
  margin: 15px 0;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
  animation: savingsPulse 2s ease-in-out infinite;
}

@keyframes savingsPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.savings-highlight i {
  font-size: 1.2rem;
  animation: coinFlip 3s ease-in-out infinite;
}

@keyframes coinFlip {
  0%, 100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}

.service-card.featured-service .service-link {
  background: linear-gradient(135deg, #e63946, #d62839);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
  margin-top: 20px;
}

.service-card.featured-service .service-link:hover {
  background: linear-gradient(135deg, #d62839, #e63946);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.4);
  color: #ffffff;
  gap: 12px;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #111827;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #e63946 0%, #d62839 50%, #b71c1c 100%);
  border-radius: 2px;
}

.about-intro {
  font-size: 1.2rem;
  color: #e63946;
  font-weight: 600;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.indian-flag-icon {
  font-size: 1.5rem;
  animation: wave 2s ease-in-out infinite;
  display: inline-block;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 30px 0 40px 0;
}

.startup-story,
.mission-statement {
  margin-bottom: 25px;
  padding: 20px;
  background: rgba(230, 57, 70, 0.04);
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, #e63946 0%, #d62839 50%, #b71c1c 100%) 1;
  border-radius: 0 8px 8px 0;
  transition: all 0.3s ease;
}

.startup-story:hover,
.mission-statement:hover {
  background: rgba(230, 57, 70, 0.08);
  transform: translateX(5px);
}

.startup-story h3,
.mission-statement h3 {
  font-size: 1.3rem;
  color: #e63946;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.story-icon,
.mission-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #e63946, #d62839);
  box-shadow: 0 4px 12px rgba(230, 57, 70, 0.2);
  transition: all 0.3s ease;
}

.story-icon {
  animation: rocketFloat 2s ease-in-out infinite;
}

.mission-icon {
  animation: targetPulse 2s ease-in-out infinite;
}

.startup-story:hover .story-icon {
  transform: translateY(-5px) rotate(15deg);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

.mission-statement:hover .mission-icon {
  transform: scale(1.15) rotate(180deg);
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.3);
}

.story-icon i,
.mission-icon i {
  font-size: 1.1rem;
  color: #ffffff;
}

@keyframes rocketFloat {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-5deg);
  }
}

@keyframes targetPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.startup-story p,
.mission-statement p {
  color: #6b7280;
  line-height: 1.8;
  margin-bottom: 0;
}

.about-text p {
  color: #6b7280;
  margin-bottom: 20px;
  line-height: 1.8;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(59, 130, 246, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
  transition: left 0.5s ease;
}

.stat-item:hover::before {
  left: 100%;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(230, 57, 70, 0.1);
  border-color: #e63946;
  box-shadow: 0 10px 30px rgba(230, 57, 70, 0.15);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: #e63946;
  margin-bottom: 10px;
  transition: opacity 0.3s ease;
  text-shadow: 0 0 20px rgba(230, 57, 70, 0.15);
}

.about-stats.animated .stat-item {
  animation: slideUpFade 0.6s ease forwards;
}

.about-stats.animated .stat-item:nth-child(1) {
  animation-delay: 0.2s;
}

.about-stats.animated .stat-item:nth-child(2) {
  animation-delay: 0.4s;
}

.about-stats.animated .stat-item:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stat-label {
  display: block;
  color: #6b7280;
  font-size: 0.95rem;
}

.about-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Interactive Icon Container */
.about-icon-container {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-icon-circle {
  position: relative;
  width: 200px;
  height: 200px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(106, 17, 203, 0.4);
  animation: floatIcon 3s ease-in-out infinite;
  z-index: 2;
}

.about-icon-circle i {
  font-size: 5rem;
  color: #ffffff;
  animation: iconPulse 2s ease-in-out infinite;
}

.about-icon-ring {
  position: absolute;
  width: 250px;
  height: 250px;
  border: 3px solid rgba(106, 17, 203, 0.3);
  border-radius: 50%;
  animation: ringRotate 8s linear infinite;
  z-index: 1;
}

.about-icon-dots {
  position: absolute;
  width: 300px;
  height: 300px;
  z-index: 1;
}

.about-icon-dots span {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--gold-accent);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--gold-accent);
  animation: dotOrbit 6s linear infinite;
}

.about-icon-dots span:nth-child(1) {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.about-icon-dots span:nth-child(2) {
  top: 15%;
  right: 15%;
  animation-delay: 0.75s;
}

.about-icon-dots span:nth-child(3) {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  animation-delay: 1.5s;
}

.about-icon-dots span:nth-child(4) {
  bottom: 15%;
  right: 15%;
  animation-delay: 2.25s;
}

.about-icon-dots span:nth-child(5) {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 3s;
}

.about-icon-dots span:nth-child(6) {
  bottom: 15%;
  left: 15%;
  animation-delay: 3.75s;
}

.about-icon-dots span:nth-child(7) {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  animation-delay: 4.5s;
}

.about-icon-dots span:nth-child(8) {
  top: 15%;
  left: 15%;
  animation-delay: 5.25s;
}

@keyframes floatIcon {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-20px) scale(1.05);
  }
}

@keyframes iconPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

@keyframes ringRotate {
  0% {
    transform: rotate(0deg);
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.8;
  }
}

@keyframes dotOrbit {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(0.5);
  }
}

/* ===== FOUNDERS SECTION ===== */
.founders-section {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.founders-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(20, 184, 166, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.founders-section .section-header h2 {
  color: #111827;
  position: relative;
  z-index: 1;
}

.founders-section .section-header p {
  color: rgba(17, 24, 39, 0.7);
  position: relative;
  z-index: 1;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 1100px;
  margin: 60px auto 0;
  position: relative;
  z-index: 1;
}

.founder-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(243, 244, 246, 0.9));
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  border: 1px solid rgba(59, 130, 246, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
              0 0 20px rgba(59, 130, 246, 0.08);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: founderFadeIn 0.8s ease forwards;
  opacity: 0;
}

.founder-card:nth-child(1) {
  animation-delay: 0.2s;
}

.founder-card:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes founderFadeIn {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.founder-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  padding: 2px;
  background: linear-gradient(135deg, #3b82f6, #6366f1, #14b8a6);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.5s;
}

.founder-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.1),
              0 0 60px rgba(230, 57, 70, 0.15);
  border-color: rgba(230, 57, 70, 0.4);
}

.founder-card:hover::before {
  opacity: 1;
}

.founder-image-wrapper {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 30px;
}

.founder-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e63946 0%, #d62839 50%, #b71c1c 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 70px;
  color: #ffffff;
  box-shadow: 0 15px 40px rgba(230, 57, 70, 0.3),
              inset 0 2px 0 rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.5s ease;
}

.founder-card:hover .founder-image {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 20px 50px rgba(230, 57, 70, 0.5),
              inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.founder-image::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 3px solid rgba(230, 57, 70, 0.3);
  animation: rotateBorder 4s linear infinite;
}

@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: rotate(360deg);
    opacity: 0.8;
  }
}

.founder-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
  border: 3px solid rgba(255, 255, 255, 0.9);
  animation: badgePulse 2s ease-in-out infinite;
}
/* 
.founder-badge.co-founder {
  background: linear-gradient(135deg, #9333EA, #C084FC);
} */

.founder-badge.co-founder {
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
  animation: iconGlow 2s ease-in-out infinite;
}

.founder-badge i {
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
  animation: iconGlow 2s ease-in-out infinite;
}

@keyframes iconGlow {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

@keyframes badgePulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.founder-content {
  text-align: center;
}

.founder-name {
  color: #111827;
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, #111827 0%, #e63946 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.founder-card:hover .founder-name {
  background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founder-role {
  color: #e63946;
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
}

.founder-description {
  color: rgba(17, 24, 39, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 30px 0;
  font-style: normal;
}

.founder-social {
  margin-top: 25px;
}

.linkedin-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(243, 244, 246, 0.95) 100%);
  color: #3b82f6;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
  border: 2px solid rgba(59, 130, 246, 0.3);
  position: relative;
  overflow: hidden;
}

.linkedin-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
  animation: shineSlide 3s ease-in-out infinite;
  will-change: transform;
}

@keyframes shineSlide {
  0% {
    transform: translateX(-100%);
  }
  50% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.linkedin-link:hover::before {
  animation: none;
  transform: translateX(100%);
}

.linkedin-link:hover {
  background: linear-gradient(135deg, #0077B5 0%, #005885 100%);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 119, 181, 0.4);
  border-color: rgba(0, 119, 181, 0.5);
}

.linkedin-link i {
  font-size: 1.2rem;
}

.founder-decoration {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 8px;
}

.deco-circle {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  animation: decoFloat 3s ease-in-out infinite;
}

.deco-circle:nth-child(1) {
  animation-delay: 0s;
}

.deco-circle:nth-child(2) {
  animation-delay: 0.3s;
}

.deco-circle:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes decoFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 50%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.testimonials-section .section-header h2 {
  color: #111827;
  position: relative;
  z-index: 1;
}

.testimonials-section .section-header p {
  color: rgba(17, 24, 39, 0.7);
  position: relative;
  z-index: 1;
}

/* Circular Carousel Container */
.testimonials-grid {
  display: flex;
  gap: 30px;
  margin-top: 50px;
  animation: scrollTestimonials 40s linear infinite;
  width: max-content;
}

.testimonials-grid:hover {
  animation-play-state: paused;
}

@keyframes scrollTestimonials {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Testimonial Card - Circular Design */
.testimonial-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(243, 244, 246, 0.95));
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  padding: 35px 30px;
  border-radius: 50%;
  width: 320px;
  height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
              0 0 20px rgba(59, 130, 246, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  flex-shrink: 0;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: linear-gradient(135deg, #3b82f6, #6366f1, #14b8a6);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover {
  transform: scale(1.08) translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1),
              0 0 50px rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
}

.testimonial-card:hover::before {
  opacity: 1;
}

/* Stars in Circular Layout */
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 15px;
  justify-content: center;
}

.testimonial-stars i {
  color: #fbbf24;
  font-size: 16px;
  filter: drop-shadow(0 2px 4px rgba(251, 191, 36, 0.3));
}

/* Quote Text */
.testimonial-quote {
  color: rgba(17, 24, 39, 0.95);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-shadow: none;
}

/* Author Section */
.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e63946, #d62839);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  border: 2px solid rgba(230, 57, 70, 0.3);
}

.author-info {
  text-align: center;
}

.author-info h4 {
  color: #111827;
  font-size: 0.95rem;
  margin: 0 0 4px 0;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.author-info p {
  color: rgba(107, 114, 128, 0.9);
  font-size: 0.8rem;
  margin: 0;
  font-weight: 500;
}

/* Google Review Badge - Compact */
.google-review-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  background: #4285F4;
  color: #ffffff;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(66, 133, 244, 0.4);
}

.google-review-badge:hover {
  background: #357AE8;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.6);
}

.google-review-badge i {
  font-size: 12px;
}

/* Featured Review Badge */
.testimonial-card.featured {
  border: 2px solid rgba(59, 130, 246, 0.4);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1),
              0 0 40px rgba(59, 130, 246, 0.2);
}

.testimonial-card.featured::after {
  content: 'FEATURED';
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.testimonial-card.featured .author-info p {
  color: #3b82f6;
  font-weight: 600;
}

/* ===== IMPACT COUNTERS SECTION ===== */
.impact-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #4c1d95 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.impact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%23ffffff" opacity="0.02"/><circle cx="50" cy="50" r="30" fill="%23ffffff" opacity="0.03"/></svg>');
  animation: patternMove 20s linear infinite;
  pointer-events: none;
}

@keyframes patternMove {
  0% { transform: translate(0, 0); }
  100% { transform: translate(100px, 100px); }
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 1;
}

.impact-counter {
  text-align: center;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: counterFadeIn 0.6s ease forwards;
  opacity: 0;
}

.impact-counter:nth-child(1) { animation-delay: 0.1s; }
.impact-counter:nth-child(2) { animation-delay: 0.2s; }
.impact-counter:nth-child(3) { animation-delay: 0.3s; }
.impact-counter:nth-child(4) { animation-delay: 0.4s; }

@keyframes counterFadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.impact-counter:hover {
  transform: translateY(-8px) scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
}

.impact-counter .counter-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #FFD700, #FFA500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
  transition: all 0.4s ease;
}

.impact-counter:hover .counter-icon {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
}

/* Ensure SVG icons inside impact counters render white within the golden circle */
.impact-counter .counter-icon img {
  width: 36px;
  height: 36px;
  display: block;
  filter: invert(1) brightness(100%);
}

.counter-content {
  display: flex;
  align-items: baseline;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 3rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.counter-number {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Ubuntu, Cantarell, 'Helvetica Neue', Arial,
               'Nirmala UI', Mangal,
               'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
  transition: all 0.3s ease;
}

.counter-plus {
  font-size: 2rem;
  margin-left: 4px;
  color: #FFD700;
}

.counter-label {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.impact-counter.counting .counter-number {
  animation: countPulse 0.3s ease;
}

@keyframes countPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-form-wrapper {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(243, 244, 246, 0.95));
  padding: 50px 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.contact-form-wrapper h3 {
  color: #111827;
  font-size: 2rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.form-subtitle {
  color: rgba(17, 24, 39, 0.7);
  font-size: 0.95rem;
  margin-top: -10px;
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
}

.contact-form .form-group {
  margin-bottom: 25px;
  position: relative;
  z-index: 1;
}

.contact-form label {
  display: block;
  font-weight: 600;
  color: #111827;
  margin-bottom: 10px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.optional-tag {
  font-weight: 400;
  color: rgba(17, 24, 39, 0.6);
  font-size: 0.85rem;
  text-transform: none;
  letter-spacing: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 12px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Ubuntu, Cantarell, 'Helvetica Neue', Arial,
               'Nirmala UI', Mangal,
               'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
  color: #111827;
  backdrop-filter: blur(10px);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(17, 24, 39, 0.5);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e63946;
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  transform: translateY(-2px);
}

/* Phone Input Group */
/* Phone Input - Unified Single Box */
.phone-input-unified {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.phone-input-unified:focus-within {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
}

.phone-input-unified .code-prefix {
  color: #1f2937;
  font-weight: 700;
  padding: 12px 12px 12px 16px;
  border-right: 1px solid rgba(59, 130, 246, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 64px;
  text-align: left;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* Make sure clicking the visible prefix also focuses the select area */
.phone-input-unified .code-prefix { position: relative; z-index: 2; }

.phone-input-unified input[type="tel"] {
  flex: 1;
  border: none;
  background: linear-gradient(180deg, #ffffff 0%, #f3f3f3 100%);
  color: #1f2937;
  padding: 14px 16px;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  outline: none;
}

.country-code-ghost {
  position: absolute;
  top: 0;
  left: 0;
  width: 84px; /* restrict hit area strictly to prefix */
  height: 100%;
  opacity: 0; /* invisible but clickable */
  cursor: pointer;
  z-index: 3; /* above prefix, below everything else */
  pointer-events: auto; /* only this small area is interactive */
}

.country-code-ghost option {
  background: #1a1a2e;
  color: var(--white);
}

/* Tiny custom code dropdown */
/* (Custom code menu removed to simplify UX as requested) */
.phone-input-wrapper-unified {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.phone-input-wrapper-unified:focus-within {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 4px rgba(76, 175, 80, 0.2);
  transform: translateY(-2px);
}

.country-code-inline {
  background: transparent;
  border: none;
  color: #1f2937;
  font-size: 1rem;
  font-weight: 600;
  padding: 16px 8px 16px 16px;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 70px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 5px center;
  padding-right: 20px;
}

.country-code-inline option {
  background: #1a1a2e;
  color: var(--white);
  padding: 10px;
}

.phone-input-wrapper-unified input[type="tel"] {
  flex: 1;
  background: transparent;
  border: none;
  color: #1f2937;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 16px 20px;
  outline: none;
  width: 100%;
}

.phone-input-wrapper-unified input[type="tel"]::placeholder {
  color: #6b7280;
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Old phone wrapper styles - keep for backward compatibility */
.phone-input-wrapper {
  display: flex;
  gap: 15px;
  align-items: stretch;
  width: 100%;
}

.country-code-select {
  width: 100px;
  flex-shrink: 0;
  font-size: 0.9rem;
  padding: 16px 8px;
  font-weight: 600;
  background: rgba(59, 130, 246, 0.08) !important;
  color: #1f2937 !important;
  border: 2px solid rgba(59, 130, 246, 0.15) !important;
  text-align: left;
}

.country-code-select option {
  background: #1a1a2e;
  color: var(--white);
}

.phone-input-wrapper input[type="tel"] {
  flex: 1;
  width: 100%;
  min-width: 200px;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 16px 20px;
  background: rgba(59, 130, 246, 0.08) !important;
  border: 2px solid rgba(59, 130, 246, 0.15) !important;
  color: #1f2937 !important;
}

.phone-input-wrapper input[type="tel"]::placeholder {
  color: #6b7280 !important;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.field-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.85rem;
  color: #374151;
}

/* Radio Group - Glassmorphism Cards */
.radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.radio-card {
  position: relative;
  cursor: pointer;
}

.radio-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.radio-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 25px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.radio-icon {
  font-size: 2.5rem;
  filter: grayscale(1) brightness(1.5);
  transition: all 0.3s ease;
}

.radio-text {
  font-weight: 500;
  color: #111827;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.radio-card:hover .radio-content {
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(76, 175, 80, 0.3);
}

.radio-card input[type="radio"]:checked + .radio-content {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
  border-color: var(--primary-color);
  box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
  transform: scale(1.05);
}

.radio-card input[type="radio"]:checked + .radio-content .radio-icon {
  filter: grayscale(0) brightness(1);
  transform: scale(1.2);
}

.radio-card input[type="radio"]:checked + .radio-content .radio-text {
  color: var(--white);
  font-weight: 700;
}

/* Submit Button - Glowing Effect */
.btn-submit {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 1.15rem;
  padding: 18px 36px;
  margin-top: 20px;
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(59, 130, 246, 0.3);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-submit:hover::before {
  width: 300px;
  height: 300px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.btn-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 2;
}

.btn-submit:hover .btn-icon {
  transform: translateX(8px);
}

.btn-text {
  position: relative;
  z-index: 2;
}

/* Form Response Messages */
.form-response {
  margin-top: 20px;
  padding: 15px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  display: none;
  animation: slideDown 0.3s ease;
  position: relative;
  z-index: 1;
}

.form-response.show {
  display: block;
}

.form-response.success {
  background: rgba(76, 175, 80, 0.2);
  color: #a5d6a7;
  border: 1px solid rgba(76, 175, 80, 0.5);
}

.form-response.error {
  background: rgba(244, 67, 54, 0.2);
  color: #ef9a9a;
  border: 1px solid rgba(244, 67, 54, 0.5);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact-form button {
  width: 100%;
}

.contact-info-wrapper {
  display: flex;
  flex-direction: column;
}

.contact-info-card {
  background: rgba(59, 130, 246, 0.05);
  backdrop-filter: blur(20px);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.1);
}

.contact-info-card h3 {
  font-size: 1.5rem;
  color: #111827;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-item > div {
  flex: 1;
  min-width: 0;
}

.contact-icon {
  font-size: 1.5rem;
  min-width: 40px;
  flex-shrink: 0;
  color: #e63946;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(230, 57, 70, 0.1);
  border-radius: 8px;
}

.contact-item strong {
  display: block;
  color: #111827;
  margin-bottom: 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

.contact-item p {
  color: #374151;
  line-height: 1.8;
  margin: 0;
  font-size: 0.95rem;
  white-space: nowrap;
}

.contact-item p a {
  color: #e63946;
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
  white-space: nowrap;
  font-weight: 600;
}

.contact-item p a:hover {
  color: #e63946;
}

.contact-item a[href*="wa.me"] {
  color: #25D366 !important;
}

.contact-item a[href*="wa.me"]:hover {
  color: #25D366 !important;
}

.contact-info ul {
  list-style: none;
}

.contact-info ul li {
  margin-bottom: 15px;
  color: #374151;
  white-space: normal;
  line-height: 1.6;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #f3f4f6;
  color: #111827;
  padding: 80px 20px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.footer-section h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: #3b82f6;
}

.footer-section p {
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.8;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
}


.footer-section ul li a {
  color: rgba(17, 24, 39, 0.7);
}

.footer-section ul li a:hover {
  color: #3b82f6;
}

/* Indian Startup Banner */
.indian-startup-banner {
  background: linear-gradient(135deg, 
    #e63946 0%, 
    #e63946 33%, 
    #FFFFFF 33%, 
    #FFFFFF 66%, 
    #14b8a6 66%, 
    #14b8a6 100%
  );
  padding: 2px;
  margin-top: 40px;
  border-radius: 12px;
  overflow: hidden;
  animation: none;
}

.startup-badge {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 20px 30px;
  text-align: center;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.flag-icon {
  font-size: 1.8rem;
  animation: wave 2s ease-in-out infinite;
  display: inline-block;
}

.startup-text {
  font-size: 1.1rem;
  font-weight: 700;
  background: linear-gradient(135deg, #3b82f6 0%, #111827 50%, #14b8a6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.startup-divider {
  color: rgba(17, 24, 39, 0.3);
  font-weight: 300;
}

.startup-tagline {
  color: #3b82f6;
  font-weight: 600;
  font-size: 1rem;
}

@keyframes wave {
  0%, 100% {
    transform: rotate(0deg);
  }
  25% {
    transform: rotate(15deg);
  }
  75% {
    transform: rotate(-15deg);
  }
}

@keyframes tricolorShine {
  0%, 100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(17, 24, 39, 0.1);
  color: rgba(17, 24, 39, 0.6);
}

.footer-bottom p {
  margin: 5px 0;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.loading-skeleton {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  /* Use span bars for hamburger; keep icons hidden (fallback only) */
  .nav-toggle .nav-icon { display: none !important; }
  .site-header .nav-container {
    padding: 12px 16px;
  }
  
  .site-header.scrolled .nav-container {
    padding: 10px 16px;
  }
  
  .nav-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    gap: 6px;
    border-radius: 10px;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.4), rgba(106, 17, 203, 0.5)) !important;
    border: 1.5px solid rgba(147, 51, 234, 0.8) !important;
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.4) !important;
    z-index: 1002;
    cursor: pointer;
    position: relative;
  }
  
  .nav-toggle span {
    width: 22px;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #ffd700 100%) !important;
    border-radius: 3px;
    display: block !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
  }
  
  .nav-toggle:hover {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.6), rgba(106, 17, 203, 0.7)) !important;
    box-shadow: 0 6px 16px rgba(106, 17, 203, 0.5) !important;
    transform: scale(1.05);
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
  
  .nav-menu {
    position: fixed;
    top: 64px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 64px);
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    backdrop-filter: blur(30px) saturate(180%);
    flex-direction: column;
    padding: 30px 20px;
    box-shadow: inset 0 2px 20px rgba(147, 51, 234, 0.2);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid rgba(147, 51, 234, 0.3);
    gap: 8px;
    overflow-y: auto;
    justify-content: flex-start;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    width: 100%;
  }
  
  .nav-menu li a {
    display: block;
    padding: 16px 24px;
    text-align: left;
    font-size: 1.05rem;
    border-radius: 14px;
    color: #ffffff;
    background: linear-gradient(135deg, #e63946 0%, #d62839 50%, #b71c1c 100%);
    border: 1px solid rgba(230, 57, 70, 0.6);
    transition: all 0.3s ease;
  }
  
  .nav-menu li a:hover {
    background: linear-gradient(135deg, #e63946 0%, #d62839 50%, #b71c1c 100%);
    border-color: rgba(230, 57, 70, 0.9);
    color: #ffffff !important;
    transform: translateX(8px);
    box-shadow: 0 4px 12px rgba(106, 17, 203, 0.3);
  }
  
  .nav-menu li a:hover::before {
    width: 90%;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  }

  /* Founders Section - Mobile */
  .founders-section {
    padding: 60px 0;
  }

  .founders-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
    padding: 0 20px;
  }

  .founder-card {
    padding: 30px 25px;
  }

  .founder-image-wrapper {
    width: 140px;
    height: 140px;
  }

  .founder-image {
    width: 140px;
    height: 140px;
    font-size: 60px;
  }

  .founder-badge {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-width: 2px;
  }

  .founder-name {
    font-size: 1.5rem;
  }

  .founder-role {
    font-size: 0.9rem;
  }

  .founder-description {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .linkedin-link {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  
  .nav-menu li.active a,
  .nav-menu li.current-menu-item a,
  .nav-menu li.current_page_item a {
    background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
    color: var(--white);
    border-color: rgba(230, 57, 70, 0.6);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.3);
  }
  
  .nav-menu li.active a::before,
  .nav-menu li.current-menu-item a::before,
  .nav-menu li.current_page_item a::before {
    width: 92%;
    bottom: 4px;
  }
  
  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(9px, 9px);
  }
  
  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }
  
  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
  }
  
  .logo-container {
    width: 40px;
    height: 40px;
  }
  
  .logo-image {
    width: 40px;
    height: 40px;
  }
  
  .logo-text {
    font-size: 1.15rem;
    letter-spacing: -0.3px;
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-features {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }
  
  .feature-badge {
    padding: 12px 20px;
    width: 90%;
    max-width: 300px;
  }

  .feature-badge-no-brokerage,
  .feature-badge-verified,
  .feature-badge-expert {
    padding: 14px 22px;
    border-width: 2px !important;
  }

  .feature-badge-no-brokerage i,
  .feature-badge-verified i,
  .feature-badge-expert i {
    font-size: 1.5rem;
  }

  .feature-badge-no-brokerage .badge-text,
  .feature-badge-verified .badge-text,
  .feature-badge-expert .badge-text {
    font-size: 0.95rem;
  }

  .badge-subtitle {
    font-size: 0.7rem;
  }
  
  .feature-badge i {
    font-size: 1.3rem;
  }
  
  .badge-text {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }
  
  .hero-taglines {
    padding: 0 20px;
  }
  
  .hero-tagline-en {
    font-size: 1.05rem;
  }
  
  .hero-tagline-hi {
    font-size: 0.95rem;
  }
  
  .tagline-emoji {
    font-size: 1.1rem;
  }
  
  .hero-tagline {
    font-size: 1rem;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    grid-template-columns: 1fr;
  }
  
  .about-icon-container {
    width: 250px;
    height: 250px;
  }
  
  .about-icon-circle {
    width: 160px;
    height: 160px;
  }
  
  .about-icon-circle i {
    font-size: 4rem;
  }
  
  .about-icon-ring {
    width: 200px;
    height: 200px;
  }
  
  .about-icon-dots {
    width: 250px;
    height: 250px;
  }
  
  .about-icon-dots span {
    width: 10px;
    height: 10px;
  }
  
  /* Testimonials Mobile */
  .testimonials-section {
    padding: 50px 0;
  }
  
  .testimonials-grid {
    gap: 20px;
    animation-duration: 35s;
  }
  
  .testimonial-card {
    width: 280px;
    height: 280px;
    padding: 30px 25px;
  }
  
  .testimonial-quote {
    font-size: 0.8rem;
    line-height: 1.4;
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
  
  .author-avatar {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  
  .author-info h4 {
    font-size: 0.9rem;
  }
  
  .author-info p {
    font-size: 0.7rem;
  }
  
  .testimonial-stars i {
    font-size: 14px;
  }
  
  /* Impact Counters Mobile */
  .impact-section {
    padding: 40px 0;
  }
  
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .impact-counter {
    padding: 25px 15px;
  }
  
  .impact-counter .counter-icon {
    width: 60px;
    height: 60px;
    font-size: 28px;
    margin-bottom: 15px;
  }
  
  .counter-content {
    font-size: 2.2rem;
  }
  
  .counter-plus {
    font-size: 1.5rem;
  }
  
  .counter-label {
    font-size: 0.85rem;
  }
  
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .feature-badge {
    padding: 10px 16px;
  }

  .feature-badge-no-brokerage,
  .feature-badge-verified,
  .feature-badge-expert {
    padding: 12px 18px;
  }

  .feature-badge-no-brokerage i,
  .feature-badge-verified i,
  .feature-badge-expert i {
    font-size: 1.3rem;
  }

  .feature-badge-no-brokerage .badge-text,
  .feature-badge-verified .badge-text,
  .feature-badge-expert .badge-text {
    font-size: 0.85rem;
  }

  .badge-subtitle {
    font-size: 0.65rem;
  }

  .feature-badge i {
    font-size: 1.1rem;
  }

  .badge-text {
    font-size: 0.75rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-buttons .btn {
    width: 100%;
  }
  
  /* Properties Section - Small Mobile */
  .properties-section {
    padding: 50px 0;
  }

  .properties-grid {
    gap: 25px;
    padding: 0 15px;
  }

  .property-image {
    height: 220px;
  }

  .property-content {
    padding: 20px 18px;
  }

  .property-content h3 {
    font-size: 1.2rem;
  }

  .property-price {
    font-size: 1.3rem;
  }

  .property-location {
    font-size: 0.9rem;
  }

  .property-features {
    gap: 12px;
  }

  .property-features span {
    font-size: 0.85rem;
  }

  .btn-view-overlay {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  /* Services - Small Mobile */
  .service-card {
    padding: 25px 20px;
  }

  .service-icon {
    font-size: 3rem;
  }

  .service-card.featured-service .service-icon {
    font-size: 3rem;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card.featured-service h3 {
    font-size: 1.3rem;
  }

  .service-card p {
    font-size: 0.95rem;
  }

  .savings-highlight {
    padding: 8px 14px;
    font-size: 0.85rem;
  }

  .featured-badge {
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 0.7rem;
  }
  
  /* Properties Section - Mobile */
  .properties-section {
    padding: 60px 0;
  }

  .properties-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
    margin-top: 40px;
  }

  .property-image {
    height: 240px;
  }

  .property-content {
    padding: 25px 20px;
  }

  .property-header {
    flex-direction: column;
    gap: 10px;
  }

  .property-content h3 {
    font-size: 1.3rem;
  }

  .property-price {
    font-size: 1.4rem;
  }

  .property-features {
    gap: 15px;
    flex-wrap: wrap;
  }

  .property-features span {
    font-size: 0.9rem;
  }

  .property-badge {
    top: 15px;
    right: 15px;
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .service-card {
    padding: 30px 25px;
  }

  .service-card.featured-service {
    border-width: 2px;
  }

  .featured-badge {
    top: 12px;
    right: 12px;
    padding: 6px 12px;
    font-size: 0.75rem;
  }

  .service-card.featured-service .service-icon {
    font-size: 3.5rem;
  }

  .service-card.featured-service h3 {
    font-size: 1.4rem;
  }

  .savings-highlight {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .service-card.featured-service .service-link {
    padding: 10px 24px;
    font-size: 0.9rem;
  }
  
  .radio-group {
    grid-template-columns: 1fr;
  }
  
  .contact-form-wrapper {
    padding: 25px 20px;
  }

  /* Founders Section - Small Mobile */
  .founders-section {
    padding: 50px 0;
  }

  .founders-grid {
    padding: 0 15px;
  }

  .founder-card {
    padding: 25px 20px;
  }

  .founder-image-wrapper {
    width: 120px;
    height: 120px;
  }

  .founder-image {
    width: 120px;
    height: 120px;
    font-size: 50px;
  }

  .founder-badge {
    width: 36px;
    height: 36px;
    font-size: 16px;
    border-width: 2px;
  }

  .founder-name {
    font-size: 1.3rem;
  }

  .founder-role {
    font-size: 0.85rem;
  }

  .founder-description {
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .linkedin-link {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .founder-decoration {
    display: none;
  }
  
  .phone-input-wrapper {
    flex-direction: column;
  }
  
  .country-code-select {
    width: 100%;
  }
  
  .stat-item {
    padding: 15px;
  }
  
  .stat-number {
    font-size: 1.8rem;
  }
  
  .startup-badge {
    flex-direction: column;
    padding: 15px 20px;
    gap: 8px;
  }
  
  .flag-icon {
    font-size: 1.5rem;
  }
  
  .startup-text {
    font-size: 0.95rem;
  }
  
  .startup-tagline {
    font-size: 0.9rem;
  }
  
  /* Testimonials Small Mobile */
  .testimonials-grid {
    gap: 15px;
    animation-duration: 30s;
  }
  
  .testimonial-card {
    width: 240px;
    height: 240px;
    padding: 25px 20px;
  }
  
  .testimonial-quote {
    font-size: 0.75rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  
  .testimonial-stars i {
    font-size: 12px;
  }
  
  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .author-info h4 {
    font-size: 0.85rem;
  }
  
  .google-review-badge {
    font-size: 0.65rem;
    padding: 4px 8px;
  }
  
  /* Impact Counters Small Mobile */
  .impact-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .counter-content {
    font-size: 2rem;
  }
  
  .impact-counter .counter-icon {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .startup-story,
  .mission-statement {
    padding: 15px;
  }
  
  .startup-story h3,
  .mission-statement h3 {
    font-size: 1.1rem;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .property-features {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .property-features span {
    font-size: 0.85rem;
  }
}

.highlight {
  color: #ffd700;
  font-weight: 600;
}

/* ===== SEARCH SECTION ===== */
.search-section {
    background: linear-gradient(135deg, var(--light-color) 0%, var(--dark-color) 100%);
    padding: 80px 20px;
}

.property-search-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.search-field label {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.search-field select {
    width: 100%;
    padding: 14px 16px;
    padding-right: 40px;
    border: 2px solid rgba(106, 17, 203, 0.3);
    border-radius: 12px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', Ubuntu, Cantarell, 'Helvetica Neue', Arial,
         'Nirmala UI', Mangal,
         'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji', 'Apple Color Emoji', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: #111827;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ffffff' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.search-field select option {
    background: #1a1a2e;
    color: var(--white);
    padding: 12px;
}

.search-field select optgroup {
    background: #0f0f1e;
    color: #a0a0ff;
    font-weight: 600;
    font-style: normal;
}

.search-field select:hover {
    border-color: rgba(106, 17, 203, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.search-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(106, 17, 203, 0.3);
    background: rgba(255, 255, 255, 0.2);
}

.btn-search {
    width: 100%;
    font-size: 1.1rem;
    padding: 16px 40px;
}

.btn-large {
    font-size: 1.1rem;
    padding: 16px 40px;
}

/* ===== SERVICE LINKS ===== */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* ===== NO RESULTS SECTION ===== */
.no-results-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.no-results-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 60px 40px;
    max-width: 700px;
    text-align: center;
    border: 2px solid rgba(106, 17, 203, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.6s ease;
}

.no-results-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.no-results-icon i {
    font-size: 80px;
    color: var(--primary-color);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: iconFloat 3s ease-in-out infinite;
}

.icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(106, 17, 203, 0.1);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.1;
    }
}

.no-results-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 20px;
    line-height: 1.3;
}

.no-results-subtitle {
    font-size: 1.2rem;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

.no-results-subtitle strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.no-results-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(106, 17, 203, 0.1);
    border-color: rgba(106, 17, 203, 0.3);
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 1.3rem;
    color: var(--secondary-color);
}

.feature-item span {
    color: var(--white);
    font-size: 0.95rem;
    font-weight: 500;
}

.no-results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.no-results-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 1rem;
    min-width: 180px;
    justify-content: center;
}

.no-results-actions .btn i {
    font-size: 1.2rem;
}

.no-results-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #6b7280;
    font-size: 0.95rem;
    padding-top: 20px;
    border-top: 1px solid rgba(59, 130, 246, 0.1);
}

.no-results-help i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

/* Responsive for No Results */
@media (max-width: 768px) {
    .no-results-card {
        padding: 40px 25px;
    }
    
    .no-results-title {
        font-size: 1.8rem;
    }
    
    .no-results-subtitle {
        font-size: 1rem;
    }
    
    .no-results-icon i {
        font-size: 60px;
    }
    
    .icon-pulse {
        width: 90px;
        height: 90px;
    }
    
    .no-results-features {
        grid-template-columns: 1fr;
    }
    
    .no-results-actions {
        flex-direction: column;
    }
    
    .no-results-actions .btn {
        width: 100%;
    }
}

/* ===== SCROLL TO TOP BUTTON ===== */
.scroll-to-top {
  position: fixed;
  bottom: 130px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1010;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ===== CUSTOM LOGO SUPPORT ===== */
.custom-logo {
    max-height: 60px;
    width: auto;
}

.custom-logo-link {
    display: flex;
    align-items: center;
}

/* ===== QUICK CONTACT BUTTONS ===== */
.quick-contact {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
img {
    max-width: 100%;
    height: auto;
}

img[loading="lazy"] {
  /* Visible by default to prevent hidden icons in floating buttons */
  opacity: 1;
  transition: opacity 0.3s;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* Hardware acceleration for animations */
.whatsapp-float,
.scroll-to-top,
.nav-menu,
.property-card {
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.quick-contact h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.quick-contact h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.quick-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    margin-bottom: 10px;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.quick-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===== SMOOTH SCROLLING ===== */
html {
    scroll-behavior: smooth;
}

/* ===== CONTACT FORM ACCESSIBILITY ===== */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    box-shadow: 0 0 0 3px rgba(0, 119, 255, 0.1);
}

/* ===== PROPERTY CARD HOVER ENHANCEMENTS ===== */
.property-card {
    cursor: pointer;
}

/* ===== RESPONSIVE IMPROVEMENTS ===== */
@media (max-width: 1024px) {
    .search-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .filters-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .search-section {
        padding: 80px 0 40px;
    }
    
    .property-search-results-section {
        padding: 80px 0 40px;
    }
    
    .search-section .property-search-form {
        padding: 24px;
        border-radius: 18px;
    }
    
    legend {
        font-size: 0.9rem;
        padding: 8px 12px;
        margin-bottom: 12px;
    }
    
    .search-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .full-width-mobile {
        grid-column: 1 / -1;
    }
    
    .property-type-chips {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
        margin-top: 16px;
    }
    
    .type-chip span {
        padding: 14px 18px;
        font-size: 0.9rem;
        gap: 8px;
        min-height: 48px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .type-chip span i {
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .toggle-chips {
        flex-direction: column;
        gap: 10px;
    }
    
    .chip-option {
        min-width: 100%;
    }
    
    .property-counter-badge {
        font-size: 0.85rem;
        padding: 8px 18px;
    }
    
    .property-counter-badge #livePropertyCount {
        font-size: 1.1rem;
    }
    
    .filters-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    
    .property-search-form {
        padding: 36px 18px 24px;
        border-radius: 20px;
    }
    
    .search-field select, .search-field input {
        padding: 14px 16px;
        font-size: 0.95rem;
    }
    
    .input-icon-wrapper select,
    .input-icon-wrapper input {
        padding-left: 44px !important;
    }
    
    .input-icon {
        left: 14px;
        font-size: 1rem;
    }
    
    .btn-search {
        padding: 16px 28px;
        font-size: 1rem;
    }
    
    .checkbox-pills {
        gap: 8px;
    }
    
    .pill-option span {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .scroll-to-top {
        bottom: 170px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
        z-index: 1001;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 05px;
        right: 16px;
        font-size: 28px;
        z-index: 1001;
    }
    
    .whatsapp-float:hover {
        transform: translateY(-4px) scale(1.1) rotate(5deg);
    }
    
    .search-section {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .property-search-form {
        padding: 20px 16px;
        border-radius: 18px;
    }
    
    .search-field label {
        font-size: 0.7rem;
        margin-bottom: 8px;
    }
    
    .property-type-chips {
        grid-template-columns: 1fr;
        gap: 5px;
    }
    
    .type-chip span {
        padding: 14px 18px;
        font-size: 0.9rem;
        gap: 8px;
        min-height: 48px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .filter-label {
        font-size: 0.8rem;
    }
    
    .search-field select, .search-field input {
        padding: 12px 14px;
        font-size: 0.9rem;
        border-radius: 12px;
    }
    
    .input-icon-wrapper select,
    .input-icon-wrapper input {
        padding-left: 40px !important;
    }
    
    .input-icon {
        left: 12px;
        font-size: 0.9rem;
    }
    
    .search-field select {
        padding-right: 40px;
        background-position: right 12px center;
    }
    
    .btn-search {
        padding: 14px 24px;
        font-size: 0.95rem;
        border-radius: 12px;
    }
    
    .btn-toggle-filters {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .pill-option span {
        padding: 7px 12px;
        font-size: 0.8rem;
    }
    
    .price-range-display {
        padding: 12px 16px;
        font-size: 0.95rem;
    }
    
    .price-range-display span {
        font-size: 0.95rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

/* ===== LOADING ANIMATION ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease-in;
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* ===== PRINT STYLES ===== */
@media print {
    .site-header,
    .hero-section,
    .scroll-to-top,
    .btn {
        display: none;
    }
}

/* ===== WHATSAPP INTEGRATION ===== */

/* Floating WhatsApp Button - Premium Design */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 50%, #075E54 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4),
              0 0 40px rgba(37, 211, 102, 0.3),
              inset 0 2px 0 rgba(255, 255, 255, 0.2);
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  border: 2px solid rgba(37, 211, 102, 0.3);
  animation: floatPulse 3s ease-in-out infinite;
  backdrop-filter: blur(10px);
  overflow: visible;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 215, 0, 0.4) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
  animation: rotateRing 3s linear infinite;
  z-index: -1;
}

.whatsapp-float::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.2);
  animation: ripple 2s ease-out infinite;
}

@keyframes floatPulse {
  0%, 100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-5px) scale(1.05);
  }
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

@keyframes rotateRing {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.whatsapp-float:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #0F7C6E 50%, #064E45 100%);
  transform: translateY(-8px) scale(1.12) rotate(5deg);
  box-shadow: 0 15px 45px rgba(37, 211, 102, 0.6),
              0 0 80px rgba(37, 211, 102, 0.5),
              inset 0 2px 0 rgba(255, 255, 255, 0.4);
  border-color: rgba(255, 215, 0, 0.6);
  color: var(--white);
  animation: none;
}

.whatsapp-float:hover::before {
  opacity: 1;
  animation-play-state: running;
}

.whatsapp-float:active {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
  animation: iconWiggle 2.5s ease-in-out infinite;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.whatsapp-float:hover i {
  animation: iconSpin 0.6s ease;
}

@keyframes iconWiggle {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(-10deg) scale(1.05);
  }
  75% {
    transform: rotate(10deg) scale(1.05);
  }
}

@keyframes iconSpin {
  0% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.2);
  }
  100% {
    transform: rotate(360deg) scale(1);
  }
}

/* WhatsApp Form Button - Premium Design */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 50%, #075E54 100%) !important;
  color: var(--white) !important;
  border: 2px solid rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3),
              0 0 40px rgba(37, 211, 102, 0.2),
              inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn-whatsapp::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.6s;
}

.btn-whatsapp:hover::before {
  left: 100%;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #20BA5A 0%, #0F7C6E 50%, #064E45 100%) !important;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5),
              0 0 60px rgba(37, 211, 102, 0.4),
              inset 0 1px 0 rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 215, 0, 0.5);
  color: var(--white) !important;
}

.btn-whatsapp:active {
  transform: translateY(-2px) scale(0.99);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp i {
  font-size: 1.5rem;
  animation: whatsappPulse 2s ease-in-out infinite;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.btn-whatsapp .btn-text {
  position: relative;
  z-index: 1;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.15) rotate(-5deg);
  }
  50% {
    transform: scale(1.1) rotate(5deg);
  }
  75% {
    transform: scale(1.15) rotate(-5deg);
  }
}

/* WhatsApp Button Particles Effect */
.btn-whatsapp::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 215, 0, 0.3) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s;
  animation: rotateGradient 3s linear infinite;
  z-index: -1;
}

.btn-whatsapp:hover::after {
  opacity: 1;
}

@keyframes shine {
  0% {
    left: -50%;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    left: 150%;
    opacity: 0;
  }
}

/* Form Actions Container */
.form-actions {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: stretch;
  margin-top: 10px;
}

.form-actions .btn {
  flex: 1;
  min-width: 220px;
  padding: 16px 30px;
  border-radius: 14px;
  font-size: 0.95rem;
  min-height: 54px;
}

/* Mobile WhatsApp Styles */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 80px;
    right: 16px;
    font-size: 26px;
  }
  
  .whatsapp-float:hover {
    transform: translateY(-4px) scale(1.08) rotate(5deg);
  }
  
  .whatsapp-header-btn .whatsapp-text {
    display: none;
  }
  
  .whatsapp-header-btn {
    padding: 10px 15px;
    margin-left: 10px;
  }
  
  .whatsapp-header-btn i {
    font-size: 1.5rem;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .form-actions .btn {
    width: 100%;
  }
}

/* No Brokerage Banner for Single Property Sidebar */
.no-brokerage-banner {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: #1a1a1a;
  padding: 14px 20px;
  border-radius: 10px;
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.no-brokerage-banner i {
  font-size: 1.3rem;
  color: #10B981;
}

/* === Breadcrumbs === */
.single-property-wrapper .breadcrumb-trail {
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.property-search-results-section .breadcrumb-trail {
  margin-bottom: 8px;
  font-size: 0.9rem;
}

/* === Single Property Page === */
.single-property-wrapper {
  padding-top: 70px;
  background: linear-gradient(180deg, var(--darker-color) 0%, var(--light-color) 100%);
}

.property-hero-image {
  width: 100%;
  height: 500px;
  overflow: hidden;
  position: relative;
}

.property-hero-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--darker-color), transparent);
}

.property-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-details-section {
  padding: 60px 20px;
  background: linear-gradient(180deg, var(--dark-color) 0%, var(--light-color) 100%);
}

.property-details-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.property-main-content {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.property-title {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.property-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

.property-status,
.property-type {
  padding: 8px 16px;
  border-radius: 50px;
  background: var(--primary-color);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}

.property-description {
  margin: 30px 0;
  line-height: 1.8;
  color: var(--text-medium);
}

.property-features-detailed {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #eee;
}

.property-features-detailed h3 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.features-list {
  list-style: none;
  padding: 0;
}

.features-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 1.1rem;
  color: var(--text-light);
}

.features-list li i {
  color: var(--primary-color);
  margin-right: 10px;
  width: 20px;
}

.property-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.property-price-card,
.agent-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 25px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  margin-bottom: 10px;
}

.agent-card h4 {
  color: var(--white);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.agent-info {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}

.agent-avatar {
  font-size: 3rem;
}

.agent-details strong {
  display: block;
  color: #111827;
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.agent-details p {
  color: var(--text-light);
  margin: 0;
}

.agent-contact p {
  margin: 10px 0;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.agent-contact p i {
  color: var(--primary-color);
  min-width: 18px;
}

.agent-contact a {
  color: var(--text-light);
  transition: var(--transition);
}

.agent-contact a:hover {
  color: var(--primary-color);
}

.agent-contact a[href*="wa.me"],
.contact-item a[href*="wa.me"],
.footer-section a[href*="wa.me"] {
  color: #25D366;
}

.contact-form-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--light-color) 100%);
}

.property-contact-section .contact-content {
  max-width: 800px;
  margin: 0 auto;
}

.property-contact-section .contact-content.single-column {
  display: block;
}

.property-inquiry-form {
  max-width: 700px;
  margin: 40px auto 0;
}

.btn-success {
  background: linear-gradient(135deg, #25D366 0%, #20c05c 100%);
  color: var(--white);
}

.btn-success:hover {
  background: linear-gradient(135deg, #20c05c 0%, #1ba952 100%);
  transform: translateY(-2px);
}

.agent-avatar i {
  font-size: 4rem;
  color: var(--primary-color);
}

/* === MERGED: social-links a (source lines 4486-4494 + 6629-6641) - auto-merged by agent - verify visually === */
.social-links a {
  /* Layout */
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  /* Box / shape */
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  /* Typography */
  font-size: 1.5rem;
  /* Transitions */
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-color);
  transform: translateY(-3px) scale(1.1);
}

.contact-info li i {
  margin-right: 10px;
  color: var(--primary-color);
  min-width: 20px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
}

.contact-info ul li {
  margin-bottom: 15px;
  color: #374151;
  white-space: normal;
  line-height: 1.6;
}

.contact-info a {
  color: #e63946;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.contact-info a:hover {
  color: #e63946;
}

.contact-info a[href*="wa.me"] {
  color: #25D366 !important;
}

.contact-info a[href*="wa.me"]:hover {
  color: #25D366 !important;
}

/* === MERGED: .footer-section ul li (source lines 4499-4510 + 6651-6657) === */
.footer-section ul li {
  /* Layout */
  display: flex;
  align-items: center;
  /* Spacing */
  margin-bottom: 10px;
  /* Typography */
  color: #374151;
  /* Transitions */
  transition: var(--transition);
}

.footer-section ul li:hover {
  color: var(--primary-color);
  cursor: pointer;
}

.footer-section ul li i {
  margin-right: 8px;
  min-width: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 768px) {
  .property-details-grid { grid-template-columns: 1fr; }
  .property-title { font-size: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .property-hero-image { height: 300px; }
}

/* === Empty States === */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
}

.empty-state .empty-state-icon {
  font-size: 48px;
  color: #9333EA;
  margin-bottom: 20px;
  display: block;
}

.empty-state h3 { margin-bottom: 10px; }
.empty-state p { color: #666; margin-bottom: 20px; }
.empty-state .btn { display: inline-block; }

/* === Testimonials === */
.testimonials-wrapper {
  overflow: hidden;
  width: 100%;
}

/* === Footer Icon Helpers === */
.icon-inline,
.icon-inline-sm {
  vertical-align: middle;
  margin-right: 6px;
}

.icon-inline-heart {
  vertical-align: middle;
  margin: -2px 4px 0;
}

/* === Admin Enquiries (WP Admin) === */
table.wp-list-table tr.status-new { background: #fff9e6; }
table.wp-list-table .enquiry-type {
  background: #4CAF50;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
}

table.wp-list-table .status-label.new { color: #ff9800; font-weight: bold; }
table.wp-list-table .status-label.contacted { color: #4CAF50; }
table.wp-list-table tr.no-enquiries td { text-align: center; padding: 40px; }
table.wp-list-table tr.no-enquiries p.muted { font-size: 16px; color: #666; }
table.wp-list-table a[href*="wa.me"] { color: #25D366; }

/* === GTM noscript iframe === */
noscript iframe.gtm-iframe { display: none; visibility: hidden; }

/* ===== ICON FONT UTILITIES (Remix Icon & Font Awesome) ===== */

/* Base styles for font icons */
.ri,
[class^="ri-"],
[class*=" ri-"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: inherit;
  line-height: 1;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Icon sizing utilities */
.icon-12 {
  font-size: 12px;
  width: 12px;
  height: 12px;
}

.icon-14 {
  font-size: 14px;
  width: 14px;
  height: 14px;
}

.icon-16 {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.icon-18 {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.icon-20 {
  font-size: 20px;
  width: 20px;
  height: 20px;
}

.icon-24 {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.icon-28 {
  font-size: 28px;
  width: 28px;
  height: 28px;
}

.icon-32 {
  font-size: 32px;
  width: 32px;
  height: 32px;
}

.icon-36 {
  font-size: 36px;
  width: 36px;
  height: 36px;
}

.icon-40 {
  font-size: 40px;
  width: 40px;
  height: 40px;
}

.icon-44 {
  font-size: 44px;
  width: 44px;
  height: 44px;
}

.icon-48 {
  font-size: 48px;
  width: 48px;
  height: 48px;
}

.icon-56 {
  font-size: 56px;
  width: 56px;
  height: 56px;
}

.icon-64 {
  font-size: 64px;
  width: 64px;
  height: 64px;
}

/* Icon spacing utilities */
.icon-left {
  margin-right: 0.5rem;
}

.icon-right {
  margin-left: 0.5rem;
}

.icon-top {
  margin-bottom: 0.5rem;
}

.icon-bottom {
  margin-top: 0.5rem;
}

/* Icon color utilities */
.icon-primary {
  color: var(--primary-color, #0077ff);
}

.icon-secondary {
  color: var(--secondary-color, #4a9eff);
}

.icon-success {
  color: var(--success-color, #28a745);
}

.icon-gold {
  color: var(--gold-accent, #ffd700);
}

.icon-accent {
  color: var(--accent-red, #ff4757);
}

.icon-light {
  color: var(--text-light, #c3c7d4);
}

.icon-muted {
  color: var(--text-muted, #9ca3af);
}

.icon-white {
  color: var(--white, #ffffff);
}

.icon-dark {
  color: var(--dark-color, #0a0a0f);
}

/* Icon alignment utilities */
.icon-center {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.icon-valign-top {
  vertical-align: top;
}

.icon-valign-middle {
  vertical-align: middle;
}

.icon-valign-bottom {
  vertical-align: bottom;
}

/* Icon rotation utilities */
.icon-rotate-90 {
  transform: rotate(90deg);
}

.icon-rotate-180 {
  transform: rotate(180deg);
}

.icon-rotate-270 {
  transform: rotate(270deg);
}

.icon-flip-h {
  transform: scaleX(-1);
}

.icon-flip-v {
  transform: scaleY(-1);
}

/* Icon opacity utilities */
.icon-opacity-50 {
  opacity: 0.5;
}

.icon-opacity-75 {
  opacity: 0.75;
}

.icon-opacity-100 {
  opacity: 1;
}

/* Icon animation utilities */
.icon-spin {
  animation: spin 1s linear infinite;
}

.icon-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ===== UNIVERSAL CLICKABLE CARDS ===== */
/* Make all cards feel clickable with cursor and subtle feedback */
.property-card,
.service-card,
.testimonial-card,
.founder-card,
.impact-counter {
  cursor: pointer;
  transition: all 0.3s ease;
}

/* Hover effects for clickable cards */
.property-card[role="button"]:hover,
.service-card[role="button"]:hover,
.testimonial-card[role="button"]:hover,
.founder-card[role="button"]:hover,
.impact-counter[role="button"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(106, 17, 203, 0.2);
}

/* Focus state for keyboard navigation */
.property-card[role="button"]:focus,
.service-card[role="button"]:focus,
.testimonial-card[role="button"]:focus,
.founder-card[role="button"]:focus,
.impact-counter[role="button"]:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.icon-bounce {
  animation: iconBounce 0.6s ease infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--primary-color);
  color: #fff;
  padding: 8px;
  text-decoration: none;
  z-index: 1000;
}

.skip-link:focus {
  top: 6px;
}

input:focus,
select:focus,
textarea:focus,
button:focus {
  outline: 2px solid var(--primary-color);
  border-radius: var(--border-radius, 4px);
}

.icon-24 {
  font-size: 24px;
  width: 24px;
  height: 24px;
}

.ri-star-s-fill,
.ri-check-line {
  color: var(--gold-accent, #ffd700);
  vertical-align: middle;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================
   AUTHENTICATION SYSTEM STYLES
   Google + Truecaller Login UI
   Lightweight & Performance-Optimized (<5KB)
   ===================================================== */

/* Auth Button in Navigation */
.btn-login {
  background: linear-gradient(135deg, #e63946 0%, #036813 100%);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.4);
}

/* User Profile Navigation */
.user-nav-item {
  position: relative;
}

.user-profile-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 8px;
  background: #25d366;
  border: 1px solid rgba(147, 51, 234, 0.3);
  transition: all 0.3s ease;
}

.user-profile-nav:hover {
  background: rgba(37, 211, 110, 0.2);
  border-color: rgba(37, 211, 110, 0.5);
}

.user-greeting {
  color: #111827;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: linear-gradient(135deg, #e63946 0%, #d62839 50%, #b71c1c 100%);
  border: 1px solid rgba(230, 57, 70, 0.7);
  border-radius: 12px;
  padding: 8px;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.user-nav-item:hover .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: #ffffff;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.dropdown-item i {
  color: #ffffff;
}

.dropdown-item:hover {
  background: rgba(0, 0, 0, 0.08);
  color: #ffffff;
}

.dropdown-item.logout {
  color: #ffffff;
}

.dropdown-item.logout:hover {
  background: rgba(255, 71, 87, 0.1);
}

/* Authentication Modal */
.auth-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

.auth-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
}

.auth-modal-content {
  position: relative;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.98) 0%, rgba(10, 10, 15, 0.98) 100%);
  backdrop-filter: blur(30px);
  padding: 40px;
  border-radius: 20px;
  max-width: 440px;
  width: 90%;
  border: 1px solid rgba(147, 51, 234, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.4s ease;
  z-index: 10001;
}

.auth-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: var(--text-light);
  font-size: 1.4rem;
}

.auth-modal-close:hover {
  background: rgba(255, 71, 87, 0.2);
  color: #ff4757;
  transform: rotate(90deg);
}

.auth-modal-header {
  text-align: center;
  margin-bottom: 32px;
}

.auth-modal-header h2 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 8px;
  font-weight: 700;
}

.auth-modal-header p {
  color: #ffffff;
  font-size: 0.95rem;
}

.auth-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.google-btn {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
}

.google-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.truecaller-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff;
}

.truecaller-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.auth-note {
  margin-top: 24px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-note i {
  color: #28a745;
}

/* Role Selection Styles */
.role-selection-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: linear-gradient(135deg, var(--dark-color) 0%, var(--darker-color) 50%, var(--light-color) 100%);
}

.role-selection-container {
  max-width: 1000px;
  width: 100%;
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.role-selection-header {
  text-align: center;
  margin-bottom: 40px;
}

.role-selection-header h1 {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 12px;
  font-weight: 700;
}

.role-selection-header p {
  font-size: 1.1rem;
  color: var(--text-light);
}

.role-error-message {
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  color: #ff4757;
  display: flex;
  align-items: center;
  gap: 10px;
}

.role-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.role-card {
  position: relative;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(26, 26, 46, 0.4);
  border: 2px solid rgba(147, 51, 234, 0.2);
}

.role-card:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 51, 234, 0.5);
  box-shadow: 0 12px 32px rgba(147, 51, 234, 0.2);
}

.role-card.selected {
  border-color: #9333ea;
  background: rgba(147, 51, 234, 0.15);
  box-shadow: 0 12px 32px rgba(147, 51, 234, 0.3);
}

.role-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.role-content {
  padding: 32px 24px;
  text-align: center;
}

.role-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, #9333ea 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #ffffff;
}

.role-content h3 {
  font-size: 1.4rem;
  color: #111827;
  margin-bottom: 8px;
  font-weight: 700;
}

.role-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.role-features {
  list-style: none;
  text-align: left;
}

.role-features li {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.role-features i {
  color: #28a745;
}

.role-submit {
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, #e63946 0%, #d62839 100%);
  color: #ffffff;
  border: none;
  padding: 16px 90px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 57, 70, 0.3);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Dashboard Styles */
.dashboard-container {
  min-height: 100vh;
  padding: 100px 20px 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.dashboard-welcome h1 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 8px;
  font-weight: 700;
}

.dashboard-welcome p {
  color: var(--text-light);
  font-size: 1rem;
}

.dashboard-role-badge {
  background: linear-gradient(135deg, #9333ea 0%, #3b82f6 100%);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.dashboard-role-badge.owner {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.dashboard-role-badge.agent {
  background: linear-gradient(135deg, #ffa500 0%, #ff6b6b 100%);
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.stat-card {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 16px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(147, 51, 234, 0.4);
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.2);
}

.stat-card i {
  font-size: 2.5rem;
  color: #9333ea;
}

.stat-info h4 {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 4px;
  font-weight: 500;
}

.stat-number {
  font-size: 2rem;
  color: #111827;
  font-weight: 700;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.dashboard-card {
  background: rgba(26, 26, 46, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 51, 234, 0.2);
  border-radius: 16px;
  padding: 28px;
  transition: all 0.3s ease;
}

.dashboard-card:hover {
  border-color: rgba(147, 51, 234, 0.4);
  box-shadow: 0 8px 24px rgba(147, 51, 234, 0.15);
}

.dashboard-card.full-width {
  grid-column: 1 / -1;
}

.dashboard-card h3 {
  color: #111827;
  font-size: 1.2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: rgba(147, 51, 234, 0.1);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 10px;
  color: var(--text-medium);
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.action-btn:hover {
  background: rgba(147, 51, 234, 0.2);
  border-color: rgba(147, 51, 234, 0.5);
  color: #111827;
  transform: translateX(4px);
}

.action-btn.primary {
  background: linear-gradient(135deg, #9333ea 0%, #3b82f6 100%);
  border: none;
  color: #ffffff;
}

.action-btn.primary:hover {
  transform: translateX(4px) translateY(-2px);
  box-shadow: 0 8px 20px rgba(147, 51, 234, 0.3);
}

.empty-state {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-light);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 12px;
  display: block;
  opacity: 0.5;
}

.empty-state-large {
  text-align: center;
  padding: 60px 20px;
}

.empty-state-large i {
  font-size: 4rem;
  color: rgba(147, 51, 234, 0.4);
  margin-bottom: 20px;
}

.empty-state-large h4 {
  color: #111827;
  font-size: 1.4rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.empty-state-large p {
  color: var(--text-light);
  margin-bottom: 24px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .auth-modal-content {
    padding: 32px 24px;
  }
  
  .role-selection-container {
    padding: 40px 24px;
  }
  
  .role-options {
    grid-template-columns: 1fr;
  }
  
  .dashboard-container {
    padding: 80px 16px 32px;
  }
  
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  
  .user-dropdown {
    right: -10px;
  }
  
  .btn-login {
    padding: 8px 16px;
    font-size: 0.9rem;
  }
}

/* Fix property card hover text visibility */

.property-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.property-card-link:hover {
    text-decoration: none;
    color: inherit;
    transform: none; /* Prevent unwanted scaling if any */
}

.property-card-link:hover * {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
    color: inherit !important;
    opacity: 1 !important;
}

.property-card-link:hover h3,
.property-card-link:hover .property-price,
.property-card-link:hover p,
.property-card-link:hover .dcdh-featured-badge {
    color: var(--text-medium) !important;
    text-shadow: none !important;
    background: none !important;
}

/* Ensure images don't break on hover */
.property-image {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.property-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

