/* ===========================
   Mike Harris TN Real Estate
   Main Stylesheet
   =========================== */

:root {
  --primary: #004aac;
  --primary-dark: #003580;
  --primary-light: #1a60c4;
  --secondary: #1d1d1d;
  --tertiary: #adadad;
  --accent: #c9a84c;
  --accent-light: #f0d896;
  --white: #ffffff;
  --light-bg: #fefaf2;
  --light-gray: #f5f5f5;
  --dark-bg: #111827;
  --text-dark: #1d1d1d;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(0,74,172,0.10);
  --shadow-lg: 0 12px 48px rgba(0,74,172,0.18);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Lato', sans-serif;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-dark); background: #fff; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* Image fallback - CSS gradient backgrounds when images are missing */
.img-placeholder {
  background: linear-gradient(135deg, #c9d8f0 0%, #8baed6 50%, #004aac 100%);
  display: flex; align-items: center; justify-content: center;
}
.img-placeholder::after { content: ''; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.section-label {
  display: inline-block; font-family: var(--font-body); font-size: 0.78rem;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.65rem;
}
.section-title { font-family: var(--font-heading); margin-bottom: 1rem; }
.section-desc { color: var(--text-muted); font-size: 1.05rem; max-width: 680px; }
.section-desc.center { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block; background: var(--primary); color: #fff;
  padding: 0.78rem 2rem; border-radius: 50px; font-weight: 700;
  font-size: 0.95rem; letter-spacing: 0.03em; border: 2px solid var(--primary);
  transition: var(--transition); cursor: pointer;
}
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,74,172,0.3); }

.btn-outline {
  display: inline-block; background: transparent; color: var(--primary);
  padding: 0.78rem 2rem; border-radius: 50px; font-weight: 700;
  font-size: 0.95rem; border: 2px solid var(--primary); transition: var(--transition);
}
.btn-outline:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }

.btn-white {
  display: inline-block; background: #fff; color: var(--primary);
  padding: 0.78rem 2rem; border-radius: 50px; font-weight: 700;
  font-size: 0.95rem; border: 2px solid #fff; transition: var(--transition);
}
.btn-white:hover { background: transparent; color: #fff; transform: translateY(-2px); }

.btn-accent {
  display: inline-block; background: var(--accent); color: var(--secondary);
  padding: 0.78rem 2rem; border-radius: 50px; font-weight: 700;
  font-size: 0.95rem; border: 2px solid var(--accent); transition: var(--transition);
}
.btn-accent:hover { background: #b8922d; border-color: #b8922d; color: #fff; transform: translateY(-2px); }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1050;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: all 0.35s ease;
  padding: 0;
}
#navbar.scrolled { border-bottom-color: var(--border); box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
#navbar .navbar-brand img { height: 100px; width: auto; object-fit: contain; }
#navbar .navbar-brand img.fallback-logo { display: none; }

.navbar-nav .nav-item { position: relative; }
.navbar-nav .nav-link {
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  color: var(--secondary) !important; letter-spacing: 0.02em; padding: 1.4rem 1rem !important;
  position: relative; transition: var(--transition);
}
.navbar-nav .nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px;
  background: var(--primary); border-radius: 2px; transform: translateX(-50%);
  transition: width 0.3s ease;
}
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { width: 60%; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary) !important; }

.navbar-phone {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.32rem; font-weight: 800; color: var(--primary) !important;
  font-family: var(--font-heading); letter-spacing: -0.01em; white-space: nowrap;
}
.navbar-phone i { font-size: 1rem; color: var(--accent); }
.navbar-phone:hover { color: var(--primary-dark) !important; }

/* Dropdown */
.dropdown-menu {
  border: none; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 0.5rem 0; min-width: 220px; margin-top: 0;
  display: block; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all 0.25s ease; pointer-events: none;
}

/* Mobile: let Bootstrap handle dropdown display naturally */
@media (max-width: 991px) {
  .dropdown-menu {
    display: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    pointer-events: auto !important;
    box-shadow: none;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
    margin-top: 0.25rem;
    border-radius: 0;
  }
  .dropdown-menu.show,
  .nav-item.dropdown.open .dropdown-menu {
    display: block !important;
  }
}
.nav-item.dropdown:hover .dropdown-menu,
.nav-item.dropdown.open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
.dropdown-item {
  padding: 0.65rem 1.4rem; font-size: 0.9rem; font-weight: 600;
  color: var(--secondary); transition: var(--transition);
}
.dropdown-item:hover { background: var(--light-bg); color: var(--primary); padding-left: 1.8rem; }
.dropdown-toggle::after { margin-left: 0.4rem; vertical-align: middle; }

/* ===== HERO SLIDER ===== */
#heroSlider { margin-top: 88px; position: relative; }
.hero-slide {
  position: relative; height: 88vh; min-height: 560px;
  align-items: center; overflow: hidden;
}
/* Only flex when Bootstrap makes the slide active/visible */
.carousel-item.active.hero-slide,
.carousel-item-next.hero-slide,
.carousel-item-prev.hero-slide {
  display: flex;
}
.hero-slide .slide-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center; z-index: 0;
  transition: transform 6s ease;
}
.hero-slide::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0.1) 100%);
}
.hero-content {
  position: relative; z-index: 2; max-width: 640px;
  animation: fadeInUp 0.8s ease both;
}
.hero-badge {
  display: inline-block; background: var(--accent); color: var(--secondary);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.15em;
  text-transform: uppercase; padding: 0.35rem 1rem; border-radius: 50px;
  margin-bottom: 1.2rem;
}
.hero-content h1 { color: #fff; font-size: clamp(1.9rem, 4.5vw, 3.4rem); margin-bottom: 1rem; text-shadow: 0 2px 8px rgba(0,0,0,0.3); }
.hero-content p { color: rgba(255,255,255,0.88); font-size: 1.1rem; margin-bottom: 1.8rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.carousel-indicators button {
  width: 10px !important; height: 10px !important; border-radius: 50% !important;
  border: 2px solid #fff !important; background: transparent !important; opacity: 0.6 !important;
}
.carousel-indicators button.active { background: var(--accent) !important; border-color: var(--accent) !important; opacity: 1 !important; }
.carousel-control-prev, .carousel-control-next {
  width: 50px; height: 50px; background: rgba(255,255,255,0.15) !important;
  border-radius: 50%; top: 50%; transform: translateY(-50%); bottom: auto;
  backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.3);
  margin: 0 1.5rem;
}
.carousel-control-prev:hover, .carousel-control-next:hover { background: rgba(255,255,255,0.3) !important; }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 18px; height: 18px; }

/* Placeholder backgrounds for hero slides when images not loaded */
.slide-bg-placeholder-1 { background: linear-gradient(135deg, #1d3d6e 0%, #004aac 50%, #1a60c4 100%); }
.slide-bg-placeholder-2 { background: linear-gradient(135deg, #2d1b00 0%, #6b3a1f 50%, #8b4513 100%); }
.slide-bg-placeholder-3 { background: linear-gradient(135deg, #0d2b0d 0%, #1a4a1a 50%, #2d6a2d 100%); }
.slide-bg-placeholder-4 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }

/* ===== SERVICE BOXES (below slider) ===== */
#services-overview { padding: 0; background: var(--white); }
.service-box-row { display: flex; }
.service-box {
  flex: 1; padding: 2.5rem 2rem; border-right: 1px solid var(--border);
  transition: var(--transition); position: relative; overflow: hidden;
  cursor: pointer; background: var(--primary-light);
}
.service-box:last-child { border-right: none; }
.service-box::before {
  content: ''; position: absolute; inset: 0;
  background: var(--primary); transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease; z-index: 0;
}
.service-box:hover::before { transform: scaleX(1); }
.service-box .sb-inner { position: relative; z-index: 1; }
.service-box .sb-icon {
  width: 60px; height: 60px; background: var(--light-bg);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary); margin-bottom: 1.2rem;
  transition: var(--transition);
}
.service-box:hover .sb-icon { background: rgba(255,255,255,0.15); color: var(--white); }
.service-box h3 { font-size: 1.2rem; margin-bottom: 0.6rem; transition: var(--transition); color: var(--white)}
.service-box p { font-size: 0.92rem; color: var(--white); margin-bottom: 1rem; transition: var(--transition); }
.service-box:hover h3, .service-box:hover p { color: var(--white); }
.service-box .sb-link { font-weight: 700; font-size: 0.88rem; color: var(--primary); letter-spacing: 0.05em; text-transform: uppercase; transition: var(--transition);color: var(--white) }
.service-box:hover .sb-link { color: var(--accent-light); }

/* ===== ABOUT SECTION ===== */
#about { padding: 6rem 0; background: var(--white); }
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%; height: 560px; object-fit: cover; object-position: top;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.about-img-wrap .about-badge {
  position: absolute; bottom: 2rem; left: -2rem;
  background: var(--primary); color: #fff; padding: 1.2rem 1.6rem;
  border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 200px;
  text-align: center;
}
.about-badge .badge-num { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); display: block; line-height: 1; }
.about-badge .badge-text { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.9; }
.about-content { padding-left: 3rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }
.stat-item { text-align: center; padding: 1.2rem; background: var(--light-bg); border-radius: var(--radius); }
.stat-item .stat-num { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: var(--primary); line-height: 1; }
.stat-item .stat-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; margin-top: 0.3rem; text-transform: uppercase; letter-spacing: 0.05em; }
.service-areas { margin: 1.5rem 0; }
.service-areas h4 { font-size: 0.88rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--primary); margin-bottom: 0.8rem; }
.area-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.area-tag { background: var(--light-bg); color: var(--text-dark); font-size: 0.8rem; padding: 0.3rem 0.75rem; border-radius: 50px; font-weight: 600; border: 1px solid var(--border); }

/* ===== HOME BUYING PROCESS ===== */
#buying-process { padding: 6rem 0; background: var(--light-gray); }
.process-header { text-align: center; margin-bottom: 3.5rem; }
.step-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.step-card {
  background: var(--light-bg); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; align-items: stretch;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: var(--transition);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-img { width: 220px; min-width: 220px; overflow: hidden; position: relative; }
.step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.step-card:hover .step-img img { transform: scale(1.07); }
.step-img .step-num {
  position: absolute; top: 1rem; left: 1rem; width: 36px; height: 36px;
  background: var(--primary); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.88rem; z-index: 2; font-family: var(--font-body);
  box-shadow: 0 2px 8px rgba(0,74,172,0.4);
}
.step-body { padding: 1.6rem; flex: 1; }
.step-body h4 { color: var(--primary); margin-bottom: 0.6rem; font-size: 1.5rem; }
.step-body p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ===== HOME LOAN OPTIONS ===== */
#loan-options { padding: 6rem 0; background: var(--primary); }
.loan-header { text-align: center; margin-bottom: 3.5rem; }
.loan-header h2, .loan-header p { color: #fff; }
.loan-header .section-label { color: var(--accent-light); }
.loan-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.loan-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2.2rem; box-shadow: 0 4px 24px rgba(0,0,0,0.15); transition: var(--transition);
  border-top: 4px solid var(--primary);
}
.loan-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.2); }
.loan-icon { font-size: 3rem; margin-bottom: 1rem; }
.loan-card h3 { color: var(--primary); font-size: 1.8rem; margin-bottom: 0.8rem; }
.loan-card p { font-size: 1rem; color: var(--text-muted); margin-bottom: 1rem; }
.loan-features { list-style: none; padding: 0; margin: 0; }
.loan-features li { font-size: 1rem; padding: 0.3rem 0; color: var(--text-dark); display: flex; align-items: flex-start; gap: 0.5rem; }
.loan-features li::before { content: '✓'; color: var(--primary); font-weight: 800; margin-top: 0.05rem; flex-shrink: 0; }
.loan-cta-box {
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-lg); padding: 2.5rem; margin-top: 2.5rem;
  text-align: center; backdrop-filter: blur(6px);
}
.loan-cta-box h3 { color: #fff; font-size: 2.5rem; margin-bottom: 0.5rem; }
.loan-cta-box p { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }

/* ===== SELLING PROCESS ===== */
#selling-process { padding: 6rem 0; background: var(--white); }
.selling-header { text-align: center; margin-bottom: 3.5rem; }
.sell-steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.sell-step-card {
  background: var(--light-bg); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: var(--transition);
}
.sell-step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sell-step-img { height: 220px; overflow: hidden; }
.sell-step-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.sell-step-card:hover .sell-step-img img { transform: scale(1.07); }
.sell-step-body { padding: 1.8rem; }
.sell-step-num { display: inline-block; background: var(--primary); color: #fff; font-size: 0.78rem; font-weight: 800; padding: 0.2rem 0.7rem; border-radius: 50px; margin-bottom: 0.75rem; letter-spacing: 0.05em; }
.sell-step-body h4 { color: var(--text-dark); font-size: 1.8rem; margin-bottom: 0.6rem; }
.sell-step-body p { font-size: 1rem;}
.sell-step-body ul { list-style: none; padding: 0; margin: 0; }
.sell-step-body ul li { font-size: 1rem; color: var(--text-muted); padding: 0.25rem 0; display: flex; gap: 0.5rem; }
.sell-step-body ul li::before { content: '→'; color: var(--primary); flex-shrink: 0; }
.sell-cta { text-align: center; margin-top: 3rem; }
.sell-cta h3 { font-size: 2.6rem; margin-bottom: 0.5rem; }
.sell-cta p { color: var(--text-muted); margin-bottom: 1.5rem; }

/* ===== LISTING AGENT SERVICES ===== */
#listing-services { padding: 6rem 0; background: var(--primary); }
.listing-header { text-align: center; margin-bottom: 3.5rem; }
.listing-header h2, .listing-header p { color: #fff; }
.listing-header .section-label { color: var(--accent-light); }
.listing-inner { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.listing-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.listing-row.reverse { direction: rtl; }
.listing-row.reverse > * { direction: ltr; }
.listing-row-img { height: 360px; overflow: hidden; }
.listing-row-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.listing-row-img:hover img { transform: scale(1.05); }
.listing-row-text { padding: 3rem; }
.listing-row-text h3 { color: var(--primary); margin-bottom: 1rem; font-size: 2rem; }
.listing-row-text p { font-size: 1rem; color: var(--text-muted); margin-bottom: 0.8rem; }
.listing-row-text ul { list-style: none; padding: 0; margin: 1rem 0 0; }
.listing-row-text ul li { font-size: 1rem; color: var(--text-dark); padding: 0.35rem 0; display: flex; gap: 0.6rem; border-bottom: 1px solid var(--border); }
.listing-row-text ul li:last-child { border-bottom: none; }
.listing-row-text ul li::before { content: '✔'; color: var(--primary); flex-shrink: 0; font-weight: 700; }
.divider-line { height: 1px; background: var(--border); margin: 0; }
.listing-why { padding: 3rem; }
.listing-why h3 { color: var(--primary); margin-bottom: 2rem; }
.listing-why p { font-size: 1rem; color: var(--text-muted); margin-bottom: 1rem; }
.listing-why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.5rem; }
.lwf-item { display: flex; gap: 0.75rem; align-items: flex-start; }
.lwf-item .lwf-icon { width: 36px; height: 36px; background: var(--light-bg); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 0.9rem; flex-shrink: 0; }
.lwf-item .lwf-text h5 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.15rem; }
.lwf-item .lwf-text p { font-size: 1rem; color: var(--text-muted); margin: 0; }

/* ===== RELOCATION SERVICES ===== */
#relocation { padding: 6rem 0; background: var(--light-gray); }
.relocation-img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.relocation-content { padding-right: 2rem; }
.relocation-steps { margin-top: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.reloc-step {
  background: var(--light-bg); border-radius: var(--radius); padding: 1.4rem;
  display: flex; gap: 1.2rem; align-items: flex-start; transition: var(--transition);
  border-left: 4px solid var(--primary);
}
.reloc-step:hover { box-shadow: var(--shadow); transform: translateX(4px); }
.reloc-num { width: 36px; height: 36px; background: var(--primary); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.9rem; flex-shrink: 0; }
.reloc-body h4 { font-size: 1.2rem; margin-bottom: 0.3rem; }
.reloc-body p { font-size: 1rem; color: var(--text-muted); margin: 0; }

/* ===== TESTIMONIALS ===== */
#testimonials { padding: 6rem 0; background: var(--white); }
.testimonials-header { text-align: center; margin-bottom: 3.5rem; }
.review-card {
  background: var(--light-bg); border-radius: var(--radius-lg);
  padding: 2rem; margin: 0.5rem; height: 100%; box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  border-top: 3px solid var(--primary); transition: var(--transition);
}
.review-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.review-stars { color: var(--accent); font-size: 1rem; margin-bottom: 0.8rem; }
.review-text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 1.2rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 0.75rem; }
.reviewer-avatar { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--primary-light)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1rem; }
.reviewer-name { font-weight: 700; font-size: 0.9rem; }
.reviewer-loc { font-size: 0.78rem; color: var(--text-muted); }
.testimonials-cta { text-align: center; margin-top: 2.5rem; }
.carousel-control-reviews { color: var(--primary) !important; background: var(--light-bg) !important; border-radius: 50%; width: 44px !important; height: 44px !important; top: 50%; transform: translateY(-50%); margin: 0; border: 2px solid var(--border); }

/* ===== CONTACT SECTION ===== */
#contact { padding: 6rem 0; background: var(--primary); }
.contact-info h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 1rem; }
.contact-info p { color: rgba(255,255,255,0.82); margin-bottom: 1.5rem; }
.contact-realtor-img { width: 100%; max-width: 300px; height: 380px; object-fit: cover; object-position: top; border-radius: var(--radius-lg); margin-bottom: 1.8rem; box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.contact-detail { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.contact-detail .cd-icon { width: 40px; height: 40px; background: rgba(255,255,255,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent-light); font-size: 1rem; flex-shrink: 0; }
.contact-detail .cd-text a, .contact-detail .cd-text span { color: rgba(255,255,255,0.88); font-size: 0.95rem; }
.contact-detail .cd-text a:hover { color: #fff; }
.contact-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.social-btn { width: 42px; height: 42px; background: rgba(255,255,255,0.12); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 1rem; transition: var(--transition); border: 1px solid rgba(255,255,255,0.2); }
.social-btn:hover { background: var(--accent); color: var(--secondary); border-color: var(--accent); transform: translateY(-3px); }

/* Contact Form */
.contact-form-box {
  background: #fff; border-radius: var(--radius-lg);
  padding: 2.8rem; box-shadow: 0 12px 48px rgba(0,0,0,0.2);
}
.contact-form-box h3 { color: var(--primary); margin-bottom: 1.8rem; font-size: 1.4rem; }
.form-label { font-size: 0.85rem; font-weight: 700; color: var(--text-dark); margin-bottom: 0.4rem; letter-spacing: 0.03em; text-transform: uppercase; }
.form-control, .form-select {
  border: 1.5px solid var(--border); border-radius: 8px;
  padding: 0.72rem 1rem; font-size: 0.92rem; color: var(--text-dark);
  transition: var(--transition); background: #fafafa;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0,74,172,0.1);
  background: #fff; outline: none;
}
.form-check-label { font-size: 0.85rem; color: var(--text-muted); }
.recaptcha-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ===== FOOTER ===== */
#footer { background: var(--dark-bg); padding: 4rem 0 0; }
.footer-logo { max-height: 150px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.88rem; max-width: 280px; line-height: 1.7; margin-bottom: 1rem; }
.footer-license { font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-top: 0.5rem; }
.footer-heading { color: var(--accent-light); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: rgba(255,255,255,0.65); font-size: 0.88rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent-light); padding-left: 4px; }
.footer-contact-item { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 0.8rem; }
.footer-contact-item i { color: var(--accent); font-size: 0.88rem; margin-top: 0.2rem; flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item span { color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.footer-contact-item a:hover { color: var(--accent-light); }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: var(--transition); }
.footer-social a:hover { background: var(--accent); color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 1.2rem 0; margin-top: 3rem; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; margin: 0; }
.footer-bottom a { color: rgba(255,255,255,0.5); }
.footer-bottom a:hover { color: var(--accent-light); }

/* ===== SCROLL TO TOP ===== */
#scrollTop {
  position: fixed; bottom: 2rem; right: 2rem; width: 46px; height: 46px;
  background: var(--primary); color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  cursor: pointer; z-index: 999; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: all 0.3s ease;
}
#scrollTop.visible { opacity: 1; visibility: visible; transform: translateY(0); }
#scrollTop:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: 0.1s; }
.fade-up-delay-2 { transition-delay: 0.2s; }
.fade-up-delay-3 { transition-delay: 0.3s; }

/* ===== UTILITIES ===== */
.text-primary-custom { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary-custom { background: var(--primary) !important; }
.bg-light-custom { background: var(--light-bg) !important; }
.divider { height: 3px; width: 50px; background: var(--accent); border-radius: 2px; margin-bottom: 1.5rem; }
.divider.center { margin: 0 auto 1.5rem; }

/* ===== ALERTS / FORM MESSAGES ===== */
.form-alert { padding: 1rem 1.4rem; border-radius: 8px; margin-top: 1rem; font-size: 0.9rem; display: none; }
.form-alert.success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; display: block; }
.form-alert.error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; display: block; }

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 1199px) {
  .about-content { padding-left: 2rem; }
}
@media (max-width: 991px) {
  /*#navbar .navbar-brand img { height: 50px; }
  .navbar-phone { font-size: 1.1rem; }*/
	.navbar-nav .nav-link { padding: 0.85rem 0.5rem !important; }
  .navbar-phone { padding: 0.85rem 0.5rem; font-size: 1.1rem; }
  .hero-slide { height: 70vh; min-height: 460px; }
  .service-box-row { flex-direction: column; }
  .service-box { border-right: none; border-bottom: 1px solid var(--border); }
  .service-box:last-child { border-bottom: none; }
  .about-content { padding-left: 0; margin-top: 3rem; }
  .about-img-wrap .about-badge { left: 1rem; }
  .step-row { grid-template-columns: 1fr; }
  .loan-cards { grid-template-columns: 1fr; }
  .sell-steps { grid-template-columns: 1fr; }
  .listing-row { grid-template-columns: 1fr; }
  .listing-row.reverse { direction: ltr; }
  .listing-why-features { grid-template-columns: 1fr; }
  .relocation-content { padding-right: 0; margin-bottom: 2rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  #heroSlider { margin-top: 70px; }
}
@media (max-width: 767px) {
  .step-img { width: 100%; min-width: unset; height: 180px; }
  .step-card { flex-direction: column; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-slide { height: 85vh; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .contact-form-box { padding: 1.8rem; }
  .listing-row-img { height: 250px; }
  .listing-row-text { padding: 2rem; }
  .listing-why { padding: 2rem; }
  .footer-logo { height: 44px; }
}
@media (max-width: 575px) {
  .hero-content h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}

/* ===== NAVBAR TOGGLER ===== */
.navbar-toggler { border: none; padding: 0.25rem; }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23004aac' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important; }

/* ===== HERO IMG FALLBACK ===== */
.slide-img-wrap { position: absolute; inset: 0; }
.slide-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.slide-img-fallback { width: 100%; height: 100%; }

/* ===== SECTION PADDING UTIL ===== */
.py-section { padding-top: 6rem; padding-bottom: 6rem; }

/* ===== STICKY PHONE BAR (mobile) ===== */
.sticky-phone-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
  background: var(--primary); padding: 0.75rem 1rem;
  justify-content: center; align-items: center; gap: 1rem;
}
.sticky-phone-bar a { color: #fff; font-weight: 700; font-size: 1.05rem; }
@media (max-width: 767px) { .sticky-phone-bar { display: flex; } }
