/* ======================================================
   VARIABLES
====================================================== */

:root{
  --green:#0e492b;
  --green2:#146b40;
  --gray:#f8f9fa;
}


/* ======================================================
   GLOBAL
====================================================== */

html, body{
  height:100%;
}

body{
  margin:0;
  min-height:100vh;

  display:flex;
  flex-direction:column;

  font-family:'Inter', system-ui, sans-serif;
  background:#f6f7f8;
}

.site-content{
  flex:1 0 auto;
  margin-top:48px;
}

.site-footer{
  flex-shrink:0;
}


/* ======================================================
   BUTTONS
====================================================== */

/* buton principal */

.btn-primary-site{
  background:var(--green);
  border-color:var(--green);
  color:#fff;
}

.btn-primary-site:hover{
  background:var(--green2);
  border-color:var(--green2);
  color:#fff;
}


/* buton outline */

.btn-outline-site{
  background:transparent;
  border:2px solid var(--green);
  color:var(--green);
}

.btn-outline-site:hover{
  background:var(--green);
  color:#fff;
  border-color:var(--green);
}

/* ======================================================
   HEADER
====================================================== */

.top-header{
  height:60px;
  background:var(--gray);

  display:flex;
  align-items:center;

  padding: 15px;
}

/* Desktop */
@media(min-width:992px){
  .top-header{
    justify-content:space-around;
  }
}

/* Tablet */
@media(min-width:768px) and (max-width:991px){
  .top-header{
    justify-content:space-between;
  }
}

/* Telefon */
@media(max-width:767px){
  .top-header{
    justify-content:center;
  }
}

/* Logo */

.logo-img{
  height:38px;
  max-width:220px;
  object-fit:contain;
}


/* ======================================================
   SEARCH ANIMAT
====================================================== */

.search-box{
  position:relative;
  height:40px;
}

.search-input{
  height:40px;
  width:40px;

  border:none;
  outline:none;
  padding:0;

  border-radius:50%;
  background:var(--green);
  color:#fff;

  transition:.3s;
}

.search-input::placeholder{
  opacity:0;
}

.search-btn{
  width:40px;
  height:40px;

  position:absolute;
  right:0;
  top:0;

  border:none;
  background:none;
  color:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
}

/* deschis */

.search-box.open .search-input{
  width:260px;
  border-radius:20px;
  padding:0 40px 0 15px;

  background:#fff;
  color:#111;

  border:1px solid var(--green);
  box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.search-box.open .search-input::placeholder{
  opacity:1;
}

.search-box.open .search-btn{
  color:var(--green);
}

/* fara search pe telefon */

@media(max-width:767px){
  .search-box{
    display:none;
  }
}


/* ======================================================
   GREEN BAR (MOBILE NAV)
====================================================== */

.green-bar{
  height:48px;
  background:var(--green);

  display:flex;
  align-items:center;
  justify-content:flex-end;

  padding:15px;

  position:fixed;
  top:60px;
  left:0;
  width:100%;

  z-index:1500;
}




/* ======================================================
   HAMBURGER
====================================================== */

.toggler{
  border:0;
  background:none;
  cursor:pointer;
  padding:6px;
}

.hamburger{
  width:26px;
  height:3px;
  background:#fff;
  position:relative;
  transition:.3s;
}

.hamburger::before,
.hamburger::after{
  content:'';
  width:26px;
  height:3px;
  background:#fff;
  position:absolute;
  left:0;
  transition:.3s;
}

.hamburger::before{
  top:-8px;
}

.hamburger::after{
  top:8px;
}

.toggler.open .hamburger{
  background:transparent;
}

.toggler.open .hamburger::before{
  top:0;
  transform:rotate(45deg);
}

.toggler.open .hamburger::after{
  top:0;
  transform:rotate(-45deg);
}


/* ======================================================
   DESKTOP NAVBAR
====================================================== */

.main-navbar{
  background:var(--green);

  position:fixed;
  top:60px;
  left:0;
  width:100%;

  z-index:1500;
}


.main-navbar .nav-link{
  color:#fff;
  padding:12px 22px;
  font-size:15px;
  font-weight:500;
}

.main-navbar .nav-link:hover{
  background:rgba(255,255,255,.1);
  border-radius:6px;
}

.main-navbar .dropdown-menu{
  border:0;
  border-radius:8px;
  box-shadow:0 10px 25px rgba(0,0,0,.18);
}

/* ======================================================
   NAVBAR DROPDOWN
====================================================== */

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus,
.dropdown-menu .dropdown-item.active{
  transition: .25s ease;
  background:#0e492b;
  color:#fff;
}

.dropdown-menu .dropdown-item:active{
  background:#146b40;
  color:#fff;
}

/* ======================================================
   DRAWER MENU (MOBILE)
====================================================== */

.drawer{
  position:fixed;
  top:0;
  right:-300px;

  width:300px;
  height:100vh;

  background:var(--green);
  color:#fff;

  padding:20px;

  transition:.3s;
  z-index:2000;

  overflow:auto;
}

.drawer.show{
  right:0;
}

/* header */

.drawer-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:20px;
}

.drawer-close{
  font-size:34px;
  cursor:pointer;
  line-height:1;
}


/* link */

.drawer-link{
  color:#fff;
  text-decoration:none;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:12px 0;
  font-size:16px;
}

.drawer-link:hover{
  color:#dff3e9;
}


/* submenu */

.drawer-sub{
  display:none;
  border-left:2px solid rgba(255,255,255,.2);
  margin-bottom:10px;
}

.drawer-sub a{
  display:block;
  padding:8px 0 8px 14px;
  color:#fff;
  font-size:14px;
  text-decoration:none;
}

.drawer-sub a:hover{
  color:#dff3e9;
}


/* search mobil */

.drawer-search{
  margin-top:20px;
}

.drawer-search input{
  width:100%;
  height:40px;
  border:0;
  border-radius:20px;
  padding:0 15px;
}


/* ======================================================
   OVERLAY
====================================================== */

.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.4);
  display:none;
  z-index:1500;
}

.overlay.show{
  display:block;
}


/* ======================================================
   NAV RESPONSIVE
====================================================== */

@media(max-width:991px){
  .desktop-menu{
    display:none;
  }
}

@media(min-width:992px){
  .green-bar,
  .drawer,
  .overlay{
    display:none!important;
  }
}

/* ======================================================
   SCROLL LOGO
====================================================== */

.scroll-logo{
  height:26px;
  opacity:0;
  transform:translateY(-5px);

  transition:all .3s ease;

  position:absolute;
  left:15px;
}

.scroll-logo.show{
  opacity:1;
  transform:translateY(0);
}


/* ======================================================
   HERO
====================================================== */

.hero{
  position:relative;
  width:100%;
  height:75vh;
  min-height:420px;

  background:url("../img/tabani1.png") center/cover no-repeat;

  display:flex;
  align-items:center;
  color:#fff;
}


/* ======================================================
   HERO OVERLAY
====================================================== */

.hero::before{
  content:"";
  position:absolute;
  inset:0;

  background:linear-gradient(
    90deg,
    rgba(14,73,43,0.1) 0%,
    rgba(14,73,43,0.07) 30%,
    rgba(255,255,255,0.04) 60%
  );
}


/* ======================================================
   HERO CONTENT
====================================================== */

.hero-content{
  position:relative;
  z-index:2;

  max-width:900px;
  padding:0 30px;
}

.hero-content > *{
  position:relative;
}


/* ======================================================
   HERO TEXT
====================================================== */

/* FIX IMPORTANT:
   era scris:
   .hero-content-inner h1,p
   ceea ce afecta toate p din site
*/

.hero-content-inner h1,
.hero-content-inner p{
  color:#0b3d25;
}


/* ======================================================
   HERO TITLE
====================================================== */

.hero h1{
  font-size:clamp(32px,4vw,56px);
  margin-bottom:15px;

  text-shadow:0 3px 14px rgba(0,0,0,.35);

  font-family:'Montserrat',sans-serif;
  letter-spacing:.3px;
}

.hero p{
  font-size:clamp(16px,2vw,20px);
  max-width:650px;
  margin-bottom:25px;

  line-height:1.55;
  opacity:.98;

  text-shadow:0 2px 10px rgba(0,0,0,.25);
}


/* ======================================================
   HERO BUTTONS
====================================================== */

.hero-buttons{
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  align-items:center;
}


/* ======================================================
   HERO TYPOGRAPHY
====================================================== */

.hero-title{
  font-family:'Montserrat',sans-serif;
  line-height:1.2;
}

.hero-light{
  font-weight:100;
  opacity:.95;
}

.hero-strong{
  font-weight:800;
  letter-spacing:.3px;
}


/* ======================================================
   HERO ANIMATION
====================================================== */

.hero h1,
.hero p,
.hero-buttons{
  animation:textFade .7s ease-out both;
}

.hero p{
  animation-delay:.15s;
}

.hero-buttons{
  animation-delay:.3s;
}

@keyframes textFade{
  from{
    opacity:0;
    transform:translateY(12px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}


/* ======================================================
   HERO RESPONSIVE
====================================================== */

@media(max-width:991px){

  .hero-content-inner h1,
  .hero-content-inner p{
    color:#eee;
  }

  .hero{
    height:65vh;
    min-height:420px;
    background-position:center top;
  }

  .hero::before{
    content:"";
    position:absolute;
    inset:0;

    background:linear-gradient(
      135deg,
      rgba(14,73,43,0.65) 0%,
      rgba(14,73,43,0.35) 35%,
      rgba(14,73,43,0.15) 55%,
      rgba(255,255,255,0) 75%
    );

    backdrop-filter:blur(6px);
    -webkit-backdrop-filter:blur(6px);
  }

  .hero-content{
    text-align:center;
    width:100%;
    padding:0 16px;
  }

  .hero-content-inner{
    display:inline-block;
    width:min(640px,100%);
    padding:18px 16px;
    border-radius:14px;
  }

  .hero-buttons{
    justify-content:center;
  }

  .hero-buttons a{
    width:min(320px,100%);
  }

}

@media(max-width:420px){

  .hero-content-inner{
    padding:16px 14px;
  }

  .hero h1,
  .hero p,
  .hero-buttons{
    animation:none;
  }

}


/* ======================================================
   HERO LARGE SCREEN
====================================================== */

@media(min-width:992px) and (max-width:1199px){

  .hero-content{
    max-width:58%;
  }

}

@media(min-width:1200px){

  .hero-content{
    margin-left:60px;
  }

}


/* ======================================================
   HERO IMAGE MOBILE ADJUST
====================================================== */

@media(max-width:991px){

  .hero{
    background:url("../img/tabani1.png") center/cover no-repeat;
    background-position:center right -25px;
  }

}

/* ======================================================
   QUICK ACCESS
====================================================== */

.quick-access{
  position:relative;
  z-index:20;

  margin-top:-60px;
  padding-bottom:25px;
}

/* link */

.quick-item{
  text-decoration:none;
  color:#222;

  display:flex;
  flex-direction:column;
  align-items:center;

  transition:.25s;
}

/* cerc */

.quick-circle{
  width:100px;
  height:100px;

  background:#fff;
  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  box-shadow:0 6px 18px rgba(0,0,0,.18);

  margin-bottom:2px;

  transition:.25s;
}

/* icon */

.quick-circle i{
  font-size:34px;
  color:var(--green);
}

/* text */

.quick-item p{
  margin:0;
  font-weight:600;
  font-size:16px;
}

/* hover */

.quick-item:hover{
  transform:translateY(-5px);
}

.quick-item:hover .quick-circle{
  box-shadow:0 10px 26px rgba(0,0,0,.22);
}


/* tablet */

@media(min-width:768px) and (max-width:991px){

  .quick-access{
    margin-top:-40px;
    padding-top:0;
  }

}

/* mobile */

@media(max-width:767px){

  .quick-access{
    margin-top:0;
    padding-top:30px;
  }

}



/* ======================================================
   GENERIC SECTIONS
====================================================== */

.section-pad{
  padding:40px 0;
}

.section-alt{
  background:#f6f7f8;
}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;

  margin-bottom:18px;
}

.section-title{
  margin:0;
  font-size:26px;
  font-weight:700;
  font-family:'Montserrat',sans-serif;
  color:#111;
}

.section-link{
  text-decoration:none;
  color:var(--green);
  font-weight:600;
  white-space:nowrap;
}

.section-link:hover{
  text-decoration:underline;
}


/* responsive header */

@media(max-width:575px){

  .section-head{
    align-items:flex-start;
    flex-direction:column;
  }

}



/* ======================================================
   POST CARD (ANUNTURI)
====================================================== */

.post-card{
  height:100%;
  background:#fff;

  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;

  padding:18px;

  box-shadow:0 10px 22px rgba(0,0,0,.06);
  transition:.25s;

  display:flex;
  flex-direction:column;
}

.post-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 30px rgba(0,0,0,.10);
}


/* meta */

.post-meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;

  margin-bottom:10px;
}

.post-date{
  color:rgba(0,0,0,.55);
  font-size:14px;
  font-weight:500;
}

.post-badge{
  font-size:12px;
  font-weight:700;

  padding:6px 10px;
  border-radius:999px;

  background:var(--green);
  color:#fff;
}

.post-badge.soft{
  background:rgba(14,73,43,.12);
  color:var(--green);
  border:1px solid rgba(14,73,43,.18);
}


/* title */

.post-title{
  font-size:18px;
  line-height:1.35;

  margin:0 0 10px 0;
  font-weight:700;

  color:#0b3d25;
}


/* excerpt */

.post-excerpt{
  margin:0 0 14px 0;

  color:rgba(0,0,0,.7);
  line-height:1.55;
  font-size:15px;

  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}


/* link */

.post-link{
  margin-top:auto;
  text-decoration:none;
  color:var(--green);
  font-weight:700;
}

.post-link:hover{
  text-decoration:underline;
}



/* ======================================================
   NEWS CARD (NOUTĂȚI)
====================================================== */

.news-card{
  height:100%;
  background:#fff;

  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;

  overflow:hidden;

  box-shadow:0 10px 22px rgba(0,0,0,.06);
  transition:.25s;
}

.news-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 30px rgba(0,0,0,.10);
}


/* imagine */

.news-thumb{
  display:block;
  position:relative;

  aspect-ratio:16/10;

  overflow:hidden;
  background:#e9ecef;
}

.news-thumb img{
  width:100%;
  height:100%;

  object-fit:cover;
  display:block;

  transition:.35s;
}

.news-card:hover .news-thumb img{
  transform:scale(1.05);
}


/* body */

.news-body{
  padding:16px 16px 18px;
}

.news-meta{
  color:rgba(0,0,0,.55);
  font-size:13px;
  font-weight:500;

  margin-bottom:8px;
}

.news-title{
  font-size:16px;
  line-height:1.35;

  margin:0 0 10px 0;

  font-weight:800;
  color:#111;
}

.news-excerpt{
  margin:0 0 14px 0;

  color:rgba(0,0,0,.7);
  line-height:1.55;
  font-size:14.5px;

  overflow:hidden;

  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

/* ======================================================
   FOOTER
====================================================== */

.site-footer{
  background:var(--green);
  color:rgba(255,255,255,.92);

  padding:44px 0 18px;
  margin-top:0;
}

.footer-wrap{
  max-width:1150px;
}


/* ======================================================
   FOOTER GRID
====================================================== */

.footer-grid{
  display:grid;
  grid-template-columns:1.3fr 1fr 1fr 1.2fr;
  gap:26px;

  align-items:start;
}


/* ======================================================
   FOOTER TITLES
====================================================== */

.footer-title{
  margin:0 0 12px;

  font-size:13px;
  font-weight:700;

  letter-spacing:.6px;
  text-transform:uppercase;

  color:#fff;
}


/* ======================================================
   FOOTER BRAND
====================================================== */

.footer-brand{
  display:flex;
  flex-direction:column;
  gap:12px;

  align-items:flex-start;
}

.footer-logo{
  height:42px;
  width:auto;

  max-width:220px;
  object-fit:contain;

  opacity:.95;
}

.footer-brand-text{
  max-width:240px;
}

.footer-brand-name{
  font-weight:600;
  font-size:15px;
  line-height:1.25;
  color:#fff;
}

.footer-muted{
  font-size:13px;
  opacity:.85;
  margin-top:6px;
}


/* ======================================================
   FOOTER LISTS
====================================================== */

.footer-list,
.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-list li{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}

.footer-list i{
  width:18px;
  color:#fff;
  opacity:.9;
}


/* ======================================================
   FOOTER LINKS
====================================================== */

.site-footer a{
  color:rgba(255,255,255,.92);
  text-decoration:none;
}

.site-footer a:hover{
  color:#fff;
  text-decoration:underline;
  text-underline-offset:3px;
}

.footer-links li{
  margin-bottom:8px;
}

.footer-links a{
  font-size:14px;
}


/* ======================================================
   FOOTER MAP
====================================================== */

.footer-map-box{
  border-radius:12px;
  overflow:hidden;

  box-shadow:0 12px 26px rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.10);
}

.footer-map iframe{
  width:100%;
  height:190px;

  border:0;
  display:block;
}


/* ======================================================
   FOOTER BOTTOM
====================================================== */

.footer-bottom{
  margin-top:22px;
  padding-top:14px;

  border-top:1px solid rgba(255,255,255,.12);

  text-align:center;
  font-size:13px;
  opacity:.85;
}


/* ======================================================
   FOOTER RESPONSIVE
====================================================== */

@media(max-width:991px){

  .footer-grid{
    grid-template-columns:1fr 1fr;
  }

  .footer-map iframe{
    height:210px;
  }

}

@media(max-width:575px){

  .footer-grid{
    grid-template-columns:1fr;
    gap:18px;

    text-align:center;
  }

  .footer-brand{
    align-items:center;
  }

  .footer-brand-text{
    max-width:100%;
  }

  .footer-list li{
    justify-content:center;
  }

  .footer-links li{
    text-align:center;
  }

  .footer-map{
    display:flex;
    justify-content:center;
  }

  .footer-map-box{
    width:100%;
    max-width:360px;
  }

  .footer-map iframe{
    height:220px;
  }

  .footer-bottom{
    text-align:center;
  }

}

/* ======================================================
   PAGE HEADER
====================================================== */

.page-header{
  color:#0b3d25;
  padding:22px;
  box-shadow:0 0 5px #0e492a6b;
}

.page-title{
  font-family:Montserrat,sans-serif;
  font-weight:700;
  font-size:clamp(22px,3vw,30px);
  margin-bottom:8px;
}

.page-subtitle{
  font-size:15px;
  opacity:.85;
  max-width:600px;
  margin:auto;
}

.page-header p{
  color:#0b3d25;
}


/* ======================================================
   MAYOR SECTION
====================================================== */

.mayor-section{
  padding:30px 0;
}

.mayor-photo{
  width:100%;
  max-width:260px;
  border-radius:15px;
  box-shadow:0 6px 20px rgba(0,0,0,.15);
}

.mayor-name{
  font-weight:700;
  margin-bottom:5px;
}

.mayor-position{
  color:#0e492b;
  font-weight:600;
  margin-bottom:15px;
}

.mayor-text{
  line-height:1.7;
  margin-bottom:20px;
}

.mayor-info{
  list-style:none;
  padding:0;
}

.mayor-info li{
  margin-bottom:8px;
  font-size:15px;
}

.mayor-info i{
  color:#0e492b;
  width:22px;
}

.mayor-info a{
  color:#0b3d25;
  text-decoration:none;
}

.mayor-info a:hover{
  color:#0b3d25;
  text-decoration:underline;
  text-underline-offset:3px;
}


/* ======================================================
   MAYOR MESSAGE
====================================================== */

.mayor-message{
  background:#f8f9fa;
  padding:30px 0;
}

.message-box{
  max-width:800px;
  margin:auto;
  background:#fff;
  padding:35px 40px;
  border-radius:12px;
  box-shadow:0 5px 18px rgba(0,0,0,.08);
}

.message-title{
  font-weight:700;
  margin-bottom:20px;
  color:#0e492b;
}

.message-text{
  line-height:1.8;
  font-size:15px;
  color:#333;
}

.message-sign{
  margin-top:25px;
  text-align:right;
  font-style:italic;
  color:#0e492b;
}

.sign-name{
  font-weight:700;
}

.sign-position{
  font-weight:400;
}


/* ======================================================
   PROGRAM (CARDS)
====================================================== */

.program-section{
  padding:50px 0;
}

.program-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

@media(min-width:992px){
  .program-grid{
    grid-template-columns:repeat(3,1fr);
    align-items:start;
  }
}

.program-card{
  background:#fff;
  border-radius:14px;
  padding:22px 22px 18px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  border:1px solid rgba(0,0,0,.06);
}

.program-card-head{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:14px;
}

.program-icon{
  width:64px;
  height:64px;
  border-radius:50%;
  background:#fff;
  display:grid;
  place-items:center;
  box-shadow:0 10px 22px rgba(0,0,0,.12);
  flex:0 0 64px;
}

.program-icon i{
  font-size:22px;
  color:#0e492b;
}

.program-card-title{
  margin:0;
  font-weight:800;
  color:#111;
  font-size:18px;
}

.program-card-subtitle{
  margin:2px 0 0;
  font-size:13px;
  color:#6c757d;
}

.program-list{
  border-top:1px solid #eee;
  padding-top:12px;
}

.program-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:9px 0;
  border-bottom:1px dashed #eee;
  font-size:14px;
}

.program-row span{
  color:#1b1f23;
}

.program-row strong{
  color:#0e492b;
  font-weight:700;
}

.program-row:last-child{
  border-bottom:0;
}

.program-row-pause{
  margin-top:6px;
  padding:10px 12px;
  border:1px solid rgba(14,73,43,.18);
  border-radius:10px;
  background:rgba(20,107,64,.06);
}

.program-row-pause strong{
  color:#146b40;
}

.program-note{
  margin-top:14px;
  background:#f8f9fa;
  border-left:4px solid #0e492b;
  border-radius:10px;
  padding:12px 14px;
  font-size:13px;
  color:#333;
}


/* ======================================================
   STAFF TABLE
====================================================== */

.staff-section{
  padding:50px 0;
}

.staff-card{
  background:#fff;
  border-radius:14px;
  padding:24px 26px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.staff-card-head{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:18px;
}

.staff-icon{
  width:60px;
  height:60px;
  border-radius:50%;
  background:#fff;
  display:grid;
  place-items:center;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.staff-icon i{
  font-size:22px;
  color:#0e492b;
}

.staff-title{
  margin:0;
  font-weight:800;
}

.staff-subtitle{
  margin:2px 0 0;
  font-size:13px;
  color:#6c757d;
}

.staff-table thead{
  background:#f3f7f5;
}

.staff-table th{
  font-weight:700;
  color:#0e492b;
  border:0;
  padding:12px 10px;
}

.staff-table td{
  padding:11px 10px;
  border-top:1px solid #eee;
  font-size:14px;
}

.staff-table tbody tr:hover{
  background:rgba(14,73,43,.05);
}

.staff-table td:first-child{
  width:50px;
  text-align:center;
  font-weight:600;
  color:#666;
}


/* ======================================================
   DOCUMENTE
====================================================== */

.docs-section{
  padding:50px 0;
}

.docs-card{
  background:#fff;
  border-radius:14px;
  padding:24px 26px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

.docs-head{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:18px;
}

.docs-icon{
  width:60px;
  height:60px;
  border-radius:50%;
  background:#fff;
  display:grid;
  place-items:center;
  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.docs-icon i{
  font-size:22px;
  color:#0e492b;
}

.docs-title{
  margin:0;
  font-weight:800;
  color: #0b3d25;
}

.docs-subtitle{
  margin:2px 0 0;
  font-size:13px;
  color:#6c757d;
}

.docs-table thead{
  background:#f3f7f5;
}

.docs-table th{
  font-weight:700;
  color:#0e492b;
  border:0;
  padding:12px 10px;
}

.docs-table td{
  padding:11px 10px;
  border-top:1px solid #eee;
  font-size:14px;
}

.docs-table tbody tr:hover{
  background:rgba(14,73,43,.05);
}

.docs-link{
  color:#c0392b;
  font-weight:600;
  text-decoration:none;
}

.docs-link i{
  margin-right:4px;
}

.docs-link:hover{
  text-decoration:underline;
}

/* ======================================================
   DOCS FILTER INPUTS
====================================================== */

.docs-filter input,
.docs-filter select{
  max-width:180px;
}

.docs-filter .form-control,
.docs-filter .form-select{
  border-radius:8px;
  border:1px solid #dee2e6;
  font-size:14px;
}

.docs-filter .form-control:focus,
.docs-filter .form-select:focus{
  border-color:#146b40;
  box-shadow:0 0 0 .2rem rgba(20,107,64,.15);
}

/* ======================================================
   DOCS FILTER
====================================================== */
.docs-filter{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:12px;

  flex-wrap:wrap;

  margin-bottom:20px;
}

.docs-filter-fields{
  display:flex;
  gap:10px;
}

.docs-filter-buttons{
  display:flex;
  gap:8px;
  margin-left:auto;
}

.docs-filter-fields .form-control,
.docs-filter-fields .form-select{
  height:40px;
  border-radius:10px;
  min-width:180px;
}

.docs-filter-buttons .btn{
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
@media(max-width:576px){

  .docs-filter{
    flex-direction:column;
    align-items:stretch;
  }

  .docs-filter-fields{
    width:100%;
  }

  .docs-filter-buttons{
    width:100%;
    margin-left:0;
  }

  .docs-filter-buttons .btn{
    flex:1;
  }

}


/* ======================================================
   POSTS SECTION (ANUNȚURI)
====================================================== */

.posts-section{
  padding:50px 0;
}

.posts-card{
  background:#fff;
  border-radius:14px;
  padding:24px 26px;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

/* header */

.posts-head{
  display:flex;
  gap:14px;
  align-items:center;
  margin-bottom:18px;
}

.posts-icon{
  width:60px;
  height:60px;
  border-radius:50%;
  background:#fff;

  display:grid;
  place-items:center;

  box-shadow:0 8px 18px rgba(0,0,0,.12);
}

.posts-icon i{
  font-size:22px;
  color:#0e492b;
}

.posts-title{
  margin:0;
  font-weight:800;
  color: #0b3d25;
}

.posts-subtitle{
  margin:2px 0 0;
  font-size:13px;
  color:#6c757d;
}


/* filtre */

.posts-filter{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.posts-filter select,
.posts-filter input{
  max-width:180px;
}


/* lista */

.posts-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
}

@media(max-width:768px){
  .posts-list{
    grid-template-columns:1fr;
  }
}


/* card */

.post-row{
  display:flex;
  gap:16px;
  padding:16px;

  border-radius:12px;
  border:1px solid #eee;

  transition:.25s;
  height:100%;

  background:#fff;
}

.post-row:hover{
  background:#f8fbf9;
  border-color:#cde6da;
}


/* data */

.post-date{
  min-width:70px;
  text-align:center;

  background:#0e492b;
  color:#fff;

  border-radius:10px;
  padding:8px 6px;

  font-weight:700;
}

.post-date span{
  font-size:20px;
  display:block;
}

.post-date small{
  font-size:11px;
  opacity:.9;
}


/* body */

.post-body{
  flex:1;
}

.post-row-title{
  margin:0 0 4px;
  font-weight:700;
  font-size:16px;
}

.post-row-excerpt{
  margin:0 0 6px;
  font-size:14px;
  color:#555;
}

.post-row-link{
  color:#146b40;
  font-weight:600;
  text-decoration:none;
}

.post-row-link:hover{
  text-decoration:underline;
}


/* paginare */

.posts-pagination{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:20px;
}

.page-btn{
  width:34px;
  height:34px;

  border-radius:8px;
  border:1px solid #ddd;

  display:grid;
  place-items:center;

  color:#333;
  text-decoration:none;
  font-weight:600;
}

.page-btn.active,
.page-btn:hover{
  background:#0e492b;
  color:#fff;
  border-color:#0e492b;
}



/* ======================================================
   DOCUMENT HUB
====================================================== */

.docs-hub-section{
  padding:60px 0;
}

.docs-hub-card{
  display:block;
  text-align:center;

  padding:30px 25px;

  background:#fff;
  border-radius:16px;

  box-shadow:0 8px 20px rgba(0,0,0,.08);
  transition:.3s;

  text-decoration:none;
  color:#333;
}

.docs-hub-card:hover{
  transform:translateY(-6px);
  box-shadow:0 12px 25px rgba(0,0,0,.12);
}

.docs-hub-circle{
  width:70px;
  height:70px;

  margin:0 auto 18px;

  border-radius:50%;
  background:#fff;

  display:grid;
  place-items:center;

  box-shadow:0 10px 20px rgba(0,0,0,.15);
}

.docs-hub-circle i{
  font-size:26px;
  color:#0e492b;
}

.docs-hub-card h4{
  font-weight:700;
  margin-bottom:8px;
}

.docs-hub-card p{
  font-size:14px;
  color:#666;
  margin:0;
}



/* ======================================================
   CONTACT PAGE
====================================================== */

.contact-section{
  padding:60px 0;
}

.contact-card{
  background:#fff;
  border-radius:14px;
  padding:35px;

  box-shadow:0 5px 20px rgba(0,0,0,.05);
}


/* header */

.contact-head{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:25px;
}

.contact-icon{
  width:60px;
  height:60px;

  background:#0e492b;
  color:#fff;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:24px;

  flex:0 0 40px; 
}

.contact-title{
  margin:0;
  font-weight:700;
  color:#0e492b;
}

.contact-subtitle{
  margin:0;
  color:#6c757d;
  font-size:14px;
}


/* info */

.contact-info h4{
  font-weight:600;
  margin-bottom:15px;
  color:#0e492b;
}

.contact-info ul{
  list-style:none;
  padding:0;
  margin:0;
}

.contact-info li{
  margin-bottom:12px;

  display:flex;
  align-items:flex-start;
  gap:10px;

  color:#333;
}

.contact-info li i{
  color:#146b40;
  margin-top:4px;
  min-width:18px;
}

.contact-info a{
  color:#146b40;
  text-decoration:none;
}

.contact-info a:hover{
  text-decoration:underline;
}


/* map */

.map-box{
  border-radius:12px;
  overflow:hidden;

  box-shadow:0 4px 15px rgba(0,0,0,.05);
}

.map-box iframe{
  width:100%;
  height:350px;
  border:0;
}


/* ======================================================
   SERVICES PAGE
====================================================== */

.services-section{
  padding:60px 0;
}

.services-card{
  background:#fff;
  border-radius:14px;
  padding:35px;

  box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.services-head{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:25px;
}

.services-icon{
  width:40px;
  height:40px;

  background:#0e492b;
  color:#fff;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:24px;
}

.services-title{
  margin:0;
  font-weight:700;
  color:#0e492b;
}

.services-subtitle{
  margin:0;
  color:#6c757d;
  font-size:14px;
}


/* service box */

.service-box{
  background:#f9fbfa;
  border-radius:12px;

  padding:25px 20px;
  height:100%;

  text-align:center;

  border:1px solid #eee;
  transition:.25s;
}

.service-box:hover{
  transform:translateY(-5px);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  border-color:#146b40;
}

.service-icon{
  width:55px;
  height:55px;

  margin:0 auto 12px;

  background:#e8f3ee;
  color:#146b40;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:22px;
}

.service-box h4{
  font-size:17px;
  font-weight:600;
  margin-bottom:10px;
  color:#0e492b;
}

.service-box p{
  font-size:14px;
  line-height:1.6;
  color:#555;
  margin:0;
}


/* ======================================================
   NEWS LIST
====================================================== */

.news-section{
  padding:60px 0;
}

.news-image img{
  width:100%;
  height:200px;
  object-fit:cover;
}

.news-date{
  font-size:13px;
  color:#6c757d;
  margin-bottom:8px;
}

.news-title{
  font-size:18px;
  font-weight:600;
  margin-bottom:10px;
  color:#0e492b;
}

.news-excerpt{
  font-size:14px;
  color:#555;
  margin-bottom:15px;
}

.news-link{
  text-decoration:none;
  font-weight:500;
  color:#146b40;
}

.news-link:hover{
  text-decoration:underline;
}


/* ======================================================
   NEWS DETAIL
====================================================== */

.news-detail{
  padding:60px 0;
}

.news-article{
  background:#fff;
  padding:35px;

  border-radius:14px;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
}

.news-article img{
  width:100%;
  border-radius:12px;

  margin-bottom:25px;

  max-height:400px;
  object-fit:cover;
}

.news-content{
  font-size:16px;
  line-height:1.7;
  color:#333;
}

/* ======================================================
   ABOUT PAGE
====================================================== */

.about-section{
  padding:60px 0;
}

/* card principal */

.about-card-main{
  background:#fff;
  border-radius:14px;
  padding:35px;
  box-shadow:0 5px 20px rgba(0,0,0,.05);
}

/* header */

.about-head{
  display:flex;
  align-items:center;
  gap:20px;
  margin-bottom:0;
}

.about-main-icon{
  width:60px;
  height:60px;

  background:#0e492b;
  color:#fff;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:24px;
}

.about-title-main{
  margin:0;
  font-weight:700;
  color:#0e492b;
}

.about-subtitle{
  margin:0;
  color:#6c757d;
  font-size:14px;
}


/* ======================================================
   ABOUT BOXES
====================================================== */

.about-box{
  background:#f9fbfa;
  border-radius:12px;
  padding:25px 20px;

  height:100%;

  border:1px solid #eee;
  transition:.25s;
}

.about-box:hover{
  transform:translateY(-5px);
  box-shadow:0 6px 18px rgba(0,0,0,.08);
  border-color:#146b40;
}

.about-icon{
  width:55px;
  height:55px;

  margin:0 0 12px;

  background:#e8f3ee;
  color:#146b40;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:22px;
}

.about-box h4{
  font-size:17px;
  font-weight:600;
  margin-bottom:10px;
  color:#0e492b;
}

.about-box p{
  font-size:14px;
  line-height:1.6;
  color:#555;
  margin:0 0 12px;
}

.about-list{
  list-style:none;
  padding-left:0;
  margin:0;
}

.about-list li{
  font-size:14px;
  margin-bottom:8px;
  color:#555;
}


/* ======================================================
   POPULATION BARS
====================================================== */

.pop-bars{
  margin-top:10px;
}

.pop-row{
  margin-bottom:14px;
}

.pop-meta{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:#555;
  margin-bottom:6px;
}

.pop-year{
  font-weight:600;
  color:#0e492b;
}

.pop-val{
  font-weight:600;
}

.pop-track{
  background:#e9ecef;
  border-radius:999px;
  height:10px;
  overflow:hidden;
}

.pop-fill{
  height:100%;
  background:#146b40;
  border-radius:999px;
}


/* responsive */

@media(max-width:576px){

  .about-head{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }

}


/* ======================================================
   FLOATING NEWS IMAGE
====================================================== */

.news-img-wrapper{
  border-radius:16px;
}

.news-float-img{
  width:300px;
  height:220px;
  object-fit:cover;

  border-radius:12px !important;

  margin:0 20px 15px 0;
}

@media(max-width:768px){

  .news-float-img{
    float:none;
    width:100%;
    height:220px;
    margin:0 0 15px 0;
  }

}


/* ======================================================
   MODAL MEDIA
====================================================== */

.modal-media-wrapper{
  width:100%;
  max-width:900px;
  margin:0 auto;

  display:flex;
  align-items:center;
  justify-content:center;

  position:relative;

  max-height:80vh;
}

.modal-media-content img,
.modal-media-content video{
  max-width:100%;
  max-height:80vh;
  object-fit:contain;
  display:block;
  background:#000;
}
/* sageti */

#prevBtn,
#nextBtn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:5;
}

/* modal layering */

.modal{
  z-index:3000 !important;
}

.modal-backdrop{
  z-index:2990 !important;
}

.modal .btn-close{
  z-index:5000;
  width:40px;
  height:40px;
}


/* ======================================================
   BACK TO TOP
====================================================== */

.back-to-top{
  position:fixed;

  right:25px;
  bottom:25px;

  width:52px;
  height:52px;

  border-radius:50%;

  background:rgba(14,73,43,.75);
  color:#fff;

  border:none;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:18px;
  cursor:pointer;

  opacity:0;
  visibility:hidden;

  transition:.3s;

  box-shadow:0 4px 12px rgba(0,0,0,.2);

  z-index:9999;
}

.back-to-top:hover{
  background:#0e492b;
  transform:translateY(-3px);
}

.back-to-top.show{
  opacity:1;
  visibility:visible;
}

@media(max-width:768px){

  .back-to-top{
    width:44px;
    height:44px;

    right:15px;
    bottom:15px;

    font-size:16px;
  }

}


/* ======================================================
   DRAG HANDLE
====================================================== */

.drag-handle{
  cursor:grab;
  width:40px;
}

.drag-handle:active{
  cursor:grabbing;
}

/* ======================================================
   ICON CIRCLES (uniformizare)
====================================================== */

.program-icon,
.posts-icon,
.docs-icon,
.staff-icon,
.about-main-icon,
.contact-icon,
.services-icon{
  width:50px;
  height:50px;

  min-width:50px;
  min-height:50px;

  border-radius:50%;

  display:flex;
  align-items:center;
  justify-content:center;

  flex:0 0 50px;

  padding:0;
}
/* ======================================================
   BREADCRUMB
====================================================== */

.breadcrumb{
  background:transparent;
  padding:0;
  margin-bottom:14px;
  font-size:14px;
}

.breadcrumb-item{
  color:#6c757d;
}

.breadcrumb-item a{
  color:#0e492b;
  text-decoration:none;
  font-weight:500;
}

.breadcrumb-item a:hover{
  text-decoration:underline;
}

.breadcrumb-item + .breadcrumb-item::before{
  content:"›";
  color:#999;
}

/* header cu filtru */
.posts-head-filter{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  flex-wrap:wrap;
}

/* titlu + icon */
.docs-title-wrap{
  display:flex;
  align-items:center;
  gap:14px;
}

.docs-filter-inline{
  margin-bottom:0;
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:10px;
}

/* butonul de filtre ascuns pe desktop */
.filter-toggle{
  display:none;
}

/* mobil */
@media (max-width:768px){

  .posts-head-filter{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .filter-toggle{
    display:inline-flex;
    align-items:center;
  }

  .filter-box{
    display:none;
    width:100%;
    margin-top:6px;
    background:#fafafa;
  padding:16px;
  border-radius:10px;
  border:1px solid #eee;
  
  
}

  .filter-box.active{
    display:block;
  }

  .docs-filter-fields,
  .docs-filter-buttons{
    width:100%;
    margin-left:0 !important;
  }

  .docs-filter-buttons{
    margin-top:10px;
  }

  .docs-filter-fields .col-12,
  .docs-filter-buttons .col-12{
    width:90%;
    max-width:90%;
  }
}