/* =========================================================
   Explain It Easy  —  Brand stylesheet
   Brand colours:  #D4EDF5 (light blue bg)  |  #1a85ad (primary)
   ========================================================= */

/* ---------- Base ---------- */
body {
  font-family: 'Inter', sans-serif;
  color: #344767;
  background-color: #ffffff;
}

/* ---------- Navbar ---------- */
.navbar-brand-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: #344767 !important;
}

.navbar-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.navbar {
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* ---------- Hero section ---------- */
.hero-section {
  position: relative;
  padding: 100px 0 0;
  overflow: hidden;
  background-color: #D4EDF5;
}

/* The splash illustration fills the entire hero background */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/explain_it_eash_bg_splash.png');
  background-size: cover;
  background-position: center top;
  opacity: 0.55;
  z-index: 0;
}

/* Subtle gradient overlay so text stays readable */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(212,237,245,0.45) 0%,
    rgba(255,255,255,0.15) 60%,
    rgba(255,255,255,0.85) 100%
  );
  z-index: 1;
}

.hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-block;
  background: rgba(26, 133, 173, 0.14);
  color: #1a85ad;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 30px;
  margin-bottom: 18px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #1a1f36;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #3d5166;
  max-width: 540px;
}

/* Mascot character image */
.hero-mascot {
  width: 100%;
  max-width: 380px;
  object-fit: contain;
  /* sits on the baseline of the hero — slight drop for a grounded feel */
  margin-bottom: -4px;
  filter: drop-shadow(0 16px 32px rgba(26, 133, 173, .18));
}

/* ---------- Buttons ---------- */
.btn-primary-brand {
  background-color: #1a85ad;
  border-color: #1a85ad;
  color: #fff;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 8px;
  transition: background-color .2s, box-shadow .2s;
}
.btn-primary-brand:hover {
  background-color: #136e91;
  border-color: #136e91;
  color: #fff;
  box-shadow: 0 6px 18px rgba(26, 133, 173, .35);
}

.btn-outline-brand {
  border: 2px solid #1a85ad;
  color: #1a85ad;
  font-weight: 600;
  padding: 11px 28px;
  border-radius: 8px;
  background: transparent;
  transition: all .2s;
}
.btn-outline-brand:hover {
  background-color: #1a85ad;
  color: #fff;
}

/* ---------- Feature cards ---------- */
.feature-card {
  border: none;
  border-radius: 16px;
  padding: 32px 28px;
  background: #f7fbfd;
  transition: transform .2s, box-shadow .2s;
  height: 100%;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(26, 133, 173, .12);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #D4EDF5, #9dd6ec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.feature-card h5 {
  font-weight: 700;
  font-size: 1.05rem;
  color: #1a1f36;
}

.feature-card p {
  font-size: .92rem;
  color: #5a6a7e;
  margin-bottom: 0;
}

/* ---------- Section headings ---------- */
.section-eyebrow {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a85ad;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1f36;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: #5a6a7e;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Reading-level badges ---------- */
.level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1.5px solid #D4EDF5;
  border-radius: 40px;
  padding: 8px 18px;
  font-size: .88rem;
  font-weight: 600;
  color: #344767;
  margin: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* ---------- How-it-works step circles ---------- */
.step-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #D4EDF5, #9dd6ec);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #1a85ad;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(26,133,173,.15);
}

/* ---------- CTA strip — uses the grass background image ---------- */
.cta-section {
  position: relative;
  padding: 80px 0;
  color: #fff;
  overflow: hidden;
  background-color: #1a85ad;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/explain_it_easy_bg.png');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.18;
  z-index: 0;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,133,173,0.92) 0%, rgba(15,96,128,0.95) 100%);
  z-index: 1;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-weight: 800;
  font-size: 2.2rem;
}
.cta-section p {
  font-size: 1.05rem;
  opacity: .88;
}

.btn-white-brand {
  background: #fff;
  color: #1a85ad;
  font-weight: 700;
  padding: 13px 32px;
  border-radius: 8px;
  border: none;
  transition: box-shadow .2s, color .2s;
}
.btn-white-brand:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.22);
  color: #136e91;
}

/* ---------- Legal / policy page header ---------- */
.policy-header {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background-color: #D4EDF5;
}

.policy-header-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/explain_it_eash_bg_splash.png');
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  z-index: 0;
}

.policy-header .container {
  position: relative;
  z-index: 1;
}

.policy-header h1 {
  font-weight: 800;
  font-size: 2.4rem;
  color: #1a1f36;
}

.policy-header p {
  color: #3d5166;
  font-size: 1rem;
}

.policy-body {
  padding: 60px 0 80px;
}

.policy-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1f36;
  margin-top: 40px;
  margin-bottom: 12px;
}

.policy-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #344767;
  margin-top: 24px;
  margin-bottom: 8px;
}

.policy-body p,
.policy-body li {
  font-size: .95rem;
  color: #5a6a7e;
  line-height: 1.75;
}

.policy-body ul {
  padding-left: 1.4rem;
}

.policy-body .policy-card {
  background: #f7fbfd;
  border-left: 4px solid #1a85ad;
  border-radius: 8px;
  padding: 20px 24px;
  margin: 24px 0;
}

/* ---------- Data deletion form ---------- */
.deletion-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,.08);
  padding: 40px;
}

.form-label {
  font-weight: 600;
  font-size: .9rem;
  color: #344767;
}

.form-control {
  border-radius: 8px;
  border: 1.5px solid #d2dae2;
  padding: 10px 14px;
  font-size: .95rem;
  transition: border-color .2s, box-shadow .2s;
}

.form-control:focus {
  border-color: #1a85ad;
  box-shadow: 0 0 0 3px rgba(26,133,173,.15);
}

/* ---------- Footer ---------- */
footer {
  background: #f7fbfd;
  border-top: 1px solid #e5edf2;
  padding: 48px 0 32px;
}

footer .footer-brand {
  font-weight: 800;
  font-size: 1.1rem;
  color: #1a1f36;
}

footer .footer-mascot {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

footer .footer-tagline {
  font-size: .88rem;
  color: #5a6a7e;
  margin-top: 6px;
}

footer h6 {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #1a1f36;
  margin-bottom: 14px;
}

footer a {
  font-size: .9rem;
  color: #5a6a7e;
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
  transition: color .15s;
}
footer a:hover {
  color: #1a85ad;
}

footer .copyright {
  font-size: .85rem;
  color: #8898a9;
  padding-top: 24px;
  border-top: 1px solid #e5edf2;
  margin-top: 32px;
}

/* ---------- Utility ---------- */
.text-brand { color: #1a85ad !important; }
.bg-brand-light { background-color: #D4EDF5 !important; }

/* ---------- Responsive tweaks ---------- */
@media (max-width: 768px) {
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.6rem; }
  .cta-section h2 { font-size: 1.6rem; }
  .deletion-form-card { padding: 24px 18px; }
  .hero-mascot { max-width: 260px; }
}
