/* =============================================
   SOLIDARITETI.ORG - Global Stylesheet
   Font: Work Sans (Google Fonts)
   Brand color: #009fe3
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&family=Nunito+Sans:wght@300;400;600;700;800;900&display=swap');

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
  color: #1a1a1a;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== VARIABLES ===== */
:root {
  --brand:       #009fe3;
  --brand-dark:  #007bbf;
  --brand-light: #e6f6fd;
  --text:        #1a1a1a;
  --text-light:  #6b7280;
  --bg-light:    #f7f9fc;
  --border:      #e8e8e8;
  --white:       #ffffff;
  --shadow:      0 4px 24px rgba(0,159,227,.10);
  --shadow-lg:   0 12px 48px rgba(0,159,227,.18);
  --radius:      12px;
  --tr:          0.25s cubic-bezier(.4,0,.2,1);
}

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-py { padding: 80px 0; }
.section-py-sm { padding: 56px 0; }

/* Section heading style */
.sec-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
}
.sec-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text);
  letter-spacing: -.5px;
}
.sec-title .hl { color: var(--brand); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 13px 28px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--tr);
  letter-spacing: .3px;
  text-decoration: none;
  white-space: nowrap;
}
.btn-brand {
  background: var(--brand);
  color: #fff;
}
.btn-brand:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,159,227,.35);
}
.btn-brand-sm { padding: 9px 20px; font-size: .8rem; }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* top-bar removed */

/* ===== HEADER ===== */
#main-header {
  position: sticky;
  top: 0;
  z-index: 99;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0,159,227,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo img { height: 42px; width: auto; }

/* NAV */
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-list > li { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--text);
  padding: 7px 10px;
  border-radius: 7px;
  transition: all var(--tr);
  white-space: nowrap;
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
}
.nav-link:hover { color: var(--brand); background: var(--brand-light); }
.nav-link svg { transition: transform var(--tr); }
.has-dd:hover > .nav-link svg { transform: rotate(180deg); }
.nav-donate {
  background: var(--brand);
  color: #fff !important;
  border-radius: 50px !important;
  padding: 8px 18px !important;
  margin-left: 6px;
}
.nav-donate:hover { background: var(--brand-dark) !important; }

/* NAV LANGUAGE BUTTONS (in header) */
.nav-lang-wrap { display:flex;align-items:center;gap:4px;border-left:1px solid #e8e8e8;padding-left:10px;margin-left:6px; }
.nav-lang-btn {
  background: transparent;
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 3px;
  cursor: pointer;
  transition: all var(--tr);
  opacity: 0.55;
}
.nav-lang-btn:hover { opacity: 1; border-color: var(--brand); }
.nav-lang-btn.active { opacity: 1; border-color: var(--brand); }

/* DROPDOWN — now JS-controlled, not CSS hover */
.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0px);
  left: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brand);
  border-radius: 0 0 12px 12px;
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  z-index: 200;
  padding: 6px 0;
}
/* Bridge gap between trigger and dropdown so mouse can travel */
.has-dd::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 8px;
}
.dropdown.open { display: block; animation: ddFade .18s ease; }
/* Remove default CSS hover — dropdown is fully JS-controlled via mouseenter/leave */
@keyframes ddFade { from { opacity:0; transform:translateY(-6px) } to { opacity:1; transform:translateY(0) } }
.dropdown a {
  display: block;
  padding: 9px 18px;
  font-size: .8rem;
  font-weight: 600;
  color: #333;
  transition: all var(--tr);
  letter-spacing: .3px;
}
.dropdown a:hover { background: var(--brand-light); color: var(--brand); padding-left: 24px; }

/* HAMBURGER */
.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 6px;
}
.hbg span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all var(--tr); }
.hbg.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* MOBILE MENU */
#mob-nav {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0; bottom: 0;
  background: #fff;
  overflow-y: auto;
  z-index: 98;
  padding: 16px 24px 50px;
}
#mob-nav.open { display: block; }
.mob-a {
  display: block;
  padding: 12px 0;
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: .4px;
}
.mob-sub a {
  display: block;
  padding: 9px 0 9px 14px;
  font-size: .82rem;
  color: var(--text-light);
  border-bottom: 1px solid #f5f5f5;
  font-weight: 600;
}

/* Standard left-aligned slide content */
.slide-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 64px;
}

/* SLIDE 1: Fully centered */
.slide-content-center {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0 64px;
  text-align: center;
}
.slide-content-center .slide-text {
  margin-left: auto;
  margin-right: auto;
  max-width: 620px;
}

/* SLIDE 2: Split — title left, text+btn right */
.slide-content-split {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.slide-split-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.slide-split-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.slide-split-right .slide-text {
  margin-bottom: 0;
}

/* ===== HERO SLIDER ===== */
#slider {
  position: relative;
  width: 100%;
  height: 65vh;
  min-height: 420px;
  max-height: 620px;
  overflow: hidden;
  background: #0d3a5c;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity .9s ease;
}
.slide.active { opacity: 1; z-index: 1; }
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,20,50,.88) 40%, rgba(0,20,50,.30));
}
.s1 .slide-bg::after, .s3 .slide-bg::after {
  background: linear-gradient(to right, rgba(0,20,50,.88) 40%, rgba(0,20,50,.30));
}
.s2 .slide-bg::after {
  background: rgba(0,20,50,.70);
}
.slide-tag {
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.slide-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 18px;
  letter-spacing: -.3px;
}
.slide-title .hl { color: var(--brand); }
.slide-text {
  font-size: clamp(.92rem, 1.4vw, 1.05rem);
  color: rgba(255,255,255,.85);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 540px;
  font-weight: 400;
}
.slide-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none;
  cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.dot.active { background: var(--brand); width: 30px; border-radius: 5px; }
.s-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,159,227,.18);
  border: 1px solid rgba(0,159,227,.5);
  color: #fff;
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all var(--tr);
  backdrop-filter: blur(4px);
}
.s-arrow:hover { background: var(--brand); border-color: var(--brand); }
.s-prev { left: 20px; }
.s-next { right: 20px; }

/* ===== PROJECT CARDS ===== */
.proj-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--tr);
}
.proj-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand);
}
.proj-card:hover .card-title { color: var(--brand); }
.proj-card:hover .card-icon-area svg { stroke: var(--brand); }
.proj-card:hover .card-link { color: var(--brand); gap: 12px; }
.card-icon-area {
  height: 160px;
  background: #f4f4f4;
  display: flex; align-items: center; justify-content: center;
}
.card-icon-area svg {
  width: 52px; height: 52px;
  stroke: #1a1a1a; fill: none; stroke-width: 1.5;
  transition: stroke var(--tr);
}
.card-body { padding: 26px; }
.card-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  transition: color var(--tr);
  letter-spacing: -.2px;
  line-height: 1.15;
}
.card-text { font-size: 1rem; color: var(--text-light); line-height: 1.65; margin-bottom: 18px; }
.card-link {
  font-size: .9rem;
  font-weight: 700;
  color: #555;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all var(--tr);
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
}

/* ===== MISSION CARDS ===== */
.ms-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all var(--tr);
  border-bottom: 3px solid transparent;
}
.ms-card:hover {
  border-bottom-color: var(--brand);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.ms-card:hover .ms-title { color: var(--brand); }
.ms-card:hover .ms-icon { background: var(--brand-light); }
.ms-card:hover .ms-icon svg { stroke: var(--brand); }
.ms-card:hover .ms-link { color: var(--brand); gap: 10px; }
.ms-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: #f0f0f0;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  transition: background var(--tr);
}
.ms-icon svg {
  width: 26px; height: 26px;
  stroke: #1a1a1a; fill: none; stroke-width: 1.6;
  transition: stroke var(--tr);
}
.ms-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  transition: color var(--tr);
  letter-spacing: -.2px;
  line-height: 1.15;
}
.ms-text { font-size: 1rem; color: var(--text-light); line-height: 1.6; margin-bottom: 14px; }
.ms-link {
  font-size: .9rem;
  font-weight: 700;
  color: #666;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all var(--tr);
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
}

/* ===== STATS SECTION ===== */
.stats-section { background: var(--brand); }
.stat-icon-c {
  width: 54px; height: 54px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
}
.stat-icon-c svg { width: 26px; height: 26px; stroke: #fff; fill: none; stroke-width: 1.8; }
.stat-n {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  letter-spacing: -1px;
}

/* ===== CONTACT ACCORDION ===== */
.contact-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
  overflow: hidden;
}
.c-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
  cursor: pointer;
  background: #fafafa;
  transition: background var(--tr);
}
.c-head:hover { background: var(--brand-light); }
.c-head:hover .c-place { color: var(--brand); }
.c-place {
  font-weight: 700; font-size: .9rem; color: var(--text);
  display: flex; align-items: center; gap: 10px;
  transition: color var(--tr);
}
.c-toggle {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  font-weight: 300;
  transition: transform var(--tr);
  flex-shrink: 0;
  line-height: 1;
  user-select: none;
}
.contact-item.open .c-toggle { transform: rotate(45deg); }
.c-body {
  display: none;
  padding: 14px 18px 18px;
  background: #fff;
  border-top: 1px solid var(--border);
}
.contact-item.open .c-body { display: block; }
.c-body p {
  font-size: .85rem; color: #555;
  margin-bottom: 5px;
  display: flex; align-items: center; gap: 8px;
}
.c-body svg { width: 14px; height: 14px; stroke: var(--brand); fill: none; stroke-width: 2; flex-shrink: 0; }

/* ===== VIDEO ===== */
.vid-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
}
.vid-wrap iframe { width: 100%; height: 100%; border: none; display: block; }

/* ===== STICKY DONATE ===== */
#sticky-btn {
  position: fixed;
  bottom: 26px; right: 26px;
  z-index: 9999;
}
.st-btn {
  display: flex; align-items: center; gap: 10px;
  background: var(--brand);
  color: #fff;
  padding: 13px 22px;
  border-radius: 50px;
  font-family: 'Nunito Sans', 'Nunito', sans-serif;
  font-weight: 700; font-size: .95rem;
  box-shadow: 0 6px 30px rgba(0,159,227,.45);
  transition: all var(--tr);
  white-space: nowrap;
}
.st-btn:hover {
  background: var(--brand-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(0,159,227,.55);
}
.st-btn svg { width: 18px; height: 18px; fill: #fff; animation: hb 1.6s ease infinite; flex-shrink: 0; }
@keyframes hb { 0%,100%{transform:scale(1)} 50%{transform:scale(1.2)} }

/* ===== FOOTER ===== */
#footer { background: #0d1f2d; }
.footer-link {
  display: block;
  font-size: .85rem;
  color: rgba(255,255,255,.5);
  padding: 3px 0;
  transition: color var(--tr);
}
.footer-link:hover { color: var(--brand); }
.soc-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  transition: background var(--tr);
}
.soc-btn:hover { background: var(--brand); }
.soc-btn svg { width: 15px; height: 15px; }

/* ===== INNER PAGE HERO ===== */
.page-hero {
  background: linear-gradient(135deg, #0d3a5c 0%, #009fe3 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: #fff;
}
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -.5px;
}
.page-hero p { font-size: 1rem; color: rgba(255,255,255,.85); max-width: 600px; margin: 0 auto; }

/* ===== BREADCRUMB ===== */
.breadcrumb {
  background: var(--bg-light);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.breadcrumb span { font-size: .8rem; color: var(--text-light); }
.breadcrumb a { font-size: .8rem; color: var(--brand); font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1060px) {
  .desktop-nav { display: none !important; }
  .hbg { display: flex; }
  .slide-content { padding: 0 28px; }
}
@media(max-width:768px){
  .section-py { padding: 56px 0; }
  #slider { height: 58vh; min-height: 380px; }
  .s-arrow { display: none; }
  #mob-nav { top: 68px; }
  .slide-content,
  .slide-content-center { padding: 0 24px; text-align: left; }
  .slide-content-center .slide-text { margin-left: 0; margin-right: 0; }
  .slide-content-center > div { justify-content: flex-start !important; }
  .slide-content-split {
    padding: 0 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .slide-split-left .slide-title { font-size: clamp(1.6rem, 6vw, 2.4rem); }
}
@media (max-width: 480px) {
  .slide-title { font-size: 1.7rem; }
  #sticky-btn { bottom: 16px; right: 16px; }
  .st-btn { padding: 11px 16px; font-size: .82rem; }
}
