/* ============================================
   JUBILEE PAVILION - PROFESSIONAL STYLES
   ============================================ */

:root {
  --gold: #d39b3a;
  --gold-dark: #b8841e;
  --gold-light: #e6b87d;
  --bg-navy: #0f1631;
  --navy-dark: #0a0f1e;
  --navy-light: #1a2a4a;
  --text-primary: #1a1a1a;
  --text-light: #666666;
  --bg-light: #f8f9fb;
  --border-light: #e8eaef;
  --white: #ffffff;
  
  --spacing-1: 4px;
  --spacing-2: 8px;
  --spacing-3: 12px;
  --spacing-4: 16px;
  --spacing-5: 24px;
  --spacing-6: 32px;
  --spacing-7: 48px;
  
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.16);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-primary);
  background-color: var(--white);
  line-height: 1.6;
  font-size: 16px;
  font-weight: 400;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1, .display-4, .display-5, .display-6 {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: -0.5px;
}

p {
  color: var(--text-light);
  margin-bottom: var(--spacing-4);
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold-dark);
}

img {
  max-width: 100%;
  height: auto;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.site-header {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(211, 155, 58, 0.15);
  z-index: 1030;
  padding: 16px 0;
  transition: var(--transition);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.site-header.scrolled {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.header-top {
  height: 100%;
}

.header-top .d-flex {
  height: 80px;
}

.logo-brand {
  display: flex;
  align-items: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.logo-brand:hover {
  opacity: 0.9;
}

.logo-image {
  height: 110px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}

.logo-brand:hover .logo-image {
  transform: scale(1.05);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: flex-end;
}

.navbar {
  padding: 0 !important;
  margin: 0 !important;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-link {
  color: var(--bg-navy) !important;
  font-weight: 600;
  padding: 8px 14px !important;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link:hover {
  color: var(--gold) !important;
  background: rgba(211, 155, 58, 0.08);
}

.nav-link.active {
  color: var(--gold) !important;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--gold);
  border-radius: 1px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.header-divider {
  width: 1px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
}

.social-header {
  display: flex;
  gap: 16px;
  align-items: center;
}

.social-icon {
  color: var(--bg-navy);
  font-size: 18px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(211, 155, 58, 0.08);
  border: 1px solid rgba(211, 155, 58, 0.2);
}

.social-icon:hover {
  color: var(--white);
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.social-icon.whatsapp-icon:hover {
  background: #25d366;
  border-color: #25d366;
}

.navbar-toggler {
  border: none;
  padding: 0;
  font-size: 1.5rem;
}

.navbar-toggler-icon {
  display: block;
  width: 28px;
  height: 28px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230f1631' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.site-header:not(.home-header) .logo-brand {
  width: 128px;
  height: 80px;
  overflow: hidden;
  justify-content: center;
}

.site-header:not(.home-header) .logo-image {
  height: 190px;
  max-width: none;
}

.site-header:not(.home-header) .dropdown-menu {
  margin-top: 12px;
}

.site-header:not(.home-header) .dropdown-toggle::after,
.home-header .dropdown-toggle::after {
  vertical-align: middle;
  margin-left: 6px;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  font-weight: 600;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}

.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 155, 58, 0.3);
}

.btn-navy {
  background: var(--bg-navy);
  color: var(--white);
  border: 2px solid var(--bg-navy);
}

.btn-navy:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  color: var(--white);
}

.btn-outline-light {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: transparent;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.btn-outline-navy {
  color: var(--bg-navy);
  border: 2px solid var(--bg-navy);
  background: transparent;
}

.btn-outline-navy:hover {
  background: var(--bg-navy);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-link {
  color: var(--gold);
  text-decoration: none;
  border: none;
  padding: 0;
  font-weight: 600;
}

.btn-link:hover {
  color: var(--gold-dark);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 15px;
}

/* ============================================
   INNER PAGE HEROES
   ============================================ */

.page-content {
  overflow-x: hidden;
}

.page-hero.hero-secondary {
  min-height: 420px;
  padding: 150px 0 90px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(120deg, rgba(16, 33, 60, 0.94), rgba(16, 33, 60, 0.72)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?w=1800&h=1000&fit=crop") center/cover;
}

.page-hero.hero-secondary h1 {
  color: var(--white);
  letter-spacing: 0;
}

.page-hero.hero-secondary p {
  color: rgba(255, 255, 255, 0.78);
}

/* ============================================
   HERO SLIDER SECTION
   ============================================ */

.hero-slider-section {
  margin-top: 80px;
  height: 70vh;
  min-height: 500px;
  max-height: 700px;
  position: relative;
  overflow: hidden;
}

.carousel {
  height: 100%;
}

.carousel-item {
  height: 100%;
  display: flex;
  align-items: center;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.3) 50%, transparent 100%);
  z-index: 1;
}

.carousel-label {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-4);
}

.carousel-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--spacing-5);
  line-height: 1.1;
}

.carousel-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: var(--spacing-5);
}

.carousel-cta {
  display: flex;
  gap: var(--spacing-4);
  flex-wrap: wrap;
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  background: rgba(211, 155, 58, 0.8);
  border-radius: 50%;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  border: none;
}

.carousel-control-prev {
  left: 40px;
}

.carousel-control-next {
  right: 40px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--gold);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 24px;
  height: 24px;
  background-size: contain;
}

.carousel-indicators {
  bottom: 40px;
  gap: var(--spacing-4);
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: var(--transition);
}

.carousel-indicators button.active {
  background: var(--gold);
  width: 32px;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .hero-slider-section {
    margin-top: 60px;
    height: auto;
    min-height: 400px;
  }

  .carousel-title {
    font-size: 2.5rem;
  }

  .carousel-description {
    font-size: 1rem;
  }

  .carousel-cta {
    flex-direction: column;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 48px;
    height: 48px;
  }

  .carousel-control-prev {
    left: 20px;
  }

  .carousel-control-next {
    right: 20px;
  }
}

/* ============================================
   SECTIONS
   ============================================ */

.section {
  overflow: hidden;
  padding: 5rem 0;
}

.section-header {
  margin-bottom: var(--spacing-7);
}

.section-label {
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  display: block;
  margin-bottom: var(--spacing-4);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: var(--spacing-4);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FEATURED PROPERTIES SECTION
   ============================================ */

.featured-properties {
  background: var(--white);
}

.property-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
}

.property-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.property-image {
  width: 100%;
  height: 280px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.property-type {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gold);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.property-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.property-card h4 {
  font-size: 1.25rem;
  margin: var(--spacing-5) 0 var(--spacing-2) 0;
}

.property-desc {
  flex: 1;
  line-height: 1.6;
}

.property-meta {
  border-top: 1px solid var(--border-light);
  padding-top: var(--spacing-4);
}

/* ============================================
   MARKET INSIGHTS SECTION
   ============================================ */

.market-insights {
  background: var(--bg-light);
}

.insight-card {
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.insight-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.insight-number {
  line-height: 1;
}

.insight-card h4 {
  font-size: 1.5rem;
  margin-bottom: var(--spacing-3);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */

.advantage-item {
  transition: var(--transition);
}

.advantage-item:hover {
  transform: translateX(8px);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.advantage-item h5 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-2);
}

/* ============================================
   STATISTICS SECTION
   ============================================ */

.statistics-section {
  background: linear-gradient(135deg, var(--bg-navy) 0%, var(--navy-light) 100%);
}

.stat-item {
  padding: var(--spacing-6);
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid rgba(211, 155, 58, 0.1);
}

.stat-item:hover {
  background: rgba(211, 155, 58, 0.05);
  border-color: rgba(211, 155, 58, 0.2);
}

.stat-number {
  line-height: 1;
  margin-bottom: var(--spacing-3);
}

.stat-label {
  font-weight: 600;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   SERVICES SECTION
   ============================================ */

.service-card {
  padding: var(--spacing-6);
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
  border-color: var(--gold);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--bg-navy);
  color: var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto var(--spacing-4);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--gold);
  color: var(--white);
  transform: scale(1.1);
}

.service-card h5 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-3);
}

.service-card p {
  font-size: 0.95rem;
  margin: 0;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */

.testimonials {
  background: var(--bg-light);
}

.testimonial-card {
  border: 1px solid var(--border-light);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--gold);
}

.stars {
  display: flex;
  gap: 4px;
}

.testimonial-card p {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--bg-navy) 0%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
  color: white;
}

.cta-background {
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(211, 155, 58, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.cta-section h2 {
  color: var(--white);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: linear-gradient(180deg, var(--bg-navy) 0%, var(--navy-dark) 100%);
  color: rgba(255, 255, 255, 0.8);
  border-top: 2px solid rgba(211, 155, 58, 0.2);
  padding: 5rem 0 2rem;
}

.footer-brand {
  margin-bottom: 1.5rem;
}

.footer-brand h5 {
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-description {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.social-footer {
  display: flex;
  gap: 12px;
}

.footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(211, 155, 58, 0.1);
  border: 1px solid rgba(211, 155, 58, 0.3);
  color: var(--gold);
  font-size: 18px;
  transition: var(--transition);
}

.footer-social-icon:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(211, 155, 58, 0.3);
}

.footer-social-icon:hover.whatsapp-icon {
  background: #25d366;
  border-color: #25d366;
}

.footer-title {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(211, 155, 58, 0.3);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 0.75rem 0;
}

.contact-item i {
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.25rem;
}

.contact-value {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.contact-value:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(211, 155, 58, 0.2);
  margin-top: 3rem;
  padding-top: 2rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.footer-credit {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeUpAnimation {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUpAnimation 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }
.delay-5 { animation-delay: 0.75s; }
.delay-6 { animation-delay: 0.9s; }
.delay-7 { animation-delay: 1.05s; }

.show {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   UTILITIES
   ============================================ */

.text-gold {
  color: var(--gold);
}

.bg-gold {
  background: var(--gold);
}

.bg-navy {
  background: var(--bg-navy);
}

.bg-light {
  background: var(--bg-light);
}

.fw-600 {
  font-weight: 600;
}

.fw-700 {
  font-weight: 700;
}

.fw-800 {
  font-weight: 800;
}

.z-1 {
  position: relative;
  z-index: 1;
}

/* ============================================
   FLOATING WHATSAPP BUTTON
   ============================================ */

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
  z-index: 1000;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  background: #20ba58;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
  }
}

@media (max-width: 767px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 24px;
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 991px) {
  .logo-image {
    height: 90px;
  }

  .social-header {
    gap: 10px;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    font-size: 16px;
  }

  .header-right {
    gap: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .carousel-title {
    font-size: 2rem;
  }

  .carousel-description {
    font-size: 1rem;
  }

  .section {
    padding: 3.5rem 0;
  }
}

@media (max-width: 767px) {
  :root {
    font-size: 15px;
  }

  .site-header {
    padding: 12px 0;
  }

  .header-top .d-flex {
    height: 70px;
  }

  .logo-image {
    height: 70px;
  }

  .header-divider {
    display: none !important;
  }

  .social-header {
    gap: 8px;
    margin-right: 1rem;
  }

  .social-icon {
    width: 28px;
    height: 28px;
    font-size: 14px;
  }

  .btn {
    padding: 9px 16px;
    font-size: 11px;
  }

  .nav-link {
    padding: 6px 10px !important;
    font-size: 12px;
  }

  .navbar-collapse {
    background: #f8f9fb;
    border-top: 1px solid rgba(211, 155, 58, 0.15);
    margin-top: 10px;
    padding: 15px;
    border-radius: 8px;
    backdrop-filter: blur(12px);
  }

  .navbar-collapse .nav-link {
    color: var(--bg-navy) !important;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    color: var(--gold) !important;
  }

  .hero-slider-section {
    margin-top: 60px;
    height: 60vh;
    min-height: 400px;
    max-height: 500px;
  }

  .carousel-title {
    font-size: 1.75rem;
  }

  .carousel-description {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .carousel-cta {
    flex-direction: column;
    gap: var(--spacing-3);
  }

  .section {
    padding: 3rem 0;
  }

  .section-header {
    margin-bottom: var(--spacing-6);
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 44px;
    height: 44px;
  }

  .carousel-control-prev {
    left: 20px;
  }

  .carousel-control-next {
    right: 20px;
  }

  .carousel-indicators {
    bottom: 20px;
  }

  .testimonial-card {
    margin-bottom: var(--spacing-4);
  }

  .cta-section .row {
    flex-direction: column;
  }

  .cta-section .col-lg-4 {
    text-align: center;
    margin-top: var(--spacing-5);
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding-left: var(--spacing-4);
    padding-right: var(--spacing-4);
  }

  .site-header {
    padding: 10px 0;
  }

  .header-top .d-flex {
    height: 60px;
  }

  .logo-image {
    height: 55px;
  }

  .header-right {
    gap: 0.5rem;
  }

  .social-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .btn {
    padding: 8px 12px;
    font-size: 10px;
  }

  .hero-slider-section {
    margin-top: 50px;
    height: 55vh;
    min-height: 350px;
  }

  .carousel-title {
    font-size: 1.5rem;
  }

  .carousel-description {
    font-size: 0.9rem;
  }

  .carousel-label {
    font-size: 11px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .advantage-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .service-icon {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }

  .property-image {
    height: 220px;
  }

  .footer {
    text-align: center;
  }

  .footer-link {
    display: inline-block;
    margin: 0 var(--spacing-3) var(--spacing-2) 0;
  }
}

/* ============================================
   HOMEPAGE REDESIGN
   ============================================ */

.home-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(15, 22, 49, 0.08);
  box-shadow: 0 18px 45px rgba(15, 22, 49, 0.08);
  padding: 10px 0;
}

.home-header .navbar {
  min-height: 74px;
  position: relative;
}

.home-header .logo-image {
  height: 188px;
  max-width: none;
}

.home-header .logo-brand {
  width: 126px;
  height: 74px;
  overflow: hidden;
  justify-content: center;
}

.home-header .navbar-collapse {
  align-items: center;
}

.home-header .navbar-nav {
  gap: 0.2rem;
}

.home-header .nav-link {
  color: #172033 !important;
  border-radius: 999px;
  padding: 10px 16px !important;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.92rem;
}

.home-header .nav-link.active::after {
  display: none;
}

.home-header .nav-link.active,
.home-header .nav-link:hover {
  background: rgba(211, 155, 58, 0.12);
  color: var(--gold-dark) !important;
}

.dropdown-menu {
  border: 1px solid rgba(15, 22, 49, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(15, 22, 49, 0.12);
  padding: 10px;
}

.dropdown-item {
  border-radius: 6px;
  color: #172033;
  font-weight: 700;
  padding: 10px 14px;
}

.dropdown-item:hover,
.dropdown-item.active {
  background: rgba(211, 155, 58, 0.12);
  color: var(--gold-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header-phone {
  align-items: center;
  gap: 8px;
  color: #172033;
  font-weight: 700;
  font-size: 0.9rem;
}

.header-phone i {
  color: var(--gold);
}

.home-menu-toggle {
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 18px;
  right: 16px;
  width: 42px;
  height: 42px;
  background: rgba(211, 155, 58, 0.12);
  border-radius: 8px;
  z-index: 1100;
}

.home-page {
  background: #fffaf1;
  overflow-x: hidden;
}

.home-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #0d1428;
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?w=1800&h=1200&fit=crop");
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
  animation: heroDrift 18s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 12, 24, 0.88) 0%, rgba(8, 12, 24, 0.68) 48%, rgba(8, 12, 24, 0.28) 100%),
    linear-gradient(0deg, rgba(8, 12, 24, 0.7) 0%, rgba(8, 12, 24, 0) 45%);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translateX(0); }
  to { transform: scale(1.09) translateX(-18px); }
}

.home-hero .container {
  padding-top: 110px;
}

.hero-copy {
  padding: 8rem 0 7rem;
}

.eyebrow,
.section-label {
  letter-spacing: 0.11em;
}

.eyebrow {
  display: inline-flex;
  color: #f0c777;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.7rem);
  line-height: 0.98;
  max-width: 900px;
  margin-bottom: 26px;
  letter-spacing: 0;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
  max-width: 680px;
  margin-bottom: 34px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-glass {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(14px);
}

.btn-glass:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.hero-panel {
  margin-bottom: 7rem;
  padding: 26px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
}

.hero-panel span {
  display: block;
  color: var(--gold-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.hero-panel strong {
  display: block;
  color: #172033;
  font-size: 1.12rem;
  line-height: 1.45;
}

.hero-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.hero-panel-grid div {
  border-top: 1px solid rgba(15, 22, 49, 0.12);
  padding-top: 16px;
}

.hero-panel-grid b {
  display: block;
  color: var(--bg-navy);
  font-size: 1.55rem;
  line-height: 1;
}

.hero-panel-grid small {
  color: #6f7582;
  font-weight: 700;
}

.trust-strip {
  position: relative;
  z-index: 3;
  margin-top: -44px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid rgba(15, 22, 49, 0.08);
  box-shadow: 0 20px 55px rgba(15, 22, 49, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 88px;
  padding: 20px;
  color: #172033;
  font-weight: 800;
  border-right: 1px solid rgba(15, 22, 49, 0.08);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item i {
  color: var(--gold);
  font-size: 1.35rem;
}

.intro-section,
.opportunities-section,
.faq-preview {
  background: #fffaf1;
}

.service-showcase,
.values-section {
  background: var(--white);
}

.lead {
  color: #4c5360;
}

.intro-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

.text-link {
  color: var(--bg-navy);
  font-weight: 800;
}

.text-link:hover {
  color: var(--gold-dark);
}

.service-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-tile {
  position: relative;
  min-height: 270px;
  padding: 28px;
  background: #fffaf1;
  border: 1px solid rgba(15, 22, 49, 0.08);
  border-radius: 8px;
  overflow: hidden;
  color: #172033;
  box-shadow: 0 14px 40px rgba(15, 22, 49, 0.06);
}

.service-tile::after {
  content: '';
  position: absolute;
  inset: auto -35px -55px auto;
  width: 150px;
  height: 150px;
  background: rgba(211, 155, 58, 0.15);
  border-radius: 50%;
  transition: var(--transition);
}

.service-tile:hover {
  color: #172033;
  transform: translateY(-8px);
  border-color: rgba(211, 155, 58, 0.45);
  box-shadow: 0 26px 70px rgba(15, 22, 49, 0.13);
}

.service-tile:hover::after {
  transform: scale(1.25);
}

.service-tile.large {
  grid-column: span 2;
  background: #10213c;
  color: var(--white);
}

.service-tile i {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: 8px;
  background: rgba(211, 155, 58, 0.14);
  color: var(--gold);
  font-size: 1.45rem;
}

.service-tile h3 {
  position: relative;
  z-index: 1;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: inherit;
}

.service-tile p {
  position: relative;
  z-index: 1;
  color: inherit;
  opacity: 0.76;
  margin: 0;
}

.investment-path {
  background: linear-gradient(180deg, #fffaf1 0%, #ffffff 100%);
}

.home-estate-feature {
  background: linear-gradient(135deg, #10213c 0%, #172d52 100%);
  color: var(--white);
}

.home-estate-feature .section-title,
.home-estate-feature p {
  color: var(--white);
}

.home-estate-feature p {
  opacity: 0.82;
}

.home-estate-feature .text-link {
  color: var(--white);
}

.home-estate-feature .text-link:hover {
  color: #f0c777;
}

.estate-flyer-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.22);
}

.estate-flyer-card img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  object-position: top center;
  border-radius: 6px;
}

.estate-highlight-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.estate-highlight-grid div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.estate-highlight-grid span,
.estate-highlight-grid small,
.estate-highlight-grid strong {
  display: block;
}

.estate-highlight-grid span {
  color: #f0c777;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.estate-highlight-grid strong {
  color: var(--white);
  font-size: 2rem;
  line-height: 1.1;
  margin: 8px 0;
}

.estate-highlight-grid small {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 700;
}

.image-stack {
  position: relative;
  padding: 0 42px 42px 0;
}

.image-stack img {
  width: 100%;
  min-height: 560px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(15, 22, 49, 0.16);
}

.image-note {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 310px;
  padding: 24px;
  background: #10213c;
  color: var(--white);
  border-left: 5px solid var(--gold);
  border-radius: 8px;
  box-shadow: 0 18px 60px rgba(15, 22, 49, 0.22);
}

.image-note b,
.image-note span {
  display: block;
}

.image-note b {
  margin-bottom: 8px;
}

.image-note span {
  color: rgba(255, 255, 255, 0.76);
}

.path-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.path-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 22px;
  background: var(--white);
  border: 1px solid rgba(15, 22, 49, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 22, 49, 0.06);
  transition: var(--transition);
}

.path-item:hover {
  transform: translateX(8px);
  border-color: rgba(211, 155, 58, 0.45);
}

.path-item span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  background: rgba(211, 155, 58, 0.12);
  color: var(--gold-dark);
  border-radius: 8px;
  font-weight: 900;
}

.path-item h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.path-item p {
  margin: 0;
}

.opportunity-card {
  height: 100%;
  background: var(--white);
  border: 1px solid rgba(15, 22, 49, 0.08);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(15, 22, 49, 0.08);
  transition: var(--transition);
}

.opportunity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(15, 22, 49, 0.14);
}

.opportunity-card img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.opportunity-card:hover img {
  transform: scale(1.06);
}

.opportunity-body {
  padding: 26px;
}

.opportunity-body span {
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.opportunity-body h3 {
  margin: 12px 0;
  font-size: 1.35rem;
}

.opportunity-body p {
  margin: 0;
}

.opportunity-card.featured {
  background: #10213c;
}

.opportunity-card.featured h3,
.opportunity-card.featured p {
  color: var(--white);
}

.opportunity-card.featured p {
  opacity: 0.74;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  padding: 28px;
  min-height: 250px;
  border-radius: 8px;
  background: #fffaf1;
  border: 1px solid rgba(15, 22, 49, 0.08);
  transition: var(--transition);
}

.value-card:hover {
  background: var(--white);
  transform: translateY(-8px);
  box-shadow: 0 22px 60px rgba(15, 22, 49, 0.1);
}

.value-card i {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 24px;
  background: #10213c;
  color: var(--gold);
  border-radius: 8px;
  font-size: 1.35rem;
}

.value-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.proof-section {
  background: #10213c;
}

.proof-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  align-items: center;
}

.proof-copy h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 4rem);
  letter-spacing: 0;
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.08rem;
}

.proof-stats {
  display: grid;
  gap: 16px;
}

.proof-stat {
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
}

.proof-stat strong {
  color: var(--gold);
  font-size: 3rem;
  line-height: 1;
  font-family: 'Playfair Display', serif;
}

.proof-stat span {
  color: var(--white);
  font-weight: 800;
}

.testimonial-section {
  background: linear-gradient(180deg, #fffaf1, var(--white));
}

.testimonial-feature {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
  padding: 58px;
  border-radius: 8px;
  background: var(--white);
  border: 1px solid rgba(15, 22, 49, 0.08);
  box-shadow: 0 24px 80px rgba(15, 22, 49, 0.1);
}

.testimonial-feature i {
  color: var(--gold);
  font-size: 3rem;
}

.testimonial-feature p {
  color: #172033;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.35;
  font-family: 'Playfair Display', serif;
  margin: 20px 0 26px;
}

.testimonial-feature strong,
.testimonial-feature span {
  display: block;
}

.testimonial-feature strong {
  color: var(--bg-navy);
}

.testimonial-feature span {
  color: #6f7582;
  margin-top: 4px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(15, 22, 49, 0.08);
  border-radius: 8px;
  padding: 22px 24px;
  box-shadow: 0 12px 34px rgba(15, 22, 49, 0.06);
}

.faq-item summary {
  cursor: pointer;
  color: #172033;
  font-weight: 900;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  float: right;
  color: var(--gold-dark);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: '-';
}

.faq-item p {
  margin: 14px 0 0;
}

.home-cta {
  background: #fffaf1;
  padding: 0 0 5rem;
}

.home-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(30px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(16, 33, 60, 0.95), rgba(16, 33, 60, 0.84)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1400&h=650&fit=crop") center/cover;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(15, 22, 49, 0.18);
}

.home-cta-card h2 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
  margin-bottom: 14px;
}

.home-cta-card p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 660px;
  margin: 0;
}

.home-cta-card > .btn {
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  padding: 13px 26px;
  white-space: nowrap;
}

/* ============================================
   ESTATE DETAIL PAGE
   ============================================ */

.estate-page {
  background: #fffaf1;
  overflow-x: hidden;
}

.estate-hero {
  padding: 150px 0 70px;
  background:
    linear-gradient(120deg, rgba(16, 33, 60, 0.95), rgba(16, 33, 60, 0.72)),
    url("https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?w=1800&h=1100&fit=crop") center/cover;
  color: var(--white);
}

.estate-hero h1 {
  color: var(--white);
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 24px;
}

.estate-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
  max-width: 650px;
}

.estate-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.estate-hero-card {
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
}

.estate-hero-card img {
  width: 100%;
  max-height: 760px;
  object-fit: contain;
  object-position: top center;
  border-radius: 6px;
}

.estate-summary {
  padding-top: 0;
  margin-top: -44px;
  position: relative;
  z-index: 2;
}

.estate-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.summary-card {
  min-height: 150px;
  padding: 24px;
  background: var(--white);
  border: 1px solid rgba(15, 22, 49, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 55px rgba(15, 22, 49, 0.1);
}

.summary-card span,
.summary-card strong,
.summary-card small {
  display: block;
}

.summary-card span {
  color: var(--gold-dark);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-card strong {
  color: #10213c;
  font-size: 1.5rem;
  line-height: 1.15;
  margin-top: 12px;
}

.summary-card small {
  color: #6f7582;
  font-weight: 700;
  margin-top: 6px;
}

.estate-details {
  background: var(--white);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.feature-list div {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #fffaf1;
  border: 1px solid rgba(15, 22, 49, 0.08);
  border-radius: 8px;
  font-weight: 800;
  color: #172033;
}

.feature-list i {
  color: var(--gold-dark);
  font-size: 1.2rem;
}

.estate-info-panel {
  height: 100%;
  padding: clamp(28px, 4vw, 44px);
  background: #10213c;
  color: var(--white);
  border-radius: 8px;
  box-shadow: 0 22px 70px rgba(15, 22, 49, 0.16);
}

.estate-info-panel h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 18px;
}

.estate-info-panel p {
  color: rgba(255, 255, 255, 0.76);
}

.estate-check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.estate-check-list li {
  display: flex;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
}

.estate-check-list i {
  color: var(--gold);
  flex-shrink: 0;
}

.estate-landmarks {
  background: #fffaf1;
}

.landmark-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.landmark-card {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 20px;
  background: var(--white);
  border: 1px solid rgba(15, 22, 49, 0.08);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(15, 22, 49, 0.06);
  color: #172033;
  font-weight: 800;
}

.landmark-card i {
  color: var(--gold-dark);
  font-size: 1.25rem;
}

.payment-section {
  background: var(--white);
}

.payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(30px, 5vw, 58px);
  background: #10213c;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(15, 22, 49, 0.16);
}

.payment-card h2,
.payment-card p {
  color: var(--white);
}

.payment-card p {
  margin-bottom: 0;
  opacity: 0.78;
}

.account-number {
  padding: 18px 28px;
  background: var(--white);
  color: #10213c;
  border-radius: 8px;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1;
}

.estate-final-cta {
  padding-top: 0;
}

.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(34px);
}

.reveal-left {
  transform: translateX(-34px);
}

.reveal-right {
  transform: translateX(34px);
}

.reveal-up.show,
.reveal-left.show,
.reveal-right.show {
  opacity: 1;
  transform: translate(0, 0);
}

.reveal-up.delay-1,
.reveal-left.delay-1,
.reveal-right.delay-1 { transition-delay: 0.12s; }

.reveal-up.delay-2,
.reveal-left.delay-2,
.reveal-right.delay-2 { transition-delay: 0.24s; }

.reveal-up.delay-3,
.reveal-left.delay-3,
.reveal-right.delay-3 { transition-delay: 0.36s; }

.reveal-up.delay-4,
.reveal-left.delay-4,
.reveal-right.delay-4 { transition-delay: 0.48s; }

@media (max-width: 1199px) {
  .service-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-item {
    border-bottom: 1px solid rgba(15, 22, 49, 0.08);
  }

  .estate-summary-grid,
  .landmark-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .home-menu-toggle {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .home-page .row > [class*="col-lg"],
  .home-page .row > [class*="col-xl"],
  .estate-page .row > [class*="col-lg"],
  .estate-page .row > [class*="col-xl"],
  .page-content .row > [class*="col-lg"],
  .page-content .row > [class*="col-xl"] {
    flex: 0 0 auto;
    width: 100%;
  }

  .home-header .navbar-toggler {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 10px;
    right: 18px;
    width: 44px;
    height: 44px;
    margin-left: 0;
    transform: none;
    background: #fff4df !important;
    border: 1px solid rgba(211, 155, 58, 0.24);
    border-radius: 8px;
    box-shadow: 0 8px 18px rgba(15, 22, 49, 0.08);
    z-index: 1101;
  }

  .home-header .navbar-collapse {
    margin-top: 12px;
    padding: 18px;
    background: var(--white);
    border: 1px solid rgba(15, 22, 49, 0.08);
    border-radius: 8px;
    box-shadow: 0 20px 55px rgba(15, 22, 49, 0.1);
  }

  .home-header .logo-image {
    height: 168px;
  }

  .header-actions {
    align-items: stretch;
    margin-top: 14px;
  }

  .hero-copy {
    padding: 7rem 0 2rem;
  }

  .hero-panel {
    margin-bottom: 5rem;
  }

  .proof-wrap {
    grid-template-columns: 1fr;
  }

  .home-cta-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero.hero-secondary h1,
  .page-hero.hero-secondary p {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .payment-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .home-header {
    padding: 10px 0;
  }

  .home-header .navbar {
    min-height: 64px;
  }

  .home-header .logo-image {
    height: 146px;
  }

  .home-header .logo-brand {
    width: 108px;
    height: 64px;
  }

  .home-hero .container {
    padding-top: 80px;
  }

  .hero-copy,
  .hero-copy h1,
  .hero-copy p,
  .hero-panel {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .hero-buttons {
    width: min(100%, 340px);
  }

  .hero-copy h1 {
    font-size: 2.05rem;
    line-height: 1.05;
  }

  .hero-copy p {
    font-size: 0.94rem;
    max-width: 100%;
  }

  .hero-panel {
    padding: 22px 18px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .trust-grid,
  .service-showcase-grid,
  .values-grid,
  .estate-highlight-grid,
  .estate-summary-grid,
  .feature-list,
  .landmark-grid {
    grid-template-columns: 1fr;
  }

  .service-tile.large {
    grid-column: auto;
  }

  .trust-strip {
    margin-top: 0;
  }

  .trust-grid {
    border-radius: 0;
  }

  .trust-item {
    justify-content: flex-start;
    min-height: 72px;
  }

  .image-stack {
    padding: 0;
  }

  .image-stack img {
    min-height: 390px;
  }

  .image-note {
    position: relative;
    max-width: none;
    margin-top: -58px;
    margin-left: 18px;
    margin-right: 18px;
  }

  .path-item {
    grid-template-columns: 1fr;
  }

  .testimonial-feature {
    padding: 34px 22px;
  }

  .proof-stat {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .estate-hero {
    padding-top: 120px;
  }

  .estate-hero h1 {
    font-size: 2.7rem;
  }

  .estate-hero h1,
  .estate-hero p,
  .estate-hero-actions,
  .estate-hero-card {
    width: min(100%, 340px);
    max-width: 340px;
  }

  .estate-hero-actions .btn {
    width: 100%;
  }

  .account-number {
    width: 100%;
    text-align: center;
    font-size: 2rem;
  }
}
