body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(to right,#e6f0ff, #ffffff);
    color: #222;
    margin: 0;
    padding: 0;
}

/* Site header styles */
.site-header {
    text-align: center;
    background-color: rgb(3, 4, 72);
    color: white;
    padding: 30px 20px;
    margin-top: 60px; /* Add space for fixed navbar */
}

.site-header .container {
    max-width: 1200px;
    margin: 0 auto;
}

.site-header .logo {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.site-header .logo span {
    color: #6ee7ff;
}

.site-header .tagline {
    font-size: 1.2rem;
    margin-bottom: 15px;
    opacity: 0.9;
}

.column {
  float: left;
  width: 25%;
  padding: 10px;
}

header {
    text-align: center;
    background-color:rgb(3, 4, 72);
    color: white;
    padding: 50px 20px;
}

.slideshow-container {
    max-width: 1000px;
    position: relative;
    margin: auto;
}

.mySlides {
    display:none;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    backround-color: rgba(0,0,0,0.8)
}

.text {
 color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;   
}

.numberText {
     color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  padding: 0 20px;
}

/* Navbar links */
#navbar a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 16px 20px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  position: relative;
}

/* Navbar link hover effect */
#navbar a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: #28a745;
  transform: translateY(-2px);
}

/* Active/current page indicator */
#navbar a.active {
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom-color: #28a745;
}

/* Login button special styling */
#navbar a[href="login.php"],
#navbar a[href="register.php"] {
  background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
  margin: 8px 0 8px 8px;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

#navbar a[href="login.php"]:hover,
#navbar a[href="register.php"]:hover {
  background: linear-gradient(135deg, #20c997 0%, #28a745 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.5);
  border-bottom-color: transparent;
}

/* Logout button styling */
#navbar a[href="logout.php"] {
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  margin: 8px 0 8px 8px;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

#navbar a[href="logout.php"]:hover {
  background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.5);
  border-bottom-color: transparent;
}





/* Page content */
.content {
  padding: 16px;
}


body, html {
  height: 100%;
}

* {
  box-sizing: border-box;
}


/*Vote Hero Image*/
body, html {
    height: 100%;
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/vote image.webp");

  /* Set a specific height */
  height: 80%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}





/* Change Background On Scroll*/
body, html {
  height: 100%;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
  
}

.bg-image {
  /* Full height */
  height: 50%;

  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Images used */
.img1 { background-image: url("../images/PHOTO-2025-10-08-18-53-15 copy.jpg"); }
.img2 { background-image: url("../images/IMG_5550.jpeg"); }
.img3 { background-image: url("../images/PHOTO-2025-10-08-18-51-59.jpg"); }
.img4 { background-image: url("../images/PHOTO-2025-10-08-18-53-10.jpg"); }
.img5 { background-image: url("../images/photo school.jpg"); }
.img6 { background-image: url("../images/NK present.jpg"); }

/* Position text in the middle of the page/image */
.bg-text {
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0, 0.4); /* Black w/opacity/see-through */
  color: white;
  font-weight: bold;
  font-size: 80px;
  border: 10px solid #f1f1f1;
  position: fixed; /* Stay fixed */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  width: 300px;
  padding: 20px;
  text-align: center;
}










/*Image Grid Home Page*/
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create two equal columns that sits next to each other */
.column {
  flex: 50%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
}







/* Community STEM Cards */
:root {
  /* Paletă dark theme */
  --bg: #0b0d10;            /* fundal principal */
  --card: #11151a;          /* card background */
  --text: #eaf2ff;          /* text principal */
  --muted: #a7b4c6;         /* text secundar */
  --accent: #6ee7ff;        /* turcoaz deschis */
  --accent-2: #9b8cff;      /* mov pastel */
  --shadow: 0 12px 30px rgba(0,0,0,.35);
  --radius: 16px;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial;
  background: radial-gradient(1200px 800px at 80% -10%, rgba(110,231,255,.15), transparent 60%),
              radial-gradient(900px 600px at -10% 20%, rgba(155,140,255,.12), transparent 60%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
}



.wrap {
  max-width: 1100px;
  margin: 72px auto;
  padding: 0 20px 80px;
}

.kicker {
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: .1em;
}

h1 {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  margin-bottom: 8px;
}

.lead {
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 70ch;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), var(--card);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  opacity: 0;
  transform: translateY(8px);
  transition: all .5s ease;
}
.card.revealed { opacity: 1; transform: none; }
.card:hover { border-color: rgba(141,211,255,.55); }

.icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,.2),
              0 10px 22px rgba(0,0,0,.25);
  margin-bottom: 14px;
}
.icon-wrap svg { width: 28px; height: 28px; fill: #fff; }

.title { margin: 0 0 8px; font-size: 1.15rem; }
.desc { margin: 0 0 10px; color: var(--muted); }

.more {
  margin: 10px 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  line-height: 1.65;
  animation: fadeIn .3s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.cta {
  color: var(--accent);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: all .3s ease;
}
.cta:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}









/* About us section */
.about {
  background: var(--bg);
  color: var(--text);
  padding: 100px 20px;
  text-align: center;
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.about p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.about-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.about-card {
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
              var(--card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 20px 25px;
  max-width: 300px;
  box-shadow: var(--shadow);
  transition: transform .3s ease;
}
.about-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.about-card h3 {
  color: var(--accent-2);
  margin-bottom: 10px;
}

.about-btn {
  display: inline-block;
  margin-top: 40px;
  padding: 12px 20px;
  border-radius: 12px;
  color: var(--accent);
  border: 1px solid rgba(255,255,255,.15);
  text-decoration: none;
  font-weight: 600;
  transition: all .3s ease;
}
.about-btn:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
}

html {scroll-behavior:smooth;}

.container {
  position: relative;
  max-width: 800px; /* Maximum width */
  margin: 0 auto; /* Center it */
}

.container .content {
  position: absolute; /* Position the background text */
  bottom: 0; /* At the bottom. Use top:0 to append it to the top */
  background: rgb(0, 0, 0); /* Fallback color */
  background: rgba(0, 0, 0, 0.5); /* Black background with 0.5 opacity */
  color: #f1f1f1; /* Grey text */
  width: 100%; /* Full width */
  padding: 20px; /* Some padding */
}




.about.section { background: var(--bg); color: var(--text); padding: 90px 20px; }
.about-wrap { max-width: 1100px; margin: 0 auto; }
.about-title { color: var(--accent); font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.6rem); margin: 0 0 12px; }
.about-lead { color: var(--muted); max-width: 80ch; line-height: 1.75; margin: 0 0 28px; }

/* Mission/Vision grid */
.about-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.flip-card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), var(--card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px; box-shadow: var(--shadow); padding: 18px; overflow: hidden;
  transition: border-color .3s ease, transform .3s ease;
}
.flip-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.flip-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.flip-title { margin: 0; font-size: 1.15rem; letter-spacing: -.01em; }
.flip-toggle {
  white-space: nowrap; padding: 8px 12px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0));
  color: var(--text); font-weight: 600; cursor: pointer; transition: all .25s ease;
}
.flip-toggle:hover { border-color: var(--accent-2); color: var(--accent-2); }

/* Expand panel animation */
.flip-panel {
  margin-top: 12px; border-top: 1px solid rgba(255,255,255,.08); padding-top: 12px;
  height: 0; opacity: 0; overflow: hidden; transition: height .35s ease, opacity .35s ease;
}
.flip-card.open .flip-panel { height: auto; opacity: 1; }
.bullets { margin: 12px 0 0; padding-left: 18px; color: var(--muted); line-height: 1.65; }
.bullets li { margin: 4px 0; }

/* Quote */
.about-quote {
  margin: 26px auto; max-width: 900px; text-align: center; font-size: 1.1rem; line-height: 1.8;
  color: var(--text); padding: 14px 18px; border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), var(--card);
  border: 1px solid rgba(255,255,255,.12);
}
.about-quote span { display: block; margin-top: 6px; color: var(--muted); font-size: .95rem; }

/* Why We Exist highlight */
.why-box {
  margin: 22px 0; padding: 18px 20px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(110,231,255,.08), rgba(155,140,255,.08));
  border: 1px solid rgba(255,255,255,.12);
}
.why-box h3 { margin: 0 0 8px; color: var(--accent); }
.why-box p { margin: 0; color: var(--text); }

/* Mini values */
.mini-values { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 18px; }
.mini-card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), var(--card);
  border: 1px solid rgba(255,255,255,.1); border-radius: 14px; padding: 16px;
  transition: transform .25s ease, border-color .25s ease;
}
.mini-card:hover { transform: translateY(-3px); border-color: var(--accent); }
.mini-card h4 { margin: 0 0 6px; color: var(--accent-2); }
.mini-card p { margin: 0; color: var(--muted); }

/* Faces of Innovation */
.faces { margin-top: 26px; text-align: center; }
.faces h3 { color: var(--accent); margin-bottom: 12px; }
.faces-grid {
  display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.faces-grid img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12); box-shadow: var(--shadow);
}
.faces-caption { color: var(--muted); margin-top: 8px; }

/* CTA row */
.about-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 26px; }
.btn {
  display: inline-block; padding: 12px 18px; border-radius: 12px; text-decoration: none; font-weight: 700;
  color: var(--bg); background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0,0,0,.45); }
.btn.secondary {
  color: var(--accent); background: transparent; border: 1px solid rgba(255,255,255,.14);
}
.btn.secondary:hover { color: var(--accent-2); border-color: var(--accent-2); transform: translateY(-2px); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .flip-panel, .mini-card, .btn { transition: none !important; }
}







/* News Section */
.news {
  background: var(--bg);
  color: var(--text);
  padding: 100px 20px;
  text-align: center;
}

.news h2 {
  color: var(--accent);
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.news-intro {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

.news-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.news-card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), var(--card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: left;
  transition: transform .3s ease;
}

.news-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--accent-2);
}

.news-content p {
  color: var(--muted);
  margin-bottom: 15px;
  line-height: 1.6;
}

.news-btn {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color .3s ease;
}

.news-btn:hover {
  color: var(--accent-2);
}










/* Home page section Style */
/* HERO SECTION */
.hero {
  background: linear-gradient(180deg, rgba(0,0,0,.6), rgba(0,0,0,.7)),
              url("images/tesla-hero.jpg") center/cover no-repeat;
  color: var(--text);
  text-align: center;
  padding: 160px 20px;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
  margin-bottom: 20px;
  color: var(--accent);
  line-height: 1.3;
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
  border: 1px solid var(--accent);
  transition: all .3s ease;
}







/* Home Page Responsive Image Grid */
.row {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
}

/* Create four equal columns that sits next to each other */
.column {
  flex: 25%;
  max-width: 25%;
  padding: 0 4px;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}







/* Projects Section Start */
.presentations {
  background: var(--bg);
  color: var(--text);
  padding: 90px 20px;
}

.pres-hero {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 36px;
}

.presentations h2 {
  font-size: clamp(1.8rem, 1.2rem + 2.2vw, 2.6rem);
  margin: 0 0 10px;
  color: var(--accent);
}

.pres-intro {
  color: var(--muted);
  line-height: 1.7;
  margin: 0 auto 22px;
  max-width: 75ch;
}

.pres-cta {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all .25s ease;
}
.btn:hover { background: var(--accent); color: var(--bg); }
.btn.secondary { border-color: var(--accent-2); color: var(--accent-2); }
.btn.secondary:hover { background: var(--accent-2); color: var(--bg); }

/* Disabled chips (future filters) */
.pres-filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  opacity: .7;
}
.chip {
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor: not-allowed;
}

/* Grid */
.pres-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  margin-top: 26px;
}

/* Card base */
.pres-card {
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), var(--card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s ease, border-color .3s ease;
  display: grid;
  grid-template-rows: 160px auto;
}
.pres-card:hover { transform: translateY(-6px); border-color: var(--accent); }

/* Placeholder thumbnail */
.pres-card .thumb {
  background:
    radial-gradient(800px 400px at 90% -10%, rgba(110,231,255,.18), transparent 60%),
    radial-gradient(600px 300px at -10% 120%, rgba(155,140,255,.16), transparent 60%),
    #0e1319;
}

/* Content */
.pres-card .meta { padding: 16px 16px 18px; }
.pres-card .title { margin: 0 0 6px; font-size: 1.1rem; }
.pres-card .desc { color: var(--muted); margin: 0 0 12px; line-height: 1.6; }
.badge {
  display: inline-block;
  font-size: .8rem;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--accent-2);
}

/* Skeleton shimmer */
.skeleton .skeleton-box,
.skeleton .skeleton-line {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border-radius: 10px;
}
.skeleton .skeleton-box::after,
.skeleton .skeleton-line::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.16), transparent);
  animation: shimmer 1.4s infinite;
}
@keyframes shimmer {
  100% { transform: translateX(100%); }
}
.skeleton .title.skeleton-line { height: 18px; width: 70%; }
.skeleton .desc.skeleton-line { height: 14px; width: 95%; margin-top: 10px; }

/* Note */
.pres-note {
  text-align: center;
  color: var(--muted);
  margin: 18px auto 0;
  max-width: 70ch;
}








/* Vote Section */
.vote {
  position: relative;
  overflow: hidden;
  padding: 90px 20px;
  color: var(--text);
  background: var(--bg);
}

.vote-wrap {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  z-index: 2;
}

.vote-title {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 2.8rem);
  margin: 8px 0 10px;
  color: var(--accent);
  letter-spacing: -0.02em;
}

.vote-lead {
  color: var(--muted);
  max-width: 75ch;
  margin: 0 auto 18px;
  line-height: 1.75;
}

.vote-highlights {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin: 16px 0 22px;
}

.chip {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
  font-size: .95rem;
}

.vote-cta {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin: 10px 0 8px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease, color .2s ease;
}

.btn-primary {
  color: var(--bg);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border: 1px solid transparent;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0,0,0,.45);
}

.btn-ghost {
  color: var(--accent);
  border: 1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0));
}
.btn-ghost:hover {
  color: var(--accent-2);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}

.vote-note {
  color: var(--muted);
  margin-top: 14px;
}

/* FAQ */
.vote-faq {
  width: min(700px, 95%);
  margin: 18px auto 0;
  text-align: left;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)), var(--card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  padding: 12px 16px;
}
.vote-faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
}
.vote-faq p {
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.65;
}

/* Ambient background glow */
.vote-bg {
  position: absolute; inset: -10% -10% -10% -10%;
  background:
    radial-gradient(900px 600px at 90% -10%, rgba(110,231,255,.16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(155,140,255,.14), transparent 60%),
    radial-gradient(700px 500px at 50% 0%, rgba(110,231,255,.08), transparent 60%);
  filter: blur(2px);
  z-index: 1;
  pointer-events: none;
}

/* Optional: subtle pulse on primary CTA */
#vote-btn { position: relative; }
#vote-btn::after {
  content: ""; position: absolute; inset: -6px; border-radius: 14px;
  background: radial-gradient(120px 60px at 50% 50%, rgba(110,231,255,.18), transparent 60%);
  opacity: .0; transition: opacity .3s ease;
}
#vote-btn:hover::after { opacity: .9; }

@media (prefers-reduced-motion: reduce){
  .btn, #vote-btn::after { transition: none !important; }
}




/* Hme page image grid click */
/* Imaginea normală din grid */
.column img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.column img:hover {
  transform: scale(2.04);
}

/* Lightbox (imagine mărită pe tot ecranul) */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
}

/* Imaginea mărită */
.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s ease;
}

/* Textul de sub imagine */
#caption {
  margin: 10px auto;
  text-align: center;
  color: #ccc;
  font-size: 18px;
}

/* Butonul de închidere (X) */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.close:hover {
  color: #ff4757;
}

@keyframes zoomIn {
  from {transform: scale(0.7);}
  to {transform: scale(1);}
}





/* news pdf try */
.years-grid{
  display:grid;
  gap:18px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* Card de an */
.year-card{
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), var(--card);
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px;
  box-shadow: var(--shadow);
  padding:18px;
  transition: transform .25s ease, border-color .25s ease;
}
.year-card:hover{ transform: translateY(-4px); border-color: var(--accent); }

.year-header h3{ margin:6px 0 6px; color: var(--text); font-size:1.15rem; }
.year-desc{ color: var(--muted); margin:0 0 12px; line-height:1.6; }

/* Badge cu anul */
.year-badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:10px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color: var(--accent);
  font-weight:700;
  letter-spacing:.03em;
}

/* Butoane Day */
.year-days{ display:flex; flex-wrap:wrap; gap:8px; }
.chip{
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  cursor:pointer;
  transition: border-color .2s ease, transform .2s ease, color .2s ease;
}
.chip:hover{ border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ===== Modal PDF (full-screen) ===== */
.pdf-modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center;
  background: rgba(0,0,0,.9); z-index:9999; padding:20px; }
.pdf-modal.active{ display:flex; }
.pdf-dialog{
  width:min(1200px,96vw); height:min(90vh,96vh); background:var(--card);
  border:1px solid rgba(255,255,255,.14); border-radius:14px; box-shadow:var(--shadow);
  display:grid; grid-template-rows:auto 1fr; overflow:hidden; position:relative;
}
.pdf-toolbar{
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 12px; border-bottom:1px solid rgba(255,255,255,.1);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
}
.pdf-toolbar h4{ margin:0; font-size:1rem; color:var(--text); }
.pdf-actions{ display:flex; gap:8px; align-items:center; }
#pdfFrame{ width:100%; height:100%; border:0; background:#0b0d10; }
.btn-ghost, .pdf-close{
  color:var(--text); background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14); border-radius:10px;
  padding:8px 12px; font-weight:600; cursor:pointer; text-decoration:none;
  transition: background .2s ease, border-color .2s ease;
}
.btn-ghost:hover, .pdf-close:hover{ background:rgba(255,255,255,.12); border-color:var(--accent); }
.pdf-close{
  position:absolute; top:8px; right:8px; width:36px; height:36px; padding:0;
  font-size:20px; line-height:1;
}