
  :root {
    --teal-dark: #0F8B8D;
    --teal: #2EC4B6;
    --teal-mid: #2EC4B6;
    --teal-light: #2EC4B6;
    --teal-pale: #e4f7f6;
    --teal-ultra: #f2fbfa;
    --gold: #A7C957;
    --gold-light: #c8e07a;
    --white: #ffffff;
    --off-white: #F2F7F2;
    --text-dark: #1a2e1a;
    --text-mid: #3A5A40;
    --text-light: #5a7a5a;
    --border: #cde8cc;
    --shadow: rgba(15, 139, 141, 0.12);
    --green: #A7C957;
    --green-dark: #3A5A40;
  }

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Nunito', sans-serif;
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
  }

  h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
  }

  /* ===== NAVIGATION ===== */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(58, 90, 64, 0.97);
    backdrop-filter: blur(10px);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.15);
  }

  .nav-logo {
    font-family: 'Syne', sans-serif;
    color: var(--white);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 200px;
    text-decoration: none;
  }

  .nav-logo span {
    color: var(--gold-light);
  }

  .nav-links {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
  }

  .nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
    cursor: pointer;
  }

  .nav-links a:hover, .nav-links a.active {
    color: var(--white);
    background: rgba(255,255,255,0.12);
  }

  .nav-cta {
    background: var(--gold) !important;
    color: var(--teal-dark) !important;
    font-weight: 600 !important;
    padding: 0.5rem 1.1rem !important;
  }

  .nav-cta:hover {
    background: var(--gold-light) !important;
  }

  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
  }

  .hamburger span {
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
  }

  /* ===== PAGES ===== */
  .page {
    display: none;
    min-height: 100vh;
    padding-top: 70px;
  }

  .page.active { display: block; }

  /* ===== HERO ===== */
  .hero {
    background: linear-gradient(135deg, #0d6e70 0%, #0F8B8D 50%, #2EC4B6 100%);
    padding: 5rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  }

  .hero-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.2);
    border: 1px solid rgba(201, 168, 76, 0.5);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
  }

  .hero h1 {
    color: var(--white);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.25;
    max-width: 760px;
    margin: 0 auto 1.25rem;
    position: relative;
  }

  .hero p {
    color: rgba(255,255,255,0.82);
    font-size: 1.05rem;
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    position: relative;
  }

  .hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
  }

  .btn-primary {
    background: var(--gold);
    color: #0F8B8D;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.25s;
    display: inline-block;
    font-family: 'Nunito', sans-serif;
  }

  .btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
  }

  .btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: 2px solid rgba(255,255,255,0.4);
    transition: all 0.25s;
    display: inline-block;
    font-family: 'Nunito', sans-serif;
  }

  .btn-secondary:hover {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.08);
  }

  /* ===== TRUST BAR ===== */
  .trust-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-mid);
  }

  .trust-icon {
    width: 32px;
    height: 32px;
    background: var(--teal-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
  }

  /* ===== SECTIONS ===== */
  .section {
    padding: 4.5rem 2rem;
  }

  .section-alt {
    background: var(--off-white);
  }

  .section-teal {
    background: #0d6e70;
    color: var(--white);
  }

  .container {
    max-width: 1100px;
    margin: 0 auto;
  }

  .section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--teal-light);
    margin-bottom: 0.75rem;
  }

  .section-teal .section-label {
    color: var(--gold-light);
  }

  .section-title {
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
  }

  .section-teal .section-title {
    color: var(--white);
  }

  .section-sub {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 620px;
    line-height: 1.7;
    margin-bottom: 2.5rem;
  }

  .section-teal .section-sub {
    color: rgba(255,255,255,0.75);
  }

  /* ===== SERVICE CARDS ===== */
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
  }

  .service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--teal-light);
    transform: scaleX(0);
    transition: transform 0.3s;
  }

  .service-card:hover {
    border-color: var(--teal-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px var(--shadow);
  }

  .service-card:hover::before {
    transform: scaleX(1);
  }

  .card-icon {
    width: 48px;
    height: 48px;
    background: var(--teal-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
  }

  .service-card h3 {
    font-size: 1.15rem;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
  }

  .service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1.25rem;
  }

  .card-link {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--teal-mid);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: gap 0.2s;
  }

  .service-card:hover .card-link {
    gap: 0.7rem;
  }

  /* ===== FEATURES LIST ===== */
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
  }

  .feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
  }

  .feature-dot {
    width: 10px;
    height: 10px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 6px;
    flex-shrink: 0;
  }

  .feature-item h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    color: var(--white);
  }

  .feature-item p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.5;
  }

  /* ===== REVIEWS ===== */
  .reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
  }

  .review-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
  }

  .stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
  }

  .review-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-mid);
    margin-bottom: 1.25rem;
    font-style: italic;
  }

  .reviewer {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dark);
  }

  /* ===== TWO COLUMN ===== */
  .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
  }

  /* ===== INFO BOX ===== */
  .info-box {
    background: var(--teal-pale);
    border-left: 4px solid var(--teal-light);
    border-radius: 0 10px 10px 0;
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .info-box h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: #0F8B8D;
    margin-bottom: 0.5rem;
  }

  .info-box p {
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.6;
  }

  /* ===== DOCUMENT LIST ===== */
  .doc-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin: 1.5rem 0;
  }

  .doc-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-mid);
  }

  .doc-item::before {
    content: '✓';
    color: var(--teal-light);
    font-weight: 700;
    font-size: 0.85rem;
  }

  /* ===== THREE COLUMN ===== */
  .three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .col-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.75rem;
  }

  .col-box h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.05rem;
    color: #0F8B8D;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--teal-pale);
  }

  .col-box p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
  }

  /* ===== NUMBERED STEPS ===== */
  .steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 1.5rem;
  }

  .step-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
  }

  .step-num {
    width: 36px;
    height: 36px;
    background: #0d6e70;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
  }

  .step-text {
    padding-top: 0.4rem;
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.5;
  }

  /* ===== CTA SECTION ===== */
  .cta-section {
    background: linear-gradient(135deg, #0d6e70, #2EC4B6);
    padding: 4rem 2rem;
    text-align: center;
  }

  .cta-section h2 {
    color: var(--white);
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: 1rem;
  }

  .cta-section p {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
  }

  .contact-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }

  .contact-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
  }

  /* ===== FOOTER ===== */
  footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.6);
    padding: 2.5rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.8;
  }

  footer a {
    color: var(--gold-light);
    text-decoration: none;
  }

  /* ===== PAGE HERO (inner pages) ===== */
  .page-hero {
    background: linear-gradient(135deg, #0d6e70, #2EC4B6);
    padding: 3.5rem 2rem;
    text-align: center;
  }

  .page-hero h1 {
    color: var(--white);
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    margin-bottom: 0.75rem;
  }

  .page-hero p {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
  }

  /* ===== LOCATION GRID ===== */
  .location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .location-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
  }

  .location-card h3 {
    font-size: 1.2rem;
    color: #0F8B8D;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .location-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1rem;
  }

  .area-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
  }

  .area-tag {
    background: var(--teal-pale);
    color: #0F8B8D;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
  }

  /* ===== CONTACT PAGE ===== */
  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 4rem;
    align-items: start;
  }

  .contact-method {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.75rem;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
    background: var(--teal-pale);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
  }

  .contact-method h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
  }

  .contact-method p, .contact-method a {
    font-size: 0.92rem;
    color: var(--text-mid);
    text-decoration: none;
    line-height: 1.5;
  }

  .contact-method a:hover {
    color: var(--teal-light);
  }

  .form-group {
    margin-bottom: 1.25rem;
  }

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

  .form-group input,
  .form-group select,
  .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Nunito', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--white);
    transition: border-color 0.2s;
    appearance: none;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--teal-light);
  }

  .form-group textarea {
    height: 120px;
    resize: vertical;
  }


  /* ===== IMAGE SECTIONS ===== */
  .img-banner {
    width: 100%;
    height: 280px;
    object-fit: cover;
    object-position: center 30%;
    display: block;
  }
  .img-side {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 30px var(--shadow);
  }

  /* ===== FAQ ===== */
  .faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
  .faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
  }
  .faq-q {
    padding: 1.1rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
  }
  .faq-q:hover { background: var(--teal-pale); }
  .faq-a {
    display: none;
    padding: 0 1.5rem 1.1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.75;
  }
  .faq-item.open .faq-a { display: block; }
  .faq-item.open .faq-arrow { transform: rotate(180deg); }
  .faq-arrow { transition: transform 0.25s; font-style: normal; }

  /* ===== HOURS / INFO BAR ===== */
  .info-bar {
    background: var(--green-dark);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    font-weight: 600;
  }
  .info-bar-item { display: flex; align-items: center; gap: 0.5rem; }

  /* ===== MOBILE ===== */
  @media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: flex; }

    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: absolute;
      top: 70px;
      left: 0; right: 0;
      background: #0d6e70;
      padding: 1rem;
      gap: 0.25rem;
    }

    .two-col,
    .contact-grid,
    .three-col { grid-template-columns: 1fr; gap: 2rem; }

    .doc-list { grid-template-columns: 1fr; }

    .trust-bar { gap: 1.25rem; }

    .hero { padding: 3.5rem 1.5rem 3rem; }
  }

</head>
<body>

<!-- NAVIGATION -->
<nav>
  <a class="nav-logo" onclick="showPage('home')" href="#">Maryland Mobile<br><span>Notary Express</span></a>
  <ul class="nav-links" id="navLinks">
    <li><a onclick="showPage('home')" class="active" id="nav-home">Home</a></li>
    <li><a onclick="showPage('apostille')" id="nav-apostille">Apostille Services</a></li>
    <li><a onclick="showPage('notary')" id="nav-notary">Mobile Notary</a></li>
    <li><a onclick="showPage('federal')" id="nav-federal">Federal Apostille</a></li>
    <li><a onclick="showPage('translations')" id="nav-translations">Translations</a></li>
    <li><a onclick="showPage('locations')" id="nav-locations">Locations Served</a></li>
