: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; } REMOVED FOR INSTANT NAVIGATION */

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

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: all .2s;
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--accent) !important; }

/* Active Indicator */
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.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: 80vh; 
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(184, 134, 11, 0.05) 0%, transparent 40%),
    linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 100%),
    url('../images/real-estate-background.png') center/cover no-repeat;
  /* background-attachment: fixed removed so it scrolls normally */
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--bg-light));
}
.hero-content { position: relative; z-index: 2; padding-top: 80px; width: 100%; }
.min-vh-95 { min-height: 80vh; }

/* Responsive Profile Photo Container */
.hero-photo-abs {
  position: absolute;
  left: 45%; 
  transform: translateX(-50%);
  bottom: -30px; 
  z-index: 1;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.hero-profile-wrap {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 0; /* Removing radius for a more integrated look if needed, or keep for style */
}

.hero-profile-img {
  width: auto;
  height: 50vh; /* Reduced from 85vh to fit the new hero size */
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.3));
}

.hero-stats-inner {
  margin-top: 0;
  padding-left: 5%;
}

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

.hero-bottom-text h1 {
  color: #ffffff !important;
}

.hero-tagline {
  font-size: 2.2rem;
  color: #ffffff !important;
}

.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;
}

.hover-accent { transition: color 0.2s; }
.hover-accent:hover { color: var(--accent) !important; }

.transition-link { transition: all 0.3s ease; border-radius: 12px; padding: 10px; margin: -10px; }
.transition-link:hover { background: rgba(184, 134, 11, 0.1); }

.contact-form-styled .form-label {
  color: var(--text-main);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.input-group-custom {
  position: relative;
  display: flex;
  width: 100%;
}

.input-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-size: 18px;
  z-index: 5;
}

.input-group-custom.align-items-start .input-icon {
  top: 16px;
  transform: none;
  margin-top: 0 !important;
}

.input-group-custom .form-control {
  padding: 14px 18px 14px 50px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s;
}

.input-group-custom .form-control:focus {
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-dim);
  outline: none;
}

.btn-hero-solid {
  background: var(--accent);
  border: none;
  border-radius: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s;
}

.btn-hero-solid:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(184, 134, 11, 0.2);
}

.fw-800 { font-weight: 800; }

/* ── 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%;
  cursor: pointer;
}
.achievement-card i {
  color: var(--accent);
  font-size: 16px;
}
.achievement-card:hover, .achievement-card.active {
  border-color: var(--accent);
  color: var(--accent);
  transform: scale(1.03);
  box-shadow: 0 5px 15px rgba(184, 134, 11, 0.1);
}

.developer-detail-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
  animation: slideDownFade 0.3s ease-out;
}

.developer-detail-panel h6 {
  color: var(--accent);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.developer-detail-panel p {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.developer-detail-panel ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.developer-detail-panel li {
  font-size: 14px;
  margin-bottom: 8px;
}

@keyframes slideDownFade {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.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: 150px 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;
}

/* ── DEVELOPERS ──────────────────────────────── */
#developers {
  padding: 120px 0;
  background-color: #ffffff; /* Shifted to white for a cleaner look */
}

.developer-card-elegant {
  background: #fcfcfc;
  padding: 100px 60px; /* Even more spacious */
  border-radius: 20px; /* Softened corners for elegance */
  border: 1px solid #eeeeee;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 10px 40px rgba(0,0,0,0.02); /* Very soft shadow to define shape */
}

.developer-card-elegant:hover {
  transform: translateY(-10px);
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(0,0,0,0.06);
  border-color: var(--accent);
}

.dev-logo-wrap {
  width: 140px; /* Larger logo */
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.5s ease;
}

.developer-card-elegant:hover .dev-logo-wrap {
  transform: scale(1.1);
}

.dev-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.5s ease;
}

.dev-logo-wrap i {
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.8;
}

.developer-card-elegant h3 {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  margin-bottom: 20px;
}

.developer-card-elegant p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 450px;
  color: var(--text-secondary);
}

/* Minimalist Elegant Button */
.btn-minimal-elegant {
  display: inline-block;
  padding: 16px 45px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #fff;
  background: #1a1a1a;
  border: 2px solid #1a1a1a;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 30px;
  border-radius: 10px; /* Pill shape for premium feel */
}

.btn-minimal-elegant:hover {
  background: transparent;
  color: #1a1a1a;
  transform: scale(1.05);
}

/* ── 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 .4s 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;
    transform: none; /* Reset desktop transform to center on mobile */
    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: 100px 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;
}

/* ══════════════════════════════════════════════
   TOAST NOTIFICATION
   I-append ito sa dulo ng assets/css/style.css
══════════════════════════════════════════════ */
#contactToast {
  position: fixed !important;
  bottom: 1.5rem !important;
  right: 1.5rem !important;
  top: auto !important;
  left: auto !important;
  z-index: 9999;
  min-width: 300px;
  max-width: calc(100vw - 3rem);
  pointer-events: none;
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
#contactToast.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}
.inquiry-toast-inner {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #0F172A;
  color: #fff;
  padding: 1rem 1.2rem;
  border-radius: 6px;
  box-shadow: 0 8px 32px rgba(15,23,42,0.35);
  border-left: 4px solid #22c55e;
}
.inquiry-toast-icon {
  color: #22c55e;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.inquiry-toast-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.inquiry-toast-text strong { font-size: 0.9rem; font-weight: 700; }
.inquiry-toast-text span   { font-size: 0.8rem; opacity: 0.75; }
.inquiry-toast-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}
.inquiry-toast-close:hover { color: #fff; }

@media (max-width: 575px) {
  #contactToast {
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1rem !important;
    min-width: unset;
  }
}