:root {
  --bg-light:     #ffffff;
  --bg-alt:       #f8f9fa;
  --bg-card:      #ffffff;
  --accent:       #b8860b; /* Darker gold for better contrast on white */
  --accent-light: #daa520;
  --accent-dim:   rgba(184, 134, 11, 0.1);
  --text-main:    #1a1a1a;
  --text-secondary:#4a4a4a;
  --text-muted:   #6c757d;
  --border:       #e0e0e0;
  --border-gold:  rgba(184, 134, 11, 0.3);
  --radius:       12px;
  --glass:        rgba(255, 255, 255, 0.9);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-light);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 800; color: var(--text-main); letter-spacing: -0.5px; }

p { color: var(--text-secondary); font-size: 16px; }
.text-muted { color: var(--text-muted) !important; font-size: 14px; }

/* ── GLOBAL FORMS ───────────────────────────── */
::placeholder {
  color: #adb5bd !important;
  opacity: 1; /* Firefox */
}
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text-main);
  -webkit-box-shadow: 0 0 0px 1000px var(--bg-light) inset;
  transition: background-color 5000s ease-in-out 0s;
}

/* ── NAVBAR ─────────────────────────────────── */
.navbar-custom {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all .3s;
}
.navbar-brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-main) !important;
  text-transform: uppercase;
}
.nav-link {
  color: var(--text-secondary) !important;
  font-size: 17px;
  font-weight: 600;
  padding: 8px 18px !important;
  transition: color .2s;
}
.nav-link:hover { color: var(--accent) !important; }

.navbar-profile img {
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}
.navbar-profile img:hover {
  transform: scale(1.1);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px;
}
.navbar-toggler-icon {
  width: 20px; height: 20px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(184, 134, 11, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ── HERO ────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(184, 134, 11, 0.01) 0%, transparent 40%),
    linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 100%),
    url('../images/real-estate-background.png') center/cover no-repeat;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.7));
}
.hero-content { position: relative; z-index: 2; padding-top: 40px; }
.min-vh-95 { min-height: 95vh; }

.hero-photo-abs {
  position: absolute;
  top: 228px;
  left: 304px;
  z-index: 1;
  pointer-events: none;
}

.hero-stats-inner {
  margin-top: 280px;
}

.hero-bottom-text {
  margin-bottom: 50px;
  z-index: 3;
  position: relative;
}

.hero-tagline {
  font-size: 2.2rem;
}

.hero-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: #ffffff;
}
.hero h1 em { font-style: normal; color: #ffffff; }
.hero p {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
  margin-bottom: 40px;
}
.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
  font-size: 14px;
  padding: 16px 36px;
  border: none;
  border-radius: 10px;
  text-decoration: none;
  transition: all .2s;
}
.btn-hero:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ── PROFILE CARD ───────────────────────────── */


/* Decorative background accent */
.hero-image-card.no-bg {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

.hero-profile-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 32px;
  margin-top: 50px;
}

.hero-profile-img {
  width: 480px;
  height: 640px;
  max-width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 32px;
}

.hero-stat-item h3 {
  font-size: 24px;
  color: #ffffff;
  letter-spacing: -0.5px;
}
.hero-stat-item p {
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* ── CUSTOM MODAL (OFFCANVAS) ───────────────── */
.custom-modal {
  width: 100% !important;
  max-width: 100% !important;
  background: var(--bg-light);
  border-left: none;
}

.fact-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
}
.fact-card:hover {
  transform: translateY(-5px);
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}
.fact-icon {
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 10px;
}
.fact-value {
  font-weight: 800;
  font-size: 18px;
  color: var(--text-main);
  display: block;
}
.fact-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bio-text-wrap {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--accent-dim);
}

.achievement-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  height: 100%;
}
.achievement-card i {
  color: var(--accent);
  font-size: 16px;
}
.achievement-card:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.1);
}

.fact-card.compact {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  padding: 15px;
}
.fact-card.compact .fact-icon { margin-bottom: 0; font-size: 20px; }
.fact-card.compact .fact-value { font-size: 16px; }

.modal-profile-wrap img {
  border: 4px solid #fff;
  transition: transform 0.3s ease;
}
.modal-profile-wrap img:hover {
  transform: scale(1.05);
}

.badge-custom {
  background: var(--accent-dim);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--border-gold);
  transition: all 0.2s;
  cursor: default;
}
.badge-custom:hover {
  background: var(--accent);
  color: #fff;
}

/* Sentence Animation */
.anim-sentence {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 1.2s ease, transform 1.2s ease;
  margin-bottom: 1rem;
  display: block;
}
.anim-sentence.show {
  opacity: 1;
  transform: translateY(0);
}

/* ── SECTION HELPERS ─────────────────────────── */
section { padding: 80px 0; }
.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.section-sub {
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 60px;
  font-size: 16px;
}
.divider-line {
  width: 50px; height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 24px;
}

/* ── PROFILE & EXPERTISE ─────────────────────── */
.card-custom {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: all .3s;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.card-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.08);
  border-color: var(--border-gold);
}
.icon-box {
  width: 60px; height: 60px;
  background: var(--accent-dim);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  color: var(--accent);
  margin-bottom: 24px;
}

/* ── FAQ ACCORDION ───────────────────────────── */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: 12px !important;
  margin-bottom: 16px;
  overflow: hidden;
}
.accordion-button {
  font-weight: 700;
  padding: 20px;
  color: var(--text-main);
  background: var(--bg-card);
}
.accordion-button:not(.collapsed) {
  background: var(--accent-dim);
  color: var(--accent);
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; border-color: var(--border-gold); }

/* ── CONTACT & FOOTER ────────────────────────── */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: var(--accent-dim);
  color: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 80px 0 40px; }
.footer-brand { font-size: 20px; font-weight: 800; color: var(--text-main); margin-bottom: 16px; }
.footer-col-title { font-size: 13px; font-weight: 700; color: var(--text-main); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px; }
.footer-links { list-style: none; }
.footer-links a { color: var(--text-secondary); font-size: 14px; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); margin-top: 50px; padding-top: 30px; color: var(--text-muted); font-size: 13px; text-align: center; }

/* ── ANIMATIONS ──────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); transition: all .6s ease-out; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ──────────────────────────────── */
@media (max-width: 991px) {
  .hero .row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start !important;
  }
  .hero-bottom-text {
    order: 1;
    text-align: center;
    padding-left: 0 !important;
    margin-top: 40px;
    margin-bottom: 20px;
  }
  .hero-stats-col {
    order: 2;
    padding-left: 0 !important;
    margin-bottom: 30px;
  }
  .hero-photo-abs {
    order: 3;
    position: relative;
    top: 0;
    left: 0;
    text-align: center;
    margin: 0 auto 40px;
    pointer-events: auto;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .hero-profile-img {
    width: 100%;
    max-width: 320px;
    height: auto;
    border-radius: 24px;
  }
  .hero-stats-inner {
    margin-top: 0;
    text-align: center;
    align-items: center;
  }
  .hero-tagline {
    font-size: 1.5rem;
  }
  .hero-mobile-btn {
    order: 4;
    margin-top: 20px;
    margin-bottom: 40px;
  }
  .hero {
    padding-top: 80px;
    min-height: auto;
  }
}

@media (max-width: 767px) {
  section { padding: 60px 0; }
  .hero h1 { font-size: 2.2rem; }
}

/* ── BACK TO TOP ────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  border: none;
  text-decoration: none;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 40px;
}

.back-to-top:hover {
  background: var(--accent-light);
  transform: translateY(-5px);
  color: white;
}

