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

/* CSS Variables for Professional Theme - Exact Logo Colors */
:root {
  --primary-color: #231f20;
  --secondary-color: #2d2a2b;
  --accent-color: #00467f;
  --accent-light: #1a5ba8;
  --background-color: #f8fafc;
  --background-dark: #231f20;
  --nav-background: #231f20;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --white: #ffffff;
  --border-radius: 8px;
  --max-width: 1200px;
  --shadow: 0 4px 20px rgba(35, 31, 32, 0.08);
  --shadow-lg: 0 10px 40px rgba(35, 31, 32, 0.12);
  --shadow-xl: 0 20px 60px rgba(35, 31, 32, 0.15);
  --gradient-primary: linear-gradient(135deg, #231f20 0%, #2d2a2b 100%);
  --gradient-blue: linear-gradient(135deg, #00467f 0%, #1a5ba8 100%);
  --gradient-subtle: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-color);
  font-weight: 400;
  letter-spacing: 0.02em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
  font-style: normal;
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

h4 {
  font-weight: 600;
}

h5 {
  font-weight: 500;
}

h6 {
  font-weight: 500;
}

/* Header and Navigation */
/* Floating Pill Navigation - transforms to full width on scroll */
.header {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  width: 1100px;
  max-width: calc(100vw - 40px);
  margin: 0 auto;
  background: rgba(35, 31, 32, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              border-radius 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              background 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
              top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  will-change: width, border-radius, background, top;
}

.header.scrolled {
  top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  border-radius: 0 !important;
  background: var(--nav-background) !important;
  border: none !important;
  box-shadow: var(--shadow) !important;
}

.header.no-animation {
  transition: none !important;
}

@keyframes pillSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  width: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  position: relative;
}

.header.scrolled .navbar {
  padding: 0;
}

.header.scrolled .nav-container {
  padding: 0 40px !important;
  min-height: 80px !important;
}

.nav-logo {
  flex-shrink: 0;
  z-index: 2;
  max-width: 320px;
  overflow: hidden;
  padding-right: 20px;
}

.nav-logo a {
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.header.scrolled .nav-logo a {
  color: var(--white);
}

.logo-image {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-align: left;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.logo-company {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 40px;
}

.header.scrolled .nav-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  flex: none;
  margin: 0;
  max-width: 600px;
  justify-content: center;
}

.nav-right {
  display: flex;
  list-style: none;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.nav-spacer {
  width: 20px;
  flex-shrink: 0;
}

.mobile-menu {
  display: none;
}

.nav-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.6rem 1rem;
  border-radius: 22px;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.nav-link:hover {
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav-link:hover {
  color: var(--white);
  background-color: rgba(0, 70, 127, 0.2);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--white);
  margin: 3px 0;
  transition: 0.3s;
}

.header.scrolled .nav-toggle .bar {
  background-color: var(--white);
}

/* Container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Responsive adjustments for medium screens */
@media (max-width: 1200px) {
  .header {
    width: calc(100vw - 30px);
  }
  
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .nav-container {
    padding: 0 30px;
  }
  
  .nav-logo {
    max-width: 280px;
  }
  
  .logo-name {
    font-size: 1rem;
  }
}

/* Mobile responsive floating navigation */
@media (max-width: 768px) {
  .header {
    width: calc(100vw - 20px);
    top: 15px;
  }
  
  .header.scrolled {
    width: 100%;
    top: 0;
  }
  
  .navbar {
    padding: 0.75rem 0;
  }
  
  .nav-container {
    padding: 0 20px;
    min-height: 45px;
  }
  
  .header.scrolled .nav-container {
    padding: 0 15px;
    min-height: 55px;
  }
  
  .nav-center {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
    z-index: 1001;
  }
  
  .logo-image {
    height: 35px;
    width: 35px;
  }
  
  .logo-name {
    font-size: 1rem;
  }
  
  .mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 0 0 25px 25px;
    padding: 25px 20px 30px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    list-style: none;
    margin: 0;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-top: none;
  }
  
  .mobile-menu.active {
    display: flex;
  }
  
  .header.scrolled .mobile-menu {
    background: rgba(35, 31, 32, 0.98);
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(0, 70, 127, 0.1);
  }
  
  .mobile-menu .nav-item {
    margin: 0;
  }
  
  .mobile-menu .nav-link {
    color: var(--white);
    padding: 15px 20px;
    margin: 2px 0;
    border-radius: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: block;
  }
  
  .mobile-menu .nav-link:hover {
    background: rgba(0, 70, 127, 0.1);
    color: var(--accent-color);
  }
  
  .header.scrolled .mobile-menu .nav-link {
    color: rgba(255, 255, 255, 0.9);
  }
  
  .header.scrolled .mobile-menu .nav-link:hover {
    background: rgba(0, 70, 127, 0.2);
    color: var(--white);
  }
}

/* Add top padding to account for fixed header */
body {
  padding-top: 0;
}

/* Section Spacing */
section {
  padding: 80px 0;
}

section:first-of-type {
  padding-top: 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-color);
  color: var(--white);
  border: 2px solid var(--accent-color);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--accent-light);
  border-color: var(--accent-light);
}

/* Ultra Premium Header Design */
.premium-header {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,0,0,0.02) 0%, rgba(255,255,255,0.1) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  margin-bottom: 60px;
}

.premium-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, var(--accent-color), #ffffff);
  border-radius: 50%;
  opacity: 0.7;
  animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 20%; animation-delay: 1s; }
.particle:nth-child(3) { top: 40%; left: 80%; animation-delay: 2s; }
.particle:nth-child(4) { top: 80%; left: 70%; animation-delay: 3s; }
.particle:nth-child(5) { top: 30%; left: 50%; animation-delay: 4s; }

@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.7; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 1; }
}

.premium-badge {
  position: relative;
  display: inline-block;
  padding: 12px 40px;
  background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  border: 2px solid var(--accent-color);
  border-radius: 30px;
  margin-bottom: 30px;
  overflow: hidden;
  z-index: 2;
}

.badge-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}

.premium-badge span {
  position: relative;
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 2px;
  z-index: 3;
}

.premium-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 700;
  margin: 40px 0;
  text-align: center;
  position: relative;
  z-index: 2;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.title-letter {
  display: inline-block;
  color: #1a1a1a;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
  animation: letterReveal 0.8s ease-out both;
  transition: all 0.3s ease;
  position: relative;
}

.title-letter:hover {
  transform: scale(1.1);
  color: var(--accent-color);
  text-shadow: 0 0 20px rgba(255,215,0,0.5);
}

.title-letter:nth-child(1) { animation-delay: 0.1s; }
.title-letter:nth-child(2) { animation-delay: 0.2s; }
.title-letter:nth-child(3) { animation-delay: 0.3s; }
.title-letter:nth-child(4) { animation-delay: 0.4s; }
.title-letter:nth-child(6) { animation-delay: 0.6s; }
.title-letter:nth-child(7) { animation-delay: 0.7s; }
.title-letter:nth-child(8) { animation-delay: 0.8s; }
.title-letter:nth-child(9) { animation-delay: 0.9s; }
.title-letter:nth-child(10) { animation-delay: 1.0s; }
.title-letter:nth-child(11) { animation-delay: 1.1s; }
.title-letter:nth-child(12) { animation-delay: 1.2s; }
.title-letter:nth-child(13) { animation-delay: 1.3s; }
.title-letter:nth-child(14) { animation-delay: 1.4s; }
.title-letter:nth-child(15) { animation-delay: 1.5s; }

.title-space {
  display: inline-block;
  width: 20px;
}

.first-name,
.last-name {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .premium-title {
    font-size: 3rem;
  }
  
  .first-name,
  .last-name {
    display: block;
    margin: 0 auto;
  }
  
  .title-space {
    display: none;
  }
}

@keyframes letterReveal {
  0% {
    opacity: 0;
    transform: translateY(50px) rotateX(90deg);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(0deg);
  }
}

.premium-accent-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px 0;
  position: relative;
  z-index: 2;
}

.line-segment {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  animation: lineGlow 2s ease-in-out infinite alternate;
}

.line-diamond {
  margin: 0 20px;
  color: var(--accent-color);
  font-size: 1.2rem;
  animation: diamondSpin 4s linear infinite;
}

@keyframes lineGlow {
  0% { opacity: 0.5; }
  100% { opacity: 1; box-shadow: 0 0 10px rgba(255,215,0,0.5); }
}

@keyframes diamondSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.premium-subtitle {
  text-align: center;
  font-size: 1.4rem;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.subtitle-highlight {
  color: var(--accent-color);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(255,215,0,0.3);
}

.subtitle-main {
  color: #333;
  font-weight: 300;
  margin-left: 8px;
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* Hero Slideshow */
.hero-slideshow {
  height: 60vh;
  min-height: 1000px;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.2s ease-out;
  margin-top: 0;
  position: relative;
  top: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.slideshow-container {
  position: relative;
  height: 100%;
  width: 100%;
}

.slide {
  display: none;
  height: 100%;
  width: 100%;
}

.slide.active {
  display: block;
}

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

.slideshow-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  animation: fadeIn 1s ease-out 1.5s both;
}

.dot {
  height: 15px;
  width: 15px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot:hover,
.dot.active {
  background-color: var(--white);
}

/* Hero Title Overlay */
.hero-title-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 10;
  width: 100%;
  padding: 0 20px;
}

.hero-title-overlay h1 {
  font-size: 4rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* Hero Search Overlay */
.hero-search-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  padding: 10px 40px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
  text-align: center;
  animation: slideUp 1s ease-out 0.5s both;
}

@keyframes slideUp {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-search-title {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.hero-search-overlay .search-form-preview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 20px;
  align-items: end;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-search-overlay .search-field {
  display: flex;
  flex-direction: column;
}

.hero-search-overlay .search-field label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.hero-search-overlay .search-field input,
.hero-search-overlay .search-field select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.hero-search-overlay .search-field input:focus,
.hero-search-overlay .search-field select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 70, 127, 0.1);
}

.hero-search-overlay .search-btn {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 30px;
}

/* Hero Content Section */
.hero-content-section {
  padding: 80px 0;
  background-color: var(--white);
  text-align: center;
}

.hero-content-section .hero-text {
  max-width: 800px;
  margin: 0 auto;
}

.hero-content-section h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.hero-content-section .hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2.5rem;
  color: var(--text-light);
}

.hero-content-section .hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* About Section */
.about-section {
  background-color: var(--background-color);
  padding: 80px 0;
  animation: fadeInLeft 0.8s ease-out 2s both;
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
  align-items: center;
}

.about-content-centered {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.about-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 51, 102, 0.08);
  border: 1px solid rgba(0, 119, 204, 0.1);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.about-header {
  text-align: center;
  margin-bottom: 30px;
}

.about-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.about-header h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  text-align: left;
}

.about-credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 2px solid rgba(0, 119, 204, 0.1);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px;
  background: rgba(0, 119, 204, 0.05);
  border-radius: 10px;
  font-weight: 500;
  color: var(--text-dark);
  transition: all 0.3s ease;
}

.credential-item:hover {
  background: rgba(0, 119, 204, 0.1);
  transform: translateY(-2px);
}

.credential-icon {
  font-size: 1.5rem;
  opacity: 0.8;
}

.profile-photo {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}



/* LUXURY ABOUT SECTION */
.luxury-about-section {
  position: relative;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  padding: 120px 0;
  overflow: hidden;
}

.luxury-about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.about-pattern {
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 25% 25%, rgba(0, 119, 204, 0.05) 0%, transparent 50%),
                    radial-gradient(circle at 75% 75%, rgba(0, 51, 102, 0.05) 0%, transparent 50%);
  background-size: 400px 400px;
  animation: luxuryPatternMove 20s linear infinite;
}

.luxury-section-header {
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  z-index: 2;
}

.luxury-badge-small {
  display: inline-block;
  background: linear-gradient(45deg, #003366, #0077cc);
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 25px;
  box-shadow: 0 8px 25px rgba(0, 51, 102, 0.3);
}

.luxury-section-title {
  font-size: 4rem;
  font-weight: 700;
  color: #003366;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.title-accent-line {
  width: 150px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color), #003366, var(--accent-color));
  margin: 0 auto 20px;
  border-radius: 2px;
}

.luxury-section-subtitle {
  font-size: 1.5rem;
  color: #666;
  font-weight: 300;
  letter-spacing: 1px;
}

.luxury-about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 60px;
  align-items: start;
  position: relative;
  z-index: 2;
}

.luxury-about-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

.photo-frame {
  position: relative;
  width: 280px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(35, 31, 32, 0.15);
  background: linear-gradient(145deg, #ffffff, #f0f0f0);
  padding: 8px;
}

.photo-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(145deg, #00467f, #1a5ba8);
  border-radius: 22px;
  z-index: -1;
}

.todd-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.todd-photo:hover {
  transform: scale(1.02);
}

.luxury-about-content {
  position: relative;
}

.luxury-quote-mark {
  font-size: 8rem;
  color: rgba(0, 119, 204, 0.1);
  position: absolute;
  top: -40px;
  left: -20px;
  z-index: 0;
}

.luxury-bio {
  position: relative;
  z-index: 1;
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 119, 204, 0.1);
}

.lead-text {
  font-size: 1.3rem;
  font-weight: 400;
  color: #003366;
  line-height: 1.7;
  margin-bottom: 25px;
}

.luxury-bio p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
}

.luxury-achievements {
  margin-top: 40px;
  display: grid;
  gap: 25px;
}

.achievement-item {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(0, 119, 204, 0.05);
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid var(--accent-color);
  transition: all 0.3s ease;
}

.achievement-item:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 119, 204, 0.2);
}

.achievement-icon {
  font-size: 2.5rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.1));
}

.achievement-content h4 {
  color: #003366;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 5px;
}

.achievement-content p {
  color: #666;
  margin: 0;
}

.luxury-credentials-panel {
  background: linear-gradient(135deg, #003366 0%, #0077cc 100%);
  color: white;
  padding: 50px 35px;
  border-radius: 25px;
  box-shadow: 0 25px 80px rgba(0, 51, 102, 0.4);
  position: relative;
  overflow: hidden;
  margin-top: 20px;
  min-width: 320px;
}

.luxury-credentials-panel::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: luxuryShine 4s ease-in-out infinite;
}

.credentials-header {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.credentials-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0;
}

.luxury-credentials-list {
  display: grid;
  gap: 25px;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.luxury-credential {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.luxury-credential:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.credential-badge {
  font-size: 2rem;
  filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

.credential-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 5px 0;
}

.credential-info p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

.exclusive-contact {
  text-align: center;
  padding: 30px;
  background: rgba(255, 215, 0, 0.2);
  border-radius: 15px;
  border: 2px solid rgba(255, 215, 0, 0.3);
  position: relative;
  z-index: 2;
}

.exclusive-contact h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0 0 10px 0;
  letter-spacing: 1px;
}

.exclusive-contact p {
  margin: 0 0 20px 0;
  opacity: 0.9;
}

.luxury-contact-btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 25px;
  text-decoration: none;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.luxury-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 215, 0, 0.5);
  background: var(--accent-light);
}

/* ELEGANT ANIMATIONS */
@keyframes elegantFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes elegantPulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* LUXURY ANIMATIONS */
@keyframes luxuryPatternMove {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes luxuryShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Listings Section */
.listings-section {
  background-color: var(--white);
  padding: 80px 0;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Remove margin/padding after hero */
#hero + .listings-section {
  padding-top: 40px !important;
  margin-top: 0 !important;
}

#hero {
  margin-bottom: 0 !important;
}

/* Force no gap between hero and next section */
section#hero {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

section#hero + section {
  margin-top: 0 !important;
}

.listings-widget {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(45, 55, 72, 0.1);
  position: relative;
}

.listings-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
  z-index: 1;
}

.listings-widget #MBBv3_FeaturedGallery {
  min-height: 400px;
  padding: 20px;
}

/* Services Section */
.services-section {
  background-color: var(--background-color);
  padding: 80px 0;
  animation: fadeInUp 0.8s ease-out 0.8s both;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: all 0.3s ease;
  border: 1px solid rgba(45, 55, 72, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeInScale 0.6s ease-out both;
}

.service-card:nth-child(1) { animation-delay: 1.2s; }
.service-card:nth-child(2) { animation-delay: 1.4s; }
.service-card:nth-child(3) { animation-delay: 1.6s; }
.service-card:nth-child(4) { animation-delay: 1.8s; }

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-card:nth-child(1)::before {
  background: var(--accent-color);
}

.service-card:nth-child(2)::before {
  background: var(--accent-dark);
}

.service-card:nth-child(3)::before {
  background: var(--accent-color);
}

.service-card:nth-child(4)::before {
  background: var(--accent-dark);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.service-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.service-card > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-features li {
  color: var(--text-dark);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0, 51, 102, 0.1);
  position: relative;
  padding-left: 20px;
}

.service-features li:before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.service-features li:last-child {
  border-bottom: none;
}

/* Quick Search Section */
.quick-search-section {
  background: linear-gradient(135deg, #f8f9ff 0%, var(--background-color) 100%);
  padding: 80px 0;
}

.quick-search-content {
  max-width: 900px;
  margin: 0 auto;
}

.search-intro {
  text-align: center;
  margin-bottom: 3rem;
}

.search-intro h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.search-preview {
  background-color: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(45, 55, 72, 0.1);
  position: relative;
  overflow: hidden;
}

.search-preview::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
}

.search-form-preview {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 20px;
  align-items: end;
  margin-bottom: 2rem;
}

.search-field {
  display: flex;
  flex-direction: column;
}

.search-field label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.search-field input,
.search-field select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.search-field input:focus,
.search-field select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 70, 127, 0.1);
}

.search-btn {
  height: 48px;
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.search-features {
  display: flex;
  justify-content: space-around;
  gap: 20px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.feature-icon {
  font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
  background-color: var(--background-color);
  padding-top: 60px;
}

.contact-section .section-header {
  padding-top: 40px;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 60px;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 70, 127, 0.1);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.contact-info {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  height: fit-content;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1rem;
  line-height: 1.5;
}

.contact-item a {
  color: var(--accent-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* IDX Widget Container in Contact Form */
.idx-widget-container {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--background-color);
}

.idx-widget-container h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.idx-widget-container p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Quick Response Guarantee Styling */
.response-time {
  background-color: var(--background-color);
  padding: 30px;
  border-radius: var(--border-radius);
  margin-top: 30px;
  border-left: 4px solid var(--accent-color);
}

/* Footer */
.footer {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.footer-section p {
  margin-bottom: 0.5rem;
  opacity: 0.8;
}

.footer-section a {
  color: var(--white);
  text-decoration: none;
}

.footer-section a:hover {
  text-decoration: underline;
}

/* Social Links Styling */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  padding: 8px 0;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-links a:hover {
  color: var(--accent-light);
  text-decoration: none;
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  text-align: center;
  opacity: 0.7;
}

.footer-bottom p {
  margin: 5px 0;
}

.powered-by {
  font-size: 0.9rem;
  opacity: 0.6;
}

.powered-by a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.powered-by a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Search Page Styles */
.search-hero {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 180px 0 100px 0 !important;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: fadeIn 1.2s ease-out;
}

section.search-hero:first-of-type {
  padding-top: 180px !important;
}

.search-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 70, 127, 0.1) 0%, rgba(26, 91, 168, 0.1) 100%);
  z-index: 1;
}

.search-hero .container {
  position: relative;
  z-index: 2;
}

.search-hero-content {
  animation: slideUp 1s ease-out 0.3s both;
}

.search-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  animation: slideUp 1s ease-out 0.5s both;
}

.search-hero-content p {
  font-size: 1.3rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: slideUp 1s ease-out 0.7s both;
}

.search-hero-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.search-hero-features .feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 500;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.search-hero-features .feature-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.search-hero-features .feature-icon {
  font-size: 1.2rem;
}

/* Search Form Section */
.search-form-section {
  background-color: var(--white);
  padding: 60px 0;
  border-bottom: 1px solid rgba(45, 55, 72, 0.1);
  animation: fadeInUp 0.8s ease-out 0.9s both;
}

.search-form-container {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(45, 55, 72, 0.1);
  min-height: 300px;
  position: relative;
  animation: fadeInScale 0.8s ease-out 1.1s both;
  transition: all 0.3s ease;
}

.search-form-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.search-form-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
  z-index: 1;
}

.search-form-container #MBBv3_SearchForm,
.search-form-container #MBBv3_LcForm {
  padding: 30px;
  min-height: 300px;
}

.search-page-content {
  background-color: var(--background-color);
}

.widget-section {
  padding: 80px 0;
  background-color: var(--white);
}

.search-page-content .widget-section {
  padding-top: 80px;
}

.widget-intro {
  text-align: center;
  margin-bottom: 4rem;
}

.widget-intro h2 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.widget-intro p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

.widget-container {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid rgba(0, 51, 102, 0.1);
  min-height: 600px;
  position: relative;
}

.widget-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
  z-index: 1;
}

.widget-container #MBBv3_SearchForm {
  padding: 30px;
  min-height: 600px;
}

.widget-placeholder {
  padding: 60px 40px;
  background: linear-gradient(135deg, #f8f9ff 0%, var(--background-color) 100%);
}

.placeholder-header {
  text-align: center;
  margin-bottom: 3rem;
}

.placeholder-header h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 2rem;
}

.placeholder-header p {
  color: var(--text-light);
  font-size: 1.1rem;
}

.integration-guide {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--accent-color);
  box-shadow: var(--shadow);
}

.integration-guide h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.integration-guide ol {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.integration-guide li {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.code-example {
  background-color: var(--background-color);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  border: 1px solid #e0e0e0;
}

.code-example strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
}

.code-example pre {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: var(--border-radius);
  overflow-x: auto;
  margin: 0;
}

.code-example code {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.benefits-section {
  padding: 80px 0;
  background-color: var(--background-color);
  animation: fadeInUp 0.8s ease-out 1.3s both;
}

.benefits-section h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-size: 2.5rem;
  animation: slideUp 0.8s ease-out 1.5s both;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 51, 102, 0.1);
  position: relative;
  overflow: hidden;
  animation: fadeInScale 0.6s ease-out both;
}

.benefit-card:nth-child(1) { animation-delay: 1.7s; }
.benefit-card:nth-child(2) { animation-delay: 1.9s; }
.benefit-card:nth-child(3) { animation-delay: 2.1s; }
.benefit-card:nth-child(4) { animation-delay: 2.3s; }

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-color);
}

.benefit-card:nth-child(1)::before {
  background: var(--accent-color);
}

.benefit-card:nth-child(2)::before {
  background: var(--accent-dark);
}

.benefit-card:nth-child(3)::before {
  background: var(--accent-color);
}

.benefit-card:nth-child(4)::before {
  background: var(--accent-dark);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.benefit-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Full width benefit card */
.full-width-benefit {
  margin-top: 30px;
}

.market-analysis-card {
  max-width: none;
  animation-delay: 2.3s;
}

.market-analysis-card::before {
  background: var(--accent-color);
}

/* Stats disclaimer styling */
.stats-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.contact-cta-section {
  background: var(--gradient-blue);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35, 31, 32, 0.1);
  z-index: 1;
}

.contact-cta-section .container {
  position: relative;
  z-index: 2;
}

.contact-cta-section .cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.contact-cta-section .cta-content p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-cta-section .cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-cta-section .btn-primary {
  background-color: var(--white);
  color: var(--primary-color);
  border-color: var(--white);
}

.contact-cta-section .btn-primary:hover {
  background-color: var(--background-color);
  border-color: var(--background-color);
}

.contact-cta-section .btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.contact-cta-section .btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* Communities Page Styles */
.communities-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.communities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.community-card {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(45, 55, 72, 0.1);
}

.community-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.community-image {
  height: 200px;
  overflow: hidden;
}

.community-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.community-card:hover .community-image img {
  transform: scale(1.05);
}

.community-content {
  padding: 30px;
}

.community-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.community-content > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.community-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 2rem;
  padding: 20px;
  background-color: var(--background-color);
  border-radius: var(--border-radius);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
}

/* Individual Community Page Styles */
section.community-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
  padding-top: 120px !important;
  margin-top: 0 !important;
}

section.community-hero:first-of-type {
  padding-top: 120px !important;
}

.community-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.community-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.community-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(35, 31, 32, 0.6);
  z-index: 2;
  display: flex;
  align-items: center;
}

.community-hero-content {
  color: var(--white);
  text-align: left;
}

.community-hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.community-hero-content p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

.community-breadcrumb {
  font-size: 1rem;
  opacity: 0.8;
}

.community-breadcrumb a {
  color: var(--white);
  text-decoration: none;
}

.community-breadcrumb a:hover {
  text-decoration: underline;
}

.community-info-section {
  padding: 80px 0;
  background-color: var(--white);
}

.community-info-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
}

.community-description h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.community-description h3 {
  color: var(--primary-color);
  margin: 2rem 0 1rem 0;
}

.community-description p {
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.community-features {
  list-style: none;
  padding: 0;
}

.community-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 51, 102, 0.1);
  position: relative;
  padding-left: 25px;
  color: var(--text-dark);
}

.community-features li:before {
  content: '✓';
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
}

.community-features li:last-child {
  border-bottom: none;
}

.community-stats-sidebar {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: 16px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.community-stats-sidebar h3 {
  color: var(--primary-color);
  margin-bottom: 2rem;
  text-align: center;
}

.stats-grid {
  display: grid;
  gap: 20px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 51, 102, 0.1);
}

.stat-item:last-child {
  border-bottom: none;
}

.community-listings-section {
  padding: 80px 0;
  background-color: var(--background-color);
}

.mls-grid-container {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(45, 55, 72, 0.1);
  position: relative;
}

.mls-grid-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
  z-index: 1;
}

.mls-grid-container #MBBv3_FeaturedGallery,
.mls-grid-container #MBBv3_FeaturedList {
  min-height: 600px;
  padding: 30px;
}

.community-amenities-section {
  padding: 80px 0;
  background-color: var(--white);
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.amenity-card {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(45, 55, 72, 0.1);
}

.amenity-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.amenity-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.amenity-card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.amenity-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Sellers Page Styles */
.valuation-form {
  padding: 40px;
}

.home-valuation-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  padding: 12px 16px;
  border: 2px solid #e0e0e0;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 70, 127, 0.1);
}

.btn-large {
  padding: 16px 40px;
  font-size: 1.1rem;
  width: 100%;
  margin-top: 20px;
}

/* Process Section */
.process-section {
  padding: 80px 0;
  background-color: var(--white);
}

.process-steps {
  display: grid;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.step-card {
  display: flex;
  align-items: flex-start;
  gap: 25px;
  padding: 30px;
  background-color: var(--background-color);
  border-radius: 16px;
  border-left: 4px solid var(--accent-color);
  transition: all 0.3s ease;
  animation: fadeInScale 0.6s ease-out both;
}

.step-card:nth-child(1) { animation-delay: 0.2s; }
.step-card:nth-child(2) { animation-delay: 0.4s; }
.step-card:nth-child(3) { animation-delay: 0.6s; }
.step-card:nth-child(4) { animation-delay: 0.8s; }
.step-card:nth-child(5) { animation-delay: 1.0s; }

.step-card:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.step-number {
  background: var(--gradient-blue);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
}

.step-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Hero Property Alerts */
.hero-alerts-section {
  margin-top: 20px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  background: transparent;
}

.alerts-text {
  color: var(--text-dark);
  font-size: 14px;
  margin-bottom: 12px;
  opacity: 0.8;
}

.hero-alerts-btn {
  background: var(--gradient-blue);
  color: var(--white);
  border: none;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 70, 127, 0.3);
}

.hero-alerts-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 70, 127, 0.4);
  background: var(--accent-light);
}

/* Market Stats Section */
.market-stats-section {
  padding: 80px 0;
  background-color: var(--white);
  animation: fadeInUp 0.8s ease-out 1.0s both;
}

.market-stats-widget {
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid rgba(45, 55, 72, 0.1);
  position: relative;
  min-height: auto;
}

.market-stats-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-blue);
  z-index: 1;
}

.market-stats-widget bb-widget {
  display: block;
  padding: 30px;
  min-height: auto;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.stat-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: 16px;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(45, 55, 72, 0.1);
  transition: all 0.3s ease;
  animation: fadeInScale 0.6s ease-out both;
}

.stat-card:nth-child(1) { animation-delay: 0.2s; }
.stat-card:nth-child(2) { animation-delay: 0.4s; }
.stat-card:nth-child(3) { animation-delay: 0.6s; }

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.stat-content h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.stat-content p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
  /* Navigation */
  .nav-container {
    justify-content: space-between;
    position: relative;
  }
  
  .nav-center {
    display: none;
  }
  
  .nav-spacer {
    display: none;
  }
  
  .mobile-menu {
    position: fixed;
    left: -100%;
    top: 95px;
    flex-direction: column;
    background: var(--nav-background);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(35, 31, 32, 0.15);
    padding: 2rem 0;
    z-index: 999;
  }

  .mobile-menu.active {
    left: 0;
    display: flex;
  }

  .mobile-menu li {
    margin: 1rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero section */
  .hero-slideshow {
    height: 50vh;
    min-height: 1000px;
  }
  
  .hero-title-overlay h1 {
    font-size: 2.5rem;
  }
  
  .hero-search-overlay {
    padding: 25px 20px;
  }
  
  .hero-search-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }
  
  .hero-search-overlay .search-form-preview {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .hero-search-overlay .search-btn {
    justify-self: stretch;
  }
  
  .hero-content-section h1 {
    font-size: 2.5rem;
  }
  
  .hero-content-section .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  /* Search form */
  .search-form-preview {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .search-btn {
    justify-self: stretch;
  }
  
  /* About section */
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .about-card {
    padding: 30px 20px;
    margin: 0 15px;
  }
  
  .about-credentials {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .credential-item {
    padding: 12px;
  }
  
  /* Contact section */
  .contact-content {
    grid-template-columns: 1fr;
  }
  
  /* Services grid */
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  /* General spacing */
  section {
    padding: 60px 0;
  }
  
  .container {
    padding: 0 15px;
  }

  /* Search page */
  .search-hero-content h1 {
    font-size: 2.5rem;
  }

  .search-hero-features {
    gap: 1.5rem;
    flex-direction: column;
    align-items: center;
  }

  .search-hero-features .feature-item {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .widget-placeholder {
    padding: 40px 20px;
  }

  .integration-guide {
    padding: 1.5rem;
  }

  /* Luxury About section mobile */
  .luxury-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .luxury-about-photo {
    order: -1;
    margin-bottom: 20px;
  }

  .photo-frame {
    width: 250px;
    height: 300px;
    margin: 0 auto;
  }
  
  .luxury-section-title {
    font-size: 2.5rem;
  }
  
  .luxury-bio {
    padding: 30px 20px;
  }
  
  .lead-text {
    font-size: 1.1rem;
  }
  
  .luxury-credentials-panel {
    padding: 35px 25px;
    margin-top: 20px;
    min-width: auto;
  }
}

@media (max-width: 480px) {
  /* Hero section mobile */
  .hero-slideshow {
    height: 40vh;
    min-height: 1000px;
  }
  
  .hero-title-overlay h1 {
    font-size: 2rem;
  }
  
  .hero-search-overlay {
    padding: 20px 15px;
  }
  
  .hero-search-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }
  
  .hero-search-overlay .search-field input,
  .hero-search-overlay .search-field select {
    padding: 10px 12px;
    font-size: 14px;
  }
  
  .hero-search-overlay .search-btn {
    padding: 0 20px;
    font-size: 14px;
  }
  
  .hero-content-section h1 {
    font-size: 2rem;
  }
  
  .hero-content-section {
    padding: 60px 0;
  }
  
  .hero-content-section .hero-text {
    padding: 0 1rem;
  }
  

  /* Luxury About mobile */
  .luxury-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .luxury-about-photo {
    order: -1;
    margin-bottom: 20px;
  }

  .photo-frame {
    width: 250px;
    height: 300px;
    margin: 0 auto;
  }
  
  .luxury-section-title {
    font-size: 2.5rem;
  }
  
  .luxury-bio {
    padding: 30px 20px;
  }
  
  .lead-text {
    font-size: 1.1rem;
  }
  
  .luxury-credentials-panel {
    padding: 35px 25px;
    margin-top: 20px;
    min-width: auto;
  }

  /* About section mobile */
  .about-card {
    padding: 25px 15px;
    margin: 0 10px;
  }
  
  .about-header h3 {
    font-size: 1.3rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
  
  .credential-item {
    padding: 10px;
    font-size: 0.9rem;
  }
  
  .credential-icon {
    font-size: 1.3rem;
  }

  /* Contact forms */
  .contact-form,
  .contact-info {
    padding: 30px 20px;
  }

  /* Search preview */
  .search-preview {
    padding: 30px 20px;
  }

  /* Service cards */
  .service-card {
    padding: 30px 20px;
  }

  /* Search page mobile */
  .search-hero-content h1 {
    font-size: 2rem;
  }

  .widget-placeholder {
    padding: 30px 15px;
  }

  .integration-guide {
    padding: 1rem;
  }

  .benefit-card {
    padding: 30px 20px;
  }

  .widget-intro h2 {
    font-size: 2rem;
  }

  .benefits-section h2 {
    font-size: 2rem;
  }

  .contact-cta-section .cta-content h2 {
    font-size: 2rem;
  }

  /* Communities responsive */
  .communities-grid {
    grid-template-columns: 1fr;
  }

  .community-hero-content h1 {
    font-size: 2.5rem;
  }

  .community-info-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .community-stats-sidebar {
    position: static;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  /* Sellers page responsive */
  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .valuation-form {
    padding: 30px 20px;
  }

  .process-steps {
    gap: 20px;
  }

  .step-card {
    padding: 25px 20px;
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* JavaScript for mobile menu toggle */
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Dropdown Navigation Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
}

.dropdown-toggle::after {
  content: '▾';
  margin-left: 6px;
  font-size: 0.75rem;
  vertical-align: middle;
  line-height: 1;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--nav-background);
  border-radius: 15px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1001;
  list-style: none;
  padding: 15px 0;
  margin: 0;
  backdrop-filter: blur(20px);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-link {
  display: block;
  padding: 12px 20px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.header.scrolled .dropdown-menu {
  background: var(--nav-background);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled .dropdown-link {
  color: var(--white);
}

.dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-left-color: var(--white);
}

.header.scrolled .dropdown-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-left-color: var(--white);
}

/* Mobile Dropdown Styles */
.mobile-dropdown .nav-link {
  position: relative;
}

.mobile-dropdown-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: rgba(0, 70, 127, 0.1);
  border-radius: var(--border-radius);
  margin-top: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-dropdown.active .mobile-dropdown-menu {
  max-height: 200px;
}

.mobile-dropdown-menu .dropdown-link {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.mobile-dropdown-menu .dropdown-link:hover {
  background-color: rgba(0, 70, 127, 0.2);
  color: var(--white);
}

/* Add dropdown indicator for mobile */
.mobile-dropdown .nav-link::after {
  content: '▾';
  margin-left: 8px;
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}

.mobile-dropdown.active .nav-link::after {
  transform: rotate(180deg);
}

/* Instant Offer Styles */

/* Special instant offer service card */
.instant-offer-card {
  background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-light) 100%);
  color: var(--white);
  border: 2px solid var(--accent-color);
  position: relative;
  overflow: hidden;
}

.instant-offer-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: rotate(45deg);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.instant-offer-card .service-icon {
  font-size: 3rem;
  color: var(--white);
}

.instant-offer-card h3 {
  color: var(--white);
  font-size: 1.4rem;
}

.instant-offer-card p {
  color: rgba(255, 255, 255, 0.9);
}

.instant-offer-card .service-features li {
  color: rgba(255, 255, 255, 0.9);
}

.instant-offer-btn {
  display: inline-block;
  background: var(--white);
  color: var(--accent-color);
  padding: 14px 28px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 20px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.instant-offer-btn:hover {
  background: var(--background-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Instant Offer Page */
.instant-offer-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  color: var(--white);
  padding: 80px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: 160px;
}

.instant-offer-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('/images/hero-bg.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.instant-offer-hero .container {
  position: relative;
  z-index: 2;
}

.instant-offer-hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.instant-offer-hero .hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-benefits {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.benefit-icon {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.benefit-item span:last-child {
  font-weight: 600;
  font-size: 1.1rem;
}

/* Form Section */
.instant-offer-form-section {
  padding: 80px 0;
  background: var(--background-color);
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.form-header {
  background: var(--gradient-blue);
  color: var(--white);
  padding: 40px;
  text-align: center;
}

.form-header h2 {
  color: var(--white);
  margin-bottom: 10px;
  font-size: 2.2rem;
}

.form-header p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.bb-widget-container {
  padding: 40px;
  background: var(--white);
}

/* How It Works Section */
.how-it-works-section {
  padding: 80px 0;
  background: var(--white);
}

.how-it-works-section .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.how-it-works-section .step-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  background: var(--background-color);
  position: relative;
  transition: transform 0.3s ease;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.how-it-works-section .step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.how-it-works-section .step-number {
  width: 60px;
  height: 60px;
  background: var(--gradient-blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin: 0 auto 20px;
}

.how-it-works-section .step-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.how-it-works-section .step-card p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Benefits Grid */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.benefit-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon-large {
  font-size: 4rem;
  margin-bottom: 20px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.benefit-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.benefit-card p {
  color: var(--text-light);
  line-height: 1.6;
}

/* Responsive Design for Instant Offer */
@media (max-width: 768px) {
  .instant-offer-hero {
    padding: 60px 0 60px;
    margin-top: 140px;
  }
  
  .instant-offer-hero h1 {
    font-size: 2.5rem;
  }
  
  .instant-offer-hero .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-benefits {
    gap: 25px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .how-it-works-section .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .instant-offer-form {
    padding: 30px 20px;
  }
  
  .form-header {
    padding: 30px 20px;
  }
}

/* Thank You Page Styles */
.thank-you-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 0 80px;
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  margin-top: 160px;
}

.thank-you-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.success-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  font-weight: bold;
  margin: 0 auto 30px;
  box-shadow: 0 8px 32px rgba(34, 197, 94, 0.3);
}

.thank-you-hero h1 {
  color: var(--primary-color);
  font-size: 3rem;
  margin-bottom: 20px;
}

.thank-you-hero .lead {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 50px;
}

.next-steps {
  margin: 60px 0;
  text-align: left;
}

.next-steps h2 {
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 40px;
  font-size: 2rem;
}

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--gradient-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--primary-color);
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.step-content p {
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.thank-you-hero .contact-info {
  margin: 50px 0;
  padding: 40px;
  background: var(--background-color);
  border-radius: 16px;
  position: relative;
  z-index: 10;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  font-size: 1.4rem;
}

.contact-options {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-btn {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: var(--white) !important;
  color: var(--text-dark) !important;
  text-decoration: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  font-weight: 600;
  border: 2px solid var(--accent-color);
  min-width: 200px;
  justify-content: center;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--accent-color);
}

.contact-icon {
  font-size: 1.2rem;
}

.return-links {
  margin-top: 40px;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.thank-you-hero .btn-secondary {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color);
}

.thank-you-hero .btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white) !important;
}

@media (max-width: 768px) {
  .thank-you-hero {
    padding: 60px 0 60px;
    min-height: calc(100vh - 140px);
    margin-top: 140px;
  }
  
  .thank-you-hero h1 {
    font-size: 2.5rem;
  }
  
  .thank-you-hero .lead {
    font-size: 1.1rem;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .step-content {
    text-align: center;
  }
  
  .contact-options {
    flex-direction: column;
    align-items: center;
  }
  
  .return-links {
    flex-direction: column;
    align-items: center;
  }
}