/* ==========================================================================
   ESTATE MANTRAA - MASTER STYLESHEET
   Design Theme: Geometric Balance (Slate, Sky, Indigo, Rose, Amber, Pure Clean Grids)
   Pure Vanilla CSS3 - 100% Shared Hosting & public_html Ready
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Poppins:wght@500;600;700;800;900&display=swap');

:root {
  /* Geometric Balance - Primary Slate & Navy Core */
  --brand-navy: #0f172a;        /* Deep Slate 900 */
  --brand-navy-dark: #020617;   /* Slate 950 */
  --brand-navy-light: #1e293b;  /* Slate 800 */
  
  /* Geometric Balance - Sky & Cyan Primary Accents */
  --brand-cyan: #0ea5e9;        /* Sky 500 */
  --brand-cyan-dark: #0284c7;   /* Sky 600 */
  --brand-teal: #0891b2;        /* Cyan 600 */
  
  /* Geometric Balance - Indigo & Violet Secondary */
  --brand-purple: #4f46e5;      /* Indigo 600 */
  --brand-purple-deep: #3730a3; /* Indigo 800 */
  
  /* Geometric Balance - Orange & Warm Amber */
  --brand-orange: #f97316;      /* Orange 500 */
  --brand-orange-light: #fb923c;/* Orange 400 */
  --brand-gold: #f59e0b;        /* Amber 500 */
  
  /* Geometric Balance - Rose & Magenta */
  --brand-magenta: #e11d48;     /* Rose 600 */
  --brand-pink: #f43f5e;        /* Rose 500 */

  /* Geometric Gradients */
  --grad-navy: linear-gradient(135deg, #07152f 0%, #0f172a 50%, #1e293b 100%);
  --grad-estate: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0284c7 100%);
  --grad-mantraa: linear-gradient(135deg, #f97316 0%, #e11d48 50%, #be123c 100%);
  --grad-accent: linear-gradient(135deg, #0ea5e9 0%, #4f46e5 50%, #e11d48 100%);
  --grad-cta: linear-gradient(135deg, #f97316 0%, #e11d48 100%);
  --grad-sky: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  --grad-indigo: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
  --grad-dark-overlay: linear-gradient(180deg, rgba(15, 23, 42, 0.78) 0%, rgba(2, 6, 23, 0.94) 100%);
  --grad-light-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --grad-subtle-mesh: radial-gradient(at 0% 0%, rgba(14, 165, 233, 0.06) 0px, transparent 50%),
                      radial-gradient(at 100% 100%, rgba(225, 29, 72, 0.04) 0px, transparent 50%);

  /* Neutrals & Surfaces - Geometric Balance */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-muted: #e2e8f0;
  --bg-dark: #0f172a;
  
  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-light: #e2e8f0;
  --border-medium: #cbd5e1;
  --border-focus: #0ea5e9;

  /* Functional Status */
  --status-success: #10b981;
  --status-warning: #f59e0b;
  --status-info: #0284c7;
  --status-danger: #ef4444;

  /* Geometric Shadows - Clean, structured micro-elevations */
  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.08), 0 4px 6px -4px rgba(15, 23, 42, 0.03);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 8px 24px rgba(14, 165, 233, 0.22);
  --shadow-orange: 0 8px 20px rgba(249, 115, 22, 0.25);
  --shadow-rose: 0 8px 20px rgba(225, 29, 72, 0.25);

  /* Radius - Geometric Balance (Consistent Mathematical Geometry) */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography */
  --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--brand-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
h5 { font-size: 1rem; font-weight: 600; }
h6 { font-size: 0.875rem; font-weight: 600; }

p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Containers & Grid */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-fluid {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-subtle {
  background-color: var(--bg-subtle);
}

.section-dark {
  background-color: var(--brand-navy);
  color: #ffffff;
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: #94a3b8;
}

/* Section Header Component */
.section-header {
  margin-bottom: 48px;
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  color: var(--brand-cyan-dark);
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.section-dark .section-tag {
  background: rgba(14, 165, 233, 0.15);
  border-color: rgba(14, 165, 233, 0.35);
  color: #38bdf8;
}

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  color: var(--brand-navy);
  margin-bottom: 14px;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ==========================================================================
   GLOBAL NAVBAR
   ========================================================================== */
.top-bar {
  background: var(--brand-navy-dark);
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: var(--brand-cyan);
}

.top-bar-item i {
  color: var(--brand-cyan);
  font-size: 0.85rem;
}

.main-navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.main-navbar.scrolled {
  padding-top: 2px;
  padding-bottom: 2px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  transition: height var(--transition-normal);
}

.main-navbar.scrolled .navbar-container {
  height: 70px;
}

/* Brand Logo Container */
.brand-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 58px;
  min-width: auto;
  flex-shrink: 0;
  text-decoration: none;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  overflow: visible;
}

.brand-logo-img {
  display: block;
  width: auto;
  height: 54px;
  max-height: 54px;
  max-width: 175px;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  image-rendering: -webkit-optimize-contrast;
  transition: transform var(--transition-normal);
}

.main-navbar.scrolled .brand-logo {
  height: 56px;
  min-width: auto;
}

.main-navbar.scrolled .brand-logo-img {
  width: auto;
  height: 52px;
  max-height: 52px;
  max-width: 170px;
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}

.mobile-nav-header {
  display: none;
}

/* Desktop Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item {
  position: relative;
}

/* Hover bridge between nav-link and dropdown */
.nav-item::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
  display: block;
  z-index: 9999;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--brand-navy);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
}

.nav-link i.fa-chevron-down {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
  color: var(--text-muted);
}

.nav-link:hover, .nav-item.dropdown-open .nav-link {
  color: var(--brand-cyan-dark);
  background: rgba(0, 188, 212, 0.08);
}

.nav-item.active .nav-link {
  color: #0284c7;
  background: #e0f2fe;
  font-weight: 700;
}

/* Dropdown Menus - Desktop Luxury Style */
@media (min-width: 1200px) {
  .dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 260px;
    background: #ffffff !important;
    color: #0b1630 !important;
    border-radius: var(--radius-lg);
    padding: 10px;
    box-shadow: 0 20px 45px -5px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(229, 231, 235, 0.9);
    border: 1px solid #e5e7eb;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 10000 !important;
  }

  .nav-item:hover .nav-link i.fa-chevron-down,
  .nav-item.dropdown-open .nav-link i.fa-chevron-down {
    transform: rotate(180deg);
    color: var(--brand-cyan-dark);
  }

  .nav-item:hover > .dropdown-menu,
  .nav-item.dropdown-open > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  color: #0b1630 !important;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  background: transparent;
}

.dropdown-link i {
  color: var(--brand-cyan);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
  transition: color var(--transition-fast);
}

.dropdown-link:hover {
  background: #f0f9ff !important;
  color: #07152f !important;
  transform: translateX(4px);
}

.dropdown-link:hover i {
  color: #0284c7;
}

/* Mega Menu - Buy Property 3-Column Luxury Dropdown */
.dropdown-menu.mega-menu-buy {
  width: 780px;
  max-width: calc(100vw - 32px);
  left: -80px;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #ffffff !important;
  box-shadow: 0 25px 60px -10px rgba(7, 21, 47, 0.25), 0 0 0 1px rgba(229, 231, 235, 0.95);
  border: 1px solid #e5e7eb;
}

.mega-menu-header {
  background: #f8fafc;
  padding: 14px 22px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mega-menu-tag {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  color: #0b1630;
  display: flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mega-menu-tag i {
  color: #009fe3;
  font-size: 1.05rem;
}

.mega-menu-view-all {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0284c7;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mega-menu-view-all:hover {
  color: #0f172a;
  transform: translateX(3px);
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px;
  background: #ffffff !important;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
}

.mega-col-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #0b1630;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 10px 0;
  padding-bottom: 6px;
  border-bottom: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mega-col-title i {
  color: #0ea5e9;
  font-size: 0.88rem;
}

.mega-col-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.mega-menu-buy .dropdown-link {
  padding: 8px 10px;
  font-size: 0.875rem;
  color: #0b1630 !important;
  border-radius: 8px;
}

.mega-menu-buy .dropdown-link i {
  color: #0284c7;
  font-size: 0.85rem;
}

.mega-menu-buy .dropdown-link:hover {
  background: #f0f9ff !important;
  color: #07152f !important;
}

/* Navbar Right Actions */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-action-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--brand-navy);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.nav-action-btn:hover {
  background: #ffffff;
  color: var(--brand-magenta);
  border-color: var(--brand-magenta);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--grad-mantraa);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(233, 30, 99, 0.4);
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--brand-navy);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ==========================================================================
   BUTTONS SYSTEM
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.2;
}

.btn-primary {
  background: var(--grad-cta);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(245, 124, 0, 0.4);
  color: #ffffff;
}

.btn-secondary {
  background: var(--brand-navy);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background: var(--brand-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

.btn-teal, .btn-sky {
  background: var(--grad-sky);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-teal:hover, .btn-sky:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(14, 165, 233, 0.4);
  color: #ffffff;
}

.btn-indigo {
  background: var(--grad-indigo);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
}

.btn-indigo:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--brand-navy);
  border-color: var(--border-light);
}

.btn-outline:hover {
  background: #ffffff;
  border-color: var(--brand-cyan-dark);
  color: var(--brand-cyan-dark);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 70px 0 90px;
  background: #0f172a;
  color: #ffffff;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  display: block;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.45);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffe082;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.4rem, 4.8vw, 4rem);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 18px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  background: linear-gradient(135deg, #ffd54f 0%, #ff9800 50%, #f06292 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #e2e8f0;
  max-width: 760px;
  margin: 0 auto 36px;
  font-weight: 400;
}

/* New Projects Search Tab - Notification Bell Animation */
.tab-notify-bell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ff9800;
  margin-left: 5px;
  transform-origin: top center;
  animation: bellSwing 4.5s ease-in-out infinite;
  filter: drop-shadow(0 1px 3px rgba(255, 152, 0, 0.45));
  pointer-events: none;
  line-height: 1;
  flex-shrink: 0;
}

.search-tab-btn.active .tab-notify-bell {
  color: #ffd54f;
  filter: drop-shadow(0 1px 4px rgba(255, 213, 79, 0.55));
}

@keyframes bellSwing {
  0%, 62%, 100% {
    transform: rotate(0deg);
  }
  67% {
    transform: rotate(14deg);
  }
  72% {
    transform: rotate(-12deg);
  }
  77% {
    transform: rotate(8deg);
  }
  82% {
    transform: rotate(-6deg);
  }
  87% {
    transform: rotate(3deg);
  }
  92% {
    transform: rotate(0deg);
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: var(--brand-navy-dark);
  color: #94a3b8;
  padding-top: 80px;
  padding-bottom: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 60px;
}

.footer-brand-col {
  padding-right: 20px;
}

.footer-logo {
  width: 108px;
  height: 108px;
  max-height: 108px;
  max-width: 108px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: left center;
  display: block;
  margin-bottom: 16px;
  image-rendering: -webkit-optimize-contrast;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.footer-logo:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.footer-tagline {
  color: #cbd5e1;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.06);
  color: #cbd5e1;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.social-btn:hover {
  background: var(--grad-cta);
  color: #ffffff;
  transform: translateY(-3px);
  border-color: transparent;
}

.footer-heading {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 32px;
  height: 3px;
  background: var(--brand-cyan);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94a3b8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.footer-link i {
  font-size: 0.75rem;
  color: var(--brand-cyan);
}

.footer-link:hover {
  color: var(--brand-cyan);
  transform: translateX(4px);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-contact-item i {
  color: var(--brand-cyan);
  font-size: 1.1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #94a3b8;
}

.footer-bottom-links a:hover {
  color: var(--brand-cyan);
}

/* ==========================================================================
   ESTATE MANTRAA - SOCIAL MEDIA & COMMUNITY FEED SECTION
   ========================================================================== */
#socialMediaSection,
.section-social-media {
  background: radial-gradient(at 50% 0%, rgba(14, 165, 233, 0.04) 0px, transparent 60%),
              radial-gradient(at 100% 100%, rgba(249, 115, 22, 0.03) 0px, transparent 50%),
              #f8fafc;
  padding: 72px 0 80px;
  border-top: 1px solid var(--border-light, #e2e8f0);
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

#socialMediaSection .social-feed-grid,
.social-feed-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch;
  margin-bottom: 48px;
  width: 100% !important;
  box-sizing: border-box;
}

#socialMediaSection .social-post-card,
.social-post-card {
  background: #ffffff !important;
  border: 1px solid var(--border-light, #e2e8f0) !important;
  border-radius: var(--radius-xl, 20px) !important;
  padding: 24px !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02) !important;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.28s ease;
  text-decoration: none !important;
  color: var(--text-main, #0f172a) !important;
  position: relative;
  overflow: hidden;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
}

.social-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px -4px rgba(15, 23, 42, 0.1), 0 4px 12px -2px rgba(15, 23, 42, 0.04) !important;
  border-color: rgba(14, 165, 233, 0.35) !important;
}

.social-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.social-platform-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-icon-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.social-icon-badge.ig-badge {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
}

.social-icon-badge.yt-badge {
  background: #ff0000;
}

.social-icon-badge.fb-badge {
  background: #1877f2;
}

.social-platform-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--brand-navy, #0f172a);
  margin: 0;
  line-height: 1.2;
}

.social-platform-handle {
  font-size: 0.8rem;
  color: var(--text-muted, #64748b);
  font-weight: 500;
}

.social-more-btn {
  color: var(--text-light, #94a3b8);
  font-size: 1rem;
  padding: 6px;
  transition: color 0.2s ease;
}

.social-post-card:hover .social-more-btn {
  color: var(--text-main, #0f172a);
}

.social-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted, #64748b);
  line-height: 1.5;
  margin: 0 0 18px 0;
  flex-shrink: 0;
}

/* Card 1 - Instagram 2x2 Image Grid */
#socialMediaSection .social-ig-gallery,
.social-ig-gallery {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-bottom: 22px;
  flex-grow: 1;
  width: 100% !important;
  box-sizing: border-box;
}

#socialMediaSection .social-ig-thumb,
.social-ig-thumb {
  position: relative;
  aspect-ratio: 1 / 1 !important;
  border-radius: 12px;
  overflow: hidden;
  background: #e2e8f0;
  width: 100% !important;
  height: auto !important;
  display: block;
}

#socialMediaSection .social-ig-thumb img,
.social-ig-thumb img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  transition: transform 0.4s ease;
}

.social-ig-thumb .thumb-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.social-post-card:hover .social-ig-thumb img {
  transform: scale(1.06);
}

.social-ig-thumb:hover .thumb-hover-overlay {
  opacity: 1;
}

/* Card 2 - YouTube Video List */
#socialMediaSection .social-yt-list,
.social-yt-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 22px;
  flex-grow: 1;
  width: 100% !important;
}

.social-yt-thumb-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light, #e2e8f0);
  transition: background 0.2s ease, transform 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.social-yt-thumb-item:hover {
  background: #f1f5f9;
  transform: translateX(3px);
}

.yt-thumb-wrapper {
  position: relative;
  width: 80px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: #0f172a;
}

.yt-thumb-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.yt-play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.social-yt-thumb-item:hover .yt-play-icon {
  background: rgba(255, 0, 0, 0.85);
  transform: scale(1.05);
}

.yt-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.yt-title {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--brand-navy, #0f172a);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.yt-tag {
  font-size: 0.72rem;
  color: #e11d48;
  font-weight: 600;
}

/* Card 3 - Facebook Feed Items */
#socialMediaSection .social-fb-feed,
.social-fb-feed {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
  margin-bottom: 22px;
  flex-grow: 1;
  width: 100% !important;
}

.fb-post-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light, #e2e8f0);
  transition: background 0.2s ease, transform 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

.fb-post-preview:hover {
  background: #f1f5f9;
  transform: translateX(3px);
}

.fb-post-img-box {
  position: relative;
  width: 72px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.fb-post-img-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

.fb-badge-tag {
  position: absolute;
  bottom: 3px;
  left: 3px;
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  text-transform: uppercase;
}

.fb-post-caption {
  font-size: 0.82rem;
  color: var(--text-main, #0f172a);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fb-post-caption strong {
  color: #1877f2;
}

/* Card Bottom Action Buttons */
.social-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border-light, #e2e8f0);
  width: 100%;
}

.social-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
  transition: filter 0.2s ease, transform 0.2s ease;
  box-sizing: border-box;
}

.social-action-btn i {
  font-size: 0.85rem;
  transition: transform 0.2s ease;
}

.social-post-card:hover .social-action-btn {
  filter: brightness(1.06);
}

.social-post-card:hover .social-action-btn i {
  transform: translate(2px, -2px);
}

.social-action-btn.ig-btn {
  background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.22);
}

.social-action-btn.yt-btn {
  background: #ff0000;
  box-shadow: 0 4px 14px rgba(255, 0, 0, 0.22);
}

.social-action-btn.fb-btn {
  background: #1877f2;
  box-shadow: 0 4px 14px rgba(24, 119, 242, 0.22);
}

/* Secondary Social Links Row */
.secondary-socials-wrapper {
  text-align: center;
  padding-top: 12px;
  width: 100%;
}

.secondary-socials-heading {
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-muted, #64748b);
  margin-bottom: 16px;
}

.secondary-socials-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.secondary-social-btn {
  background: #ffffff;
  border: 1px solid var(--border-light, #e2e8f0);
  border-radius: 12px;
  padding: 12px 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--brand-navy, #0f172a);
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.secondary-social-btn:hover {
  transform: translateY(-3px);
  border-color: var(--brand-cyan, #0ea5e9);
  box-shadow: 0 8px 20px -2px rgba(15, 23, 42, 0.08);
  color: var(--brand-cyan-dark, #0284c7);
}

.secondary-icon-li {
  color: #0a66c2;
  font-size: 1.15rem;
}

.secondary-icon-x {
  color: #0f172a;
  font-size: 1.05rem;
}

.secondary-icon-wa {
  color: #25d366;
  font-size: 1.2rem;
}

.secondary-arrow {
  font-size: 0.78rem;
  color: var(--text-light, #94a3b8);
  transition: transform 0.2s ease, color 0.2s ease;
}

.secondary-social-btn:hover .secondary-arrow {
  color: var(--brand-cyan, #0ea5e9);
  transform: translate(2px, -2px);
}




/* Preloader Circular Logo Fix */
.preloader-logo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

