/**
 * Template Name: Primaria - v4.0.2
 * Author: 	GOVISION SRL
 * License: http://govision.ro
 * Cod culoare Albastru (Inchis) = #004990
 * Cod culoare Albastru (Deschis) = #0079c1
 * Cod culoare Black  80% = #58595b
 * Cod culoare Black 100% = #231f20
 * Font: Trebuchet Ms Regular
 * Font: Trajan Pro
 */

/*--------------------------------------------------------------
# Custom
--------------------------------------------------------------*/

/**  Tilu anunt inceput de pagina "Anunturi 2025" */
.section-title-anunt {
  font-size: 2rem; /* Dimensiune font personalizată */
  font-weight: bold; /* Text îngroșat */
  text-align: left; /* Aliniere la stânga */
  margin-bottom: 2rem; /* Spațiu sub titlu */
}

/**  Anunturi importante prima pagina cele 3 carduri */
  .anunturi-bg {
    background: linear-gradient(to right, #f8f9fa, #eef2f7); /* fundal pal, gri-albăstrui */
  }

  .ann-box {
    border-radius: 15px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .ann-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  }

  .ann-box .icon {
    font-size: 2rem;
    color: #0d6efd;
    margin-bottom: .5rem;
  }



:root{ --b1:#004990; --b2:#0079c1; --k80:#58595b; }

.featured{
  background:
    radial-gradient(900px 280px at 15% -10%, rgba(0,121,193,.15), transparent 60%),
    linear-gradient(160deg, rgba(0,121,193,.10), rgba(0,73,144,.08));
}

.feat-card{
  display:block; height:100%;
  padding:18px; border-radius:16px;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px) saturate(140%);
  -webkit-backdrop-filter: blur(8px) saturate(140%);
  color:#231f20; transition:.2s ease;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
}
.feat-card:hover{
  transform: translateY(-3px);
  border-color:#ffffff55;
  box-shadow:0 12px 26px rgba(0,73,144,.25);
  text-decoration:none;
}

.feat-ico{
  width:52px; height:52px; display:grid; place-items:center;
  border-radius:50%; color:#fff; margin-bottom:10px; flex:0 0 52px;
  background:linear-gradient(135deg,var(--b2),var(--b1));
  box-shadow:0 6px 14px rgba(0,73,144,.35);
  font-size:1.25rem;
}
.feat-title{ font-size:1.05rem; margin:4px 0 4px; font-weight:700; }
.feat-text{ margin:0; color:#231f20cc; font-size:.95rem; line-height:1.45; }













/*--------------------------------------------------------------
# Carduri proiecte europene
--------------------------------------------------------------*/

  /* —— setări ușor de ajustat ca să se potrivească cu restul site-ului —— */
  :root{
    --pc-glass-bg: rgba(255,255,255,.66);     /* fundal glass (deschis) */
    --pc-glass-bd: rgba(255,255,255,.55);     /* bordură glass */
    --pc-shadow: 0 12px 30px rgba(0,0,0,.12); /* umbră neutră */
  }

  .project-card{
    display:flex; flex-direction:column;
    border-radius: 18px;
    overflow: hidden;
    background: var(--pc-glass-bg);
    border: 1px solid var(--pc-glass-bd);
    box-shadow: var(--pc-shadow);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari */
    transition: box-shadow .25s ease, transform .25s ease;
  }
  .project-card:hover{
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(0,0,0,.16);
  }

  .project-media{
    aspect-ratio: 16/10;
    background: #f6f7fb;
  }
  .project-media img{
    width:100%; height:100%; object-fit:cover;
    /* imaginea rămâne stabilă la hover */
    transform:none; transition:none;
  }

  .project-body{
    display:flex; flex-direction:column;
    gap:.45rem;
    padding: 1rem 1rem 1.1rem;
  }

  .project-title{
    font-size:1.15rem;
    margin: 0;
    transition: transform .22s ease, letter-spacing .22s ease;
  }
  .project-text{
    color:#6c757d; /* text-secondary bootstrap-like */
    margin: 0 0 .25rem 0;
    transition: transform .22s ease, opacity .22s ease;
  }

  /* hover: text zoom subtil, fără a mișca imaginea */
  .project-card:hover .project-title{ transform: translateY(-2px); }
  .project-card:hover .project-text{ transform: translateY(-1px); opacity:.95; }

  /* fine-tuning pentru spacing pe ecrane mici */
  @media (max-width: 576px){
    .project-body{ padding: .9rem; }
  }


/*--------------------------------------------------------------
# Containerul pentru rezultatele căutării caseta de cautare in pagini
--------------------------------------------------------------*/

#search-results {
  position: relative;
  max-width: 900px;
  margin: 1rem auto;
  background: #ffffff;
  border: 1px solid #d0d0d0;
  border-radius: 12px;
  padding: 1rem 1.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1000;
  display: none;
}

#search-results.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Stilizare listă rezultate */
#search-results ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

#search-results li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

#search-results li:last-child {
  border-bottom: none;
}

/* Linkuri rezultate */
#search-results a {
  color: #004990;
  font-weight: 500;
  text-decoration: none;
  font-size: 1rem;
}

#search-results a:hover {
  text-decoration: underline;
  color: #0079c1;
}

/* Butonul ✖ închidere */
.search-close-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f1f1f1;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: bold;
  color: #004990;
  cursor: pointer;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  opacity: 0;
  animation: fadeInButton 0.5s ease-in-out forwards;
}

/* Hover: efect vizual + mic zoom */
.search-close-btn:hover {
  background-color: #e0e0e0;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Click: efect apăsare */
.search-close-btn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Animație la apariție */
@keyframes fadeInButton {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 768px) {
  #search-results {
    margin: 1rem;
    padding: 1rem;
  }

  #search-results a {
    font-size: 0.95rem;
  }
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
html, body {
    overflow-x: hidden; /* Previne derularea orizontală global */
}

body {
    font-family: "Trebuchet Ms Regular";
    color: #000000;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
  color: #004990;
  text-decoration: none;
}

a:hover {
  color: #0079c1;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Trajan Pro";
}

.custom-font {
  font-family: "Trajan Pro"; /* Înlocuiește 'NumeleFontului' cu fontul dorit */
  font-size: 30px; /* Poți ajusta dimensiunea fontului dacă este necesar */
  font-weight: 600; /* Poți ajusta grosimea textului */
  color: #fd1616; /* Ajustează culoarea dacă dorești */
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: #0079c1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}

.back-to-top:hover {
  background: #0079c1;
  color: white;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: #004990;
  padding: 10px 0;
  font-size: 14px;
}

#topbar .contact-info i {
  font-style: normal;
  color: #004990;
}

#topbar .contact-info i a,
#topbar .contact-info i span {
  padding-left: 5px;
  color: #fff;
}

#topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

#topbar .contact-info i a:hover {
  color: #39c3f0;
}

#topbar .social-links a {
  color: #39c3f0;
  line-height: 0;
  transition: 0.3s;
  margin-left: 10px;
}

#topbar .social-links a:hover {
  color: #ffffff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  #topbar {
    display: none !important;
  }
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
header {
    background-color: #f4f4f4;
    padding: 10px 20px;
}

/* Primul Rând: Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 20px;
    font-size: 14px;
    max-width: 1200px;
    margin: 0 auto;
    position: static; /* Ca să NU fie sticky */
}

.logo-title {
    display: flex;
    align-items: center;
}

.logo img {
    width: 50px;
    height: auto;
    margin-right: 10px;
}

.title h1 {
    font-size: 2.5em;
    text-align: center;
}

.search-contact {
    display: flex;
    align-items: center;
}

.search-box {
    padding: 8px;
    font-size: 1em;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-btn {
    padding: 8px 16px;
    font-size: 1em;
    background-color: #004990;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.contact-btn a {
    color: white;
    text-decoration: none;
}

.contact-btn:hover {
    background-color: #0079c1;
}

/*--------------------------------------------------------------
# Al Doilea Rând: Bottom Bar
--------------------------------------------------------------*/

.bottom-bar {
    position: sticky;  /* Rămâne sus la scroll */
    top: 0;
    z-index: 999;
    background-color: #f4f4f4;
    padding: 2px 0;
    margin-top: 1px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05); /* sau poți elimina dacă pare chenar */
}

.nav-btn {
    padding: 5px 7px; /* mai puțin padding pe orizontală (5px 20px) */
    font-size: 0.95em; /* font un pic mai mic  (1em)*/
    color: white;
    background-color: #004990;
    border: none;
    cursor: pointer;
    margin: 5px;
    flex: 1;
    min-width: auto; /* scoate lățimea minimă impusă (150)*/
    text-align: center;
    border-radius: 4px;
    transition: background-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.nav-btn:hover {
    background-color: #0079c1;
}

.menu-icon {
    display: none;
    font-size: 2em;
    cursor: pointer;
    color: #007bff;
}

.mobile-only {
    display: none;
}

.nav-dropdown {
  position: relative;

}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #004990;
    min-width: 250px; /* sau 240px, după caz */
    border-radius: 4px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: none;
}


/*--------------------------------------------------------------
# Stiluri DOAR pentru dropdown-ul Contact din top-bar
--------------------------------------------------------------*/

.top-bar .contact-dropdown {
	position: relative;
}

.top-bar .contact-dropdown .dropdown-btn {
	background-color: #0079c1;
	color: #fff;
	border: none;
	border-radius: 5px;
	padding: 8px 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	font-weight: 600;
	font-family: 'Trebuchet MS', sans-serif;
}

.top-bar .contact-dropdown .dropdown-btn:hover {
	background-color: #005b8f;
}

.top-bar .contact-dropdown .dropdown-content2 {
	display: none;
	position: absolute;
	right: 0;
	top: 100%;
	background-color: #fff;
	border-radius: 6px;
	box-shadow: 0 4px 8px rgba(0,0,0,0.1);
	z-index: 1000;
	min-width: 220px;
	overflow: hidden;
}

.top-bar .contact-dropdown:hover .dropdown-content2 {
	display: block;
}

.top-bar .contact-dropdown .dropdown-content2 a {
	display: block;
	padding: 10px 16px;
	color: #004990;
	text-decoration: none;
	font-size: 14px;
	border-bottom: 1px solid #eee;
	transition: background-color 0.2s ease;
}

.top-bar .contact-dropdown .dropdown-content2 a:hover {
	background-color: #f5f5f5;
}



.nav-dropdown:hover .dropdown-content,
.nav-dropdown.open .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: white;
    padding: 6px 16px; /* mai mic pe verticală, dar păstrezi spațiu pe orizontală */
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: #0079c1;
}

.nav-sub-dropdown {
    position: relative; /* Pentru a permite plasarea absolută a submeniului */
}

.submenu-content {
    position: absolute;
    top: 0;
    left: 100%; /* Apare în partea dreaptă a subitemului */
    background-color: #004990;
    min-width: 160px;
    border-radius: 4px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: none;
}

.nav-sub-dropdown:hover .submenu-content {
    display: block; /* Afișează submeniul la hover */
}

.submenu-content a {
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.submenu-content a:hover {
    background-color: #0079c1;
}


/* Stiluri Responsive */
@media (max-width: 768px) {
    header {
        padding: 20px;
        position: relative;
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
		
    }

    .logo-title {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
		display: none !important; /* Ascuns titlu in modul mobil */
    }

    .logo-title .logo {
     display: none !important; /* Ascuns logo in modul mobil */
    }

    .search-contact {
        width: 100%;
        justify-content: center;
        margin-bottom: 10px;
		display: none !important; /* Ascuns cautarea in modul mobil */
    }

    .menu-icon {
        display: block;
        position: absolute;
        top: 1px;
        right: 20px;
		z-index: 1000;
    }

    .bottom-bar {
        display: none; /* Ascuns inițial */
        flex-direction: column; /* Aliniază elementele pe verticală */
        flex-wrap: nowrap; /* Previne împachetarea pe mai multe coloane */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* Ocupă întreaga înălțime a viewport-ului */
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 1000;
        padding: 20px;
        overflow-y: auto; /* Permite derularea verticală */
        overflow-x: hidden; /* Elimină derularea orizontală */
        box-sizing: border-box;
    }

    .bottom-bar.open {
        display: flex; /* Afișat când se activează meniul */
		padding-top: 150px;
    }

    .close-btn {
        display: block; /* Asigură afișarea butonului */
        position: absolute; /* Poziționează butonul în colțul de sus dreapta */
        top: 20px;
        right: 20px;
        font-size: 2em; /* Dimensiunea fontului pentru simbolul X */
        background: none; /* Elimină fundalul implicit */
        color: white; /* Culoarea simbolului X */
        border: none; /* Elimină bordura implicită */
        cursor: pointer; /* Schimbă cursorul la hover */
		z-index: 1100;
    }

    /* Opțional: Îmbunătățirea aspectului butonului de închidere */
    .close-btn:hover {
        color: #ff0000; /* Schimbă culoarea la hover, de exemplu, roșu */
    }

    /* Stilizare pentru header-ul mobil din meniu */
    .bottom-bar .mobile-header.mobile-only {
        display: flex; /* Afișează doar în mobil */
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    .bottom-bar .mobile-header.mobile-only .logo img {
        width: 60px; /* Mărime mai mare pentru mobil, opțional */
        margin-bottom: 10px;
    }

    .bottom-bar .mobile-header.mobile-only .title h1 {
        font-size: 1.5em;
        text-align: center;
        color: white;
    }

    /* Stilizare pentru butoanele de navigare */
    .nav-btn {
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px 0 !important;
        padding: 15px !important;
        box-sizing: border-box;
        flex: none !important;
        display: block !important;
        text-align: center;
        text-decoration: none;
        min-width: 0 !important;
    }

    /* Stilizare pentru dropdown */
    .nav-dropdown {
        width: 100% !important;
        margin: 10px 0;
    }

    .dropdown-btn {
        width: 100% !important;
        background-color: #007bff;
        color: white;
        padding: 15px;
        border: none;
        text-align: center;
        cursor: pointer;
        border-radius: 4px;
        transition: background-color 0.3s;
        display: block !important;
    }

    .dropdown-btn:hover {
        background-color: #0056b3;
    }

    .dropdown-content {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0056b3;
        margin-top: 5px;
        border-radius: 4px;
        overflow: hidden;
    }

    .dropdown-content a {
        width: 100%;
        color: white;
        padding: 10px 15px;
        text-decoration: none;
        display: block;
    }

    .dropdown-content a:hover {
        background-color: #004080;
    }

    .nav-dropdown.open .dropdown-content {
        display: flex;
    }

    /* Asigură-te că imaginile nu depășesc lățimea */
    .bottom-bar img,
    .bottom-bar .logo img {
        max-width: 100%;
        height: auto;
    }

	/* Prevăzut pentru a preveni derularea paginii principale când meniul mobil este deschis */
	body.no-scroll {
		overflow: hidden;
	}

}

/* Ascundem butonul de închidere pe desktop */
@media (min-width: 769px) {
    .close-btn {
        display: none;
    }

    .bottom-bar .mobile-header.mobile-only {
        display: none;
    }
}



/* Stiluri pentru sub-dropdown pe mobil */
@media (max-width: 768px) {
    .nav-sub-dropdown .submenu-content {
        display: none;
        flex-direction: column;
        background-color: #0056b3;
        padding: 10px;
    }

    .nav-sub-dropdown.open .submenu-content {
        display: block;
    }

    /* Asigură-te că nu există poziționări care să afecteze afișarea */
    .submenu-content {
        position: static;
        top: auto;
        left: auto;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/

/* Stil pentru evidențierea textului căutat */
mark {
    background-color: #ffeb3b;
    color: #000;
    padding: 0 2px;
    border-radius: 2px;
}

/* HERO SECTION */
#hero {
  width: 100%;
  background-color: rgba(59, 59, 59, 0.8);
  overflow: hidden;
  padding: 0;
  margin-bottom: -120px;
  position: relative;
  z-index: 1;
}

/* Eliminăm height fix și background pentru item */
#hero .carousel-item {
  width: 100%;
  height: auto;
  background: none;
}

#hero .carousel-item img {
    width: 100%;
    height: auto;         /* Păstrează proporțiile */
    max-height: 700px;    /* Aici controlezi înălțimea maximă */
    object-fit: cover;
}


/* Eliminăm pseudo-elementul inutil */
#hero .carousel-item::before {
  content: none;
}

#hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  padding-bottom: 120px;
}

#hero .carousel-content {
  text-align: center;
}

#hero h2 {
  color: #2e2e2e;
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
}

#hero h2 span {
  color: #39c3f0;
}

#hero p {
  width: 80%;
  margin: 0 auto 30px auto;
  color: #545454;
}

/* Tranziții opacity pentru efect fade */
#hero .carousel-inner .carousel-item {
  transition-property: opacity;
}

#hero .carousel-inner .carousel-item,
#hero .carousel-inner .active.carousel-item-start,
#hero .carousel-inner .active.carousel-item-end {
  opacity: 0;
}

#hero .carousel-inner .active,
#hero .carousel-inner .carousel-item-next.carousel-item-start,
#hero .carousel-inner .carousel-item-prev.carousel-item-end {
  opacity: 1;
  transition: 0.5s;
}

/* Navigație carusel */
#hero .carousel-control-prev,
#hero .carousel-control-next {
  width: 10%;
}

#hero .carousel-control-next-icon,
#hero .carousel-control-prev-icon {
  background: none;
  font-size: 48px;
  line-height: 1;
  width: auto;
  height: auto;
  color: #545454;
}

/* Indicatori carusel */
#hero .carousel-indicators li {
  cursor: pointer;
  background: #39c3f0;
  overflow: hidden;
  border: 0;
  width: 12px;
  height: 12px;
  border-radius: 50px;
  margin-bottom: 180px;
  opacity: 0.2;
}

#hero .carousel-indicators li.active {
  opacity: 1;
}

/* Buton start */
#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  border: 2px solid #39c3f0;
  background: #39c3f0;
}

#hero .btn-get-started:hover {
  background: transparent;
  color: #39c3f0;
  text-decoration: none;
}

/* MEDIA QUERIES */
@media (max-height: 768px),
(max-width: 1200px) {
  #hero {
    margin-bottom: 60px;
  }

  #hero .carousel-container {
    padding-bottom: 0;
  }

  #hero .carousel-indicators li {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  #hero {
    height: auto;
  }

  #hero .carousel-item img {
    max-height: 300px;
  }
}

@media (min-width: 1024px) {
  #hero p {
    width: 50%;
  }

  #hero .carousel-control-prev,
  #hero .carousel-control-next {
    width: 5%;
  }
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 0 0 80px 0;
}

.section-bg {
  background-color: white;
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: #39c3f0;
  bottom: 0;
  left: calc(50% - 25px);
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 20px 0 20px 0;
  background: #f7f7f7;
  border-bottom: 1px solid #ededed;
  margin-bottom: 40px;
}

.breadcrumbs h2 {
  font-size: 28px;
  font-weight: 700;
  color: #545454;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 5px 0;
  margin: 0;
  font-size: 14px;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #6e6e6e;
  content: "/";
}

/*--------------------------------------------------------------
# Featured
--------------------------------------------------------------*/
.featured {
  position: relative;
  z-index: 2;
}

.featured .icon-box {
  padding: 40px 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.15);
  border-radius: 10px;
  background: #fff;
  transition: all ease-in-out 0.3s;
  height: 100%;
}

.featured .icon-box i {
  color: #004990;
  font-size: 42px;
  margin-bottom: 15px;
  display: block;
  line-height: 0;
}

.featured .icon-box h3 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.featured .icon-box h3 a {
  color: #545454;
  transition: 0.3s;
}

.featured .icon-box p {
  color: #545454;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.featured .icon-box:hover {
  background: #0079c1;
}

.featured .icon-box:hover i,
.featured .icon-box:hover h3 a,
.featured .icon-box:hover p {
  color: #fff;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
  color: #545454;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #39c3f0;
}

.about .content p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Our Services
--------------------------------------------------------------*/
  :root{--b1:#004990;--b2:#0079c1;--k:#231f20;--k80:#58595b}
  .section-bg{
    background:
      radial-gradient(900px 280px at 15% -10%, rgba(0,121,193,.18), transparent 60%),
      linear-gradient(160deg, rgba(0,121,193,.16), rgba(0,73,144,.12));
  }
  .card-cta{background:rgba(255,255,255,.06);border:1px solid #ffffff22;border-radius:14px;
            backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);transition:.2s ease}
  .card-cta:hover{transform:translateY(-2px);border-color:#ffffff44;box-shadow:0 6px 16px rgba(0,0,0,.25)}
  .icon-pill{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;
             background:linear-gradient(135deg,var(--b2),var(--b1));color:#fff;flex:0 0 44px}
  .icon-pill.urgent{background:linear-gradient(135deg,var(--b1),var(--k80))}

/*--------------------------------------------------------------
# Our Clients
--------------------------------------------------------------*/
.clients .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.clients .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #004990;
}

.clients .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #004990;
}

.clients .swiper-slide img {
  opacity: 0.5;
  transition: 0.3s;
  filter: grayscale(100);
}

.clients .swiper-slide img:hover {
  filter: none;
  opacity: 1;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts .count-box {
  box-shadow: -10px -5px 40px 0 rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 100%;
}

.counts .count-box i {
  display: block;
  font-size: 30px;
  color: #004990;
  float: left;
  line-height: 0;
}

.counts .count-box span {
  font-size: 42px;
  line-height: 24px;
  display: block;
  font-weight: 700;
  color: #004990;
  margin-left: 50px;
}

.counts .count-box p {
  padding: 30px 0 0 0;
  margin: 0;
  font-family: "Trebuchet Ms Regular";
  font-size: 14px;
}

.counts .count-box a {
  font-weight: 600;
  display: block;
  margin-top: 20px;
  color: #7a7a7a;
  font-size: 15px;
  font-family: "Trebuchet Ms Regular";
  transition: ease-in-out 0.3s;
}

.counts .count-box a:hover {
  color: #a1a1a1;
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 40px;
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid #fff;
  float: left;
  margin: 0 10px 0 0;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #111;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: white;
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Our Skills
--------------------------------------------------------------*/
.skills .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #545454;
  font-family: "Poppins", sans-serif;
  margin-bottom: 20px;
}

.skills .content ul {
  list-style: none;
  padding: 0;
}

.skills .content ul li {
  padding-bottom: 10px;
}

.skills .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #39c3f0;
}

.skills .content p:last-child {
  margin-bottom: 0;
}

.skills .progress {
  height: 62px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #545454;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: #e0e0e0;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #39c3f0;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio .card {
  height: 100%; /* Acesta va asigura că toate cardurile dintr-o singură linie vor avea aceeași înălțime */
}

.portfolio .row {
  display: flex;
  flex-wrap: wrap;
}

.portfolio .col-12.col-md-12.col-lg-4 {
  display: flex;
  flex: 1 0 33%; /* Acest lucru asigură că fiecare coloană ocupă aproximativ o treime din lățimea disponibilă, indiferent de conținut */
  flex-direction: column;
}

.portfolio .card-body {
  flex: 1; /* Acest lucru va asigura că corpul cardului se extinde pentru a umple spațiul disponibil în card */
}

.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  background: white;
  border-radius: 50px;
  padding: 2px 15px;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 12px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  color: #444444;
  margin: 0 4px 8px 4px;
  transition: all ease-in-out 0.3s;
  border-radius: 50px;
  background: #f2f2f2;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: #39c3f0;
  color: #fff;
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  transition: 0.3s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: rgba(84, 84, 84, 0.6);
}

.portfolio .portfolio-wrap::before {
  content: "";
  background: rgba(84, 84, 84, 0.6);
  position: absolute;
  left: 30px;
  right: 30px;
  top: 30px;
  bottom: 30px;
  transition: all ease-in-out 0.3s;
  z-index: 2;
  opacity: 0;
}

.portfolio .portfolio-wrap .portfolio-info {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.portfolio .portfolio-wrap .portfolio-info::before {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  top: 35px;
  left: 35px;
  border-top: 3px solid #fff;
  border-left: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info::after {
  display: block;
  content: "";
  width: 48px;
  height: 48px;
  position: absolute;
  bottom: 35px;
  right: 35px;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  transition: all 0.5s ease 0s;
  z-index: 9994;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: #fff;
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: #ffffff;
  font-size: 14px;
  text-transform: uppercase;
  padding: 0;
  margin: 0;
}

.portfolio .portfolio-wrap .portfolio-links {
  text-align: center;
  z-index: 4;
}

.portfolio .portfolio-wrap .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-links a:hover {
  color: #39c3f0;
}

.portfolio .portfolio-wrap:hover::before {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-wrap:hover .portfolio-info::before {
  top: 15px;
  left: 15px;
}

.portfolio .portfolio-wrap:hover .portfolio-info::after {
  bottom: 15px;
  right: 15px;
}

/*--------------------------------------------------------------
# Portfolio Details
--------------------------------------------------------------*/
.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #fff;
  opacity: 1;
  border: 1px solid #39c3f0;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #39c3f0;
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(84, 84, 84, 0.08);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
}

/*--------------------------------------------------------------
# Pricing
--------------------------------------------------------------*/
.pricing .row {
  padding-top: 40px;
}

.pricing .box {
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: 0px 0px 30px rgba(73, 78, 92, 0.15);
  background: #fff;
  text-align: center;
}

.pricing h3 {
  font-weight: 300;
  margin-bottom: 15px;
  font-size: 28px;
}

.pricing h4 {
  font-size: 46px;
  color: #39c3f0;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  margin-bottom: 25px;
}

.pricing h4 span {
  color: #bababa;
  font-size: 18px;
  display: block;
}

.pricing ul {
  padding: 0;
  list-style: none;
  color: #999;
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding-bottom: 12px;
}

.pricing ul i {
  color: #39c3f0;
  font-size: 18px;
  padding-right: 4px;
}

.pricing ul .na {
  color: #ccc;
}

.pricing ul .na i {
  color: #ccc;
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  background: #545454;
  display: inline-block;
  padding: 8px 30px;
  border-radius: 20px;
  color: #fff;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: "Raleway", sans-serif;
  transition: 0.3s;
}

.pricing .buy-btn:hover {
  background: #39c3f0;
}

.pricing .featured {
  z-index: 10;
  margin: -30px -5px 0 -5px;
}

.pricing .featured .buy-btn {
  background: #39c3f0;
}

.pricing .featured .buy-btn:hover {
  background: #ee8b7a;
}


.pricing .admin-list {
  color: #000; /* sau altă culoare mai închisă */
}




@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team .member {
  text-align: center;
  margin-bottom: 20px;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.1);
  padding: 30px 20px;
  background: #fff;
}

.team .member img {
  max-width: 60%;
  border-radius: 50%;
  margin: 0 0 30px 0;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 2px;
  font-size: 18px;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member p {
  padding-top: 10px;
  font-size: 14px;
  font-style: italic;
  color: #aaaaaa;
}

.team .member .social {
  margin-top: 15px;
}

.team .member .social a {
  color: #919191;
  transition: 0.3s;
}

.team .member .social a:hover {
  color: #39c3f0;
}

.team .member .social i {
  font-size: 18px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
}

.contact .info-box i {
  font-size: 32px;
  color: #39c3f0;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #fef5f4;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
}

.contact .php-email-form .validate {
  display: none;
  color: red;
  margin: 0 0 15px 0;
  font-weight: 400;
  font-size: 13px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #39c3f0;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #39c3f0;
  border: 0;
  border-radius: 50px;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}

.contact .php-email-form button[type=submit]:hover {
  background: #e6573f;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog {
  padding: 40px 0 20px 0;
}

.blog .entry {
  padding: 30px;
  margin-bottom: 60px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .entry .entry-img {
  max-height: 440px;
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .entry .entry-title {
  font-size: 28px;
  font-weight: bold;
  padding: 0;
  margin: 0 0 20px 0;
}

.blog .entry .entry-title a {
  color: #545454;
  transition: 0.3s;
}

.blog .entry .entry-title a:hover {
  color: #39c3f0;
}

.blog .entry .entry-meta {
  margin-bottom: 15px;
  color: #bababa;
}

.blog .entry .entry-meta ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .entry .entry-meta ul li+li {
  padding-left: 20px;
}

.blog .entry .entry-meta i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
}

.blog .entry .entry-meta a {
  color: #777777;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

.blog .entry .entry-content p {
  line-height: 24px;
}

.blog .entry .entry-content .read-more {
  -moz-text-align-last: right;
  text-align-last: right;
}

.blog .entry .entry-content .read-more a {
  display: inline-block;
  background: #39c3f0;
  color: #fff;
  padding: 6px 20px;
  transition: 0.3s;
  font-size: 14px;
  border-radius: 4px;
}

.blog .entry .entry-content .read-more a:hover {
  background: #ec7f6d;
}

.blog .entry .entry-content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .entry .entry-content blockquote {
  overflow: hidden;
  background-color: #fafafa;
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .entry .entry-content blockquote p {
  color: #444444;
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .entry .entry-content blockquote::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: #545454;
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .entry .entry-footer {
  padding-top: 10px;
  border-top: 1px solid #e6e6e6;
}

.blog .entry .entry-footer i {
  color: #a1a1a1;
  display: inline;
}

.blog .entry .entry-footer a {
  color: #616161;
  transition: 0.3s;
}

.blog .entry .entry-footer a:hover {
  color: #39c3f0;
}

.blog .entry .entry-footer .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .entry .entry-footer .cats li {
  display: inline-block;
}

.blog .entry .entry-footer .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .entry .entry-footer .tags li {
  display: inline-block;
}

.blog .entry .entry-footer .tags li+li::before {
  padding-right: 6px;
  color: #6c757d;
  content: ",";
}

.blog .entry .entry-footer .share {
  font-size: 16px;
}

.blog .entry .entry-footer .share i {
  padding-left: 5px;
}

.blog .entry-single {
  margin-bottom: 30px;
}

.blog .blog-author {
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-author img {
  width: 120px;
  margin-right: 20px;
}

.blog .blog-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: #545454;
}

.blog .blog-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .blog-author .social-links a {
  color: rgba(84, 84, 84, 0.5);
  margin-right: 5px;
}

.blog .blog-author p {
  font-style: italic;
  color: #b7b7b7;
}

.blog .blog-comments {
  margin-bottom: 30px;
}

.blog .blog-comments .comments-count {
  font-weight: bold;
}

.blog .blog-comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .blog-comments .comment .comment-img {
  margin-right: 14px;
}

.blog .blog-comments .comment .comment-img img {
  width: 60px;
}

.blog .blog-comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .blog-comments .comment h5 a {
  font-weight: bold;
  color: #444444;
  transition: 0.3s;
}

.blog .blog-comments .comment h5 a:hover {
  color: #39c3f0;
}

.blog .blog-comments .comment h5 .reply {
  padding-left: 10px;
  color: #545454;
}

.blog .blog-comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .blog-comments .comment time {
  display: block;
  font-size: 14px;
  color: #6e6e6e;
  margin-bottom: 5px;
}

.blog .blog-comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .blog-comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .blog-comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .blog-comments .reply-form p {
  font-size: 14px;
}

.blog .blog-comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form input:focus {
  box-shadow: none;
  border-color: #f5bab0;
}

.blog .blog-comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .blog-comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: #f5bab0;
}

.blog .blog-comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .blog-comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: #545454;
}

.blog .blog-comments .reply-form .btn-primary:hover {
  background-color: #616161;
}

.blog .blog-pagination {
  color: #878787;
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog .blog-pagination li a {
  color: #545454;
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: #39c3f0;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: #fff;
}

.blog .sidebar {
  padding: 30px;
  margin: 0 0 60px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0 0 0 0;
  margin: 0 0 15px 0;
  color: #545454;
  position: relative;
}

.blog .sidebar .sidebar-item {
  margin-bottom: 30px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid #ddd;
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: #39c3f0;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: #eb7b68;
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li+li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: #545454;
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: #39c3f0;
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: #aaaaaa;
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item+.post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  width: 80px;
  float: left;
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: #545454;
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: #39c3f0;
}

.blog .sidebar .recent-posts time {
  display: block;
  margin-left: 95px;
  font-style: italic;
  font-size: 14px;
  color: #aaaaaa;
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: #949494;
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid white;
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: #fff;
  border: 1px solid #39c3f0;
  background: #39c3f0;
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: #ededed;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #004990;
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}

#footer .footer-newsletter {
  padding: 50px 0;
  background: #004990;
}

.footer-newsletter {
  text-align: center; /* Aliniază tot conținutul din această secțiune pe centru */
}

#footer .footer-newsletter h4 {
  font-size: 30px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
}

#footer .footer-top {
  background: #0079c1;
  border-top: 4px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 18px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: #fff;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #545454;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #a63a28;
  color: #fff;
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ec7f6d;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: #004990;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact p {
  line-height: 26px;
}


.copyrightconta {
  display: flex;
  justify-content: center; /* Aliniere pe orizontală a conținutului */
  align-items: center; /* Aliniere verticală a elementelor */
  gap: 50px; /* Distanța predefinită între elemente */
  padding: 20px 0; /* Spațiere suplimentară între container și alte elemente */
}

#footer .copyright,
#footer .credits {
  font-size: 13px;
  color: #fff;
}

/* Optional: text-align left or right for copyright and credits */
#footer .copyright {
  text-align: left; /* Aliniere la stânga (opțional) */
}

#footer .credits {
  text-align: right; /* Aliniere la dreapta (opțional) */
}

/* Stil pentru linkul din secțiunea .credits */
#footer .credits a {
  color: #ffcc00; /* Culoarea dorită pentru link */
  text-decoration: none; /* Fără subliniere (opțional) */
}

#footer .credits a:hover {
  color: #0ecb0a; /* Culoare pentru hover (opțional) */
  text-decoration: underline; /* Subliniere la hover (opțional) */
}



    /* ===== Mobile Glass Menu – minimal patch (<= 992px) ===== */
    @media (max-width: 991.98px){

      /* container off-canvas */
      .bottom-bar{
        padding:14px 16px;
        background:
          radial-gradient(800px 260px at 15% -10%, rgba(0,121,193,.18), transparent 60%),
          linear-gradient(160deg, rgba(0,121,193,.16), rgba(0,73,144,.12));
        backdrop-filter: blur(12px) saturate(140%);
       -webkit-backdrop-filter: blur(12px) saturate(140%);
        border-left:1px solid #ffffff33;
        box-shadow: -10px 0 30px rgba(0,0,0,.20);
      }

      /* butonul de dropdown = „chip” glass */
      .dropdown-btn{
        display:flex; align-items:center; gap:12px; width:100%;
        padding:14px 12px; margin:6px 0 10px;
        border-radius:12px; border:1px solid #ffffff29;
        background: rgba(255,255,255,.12);
        color:#231f20; font-weight:600;
        transition:.2s ease;
      }
      .dropdown-btn:hover{ background: rgba(255,255,255,.16); border-color:#ffffff44 }
      /* icon stânga (accent albastru) */
      .dropdown-btn::before{
        content:""; flex:0 0 22px; height:22px; border-radius:8px;
        background: linear-gradient(135deg,#0079c1,#004990);
      }
      /* săgeata dreapta */
      .dropdown-btn::after{
        content:"›"; margin-left:auto; font-size:18px; line-height:1;
        color:#231f20; transform:rotate(0deg); transition:transform .2s ease;
      }
      .nav-dropdown.open > .dropdown-btn::after{ transform:rotate(90deg) }

      /* conținutul dropdown/submenu – animat cu max-height */
      .dropdown-content, .submenu-content{
        overflow:hidden; max-height:0; transition:max-height .3s ease;
        padding-left:8px;
      }
      .nav-dropdown.open > .dropdown-content{ max-height:1200px }
      .nav-sub-dropdown.open > .submenu-content{ max-height:900px }

      /* link-urile din listă – „glass pills” subtile */
      .dropdown-content > a,
      .submenu-content > a{
        display:flex; align-items:center; gap:10px;
        padding:10px 12px; margin:6px 0;
        border-radius:10px; border:1px solid #ffffff22;
        background: rgba(255,255,255,.10);
        color:#231f20; text-decoration:none;
        transition:.2s ease;
      }
      .dropdown-content > a:hover,
      .submenu-content > a:hover{ background: rgba(255,255,255,.16); border-color:#ffffff44 }

      /* punct albastru (icon simplu) înaintea fiecărui link */
      .dropdown-content > a::before,
      .submenu-content > a::before{
        content:""; width:8px; height:8px; border-radius:50%;
        background:#0079c1; flex:0 0 8px;
      }

      /* headerul mic din off-canvas */
      .mobile-header{ margin-bottom:8px }
      .mobile-header .title h2{ font-size:18px; margin:0; color:#231f20 }
    }

    /* ==== FIX subcategorii pe mobil + sageti ==== */
    @media (max-width: 991.98px){
      /* pornesc ascunse (animație pe max-height) */
      .dropdown-content, .submenu-content{
        overflow:hidden; max-height:0; transition:max-height .3s ease;
        padding-left:8px;
      }
      /* cand e deschis => AFISEAZA + anima */
      .nav-dropdown.open > .dropdown-content{ display:block; max-height:1200px; }
      .nav-sub-dropdown.open > .submenu-content{ display:block; max-height:900px; }

      /* cursor si sageata pentru submeniuri */
      .nav-sub-dropdown > .has-submenu{ cursor:pointer; display:flex; align-items:center; gap:10px; }
      .nav-sub-dropdown > .has-submenu::after{
        content:"›"; margin-left:auto; font-size:18px; line-height:1;
        transform:rotate(0deg); transition:transform .2s ease;
        color:#231f20;
      }
      .nav-sub-dropdown.open > .has-submenu::after{ transform:rotate(90deg); }
    }


    /* === FIX MOBIL: dropdown & subdropdown colapsabile, glass-friendly === */
    @media (max-width: 991px){
      /* container offcanvas */
      .bottom-bar{
        background:
          radial-gradient(600px 200px at 50% -20%, rgba(0,121,193,.20), transparent 60%),
          linear-gradient(180deg, rgba(0,121,193,.18), rgba(0,73,144,.35));
      }

      /* dropdown de nivel 1 */
      .dropdown-content{
        position: static !important;
        display: none;
        width: 100%;
        min-width: 0;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 12px;
        overflow: hidden;
      }
      .nav-dropdown.open > .dropdown-content{ display: block; }

      /* subdropdown de nivel 2 */
      .nav-sub-dropdown{ position: static !important; }
      .submenu-content{
        position: static !important;
        display: none;
        padding-left: .5rem;
        background: transparent !important;
        box-shadow: none !important;
      }
      .nav-sub-dropdown.open > .submenu-content{ display: block; }
    }
	
	
    /* ============================== */
    /* Image Gallery Styles         */
    /* ============================== */
    .image-gallery {
        padding: 4rem 2rem;
        background: white;
    }

    .gallery-title {
        text-align: center;
        font-size: 2rem;
        font-weight: 600;
        color: var(--primary);
        margin-bottom: 2rem;
    }

    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .gallery-item {
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: 200px; /* Ajustează această valoare după necesitate */
        overflow: hidden;
        position: relative;
    }

    .gallery-item:hover {
        transform: translateY(-4px);
    }

    .gallery-image {
        width: 100%;
        height: auto; /* Se asigură că imaginea își păstrează proporțiile */
        object-fit: cover; /* Asigură că imaginea se potrivește în container */
        max-width: 100%; /* Se asigură că nu depășește dimensiunea containerului */
        display: block;
    }

    .gallery-item:hover .gallery-image {
        transform: scale(1.1);
    }

    .gallery-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.7);
        color: white;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-overlay h3 {
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
    }

    .gallery-overlay p {
        font-size: 0.875rem;
        opacity: 0.9;
    }
}






