/* =============================================================
   SUPERHERO SCHOOL — Unified Stylesheet
   Covers: home, partner detail, project partners list,
           transnational meetings, and any future page.

   Fonts (add to <head>):
   <link href="https://fonts.googleapis.com/css2?family=Fredoka+One
     &family=Nunito:wght@400;600;700;800&display=swap" rel="stylesheet">
   ============================================================= */


/* ─────────────────────────────────────────
   0. RESET & TOKENS
───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green:      #88bf36;
  --green-dark: #5e8a20;
  --cyan:       #1ab6d9;
  --cyan-dark:  #0e87a3;
  --darkblue:   #0a3040;
  --darkblue2:  #0d3a50;
  --white:      #fff;
  --light:      #f4fbf0;
}

body { font-family: 'Nunito', sans-serif !important; background: var(--white)!important;color: #333 !important;}
#topper{ z-index: 99999;}
.hero img{   width:350px; }

/* ─────────────────────────────────────────
   1. TOPBAR  (logo left · login right)
───────────────────────────────────────── */
.topbar {
  background: var(--darkblue);
  padding: 10px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 300;
}

.topbar-logo img {
  height: 36px;
  filter: brightness(0) invert(1);
  opacity: .9;
  display: block;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-login {
  background: var(--green);
  color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: .3px;
  transition: background .2s;
  white-space: nowrap;
}
.topbar-login:hover { background: var(--green-dark); }


/* ─────────────────────────────────────────
   2. HAMBURGER BUTTON  (mobile only)
───────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}
.hamburger--white  {
  background: var(--darkblue);
  border: 1px solid var(--darkblue);
}
.hamburger span {
  display: block;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ─────────────────────────────────────────
   3. MAIN NAV  (level 1)
───────────────────────────────────────── */
.main-nav ,.main-nav_ONLYROOT {
  background: var(--darkblue);
  border-top: 1px solid rgba(255,255,255,.07);
  position: relative;
  z-index: 200;
}

.main-nav-inner {
  display: flex;
  flex-wrap: wrap;
  padding: 0 24px;
  width: 100%;
}

.nav-item { position: relative; }

.nav-link {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 14px;
  border-bottom: 3px solid transparent;
  transition: color .2s, border-color .2s, background .2s;
  white-space: nowrap;
  display: block;
}
.nav-link:hover                    { color: white; }
.nav-link.active                   { color: var(--green); border-bottom-color: var(--green); }
.nav-item:hover > .nav-link        { color: white; background: rgba(255,255,255,.06); }


/* ─────────────────────────────────────────
   4. DROPDOWN  (level 1 panel)
───────────────────────────────────────── */
.sections-nav .dropdown {
  position: absolute;
  top: 100%; left: 0;
  min-width: 220px;
  background: var(--darkblue2);
  border: 1px solid rgba(255,255,255,.1);
  border-top: 2px solid var(--green);
  border-radius: 0 0 10px 10px;
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
  z-index: 500;
}

.nav-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.sections-nav .dropdown > a {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 18px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.sections-nav .dropdown > a:hover {
  background: rgba(136,191,54,.12);
  color: var(--green);
  border-left-color: var(--green);
}


/* ─────────────────────────────────────────
   5. SUBMENU  (level 2 — flies right)
───────────────────────────────────────── */
.sections-nav .dropdown .nav-item--sub { position: relative; }

.sections-nav .dropdown .nav-item--sub > a.sub-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 18px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.sections-nav .dropdown .nav-item--sub:hover > a.sub-trigger {
  background: rgba(26,182,217,.12);
  color: var(--cyan);
  border-left-color: var(--cyan);
}

.sub-arrow { font-size: 10px; opacity: .6; margin-left: 8px; flex-shrink: 0; }

.sections-nav .dropdown--sub {
  position: absolute;
  top: -7px; left: 100%;
  min-width: 200px;
  background: var(--darkblue2);
  border: 1px solid rgba(255,255,255,.1);
  border-top: 2px solid var(--cyan);
  border-radius: 0 10px 10px 10px;
  padding: 6px 0;
  color: rgba(255,255,255,.8);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
  z-index: 600;
}
.sections-nav .dropdown .nav-item--sub:hover > .dropdown--sub {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.dropdown--sub a {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 12px;
  font-weight: 600;
  padding: 10px 18px;
  text-decoration: none;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.dropdown--sub a:hover {
  background: rgba(26,182,217,.12);
  color: var(--cyan);
  border-left-color: var(--cyan);
}


/* ─────────────────────────────────────────
   5b. WHITE NAV THEME
   Usage: add class  nav--white  to both
   <header class="topbar nav--white">  and
   <nav class="main-nav nav--white">
───────────────────────────────────────── */

/* ── topbar white ── */
.topbar.nav--white {
  background: var(--white);
  border-bottom: 1px solid #e8f0e0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}

.topbar.nav--white .topbar-logo img {
  filter: none;            /* show logo in original colours */
  opacity: 1;
}

.topbar.nav--white .topbar-login {
  background: var(--green);
  color: white;
}
.topbar.nav--white .topbar-login:hover { background: var(--green-dark); }

/* hamburger lines → dark on white bg */
.topbar.nav--white .hamburger {
  background: rgba(0,0,0,.05);
  border-color: rgba(0,0,0,.12);
}
.topbar.nav--white .hamburger span { background: var(--darkblue); }


/* ── main-nav white ── */
.main-nav.nav--white {
  background: var(--white);
  border-top: 1px solid #e8f0e0;
  border-bottom: 2px solid #e8f5d0;
}

.main-nav.nav--white .nav-link {
  color: var(--darkblue);
}
.main-nav.nav--white .nav-link:hover {
  color: var(--green-dark);
  background: rgba(136,191,54,.07);
}
.main-nav.nav--white .nav-link.active {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}
.main-nav.nav--white .nav-item:hover > .nav-link {
  color: var(--green-dark);
  background: rgba(136,191,54,.07);
}

/* ── dropdown white ── */
.main-nav.nav--white .dropdown {
  background: var(--white);
  border: 1px solid #ddeebb;
  border-top: 2px solid var(--green);
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
}

.main-nav.nav--white .dropdown > a {
  color: var(--darkblue);
}
.main-nav.nav--white .dropdown > a:hover {
  background: rgba(136,191,54,.09);
  color: var(--green-dark);
  border-left-color: var(--green);
}

/* ── sub-trigger white ── */
.main-nav.nav--white .dropdown .nav-item--sub > a.sub-trigger {
  color: var(--darkblue);
}
.main-nav.nav--white .dropdown .nav-item--sub:hover > a.sub-trigger {
  background: rgba(26,182,217,.08);
  color: var(--cyan-dark);
  border-left-color: var(--cyan);
}

/* ── submenu panel white ── */
.main-nav.nav--white .dropdown--sub {
  background: var(--white);
  border: 1px solid #ddeebb;
  border-top: 2px solid var(--cyan);
  box-shadow: 0 8px 28px rgba(0,0,0,.10);
}
.main-nav.nav--white .dropdown--sub a {
  color: var(--darkblue);
}
.main-nav.nav--white .dropdown--sub a:hover {
  background: rgba(26,182,217,.08);
  color: var(--cyan-dark);
  border-left-color: var(--cyan);
}

/* ── mobile drawer white ── */
@media (max-width: 600px) {
  .main-nav.nav--white {
    background: var(--white);
    border-top: none;
  }
  .main-nav.nav--white .nav-link {
    color: var(--darkblue);
    border-left-color: transparent;
  }
  .main-nav.nav--white .nav-link.active {
    border-left-color: var(--green);
    background: rgba(136,191,54,.07);
    color: var(--green-dark);
  }
  .main-nav.nav--white .nav-link:hover {
    background: rgba(136,191,54,.05);
  }
  .main-nav.nav--white .dropdown {
    background: rgba(136,191,54,.05);
    box-shadow: none;
  }
  .main-nav.nav--white .dropdown > a { color: var(--darkblue); }
  .main-nav.nav--white .dropdown--sub { background: rgba(26,182,217,.05); }
  .main-nav.nav--white .dropdown--sub a { color: var(--darkblue); }
}


/* ─────────────────────────────────────────
   6. SECTIONS NAV  (second-level tab bar)
───────────────────────────────────────── */
.sections-nav { background: white; /*border-bottom: 2px solid #e8f5d0;*/width: 100% }
.sections-nav-inner { display: flex; overflow-x: auto; padding: 0 32px; }

.sec-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 700;
  color: var(--darkblue);
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.sec-link:hover,
.sec-link.active { color: var(--green); border-bottom-color: var(--green); }


/* ─────────────────────────────────────────
   7. EXPERIENCES SUB-NAV  (tab strip)
───────────────────────────────────────── */
.sub-nav {
  background: var(--light);
  border-bottom: 1px solid #d4edaa;
  padding: 0 32px;
  display: flex;
  overflow-x: auto;
}

.sub-link {
  padding: 12px 20px;
  font-size: 12px;
  font-weight: 700;
  color: #666;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
  transition: color .2s, border-color .2s;
}
.sub-link:hover          { color: var(--green-dark); }
.sub-link.active         { color: var(--green-dark); border-bottom-color: var(--green); }


/* ─────────────────────────────────────────
   8. PARTNER BREADCRUMB BAR
───────────────────────────────────────── */
.partner-bar {
  background: var(--light);
  border-bottom: 1px solid #d4edaa;
  padding: 10px 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.partner-bar a        { font-size: 12px; font-weight: 700; color: var(--cyan-dark); text-decoration: none; }
.partner-bar a:hover  { color: var(--cyan); }
.partner-bar span     { font-size: 12px; color: #999; }
.partner-bar .current { font-size: 12px; font-weight: 700; color: var(--green-dark); }

.partner-dots { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }

.pdot {
  background: white;
  border: 1.5px solid #c8e88a;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  transition: background .18s, border-color .18s;
}
.pdot:hover,
.pdot.active { background: var(--green); color: white; border-color: var(--green); }


/* ─────────────────────────────────────────
   9. HERO SECTION
───────────────────────────────────────── */
.hero {
  position: relative;
  background: var(--darkblue);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 52px 32px;
}

.hero-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(138,191,54,.18) 1px, transparent 1px);
  background-size: 36px 36px;
}
.hero-stripe {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 200px;
  background: var(--cyan);
  opacity: .12;
  clip-path: polygon(40% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-content  { position: relative; text-align: center; max-width: 700px; width: 100%; }

.hero-badge {
  display: inline-block;
  background: rgba(26,182,217,.15);
  border: 1.5px solid var(--cyan);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
  letter-spacing: .5px;
  margin-bottom: 20px;
}

/* home: full logo as hero image */
.hero-logo    { height: 180px; margin-bottom: 16px; max-width: 100%; }

/* inner pages: text title */
.hero-title {
  font-family: 'Fredoka One', cursive;
  font-size: 44px;
  color: var(--green);
  line-height: 1.05;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.hero-title span { color: white; }

.hero-sub {
  font-size: 14px;
  color: rgba(255,255,255,.8);
  line-height: 1.65;
  font-weight: 600;
}


/* ─────────────────────────────────────────
   10. CTA STRIP  (home page)
───────────────────────────────────────── */
.cta-strip {
  background: var(--light);
  border-top: 4px solid var(--green);
  border-bottom: 4px solid var(--cyan);
  padding: 40px 24px;
}
.cta-strip-inner { max-width: 820px; margin: 0 auto; text-align: center; padding: 20px}

.cta-strip-title {
  font-family: 'Fredoka One', cursive;
  font-size: 26px;
  color: var(--darkblue);
  letter-spacing: .5px;
  margin-bottom: 6px;
}
.cta-strip-sub { font-size: 14px; color: #555; margin-bottom: 28px; font-weight: 600; }

.cta-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cta-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  border-radius: 14px;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.cta-btn:hover { transform: translateY(-3px); }

.cta-btn-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  background: rgba(255,255,255,.25);
}
.cta-btn-text  { text-align: left; flex: 1; min-width: 0; }
.cta-btn-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  opacity: .75; margin-bottom: 3px;
}
.cta-btn-title  { font-size: 15px; font-weight: 800; line-height: 1.3; }
.cta-btn-arrow  { margin-left: auto; font-size: 20px; flex-shrink: 0; }

.btn-green {
  background: var(--green); color: white;
  box-shadow: 0 6px 24px rgba(136,191,54,.4);
}
.btn-green:hover { box-shadow: 0 10px 32px rgba(136,191,54,.55); }

.btn-cyan {
  background: var(--cyan); color: white;
  box-shadow: 0 6px 24px rgba(26,182,217,.4);
}
.btn-cyan:hover { box-shadow: 0 10px 32px rgba(26,182,217,.55); }


/* ─────────────────────────────────────────
   11. ABOUT SECTION  (home page)
───────────────────────────────────────── */
.about {
  padding: 56px 32px;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: center;
  flex-wrap: wrap;
}

.about-img {
  flex: 0 0 290px;
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--green);
}
.about-img img { width: 100%; display: block; }

.about-img-placeholder {
  width: 100%; height: 200px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fredoka One', cursive;
  font-size: 18px; color: white;
}

.about-text    { flex: 1; min-width: 220px; }
.about-text p  { font-size: 14px; color: #444; line-height: 1.75; }


/* ─────────────────────────────────────────
   12. SHARED TYPOGRAPHY HELPERS
───────────────────────────────────────── */
.section-eyebrow,H1 {
  font-size: 12px; font-weight: 700;
  letter-spacing: 2px; color: var(--cyan);
  text-transform: uppercase; margin-bottom: 8px;
}
.section-heading {
  font-family: 'Fredoka One', cursive;
  font-size: 28px; color: var(--darkblue);
  letter-spacing: .5px; margin-bottom: 14px; line-height: 1.15;
}
.section-desc {
  font-size: 14px; color: #555;
  line-height: 1.75; max-width: 620px;
}


/* ─────────────────────────────────────────
   13. PAGE BODY LAYOUT  (inner pages)
───────────────────────────────────────── */
.page-body {
  max-width: 960px;
  margin: 0 auto;
  padding: 52px 32px;
}

/* sidebar + main two-column layout (partner detail pages) */
.page-body--sidebar {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.sidebar {
  flex: 0 0 260px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.main-content { flex: 1; min-width: 280px; }

.page-header  { margin-bottom: 36px; }


/* ─────────────────────────────────────────
   14. SIDEBAR CARDS  (logo + info)
───────────────────────────────────────── */
.logo-card {
  background: white;
  border: 2px solid #e0f0b0;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
}
.logo-card img        { max-width: 170px; max-height: 80px; object-fit: contain; }
.logo-card .logo-fallback {
  font-family: 'Fredoka One', cursive;
  font-size: 18px; color: var(--green);
}
.logo-card .website-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px; font-weight: 700;
  color: var(--cyan-dark);
  text-decoration: none;
  border: 1.5px solid var(--cyan);
  border-radius: 8px;
  padding: 6px 16px;
  transition: background .18s;
}
.logo-card .website-link:hover { background: var(--cyan); color: white; }

.info-card {
  background: var(--darkblue);
  border-radius: 14px;
  padding: 22px 20px;
}
.info-card-title {
  font-family: 'Fredoka One', cursive;
  font-size: 15px; color: var(--green);
  letter-spacing: .5px; margin-bottom: 14px;
}
.info-row  { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; }
.info-icon {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(138,191,54,.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0;
}
.info-label {
  font-size: 11px; font-weight: 700;
  color: rgba(255,255,255,.45);
  letter-spacing: .5px; text-transform: uppercase; margin-bottom: 2px;
}
.info-value { font-size: 12px; color: rgba(255,255,255,.85); font-weight: 600; line-height: 1.4; }


/* ─────────────────────────────────────────
   15. PARTNER DETAIL CONTENT BLOCKS
───────────────────────────────────────── */
.mission-block {
  background: var(--light);
  border-left: 4px solid var(--green);
  border-radius: 0 12px 12px 0;
  padding: 20px 22px;
  margin: 24px 0 28px;
}
.mission-block .mission-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; color: var(--green-dark);
  text-transform: uppercase; margin-bottom: 8px;
}
.mission-block p { font-size: 14px; color: #334; line-height: 1.75; font-weight: 600; }

.what-we-do         { margin-bottom: 32px; }
.what-we-do h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 18px; color: var(--darkblue);
  letter-spacing: .3px; margin-bottom: 16px;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
}
.activity-card {
  background: white;
  border: 1.5px solid #d4edaa;
  border-radius: 12px;
  padding: 18px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.activity-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--green), #a8d848);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; flex-shrink: 0;
}
.activity-text { font-size: 13px; font-weight: 700; color: var(--darkblue); line-height: 1.35; }

/* generic bordered block (erasmus, eu-block, etc.) */
.content-block {
  background: white;
  border: 1.5px solid #e0f0b0;
  border-radius: 14px;
  padding: 26px 24px;
  margin-bottom: 32px;
}
.content-block h3 {
  font-family: 'Fredoka One', cursive;
  font-size: 18px; color: var(--darkblue);
  letter-spacing: .3px; margin-bottom: 12px;
}
.content-block p { font-size: 13px; color: #555; line-height: 1.75; margin-bottom: 16px; }

/* numbered project list inside content-block */
.project-list   { display: flex; flex-direction: column; gap: 10px; }
.project-item   {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--light);
  border-radius: 10px;
}
.project-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--cyan);
  color: white;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.project-item a {
  font-size: 13px; color: var(--cyan-dark);
  font-weight: 700; text-decoration: none; line-height: 1.5;
}
.project-item a:hover { color: var(--cyan); }


/* ─────────────────────────────────────────
   16. MEETING CARDS  (transnational list)
───────────────────────────────────────── */
.count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border: 1.5px solid #c8e88a;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 12px; font-weight: 700;
  color: var(--green-dark);
  margin-top: 16px;
}
.count-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); }

.meetings-list { display: flex; flex-direction: column; gap: 24px; }

.meeting-card {
  display: flex;
  background: white;
  border: 1.5px solid #e0f0b0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform .18s, box-shadow .18s;
}
.meeting-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(136,191,54,.15);
}

.meeting-thumb {
  flex: 0 0 240px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--darkblue), #1a4a60);
}
.meeting-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .3s;
}
.meeting-card:hover .meeting-thumb img { transform: scale(1.04); }

.thumb-placeholder {
  width: 100%; height: 100%; min-height: 180px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}

.meeting-date-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--green); color: white;
  font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 8px;
  letter-spacing: .3px; line-height: 1.4; text-align: center;
}
.meeting-date-tag .day {
  font-size: 18px;
  font-family: 'Fredoka One', cursive;
  display: block; line-height: 1;
}

.meeting-location-tag {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(10,48,64,.85);
  color: rgba(255,255,255,.9);
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 6px;
  display: flex; align-items: center; gap: 5px;
}

.meeting-body {
  flex: 1;
  padding: 26px 28px;
  display: flex; flex-direction: column; justify-content: space-between;
}

.meeting-meta   { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.meeting-type {
  font-size: 11px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--cyan-dark);
  background: rgba(26,182,217,.1);
  border: 1px solid rgba(26,182,217,.25);
  padding: 3px 10px; border-radius: 6px;
}
.meeting-number { font-size: 11px; font-weight: 700; color: #aaa; letter-spacing: .5px; }

.meeting-title {
  font-family: 'Fredoka One', cursive;
  font-size: 20px; color: var(--darkblue);
  line-height: 1.2; margin-bottom: 12px; letter-spacing: .3px;
}
.meeting-excerpt { font-size: 13px; color: #556; line-height: 1.7; margin-bottom: 20px; }

.meeting-footer {
  display: flex;
  align-items: center; justify-content: space-between;
  gap: 12px; flex-wrap: wrap;
}

.meeting-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.mtag {
  font-size: 11px; font-weight: 700;
  color: var(--green-dark);
  background: #f0fae0;
  border: 1px solid #c8e88a;
  padding: 3px 10px; border-radius: 6px;
}

.read-more {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700;
  color: var(--cyan-dark); white-space: nowrap;
}
.read-more .arrow { font-size: 18px; transition: transform .18s; }
.meeting-card:hover .read-more .arrow { transform: translateX(4px); }


/* ─────────────────────────────────────────
   17. PROJECT PARTNERS GRID  (logo-only)
───────────────────────────────────────── */
.partners-grid {
  display: grid;
  background: var(--light);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding:15px;
  width: 100%;
}
.loghi_partners .partners-grid {
  display: grid;
  background: var(--light);
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding:15px;
}

.partner-card {
  background: var(--white);
  border: 1.5px solid #e0f0b0;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px 28px;
  min-height: 140px;
  transition: transform .2s, box-shadow .2s, border-color .2s, background .2s;
}
.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(136,191,54,.2);
  border-color: var(--green);
  background: var(--white);
}
.partner-card img {
  max-width: 160px; max-height: 80px;
  object-fit: contain;
  transition: transform .22s;
  width: 100%;
}
.partner-card:hover img { transform: scale(1.07); }


/* ─────────────────────────────────────────
   18. PARTNER CHIPS STRIP
───────────────────────────────────────── */
.partners, .partners-strip {
  padding: 40px 24px;
  background: var(--light);
}
.partners-strip { border-top: 4px solid var(--green); }

.partners-title {
  font-family: 'Fredoka One', cursive;
  font-size: 22px; color: var(--darkblue);
  text-align: center; letter-spacing: .5px; margin-bottom: 0px;padding-top: 20px;
  background: var(--light);
  border-top: 2px solid var(--green);
  width: 100%;
}

.partners-logos {
  display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: center; align-items: center;
}

.partner-chip {
  background: white;
  border: 1.5px solid #c8e88a;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 12px; font-weight: 700;
  color: var(--green-dark);
  text-decoration: none;
  transition: border-color .18s, background .18s;
}
.partner-chip:hover           { border-color: var(--green); background: #f0fae0; }
.partner-chip.current-partner { background: var(--green); color: white; border-color: var(--green); }

/* ── PARTNERS GRID ── */
.listPartners  .partners-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  background-color:#f7fde6 ;
}

.listPartners  .partner-card{
  background:white;
  border:1.5px solid #e0f0b0;
  border-radius:18px;
  overflow:hidden;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  transition:transform 0.2s,box-shadow 0.2s,border-color 0.2s;
}
.listPartners  .partner-card:hover{
  transform:translateY(-5px);
  box-shadow:0 14px 40px rgba(136,191,54,0.18);
  border-color:var(--green);
}

/* logo area */
.listPartners  .partner-logo-wrap{
  background:var(--white);
  border:1.5px solid #e8f5d0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:32px 28px;
  min-height:140px;
}
.listPartners  .partner-logo-wrap img{
  max-width:160px;
  max-height:80px;
  object-fit:contain;
  transition:transform 0.2s;
}
.listPartners  .partner-card:hover .partner-logo-wrap img{transform:scale(1.05);}
.listPartners  .logo-fallback{font-family:'Fredoka One',cursive;font-size:18px;color:var(--green);text-align:center;}

/* card body */
.listPartners  .partner-card-body{
  padding:20px 22px;
  flex:1;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.listPartners  .partner-name{
  font-family:'Fredoka One',cursive;
  font-size:17px;
  color:var(--darkblue);
  letter-spacing:0.3px;
}
.listPartners  .partner-country{
  display:flex;
  align-items:center;
  gap:6px;
  font-size:12px;
  font-weight:700;
  color:#888;
}
.listPartners  .partner-desc{
  font-size:12px;
  color:#556;
  line-height:1.6;
  flex:1;
}

/* card footer */
.listPartners  .partner-card-footer{
  padding:14px 22px;
  border-top:1px solid #e8f5d0;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.listPartners  .partner-tag{
  font-size:10px;
  font-weight:700;
  letter-spacing:0.5px;
  text-transform:uppercase;
  color:var(--green-dark);
  background:#f0fae0;
  border:1px solid #c8e88a;
  padding:3px 10px;
  border-radius:6px;
}
.listPartners  .partner-cta{
  font-size:12px;
  font-weight:700;
  color:var(--cyan-dark);
  display:flex;
  align-items:center;
  gap:4px;
  transition:gap 0.18s;
}
.listPartners  .partner-card:hover .partner-cta{gap:8px;}
.listPartners  .partner-cta .arr{font-size:16px;}

/* coordinator badge */
.listPartners  .coord-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  background:linear-gradient(135deg,var(--green),#a8d848);
  color:white;
  font-size:10px;
  font-weight:800;
  letter-spacing:0.5px;
  text-transform:uppercase;
  padding:3px 10px;
  border-radius:6px;
}

/* ─────────────────────────────────────────
   19. EU STRIP
───────────────────────────────────────── */
.eu-strip {
  background: var(--darkblue);
  padding: 36px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.eu-strip img  { height: 50px; opacity: .85; }
.eu-strip p    { font-size: 12px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 560px; }


/* ─────────────────────────────────────────
   20. FOOTER
───────────────────────────────────────── */
footer {
  background: var(--darkblue);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 36px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-col { flex: 1; min-width: 160px; }

.footer-title {
  font-family: 'Fredoka One', cursive;
  font-size: 17px; color: var(--green);
  letter-spacing: .5px; margin-bottom: 10px;
}

.footer-col p,
.footer-col a {
  font-size: 12px; color: rgba(255,255,255,.6);
  line-height: 1.9; text-decoration: none; display: block;
}
.footer-col a:hover { color: var(--cyan); }

.footer-eu {
  font-size: 11px; color: rgba(255,255,255,.35);
  margin-top: 12px; line-height: 1.6;
}

footer .img img{
  width: 50%;

}
/* ─────────────────────────────────────────
   21. LOGO FALLBACK
───────────────────────────────────────── */
.logo-fallback {
  font-family: 'Fredoka One', cursive;
  font-size: 18px; color: var(--green); text-align: center;
}


/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */

/* ── TABLET  ≤ 900px ── */
@media (max-width: 900px) {
  .topbar { padding: 10px 20px; }

  .main-nav-inner {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding: 0 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .main-nav-inner::-webkit-scrollbar { display: none; }
  .nav-link { padding: 11px 11px; font-size: 12px; }
  /* dropdown works on hover on tablet too (pointer device) */

  .hero              { padding: 40px 20px; min-height: 220px; }
  .hero-slide{min-height:320px;}
  .hero-logo         { height: 130px; }
  .hero-title        { font-size: 34px; }
  .hero-sub          { font-size: 13px; }
  .cta-strip         { padding: 32px 20px; }
  .cta-strip-title   { font-size: 22px; }
  .cta-btn           { padding: 16px; gap: 12px; }
  .cta-btn-icon      { width: 46px; height: 46px; font-size: 22px; }
  .cta-btn-title     { font-size: 14px; }
  .about             { padding: 40px 20px; gap: 28px; }
  .about-img         { flex: 0 0 220px; }
  .page-body         { padding: 36px 20px; }
  .partners-grid     { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .loghi_partners .partners-grid     { grid-template-columns: repeat(2, 1fr); gap: 18px; }


  footer             { padding: 32px 20px; }
  .eu-strip          { padding: 28px 20px; gap: 20px; }
}

/* ── MOBILE  ≤ 600px ── */
@media (max-width: 600px) {
  /* topbar */
  .topbar            { padding: 10px 16px; }
  .topbar-logo img   { height: 28px; }
  .topbar-login      { font-size: 12px; padding: 7px 14px; }

  /* hamburger */
  .hamburger         { display: flex; }

  /* nav drawer */
  .main-nav          { border-top: none; overflow: hidden; max-height: 0; transition: max-height .32s ease; }
  .main-nav.nav-open { max-height: 600px; }
  .main-nav-inner    { flex-direction: column; flex-wrap: nowrap; padding: 6px 0 10px; overflow: visible; }

  /* flatten nav on mobile */
  .nav-item          { position: static; }
  .nav-link          { padding: 13px 20px; font-size: 14px; border-bottom: none; border-left: 3px solid transparent; white-space: normal; }
  .nav-link.active   { border-bottom: none; border-left-color: var(--green); background: rgba(136,191,54,.08); color: var(--green); }
  .nav-link:hover    { background: rgba(255,255,255,.05); }

  /* dropdown: flat, hidden until .expanded */
  .sections-nav .dropdown {
    position: static; opacity: 1; visibility: visible;
    transform: none; pointer-events: auto;
    border: none; border-radius: 0;
    background: rgba(0,0,0,.15); padding: 0;
    display: none;
  }
  .nav-item.expanded > .dropdown  { display: block; }
  .nav-item:hover > .dropdown     { opacity: 0; visibility: hidden; pointer-events: none; }
  .sections-nav .dropdown > a { padding: 10px 20px 10px 36px; font-size: 13px; border-left: none; }
  .sections-nav .dropdown > a:hover { border-left: none; background: rgba(136,191,54,.1); }

  /* submenu level 2 on mobile */
  .sections-nav .dropdown .nav-item--sub { position: static; }
  .dropdown--sub {
    position: static; opacity: 1; visibility: visible;
    transform: none; pointer-events: auto;
    border: none; border-radius: 0;
    background: rgba(0,0,0,.2); padding: 0;
    display: none;
  }
  .nav-item--sub.expanded > .dropdown--sub    { display: block; }
  .nav-item--sub:hover > .dropdown--sub       { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
  .dropdown--sub a                             { padding-left: 68px; }
  .sections-nav .dropdown .nav-item--sub > a.sub-trigger    { padding-left: 52px; border-left: none; }
  .sections-nav .dropdown .nav-item--sub:hover > a.sub-trigger { border-left: none; }

  /* hero */
  .hero              { padding: 32px 16px; min-height: auto; }
  .hero-logo         { height: 90px; }
  .hero-badge        { font-size: 10px; padding: 3px 10px; }
  .hero-title        { font-size: 28px; }
  .hero-sub          { font-size: 13px; }

  /* cta */
  .cta-strip         { padding: 24px 16px; }
  .cta-strip-title   { font-size: 20px; }
  .cta-strip-sub     { font-size: 13px; margin-bottom: 18px; }
  .cta-buttons       { grid-template-columns: 1fr; gap: 12px; }
  .cta-btn           { padding: 15px 14px; gap: 12px; }
  .cta-btn-icon      { width: 42px; height: 42px; font-size: 20px; }
  .cta-btn-title     { font-size: 14px; }
  .cta-btn-arrow     { display: none; }

  /* about */
  .about             { flex-direction: column; padding: 28px 16px; gap: 20px; }
  .about-img         { flex: none; width: 100%; }
  .section-heading   { font-size: 22px; }
  .about-text p      { font-size: 13px; }

  /* page body */
  .page-body         { padding: 28px 16px; }
  .page-body--sidebar { flex-direction: column; }
  .sidebar           { flex: none; width: 100%; }

  /* meetings */
  .meeting-card      { flex-direction: column; }
  .meeting-thumb     { flex: 0 0 200px; min-height: 200px; }

  /* partners grid */
  .partners-grid ,.loghi_partners .partners-grid     { grid-template-columns: 1fr; gap: 14px; }

  .partner-card      { min-height: 110px; padding: 24px 20px; }

  /* chips */
  .partners, .partners-strip { padding: 24px 16px; }
  .partners-title    { font-size: 18px; margin-bottom: 14px; }
  .partner-chip      { padding: 8px 14px; font-size: 11px; }

  /* eu strip */
  .eu-strip          { padding: 24px 16px; gap: 16px; }

  /* footer */
  footer             { flex-direction: column; padding: 24px 16px; gap: 24px; }
  .footer-col        { min-width: 100%; }
}

/* ── LANGUAGE PILL (topbar) ── */
.lang-pill{position:relative;}

.lang-pill-btn{
  display:flex;align-items:center;gap:7px;
  background:rgba(255,255,255,0.1);
  border:1.5px solid rgba(255,255,255,0.2);
  border-radius:30px;
  padding:5px 12px 5px 8px;
  cursor:pointer;
  transition:background .2s,border-color .2s;
}
.lang-pill-btn:hover{background:rgba(255,255,255,0.18);border-color:rgba(255,255,255,0.35);}
.lang-pill.open .lang-pill-btn{
  background:rgba(136,191,54,0.2);
  border-color:var(--green);
}
.lang-pill-btn img{
  width:22px;height:15px;
  object-fit:cover;border-radius:3px;
  border:1px solid rgba(255,255,255,0.2);
  display:block;flex-shrink:0;
}
.lang-pill-arrow{
  font-size:11px;color:rgba(255,255,255,0.7);
  transition:transform .2s;line-height:1;
}
.lang-pill.open .lang-pill-arrow{transform:rotate(180deg);}

.lang-pill-dropdown{
  position:absolute;top:calc(100% + 8px);right:0;
  min-width:150px;
  background:var(--darkblue2);
  border:1.5px solid rgba(136,191,54,0.4);
  border-top:2px solid var(--green);
  border-radius:10px;
  padding:6px 0;
  opacity:0;visibility:hidden;
  transform:translateY(-6px);
  transition:opacity .18s,transform .18s,visibility .18s;
  pointer-events:none;
  z-index:400;
  box-shadow:0 8px 28px rgba(0,0,0,.25);
}
.lang-pill.open .lang-pill-dropdown{
  opacity:1;visibility:visible;
  transform:translateY(0);pointer-events:auto;
}

.lang-pill-opt{
  display:flex;align-items:center;gap:10px;
  padding:9px 16px;
  font-size:12px;font-weight:700;
  color:rgba(255,255,255,0.8);
  text-decoration:none;
  border-left:3px solid transparent;
  transition:background .15s,color .15s;
}
.lang-pill-opt:hover{
  background:rgba(136,191,54,0.15);
  color:var(--green);
  border-left-color:var(--green);
}
.lang-pill-opt.active{
  color:var(--green);
  border-left-color:var(--green);
  background:rgba(136,191,54,0.08);
}
.lang-pill-opt img{
  width:22px;height:15px;
  object-fit:cover;border-radius:3px;
  border:1px solid rgba(255,255,255,0.15);
  flex-shrink:0;
}

/* mobile: hide on very small, keep hamburger space */
@media(max-width:360px){.lang-pill{display:none;}}

/* white nav variant */
.topbar.nav--white .lang-pill-btn{
  background:rgba(10,48,64,0.07);
  border-color:rgba(10,48,64,0.2);
}
.topbar.nav--white .lang-pill-btn:hover{background:rgba(10,48,64,0.13);}
.topbar.nav--white .lang-pill.open .lang-pill-btn{background:rgba(136,191,54,0.12);border-color:var(--green);}
.topbar.nav--white .lang-pill-arrow{color:var(--darkblue);}

/* ── LANGUAGE PILL (topbar) end ── */

/* ─────────────────────────────────────────
   LOGIN MODAL
───────────────────────────────────────── */
.login-modal-box{
  padding: 0;
  overflow: hidden;
  max-width: 360px;
}
.login-modal-header{
  background: var(--green);
  padding: 32px 28px 28px;
  text-align: center;
}
.login-modal-icon{ font-size: 36px; margin-bottom: 10px; line-height: 1; }
.login-modal-title{
  font-family: 'Fredoka One', cursive;
  font-size: 22px; color: white;
  letter-spacing: 2px; text-transform: uppercase; margin: 0;
}
.login-modal-body{
  padding: 28px 28px 24px;
  background: #f7f9f4;
}
.login-modal-body .form-group label{ color: #555; }
.login-modal-body .form-group input{ background: white; border-color: #ddd; }
.login-modal-body .form-group input:focus{
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(136,191,54,.15);
}
.pass-wrap{ position: relative; }
.pass-wrap input{ padding-right: 42px; }
.pass-toggle{
  position: absolute; right: 12px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  font-size: 16px; cursor: pointer; opacity: .5;
  transition: opacity .2s; padding: 0; line-height: 1;
}
.pass-toggle:hover{ opacity: 1; }
.login-modal-submit{
  width: 100%;
  background: var(--green); color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 14px; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 13px; border: none; border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(136,191,54,.35);
  transition: background .2s, transform .15s;
  margin-top: 4px;
}
.login-modal-submit:hover{ background: var(--green-dark); transform: translateY(-1px); }
.login-forgot{
  display: block; text-align: center; margin-top: 14px;
  font-size: 12px; font-weight: 700;
  color: #999; text-decoration: none; transition: color .2s;
}
.login-forgot:hover{ color: var(--green-dark); }

/* ─────────────────────────────────────────
   USER LOGGED-IN PILL
───────────────────────────────────────── */
.user-pill { position: relative; }

.user-logged { position: relative; }

.user-logged-btn {
  display: flex; align-items: center; gap: 8px;
  background: rgba(136,191,54,.18);
  border: 1.5px solid var(--green);
  border-radius: 30px;
  padding: 5px 14px 5px 6px;
  cursor: pointer;
  transition: background .2s;
  white-space: nowrap;
}
.user-logged-btn:hover { background: rgba(136,191,54,.3); }

.user-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: white;
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; text-transform: uppercase;
}

.user-name {
  font-size: 13px; font-weight: 700;
  color: white; max-width: 120px;
  overflow: hidden; text-overflow: ellipsis;
}

.user-chevron {
  font-size: 11px; color: rgba(255,255,255,.7);
  transition: transform .2s; line-height: 1;
}
.user-logged.open .user-chevron { transform: rotate(180deg); }

/* user dropdown */
.user-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0;
  min-width: 170px;
  background: var(--darkblue2);
  border: 1.5px solid rgba(136,191,54,.35);
  border-top: 2px solid var(--green);
  border-radius: 10px;
  padding: 6px 0;
  opacity: 0; visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  pointer-events: none;
  z-index: 400;
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}
.user-logged.open .user-dropdown {
  opacity: 1; visibility: visible;
  transform: translateY(0); pointer-events: auto;
}

.user-dd-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.85);
  text-decoration: none;
  background: none; border: none; width: 100%;
  text-align: left; cursor: pointer;
  border-left: 3px solid transparent;
  transition: background .15s, color .15s;
}
.user-dd-item:hover {
  background: rgba(136,191,54,.14);
  color: var(--green);
  border-left-color: var(--green);
}
.user-dd-logout { color: rgba(255,100,100,.85); }
.user-dd-logout:hover {
  background: rgba(255,80,80,.1);
  color: #ff6464;
  border-left-color: #ff6464;
}
.user-dd-icon { font-size: 14px; flex-shrink: 0; }
.user-dd-divider {
  height: 1px; background: rgba(255,255,255,.08);
  margin: 4px 0;
}

/* white nav variant */
.topbar.nav--white .user-logged-btn {
  background: rgba(136,191,54,.12);
  border-color: var(--green);
}
.topbar.nav--white .user-name { color: var(--darkblue); }
.topbar.nav--white .user-chevron { color: var(--darkblue); }


/* ─────────────────────────────────────────
   GUIDE DOWNLOAD MODAL
───────────────────────────────────────── */
.guide-modal {
  display: none;
  position: fixed; inset: 0;
  background: rgba(10,48,64,.75);
  backdrop-filter: blur(4px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.guide-modal.open { display: flex; }

.guide-modal-box {
  background: white;
  border-radius: 20px;
  padding: 40px 36px 36px;
  max-width: 440px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 80px rgba(10,48,64,.35);
  animation: modalIn .25s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.guide-modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none;
  font-size: 20px; color: #aaa;
  cursor: pointer; line-height: 1;
  transition: color .2s;
}
.guide-modal-close:hover { color: var(--darkblue); }

.guide-modal-icon {
  font-size: 40px; text-align: center; margin-bottom: 12px; line-height: 1;
}
.guide-modal-title {
  font-family: 'Fredoka One', cursive;
  font-size: 24px; color: var(--darkblue);
  text-align: center; letter-spacing: .5px; margin-bottom: 6px;
}
.guide-modal-sub {
  font-size: 13px; color: #666; text-align: center;
  line-height: 1.6; margin-bottom: 28px; font-weight: 600;
}

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 800;
  color: var(--darkblue); letter-spacing: .3px; margin-bottom: 6px;
  text-transform: uppercase;
}
.req { color: var(--green); }
.form-group input,
.form-group select,.form-group textarea {
  width: 100% !important;
  padding: 11px 14px !important;
  border: 1.5px solid #dde8c0 !important;
  border-radius: 10px !important;
  font-family: 'Nunito', sans-serif !important;
  font-size: 14px !important; font-weight: 600 !important;
  color: var(--darkblue) !important;
  background: var(--light) !important;
  transition: border-color .2s, box-shadow .2s !important;
  outline: none !important;
  appearance: none !important;
  height: 40px  !important;
}
.form-group select{height: 50px  !important;}
.form-group input:focus,
.form-group select:focus ,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(136,191,54,.18);
  background: white;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235e8a20' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

.form-error {
  font-size: 12px; font-weight: 700;
  color: #d9534f; margin-bottom: 12px; min-height: 18px;
}

.guide-modal-submit {
  width: 100%;
  background: var(--green); color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 15px; font-weight: 800;
  padding: 14px; border: none; border-radius: 12px;
  cursor: pointer; letter-spacing: .3px;
  box-shadow: 0 6px 20px rgba(136,191,54,.4);
  transition: background .2s, box-shadow .2s, transform .15s;
  margin-top: 4px;
}
.guide-modal-submit:hover {
  background: var(--green-dark);
  box-shadow: 0 8px 28px rgba(136,191,54,.5);
  transform: translateY(-1px);
}
.guide-modal-submit:active { transform: translateY(0); }

/* success state */
.guide-modal-success { text-align: center; padding: 12px 0 4px; }
.success-icon { font-size: 48px; margin-bottom: 16px; }
.success-text {
  font-size: 14px; color: #445;
  line-height: 1.75; margin-bottom: 24px; font-weight: 600;
}
.guide-modal-close-btn {
  background: var(--darkblue); color: white;
  font-family: 'Nunito', sans-serif;
  font-size: 13px; font-weight: 700;
  padding: 10px 28px; border: none; border-radius: 10px;
  cursor: pointer; transition: background .2s;
}
.guide-modal-close-btn:hover { background: var(--darkblue2); }

@media(max-width:600px){
  .guide-modal-box { padding: 32px 20px 28px; }
  .guide-modal-title { font-size: 20px; }
}
/* ── custom language selector ── */
.lang-select { position: relative; user-select: none; }

.lang-selected {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 14px;
  border: 1.5px solid #dde8c0; border-radius: 10px;
  background: var(--light); cursor: pointer;
  font-size: 14px; font-weight: 600; color: #aaa;
  transition: border-color .2s, box-shadow .2s;
}
.lang-select.open .lang-selected {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(136,191,54,.18);
  background: white; border-radius: 10px 10px 0 0;
}
.lang-selected-val {
  display: flex; align-items: center; gap: 10px;
  color: var(--darkblue);
}
.lang-selected-val img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; border: 1px solid rgba(0,0,0,.08); }
.lang-chevron { font-size: 14px; color: var(--green-dark); transition: transform .2s; flex-shrink: 0; }
.lang-select.open .lang-chevron { transform: rotate(180deg); }

.lang-options {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: white;
  border: 1.5px solid var(--green); border-top: none;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 8px 24px rgba(10,48,64,.12);
  z-index: 50; overflow: hidden;
  max-height: 250px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.lang-select.open .lang-options { display: block; }

.lang-option {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  font-size: 14px; font-weight: 600; color: var(--darkblue);
  cursor: pointer; transition: background .15s;
}
.lang-option:hover { background: var(--light); }
.lang-option.selected { background: rgba(136,191,54,.1); color: var(--green-dark); font-weight: 800; }
.lang-option img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; border: 1px solid rgba(0,0,0,.08); flex-shrink: 0; }