/* --------------------------------------------------
   NEW LIFE AGENCY — GLOBAL BRAND STYLESHEET
   Modern, responsive, accessible, unified design
-------------------------------------------------- */

/* ---------- ROOT VARIABLES ---------- */
:root {
  --brand-blue: #005bbb;
  --brand-blue-dark: #004a96;
  --brand-light: #e8f2ff;
  --brand-accent: #d62828;
  --text-dark: #1a1a1a;
  --text-light: #ffffff;
  --gray-100: #f7f7f7;
  --gray-200: #e5e5e5;
  --gray-300: #cccccc;
  --radius: 8px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --max-width: 1200px;
  --transition: 0.25s ease;
  font-family: "Segoe UI", Arial, sans-serif;
}

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

body {
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 1rem;
}

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: auto;
  padding: 0 20px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}


.font-controls {
    padding: 5px 0;
    text-align: right;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.font-controls button {
    background: #4A90E2;
    color: white;
    border: none;
    padding: 6px 12px;
    margin-left: 5px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.font-controls button:hover {
    background: #357ABD;
}

#translateBtn {
    background: var(--brand-blue);
    font-weight: 600;
}

#translateBtn:hover {
    background: var(--brand-blue-dark);
}

.site-header {
    background: #003366;
    padding: 0 0 15px;
    color: #ffffff;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 100px;
}

.logo-text-block {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
}

.years-in-business {
    font-size: 1rem;
    font-weight: 500;
    color: #FF0000; /* or your exact red */
}

/* NAV */
/* Make Contact link match other header links */
.main-nav .nav-cta {
  background: transparent !important;
  color: #ffffff !important;
  padding: 0 !important;        /* removes button look */
  border: none !important;
  box-shadow: none !important;
}

.main-nav a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 25px;
    font-size: 1.1rem;
    font-weight: 500;
}

.main-nav a:hover {
    text-decoration: underline;
}
.main-nav .active {
  border-bottom: 2px solid var(--text-light);
}

.nav-cta {
  background: var(--brand-light);
  color: var(--brand-blue);
  padding: 6px 14px;
  border-radius: var(--radius);
  font-weight: 600;
}

/* ---------- HERO SECTION ---------- */
.hero {
  background: var(--brand-light);
  padding: 60px 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
}

.hero-card {
  background: #ffffff;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

.btn.primary {
  background: var(--brand-blue);
  color: var(--text-light);
}

.btn.primary:hover {
  background: var(--brand-blue-dark);
}

.btn.secondary {
  background: #ffffff;
  border: 2px solid var(--brand-blue);
  color: var(--brand-blue);
}

.btn.secondary:hover {
  background: var(--brand-blue);
  color: var(--text-light);
}

.btn.full-width {
  width: 100%;
  text-align: center;
}

/* ---------- SECTIONS ---------- */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--gray-100);
}

.section-intro {
  max-width: 700px;
  margin-bottom: 30px;
}

/* ---------- CARDS ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: #ffffff;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 10px;
}

/* ---------- HIGHLIGHT BOX ---------- */
.highlight-box {
  background: var(--brand-light);
  padding: 25px;
  border-radius: var(--radius);
  border-left: 6px solid var(--brand-blue);
}

/* ---------- CONTACT FORM ---------- */
.contact-form {
  background: #ffffff;
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

input, textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 16px;
}

/* ---------- SMALL HERO ---------- */
.small-hero {
  padding: 40px 0;
}

/* ---------- JOINT COMMISSION SEAL ---------- */
.jc-seal {
  height: 80px;
  width: auto;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .jc-seal { display: none; }
}

/* ---------- ABOUT MISSION IMAGE ---------- */
.mission-split {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 8px;
}

.mission-img {
  width: 120px;
  height: auto;
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: cover;
}

/* ---------- GOOGLE MAPS ---------- */
.map-wrapper {
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 260px;
}

.map-cta {
  display: block;
  background: var(--brand-blue);
  color: #ffffff;
  text-align: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
}

.map-cta:hover {
  background: var(--brand-blue-dark);
}

/* ---------- FOOTER ---------- */
.site-footer {
  background: #003366;
  color: var(--text-light);
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  gap: 40px;
  padding: 50px 20px 40px;
}

@media (max-width: 900px) {
  .footer-grid {
    gap: 30px;
    padding: 35px 20px 30px;
  }
}

.footer-col h3 {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--brand-blue);
}

.footer-col > p {
  color: #b0c4de;
  font-size: 0.93rem;
  line-height: 1.7;
}

.footer-contact {
  list-style: none;
  padding: 0;
}

.footer-contact li {
  color: #b0c4de;
  font-size: 0.9rem;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-contact strong {
  color: #d0e4ff;
}

.footer-contact a {
  color: #7eb8f7;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #b0c4de;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-bottom {
  background: #00234d;
  padding: 14px 0;
  text-align: center;
  border-top: 1px solid #1a4a7a;
}

.footer-bottom p {
  color: #7eb8f7;
  font-size: 0.875rem;
}

header .logo-text {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
}

/* ---------- FORM ENHANCEMENTS ---------- */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  transition: border-color var(--transition);
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 3px rgba(0,91,187,0.1);
}

.form-group input[type="file"] {
  padding: 8px 12px;
  background: var(--gray-100);
  border: 2px dashed var(--gray-300);
  cursor: pointer;
}

.form-group input[type="file"]:hover {
  border-color: var(--brand-blue);
}

select {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: 16px;
  font-family: inherit;
  background: #ffffff;
  cursor: pointer;
}

.form-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin: 28px 0 14px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--brand-light);
}

.form-section-title:first-child {
  margin-top: 0;
}

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
}

@media (max-width: 640px) {
  .form-two-col {
    grid-template-columns: 1fr;
  }
}

.intake-form,
.application-form {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 860px;
}

@media (max-width: 900px) {
  .intake-form,
  .application-form {
    padding: 25px;
  }
}

.form-note {
  font-size: 0.85rem;
  color: #666;
  margin-top: 4px;
}

/* ---------- CONTACT FORM STATUS MESSAGE ---------- */
.form-status {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 18px;
}

.form-status.success {
  background: #e6f4ea;
  color: #1e6b2e;
  border: 1px solid #a8d5b0;
}

.form-status.error {
  background: #fdecea;
  color: #9b2318;
  border: 1px solid #f4b8b3;
}

/* ==========================================
   SEO / LOCAL & SERVICE PAGES — EXTRAS
   ========================================== */

/* --- Nav Dropdown --- */
.main-nav .has-dropdown {
  position: relative;
  display: inline-block;
}
.main-nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #002855;
  min-width: 250px;
  border-top: 3px solid var(--brand-blue);
  z-index: 9999;
  padding: 6px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}
.main-nav .has-dropdown:hover .dropdown,
.main-nav .has-dropdown:focus-within .dropdown {
  display: block;
}
.main-nav .dropdown a {
  display: block;
  padding: 9px 18px;
  margin: 0;
  font-size: 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: #cde0ff;
  white-space: nowrap;
}
.main-nav .dropdown a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  text-decoration: none;
}

/* --- Trust Bar --- */
.trust-bar {
  background: #fff;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 18px 0;
}
.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  align-items: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--brand-blue-dark);
}
.trust-icon { font-size: 1.3rem; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--brand-blue);
  color: #fff;
  padding: 50px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; font-size: 1.8rem; margin-bottom: 12px; }
.cta-banner p  { color: rgba(255,255,255,0.85); margin-bottom: 24px; font-size: 1.05rem; }
.btn.white { background: #fff; color: var(--brand-blue); }
.btn.white:hover { background: var(--brand-light); }
.btn.call { background: #e8f2ff; color: var(--brand-blue-dark); font-size: 1.1rem; padding: 14px 28px; }
.btn.call:hover { background: #fff; }

/* --- Testimonials --- */
.testimonials-section { background: var(--gray-100); padding: 60px 0; }
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 30px;
}
.testimonial-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 4rem;
  color: var(--brand-blue);
  opacity: 0.12;
  position: absolute;
  top: 8px;
  left: 16px;
  line-height: 1;
}
.stars { color: #f5a623; font-size: 1rem; margin-bottom: 10px; }
.testimonial-text { font-style: italic; color: #444; line-height: 1.7; margin-bottom: 14px; }
.testimonial-author { font-weight: 700; color: var(--brand-blue); font-size: 0.88rem; }

/* --- FAQ (details/summary) --- */
.faq-section { padding: 60px 0; }
.faq-list { max-width: 860px; margin: 30px auto 0; }
.faq-item {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  padding: 17px 22px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.4rem; font-weight: 300; flex-shrink: 0; }
.faq-item[open] summary::after { content: '−'; }
.faq-answer { padding: 0 22px 18px; line-height: 1.7; }

/* --- Service Areas --- */
.service-areas { background: var(--brand-light); padding: 55px 0; }
.zip-region { margin-bottom: 28px; }
.zip-region h3 { font-size: 1rem; color: var(--brand-blue); margin-bottom: 10px; }
.zip-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.zip-tag {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-left: 3px solid var(--brand-blue);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
}

/* --- Process Steps --- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 22px;
  margin-top: 30px;
  counter-reset: step;
}
.step-item {
  text-align: center;
  padding: 24px 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.step-num {
  width: 42px;
  height: 42px;
  background: var(--brand-blue);
  color: #fff;
  border-radius: 50%;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 42px;
  margin: 0 auto 14px;
  text-align: center;
}
.step-item h3 { font-size: 0.95rem; margin-bottom: 7px; }
.step-item p  { font-size: 0.85rem; color: #555; line-height: 1.5; }

/* --- Breadcrumb --- */
.breadcrumb { font-size: 0.82rem; color: #888; padding: 10px 0 2px; }
.breadcrumb a { color: var(--brand-blue); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 6px; color: #bbb; }

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 30px;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform var(--transition);
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card-body { padding: 24px; }
.blog-cat {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  margin-bottom: 7px;
}
.blog-card h3 { font-size: 1.02rem; margin-bottom: 9px; }
.blog-card h3 a { color: var(--text-dark); text-decoration: none; }
.blog-card h3 a:hover { color: var(--brand-blue); }
.blog-card p { font-size: 0.88rem; color: #555; line-height: 1.6; margin-bottom: 14px; }
.blog-meta { font-size: 0.78rem; color: #999; margin-bottom: 10px; }
.read-more { color: var(--brand-blue); font-size: 0.88rem; font-weight: 600; text-decoration: none; }
.read-more:hover { text-decoration: underline; }

/* --- Article --- */
.article-header { background: var(--brand-light); padding: 50px 0 36px; }
.article-meta { font-size: 0.84rem; color: #777; margin-bottom: 12px; }
.article-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px 60px;
  line-height: 1.8;
}
.article-body h2 { margin: 2rem 0 1rem; color: var(--brand-blue); }
.article-body h3 { margin: 1.5rem 0 0.75rem; }
.article-body p  { margin-bottom: 1.2rem; }
.article-body ul, .article-body ol { margin: 0 0 1.2rem 1.5rem; }
.article-body li { margin-bottom: 0.4rem; }
.article-cta-box {
  background: var(--brand-light);
  border-left: 5px solid var(--brand-blue);
  padding: 22px 24px;
  border-radius: var(--radius);
  margin: 30px 0;
}
.article-cta-box p { margin-bottom: 12px; }

/* --- Footer extras --- */
.footer-areas {
  background: #001d3d;
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-areas p {
  color: #8ab0d0;
  font-size: 0.8rem;
  text-align: center;
  line-height: 1.8;
}
.footer-areas a { color: #7eb8f7; text-decoration: none; }
.footer-areas a:hover { text-decoration: underline; }
.footer-grid { grid-template-columns: 1.1fr 1fr 1fr 1fr; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 600px)  { .footer-grid { grid-template-columns: 1fr; } }

