/* Resetare globală + fix scroll orizontal */
* {
  box-sizing: border-box;
  max-width: 100vw;
  margin: 0;
  padding: 0;
}

html, body {
  overflow-x: hidden;
}


/* FONTURI */

@font-face {
  font-family: 'Decalotype';
  src: url('assets/fonts/Decalotype-Light.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: 'DecalotypeB';
  src: url('assets/fonts/Decalotype-Bold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

@font-face {
  font-family: '1797';
  src: url('assets/fonts/1797\ COMPRESSED_V2.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
}

body {
  font-family: 'Decalotype', sans-serif;
}

h1, h2, h3 {
  font-family: 'League-SpartanB', sans-serif;
  font-weight: 500;
}



/* PREZENTARE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Decalotype', sans-serif;
  background: #ffffff;
  color: #ffffff;
  
}
a {
  text-decoration: none;
  color: inherit;
}

/* overlay fundal albastru */
.image-overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1200px;
  background-image: url('images/structuri.png');
  background-repeat: no-repeat;
  background-size: 1600px;
  background-position: center top;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

@media screen and (max-width: 768px) {
  .image-overlay-container {
    background-image: url('images/structuri.png');
    background-size: 160%;     /* forțează zoom pe mobil */
    background-position: center top;
    background-repeat: no-repeat;
    height: 100vh;
    opacity: 0.3;
  }
}

.overlay-image {
  max-width: 2000px;
  width: 80%;
  height: auto;
  opacity: 0.1;
}

/* === FUNDAL DESKTOP === */
.hero-banner {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  animation: zoomOutMap 6s ease-out forwards;
  filter: contrast(100%) saturate(150%);
  
  
}
.hero-background-below {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* cât hero bannerul */
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-background-below img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(115%) saturate(120%);
  display: block;
  opacity: 0.10;
  filter: blur(3px)
  
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.05;
  }
  50% {
    transform: scale(1.02);
    opacity: 0.08;
  }
  100% {
    transform: scale(1);
    opacity: 0.05;
  }
}


@keyframes zoomOutMap {
  from { transform: scale(1.3); }
  to   { transform: scale(1); }
}

.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  animation: zoomOutMap 18s ease-out forwards;
  pointer-events: none;
}



.city-light {
  position: absolute;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(255, 255, 200, 0.7) 0%,
    rgba(255, 255, 150, 0.3) 40%,
    rgba(255, 255, 100, 0) 80%
  );
  box-shadow: 0 0 8px rgba(255, 255, 180, 0.8);
}






/* Efect de pulsație */
@keyframes pulse {
  0%, 100% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

.hero-banner-container {
  position: relative;
  overflow: hidden;
}

.city-lights {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.city-lights.visible {
  opacity: 1;
}

.city-light {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 12px 6px rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  animation: pulseLight 6s infinite ease-in-out;
}

@keyframes pulseLight {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0.3;
  }
}





@media (max-width: 768px) {
 
  .city-lights {
    top: -30%; /* dacă se folosește `position: absolute` */
  }
}



/* MOBILEEEEEEEEEEEEEEE */

/* === FIX PENTRU LINIA ALBĂ DE SUS === */
html, body {
  margin: 0;
  padding: 0;
  border: 0;
  box-sizing: border-box;
  background-color: #faf8f8;
  color: #000000;  /* Sau culoarea de fundal generală a site-ului */
  max-width: 100vw;
}

/* Reset suplimentar dacă problema persistă */
body * {
  margin-top: 0 !important;
}

/* Meniu mobil și hamburger */
@media screen and (max-width: 991px) {
  .hero-banner {
    background-size: 100%; /* zoom pe lățime */
    background-position: center top;
    background-repeat: no-repeat;
  }
}

@media (min-width: 992px) {
  .mobile-menu,
  .hamburger {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1001;
  }

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu.active {
    display: flex;
  }

  .mobile-menu ul {
    list-style: none;
    padding: 0;
  }

  .mobile-menu ul li {
    margin: 1rem 0;
  }

  .mobile-menu ul li a {
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
  }

  #mobileMenuClose {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
  }
}



  .hamburger span {
    height: 3px;
    width: 100%;
    background: white;
    display: block;
    border-radius: 2px;
  }

  /* Ascunde meniul central + social pe mobil */
  .navbar-center,
  .navbar-right {
    display: none !important;
  }
}


  .hamburger {
    display: flex;
  }

  .mobile-menu {
    position: fixed;
    top: 0%;
    left: 0;
    right: 0;
    bottom: 0;
    background: #151c37;
    color: white;
    display: none;
    flex-direction: column;
    align-items: center;
    padding-top: 28vh; /* 🔽 împinge meniul în jos */
    justify-content: flex-start;
    z-index: 9999;
  }

  .mobile-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
  }

  .mobile-menu ul li {
    margin: 1rem 0;
  }

  .mobile-menu ul li a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
  }

  #mobileMenuClose {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    color: white;
    font-size: 2rem;
    border: none;
    cursor: pointer;
  }



/* NAVBAR TRANSPARENT & SCROLL BLUR */
/* Bara de navigație fixă */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 2rem;
  position: fixed;
  top: 0;
  width: 100%;
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
  z-index: 999;
}

.navbar.scrolled {
  background: linear-gradient(to bottom, rgba(5, 0, 36, 0.742),rgba(6, 0, 37, 0.742),rgba(8, 0, 53, 0.742), rgba(8, 0, 53, 0.742));
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.74);
}

/* --- LOGO STÂNGA --- */
/* === STRUCTURĂ GENERALĂ === */
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 2300px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 60px;
  width: 100%;
}

.navbar-center {
  flex: 2;
  display: flex;
  justify-content: center;
}

/* === MENIU === */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  padding: 0;
  margin: 0;
}

.nav-menu li a {
  font-weight: bold;
  font-size: 27px;
  color: #ffffff;
  transition: color 0.3s ease;
}

.navbar.scrolled .nav-menu li a {
  color: rgb(255, 255, 255);
}

.nav-menu li a.active,
.nav-menu li a:hover {
  color: #ffffff;
}

/* === LOGO === */
.logo {
  height: 70px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: drop-shadow(0 0 0px transparent);
}

.logo:hover {
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.6));
}


.navbar-right {
  display: flex;
  align-items: right;
  gap: 1rem; /* spațiere între iconițe */
}

.navbar-right a img {
  height: 35px;
  transition: transform 0.2s ease;
}

.navbar-right a:hover img {
  transform: scale(1.2);
}

.social-sticky {
  position: fixed;
  top: 35%;
  right: 0;
  background: #c00; 
  border-radius: 12px 0 0 12px;
  padding: 0.6rem 0.5rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: -2px 2px 10px rgba(0, 0, 0, 0.594);
}

.social-sticky .share-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 12px;
  color: white;
  font-weight: bold;
}

.social-sticky a img {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
  filter: brightness(0) invert(1); /* face iconițele albe */
}

.social-sticky a:hover img {
  transform: scale(1.2);
}


/* HERO BANNER */

  .hero-banner {
    position: relative;
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
     background-position: center center;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 🔥 Mută conținutul spre stânga */
    padding-left: 80px;          /* 📏 Spațiu de la margine */
    padding-right: 40px;
    z-index: 1;
  }

.hero-banner.hero-zoom {
  animation: zoomOut 7s ease-in-out forwards;
  background-size: 130%;
}

@keyframes zoomOut {  
  0% {
    background-size: 130%;
  }
  100% {
    background-size: 110%;
  }
}


@keyframes zoomOut {
  0% {
    background-size: 130%;
  }
  100% {
    background-size: 110%;
  }
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, #090915, #0000001e, #09091600);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 80px;
  z-index: 5;
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  z-index: 2;
  color: #fff;
}
.hero-gradient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(to top, #090915, #0000001e, #09091600);
  z-index: 2;
  pointer-events: none;
}



.hero-content .description {
  text-align: left;       /* 🔥 Forțează alinierea la stânga */
  width: 100%;
  margin-left: 0;         /* Asigură că nu e tras spre dreapta */
  padding-left: 0;        /* Scoate orice padding suplimentar */
}




.hero-content h1 {
  font-size: 3.5rem;
  font-family: 'Decalotype', sans-serif;
  margin-bottom: 1rem;
}

.hero-content h1 {
  font-family: 'DecalotypeB', sans-serif;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-sub {
  font-size: 2rem;
  font-weight: 600;
  display: block;
  margin-bottom: -3rem; /* 🔻 ajustează după preferință */
}


.hero-main {
  font-size: 3.5rem;
  font-weight: 900;
  display: block;
}

.subtitle {
  font-size: 1.2rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.description {
  font-size: 1.5rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-button {
  background: #e53935;
  color: white;
  border: none;
  padding: 14px 28px;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s ease;
  position: relative;
  pointer-events: auto;
  z-index: 1000; /* Ridicat peste city-lights (care e 1) */
}



.cta-button:hover {
  background: #d32f2f;
}



.text-line h2 {
  font-size: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}


.hero-cards-vertical {
  position: relative;
  margin-top: 40%; /* ⇦ era 20% — coboară mai mult */
  max-height: 400px;
  display: flex;
  flex-wrap: wrap;  
  justify-content: center;
  gap: 40px;
  z-index: 6;
  background: transparent;
  padding: 0;
  margin-bottom: 900px;
  align-items: flex-start;
}


.hero-text-band {
  position: relative;
  background: linear-gradient(to top, #0b0c1b, #1a1e3a, #090916);
  text-align: center;
  color: white;
  font-size: 1.5rem;
  position: relative;
  line-height: 1.6;
  font-weight: 500;
  padding: 0 !important;
  padding-top: -500px;
  padding-bottom: 50px;
  overflow: visible; /* ← permite zoom */
  z-index: 10;
  margin-bottom: 0rem; 
  margin-top: -80rem;   /* 🔥 împinge videoclipul în sus */
  margin: 0;
  height: auto !important;  
  max-height: 1500px;
}

@media (max-width: 768px) {
.hero-text-band {
  height: auto;
  max-height: none;
  overflow: visible;
  margin-bottom: 40px;
  z-index: 0;
  
}

@media (max-width: 768px) {
  .image-overlay-container{
    display: none;
  }

  .hero-text-band {
    background: linear-gradient(to bottom, #001e3c, #000e1d); /* culoare fade dorită */
  }
}


  .scroll-zoom-video-banner {
    max-height: 1800px;
    overflow: hidden;
  }
}

/* Container video poziționat jos */
.scroll-video-fixed-bottom {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 960px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.scroll-video-fixed-bottom video {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-text-band h2 {
  max-width: 4000px;
  margin: 0 auto;
  font-family: 'Decalotype', sans-serif;
}


@font-face {
  font-family: 'League SpartanB';
  src: url('assets/fonts/LeagueSpartan-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'League Spartan';
  src: url('assets/fonts/LeagueSpartan-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}



.vertical-card {
  width: 320px;
  margin-top: 160px;  /* ⇦ mai mult spațiu jos */
  aspect-ratio: 9 / 16;
  background: white;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  font-family: 'League SpartanB';
  position: relative;
  z-index: 2;
}


/* Poziții în trepte */
.vertical-card:nth-child(1) { transform: translateY(0px); }
.vertical-card:nth-child(2) { transform: translateY(40px); }
.vertical-card:nth-child(3) { transform: translateY(0px); }
.vertical-card:nth-child(4) { transform: translateY(40px); }

/* Efect hover combinat: ridicare, scalare, glow */
.cards-wrapper {
  margin-top: 140px;
  position: relative;
  z-index: 1000;
}

.vertical-card:hover {
  z-index: 1001;
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 0 20px 4px rgba(255, 215, 0, 0.5);
}



/* Imagine/video din interior se mărește */
.vertical-card:hover .card-media img,
.vertical-card:hover .card-media video {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

/* Glow animat */
@keyframes goldGlow {
  0% { box-shadow: 0 0 0 rgba(255, 215, 0, 0.3); }
  50% { box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.5); }
  100% { box-shadow: 0 0 0 rgba(255, 215, 0, 0.3); }
}

/* MEDIA din card */
.vertical-card .card-media {
  flex: 1;
  position: relative;
  width: 100%;
  height: 100%;
}

.vertical-card .card-media img,
.vertical-card .card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}

/* TEXT */
.card-text {
  padding: 24px;
  text-align: center;
  font-weight: 500;
  font-size: 1rem;
  font-family: 'League SpartanB', sans-serif !important;
}

.card-text h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-top: 10px;
}

/* Icon optional */
.card-text i.icon {
  font-size: 1.8rem;
  display: block;
}

/* Linia de sub titlu – devine aurie la hover */
.clip-bar {
  width: 50px;
  height: 4px;
  background: #fc5252;
  margin: 10px auto 0;
  border-radius: 3px;
  transition: background-color 0.3s ease;
}

.vertical-card:hover .clip-bar {
  background: gold;
}

/* Fundaluri tematice */
.card-text.blue { background-color: #c5d3e0; }
.card-text.white { background-color: #f8f8f8; }
.card-text.lightblue { background-color: #0046afa4; }
.card-text.peach { background-color: #ffe1b3; }

.card-text.blue,
.card-text.white,
.card-text.lightblue,
.card-text.peach {
  color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
  .vertical-card {
    width: 90%;
  }
}

  
  
  /* Media & Blog */
  .media, .blog {
    padding: 60px 20px;
    text-align: center;
  }
  .media h2, .blog h2 {
    font-size: 28px;
    position: relative;
    color: #000000; /* sau orice alt cod de culoare */
  }
  .media h2::after, .blog h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #fc5252;
    margin: 10px auto 30px;
  }
 
  /* Gold divider */
 .gold-divider {
  height: 4px;
  width: 100%;
  background: linear-gradient(to right, #d4af37, #ffd700, #d4af37);
  margin-top: 0px; /* 🔥 spațiu de sus */
  box-shadow: 8 8 8px #ffdb4d;
}

/* Administratia */
.administratie-section {
  background: linear-gradient(to top, #09091500, #4343431e, #e3e3e90d);
  padding: 5rem 3rem;
  top: 120px;
  text-align: center;
}

.administratie-section h2 {
  font-size: 2.2rem;
  margin-bottom: 5rem;
  color: #222;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  column-gap: 2.5rem; /* distanță între coloane */
  row-gap: 8rem;      /* ↕ mai mare între rânduri */
  justify-items: center;
}


.team-card {
  background: white;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 3rem 1.5rem 2rem;
  position: relative;
  width: 100%;
  max-width: 320px;
  transition: transform 0.3s ease;
  overflow: visible;
  top: 50px;
  height: 260px;
  padding-top: 130px;
  margin-top: 20px;
}

.team-card:hover {
  transform: translateY(-8px);
}

.team-image {
  position: absolute;
  top: -100px; /* mutat mai sus față de card */
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: rgba(255, 255, 255, 0.007);
  padding: 6px;
  border: 3px solid gold;
  border-radius: 0px;
  box-sizing: border-box;
  z-index: 2;
}

.administratie-section {
    margin-bottom: 4rem; /* sau mai mult dacă vrei și mai mult spațiu */
   
}
.section-title {
  margin-top: 6rem;     /* ↕ spațiu deasupra titlului */
  margin-bottom: 6rem;  /* ↕ spațiu sub titlu */
}


.team-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 10rem 2rem; /* 10rem pe verticală, 2rem pe orizontală */
  justify-items: center;
}


.team-name {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.25rem;
  color: #222;
}

.team-role {
  font-style: italic;
  font-weight: 600;
  color: #777;
  margin-bottom: 1rem;
}

.team-description {
  font-size: 0.95rem;
  color: #555;
  padding: 0 0.5rem;
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 1.1rem;
  color: goldenrod;
}

.team-socials i:hover {
  color: #000;
  cursor: pointer;
}

  @media screen and (max-width: 768px) {
  .administratie-section {
    padding: 3rem 2rem;
  }

  .administratie-section h2 {
    font-size: 1rem;
    margin-bottom: 5rem;
  }

 .team-card {
  background: white;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 3rem 1.5rem 2rem;
  position: relative;
  width: 100%;
  max-width: 320px;
  transition: transform 0.3s ease;
  overflow: visible;
  top: 50px;
  height: 260px;
  padding-top: 130px;
  margin-top: 20px;
}

 .team-image {
  position: absolute;
  top: -100px; /* mutat mai sus față de card */
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: rgba(255, 255, 255, 0.007);
  padding: 6px;
  border: 3px solid gold;
  border-radius: 0px;
  box-sizing: border-box;
  z-index: 2;
}

  .team-name {
    font-size: 1rem;
    margin-top: 1rem;
  }

  .team-role {
    font-size: 0.85rem;
  }

  .team-description {
    font-size: 0.85rem;
    padding: 0;
  }

  .team-socials {
    font-size: 1rem;
    gap: 0.75rem;
  }
}

  /* Timeline */
  .timeline {
    padding: 60px 20px;
    background: #fff;
  }
  .timeline h2 {
    text-align: center;
    font-size: 28px;
    position: relative;
  }
  .timeline h2::after {
    content: '';
    display: block;
    width: 30px;
    height: 2px;
    background: #fc5252;
    margin: 10px auto 30px;
  }
  
  
  
  /* Contact */
/* Contact */
.contact {
  background: linear-gradient(rgba(10, 10, 10, 0.75), rgba(10, 10, 10, 0.75)),
              url('images/Catedrala.jpg') center/cover no-repeat;
  background-attachment: fixed; /* 🔥 efectul parallax */
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}



.contact form {
  background: #0b1320b0;
  padding: 40px;
  border-radius: 16px;
  color: white;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact form h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #fff;
  text-align: center;
}

.contact form input,
.contact form textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid #555;
  padding: 12px 8px;
  color: #fff;
  font-size: 15px;
  transition: border-color 0.3s;
  width: 100%;
}

.contact form input::placeholder,
.contact form textarea::placeholder {
  color: #999;
}

.contact form input:focus,
.contact form textarea:focus {
  border-bottom-color: #bbb;
  outline: none;
}

.contact form textarea {
  resize: vertical;
  min-height: 100px;
}

.contact form button[type="submit"],
.contact form input[type="submit"] {
  background: #eee;
  color: #222;
  padding: 14px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact form button[type="submit"]:hover,
.contact form input[type="submit"]:hover {
  background: #ddd;
}

  
  /* STRUCTURĂ PARALLAX */
#parallax-intro {
  position: fixed;
  inset: 0;
  background: white;
  overflow: hidden;
  z-index: 9999;
  opacity: 1;
  transition: opacity 1s ease-in-out;
}

.parallax-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  transition: transform 2s ease-in-out;
}




.svg-logo {
  width: 70vw;
  max-width: 720px;
}

/* === BLOG SLIDER === */


/* Stil secțiune glassomorph + polymorphic */
/* Wrapper general secțiune */


/* Efect de pulsație subtilă */
@keyframes subtlePulse {
  0% { transform: scale(1); opacity: 0.05; }
  100% { transform: scale(1.03); opacity: 0.09; }
}

/* Fundal polymorphic */
#poly-background {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  background: radial-gradient(circle at 20% 30%, rgba(0,120,255,0.15), transparent),
              radial-gradient(circle at 80% 60%, rgba(255,0,150,0.15), transparent);
  animation: morphBackground 15s ease-in-out infinite;
  filter: blur(40px);
}

/* Morphing animat */
@keyframes morphBackground {
  0% { background-position: 20% 30%, 80% 60%; }
  50% { background-position: 25% 35%, 75% 55%; }
  100% { background-position: 20% 30%, 80% 60%; }
}

/* Slider de carduri */
.card-slider {
  position: relative;
  z-index: 1;
  background: transparent !important;
  backdrop-filter: blur(5px) saturate(100%);
  -webkit-backdrop-filter: blur(8px) saturate(160%);
  border-radius: 24px;
  box-shadow: 0 0 40px rgba(0, 40, 80, 0.15);
  padding: 40px 10px;
  gap: 20px;
  display: flex;
  isolation: isolate;
}

/* Ascunde scrollbarul */
.card-slider::-webkit-scrollbar {
  height: 6px;
  display: none;
}
.card-slider::-webkit-scrollbar-thumb {
  background-color: #1a3455;
  border-radius: 3px;
}

.slider-section-wrapper {
  position: relative;
  z-index: 0;
  background: none !important;
}

.blogs-background-below {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
  pointer-events: none;
  overflow: hidden;
}

.blogs-background-below img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(200%) saturate(120%);
}

/* Fade spre negru în jos */
.blogs-background-below::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30%;
    background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(0, 0, 0, 0.253) 60%,
    rgb(0, 0, 0) 100%
  );
  z-index: 1;
}




/* Card de blog */
.blog-card {
  flex: 0 0 320px;
  background: rgba(38, 41, 70, 0.308); /* mai clar decât 0.05 */
  backdrop-filter: blur(54px) saturate(80%);
  -webkit-backdrop-filter: blur(24px) saturate(80%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: white;
  height: 420px;
  position: relative;
  z-index: 2; /* trebuie să fie peste background-ul cu orașul */
}


.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.blog-card .content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}
.blog-card .content h3 {
  font-size: 1.2rem;
  color: #ffffff;
  margin: 0;
}
.blog-card .content p {
  font-size: 0.95rem;
  color: #bbd0ff;
  margin: 0;
}
.read-button {
  align-self: flex-start;
  margin-top: auto;
  background: linear-gradient(90deg, #17478f, #0e336b);
  color: white;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 0.9rem;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}
.read-button:hover {
  background: linear-gradient(90deg, #00acc1, #1e88e5);
}

.full-width-image {
  width: 100%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.full-width-image img {
  width: 100%;
  height: auto;
  display: block;
}


.news-grid {
  padding: 60px 20px;
  background: #fafafa;
  text-align: center;
}

.news-grid h2 {
  font-size: 28px;
  margin-bottom: 40px;
  position: relative;
}

.news-grid h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: #fc5252;
  margin: 10px auto 0;
}

.news-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.news-card {
  background: white;
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: left;
  transition: box-shadow 0.3s ease;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.news-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

.news-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: #b30000;
}

.news-card .date {
  font-size: 0.85rem;
  color: #999;
  display: block;
  margin-bottom: 8px;
}

.news-card p {
  font-size: 0.95rem;
  color: #333;
}


.main-article h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.main-article .meta {
  color: #888;
  margin-bottom: 1rem;
}

.main-article img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.stats strong {
  font-size: 1.4rem;
}

.share-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.share-buttons button {
  background: #eee;
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 4px;
}

.content {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  backdrop-filter: blur(10px) saturate(100%);
}

.sidebar {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.small-news .item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.small-news img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}


.social-box h4 {
  font-size: 1rem;
  border-bottom: 2px solid red;
  padding-bottom: 0.4rem;
  margin-bottom: 0.5rem;
}

.social-links button {
  background: #000;
  color: white;
  border: none;
  padding: 0.5rem 0.9rem;
  margin-right: 0.4rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

/* === SCROLL VIDEO ZOOM === */
.scroll-zoom-video-banner {
  margin-top: -50rem;
  bottom: 400px; /* mai sus */
  width: 90%;               /* ✅ ia toată lățimea disponibilă */
  max-width: 760px;          /* ✅ limită de scalare mare */
  height: auto;              /* 🔁 permite redimensionare naturală */
  aspect-ratio: 16 / 9;      /* ✅ păstrează formatul video */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  position: relative;
  background: #000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease-out;
  overflow: visible;         /* ✅ permite efectul de zoom */
  transform-origin: center center;
  margin-left: auto;
  margin-right: auto;
  z-index: 5;
}

.scroll-zoom-video-banner video {
  width: 150%;
  height: auto;
  object-fit: cover;
  transition: transform 0.4s ease-out;
  border-radius: 20px;
}


.video-wrapper {
  width: 100%;
  max-width: 1100px;
  padding: 0 20px;
  box-sizing: border-box;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  transition: transform 0.3s ease-out;
  display: block;
  margin: 0 auto;
}

.video-small { width: 400px; height: 225px; }
.video-medium { width: 640px; height: 360px; }
.video-large { width: 960px; height: 540px; }




.slider-controls {
  position: absolute;
  left: 30px;  /* 🔥 Mutăm săgețile la marginea stângă a ecranului */
  display: flex;
  gap: 10px;
}

.slider-arrow {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: #333;
  transition: color 0.2s ease;
}

.slider-arrow:hover {
  color: #c00;
}


.initiative-slider {
  display: flex;
  gap: 30px;
  overflow-x: auto;        /* 🔥 ESENȚIAL */
  scroll-behavior: smooth; /* permite scroll animat */
  padding-bottom: 20px;
}

.initiative-slider::-webkit-scrollbar {
  display: none; /* ascundem scrollbar-ul */
}

/* ✅ Adaugă acest bloc pentru aliniere pe linie cu titlul */
.initiative-header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 40px;     /* 🔥 spațiu de sus */
  margin-bottom: 2rem;
  padding: 0 1.5rem;
}


.initiative-header h2 {
  font-size: 2rem;
  margin: 0;
  color: #151c37;
  font-family: 'DecalotypeB', sans-serif;
}

/* Footer */
.gov-footer {
  position: relative;
  background-color: #0b1320;
  color: white;
  padding: 40px 20px 20px;
  font-family: 'League SpartanB', sans-serif;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Watermark cu fade aplicat doar pe imagine */
.gov-footer::after {
  content: '';
  position: absolute;
  bottom: -90px;
  right: 20px;
  width: 1100px;
  height: 400px;
  background-image: url('images/Logo Timisoara.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  -webkit-mask-image: linear-gradient(to top, rgb(255, 255, 255), transparent);
  mask-image: linear-gradient(to top, rgb(255, 255, 255), transparent);

  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* TOP FOOTER - aliniere pe linie */
.footer-top {
  display: flex;
  justify-content: space-between; /* 🔁 spațiere automată între cele 3 secțiuni */
  align-items: center;
  gap: 500px; /* 🔧 poți ajusta: 60px, 80px, 120px */
  max-width: 1600px;
  margin: 0 auto;
  padding-bottom: 30px;
  z-index: 1;
}


.footer-left,
.footer-center,
.footer-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
}

.footer-left {
  justify-content: flex-start;
  gap: 12px;
}

.footer-logo {
  width: 150px;
}

.footer-desc {
  font-size: 1rem;
  line-height: 1.4;
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-center a {
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
}

.footer-right {
  justify-content: flex-end;
  gap: 16px;
}

.footer-right a {
  display: inline-block;
  transition: transform 0.2s ease;
}

.footer-right img {
  width: 26px;
  height: 26px;
  object-fit: contain;
  filter: brightness(1) invert(0);
  transition: transform 0.2s ease;
}

.footer-right a:hover img {
  transform: scale(1.2);
}

/* BOTTOM FOOTER */
.footer-bottom {
  margin-top: 30px;
  text-align: center;
  z-index: 1;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-divider {
  height: 1px;
  width: 100%;
  background: #444;
  margin: 10px auto;
  max-width: 1500px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #888;
  margin-top: 10px;
}

/* Model formular */

.contact-form {
  max-width: 600px;
  margin: 4rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
}

.contact-form button {
  background-color: #e53935;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background-color: #c62828;
}

@media (max-width: 768px) {
  .hero-banner {
    background-image: url('images/harta-timisoara.png'); /* sau imaginea ta */
    background-size: 500% auto !important;  /* 🔥 zoom masiv pe lățime */
    background-position: top center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }
}@media (max-width: 768px) {
   .hero-overlay {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-top: 8rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
  }

  .hero-overlay {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-top: 9rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
  }

 .hero-overlay {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-top: 9rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
  }

.hero-overlay {
    justify-content: flex-start !important;
    align-items: flex-start !important;
    padding-top: 9rem;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
  }

  .hero-content {
    align-items: flex-start !important;
    text-align: left !important;
    padding-left: 0.8rem !important;
    padding-right: 0.8rem !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .hero-content h1 {
    font-size: 3rem !important; /* +25% față de inițial */
    line-height: 1.2;
  }

  .hero-sub {
    font-size: 1.8rem !important; /* +25% față de inițial */
    margin-bottom: 0.3rem;
  }

  .hero-main {
    font-size: 3.375rem !important; /* +25% față de inițial */
  }

  .description {
    font-size: 1.6875rem !important; /* +25% față de inițial */
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
  }

  .cta-button {
    font-size: 1.5rem !important; /* +25% față de inițial */
    padding: 20px 24px !important;
    margin-top: 1rem;
    margin-left: 0 !important;
    margin-right: 0 !important;
    z-index: 111;
  }
}




@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-left, .footer-center, .footer-right {
    justify-content: center;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
  }

  .footer-right {
    gap: 1rem;
  }

  .footer-logo {
    max-width: 120px;
    height: auto;
  }
}


@media (max-width: 768px) {
  .scroll-zoom-video-banner {
    position: relative !important;
    z-index: auto !important;
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;     /* ✅ centrează videoclipul orizontal */
    align-items: center;         /* opțional: centrează și pe verticală */
    padding: 0 1rem;
    margin: 0 auto;
    width: 100%;
    bottom: 20px;
    background: none;
    box-shadow: none !important;
    border: none !important;
  }

  .scroll-zoom-video-banner video {
    max-width: 100%;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;              /* ✅ centrare sigură pe orice browser */
  }
}



@media (max-width: 768px) {
.hero-cards-vertical {
  position: relative;
  margin-top: 80px;          /* înlocuiește 40% cu valoare fixă */
  margin-bottom: 80px;       /* înlocuiește 900px cu un spațiu natural */
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  background: transparent;
  padding: 0;
  max-height: none;          /* elimină limitarea care taie cardurile */
  z-index: 1;                /* z-index mai mic pentru a respecta ordinea naturală */
}




  .vertical-card {
    width: 100%;
    margin: 0 auto;
    padding: 0rem;
    box-sizing: border-box;
    transform: none !important; /* elimină decalajele */
    z-index: 999;
    
  }

 .vertical-card-link {
  flex: 1 1 45%;
  max-width: 100%;
  text-decoration: none;
  display: flex;
  justify-content: center;
}

  /* Stil video complet responsive */
  .vertical-card video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 0px;
  }

  /* Opțional: aspect ratio 16:9 */
  .vertical-card .video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    border-radius: 12px;
  }

  .vertical-card .video-wrapper video {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}

/* Scrollbar general pentru browsere WebKit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
}

/* Fundalul canalului scroll-ului */
::-webkit-scrollbar-track {
  background: #000000de;
}

/* Bara de scroll în sine */
::-webkit-scrollbar-thumb {
  background-color: #2196f3; /* albastru (poți schimba) */
  border-radius: 10px;
  transition: background 0.3s ease;
}

/* Hover pe bară */
::-webkit-scrollbar-thumb:hover {
  background-color: #0d8ae3;
}

.auth-status .icon {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-right: 6px;
  stroke-width: 2;
}


.city-light {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 180, 0.7) 0%,
    rgba(255, 255, 120, 0.3) 40%,
    rgba(255, 255, 0, 0.1) 70%,
    rgba(255, 255, 0, 0) 100%
  );
  box-shadow: 0 0 18px rgba(255, 255, 180, 0.6);
  cursor: grab;
  z-index: 9;
}
.city-light.dragging {
  opacity: 0.8;
  cursor: grabbing;
}
@media (max-width: 768px) {
  .city-lights {
    opacity: 0.6;
    pointer-events: none;
    transform: translate(0%, 30%) translateY(90px);
    z-index: 1;
  }

  .cta-button {
    position: relative;
    z-index: 9999;
  }
}




.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 44px;
  height: 44px;
  z-index: 1000;
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%; /* 🔵 Face butonul rotund */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scroll-to-top img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: none;
  border-radius: 50%; /* Asigură rotunjimea imaginii */
  transition: transform 0.3s ease;
}

.scroll-to-top:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.384); /* umbră circulară */
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.95;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.95;
  }
}

.hero-background img {
  animation: pulse 8s ease-in-out infinite;
  transform-origin: center center;
}

.blogs-background-below img {
  animation: pulse 10s ease-in-out infinite;
  transform-origin: center center;
}

/* === PRIORITĂȚI SLIDE EFFECT === */
.prioritate-card {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.priority-overlay {
  position: relative;
  font-size: 0.8rem;    /* mai mic fontul general */
  bottom: 0;
  left: 5%;   /* pentru a o centra */
  width: 90%; /* din 100% → 90%, ca să pară mai mică */
  height: 120%;
  max-height: 700px;
  background-color: white;
  color: #111;
  padding: 0.8rem 1rem; /* mai puțin spațiu interior */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
  z-index: 1;
  transform: translateY(40%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    box-shadow 0.4s ease,
    z-index 0.2s;
}

/* Efect text */
.priority-overlay h4 {
  font-size: 1rem;
  margin-bottom: 0.6rem;
  font-weight: bold;
}

.priority-overlay ul {
  list-style: none;  /* Elimină discurile implicite */
  padding: 0;
  margin: 0;
}


.priority-overlay ul li {
  margin-bottom: 0.4rem;
  list-style-type: disc;
}

/* Hover effect */
.prioritate-card:hover .priority-overlay,
.prioritate-card:focus-within .priority-overlay {
  transform: translateY(60%) scale(1.1); /* se coboară + se mărește */
  opacity: 1;
  z-index: 10;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.25);
  pointer-events: auto;
}


/* Efect tactil pentru mobil */
@media (hover: none) {
  .prioritate-card:active .priority-overlay {
    transform: translateY(-10px);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
  }
}

.priority-overlay {
  font-family: 'Merriweather', serif;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 80%) scale(0.9);
  background: #fff;
  width: 90%;
  max-width: 360px;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s ease, opacity 0.45s ease;
  z-index: 5;
  border: 1px solid #ccc;
}


.priority-overlay h4 {
  font-size: 1rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #0b2545;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.priority-overlay ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.priority-overlay li {
  margin-bottom: 0.75rem;
  padding-left: 1.4rem;
  position: relative;
}

.priority-overlay li::before {
  position: absolute;
  left: 0;
  color: #0b2545;
  font-weight: bold;
  font-size: 1.2rem;
  margin-left: -0.8em;
}

.prioritate-card:hover .priority-overlay {
  opacity: 1;
  transform: translate(-50%, 45%) scale(1.05);
  pointer-events: auto;
}

@media screen and (max-width: 768px) {
  .priority-overlay {
    font-size: 1rem;
    bottom: -120px;
  }

  .priority-overlay h4 {
    font-size: 0.8rem;
  }

  .priority-overlay li {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

#email-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  background-color: #ebebeb;
  color: #000000;
  padding: 18px 28px;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(109, 109, 109, 0.45);
  font-family: 'Segoe UI', sans-serif;
  font-size: 1rem;
  opacity: 0;
  pointer-events: none;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#email-popup.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

#email-popup.hidden {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(0.96);
}

/* Icon optional (Lucide / FontAwesome) */
#email-popup i {
  font-size: 1.4rem;
  color: #4caf50;
}

@media (max-width: 480px) {
  .popup {
    top: 30%;
    font-size: 1.1rem;
    padding: 18px 24px;
    max-width: 95vw;
    border-radius: 10px;
    line-height: 1.6;
  }
}


/* === Activează scroll doar pe mobil, dezactivează pe desktop === */
@media (max-width: 768px) {
  .card-slider {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
}

@media (min-width: 769px) {
  .card-slider {
    overflow-x: hidden !important;
    scroll-snap-type: none !important;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    line-height: 1.1; /* reduce distanța dintre linii */
    font-size: 1.4rem; /* ajustează mărimea textului dacă e prea mare */
  }

  .hero-content h1 .hero-sub {
    display: block;
    margin-bottom: -2.2rem; /* micșorează spațiul între sub și main */
  }

  .hero-content h1 .hero-main {
    display: block;
    margin-top: 0px; /* elimină spațiul suplimentar dacă există */
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding-top: 160px; /* Poți crește dacă vrei mai jos */
  }

  .hero-content h1 span {
    line-height: 1.2; /* mai mic ca să fie textul mai compact */
  }
}
