:root {
  /* Brand palette */
  --blue-primary: #0057F2;
  --blue-deep: #003B99;
  --blue-soft: #4DA7FF;
  --bg: #F4F6F8;
  --bg-soft: #EEF2F7;
  --text-main: #0F172A;
  --text-muted: #6B7280;
  --border-soft: #E0E6ED;
  --white: #FFFFFF;

  --shadow-soft: 0 14px 35px rgba(15, 23, 42, 0.12);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

header.scrolled {
  background: rgba(244, 246, 248, 0.96);
  border-bottom-color: rgba(148, 163, 184, 0.25);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

/* MOBILE DROPDOWN MENU */
.mobile-menu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%; /* sits just below header */
  background: var(--blue-primary); /* same blue as toggle */
  color: #ffffff;
  padding: 0.9rem 1.1rem 1.3rem;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.35);
  z-index: 25;
}

/* visible state */
.mobile-menu.open {
  display: none;
}

/* menu links */
.mobile-menu a {
  display: block;
  padding: 0.7rem 0;
  font-size: 0.95rem;
  color: #f9fafb;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12); /* faint underline */
	cursor: pointer;
	opacity: .8;
	transition: .5;
}

.mobile-menu a:hover {
	opacity: 1;
	transition: .5;
}

/* last link – remove border if you like */
.mobile-menu a:last-of-type {
  border-bottom: none;
}

/* full-width CTA in menu */
.btn-mobile-primary {
  display: block;
  width: 100%;
  margin-top: 1.2rem;
  padding: 0.85rem 1.1rem;
  border: none;
  border-radius: 0; /* no radius – bar look */
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--blue-soft); /* slightly different blue to stand out */
  color: #ffffff;
  text-align: center;
  cursor: pointer;
}
.btn-mobile-primary:hover {
  opacity: 0.95;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.6rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
	opacity: 0.92;
  transition: opacity .2s ease;
	cursor: pointer;
}

.brand-logo {
  width: 80px;
  /*! height: 55px; */
  border-radius: 5px;
  /*! background: linear-gradient(180deg, var(--blue-soft), var(--blue-deep)); */
  /*! display: flex; */
  align-items: center;
  justify-content: center;
  /*! box-shadow: 0 5px 12px rgba(0, 42, 121, 0.4); */
  /*! flex-shrink: 0; */
  overflow: hidden;
  padding: 0;
  /*! margin-top: -5px !important; */
	box-shadow: 0 6px 18px rgba(0, 87, 242, 0.25);
  padding: 10px;
	transition: box-shadow 0.25s ease-out, transform 0.25s ease-out;
}

.brand-logo img {
  width: auto;
  height: 100%;
  object-fit: cover;
  display: block;
	image-rendering: -webkit-optimize-contrast;
	border-radius: 5px;
}

.brand:hover .brand-logo {
  box-shadow: 0 8px 22px rgba(0, 87, 242, 0.45); /* stronger glow */
  transform: translateY(-1px); /* subtle lift */
}
.brand-text-title {
  font-weight: 700;
  font-size: 1.4rem;
  color: #005ba1;
}

.brand-text-sub {
  font-size: 0.90rem;
  color: #0F172A;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-top: -6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.nav-links a {
  position: relative;
  padding-bottom: 0.25rem;
  cursor: pointer;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-soft));
  transition: width 0.18s ease-out;
}

.nav-links a:hover::after {

  width: 100%;
}

/* MOBILE NAV TOGGLE (HAMBURGER) */
.nav-toggle {
  width: 40px;
  height: 40px;
  background: var(--blue-primary); /* brand blue square */
  border: none;
  border-radius: 4px; /* very light rounding; set to 0 for perfect square */
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 87, 242, 0.35);
	text-align: center;
	 display: none; /* shown only on small screens */
}

.nav-toggle:before {
  content: "menu"; /* Changed from "home" to "menu" */
  color: white;
  font-family: 'Material Icons';
	font-size: 36px;
	width: 100%;
	text-align: center;
	position: absolute;
	
}

button[aria-expanded="true"]:before {
  content: "close"; /* Changed from "home" to "menu" */
  color: white;
  font-family: 'Material Icons';
	font-size: 36px;
	width: 100%;
	text-align: center;
	position: absolute;
	transition: .5s;
  transform: rotate(180deg); 
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}

/* Turn hamburger into "X" when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-3px) rotate(-45deg);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, background 0.18s ease-out, color 0.18s ease-out;
}

.btn-primary {
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-soft));
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 87, 242, 0.4);
}

.contact-grid .btn-primary {
  width: 50%;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(0, 87, 242, 0.48);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-main);
}

.btn-ghost:hover {
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

main {
  flex: 1;
}

section {
  padding: 3.1rem 1.2rem;
  scroll-margin-top: 90px;
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* HERO */
.hero {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  color: var(--text-main);
  background-image: url("../img/home-alike-hero.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 30%;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(2px);
  z-index: 1;
}

.hero > * {
  position: relative;
  z-index: 2;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.19em;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.hero-title {
  font-size: clamp(2.2rem, 3.1vw + 1rem, 3.05rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-highlight {
  background: linear-gradient(90deg, var(--blue-deep), var(--blue-primary));
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 510px;
  margin-bottom: 1.1rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.hero-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-meta strong {
  color: var(--blue-deep);
}

.hero-phone-small {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.hero-phone-small a {
  color: var(--blue-deep);
  font-weight: 600;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow: 0 18px 36px rgba(0, 87, 242, 0.48);
	
}

.hero-card-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue-primary);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-card-stat {
  font-size: 1.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--blue-deep);
}

.hero-card-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* TRUST BAR UNDER HERO */
.trust-bar {
  background: rgba(255, 255, 255, 0.9);
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  backdrop-filter: blur(4px);
}

.trust-bar {
  margin-top: 0.4rem;
}

.trust-bar-inner {
  row-gap: 0.7rem;
}


.trust-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.7rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.8rem;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  white-space: nowrap;
	transition: 0.25s ease;
}

.trust-pill {
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.trust-pill:hover {
  transform: translateY(-1px);
  background: #E2E8F0;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.06);
}

.trust-pill span.emoji {
  font-size: 0.95rem;
}

/* Section headings */
.section-title {
  font-size: 1.65rem;
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.section-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 1.7rem;
}

/* WHY HOME ALIKE STR LIST */
.why-homeowners {
  margin-bottom: 1.8rem;
}

.why-homeowners-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.why-homeowners-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.why-homeowners-list li::before {
  content: "• ";
}

/* SERVICES */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.1rem 1.15rem 1.2rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid var(--border-soft);
}

.card-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--blue-primary);
  margin-bottom: 0.45rem;
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.card-body {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* PROCESS */
#process {
  background: var(--bg-soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem 2.2rem;
}

.step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: flex-start;
}

.step-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-soft));
  color: #fff;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.step-title {
  font-size: 0.96rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.step-body {
  font-size: 0.86rem;
  color: var(--text-muted);
}

/* ABOUT */
#about {
  background: var(--white);
  padding-top: 3.1rem;
  padding-bottom: 3.1rem;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.4rem;
}

.about-item {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.3rem 1.4rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.about-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--blue-deep);
}

.about-body {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* CTA / Earnings */
#earn {
  background: var(--bg);
}

.cta-panel {
  background: linear-gradient(135deg, var(--blue-deep), #020617);
  color: #E5E7EB;
  border-radius: var(--radius-xl);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.4rem;
  margin: 0 auto;       /* center horizontally */
  max-width: inherit;
}

.cta-panel button {
  margin-top: 1rem;     /* space above button */
}

.cta-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
}

.cta-panel p {
  font-size: 0.9rem;
  color: #CBD5F5;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-bottom: 0.55rem;
}

.cta-pill {
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(15, 23, 42, 0.75);
  font-size: 0.78rem;
}

/* CONTACT */
#contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr);
  gap: 1.9rem;
  align-items: flex-start;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 0.12rem;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.8);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  background: #F9FAFB;
  transition: border-color 0.15s ease-out, box-shadow 0.15s ease-out, background 0.15s ease-out;
}

input:focus,
textarea:focus {
  border-color: var(--blue-primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 1px rgba(0, 87, 242, 0.5);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-meta {
  font-size: 0.87rem;
  color: var(--text-muted);
}

.contact-meta strong {
  color: var(--blue-primary);
}

/* form feedback messages */
.form-feedback {
  margin-bottom: 0.9rem;
  font-size: 0.86rem;
  border-radius: var(--radius-md);
  padding: 0.65rem 0.75rem;
}
.form-feedback.error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}
.form-feedback.success {
  background: #ECFDF3;
  color: #166534;
  border: 1px solid #86EFAC;
}

/* FOOTER */
footer {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding: 1.4rem 1.1rem 1.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  background: #F9FAFB;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
	text-align: center;
  padding: 1.5rem 0;
}

/* Social row — centered, clean, expandable */
.footer-social-row {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

/* Main text stays stacked */
.footer-main {
  margin-bottom: 1rem;
}

/* Social row */
.footer-social-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.footer-social-link {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 83, 138, 0.25);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.18s ease;
}

.footer-social-link:hover {
  background-color: #1877F2;
  color: #fff;
  border-color: #1877F2;
  transform: translateY(-1px);
}