:root{
  --bg:#0b1220;
  --panel:#0f1a2e;
  --card:#111f38;
  --text:#e8eefc;
  --muted:#b8c5e6;
  --line:rgba(232,238,252,.14);
  --accent:#7dd3fc;
  --accent2:#a7f3d0;
  --shadow: 0 12px 30px rgba(0,0,0,.35);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: radial-gradient(1200px 700px at 20% 0%, rgba(125,211,252,.10), transparent 55%),
              radial-gradient(900px 600px at 90% 10%, rgba(167,243,208,.10), transparent 50%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}


a{color:inherit}
.container{max-width:1040px;margin:0 auto;padding:0 18px}

.skip-link{
  position:absolute; left:-999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{
  left:18px; top:14px; width:auto; height:auto; padding:10px 12px;
  background:var(--card); border:1px solid var(--line); border-radius:10px; z-index:1000;
}

/* HEADER / NAV */

.site-header{
  position:sticky; top:0;
  background: rgba(11,18,32,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.header-inner{display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 0}
.brand{display:flex; align-items:center; gap:10px; text-decoration:none}
.brand-mark{
  width:34px; height:34px; border-radius:12px;
  background: linear-gradient(135deg, rgba(125,211,252,.22), rgba(167,243,208,.18));
  border:1px solid var(--line);
  display:grid; place-items:center;
  font-weight:700;
}
.brand-text{font-weight:650; letter-spacing:.2px}

.nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.nav-link{
  text-decoration:none;
  padding:8px 10px;
  border:1px solid transparent;
  border-radius:12px;
  color:var(--muted);
}
.nav-link:hover{border-color:var(--line); color:var(--text)}
.nav-link-active{border-color:var(--line); color:var(--text); background:rgba(255,255,255,.04)}

/* HERO */

.hero{
  padding:46px 0 46px;
  border-bottom:1px solid var(--line);
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(125,211,252,.20), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(167,243,208,.16), transparent 55%),
    var(--bg);
}

/* Add this rule to make English version brighter */
:lang(en) .hero {
  background:
    radial-gradient(900px 500px at 0% 0%, rgba(125,211,252,.35), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(167,243,208,.30), transparent 55%),
    var(--bg);
}

/* blended hero background image */
.hero.hero-bg{
  background-image:
    radial-gradient(1200px 700px at 20% 0%, rgba(125,211,252,.14), transparent 55%),
    radial-gradient(900px 600px at 90% 10%, rgba(167,243,208,.12), transparent 50%),
    linear-gradient(to bottom, rgba(11,18,32,.55), rgba(11,18,32,.92)),
    url("..assets/img/hero/hero.jpg");
  background-size: cover;
  background-position: center 35%;
  background-repeat: no-repeat;
}

/* optional: add a soft “fog” fade at the bottom so it melts into the page */
.hero.hero-bg::after{
  content:"";
  display:block;
  height:24px;
  margin-top:24px;
  background: linear-gradient(to bottom, rgba(11,18,32,0), rgba(11,18,32,1));
  border-radius: 0 0 18px 18px;
}


.hero-inner{max-width:1040px}

h1{font-size: clamp(30px, 4vw, 44px); line-height:1.15; margin:0 0 12px}
.lead{color:var(--muted); font-size: clamp(16px, 2vw, 18px); margin:0 0 18px}
.note{color: rgba(232,238,252,.7); margin-top:14px; font-size:14px}

.hero-actions{display:flex; gap:12px; flex-wrap:wrap}
.button{
  display:inline-block;
  border-radius:14px;
  padding:10px 14px;
  border:1px solid rgba(125,211,252,.35);
  background: rgba(125,211,252,.12);
  text-decoration:none;
  box-shadow: var(--shadow);
  cursor:pointer;
}
.button:hover{background: rgba(125,211,252,.16)}
.button-ghost{
  border-color: var(--line);
  background: rgba(255,255,255,.04);
  box-shadow:none;
}
.button-small{padding:8px 10px; border-radius:12px; box-shadow:none}

/* HERO SPLIT (if you use image box in hero) */

/* split layout */
.hero-split{
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap:18px;
  align-items:center;
}

.hero-text{min-width:0}
.hero-visual{min-width:0}

/* the forest image */
.hero-img{
  width:100%;
  max-width:360px;
  max-height:220px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  opacity:0.9;
  margin:0 auto;
}

/* LAYOUT / CARDS */

.grid{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px; padding:22px 0 46px}
.grid-two{display:grid; grid-template-columns: 1fr 1fr; gap:14px}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px;
}
.card h2{margin:0 0 8px; font-size:18px}
.card p{margin:0}
.card ul{margin:10px 0 0; padding-left:18px}
.card li{margin:6px 0}

.page{padding:26px 0 46px}
.muted{color:rgba(231, 243, 17, 0.72)}
.quote{font-size:18px; color:rgba(244, 109, 5, 0.72); margin:10px 0 12px}

.textbox{
  width:100%;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(17,31,56,.65);
  color:var(--text);
  padding:12px 12px;
  resize:vertical;
}

/* ACCORDION */

.accordion{display:grid; gap:10px; margin-top:14px}
.acc-item{
  border:1px solid var(--line);
  border-radius:16px;
  background: rgba(17,31,56,.45);
  overflow:hidden;
}
.acc-item summary{
  list-style:none;
  cursor:pointer;
  padding:12px 14px;
  font-weight:650;
}
.acc-item summary::-webkit-details-marker{display:none}
.acc-body{padding:0 14px 14px; color:var(--muted)}
.acc-body p{margin:10px 0 0}
.acc-body strong{color:var(--text)}

/* FOOTER */

.site-footer{
  border-top:1px solid var(--line);
  padding:18px 0 28px;
  color:rgba(232,238,252,.72);
}
.footer-inner{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap}
.footer-links a{color:rgba(232,238,252,.72); margin-left:10px; text-decoration:none}
.footer-links a:hover{color:var(--text); text-decoration:underline}

/* FORMS / PILLS */

.label{display:block; margin:12px 0 6px; color:rgba(232,238,252,.82); font-size:14px}

.pill-row{display:flex; gap:10px; flex-wrap:wrap; margin-top:8px}
.pill{
  border-radius:999px;
  padding:8px 12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor:pointer;
}
.pill-active{
  border-color: rgba(167,243,208,.35);
  background: rgba(167,243,208,.10);
  color: var(--text);
}

/* SESSION GRID / SESSION HERO */

.session-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:16px;
}
.session-card{
  display:block;
  text-decoration:none;
  border:1px solid var(--line);
  border-radius:18px;
  overflow:hidden;
  background: rgba(17,31,56,.45);
  display: flex;           /* Add this */
  flex-direction: column;  /* Add this */
  height: 100%;            /* Add this */
}

.session-card:hover{border-color: rgba(125,211,252,.25)}
.session-img{
  width:100%;
  height:160px;
  object-fit:cover;
  display:block;
  background: rgba(255,255,255,.04);
}
.session-body{padding:12px 14px 14px}
.session-body h2{margin:0 0 6px; font-size:18px}
.session-body p{margin:0; color:var(--muted)}
.session-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.session-body p {
  flex-grow: 1;
}


.page-hero{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin-bottom:14px;
}
.page-hero-img{
  width:100%;
  height:240px;
  object-fit:cover;
  border-radius:18px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.04);/* Add this to the English version to make the image look brighter */
  opacity: 1.0;
  filter: brightness(1.1);
}
.page-hero-text h1{margin:0 0 8px}

/* MEDIA QUERIES */

@media (min-width: 1024px){
  .hero{
    padding:40px 0 40px;
    background-position: center 20%;
  }
}

@media (max-width: 860px){
  .grid{grid-template-columns:1fr}
  .grid-two{grid-template-columns:1fr}
  .session-grid{grid-template-columns:1fr}
  .session-img{height:180px}
  .page-hero-img{height:200px}
  .hero-split{grid-template-columns:1fr}
  .hero-img{
    max-width:260px;
    max-height:180px;
  }
}

/* ===== FORCE HERO BG (paste at very end) ===== */
/* ===== HERO: full background + softer mood ===== */
.hero.hero-bg{
  position: relative;
  overflow: hidden;
  padding: 56px 0 56px;

  /* Image fills the entire hero */
  background-image:
    /* warm top glow */
    radial-gradient(900px 520px at 20% 0%, rgba(255, 220, 180, .10), transparent 60%),
    /* calm blue-green glow */
    radial-gradient(900px 520px at 85% 10%, rgba(125, 211, 252, .10), transparent 60%),
    /* readability overlay (stronger, but soft) */
    linear-gradient(to bottom, rgba(11,18,32,.35), rgba(11,18,32,.86)),
    url("/assets/img/hero/hero-2.png");

  background-size: cover;
  background-position: center 25%;
  background-repeat: no-repeat;
}

/* Soften the photo itself without blurring text */
.hero.hero-bg::before{
  content:"";
  position:absolute;
  inset:0;
  background: inherit;         /* reuses the same background layers */
  filter: brightness(1.08) saturate(.92) blur(2px);
  transform: scale(1.04);
  z-index:0;
}

/* Keep actual hero content above the softened background */
.hero.hero-bg .hero-inner{
  position: relative;
  z-index:1;
}

/* Slightly improve text readability */
.hero.hero-bg h1{
  text-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.hero.hero-bg .lead,
.hero.hero-bg .note{
  text-shadow: 0 6px 22px rgba(0,0,0,.35);
}

/* Mobile: reduce padding and show a bit more of the center */
@media (max-width: 860px){
  .hero.hero-bg{
    padding: 44px 0 44px;
    background-position: center 30%;
  }
}


/* ===== Make hero taller so more of the image is visible ===== */
.hero.hero-bg{
  min-height: 70vh;              /* taller hero = more image visible */
  display: flex;
  align-items: center;           /* vertically center text within the hero */
  padding: 64px 0;
  background-size: cover;
  background-position: center 20%; /* show a bit more of the top */
}

/* Keep content readable on large screens */
.hero.hero-bg .hero-inner{
  width: 100%;
  max-width: 1040px;
}

/* Mobile adjustments */
@media (max-width: 860px){
  .hero.hero-bg{
    min-height: 62vh;
    padding: 44px 0;
    background-position: center 28%;
  }
}


/* ===== HERO: make it tall + readable + full background ===== */
.hero.hero-bg{
  min-height: 72vh;            /* makes the hero area tall */
  display: flex;
  align-items: center;         /* centers text vertically */
  padding: 64px 0;
  background-size: cover;
  background-position: center 22%;
  background-repeat: no-repeat;
}

/* keep text readable regardless of the photo */
.hero.hero-bg{
  background-image:
    linear-gradient(to bottom, rgba(11,18,32,.35), rgba(11,18,32,.86)),
    url("/assets/img/hero/hero-2.png");
}

/* optional: make the text block slightly “glass” so it’s always readable */
.hero.hero-bg .hero-inner{
  max-width: 880px;
  padding: 18px 18px;
  border-radius: 18px;
  background: rgba(11,18,32,.35);
  border: 1px solid rgba(232,238,252,.10);
  backdrop-filter: blur(6px);
}

/* mobile */
@media (max-width: 860px){
  .hero.hero-bg{
    min-height: 62vh;
    padding: 44px 0;
    background-position: center 30%;
  }
  .hero.hero-bg .hero-inner{
    padding: 14px 14px;
  }
}

#newQuoteDe {
    color: #fff;
    font-size: 16px;
    background: rgba(125, 211, 252, 0.25);
    border: 1px solid rgba(125, 211, 252, 0.4);
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
}

#newQuoteDe:hover {
    background: rgba(125, 211, 252, 0.35);
}

#submit-btn {
    color: #fff;
    font-size: 16px;
    background: rgba(125, 211, 252, 0.25);
    border: 1px solid rgba(125, 211, 252, 0.4);
    padding: 10px 18px;
    border-radius: 12px;
    cursor: pointer;
}

#submit-btn:hover {
    background: rgba(125, 211, 252, 0.35);
}
