@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  line-height: 1.6;
  background: #fff;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease;
}
header.scrolled {
  background-color: rgba(255, 255, 255, 0.963);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* Flyer page */
.flyer-page header { position: relative !important; top:auto !important; left:auto !important; width:100%; z-index:10; background:#fff; box-shadow:none; transition:transform .3s, opacity .3s; }
.flyer-page header.hidden { transform: translateY(-100%); opacity: 0; pointer-events: none; }

/* ===== Top bar ===== */
.top-bar{
  background:#4c75c7; color:#fff; padding:.5rem 1rem;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap;
  font-size:.9rem;
}


.email-link {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
}

.email-link i { margin-right: 5px; }

/* ===== Modal Email ===== */
.modal-email {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content-email {
  background-color: #fff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close-email {
  color: #333;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.contact-form-email input,
.contact-form-email textarea,
.contact-form-email button {
  width: 100%;
  margin: 10px 0;
  padding: 12px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.contact-form-email button {
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form-email button:hover {
  background-color: #0056b3;
}

/* ===== Selector limbă ===== */
.language-selector {
  position: relative;
  width: 160px;
  cursor: pointer;
  user-select: none;
  font-family: Arial, sans-serif;
}

/* Text negru */
.language-selector .selected span {
  color: #000;
}
.language-selector .options div span {
  color: #000;
}

.language-selector .selected {
  border: 1px solid #ccc;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 5px;
}

.language-selector .selected img {
  width: 20px;
  margin-right: 8px;
}

.language-selector .options {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  border: 1px solid #ccc;
  background: #fff;
  z-index: 1000;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.language-selector .options div {
  padding: 5px 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.language-selector .options div img {
  width: 20px;
  margin-right: 8px;
}

.language-selector .options div:hover {
  background: #f0f0f0;
}

/* ===== Responsive pentru ecrane mici ===== */
@media (max-width: 600px) {
  .language-selector {
    width: 120px; /* Selector mai îngust */
  }

  .language-selector .selected img,
  .language-selector .options div img {
    width: 14px; /* Steag mai mic */
    margin-right: 5px;
  }

  .language-selector .selected {
    padding: 4px 8px; /* Mai compact pe telefon */
  }

  .language-selector .options div {
    padding: 4px 8px; /* Mai compact pe telefon */
  }
}


/* ===== Navbar ===== */
.navbar{
  position: sticky; top:0; z-index: 999;
  background: rgba(255,255,255,0.959);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding:.8rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between;
}

.logo{ display:flex; align-items:center; }
.navbar .logo img{
  height:55px; max-width:180px; object-fit:contain; transition:transform .3s;
}
.navbar .logo img:hover{ transform: scale(1.05); }

/* ===== Meniu desktop ===== */
.menu{
  list-style:none; display:flex; gap:1rem; margin:0; padding:0;
}
.menu li{ position:relative; }
.menu a{
  text-decoration:none; color:#001844; font-weight:500; font-size:.95rem;
  padding:6px 10px; position:relative; transition: color .3s;
}
.menu a::after{
  content:""; position:absolute; left:0; bottom:-3px; width:0; height:2px; background:#0073e6; transition: width .3s;
}
.menu a:hover{ color:#0073e6; }
.menu a:hover::after{ width:100%; }

/* ===== Dropdown desktop ===== */
.dropdown-content{
  display:none; position:absolute; top:120%; left:0;
  background:#fff; border-radius:10px; box-shadow:0 8px 20px rgba(0,0,0,.15);
  min-width:180px; padding:.5rem 0; z-index:999; opacity:0; transform:translateY(10px);
  transition: all .3s ease;
}
.dropdown:hover .dropdown-content{ display:block; opacity:1; transform:translateY(0); }
.dropdown-content li a{
  display:block; padding:10px 16px; color:#001844; font-weight:500;
  transition: background .3s, padding-left .3s;
}
.dropdown-content li a:hover{ background:#f5f5f5; padding-left:20px; color:#0073e6; }

/* ===== Hamburger ===== */
.hamburger{
  display:none; font-size:1.8rem; cursor:pointer; color:#001844;
}

/* ===== Mobile / tablete mici ===== */
@media (max-width: 992px){
  .navbar{
    display:grid;
    grid-template-columns: auto 1fr auto;
    align-items:center;
    padding:.8rem 1rem;
  }
  .logo{ justify-self:start; }
  .hamburger{ display:block; justify-self:end; z-index:1002; }

  .navbar .logo img{ max-width:140px; height:auto; }

  /* Panou off-canvas al meniului */
  .menu {
    position: fixed;
    top: 0; right: -280px;
    width: 280px; min-height:100vh; max-height:100vh;
    overflow-y: auto;
    background: #fff;
    padding: 3.5rem 1rem 2rem;
    display: flex; flex-direction: column; gap: 1rem;
    transition: right 0.3s ease; box-shadow: -4px 0 12px rgba(0,0,0,0.12); z-index:1001;
  }

  .menu.active{ right:0; }

  .menu .dropdown-content {
    position: relative;
    background: #fff !important;
    box-shadow: none;
    border-radius: 6px;
    width: 100%;
    margin-top: 0.25rem;
    display: none;
  }

  .menu .dropdown.active .dropdown-content { display:block; }

  .menu li{ width:100%; }
  .menu a{ display:block; padding:10px 6px; }
}

/* ===== Responsiv top-bar și selector limbă ===== */
@media (max-width: 768px){
  .top-bar { flex-direction: column; gap: 0.5rem; }
  .language-selector{ width:100%; }
  .language-selector .selected{ justify-content:flex-start; }
}


/* HERO FEATURES */
.hero {
  position: relative;
  background: url('images/Modern.png') no-repeat center center/cover;
  height: auto; /* imaginea va fi doar cât conținutul */
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5% 5%;
  color: white;
  overflow: hidden;
}
.hero-text {
  width: 100%;          /* întinde pe toată lățimea containerului */
  max-width: none;      /* elimină limitarea */
  z-index: 2;
  position: relative;
  top: 0;
  left: 0;
  margin-top: -2rem;
  margin-bottom: auto;
  text-align: center;   /* opțional, pentru centrare text */
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-text .cta-button {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  background-color: #ff5e14;
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
}

.hero-features {
  position: relative; /* NU mai e absolute */
  transform: none;
  left: auto;
  bottom: auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 15rem;
}

.hero-features .section-title {
  color: rgb(255, 255, 255);
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
}

.features {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 1rem;
  width: 100%;
  overflow-x: auto;
  padding-bottom: 0rem;
  padding: 0 1rem;
  box-sizing: border-box;
  
}

.feature-box {
  width: calc((100% - (5 * 1rem + 2rem)) / 6);
  height: 260px;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: #080808;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}


.feature-box img {
  width: 50px;
  height: 80px;
  margin: 0 auto 0.5rem auto;
  display: block;
}

.feature-box h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #050505;
  margin: 0.5rem 0;
}

.feature-box p {
  font-size: 0.9rem;
  color: #080808;
  line-height: 1.3;
  font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding-bottom: 4rem;
  }

  .hero-text {
    align-self: center;
    text-align: center;
  }

  .hero-features {
    position: relative;
    transform: none;
    left: 0;
    bottom: 0;
    margin-top: 2rem;
  }

  .features {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .feature-box {
    width: 200px;
    min-width: 200px;
  }
}


/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: #0073e6;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 25px;
  transition: background 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
  background: #005bb5;
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 4rem 2rem;
  text-align: center;
}

.alt-section {
  background: #eef2f6;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #003366;
}

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.feature-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0073e6;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* CTA Banner */
.cta-banner {
  background: #0073e6;
  color: white;
  padding: 1rem 1rem;
  text-align: center;
 
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #ccc;
  padding: 2rem;
  margin-top: 0;
}

.footer h4 {
  color: #fff;
  margin-bottom: 0.8rem;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.5rem;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  font-size: 0.9rem;
  text-align: center;
}

.footer-bottom a {
  color: #ccc;
  text-decoration: underline;
}

.footer-bottom a:hover {
  color: #fff;
}

/* Animations */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 {
  animation-delay: 0.3s;
}
.delay-2 {
  animation-delay: 0.6s;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  animation: slideInLeft 1s forwards;
}

.slide-in-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideInUp 1s forwards;
}

/* Keyframes */
@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .features, .cards, .footer-cols {
    flex-direction: column;
    align-items: center;
  }

  .navbar {
    flex-direction: column;
  }

  .nav-links {
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1rem;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
  }
}

.footer {
  background: url('images/footer-bg.jpg') center/cover no-repeat;
  color: #fff;
  position: relative;
  
}

.footer-overlay {
  background: rgba(0, 0, 0, 0.7);
  padding: 3rem 2rem;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

.footer p {
  font-size: 0.95rem;
  margin: 0.3rem 0;
}

.footer i {
  color: #00aaff;
  margin-right: 0.5rem;
}

.footer a {
  color: #00aaff;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  border-top: 1px solid #666;
  padding-top: 1rem;
  font-size: 0.85rem;
  text-align: center;
  position: relative;
}

.cookie-button {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  background: white;
  color: black;
  border: none;
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.cookie-button:hover {
  background: #f0f0f0;
}

/* Responsivitate */
@media (max-width: 768px) {
  .footer-cols {
    flex-direction: column;
    gap: 1.5rem;
  }

  .cookie-button {
    position: static;
    margin-top: 1rem;
  }
}
/* GDPR Cookie Banner */
/* Butonul "Privacy & Cookies Policy" fix jos */
.cookie-button-fixed {
  position: fixed;
  bottom: 0;
  right: 20px;
  background-color: #000;
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  z-index: 9998;
  display: none; /* Ascuns implicit, afișat doar când bannerul e închis */
  font-size: 0.9em;
  border-radius: 6px 6px 0 0;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.2);
}

/* Bannerul */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  color: #000;
  padding: 15px;
  font-size: 0.9em;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.3);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.cookie-banner.show {
  display: flex;
}
.cookie-banner button {
  background: #000;
  color: #fff;
  border: none;
  margin: 0 10px;
  padding: 6px 12px;
  cursor: pointer;
  font-size: 0.9em;
}


.cookie-banner a {
  color: #000;
  text-decoration: underline;
}
/* GDPR Banner Hero */
.gdpr-hero {
 
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}

.gdpr-hero-overlay {
  background-color: rgba(0, 0, 0, 0.571);
  color: white;
  padding: 0rem;
  display: inline-block;
  text-align: center;
}


.gdpr-hero-overlay1 {
 background-color: rgba(0, 0, 0, 0.47);
  color: rgb(255, 255, 255);
  padding: 0rem;
  display: inline-block;
  text-align: center;
}

.gdpr-hero h1 {
  font-size: 3rem;
  font-weight: bold;
  margin: 0;
}

/* GDPR Content Section */
.gdpr-content {
  background-color: #fff;
  padding: 3rem 1rem;
  max-width: 1000px;
  margin: auto;
  color: #020202;
  line-height: 1.7;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
}


.gdpr-content ul {
  padding-left: 0;
  list-style-position: inside;
  text-align: left;
  margin: 0 auto;
  max-width: 800px;
  color: #5c5b5b
}
.gdpr-content ol {
  padding-left: 0;
  list-style-position: inside;
  text-align: left;
  margin: 0 auto;
  max-width: 800px;
  color: #5c5b5b
}



.gdpr-content li {
  margin-bottom: 0.5rem;
}

.gdpr-content h2 {
  margin-top: 2rem;
  font-size: 1.4rem;
  color: #222;
  text-align: center;
}

.gdpr-content strong {
  font-weight: 600;
}
.header-banner {
  position: relative;
  height: 400px;
  
  
}

.header-banner-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/banner-gdpr.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(0.5px);
  z-index: 1;
}
.header-banner-blur1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/banner-contact.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(0.5px);
  z-index: 1;
}
.header-banner-blur2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/banner-despre.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(1.5px);
  z-index: 1;
}
.header-banner-blur3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/portofoliu.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(1px);
  z-index: 1;
}
.header-banner-blur4 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/noutati.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(1.5px);
  z-index: 1;
}
.header-banner-blur5 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/bannerBMS.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(1.5px);
  z-index: 1;
}
.header-banner-blur6 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('servicii/banner1.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(1px);
  z-index: 1;
}
.header-banner-blur7 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/banner-cariera.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  filter: blur(0.2px);
  z-index: 1;
}
.header-banner-content {
  position: fixed;
  z-index: 10;
  color: white;
  text-align: center;
 width: 100%;
 
 
}
.header-banner-content1 {
  position: relative;
  z-index: 2;
  color: white;
  text-align: center;
 width: 100%;
 
 padding-top: 210px; 
}
.header-banner-content2 {
  position: absolute;
  z-index: 2;
  color: white;
  text-align: left;
 width: 100%;
 
 padding-top: 240px; 
}
#back-to-top {
  position: fixed;
  bottom: 70px;
  right: 20px;
  display: none;
  background-color: #ffffffb4;
  color: rgb(90, 110, 200);
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 16px;
  cursor: pointer;
  z-index: 10000;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#back-to-top.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Efect de apăsare (click) */
#back-to-top:active {
  animation: bounce-press 0.3s ease;
}

@keyframes bounce-press {
  0% { transform: scale(1); }
  50% { transform: scale(0.85); }
  100% { transform: scale(1); }
}
#back-to-top.clicked {
  background-color: #160451;
  color: #fff;
  animation: bounce-press 0.3s ease;
}
.automation-banner {
  background-color: #4c75c7; /* similar cu albastrul din imagine */
  padding: 2rem 1rem;
  text-align: center;
}

.automation-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10rem;
}

.automation-text {
  color: #fff;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.automation-button {
  background-color: #1e90ff;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.automation-button:hover {
  background-color: #0073e6;
}

/* Responsivitate */
@media (max-width: 600px) {
  .automation-container {
    flex-direction: column;
    text-align: center;
  }

  .automation-text {
    white-space: normal;
  }
}
.about-section {
  padding: 80px 20px;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
}

.about-media {
  flex: 1 1 45%;
  text-align: center;
}

.video-thumbnail {
  position: relative;
  display: inline-block;
}

.video-thumbnail img {
  width: 100%;
  border-radius: 10px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #00aaff;
  color: white;
  font-size: 2rem;
  padding: 12px 18px;
  border-radius: 50%;
  text-decoration: none;
}

.about-text {
  flex: 1 1 50%;
}

.subtitle {
  color: #0072ce;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  margin-bottom: 10px;
}

.title {
  font-size: 36px;
  color: #002b5c;
  margin-bottom: 20px;
  line-height: 1.3;
}

.description {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
}

.more-link {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}

.about-button {
  margin-top: 30px;
}

.contact-button {
  display: inline-block;
  background-color: #e6f5ff;
  color: #00aaff;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #cceeff;
}
.hidden-text {
  display: none;
}

.more-link {
  display: inline-block;
  margin-top: 10px;
  color: #0072ce;
  font-weight: bold;
  cursor: pointer;
  text-decoration: underline;
}
.video-thumbnail {
  position: relative;
  cursor: pointer;
  display: inline-block;
}

.video-thumbnail img {
  border-radius: 8px;
  max-width: 100%;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #00aaff;
  color: #fff;
  font-size: 2rem;
  border-radius: 50%;
  padding: 10px 16px;
  pointer-events: none;
}

/* MODAL VIDEO */
.video-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.75);
}

.video-modal-content {
  position: relative;
  margin: 5% auto;
  padding: 0;
  width: 80%;
  max-width: 800px;
}

.video-modal video {
  width: 100%;
  border-radius: 8px;
}

.video-close {
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 28px;
  color: #fff;
  background: #444;
  border-radius: 50%;
  padding: 5px 10px;
  cursor: pointer;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.stats-section {
  background: #f8f9fb;
  padding: 60px 40px;
  display: flex;
  justify-content: center;
}

.stats-section .container {
  max-width: 1300px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  flex-wrap: wrap; /* Permitem elementelor să se ajusteze pe ecrane mai mici */
}

.logo-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-area img {
  max-width: 450px;
  height: auto;
}

.stats-area {
  flex: 2;
  text-align: right;
  padding-right: 80px;
}

.stats-area h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 50px;
  color: #111;
}

.stats-grid {
  display: flex;
  justify-content: flex-end;
  gap: 80px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  min-width: 120px;
}

.stat .number {
  font-size: 64px;
  color: #0090ff;
  font-weight: bold;
}

.stat p {
  margin-top: 8px;
  font-style: italic;
  font-size: 16px;
  color: #111;
}

/* Ajustări pentru dispozitive medii (tablete, ecrane sub 1024px) */
@media (max-width: 1024px) {
  .stats-section {
    padding: 50px 30px; /* Micșorăm padding-ul pentru a economisi spațiu */
  }

  .stats-section .container {
    gap: 40px; /* Reducem distanța între secțiuni */
  }

  .logo-area {
    flex: 1;
  }

  .stats-area {
    flex: 2;
    text-align: center; /* Aliniem textul în centru pentru o mai bună lizibilitate */
    padding-right: 40px; /* Reducem padding-ul din dreapta */
  }

  .stats-area h2 {
    font-size: 28px; /* Reducem dimensiunea titlului */
    margin-bottom: 30px;
  }

  .stats-grid {
    gap: 40px;
    justify-content: center; /* Centrăm elementele */
  }

  .stat .number {
    font-size: 48px; /* Reducem dimensiunea numerelor */
  }

  .stat p {
    font-size: 14px; /* Reducem dimensiunea textului */
  }
}

/* Ajustări pentru dispozitive mici (telefoane, ecrane sub 768px) */
@media (max-width: 768px) {
  .stats-section {
    padding: 40px 20px; /* Reducem padding-ul */
  }

  .stats-section .container {
    gap: 30px; /* Reducem distanța între elemente */
  }

  .logo-area {
    flex: 1;
    justify-content: flex-start; /* Aliniem logo-ul în partea stângă */
  }

  .stats-area {
    flex: 1;
    padding-right: 20px; /* Micșorăm padding-ul din dreapta */
    text-align: center; /* Aliniem textul în centru */
  }

  .stats-area h2 {
    font-size: 24px; /* Reducem titlul pentru a se potrivi pe ecrane mici */
    margin-bottom: 20px;
  }

  .stats-grid {
    gap: 20px; /* Reducem spațiul dintre elemente */
    justify-content: center; /* Centrăm elementele */
  }

  .stat .number {
    font-size: 36px; /* Reducem dimensiunea numerelor */
  }

  .stat p {
    font-size: 14px; /* Reducem dimensiunea textului */
  }
}

/* Ajustări pentru dispozitive foarte mici (telefoane foarte mici, sub 480px) */
@media (max-width: 480px) {
  .stats-section {
    padding: 30px 15px; /* Reducem padding-ul */
  }

  .stats-section .container {
    flex-direction: column; /* Aliniem elementele pe verticală */
    gap: 20px; /* Reducem distanța între secțiuni */
  }

  .logo-area {
    flex: 1;
    justify-content: center; /* Centrăm logo-ul pe ecrane mici */
  }

  .stats-area {
    flex: 1;
    padding-right: 0; /* Eliminăm padding-ul din dreapta */
    text-align: center; /* Aliniem textul în centru */
  }

  .stats-area h2 {
    font-size: 20px; /* Reducem dimensiunea titlului */
    margin-bottom: 15px;
  }

  .stats-grid {
    gap: 10px; /* Reducem spațiul dintre elemente */
    justify-content: center; /* Centrăm elementele */
  }

  .stat .number {
    font-size: 28px; /* Reducem dimensiunea numerelor */
  }

  .stat p {
    font-size: 12px; /* Reducem dimensiunea textului */
  }
}

.valori-staggered {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #f4a533;
  margin-bottom: 40px;
  text-transform: uppercase;
  font-weight: bold;
}

.valori-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
  position: relative;
}

.valoare-pachet {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 195px;              
}

.val-box {
  width: 100px;
  height: 100px;
  background: #fff;
  border: 2px solid #005a6d;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: transform 0.3s ease;
}

.val-box:hover {
  transform: scale(1.05);
}

.val-text {
  max-width: 250px;
  background: transparent;
  padding: 10px;
}

.val-text h3 {
  color: #f4a533;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.val-text p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Poziționare staggered */
.val-box.sus {
  margin-bottom: 20px;
}

.val-box.jos {
  margin-top: 60px;
}

.val-text.sus {
  margin-bottom: 60px;
}

.val-text.jos {
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .valori-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .valoare-pachet {
    width: 100%;
  }

  .val-text.sus,
  .val-text.jos,
  .val-box.sus,
  .val-box.jos {
    margin: 20px 0 !important;
  }
}
.partners-section {
  background: #0c1322;
  color: white;
  clip-path: polygon(0 10%, 100% 0%, 100% 100%, 0% 100%);
  padding: 60px 40px 160px;
  overflow: hidden;
  position: relative;
   text-align: center;
}
.titlu-parteneri {
  font-size: 1.8rem;
  font-weight: 400;
  margin-bottom: 10px;
}

.subtitlu-parteneri {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.carousel-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  gap: 40px;
  transition: transform 0.5s ease-in-out;
  overflow: hidden;
  width: calc(160px * 5 + 40px * 4); /* 5 cercuri + 4 spații între ele */
}

.logo-item {
  flex: 0 0 150px;
  height: 160px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.logo-item1 {
  flex: 0 0 150px;
  height: 160px;
  border-radius: 50%;
  background: rgb(7, 2, 162);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  
}
.logo-item1 img{
  width: 80%;
  height:auto;
  object-fit: cover;
 
}
.logo-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  
}

.carousel-btn {
  background: white;
  color: #004d66;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 2;
}

.carousel-btn.prev {
  position: absolute;
  left: -60px;
}

.carousel-btn.next {
  position: absolute;
  right: -60px;
}
.btn-portofoliu {
  display: inline-block;
  padding: 15px 30px;
  background-color: #0078d7;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-portofoliu:hover {
  background-color: #07467a;
}
.buton-centru {
  margin-top: 100px;
  text-align: center;
}
.card {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: white;
  padding: 30px 20px;
  border-radius: 20px;
  min-height: 310px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.card .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 0, 8, 0.515); /* întunecare */
  z-index: 1;
  pointer-events: none;
}
.card h3,
.card p {
  position: relative;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

/* Fundaluri unice */
.card-proiectare {
  background-image: url("images/fundal-proiectare1.png");
}

.card-executie {
  background-image: url("images/fundal-executie1.png");
}

.card-modernizare {
  background-image: url("images/fundal-modernizare1.png");
}

.card-integrare {
  background-image: url("images/fundal-integrare.png");
}

.card-mentenanta {
  background-image: url("images/fundal-mentenanta1.png");
}

.card-consultanta {
  background-image: url("images/fundal-consultanta1.png");
}
.card-programare{
  background-image: url("images/fundal-programare.png");
}
.card-design{
  background-image: url("images/fundal-design.png");
}
.card-btn {
  display: inline-block;
  padding: 15px 30px;
  background-color: #0076d797;
  color: #fff;
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2; /* peste overlay */
}


.card-btn:hover {
   background-color: #07467a;
}
.protocol-section {
  margin-top: 60px;
  text-align: center;
}

.protocol-section h3 {
  font-size: 1.6rem;
  margin-bottom: 30px;
  color: #fff;
}

.protocol-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.protocol-logo {
  width: 150px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  padding: 6px;
  border-radius: 12px;
  transition: transform 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.protocol-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.protocol-logo:hover img {
  filter: grayscale(0%);
}
.furnizori-marquee {
  background: #f4f4f4;
  padding: 60px 20px;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.furnizori-marquee .section-title {
  font-size: 2rem;
  color: #222;
  margin-bottom: 40px;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 25s linear infinite;
  gap: 40px;
}

.furnizor-logo {
  flex: 0 0 auto;
  background: white;
  padding: 10px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 200px;
}

.furnizor-logo img {
  max-width: 100%;
  max-height: auto;
  object-fit: cover;
  filter: grayscale(0%);
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.contact-section {
  display: flex;
  flex-wrap: wrap;
  padding: 3rem 1rem;
  background: #fff;
  gap: 2rem;
  justify-content: center;
}

.contact-info {
  flex: 1;
  max-width: 400px;
  padding: 1rem;
}

.contact-info h2 {
  margin-bottom: 1rem;
  color: #005baa;
}

.contact-info p {
  margin: 0.5rem 0;
  font-size: 1rem;
}

.contact-info i {
  margin-right: 10px;
  color: #0078d4;
}

.contact-info a {
  color: #0078d4;
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.social {
  margin-top: 1rem;
}

.social i {
  font-size: 1.5rem;
  color: #0078d4;
  margin-left: 0.5rem;
}

.contact-form {
  flex: 1;
  max-width: 500px;
  padding: 1rem;
  background: #f0f4ff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 91, 170, 0.1);
}

.contact-form h3 {
  margin-bottom: 1rem;
  color: #005baa;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: #0078d4;
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #005baa;
}

.map-custom {
  padding: 40px 0;
}

.map-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 20px;
  padding: 0 20px;
  align-items: flex-start;
  justify-content: space-between;
}

.left-map {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
}

.map-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #005bac;
}

.map-container {
  position: relative;
  width: 100%;
  max-width: 600px;
}
.pin-label {
  position: absolute;
   top: 49.5%; /* Poziție estimativă Brașov */
  left: 53.5%;; /* centrează textul față de pin */
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.8); /* fundal ușor alb */
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 14px;
  font-weight: bold;
  color: #000;
  pointer-events: none; /* nu afectează click-ul pe pin */
}
.romania-map {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid #ccc;
  border-radius: 8px;
}

.pin {
  position: absolute;
  top: 56.5%; /* Poziție estimativă Brașov */
  left: 53.5%;
  transform: translate(-50%, -100%);
  width: 20px;
  height: 20px;
  background-color: #3ecf4a;
  border: 3px solid white;
  border-radius: 50%;
  cursor: pointer;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1) translate(-50%, -100%);
  }
  50% {
    transform: scale(1.3) translate(-50%, -100%);
  }
  100% {
    transform: scale(1) translate(-50%, -100%);
  }
}

.right-map {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  display: none;
  position: relative;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.right-map.show {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.right-map iframe {
  width: 100%;
  height: 100%;
  max-height: 100%;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}
.map-title {
  font-size: 24px;
  margin-bottom: 30px;
  color: #005bac;
}

.center-title {
  text-align: center;
}
.schedule-box {
  background-color: #f1f1f1;
  padding: 20px;
  margin-top: 20px;
  text-align: center;
  border-radius: 8px;
  max-width: 250px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.schedule-box h3 {
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: #001133;
  margin-bottom: 10px;
}

.schedule-box .subtitle {
  font-size: 0.7rem;
  color: #666;
  margin-bottom: 10px;
}

.schedule-box .days {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 5px;
  color: #333;
}

.schedule-box .hours {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
}
.cine-suntem {
  background-color: #f9f9f9;
  padding: 4rem 1rem;
  font-family: 'Ubuntu', sans-serif;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}

.cine-grid {
  display: flex;
  flex-direction: row;
  gap: 3rem;
  align-items: flex-start;
  flex-wrap: wrap;
}

.cine-img img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  width: 320px;
}

.cine-text {
  flex: 1;
  min-width: 300px;
}

.cine-text h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #0a2342;
}

.cine-text ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cine-text li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  color: #2d2d2d;
  line-height: 1.7;
}

.cine-text li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #0078d7;
  font-weight: bold;
}
.standarde-section {
  display: flex;
  flex-wrap: wrap;
  background: linear-gradient(to right, #f2f2f2, #ffffff);
  padding: 60px 20px;
  align-items: center;
}

.left-side {
  flex: 1 1 300px;
  padding: 20px;
  text-align: center;
}

.standard-logos {
  max-width: 250px;
  margin-top: 20px;
}

.right-side {
  flex: 2 1 500px;
  padding: 20px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: center;
}

.tabs button {
  background-color: #ddd;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  border-radius: 20px;
  transition: 0.3s ease;
  font-size: 14px;
}

.tabs button:hover,
.tabs button.active {
  background-color: #0074cc;
  color: #fff;
}

.carousel-container {
   display: flex;
  justify-content: center;
  align-items: center;
  min-height: 350px;
  position: relative;
  flex-direction: column;
}

.carousel img {
  width: 100%;
  max-width: 300px;
  height: 300px;
  border-radius: 10px;
  box-shadow: 0 0 10px #999;
  cursor: pointer;
  transition: transform 0.3s ease;
   object-fit: contain;
  margin: auto
}

/* === MODAL === */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.9);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: 95%;
  animation: zoom 0.3s ease;
  border-radius: 10px;
}

@keyframes zoom {
  from {transform: scale(0.7)}
  to {transform: scale(1)}
}

.modal-prev,
.modal-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  font-size: 3rem;
  color: white;
  transform: translateY(-50%);
  user-select: none;
  padding: 20px;
  transition: 0.3s ease;
}

.modal-prev:hover,
.modal-next:hover {
  color: #ccc;
}

.modal-prev {
  left: 20px;
}
.modal-next {
  right: 20px;
}

.close {
  position: absolute;
  top: 30px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s ease;
  cursor: pointer;
}

.close:hover {
  color: #ccc;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .standarde-section {
    flex-direction: column;
    text-align: center;
  }

  .tabs {
    justify-content: center;
  }

  .carousel img {
    max-width: 90%;
  }
}
.carousel-dots {
  text-align: center;
  margin-top: 15px;
}

.carousel-dots .dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background-color: #ccc;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.carousel-dots .dot.active {
  background-color: #007BFF; /* Albastru evidențiat */
}
.activity-section {
  background-color: #f9f9fb;
  padding: 4rem 1.5rem;
  text-align: center;
  font-family: 'Segoe UI', sans-serif;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #1f2937;
  animation: fadeIn 1s ease forwards;
}

.activity-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  max-width: 1100px;
  margin: 0 auto;
}

.activity-card {
  background-color: white;
  border-radius: 1.25rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: floatIn 0.6s ease forwards;
  transform: translateY(30px);
  opacity: 0;
  animation-delay: calc(var(--i, 1) * 0.15s);
  animation-fill-mode: forwards;
}

.activity-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 40px rgba(0, 0, 0, 0.12);
}

.activity-card .icon {
  font-size: 2.5rem;
  color: #5c54f7;
  margin-bottom: 1rem;
  animation: pulseIcon 2s infinite;
}

.activity-card p {
  font-weight: 600;
  color: #547bbb;
}

/* ANIMATIONS */
@keyframes floatIn {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes pulseIcon {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.85;
  }
}
.awards-section {
  padding: 4rem 1.5rem;
  background-color: #fff;
  font-family: 'Segoe UI', sans-serif;
  max-width: 1200px;
  margin: auto;
}

.container-premii {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
  margin-bottom: 3rem;
}

.award-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.award-item .award-image {
  flex: 1 1 40%;
}

.award-item .award-image img {
  width: 70%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.award-item .award-text {
  flex: 1 1 50%;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* Alternare stânga/dreapta */
.award-item .left { order: 1; }
.award-item .right { order: 2; }

.award-item:nth-child(even) .left { order: 2; }
.award-item:nth-child(even) .right { order: 1; }

/* Separator între premii */
.separator {
  height: 1px;
  background-color: rgba(0,0,0,0.1);
  width: 100%;
}
#modal-premii-wrapper {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.modal-premii-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
}

.modal-premii-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
  max-width: 1000px;
}

.modal-premii-image {
  width: 60%;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

/* Responsive pentru mobil */
@media screen and (max-width: 768px) {
  .award-item {
    flex-direction: column;
    text-align: center;
  }

  .award-item .left,
  .award-item .right {
    order: initial !important;
  }

  .award-item .award-text {
    flex: 1 1 100%;
  }

  .award-item .award-image {
    flex: 1 1 40%;
  }
}

.portfolio-section {
  padding: 40px 20px;
  max-width: 1200px;
  margin: auto;
}

.filters {
  text-align: center;
  margin-bottom: 30px;
}

.filter-button {
  background-color: #f0f0f0;
  border: none;
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.filter-button.active,
.filter-button:hover {
  background-color: #4f4caf;
  color: white;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 70px;
}

.portfolio-item {
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
 
  
}

.portfolio-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.portfolio-item .category {
  font-size: 0.8rem;
  color: #888;
  margin: 10px 0 0;
}

.portfolio-item h3 {
  margin: 6px 0;
  font-size: 1.1rem;
  color: #333;
  transition: color 0.3s ease;
}

.portfolio-item a h3:hover {
  color: #4c6daf;
}
.portfolio-item a {
  text-decoration: none;
}
.portfolio-item p {
  font-size: 0.9rem;
  color: #555;
}
.portfolio-item .category {
  position: relative;
  font-size: 0.8rem;
  color: #888;
  margin: 12px 0 0;
  display: inline-block;
}

.portfolio-item .category::before,
.portfolio-item .category::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 30px;
  height: 2px;
  background-color: #4c66af;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.portfolio-item .category::before {
  left: -40px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: right;
}

.portfolio-item .category::after {
  right: -40px;
  transform: translateY(-50%) scaleX(0);
  transform-origin: left;
}

/* Hover pe .portfolio-item face liniile să apară */
.portfolio-item:hover .category::before,
.portfolio-item:hover .category::after {
  opacity: 1;
  transform: translateY(-50%) scaleX(1);
}
.no-more-posts {
  text-align: center;
  color: #aaa;
  font-style: italic;
  font-size: 0.95rem;
  padding: 40px 0 80px;
}
.portfolio-item.awarded {
  position: relative;
  overflow: hidden;
}

.portfolio-item .badge {
  position: absolute;
  top: 30px;
  left: -55px;
  background: linear-gradient(135deg, #ffd700, #ff9900);
  color: #fff;
  font-weight: 700;
  padding: 6px 55px;
  transform: rotate(-45deg);
  font-size: 15px; /* <-- MĂRIT */
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  animation: pulse 1.8s infinite;
  letter-spacing: 0.5px;
}

/* Efect de pulsare */
@keyframes pulse {
  0% { transform: rotate(-45deg) scale(1); }
  50% { transform: rotate(-45deg) scale(1.05); }
  100% { transform: rotate(-45deg) scale(1); }
}
