.contact-page i {
  font-size: 20px;
}

.contact-page .bg-danger {
  min-width: 50px;
  text-align: center;
}

.contact-map iframe {
  width: 100%;
  display: block;
}
.quick-actions {
  max-width: 1200px;
  margin: 60px auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}
.quick-actions {
  max-width: 1200px;
  margin: 60px auto;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.quick-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e3e3e3;
  text-decoration: none !important;
  color: #222;
  transition: all 0.3s ease;
}

.quick-card i {
  font-size: 28px;
  color: #c4161c; /* roșu instituțional */
  margin-top: 4px;
  min-width: 32px;
}

..quick-card h3 {
  font-size: 17px;
  margin: 0 0 6px 0;
  font-weight: 700;
  color: #c4161c; /* roșu pentru titlu */
}

.quick-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}

.quick-card:hover {
  background: #fff5f5;
  border-color: #c4161c;
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 992px) {
  .quick-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .quick-grid {
    grid-template-columns: 1fr;
  }
}

/* Fortam culoarea titlului pe hover (link override Helix/Bootstrap) */
.quick-actions a:hover h3,
.quick-actions a:hover h4 {
  color: #c62828 !important;
}
/* Mesajul Primarului */
.mayor-message {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  background: #ffffff;
  border-left: 6px solid #c62828;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

/* Poza */
.mayor-photo img {
  width: 800px;
  height: auto;
  border-radius: 6px;
  border: 3px solid #c62828;
}

/* Text */
.mayor-text h2 {
  color: #c62828;
  margin-bottom: 15px;
  font-weight: 700;
}

.mayor-text p {
  color: #333;
  line-height: 1.7;
  margin-bottom: 12px;
  font-size: 16px;
}

/* Semnatura */
.mayor-signature {
  margin-top: 20px;
  font-size: 16px;
}

/* Responsive */
@media (max-width: 768px) {
  .mayor-message {
    flex-direction: column;
    text-align: center;
  }

  .mayor-photo img {
    margin: 0 auto 20px;
  }
}
/* stare initiala */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

/* cand devine vizibil */
.scroll-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* varianta cu zoom */
.scroll-animate.zoom {
    transform: translateY(30px) scale(0.96);
}

.scroll-animate.zoom.is-visible {
    transform: translateY(0) scale(1);
}
/* ANUNTURI IMPORTANTE */
/* ===============================
   ANUNTURI IMPORTANTE – FULL WIDTH
   =============================== */

.fullwidth-cards {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 50px 8%;
  background: #f7f7f7;
}

/* TITLU */
.fullwidth-cards .module-title {
  text-align: center;
  color: #b30000;
  font-weight: 800;
  margin-bottom: 40px;
}

/* LISTA → GRID */
.fullwidth-cards ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* CARD */
.fullwidth-cards ul li {
  background: #fff;
  padding: 25px;
  aspect-ratio: 1 / 1; /* CARD PATRAT */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

/* HOVER */
.fullwidth-cards ul li:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(179,0,0,0.25);
}

/* TITLU ARTICOL */
.fullwidth-cards ul li a {
  color: #000;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.fullwidth-cards ul li a:hover {
  text-decoration: underline;
}

/* READ MORE */
.fullwidth-cards ul li .readmore,
.fullwidth-cards ul li span {
  font-size: 0.9rem;
  color: #555;
}

/* ICON SUS */
/* ICON SUS – stil card institutional */
.fullwidth-cards ul li::before {
  content: "\f38b"; /* bi-journal-arrow-down */
  font-family: "Bootstrap-icons";
  font-size: 26px;
  color: #fff;

  width: 56px;
  height: 56px;
  background: #b30000;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0 auto 18px auto;
}



/* GALERIE FOTO */

.gallery-carousel img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
  border-radius: 0;
  transition: transform .3s ease;
}

.gallery-carousel img:hover {
  transform: scale(1.05);
}

.gallery-carousel .carousel-control-prev,
.gallery-carousel .carousel-control-next {
  width: 5%;
}
/* SECTION sp-bottom */
/* GRID FOOTER */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* COLOANE */
.footer-col h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 15px;
}

/* CONTACT */
.contact-box {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.contact-box .icon {
  font-size: 18px;
}

/* LINKURI */
.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

/* IMAGINE */
.footer-image {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
/* HERO SLIDESHOW */
/* ELIMINARE ORICE SPAȚIU SUS */
html, body {
  margin: 0;
  padding: 0;
}

.hero-slideshow {
  width: 100vw;
  height: 100vh;
  margin-left: calc(-50vw + 50%);
  position: relative;
  overflow: hidden;
}


.hero-slideshow .swiper,
.hero-slideshow .swiper-slide {
  height: 100%;
}

.hero-slideshow .swiper-slide {
  background-size: cover;
  background-position: center;
  position: relative;
}

/* overlay */
.hero-slideshow .swiper-slide {
  position: relative;
  overflow: hidden;
}

/* imaginea reală mutată în ::before */
.hero-slideshow .swiper-slide::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: inherit;
  background-size: cover;
  background-position: center;

  transform: scale(1);
  transition: transform 15s ease;
}

/* overlay întunecat */
.hero-slideshow .swiper-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* ZOOM DOAR PE SLIDE ACTIV */
.hero-slideshow .swiper-slide.swiper-slide-active::before {
  transform: scale(1.15);
}


/* continut */
.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 30px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  color: #fff;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
}

.hero-content p {
  font-size: 1.2rem;
  margin: 15px 0 25px;
}

.hero-btn {
  display: inline-block;
  background: #b30000;
  color: #fff;
  padding: 12px 28px;
  text-decoration: none;
  width: fit-content;
}
@media (max-width: 768px) {
  .hero-slideshow {
    height: 70vh;
  }

  .hero-content h1 {
    font-size: 2rem;
  }
}
#sp-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: transparent;
}
.hero-content {
  padding-top: 100px;
}
.hero-overlay-global {
  position: absolute;
  inset: 0;
  z-index: 5; /* peste swiper + overlay */
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slideshow .swiper-slide::after {
  z-index: 1;
}

.hero-overlay-global .hero-content {
  position: relative;
  z-index: 10;
}
.hero-bg-text {
  position: absolute;
  font-size: clamp(6rem, 18vw, 20rem);
  font-weight: 900;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.2em;
  white-space: nowrap;
  z-index: 2;
  pointer-events: none;
}

.hero-slideshow {
  position: relative;
  z-index: 1;
}

/* OVERLAY GLOBAL */
.hero-overlay-global {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

/* TEXT MARE DIN FUNDAL */
.hero-bg-text {
  position: absolute;
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  white-space: nowrap;
  z-index: 1;
}

/* CONTINUT */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  padding: 0 30px;
  pointer-events: auto;
}

/* TITLU PRINCIPAL */
.hero-content h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
}

/* DESCRIERE */
.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 850px;
  margin: 0 auto 40px;
  opacity: 0.95;
}

/* BUTOANE */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  padding: 14px 32px;
  border: 2px solid #fff;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-btn.primary {
  background: #b30000;
  border-color: #b30000;
}

.hero-btn:hover {
  background: #fff;
  color: #000;
}



/*HEADER*/
#sp-header {
  background: rgba(0, 0, 0, 0.17); /* transparent */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

sp-dropdown sp-dropdown-main sp-menu-right {
  background: rgba(0, 0, 0, 0.17); /* transparent */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* SUBMENU */
.sp-megamenu-parent > li > .sp-dropdown {
  background: rgba(0, 0, 0, 0.17);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* LINKURI SUBMENU */
.sp-megamenu-parent .sp-dropdown a {
  color: #fff;
}

/* HOVER */
.sp-megamenu-parent .sp-dropdown a:hover {
  background: rgba(179, 0, 0, 0.85);
  color: #fff;
}
.sp-megamenu-parent .sp-dropdown-inner {
  background: transparent;
}
.sp-megamenu-parent > li > .sp-dropdown {
  background: rgba(0,0,0,.17) !important;
}
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
  background: rgba(0, 0, 0, 0.17); /* transparent */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.sp-dropdown .sp-dropdown-main .sp-menu-right {
  background: rgba(0, 0, 0, 0.17); /* transparent */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* DOCUMENTE DESCĂRCARE */
.documente-download {
  padding: 60px 8%;
  background: #f7f7f7;
}

.documente-download .module-title {
  text-align: center;
  color: #b30000;
  font-weight: 800;
  margin-bottom: 40px;
}

/* GRID */
.documente-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

/* CARD */
.doc-card {
  background: #fff;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;

  border: 1px solid #e5e5e5;
  transition: all 0.3s ease;
}

/* ICON */
.doc-card i {
  font-size: 48px;
  color: #b30000;
}

/* TEXT */
.doc-card span {
  color: #333;
  font-weight: 600;
  font-size: 1rem;
}

/* HOVER */
.doc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(179,0,0,0.25);
}

.doc-card:hover span {
  color: #b30000;
}

.preloader,
#preloader,
.page-loader,
.page-loading {
  display: none !important;
}
