:root{
  --bg: #f6fbf8;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #4b5563;

  --green-900: #064e3b;
  --green-800: #065f46;
  --green-700: #047857;
  --green-600: #059669;
  --green-500: #10b981;

  --border: rgba(15, 23, 42, 0.10);
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 70%);
}

a{ text-decoration: none; color: inherit; }
.container{
  width: min(1150px, 92%);
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  flex-wrap: nowrap;      /* prevents nav dropping */
  position: relative;    /* for mobile dropdown */
}

/* =========================
   BRAND / LOGO (clean box)
========================= */

.brand{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
}

.brand-mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
}

.brand-logo{
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;          /* adjust 4–8px if needed */
  display: block;
}

.brand-text{
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 0;
}

.brand-name{
  font-weight: 800;
  letter-spacing: -0.2px;
  font-size: 16px;
  white-space: nowrap;
}

.brand-tag{
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 2px;
  white-space: nowrap;
}

.main-nav{
  margin-left: auto;           /* ✅ THIS pushes nav to the right */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.9);
  white-space: nowrap;         /* ✅ stops wrapping */
}


.nav-link{
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: #0b1220;
  opacity: 0.9;
}

.nav-link:hover{
  background: rgba(16, 185, 129, 0.10);
}

.nav-link.is-active{
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.25);
}

/* Mobile nav */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.nav-toggle span{
  display: block;
  height: 2px;
  width: 18px;
  background: #111827;
  margin: 4px auto;
}
.nav-link{
  transition: background .25s ease, color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.nav-link.is-active{
  animation: navPop 260ms ease-out;
}

@keyframes navPop{
  from { transform: scale(.97); }
  to   { transform: scale(1); }
}

/* Page */
.page{ padding: 42px 0 70px; }

.hero{
  padding: 18px 0 40px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 26px;
  align-items: start;
}

/* Left */
.pill{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.10);
  color: var(--green-800);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.hero-title{
  margin: 18px 0 12px;
  font-size: clamp(38px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -1px;
}

.hero-accent{
  color: var(--green-700);
}

.hero-desc{
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
  max-width: 60ch;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-note{
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
}

.btn-primary{
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  border: 0;
  box-shadow: 0 12px 26px rgba(16, 185, 129, 0.25);
}
.btn-primary:hover{ filter: brightness(0.98); }

.btn-ghost{
  background: #fff;
}
.btn-ghost:hover{
  border-color: rgba(16, 185, 129, 0.30);
  background: rgba(16, 185, 129, 0.08);
}

.btn-full{ width: 100%; }

/* Right card */
.hero-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-head{
  padding: 18px 18px 14px;
  background: linear-gradient(135deg, var(--green-800), var(--green-500));
  color: #fff;
}

.card-title{
  font-weight: 800;
  font-size: 18px;
}

.card-sub{
  margin-top: 4px;
  font-weight: 600;
  font-size: 13px;
  opacity: 0.9;
}

.card-form{
  padding: 16px 18px 18px;
}

.row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

label{
  font-size: 12px;
  font-weight: 800;
  color: #1f2937;
  letter-spacing: 0.25px;
}

input, select, textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  outline: none;
  font: inherit;
  background: #fff;
}

input:focus, select:focus, textarea:focus{
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.15);
}

textarea{ resize: vertical; }

.card-footnote{
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.45;
}

/* Responsive */
@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }

  .header-inner{
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  flex-wrap: nowrap;
  position: relative;
}

.site-header{
  position: sticky;
  top: 0;
  z-index: 1000;   /* 🔑 raise above hero & ads */
}

.nav-toggle{
  position: relative;
  z-index: 1100;   /* 🔑 ensure button receives clicks */
}
.hero,
.hero *{
  pointer-events: auto;
}

  .main-nav{ display: none; }
main{
  position: relative;
  z-index: 1;
}

  .nav-toggle{
    display: inline-block;
    margin-left: auto;
    flex-shrink: 0;
  }

  /* ✅ dropdown menu overlay (does not push hamburger down) */
  .main-nav.is-open{
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;

    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    border-radius: 16px;
    padding: 10px;

    background: rgba(255,255,255,0.98);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    z-index: 60;
  }
}

/* Coverage Section */
.coverage{
  padding: 60px 0 40px;
}

.coverage-head{
  max-width: 700px;
  margin-bottom: 32px;
}

.coverage-pill{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-800);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.coverage-title{
  margin: 14px 0 10px;
  font-size: clamp(28px, 3.5vw, 38px);
  letter-spacing: -0.6px;
}

.coverage-desc{
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
}

.coverage-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 26px;
}

.coverage-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.coverage-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 36px rgba(15, 23, 42, 0.12);
}

.coverage-card img{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.coverage-content{
  padding: 14px;
}

.coverage-content h3{
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
}

.coverage-content p{
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 1024px){
  .coverage-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .coverage-grid{
    grid-template-columns: 1fr;
  }
}
/* Community Trust Section */
.community-trust{
  background: #f4fbf8;
  padding: 70px 0;
}

.trust-head{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.trust-title{
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.trust-desc{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.trust-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.trust-icon{
  font-size: 28px;
  margin-bottom: 10px;
}

.trust-text{
  font-size: 15px;
  line-height: 1.65;
  color: #1f2937;
  margin-bottom: 14px;
}

.trust-user strong{
  display: block;
  font-size: 14px;
}

.trust-user span{
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px){
  .trust-cards{
    grid-template-columns: 1fr;
  }
}
/* Community Trust Section */
.community-trust{
  background: #f4fbf8;
  padding: 70px 0;
}

.trust-head{
  text-align: center;
  max-width: 720px;
  margin: 0 auto 36px;
}

.trust-title{
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.6px;
  margin-bottom: 10px;
}

.trust-desc{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.trust-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.trust-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
}

.trust-icon{
  font-size: 28px;
  margin-bottom: 10px;
}

.trust-text{
  font-size: 15px;
  line-height: 1.65;
  color: #1f2937;
  margin-bottom: 14px;
}

.trust-user strong{
  display: block;
  font-size: 14px;
}

.trust-user span{
  font-size: 13px;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px){
  .trust-cards{
    grid-template-columns: 1fr;
  }
}
/* Commitment Section */
.commitment{
  padding: 70px 0;
  background: #ffffff;
}

.commitment-head{
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.commitment-pill{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: var(--green-800);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.commitment-title{
  font-size: clamp(28px, 3.5vw, 40px);
  letter-spacing: -0.6px;
  margin: 14px 0 10px;
}

.commitment-desc{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.commitment-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.commitment-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

.commitment-icon{
  font-size: 34px;
  margin-bottom: 12px;
}

.commitment-card h3{
  margin-bottom: 8px;
  font-size: 17px;
  font-weight: 800;
}

.commitment-card p{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px){
  .commitment-grid{
    grid-template-columns: 1fr;
  }
}
/* CTA Section */
.cta{
  padding: 70px 0 40px;
}

.cta-box{
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid rgba(16, 185, 129, 0.22);
  background: linear-gradient(135deg, rgba(16,185,129,0.14), rgba(255,255,255,0.90));
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 20px;
  align-items: center;
}

.cta-text h2{
  margin: 0 0 8px;
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.6px;
}

.cta-text p{
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
  max-width: 70ch;
}

.cta-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-side{
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
}

.cta-badge{
  display: inline-block;
  font-weight: 900;
  color: var(--green-800);
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.22);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  margin-bottom: 12px;
}

.cta-list{
  list-style: none;
  padding: 0;
  margin: 0;
  color: #0b1220;
}

.cta-list li{
  padding: 8px 0;
  border-top: 1px dashed rgba(15,23,42,0.10);
  font-weight: 600;
  font-size: 14px;
}

.cta-list li:first-child{
  border-top: none;
}

@media (max-width: 900px){
  .cta-box{
    grid-template-columns: 1fr;
  }
}
/* Footer */
.site-footer{
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 54px 0 22px;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.footer-brand{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.footer-mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
}

.footer-name{
  font-weight: 900;
  letter-spacing: -0.2px;
}

.footer-tag{
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-top: 2px;
}

.footer-title{
  margin: 6px 0 12px;
  font-weight: 900;
  font-size: 14px;
}

.footer-text{
  margin: 0 0 12px;
  color: var(--muted);
  line-height: 1.65;
  font-size: 14px;
}

.footer-text.small{
  font-size: 13px;
}

.footer-contact{
  display: inline-block;
  font-weight: 800;
  color: var(--green-700);
}

.footer-links{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links a{
  color: #0b1220;
  font-weight: 700;
  font-size: 14px;
  opacity: 0.9;
}

.footer-links a:hover{
  color: var(--green-700);
}

.footer-bullets{
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  display: grid;
  gap: 8px;
  font-size: 13px;
}

.footer-bottom{
  margin-top: 26px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy{
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.footer-bottom-links{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-bottom-links a{
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.footer-bottom-links a:hover{
  color: var(--green-700);
}

.muted-link{
  opacity: 0.7;
}

/* Responsive */
@media (max-width: 1000px){
  .footer-grid{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px){
  .footer-grid{
    grid-template-columns: 1fr;
  }
}
/* Why SafeTrip Exists */
.why-safetrip{
  padding: 70px 0 50px;
  background: #ffffff;
}

.why-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: center;
}

.why-pill{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  color: var(--green-800);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}

.why-text h2{
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 12px;
  letter-spacing: -0.6px;
}

.why-text p{
  color: var(--muted);
  line-height: 1.65;
  font-size: 15px;
  margin-bottom: 10px;
}

.why-points{
  display: grid;
  gap: 14px;
}

.why-card{
  padding: 16px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--border);
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(15,23,42,0.06);
}

/* Responsive */
@media (max-width: 900px){
  .why-grid{
    grid-template-columns: 1fr;
  }
}
/* Safety Tips */
.safety-tips{
  padding: 60px 0;
  background: #f6fbf8;
}

.tips-head{
  max-width: 720px;
  margin-bottom: 32px;
}

.tips-pill{
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16,185,129,0.12);
  color: var(--green-800);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 10px;
}

.tips-head h2{
  font-size: clamp(26px, 3.4vw, 36px);
  margin-bottom: 10px;
  letter-spacing: -0.6px;
}

.tips-head p{
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.tips-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tip-card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.07);
}

.tip-card h3{
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}

.tip-card p{
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

/* Responsive */
@media (max-width: 1000px){
  .tips-grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px){
  .tips-grid{
    grid-template-columns: 1fr;
  }
}
/* Modern cards layout (Recent Reports) */
.cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.card{
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 12px 24px rgba(15,23,42,0.06);
}

.card h3{
  margin: 10px 0 6px;
  font-size: 15px;
  font-weight: 800;
}

.card p{
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 14px;
  line-height: 1.55;
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.10);
  color: #065f46;
}

@media (max-width: 1000px){
  .cards{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .cards{ grid-template-columns: 1fr; }
}
/* ===== Fix Recommendations page (and any form page) on mobile ===== */
html, body { overflow-x: hidden; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;            /* critical on phones */
}

/* Make flex rows wrap on small screens */
 .form-row {
  display: flex;
  gap: 12px;
  align-items: stretch;
  flex-wrap: wrap;
}

.form-row .field{
  flex: 1 1 260px;
  min-width: 0;
}


input, select, textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* AdSense container must not overflow */
.adsbygoogle-container,
.adsbygoogle {
  max-width: 100% !important;
  overflow: hidden;
}

/* Footer must collapse */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}
/* =========================
   Toast / Modal (Success + Error)
   ========================= */

.toast-overlay{
  position: fixed;
  inset: 0;
  display: none;                 /* JS will set to flex */
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  z-index: 9999;
}

.toast-box{
  width: min(520px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px 16px 14px;
}

#toastMessage{
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 700;
}

.toast-actions{
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.toast-btn{
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  font-weight: 800;
  cursor: pointer;
}

.toast-btn.primary{
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, var(--green-700), var(--green-500));
  box-shadow: 0 10px 22px rgba(16, 185, 129, 0.20);
}