/* ============================================================
   Future Home Upgrade — custom styles
   ============================================================ */
:root {
  --navy: #10304b;
  --navy-deep: #0b2238;
  --amber: #f5a623;
  --amber-dark: #e0910f;
  --cream: #faf7f1;
  --ink: #25313b;
  --muted: #5e6c79;
  --line: #e8e2d8;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Poppins", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: 700; color: var(--navy); letter-spacing: -0.01em; }
a { text-decoration: none; }

img { max-width: 100%; }

/* ---------- Navbar ---------- */
.navbar {
  background: #fff;
  box-shadow: 0 2px 18px rgba(16, 48, 75, 0.08);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.navbar-brand { display: flex; align-items: center; }
.navbar-brand img { height: 46px; width: auto; }
.navbar .nav-link {
  font-weight: 600;
  color: var(--navy);
  padding: 0.55rem 0.9rem !important;
  border-radius: 10px;
  font-size: 0.95rem;
}
.navbar .nav-link:hover { color: var(--amber-dark); }
.navbar .nav-link.active { color: var(--amber-dark); background: rgba(245, 166, 35, 0.12); }
/* replace Bootstrap's SVG hamburger with a real PNG */
.navbar-toggler-icon {
  background-image: url("../icons/menu.png");
  background-size: 24px 24px;
  background-position: center;
}
.btn-nav {
  background: var(--amber);
  color: #1d2c39;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.55rem 1.25rem;
  border: 0;
  transition: 0.2s;
}
.btn-nav:hover { background: var(--amber-dark); color: #1d2c39; }

/* ---------- Buttons ---------- */
.btn-brand {
  background: var(--amber);
  color: #1d2c39;
  font-weight: 700;
  border-radius: 50px;
  padding: 0.7rem 1.6rem;
  border: 0;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-brand:hover { background: var(--amber-dark); color: #1d2c39; transform: translateY(-2px); }
.btn-brand img { width: 18px; height: 18px; }

.btn-navy {
  background: var(--navy);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.7rem 1.6rem;
  border: 0;
  transition: 0.2s;
}
.btn-navy:hover { background: var(--navy-deep); color: #fff; transform: translateY(-2px); }

.btn-outline-light2 {
  border: 2px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  padding: 0.65rem 1.5rem;
  background: transparent;
  transition: 0.2s;
}
.btn-outline-light2:hover { background: #fff; color: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(11, 34, 56, 0.93) 0%, rgba(16, 48, 75, 0.78) 45%, rgba(16, 48, 75, 0.35) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; }
.hero .lead { color: rgba(255, 255, 255, 0.88); max-width: 620px; font-size: 1.12rem; }
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(245, 166, 35, 0.18);
  border: 1px solid rgba(245, 166, 35, 0.55);
  color: #ffd28a;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.45rem 1rem;
}
.hero-scroll {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section-tight { padding: 64px 0; }
.section-alt { background: var(--cream); }
.section-navy { background: var(--navy); }

.eyebrow {
  display: inline-block;
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); margin-top: 0.4rem; }
.section-sub { color: var(--muted); max-width: 640px; }

.text-muted2 { color: var(--muted) !important; }

/* ---------- Service cards ---------- */
.service-card {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px rgba(16, 48, 75, 0.08);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  height: 100%;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(16, 48, 75, 0.16); }
.service-card .thumb { height: 215px; overflow: hidden; position: relative; }
.service-card .thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .thumb img { transform: scale(1.08); }
.service-card .card-body { padding: 1.5rem; display: flex; flex-direction: column; }
.service-card .card-title { font-size: 1.12rem; margin-bottom: 0.6rem; }
.service-card .card-text { color: var(--muted); font-size: 0.94rem; flex-grow: 1; }
.service-card .card-footer { background: transparent; border: 0; padding: 0 1.5rem 1.5rem; }
.service-link {
  font-weight: 700;
  color: var(--amber-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.92rem;
}
.service-link:hover { color: var(--navy); }
.service-link img { width: 16px; height: 16px; }

/* Card CTA button */
.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  border-radius: 50px;
  padding: 0.55rem 1rem;
  font-size: 0.92rem;
  transition: 0.2s;
}
.service-cta:hover { background: var(--navy); color: #fff; }
.service-cta img { width: 16px; height: 16px; }

/* ---------- Feature / why-choose ---------- */
.feature-item { display: flex; gap: 0.9rem; margin-bottom: 1.15rem; }
.feature-item img { width: 24px; height: 24px; flex: 0 0 24px; margin-top: 3px; }
.feature-item h6 { margin: 0 0 0.2rem; color: var(--ink); font-weight: 700; }
.feature-item p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  height: 100%;
  transition: 0.25s;
}
.why-card:hover { border-color: var(--amber); box-shadow: 0 10px 28px rgba(16, 48, 75, 0.1); }
.why-card img { width: 40px; height: 40px; margin-bottom: 0.9rem; }
.why-card h6 { margin-bottom: 0.45rem; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  color: #fff;
  padding: 120px 0 90px;
  background: linear-gradient(115deg, #0b2238 0%, #10304b 60%, #1b4a6e 100%);
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -120px; top: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.28), transparent 70%);
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); max-width: 680px; }
.breadcrumb-own { color: rgba(255, 255, 255, 0.75); font-size: 0.9rem; margin-bottom: 0.75rem; }
.breadcrumb-own a { color: #ffd28a; }

/* ---------- About ---------- */
.about-img { border-radius: 22px; box-shadow: 0 24px 60px rgba(16, 48, 75, 0.18); }
.value-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.6rem;
  height: 100%;
  border: 1px solid var(--line);
  transition: 0.25s;
}
.value-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(16, 48, 75, 0.12); }
.value-card img { width: 42px; height: 42px; margin-bottom: 0.9rem; }

/* ---------- Contact ---------- */
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 1.4rem; height: 100%;
}
.contact-card img { width: 30px; height: 30px; flex: 0 0 30px; margin-top: 2px; }
.contact-card h6 { margin: 0 0 0.25rem; }
.contact-card p { margin: 0; color: var(--muted); font-size: 0.94rem; }
.contact-card a { color: var(--navy); font-weight: 600; }

.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.2rem;
  box-shadow: 0 18px 50px rgba(16, 48, 75, 0.1);
}
.form-control, .form-select {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.95rem;
  font-size: 0.95rem;
}
/* replace Bootstrap's SVG select arrow with a real PNG */
.form-select {
  background-image: url("../icons/chevron-down.png");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 10px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 0.2rem rgba(245, 166, 35, 0.18);
}
.form-label { font-weight: 600; color: var(--navy); font-size: 0.9rem; }

/* ---------- Blog ---------- */
.blog-card {
  border: 0; border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 24px rgba(16, 48, 75, 0.08);
  height: 100%; transition: 0.28s;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(16, 48, 75, 0.16); }
.blog-card .thumb { height: 230px; overflow: hidden; }
.blog-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.blog-card:hover .thumb img { transform: scale(1.07); }
.blog-card .card-body { padding: 1.5rem; display: flex; flex-direction: column; }
.blog-chip {
  display: inline-block;
  background: rgba(245, 166, 35, 0.15);
  color: var(--amber-dark);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.3rem 0.8rem;
  margin-bottom: 0.7rem;
  align-self: flex-start;
}
.blog-card .card-title { font-size: 1.1rem; line-height: 1.35; }
.blog-card .card-title a { color: var(--navy); }
.blog-card .card-title a:hover { color: var(--amber-dark); }
.blog-card .card-text { color: var(--muted); font-size: 0.94rem; }

/* Blog article */
.article-banner { width: 100%; height: 420px; object-fit: cover; border-radius: 22px; box-shadow: 0 22px 60px rgba(16, 48, 75, 0.16); }
.article-body { font-size: 1.04rem; line-height: 1.85; color: #3a4651; }
.article-body h2 { font-size: 1.45rem; margin-top: 2.2rem; margin-bottom: 0.9rem; }
.article-body h3 { font-size: 1.18rem; margin-top: 1.8rem; }
.article-body p { margin-bottom: 1.2rem; }
.article-quote {
  border-left: 4px solid var(--amber);
  background: var(--cream);
  border-radius: 0 14px 14px 0;
  padding: 1.2rem 1.5rem;
  color: var(--navy);
  font-weight: 600;
  font-size: 1.08rem;
  margin: 1.6rem 0;
}
.back-link { color: var(--amber-dark); font-weight: 700; display: inline-flex; gap: 0.5rem; align-items: center; }
.back-link:hover { color: var(--navy); }

/* ---------- Newsletter band ---------- */
.newsletter-band {
  position: relative;
  background: linear-gradient(120deg, #0b2238, #10304b);
  color: #fff;
  border-radius: 24px;
  padding: 3rem;
  overflow: hidden;
}
.newsletter-band::after {
  content: "";
  position: absolute;
  right: -80px; top: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.35), transparent 70%);
}
.newsletter-band h3 { color: #fff; }
.newsletter-band p { color: rgba(255, 255, 255, 0.8); }
.newsletter-band .form-control { border: 0; border-radius: 50px; padding: 0.75rem 1.3rem; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: #b9c6d2; padding: 72px 0 0; }
.footer h6 { color: #fff; font-size: 1rem; margin-bottom: 1.1rem; }
.footer a { color: #b9c6d2; font-size: 0.94rem; }
.footer a:hover { color: #ffd28a; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 0.6rem; }
.footer .contact-line { display: flex; gap: 0.7rem; align-items: center; margin-bottom: 0.85rem; font-size: 0.94rem; }
.footer .contact-line img { width: 20px; height: 20px; }
.footer-brand img { height: 52px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 3rem; padding: 1.3rem 0; font-size: 0.9rem; }
.footer-bottom a { color: #ffd28a; }

/* ---------- Prose pages (policy) ---------- */
.prose-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.6rem;
  box-shadow: 0 10px 34px rgba(16, 48, 75, 0.07);
}
.prose-card h2 { font-size: 1.35rem; margin: 2rem 0 0.7rem; }
.prose-card h2:first-child { margin-top: 0; }
.prose-card p, .prose-card li { color: #46535e; line-height: 1.8; font-size: 0.98rem; }
.prose-card ul { padding-left: 1.2rem; }

/* ---------- Newsletter pages ---------- */
.newsletter-card {
  max-width: 520px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.6rem;
  box-shadow: 0 20px 55px rgba(16, 48, 75, 0.12);
}
.newsletter-card .form-control { border-radius: 50px; padding: 0.8rem 1.3rem; }
.status-msg { font-weight: 600; border-radius: 12px; padding: 0.9rem 1.1rem; }
.status-msg.success { background: #eaf6ec; color: #1d6b31; border: 1px solid #bfe4c7; }

/* ---------- misc ---------- */
.rounded-4 { border-radius: 18px !important; }
.overlay-img { position: relative; }
.overlay-img::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,34,56,0) 55%, rgba(11,34,56,0.55));
  border-radius: 22px;
}
@media (max-width: 991.98px) {
  .hero { min-height: 72vh; }
  .section { padding: 64px 0; }
  .newsletter-band { padding: 2rem; }
  .article-banner { height: 260px; }
  .navbar-collapse { padding-bottom: 1rem; }
  .btn-nav { margin-top: 0.5rem; }
}
