:root {
  --green: #1f8b4c;
  --green-dark: #166238;
  --green-light: #e5f5ec;
  --bg: #f8f9fb;
  --text: #1f2933;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.18);
  --radius-xl: 18px;
  --radius-2xl: 26px;
  --transition-fast: 0.18s ease-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}
/* LOADER */
#simpleLoader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: opacity .6s ease, visibility .6s ease;
}

#simpleLoader.hide {
  opacity: 0;
  visibility: hidden;
}

/* LOGO WRAP */
.logo-wrap {
  position: relative;
  width: 120px;
  height: 120px;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* LOGO */
.logo-wrap img {
  width: 70px;
  z-index: 2;
  animation: logoPulse 1.6s ease-in-out infinite;
}

/* FORGÓ KARIKA */
.logo-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;

  border: 3px solid transparent;
  border-top-color: var(--green-dark);     /* karika színe */
  border-right-color: var(--green-dark);  /* csak egy ív látszik */

  animation: ringSpin 1.2s linear infinite;
}

/* HALO – opcionális, maradhat vagy törölhető */
.logo-wrap::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(9, 255, 0, 0.25), transparent 70%);
  animation: haloPulse 2s ease-in-out infinite;
}

/* ANIMÁCIÓK */
@keyframes ringSpin {
  to { transform: rotate(360deg); }
}

@keyframes logoPulse {
  0% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.06); opacity: 1; }
  100% { transform: scale(1); opacity: .85; }
}

@keyframes haloPulse {
  0% { opacity: .25; }
  50% { opacity: .55; }
  100% { opacity: .25; }
}

/* SCROLL LOCK */
body.loading {
  overflow: hidden;
  height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Layout helpers */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 2.5rem 0;
}

h1,
h2,
h3,
h4 {
  font-weight: 700;
  color: var(--text);
}

.section-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ==========================
   GLASS NAVBAR
========================== */

.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.75rem 0 0.5rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.9),
    rgba(255, 255, 255, 0.65)
  );
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.16);
  backdrop-filter: blur(12px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--green-dark);
  white-space: nowrap;
}

.nav-logo img {
  width: 160px;
  padding-left: 10px;
  filter: drop-shadow(0 0 30px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.92rem;
  padding-right: 30px;
}

.nav-link {
  position: relative;
  color: var(--muted);
  padding-bottom: 0.15rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--green), #4ade80);
  transition: width var(--transition-fast);
}

.nav-right #active {
  color: var(--green);
  font-weight: 400;
  text-shadow: 0 0 30px var(--green);
}

.nav-link:hover {
  color: var(--text);
}

.nav-link:hover::after {
  width: 100%;
}

.logo-attribution {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: #6b7280;
  text-align: center;
}

.logo-attribution a {
  color: #16a34a;
  text-decoration: underline;
}

.nav-contact-btn {
  padding: 0.55rem 1.7rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, var(--green), var(--green-dark));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.55);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
  white-space: nowrap;
}

.nav-contact-btn span.icon {
  box-shadow: 0 10px 32px rgba(22, 163, 74, 0.55);
  font-size: 1rem;
  transform: translateY(1px);
}

.nav-contact-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 0px 15px rgba(22, 163, 74, 0.62);
}

/* Mobile nav */

/* Alapból desktopon elrejtheted */
.nav-toggle {
  display: none; /* mobil media query-ben flex lesz */
  background: transparent;
  border: 0;
  cursor: pointer;
  margin-left: auto;

  width: 30px;
  height: 38px;
  padding: 0;

  position: relative;
  z-index: 999;
}

/* A 3 vonal */
.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background: #000000;        /* <-- EZT színezed */
  border-radius: 999px;

  margin: 8px 0;              /* távolság a vonalak között */
  transition: transform .25s ease, opacity .2s ease, background-color .2s ease;
  transform-origin: center;
}

/* Hover (opció) */
.nav-toggle:hover .bar {
  background: #16a34a;
}

/* Nyitott állapot: X animáció */
.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobilon jelenjen meg */
@media (max-width: 768px) {
  .nav-toggle {
    display: block; /* vagy flex, de itt elég block */
  }
}


.nav-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex: 1;
  justify-content: flex-end;
}

@media (max-width: 800px) {
  .navbar {
    border-radius: 18px;
    padding-inline: 1rem;
    position: relative; /* a lenyíló panel ehhez igazodik */
  }

  .nav-right {
    flex: 0 0 auto;
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 0.6rem);  /* navbar alatt, nem középen lebeg */
    left: 1.5rem;
    right: 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(248, 249, 251, 0.96);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: opacity 0.15s ease-out, transform 0.15s ease-out;
    z-index: 50;
  }

  .nav-links.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-toggle {
    display: block;
  }

  /* Contact gomb a lenyíló menüben, full width */
  .nav-contact-btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
    box-sizing: border-box;
  }
  .scroll-indicator{
    display: none !important;
  }
}



/* ==========================
lang button
========================== */

.lang-switcher {
  position: relative;
  display: inline-flex;
}

.lang-btn {
    padding: 0.35rem 0.7rem 0.35rem 1rem;
    border-radius: 999px;
    border: none;
    background: linear-gradient(to right, #959595, #4a4a4a);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 300;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 14px 32px rgba(120, 120, 120, 0.55);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), filter var(--transition-fast);
    white-space: nowrap;
}

.lang-current {
  font-weight: 600;
  letter-spacing: 0.5px;
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 90px;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.12);
  padding: 6px;
  display: none;
  z-index: 9999;
}

.lang-dropdown.open {
  display: block;
}

.lang-item {
  width: 100%;
  text-align: left;
  padding: 10px 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 600;
}

.lang-item:hover {
  background: rgba(0,0,0,0.06);
}

@media (max-width: 800px) {
  /* Mobil menüben: Contact + Lang ugyanazon a soron vizuálisan */
  #navLinks > a:has(.nav-contact-btn) {
    display: inline-flex;
    width: auto;
  }

  #navLinks > #langSwitcher {
    display: inline-flex;
    width: auto;
    margin-left: auto;
  }

  /* ugyanarra a “sorra” húzzuk fel a langot */
  #navLinks > #langSwitcher {
    margin-top: -44px; /* ezt lehet finomhangolni (pl. -40..-52) */
    float: right;
  }

  /* Contact marad a helyén */
  #navLinks > a:has(.nav-contact-btn) {
    margin-top: 12px;
  }

  /* dropdown jobbra igazítás */
  #navLinks .lang-dropdown {
    right: 0;
    left: auto;
  }
}


/* ==========================
   HERO
========================== */

.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  padding-top: 2rem;
  padding-bottom: 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top left, rgba(22, 163, 74, 0.25), transparent 52%),
    radial-gradient(circle at bottom right, rgba(15, 118, 110, 0.32), transparent 55%);
  opacity: 0.85;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(15, 23, 42, 0.75),
    rgba(15, 23, 42, 0.25)
  );
  mix-blend-mode: multiply;
  z-index: -1;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  transform: scale(1.03);
  overflow: hidden;
}

.hero-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(10%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    min-height: 650px;
    padding-bottom: 3.5rem;
  }
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.7);
  color: #e5e7eb;
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.hero-chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.4);
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  color: #f9fafb;
  line-height: 1.1;
  margin-bottom: 0.9rem;
}

.hero-highlight {
  color: #a7f3d0;
}

.hero-text {
  color: #e5e7eb;
  max-width: 560px;
  font-size: 0.98rem;
  margin-bottom: 1.6rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.btn-primary {
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, #22c55e, var(--green));
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  box-shadow: 0 18px 35px rgba(22, 163, 74, 0.6);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 22px 40px rgba(22, 163, 74, 0.7);
}

.btn-secondary {
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(209, 213, 219, 0.8);
  background: rgba(15, 23, 42, 0.75);
  color: #e5e7eb;
  font-weight: 500;
  font-size: 0.92rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: background var(--transition-fast),
    border-color var(--transition-fast),
    transform var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: rgba(229, 231, 235, 1);
  transform: translateY(-1px);
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #d1d5db;
}

.hero-meta-item strong {
  display: block;
  font-size: 0.95rem;
  color: #f9fafb;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.8rem;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: #e5e7eb;
  opacity: 0.85;
}

.scroll-indicator-dot {
  width: 40px;
  height: 62px;
  border-radius: 999px;
  border: 1px solid rgba(229, 231, 235, 0.7);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 5px;
}

.scroll-indicator-dot-inner {
  width: 6px;
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  animation: scrollDot 1.3s infinite ease-out;
}

@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

.hero-visual {
  justify-self: flex-end;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  background: radial-gradient(circle at top left, #bbf7d0, var(--green));
  box-shadow: var(--shadow-soft);
  color: var(--white);
  padding: 1.2rem;
}

.hero-card-tag {
  font-size: 0.75rem;
  opacity: 0.95;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-card-main {
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-card-sub {
  font-size: 0.8rem;
  margin-top: 0.4rem;
  opacity: 0.9;
}

.hero-card-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  font-size: 0.75rem;
  white-space: nowrap;
}

/* ==========================
   ABOUT (HOME)
========================== */

.about {
  background: var(--bg);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.about-text p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 0.9rem;
  margin-top: 1.65rem;
}

.pill {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: var(--green-light);
  font-size: 0.8rem;
  color: var(--green-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  justify-content: flex-start;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green-dark);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.1rem 1.2rem;
  border: 1px solid rgba(209, 213, 219, 0.7);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.about-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.about-card-text {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ==========================
   STATS
========================== */

.stats {
  background: linear-gradient(
    135deg,
    rgba(0, 104, 45, 0.562),
    rgba(248, 249, 251, 1)
  );
}

.stats-header {
  text-align: left;
  margin-bottom: 1.8rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  text-align: center;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.2rem 1.3rem;
  border: 1px solid rgba(209, 213, 219, 0.8);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.15rem;
}

.stat-description {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==========================
   PARTNER LOGO GRID
========================== */

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 10px 0;
}

.partner-logo {
  background: #fff;
  padding: 18px 24px;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 90px;
  max-width: 180px;
  flex: 1 1 160px;
  transition: 0.18s ease-out;
}

.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.partner-logo img {
  max-height: 55px;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: 0.18s ease-out;
}

.partner-logo:hover img {
  opacity: 1;
  filter: grayscale(0%);
}

@media (max-width: 600px) {
  #partners .container {
    padding: 10px;
  }
  .partners-header{
    padding: 0 20px ;
  }
  .partner-logo {
    height: 70px;
    padding: 14px 20px;
  }
  .partner-logo img {
    max-height: 45px;
  }
}

/* ==========================
   PORTFOLIO HEADER (HOME)
========================== */

.portfolio-header {
  text-align: left; /* az aktuális viselkedést tartjuk meg */
  margin-bottom: 40px;
}

.portfolio-header .section-title {
  font-size: 2rem;
  color: #1f1f1f;
}

.portfolio-header .section-subtitle {
  color: #666;
  margin-top: 8px;
  font-size: 1rem;
}

/* ==========================
   PORTFOLIO – ALTERNATING LAYOUT
========================== */

.portfolio-alt {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 40px;
}

/* Egyes portfólió elemek */
.portfolio-item {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
  position: relative;
}

.portfolio-item:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

/* Kép */
.portfolio-img {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
  border-radius: 16px;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Szöveg box – ráül a képre (DESKTOP) */
.portfolio-content {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
  padding: 30px 35px;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
  position: relative;
  z-index: 2;
}

/* Váltakozó oldal – hogy ráüssek a képre (DESKTOP) */
.portfolio-item:nth-child(odd) .portfolio-content {
  margin-left: -70px;
}

.portfolio-item:nth-child(even) .portfolio-content {
  margin-right: -70px;
}

/* Szöveg stílus */
.portfolio-content h4 {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: #1b5e20;
  font-weight: 700;
}

.portfolio-content .portfolio-meta {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.portfolio-content p {
  line-height: 1.6;
  color: #333;
}

/* RESPONSIVE – MOBIL: kép felül, szöveg alul, háttér nélkül */
@media (max-width: 900px) {

  .portfolio-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  /* kép mindig felül */
  .portfolio-img {
    order: 1;
    max-width: 450px;
    margin: auto;
    height: 260px;           /* maradhat fix magasság, ahogy eddig */
    border-radius: 16px;
    overflow: hidden;
  }

  /* szöveg alul, átfedés nélkül, háttér nélkül */
  .portfolio-content {
    order: 2;
    margin: 0;
    padding: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
  }

  .portfolio-item:nth-child(odd) .portfolio-content,
  .portfolio-item:nth-child(even) .portfolio-content {
    margin: 0;              /* nincs negatív overlap */
  }
}


/* =============== SIMPLE CTA 2-COLUMN =============== */

.cta-simple-section {
  padding: 120px 0;
}

.cta-simple {
  display: grid;
  grid-template-columns: 1fr 2px 1fr;
  align-items: center;
  gap: 40px;
}

/* Középső vonal */
.cta-simple-divider {
  width: 2px;
  height: 120px;
  background: #d9d9d9;
  margin: 0 auto;
  border-radius: 2px;
}

/* CTA elemek */
.cta-simple-item {
  text-align: center;
}

.cta-simple-item h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1b5e20;
  margin-bottom: 10px;
}

.cta-simple-item p {
  font-size: 1rem;
  color: #444;
  margin-bottom: 20px;
}

.cta-simple-btn {
  margin-top: 20px;
  padding: 0.55rem 1.7rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, var(--green), var(--green-dark));
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 14px 32px rgba(22, 163, 74, 0.55);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
  white-space: nowrap;
}

.cta-simple-btn:hover {
  background: #144a17;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
  .cta-simple {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .cta-simple-divider {
    margin-top: 20px;
    height: 2px;
    width: 300px;
  }

  .cta-simple-section {
    padding: 80px 0;
  }
}

/* ==========================
   FOOTER
========================== */

.footer {
 background: #edffed;
  padding: 60px 0 25px;
  color: #e5e7eb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo img {
  width: 180px;
  filter: brightness(0.9);
  margin-bottom: 10px;
}

.footer-text {
  font-size: 0.9rem;
  color: #383838;
  max-width: 330px;
}

/* Certification logos */
.certifications {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
}

.certifications img {
  height: 50px;
  width: auto;
  filter: brightness(1.2);
  opacity: 0.95;
  transition: 0.2s;
}

.certifications img:hover {
  transform: translateY(-3px);
  opacity: 1;
}

/* Navigation links */
.footer-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-links a {
  display: block;
  font-size: 0.88rem;
  color: var(--green-dark);
  margin-bottom: 6px;
  transition: 0.2s;
}

/* Contact */
.footer-contact div {
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--green);
}
.footer-contact div {
 display: flex;
 align-items: center;
}

.legal-info {
  margin-top: 10px;
  color: #2b2b2b;
  font-size: 0.8rem;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #9ca3af;
  font-size: 0.85rem;
  flex-wrap: wrap;
}

/* Developer signature */
.dev-by {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--green-dark);
  font-weight: 600;
}

.dev-by img {
  width: 120px;
  filter: drop-shadow(0 0 10px #005e2259) brightness(1.2);
}

/* Responsive footer */
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .certifications img {
    height: 45px;
  }
  .dev-by{
    padding: 20px 0;
  }
  
}

/* ==========================
   PORTFOLIO HERO (PORTOFOLIU PAGE)
========================== */

.portfolio-hero {
  position: relative;
  padding: 120px 0;
  color: #fff;
  overflow: hidden;
}

/* Blurred + desaturated background image */
.portfolio-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("portfolio.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) contrast(0.9) blur(3px) saturate(0.6);
  transform: scale(1.08);
  z-index: 1;
}

/* Soft white vertical gradient for readability */
.portfolio-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 2;
}

/* Content */
.portfolio-hero .container {
  position: relative;
  z-index: 3;
}

/* Title */
.portfolio-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #f1f5f9;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

/* Paragraph */
.portfolio-hero p {
  color: #e2e8f0;
  max-width: 650px;
  font-size: 1.2rem;
  line-height: 1.7;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Subtle green glow for brand consistency */
.portfolio-hero h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 12px;
  background: linear-gradient(to right, #16a34a, #4ade80);
  border-radius: 999px;
}

@media (max-width: 768px) {
.portfolio-timeline .container{
  padding: 10px;
}

  .portfolio-hero {
    padding: 90px 0;
  }

  .portfolio-hero h1 {
    font-size: 2.3rem;
  }

  .portfolio-hero p {
    font-size: 1.05rem;
  }
}

/* ==========================
   TIMELINE (PORTOFOLIU PAGE)
========================== */

.portfolio-timeline {
  padding: 80px 0;
}

.timeline-block {
  position: relative;
  padding-left: 50px;
  margin-bottom: 70px;
}

.timeline-dot {
  margin-top: 10px;
  width: 18px;
  height: 18px;
  background: #ffffff;
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 5px;
  box-shadow: 0 0 0 4px #039708;
}

.timeline-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1b1b1b;
  margin-bottom: 20px;
}

.timeline-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.timeline-content li {
  margin-bottom: 12px;
  line-height: 1.55;
}

.project-name {
  font-weight: 700;
  color: #1b5e20;
}

.project-desc {
  color: #444;
}

/* Vertical timeline line */
.timeline-block:before {
  content: "";
  position: absolute;
  left: 8px;
  top: 25px;
  height: calc(100% - 20px);
  width: 3px;
  background: #036117;
  border-radius: 3px;
}

.timeline-block:last-child:before {
  display: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .timeline-title {
    font-size: 1.4rem;
  }

  .timeline-block {
    padding-left: 35px;
  }
}

/* ==========================
   DESPRE NOI – HERO SECTION
========================== */

.about-hero {
  position: relative;
  padding: 120px 0;
  color: #fff;
  overflow: hidden;
}

/* Blurred + desaturated background image */
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("portfolio.jpg");
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) contrast(0.9) blur(3px) saturate(0.6);
  transform: scale(1.08);
  z-index: 1;
}

/* Soft white vertical gradient for readability */
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(0, 0, 0, 0.55) 100%
  );
  z-index: 2;
}

/* Content */
.about-hero .container {
  position: relative;
  z-index: 3;
}

/* Title */
.about-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 18px;
  color: #f1f5f9;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
}

/* Paragraph */
.about-hero p {
  color: #e2e8f0;
  max-width: 650px;
  font-size: 1.2rem;
  line-height: 1.7;
  text-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

/* Subtle green glow for brand consistency */
.about-hero h1::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  margin-top: 12px;
  background: linear-gradient(to right, #16a34a, #4ade80);
  border-radius: 999px;
}

@media (max-width: 768px) {
  .about-hero {
    padding: 90px 0;
  }

  .about-hero h1 {
    font-size: 2.3rem;
  }

  .about-hero p {
    font-size: 1.05rem;
  }
}

/* ==========================
   ABOUT PAGE CONTENT
========================== */

.about-section {
  padding: 70px 0;
}

.about-section .about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .about-section .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-section .about-text p {
  margin-bottom: 18px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
}

.about-section .about-text strong {
  color: #1b5e20;
  font-weight: 700;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: drop-shadow(-10px 20px 50px #005e2259) brightness(1);
  transition: 0.2s ease all;
}

.about-image img:hover {
  filter: drop-shadow(10px -20px 30px #005e2259) brightness(1.2);
  rotate: 5deg;
}

/* ==========================
   CLIENT LIST (ABOUT PAGE)
========================== */

.clients-list-title {
  font-size: 1.8rem;
  margin-bottom: 25px;
  color: #1b5e20;
  font-weight: 800;
}

.clients-list {
  list-style: none;
  padding: 0;
  columns: 2;
  column-gap: 40px;
}

@media (max-width: 700px) {
  .clients-list {
    columns: 1;
  }
}

.clients-list li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
  padding-left: 18px;
  position: relative;
}

.clients-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #1b5e20;
  font-size: 1.2rem;
  top: -2px;
}

.clients-list span {
  font-weight: 600;
}

/* ==========================
   CONTACT PAGE (contact.html)
========================== */

.contact-section {
  padding: 80px 0;
  background: linear-gradient(#f8f9fb 20%, #f8fef9 40%);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

.contact-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1b5e20;
  margin-bottom: 20px;
}

.contact-description {
  color: #444;
  line-height: 1.65;
  margin-bottom: 40px;
}

/* Glass form card */
.contact-card {
  padding: 40px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1px solid rgba(46, 125, 50, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Inputs */
.contact-card input,
.contact-card textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border-radius: 10px;
  border: 1px solid #a5d6a7;
  background: #ffffff;
  transition: all 0.25s ease;
  font-size: 1rem;
}

.contact-card input:focus,
.contact-card textarea:focus {
  border-color: #1b5e20;
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.2);
  outline: none;
}

/* Button */
.contact-btn {
  width: 100%;
  padding: 15px;
  background: #2e7d32;
  color: white;
  font-size: 1.05rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  transition: 0.25s ease;
}

.contact-btn:hover {
  background: #1b5e20;
  cursor: pointer;
}

/* Contact info box */
.contact-info {
  padding: 40px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #c8e6c9;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.info-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #e8f5e9;
  display: grid;
  place-items: center;
  color: #2e7d32;
  font-size: 22px;
  margin-right: 15px;
}

.info-text h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1b1b1b;
}

.info-text p {
  margin: 0;
  max-width: 200px;
  color: #555;
}

/* MAP */
.contact-map {
  width: 100%;
  height: 300px;
  border-radius: 18px;
  margin-top: 30px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 60px 0;
  }
}

/* ==========================
   RÉGI CONTACT BLOKK (HOME)
   – megtartva, de nem ütközik
========================== */

.contact {
  background: linear-gradient(
    120deg,
    rgba(229, 245, 236, 0.95),
    rgba(248, 249, 251, 1)
  );
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-details p {
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-list {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--text);
}

.contact-list div {
  margin-bottom: 0.4rem;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  border: 1px solid rgba(209, 213, 219, 0.85);
  box-shadow: var(--shadow-soft);
  padding: 1.5rem 1.6rem;
}

.form-row {
  margin-bottom: 0.9rem;
}

.form-row label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;;
  color: var(--muted);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(209, 213, 219, 1);
  font: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease-out,
    box-shadow 0.15s ease-out,
    background 0.15s ease-out;
  background-color: #f9fafb;
}

.form-row textarea {
  min-height: 110px;
  resize: vertical;
  max-height: 270px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.35);
  background-color: #ffffff;
}

.form-footer {
  margin-top: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted);
}

.btn-submit {
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(to right, var(--green), var(--green-dark));
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 16px 32px rgba(22, 163, 74, 0.55);
  transition: transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.btn-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 20px 40px rgba(22, 163, 74, 0.65);
}
/* ===== ÉVSZÁM ===== */
.evszam-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 35px;
    font-weight: 900;
    color: #0f2b46;
    margin: 40px 0;
}

.evszam-top::before,
.evszam-top::after {
    content: "";
    height: 4px;
    border-radius: 3px;
}

.evszam-top::before {
    flex: 0.3;
    background: linear-gradient(to right, #0f2b46, #2ecc71);
}

.evszam-top::after {
    flex: 1.7;
    background: linear-gradient(to right, #2ecc71, #0f2b46);
}


/* ===== KÁRTYA ===== */
.bemutatok-grid {
    max-width: 1200px;
    margin: auto;
    text-align: center;
    padding-bottom: 100px;
    min-height: 90vh;
}

.bemutato-card {
    padding: 30px 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    margin-bottom: 40px;
}


/* ===== FŐ BLOKK: kép + szöveg ===== */
.bemutato-felsorolas {
    width: 1100px;
    margin: auto;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 0 0 20px 20px;
}


/* ===== FŐKÉP KÖRBE ===== */
.bemutato-fokep-wrapper {
    width: 400px;
    height: 400px;
    overflow: hidden;
    padding: 20px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 3px solid #1f8b4c;
    transition: 0.5s all ease;
}

.bemutato-fokep-wrapper:hover {
    padding: 10px;
    scale: 0.9;
}

.bemutato-fokep {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    cursor: pointer;
}


/* ===== SZÖVEG ===== */
.bemutato-adatok {
    text-align: left;
    flex: 1;
}

.bemutato-adatok h3 {
    font-size: 36px;
    margin-bottom: 10px;
}
.bemutato-datum{
    font-size: 17px;
    font-weight: 700;
     line-height: 1.6;
}
.bemutato-adatok h3::after {
    content: "";
    display: block;
    width: 100px;
    height: 4px;
    margin-top: 12px;
    background: linear-gradient(to right, #16a34a, #4ade80);
    border-radius: 999px;
}

.bemutato-adatok p {
    padding-top: 15px;
    font-size: 18px;
    color: #444;
}


/* =========================================================================
   LIGHTBOX OVERLAY
   ========================================================================= */
#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.85);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* =========================================================================
   CONTENT – EZ A REFERENCIA MINDENHEZ
   ========================================================================= */
.lightbox-content {
    position: relative;
    width: 90vw;
    height: 90vh;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================================
   IMAGE WRAPPER
   ========================================================================= */
.lightbox-image-wrap {
    position: relative;
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================================
   IMAGE
   ========================================================================= */
.lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

    border-radius: 14px;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);

    opacity: 0; /* fade-in innen indul */
}

/* =========================================================================
   LOADER
   ========================================================================= */
.lightbox-loader {
    position: absolute;
    width: 60px;
    height: 60px;

    border: 4px solid rgba(255,255,255,0.2);
    border-top: 4px solid #01b45b;
    border-radius: 50%;

    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =========================================================================
   NAVIGATION BUTTONS – FIX HELYEN
   ========================================================================= */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 55px;
    height: 55px;
    background: rgba(1,180,91,0.8);
    color: white;
    border: none;
    border-radius: 50%;

    font-size: 42px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    z-index: 10;
    transition: background 0.15s, transform 0.1s;
}

.lightbox-prev { left: -10px; padding: 0 2px 0 0 ;}
.lightbox-next { right: -10px; padding: 0 0 0 2px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(1,180,91,1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:active,
.lightbox-next:active {
    transform: translateY(-50%) scale(0.95);
}

/* =========================================================================
   CLOSE BUTTON – FIX, NEM BUGGOL
   ========================================================================= */
.lightbox-close {
    position: absolute;
    top: 25px;
    right: 30px;
    width: 55px;
    height: 55px;
    padding: 0 0 7.5px 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    background: rgba(1,180,91,0.9);
    color: white;
    border-radius: 50%;

    font-size: 40px;
    font-weight: bold;
    cursor: pointer;

    z-index: 11;
    transition: transform 0.15s, background 0.15s;
}

.lightbox-close:hover {
    background: white;
    color: #039708;
    transform: scale(1.1);
}

/* =========================================================================
   FADE ANIMATIONS
   ========================================================================= */
.fade-in {
    animation: fadeIn 0.25s ease forwards;
}

.fade-out {
    animation: fadeOut 0.12s ease forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to   { opacity: 0; }
}

/* mobilon eltüntetjük a nyilakat */
@media (max-width: 768px) {
  .gallery-prev,
  .gallery-next {
    display: none;
  }
}

/* alapból rejtve */
.gallery-swipe-hint {
  display: none;
}

/* ===== MOBIL GALÉRIA HINT – STABIL ===== */
@media (max-width: 768px) {

  /* mobilon eltüntetjük a nyilakat */
  .gallery-prev,
  .gallery-next {
    display: none;
  }

  /* a slider marad flex, de csak a képeknek */
  .gallery-slider {
    display: block;          /* EZ A KULCS */
    position: relative;
  }

  /* a képsor külön blokk */
  .gallery-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 0;
  }

  /* ===== HINT A KÉPEK ALATT ===== */
  .gallery-swipe-hint {
    display: block;
    margin: 10px auto 0;     /* alatta, középen */
    width: fit-content;

    text-align: center; 
    font-size: 13px;
    letter-spacing: 0.5px;

    padding: 6px 30px;

    animation: swipePulse 1.6s ease-in-out infinite;
    pointer-events: none;
  }
 .gallery-swipe-hint img{
  width: 30px;
 }
  @keyframes swipePulse {
    0%   { transform: translateX(0); opacity: .3; }
    50%  { transform: translateX(30px); opacity: 1; }
    100% { transform: translateX(0); opacity: .3; }
  }
}


/* ======================================================================
   GALÉRIA ALSÓ NAV – EGYSZERŰ DIV-ES
   ====================================================================== */
.gallery-nav-simple {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.gallery-nav-simple div {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(1,180,91,0.85);
    color: white;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: transform 0.15s, background 0.15s;
}

.gallery-nav-simple div:hover {
    background: rgba(1,180,91,1);
    transform: scale(1.1);
}

.gallery-nav-simple div:active {
    transform: scale(0.95);
}
/* =========================================================================
   ===============      GALÉRIA SLIDER – STABIL VERZIÓ     ==================
   ========================================================================= */

/* A slider konténer */
.gallery-slider {
    margin-top: 30px;
    width: 800px;
    margin: auto;
    position: relative;
    display: flex;
    align-items: center;
}

/* A scrollozható sor */
.gallery-track {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 5px;
}

/* Scrollbar eltüntetése */
.gallery-track::-webkit-scrollbar {
    display: none;
}

/* A galéria képei */
.galeria-kep {
    width: 180px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.25s;
}

.galeria-kep:hover {
    box-shadow: 0 0px 20px rgba(22, 163, 74, 0.5);
    transform: scale(0.92);
}


/* ===== Slider nyilak ===== */
.gallery-prev,
.gallery-next img{
    background: rgba(1, 180, 91, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: 40px;
    margin: 10px;
    transform: translateY(-50%);
    backdrop-filter: blur(6px);
    z-index: 9;
    transition: 0.25s;
}


.gallery-prev { left: -70px; padding: 0 2px 0 0; }
.gallery-next { right: 20px;}
.gallery-next img {padding: 0 0 0 2px;}

/* ============================================================
   =====================   TABLET / MOBILE  ====================
   ============================================================ */
@media (max-width: 1024px) {
    .bemutato-felsorolas {
        width: 90%;
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .bemutato-fokep-wrapper {
        width: 320px;
        height: 320px;
        padding: 15px;
    }

    .bemutato-adatok {
        text-align: center;
        padding: 0 20px;
    }

    .gallery-slider {
        width: 85%;
    }


    .year-nav {
    position: sticky;
    bottom: 20px;          
    display: flex;
    gap: 20px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.726);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    max-width: 70vw;
    margin: auto;
}
.bemutato-adatok h3::after {
    content: "";
    display: block;
    width: 100px;
    margin: auto;
    height: 4px;
    margin-top: 12px;
    background: linear-gradient(to right, #16a34a, #4ade80);
    border-radius: 999px;
}
}


/* ============================================================
   ======================    MOBILE  ============================
   ============================================================ */
@media (max-width: 768px) {
    .evszam-top {
        font-size: 28px;
        margin: 50px 40px;
    }

    .bemutato-fokep-wrapper {
        width: 260px;
        height: 260px;
        padding: 10px;
    }

    .bemutato-adatok h3 {
        font-size: 26px;
    }

    .bemutato-adatok p {
        font-size: 16px;
    }

    .gallery-slider {
        width: 90%;
    }

    .gallery-track {
        gap: 15px;
    }

    .galeria-kep {
        width: 150px;
        height: 120px;
    }
}



/* ============================================================
   =======================  SMALL MOBILE  =======================
   ============================================================ */
@media (max-width: 480px) {

    .evszam-top {
        font-size: 22px;
        gap: 10px;
  
    }

    .bemutato-fokep-wrapper {
        width: 210px;
        height: 210px;
        padding: 8px;
    }

    .bemutato-adatok h3 {
        font-size: 22px;
    }

    .galeria-kep {
        width: 130px;
        height: 100px;
    }

    .gallery-slider {
        width: 90%;
    }

    /* Lightbox mobilbarát méret */
    .lightbox-img {
        max-width: 90vw;
        max-height: 80vh;
    }
    .lightbox-prev,
    .lightbox-next{
    height: 40px;
    width: 40px;
}

    .lightbox-close {
        right: 20px;
        top: 50px;
       height: 50px;
    width: 50px;
        font-size: 28px;
        padding: 0px 13px 3px 13px;
    }
}


/* A globális konténer, amit JS fog mozgatni */
/* A zóna, amin belül a nav mozoghat */
#year-nav-container {
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
}

.year-nav::-webkit-scrollbar {
    display: none;
}

/* Maga az üveges navigátor */
.year-nav {
    position: sticky;
    bottom: 20px;           /* a viewport aljától ennyire lebeg */

    pointer-events: all;    /* a nav-on belül megint engedjük a kattintást */

    display: flex;
    gap: 20px;
    padding: 10px 24px;

    background: rgba(255, 255, 255, 0.726);
    backdrop-filter: blur(12px);
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.28);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);

    max-width: 50vw;
    margin: auto;
    overflow-x: auto;
    white-space: nowrap;
}

/* Scrollbar eltüntetése, ha kell */
.year-nav::-webkit-scrollbar {
    display: none;
}
/* ===== YEARS ===== */
.year-nav span {
    padding: 6px 14px;
    border-radius: 40px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;

    color: #16a34a;
    opacity: 0.75;
    transition: 0.25s ease;
}

.year-nav span:hover {
    opacity: 1;
    transform: scale(1.08);
}

.year-nav span.active {
    background: linear-gradient(135deg, #1fa34a, #036117);
    color: white !important;
    opacity: 1;
    transform: scale(1.18);
    box-shadow: 0 5px 15px rgba(40,200,120,0.5);
}

/* Toast host */
.toast-host{
  position:fixed;
  left:50%;
  top:18px;
  transform:translateX(-50%);
  z-index:9999;
  width:min(720px, calc(100vw - 32px));
  pointer-events:none;
}

/* Toast */
.toast{
  pointer-events:auto;
  border-radius:18px;
  padding:12px;
  box-shadow:0 20px 60px rgba(0,0,0,.15);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.35);
  background:rgba(255,255,255,.82);
  transform:translateY(-18px);
  opacity:0;
  animation:toastIn .55s cubic-bezier(.2,.9,.2,1) forwards, toastOut .45s ease forwards;
  animation-delay:0s, 4.2s;
}

.toast-inner{
  display:flex;
  align-items:center;
  gap:12px;
  padding:10px 12px;
  border-radius:14px;
}

.toast-icon{
  width:34px;height:34px;border-radius:999px;
  display:grid;place-items:center;
  font-weight:800;font-size:16px;flex:0 0 auto;
}

.toast-text{display:flex;flex-direction:column;gap:2px;line-height:1.2}
.toast-text strong{font-size:14px;color:#0f172a}
.toast-text span{font-size:13px;color:rgba(15,23,42,.75)}

.toast-close{
  margin-left:auto;width:34px;height:34px;border-radius:999px;
  display:grid;place-items:center;text-decoration:none;
  font-size:18px;color:rgba(15,23,42,.7);
  background:rgba(0,0,0,.04);
  transition:transform .12s ease, background .12s ease;
}
.toast-close:hover{background:rgba(0,0,0,.07);transform:scale(1.05)}

.toast-success .toast-icon{
  background:rgba(22,163,74,.12);
  color:#16a34a;
  border:1px solid rgba(22,163,74,.25);
}
.toast-error{
  background:rgba(255,255,255,.90);
  border-color:rgba(239,68,68,.25);
}
.toast-error .toast-icon{
  background:rgba(239,68,68,.10);
  color:#ef4444;
  border:1px solid rgba(239,68,68,.25);
}

@keyframes toastIn{
  to{opacity:1; transform:translateY(0)}
}
@keyframes toastOut{
  to{opacity:0; transform:translateY(-12px)}
}


/* =========================================
   CAREER PAGE – FULL STANDALONE CSS
========================================= */

:root {
  --green: #1e7d4d;
  --green-dark: #16663f;
  --green-light: #eaf6ef;
  --text: #1f2d2a;
  --muted: #6b7c77;
  --border: #d9e4de;
  --bg: #f5f8f6;
  --white: #ffffff;
}

/* =========================================
   GLOBAL
========================================= */

.career-jobs,
.career-apply-section {
  background: var(--bg);
}
.career-apply-sub{
      text-align: center;
      padding: 20px 0;
}
.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 50px;
}

/* =========================================
   JOB GRID
========================================= */

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

@media (max-width: 900px) {
  .jobs-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   JOB CARD
========================================= */

.job-card {
  background: var(--white);
  border-radius: 18px;
  border: 1px solid var(--border);
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
  transition: 0.3s ease;
  position: relative;
}

.job-card:not(.active):hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

/* =========================================
   SUMMARY
========================================= */

.job-summary h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--green-dark);
}

.job-summary p {
  color: var(--muted);
  margin-bottom: 20px;
}

/* BUTTONS */

.job-btn,
.job-back,
.job-apply-btn {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
  text-decoration: none;
}

.job-btn,
.job-apply-btn {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  box-shadow: 0 10px 25px rgba(30,125,77,0.3);
}

.job-btn:hover,
.job-apply-btn:hover {
  transform: translateY(-2px);
}

.job-back {
  background: transparent;
  border: 1px solid var(--border);
  margin-top: 30px;
}

/* =========================================
   ACTIVE STATE
========================================= */

.job-card.active {
  grid-column: 1 / -1;
}

.job-card.active .job-summary {
  display: none;
}

.job-details {
  display: none;
}

.job-card.active .job-details {
  display: block;
  animation: fadeIn 0.3s ease forwards;
}

.job-card.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================
   JOB DETAILS
========================================= */

.job-details-top {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 30px;
}

.job-title-open {
  font-size: 1.8rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.job-description-open {
  color: var(--muted);
  max-width: 600px;
}

.job-details-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.job-details-content h4 {
  margin-bottom: 10px;
  color: var(--green-dark);
}

.job-details-content ul {
  padding-left: 18px;
}

.job-details-content li {
  margin-bottom: 6px;
  color: var(--text);
}

@media (max-width: 900px) {
  .job-details-top {
    flex-direction: column;
  }

  .job-details-content {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   APPLY SECTION
========================================= */

#careerApplyTitle {
  text-align: center;
  margin-bottom: 10px;
  font-size: 1.8rem;
  color: var(--green-dark);
}

#careerForm {
  max-width: 750px;
  margin: auto;
  background: var(--white);
  padding: 40px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: 0 15px 40px rgba(0,0,0,0.05);
}

#careerForm .form-row {
  margin-bottom: 22px;
}

#careerForm label {
  display: block;
  font-weight: 600;
  color: var(--green-dark);
}
.file-upload-label{
      display: block;
  font-weight: 600;
  color: #ffffff;
}
#careerForm input,
#careerForm textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 14px;
  transition: 0.2s ease;
}

#careerForm input:focus,
#careerForm textarea:focus {
  border-color: var(--green);
  outline: none;
  box-shadow: 0 0 0 3px rgba(30,125,77,0.15);
}

#careerForm textarea {
  min-height: 130px;
  resize: vertical;
}

/* =========================================
   FILE INPUT DESIGN
========================================= */

.file-upload-wrapper {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.file-upload-wrapper input[type="file"] {
  display: none;
}

.file-upload-label {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--green);
  background-color:  white;
  color: var(--green);
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(30,125,77,0.25);
  transition: 0.2s ease;
}

.file-upload-label:hover {
  transform: translateY(-2px);
}

.file-name {
  font-size: 0.9rem;
  color: var(--muted);
}
.btn-outline{
        display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
    text-decoration: none;
}
/* =========================================
   FORM FOOTER
========================================= */

#careerForm .form-footer {
  display: flex;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-submit {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: white;
  border: none;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(30,125,77,0.3);
  transition: 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
}

/* =========================================
   TOAST HOST POSITION
========================================= */

.toast-host {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

/* =========================================
   CAREER FAQ SECTION
========================================= */

.career-faq {
  background: #f5f8f6;
  padding: 100px 20px;
}

.career-faq .container {
  max-width: 900px;
  margin: auto;
}
.career-faq .career-header{
  text-align: center;
}
.career-faq .section-title {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #16663f;
}

.career-faq .section-subtitle {
  color: #6b7c77;
  margin-bottom: 60px;
}

/* =========================================
   FAQ LIST
========================================= */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =========================================
   FAQ ITEM CARD
========================================= */

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #d9e4de;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  overflow: hidden;
  transition: 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-3px);
}

/* =========================================
   QUESTION BUTTON
========================================= */

.faq-question {
  width: 100%;
  padding: 22px 60px 22px 25px;
  text-align: left;
  background: transparent;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  color: #16663f;
  position: relative;
  transition: 0.2s ease;
}

.faq-question:hover {
  color: #1e7d4d;
}

/* PLUS / MINUS ICON */

.faq-question::after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  transition: 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: "−";
}

/* =========================================
   ANSWER ANIMATION
========================================= */

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 25px 20px 25px;
}

.faq-answer p {
  margin: 0;
  color: #1f2d2a;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* =========================================
   CTA BOX
========================================= */

.career-cta-text {
  margin-top: 70px;
  padding: 35px 40px;
  background: linear-gradient(135deg, #eaf6ef, #f5f8f6);
  border-radius: 20px;
  text-align: center;
  font-weight: 500;
  font-size: 1.05rem;
  color: #16663f;
  border: 1px solid #d9e4de;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

  .faq-question {
    padding: 20px 50px 20px 20px;
    font-size: 1rem;
  }

  .faq-item.active .faq-answer {
    padding: 0 20px 18px 20px;
  }

  .career-cta-text {
    padding: 25px;
    font-size: 1rem;
  }

}



/* ================================
   FUNDING / PNRR SECTION
================================ */

.pnrr-section {
  padding: 70px 0;
  background: linear-gradient( 180deg, #f5f8f6, #edffed);
}
.dpnrr-section{
    background:  #f5f8f6;
}
.dpnrr-section img{
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;;
}
.pnrr-header {
  text-align: center;
  margin-bottom: 40px;
}

.pnrr-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #1b4e9b;
}

.pnrr-header p {
  color: #555;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ===== DOCUMENT BUTTONS ===== */

.pnrr-documents {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 50px;
}

.pnrr-doc {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  background: #1b4e9b;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pnrr-doc:hover {
  background: #0f3570;
  transform: translateY(-2px);
}

/* ===== IMAGE CENTER ===== */

.pnrr-section img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
}