/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 4 version
*/

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}


body {
  margin: 0;
  font-family: 'Helvetica', sans-serif;
  background-color:#ffffff;
  color: #333;
  /*overflow: hidden;*/
  padding-top: 80px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}



.red-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #EB0028; /* Roșu */
  z-index: 1001;
  -webkit-transition: -webkit-transform 1s ease-in-out;
  transition: -webkit-transform 1s ease-in-out;
  -o-transition: transform 1s ease-in-out;
  transition: transform 1s ease-in-out;
  transition: transform 1s ease-in-out, -webkit-transform 1s ease-in-out;
}

.white-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 1001;
  -webkit-transition: -webkit-transform 1s ease-in-out;
  transition: -webkit-transform 1s ease-in-out;
  -o-transition: transform 1s ease-in-out;
  transition: transform 1s ease-in-out;
  transition: transform 1s ease-in-out, -webkit-transform 1s ease-in-out;
}

section {
  scroll-margin-top: 80px;
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  margin: 0 auto 50px;
  -webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.1);
          box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 1450px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.linie-rosie {
  height: 2px;
  background-color: #EB0028;
  width: 40%;       
  margin: 20px 0;
  border: none;       
}

#Echipă {
  max-width: 2000px;
  margin: 0 auto 50px;
  scroll-margin-top: 80px;
  padding: 0; 
  border-radius: 12px; 
  overflow: hidden;
  font-family: Helvetica;
  margin-bottom: 10px;
}

.full-red-link {
  display:block; 
  background-color: #ffffff;
  text-decoration: none;
  padding: 10px 20px;
  text-align: center;
  -webkit-box-shadow:#EB0028;
          box-shadow:#EB0028;
  border: 3.5px solid #EB0028;
}

.full-red-link h2 {
  margin: 0;
  color: rgb(0, 0, 0);
  font-size: 1.5em;
  font-weight: normal;
}

.speaker h2{
  color: rgb(0, 0, 0);
  font-size: 1.5em;
  font-weight:bold;
}

.full-red-link {
  background-color: #EB0028;
  text-decoration: none;
  padding: 10px 20px;
  text-align: center;
  -webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.1);
          box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Section Styling */
.toggle-section {
  
  display: -webkit-box;
  
  display: -ms-flexbox;
  
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  background: #ffffff;
  padding: 20px;
  -webkit-transition: height 2s ease-in;
  -o-transition: height 2s ease-in;
  transition: height 2s ease-in;  

}

/* Toggle Box */
section.toggle-container {
  width: 100%;
  max-width: 600px;
  background-color: #fff;
  -webkit-box-shadow: none;
          box-shadow: none;
  position: relative;
  margin: 0 auto;

}


/* Header */
.toggle-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 18px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1rem;
  background-color: #ffffff;
  border-bottom: 1px solid #ffffff;
}

/* Icon */
.icon {
  position: relative;
  width: 24px;
  height: 24px;
}

.icon span {
  position: absolute;
  background: black;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transition: transform 0.3s ease, opacity 0.3s ease, -webkit-transform 0.3s ease;
  border-radius: 2px;
}

.icon .horizontal {
  top: 50%;
  left: 0;
  width: 100%;
  height: 3px;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
}

.icon .vertical {
  left: 50%;
  top: 0;
  width: 3px;
  height: 100%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
}

.icon.active .vertical {
  -webkit-transform: translateX(-50%) rotate(90deg) scaleY(0);
      -ms-transform: translateX(-50%) rotate(90deg) scaleY(0);
          transform: translateX(-50%) rotate(90deg) scaleY(0);
  opacity: 0;
}

/* Content */
.toggle-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  background-color: #fff;
  -webkit-transition: 
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  -o-transition: 
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: 
    max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  -webkit-transform: translateY(-10px);
      -ms-transform: translateY(-10px);
          transform: translateY(-10px);
  -webkit-transition: 
    max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.3s ease 0.1s,
    -webkit-transform 0.3s ease;
  transition: 
    max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.3s ease 0.1s,
    -webkit-transform 0.3s ease;
  -o-transition: 
    max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.3s ease 0.1s,
    transform 0.3s ease;
  transition: 
    max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.3s ease 0.1s,
    transform 0.3s ease;
  transition: 
    max-height 0.5s ease,
    padding 0.5s ease,
    opacity 0.3s ease 0.1s,
    transform 0.3s ease,
    -webkit-transform 0.3s ease;
}

.toggle-content p {
 line-height: 8mm;
  font-size: 18px;
    color:#696767;
}
.toggle-content.open {
  max-height: 500px; /* Ajustează la valoarea maximă așteptată */
  padding: 16px 18px;
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.toggle-container::before {
  content: "";
  display: block;
  height: 2px;
  background-color: #ccc;
  width: 100%;
  position: relative;
  top: 0;
  left: 0;
}

.bottom-line {
  height: 2px;
  background-color: #ccc;
  width: 100%;
  -webkit-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  -webkit-transform: scaleY(0);
      -ms-transform: scaleY(0);
          transform: scaleY(0);
  -webkit-transform-origin: top;
      -ms-transform-origin: top;
          transform-origin: top;
  opacity: 0;
}

.toggle-content.open + .bottom-line {
  -webkit-transform: scaleY(1);
      -ms-transform: scaleY(1);
          transform: scaleY(1);
  opacity: 1;
  -webkit-transition-delay: 0.2s;
       -o-transition-delay: 0.2s;
          transition-delay: 0.2s;
}

.footer {
  background-color: #f8f8f8;
  padding: 20px 0;
  border-top: 1px solid #e0e0e0;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  font-size: 14px;
  color: #555;
}

.footer-logo {
  width: 10%;
}

.footer-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 15px;
}

.footer-link {
  color: #555;
  text-decoration: none;
}

.orar img {
   width: 60%; /* Sau orice procentaj între 40-70% după preferințe */
    max-width: 800px; /* Limitează dimensiunea maximă */
    display: block;
    margin: 0 auto;
}

/* Navbar */
.navbar {
  background: rgba(255, 255, 255, 0.324);
  position: fixed;
  top: 0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0 30px;
  /*box-shadow: 0 2px 8px rgba(0,0,0,0.15);*/
  z-index: 1000;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  -o-transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), -webkit-transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.navbar-hidden {
  -webkit-transform: translateY(-100%);
      -ms-transform: translateY(-100%);
          transform: translateY(-100%);
}

.logo {
  height: 80px;
  margin-right: 50px;
  -webkit-transition: height 0.3s ease;
  -o-transition: height 0.3s ease;
  transition: height 0.3s ease;
}

.nav-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.navbar a {
  color: #696767;
  text-decoration: none;
  padding: 16px 20px;
  display: block;
  font-weight: bold;
  -webkit-transition: background 0.3s ease, -webkit-transform 0.3s ease;
  transition: background 0.3s ease, -webkit-transform 0.3s ease;
  -o-transition: background 0.3s ease, transform 0.3s ease;
  transition: background 0.3s ease, transform 0.3s ease;
  transition: background 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
  white-space: nowrap;
   padding: 16px 10px;
   text-align: center;
   -webkit-box-pack: center;
       -ms-flex-pack: center;
           justify-content: center;
}

.navbar a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}

.nav-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  padding-left: 20px;
  margin-left: auto;
}


.nav-icons img {
  width: 30px;
  height: 30px;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
  -o-transition: transform 0.3s ease, filter 0.3s ease;
  transition: transform 0.3s ease, filter 0.3s ease;
  transition: transform 0.3s ease, filter 0.3s ease, -webkit-transform 0.3s ease, -webkit-filter 0.3s ease;
  cursor: pointer;
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
}

.nav-icons img:hover {
  -webkit-transform: scale(1.5);
      -ms-transform: scale(1.5);
          transform: scale(1.5);
  -webkit-filter: brightness(1.2);
          filter: brightness(1.2);
  -webkit-filter: grayscale(100%);
          filter: grayscale(100%);
}

.navbar a.bilete-button {

  background-color: #000000;
  color: white;
  border-radius: 8px;
  padding: 12px 20px;
  margin-left: 0;
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  -o-transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}

.navbar a.bilete-button:hover {
  background-color: #EB0028;
  color: white;
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
  -webkit-box-shadow: 0 0 10px rgba(235, 0, 40, 0.5);
          box-shadow: 0 0 10px rgba(235, 0, 40, 0.5);
}

/* Hero Section */
.hero-section {
  text-align: center;
  background-color: #f4f4f9;
  color: white;
  position: relative;
  width: 100%;
  margin: 0 auto;
  max-width: 95%;
  overflow: hidden;
  height: 0;
  padding-bottom: 56.25%;
  border-radius: 20px;

}
.mobile-image {
  display: none;
  height: 40px; 
}

.hero-section video {
 
    position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0;
  border-radius: 12px;
 -webkit-filter: brightness(65%) sepia(10%);
         filter: brightness(65%) sepia(10%);
 
}

.video-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
      -ms-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  z-index: 1;
  width: 30%;
  min-width: 300px;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.video-overlay img {
  width: 150%;
  height: auto;
  max-width: auto;
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

/* Content Sections */
.content {
  padding: 65px 20px 120px;
  border-radius: 12px;
  max-width: 1450px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  width: 100%;
}

section h2 {
  color: #EB0028;
  text-align: center;
}

/* Speakers Section */
.speakers-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}

section h1{
  color:#000000;
  font-size: 200%;
  margin-top: -30px;
}

section h4{
  color: rgb(255, 255, 255);
  font-size: 300%;
}
.speakers-row-secondary {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
  width: 100%;
}
.speaker {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: calc(30% - 15px);
  text-align: center;
  margin-bottom: 30px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  max-width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.speaker p{
  line-height: 8mm;
  width: 95%;
  font-size: 18px;
    color:#696767;

}
.speaker img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 100%;
  display: block;
}

.speaker-imgech {
  width: 100%;
  height: auto;
  border-radius: 8px;
  max-width: 100%;
  display: block;
  margin-bottom: -30px;
}

.speaker:hover {
  -webkit-transform: translateY(-10px);
      -ms-transform: translateY(-10px);
          transform: translateY(-10px);
}

.insta{ 
  display: -webkit-box; 
  display: -ms-flexbox; 
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  width: 27.5%;
  height: auto;
}

.insta2{ 
  display: -webkit-box; 
  display: -ms-flexbox; 
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  width: 43%;
  height: auto;
}

.speaker-icon{ 
  display: -webkit-box; 
  display: -ms-flexbox; 
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  width: 18%;
  height: auto;
}

.speaker-icon1{ 
  display: -webkit-box; 
  display: -ms-flexbox; 
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  width: 12.5%;
  height: auto;
}

.speaker-icon2{ 
  display: -webkit-box; 
  display: -ms-flexbox; 
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  width: 11%;
  height: auto;
}

 .rh{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  width: 22.5%;
  height: auto;
 }
 .fb{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  width: 9%;
  height: auto;
 }
.linkedin{ 
  display: -webkit-box; 
  display: -ms-flexbox; 
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 15px;
  width: 9%;
  height: auto;
}

.countdown {
  text-align: center;
  padding: 50px 50px 100px;
  background-color: #ffffff;
  margin: 0 100px 30px;
  border-radius: 12px;
  -webkit-box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  font-size: 1.5em;
  color: #EB0028;
  -webkit-transition: -webkit-transform 0.4s ease;
  transition: -webkit-transform 0.4s ease;
  -o-transition: transform 0.4s ease;
  transition: transform 0.4s ease;
  transition: transform 0.4s ease, -webkit-transform 0.4s ease;
  max-width: 70%; /* Sau orice procentaj între 70-90% după preferințe */
  width: 800px;
}

/* Dual Sections */
.dual-section-wrapper {
  max-width: 1450px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.dual-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
  width: 100%;
}

.half-section {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  background-color: white;
  border-radius: 12px;
  padding: 30px;
  -webkit-box-shadow: 0 4px 12px rgba(0,0,0,0.1);
          box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* Contact Section */
.icon-contact { 
  width: 50px; 
  height: 50px; 
  display: block;
  margin: 0 auto;
}

.contact-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 15px;
  margin: 20px 0;
  font-weight: bold;
  text-align: center;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}


/* Team Button Section */
.team-button-section {
  position: relative;
  overflow: hidden;
  padding: 0;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.team-button {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  height: 100%;
  min-height: 200px;
  cursor: pointer;
  background-color: #EB0028;
  color: white;
  border-radius: 12px;
  -webkit-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.team-button img{
  border-radius: 0;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}



.team-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #EB0028; /* Fundalul roșu vine de aici */
  color: white;
  opacity: 0;
  -webkit-transform: rotateX(-90deg);
          transform: rotateX(-90deg);
  -webkit-transform-origin: bottom;
      -ms-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.6);
  -o-transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.6);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding: 20px;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.team-button:hover h2 {
  -webkit-transform: translateY(-20px);
      -ms-transform: translateY(-20px);
          transform: translateY(-20px);
}

.team-button:hover .team-info {
  opacity: 1;
 -webkit-transform: rotateX(0deg);
         transform: rotateX(0deg);
}
.team-button:hover .team-info::after {
  opacity: 0;
 -webkit-transform: rotateX(-10deg);
         transform: rotateX(-10deg);
}


.switch {
  font-size: 17px;
  position: relative;
  display: inline-block;
  width: 3.5em;
  height: 2em;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: #a5a5a5;
  border-radius: 50px;
  -webkit-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  -o-transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.slider:before {
  position: absolute;
  content: "";
  height: 1.4em;
  width: 1.4em;
  left: 0.3em;
  bottom: 0.3em;
  background-color: white;
  border-radius: 50px;
  -webkit-box-shadow: 0 0px 20px rgba(0,0,0,0.4);
          box-shadow: 0 0px 20px rgba(0,0,0,0.4);
  -webkit-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.switch input:checked + .slider {
  background: #EB0028;
}

.switch input:focus + .slider {
  -webkit-box-shadow: 0 0 1px #b84fce;
          box-shadow: 0 0 1px #b84fce;
}

.switch input:checked + .slider:before {
  -webkit-transform: translateX(1.6em);
      -ms-transform: translateX(1.6em);
          transform: translateX(1.6em);
  width: 2em;
  height: 2em;
  bottom: 0;
}

.spatiu{
  width: 100px;
}
.textMetianu{
  font-family: 'Helvetica';
  font-size: clamp(24px, 4vw, 30px);
  color: #000000da;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 40px;
  text-align: center;
  width: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  height: auto;
  max-width: 800px;
  display: block;
  margin: 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
}

.textMetianu1{
  font-family: 'Helvetica', sans-serif;
  font-weight: 800;
 font-size: clamp(8px, 2vw, 16px);  /* între 8px și 16px */
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
  width: 70%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  color: #EB0028;
  height: auto;
  max-width: 100%;
  display: block;
  margin: 0 auto;
  -o-object-fit: contain;
     object-fit: contain;
}
       
.loader {
  font-family: 'Helvetica', sans-serif;
  font-weight: 800;
  font-size: 30px;
  color: #000000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 20px;
  text-align: center;
  width: 100%;
}

.words {
  position: relative;
  height: 30px;
  overflow: hidden;
  text-align: center;
}

.words::after {
  content: "";
  position: absolute;
  inset: 0;
  background: -webkit-gradient(
    linear,
    left top, left bottom,
    color-stop(10%, var(--bg-color)),
    color-stop(70%, transparent),
    color-stop(70%, transparent),
    to(var(--bg-color))
  );
  background: -o-linear-gradient(
    var(--bg-color) 10%,
    transparent 70%,
    transparent 70%,
    var(--bg-color) 100%
  );
  background: linear-gradient(
    var(--bg-color) 10%,
    transparent 70%,
    transparent 70%,
    var(--bg-color) 100%
  );
  z-index: 20;
}

.poza{
   width: 10px;
}
.word {
  display: block;
  height: 30px;
  line-height: 30px;
  -webkit-animation: slideWords 8s infinite;
          animation: slideWords 8s infinite;
  text-align: center;
}

@-webkit-keyframes slideWords {
  0%   { -webkit-transform: translateY(0); transform: translateY(0); }
  16.66%  { -webkit-transform: translateY(-30px); transform: translateY(-30px); }
  33.33%  { -webkit-transform: translateY(-60px); transform: translateY(-60px); }
  50%  { -webkit-transform: translateY(-90px); transform: translateY(-90px); }
  66.66%  { -webkit-transform: translateY(-120px); transform: translateY(-120px); }
  83.33%  { -webkit-transform: translateY(-150px); transform: translateY(-150px); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@keyframes slideWords {
  0%   { -webkit-transform: translateY(0); transform: translateY(0); }
  16.66%  { -webkit-transform: translateY(-30px); transform: translateY(-30px); }
  33.33%  { -webkit-transform: translateY(-60px); transform: translateY(-60px); }
  50%  { -webkit-transform: translateY(-90px); transform: translateY(-90px); }
  66.66%  { -webkit-transform: translateY(-120px); transform: translateY(-120px); }
  83.33%  { -webkit-transform: translateY(-150px); transform: translateY(-150px); }
  100% { -webkit-transform: translateY(0); transform: translateY(0); }
}

@-webkit-keyframes fadeInUp {
  to {
    opacity: 2;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@keyframes fadeInUp {
  to {
    opacity: 2;
    -webkit-transform: translateY(0);
            transform: translateY(0);
  }
}

@media only screen and (min-device-width: 540px) and (max-device-width: 1024px) {
  .hero-section {
    height: 80vh;
    padding-bottom: 0;
  }
  
  .hero-section video {
    height: 100%;
  }
}

/* Mobile Styles */
@media (max-width: 992px) {
   
.speaker p{
      width: 95%;  /* sau 100% cu padding intern */

}

  .hamburger-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  margin-left: -20px;
  margin-top: 10px;
}

.mobile-image {
  display: none;
  height: 40px;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1; /* Imaginea prima în ordinea afișării */
}

/* Simplified Hamburger Animation */
.hamburger-container {
  width: 50px;
  height: 50px;
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
}

.hamburger-stick {
  width: 25px;
  height: 3px;
  background-color: #696767;
  border-radius: 3px;
  position: absolute;
  -webkit-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  -o-transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 8px 0;
}

.stick-1 {
  top: 15px;
}

.stick-2 {
  top: 23px;
}

.stick-3 {
  top: 31px;
}

/* Open state - forms X */
.hamburger-container.active .stick-1 {
  -webkit-transform: translateY(8px) rotate(45deg);
      -ms-transform: translateY(8px) rotate(45deg);
          transform: translateY(8px) rotate(45deg);
}

.hamburger-container.active .stick-2 {
  opacity: 0;
}

.hamburger-container.active .stick-3 {
  -webkit-transform: translateY(-8px) rotate(-45deg);
      -ms-transform: translateY(-8px) rotate(-45deg);
          transform: translateY(-8px) rotate(-45deg);
}

.hamburger-container.active .hamburger-stick {
  background-color: #EB0028;
}

/* Remove old hamburger styles */

.hamburger, .hamburger .bar {
  display: none;
}

 .team-button {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  /* Elimină fundalul roșu de aici - vine doar din .team-info */
  background-color: transparent;
}

.team-button img {
  width: 100%;
  height: 100%; /* Umple întregul container */
  -o-object-fit: cover;
     object-fit: cover; /* Asigură acoperirea corectă */
  display: block;
}

.team-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #EB0028; /* Fundalul roșu vine de aici */
  color: white;
  opacity: 0;
  -webkit-transform: rotateX(-90deg);
          transform: rotateX(-90deg);
  -webkit-transform-origin: bottom;
      -ms-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.6);
  -o-transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.6);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding: 15px;
  overflow-y: auto; /* Permite scroll dacă textul depășește */
  max-height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.team-info h2 {
  font-size: 1.2rem; /* Dimensiune mai mică pe mobil */
  margin-bottom: 8px;
}

.team-info p {
  font-size: 0.9rem; /* Text mai mic pe mobil */
  line-height: 1.4; /* Spațiu între rânduri */
  margin: 0;
}

/* Hover pe desktop */
.team-button:hover .team-info,
/* Activare automată pe mobil */
.team-button.active .team-info {
  opacity: 1;
  -webkit-transform: rotateX(0deg);
          transform: rotateX(0deg);
}

.team-button:hover h2,
.team-button.active h2 {
  -webkit-transform: translateY(-20px);
      -ms-transform: translateY(-20px);
          transform: translateY(-20px);
}
  
  

  
  .toggle-content {
    font-size: 0.9rem; /* Micșorează puțin dimensiunea fontului pe mobile */
    line-height: 1.5; /* Asigură un spațiu suficient între rânduri */
    
  } 
  
  
  .toggle-container {
    max-width: 100%;
    font-size: 1rem;
  }

  .toggle-header {
    padding: 16px;
  }

  .toggle-content {
    padding: 0 16px;
  }

 .toggle-content.open {
  padding: 14px 16px;
  max-height: none !important;
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  overflow: visible;
}
  .footer-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-logo {
    width: 30%;
    margin-bottom: 10px;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  
  .footer-copyright {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    width: 100%;
  }
  
  .footer-links {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
  }
  .poza{
    display:none;
  }

    .mobile-image {
    display: block;
  }
 .logo{
    display: none;
 }
    .speaker.secondary {
    display: none;
  }
  
.speakers-row-secondary {
    display: none;
  }
      .textMetianu{
        max-width: 90%;
    }
    .logo {
    height: 40px;
  }

  .hamburger {
    display: block;
  }

  .container {
display: block;
  }

.nav-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.93); /* În loc de rgba */
  -webkit-backdrop-filter: none;
          backdrop-filter: none; /* Scoatem blur-ul */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; 
  -webkit-box-align: center; 
      -ms-flex-align: center; 
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  opacity: 0;
  padding: 0;
  text-align: center;
  -webkit-transform: translateY(-20px);
      -ms-transform: translateY(-20px);
          transform: translateY(-20px);
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  -o-transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
  z-index: 999;
  
}
.navbar{
    height: 70px;
}
.nav-links.active {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  pointer-events: all;
}

.nav-links a {
  opacity: 0;
  -webkit-transform: translateY(20px);
      -ms-transform: translateY(20px);
          transform: translateY(20px);
  color: white;
  padding: 15px 25px;  /* Adds horizontal padding instead */
  font-size: 1.2rem;
  margin: 10px 0;
  text-align: center;
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  -o-transition: opacity 0.5s ease, transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease, -webkit-transform 0.5s ease;
  
}
.navbar a {
    width: 100%;
    text-align: center;
    padding: 15px 0;
  }

  .nav-links.active a {
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
}

.nav-links.active a:nth-child(1) { -webkit-transition-delay: 0.1s; -o-transition-delay: 0.1s; transition-delay: 0.1s; }
.nav-links.active a:nth-child(2) { -webkit-transition-delay: 0.2s; -o-transition-delay: 0.2s; transition-delay: 0.2s; }
.nav-links.active a:nth-child(3) { -webkit-transition-delay: 0.3s; -o-transition-delay: 0.3s; transition-delay: 0.3s; }
.nav-links.active a:nth-child(4) { -webkit-transition-delay: 0.4s; -o-transition-delay: 0.4s; transition-delay: 0.4s; }
.nav-links.active a:nth-child(5) { -webkit-transition-delay: 0.5s; -o-transition-delay: 0.5s; transition-delay: 0.5s; }
.nav-links.active a:nth-child(6) { -webkit-transition-delay: 0.6s; -o-transition-delay: 0.6s; transition-delay: 0.6s; }
.nav-links.active a:nth-child(7) { -webkit-transition-delay: 0.7s; -o-transition-delay: 0.7s; transition-delay: 0.7s; }

  .nav-icons {
    display: none;
  }

  .hero-section {
    padding-bottom: 0%;
  }

  .hero-section video {
    width: 100%;
    height: 50vh;
    -o-object-fit: cover;
       object-fit: cover;
    border-radius: 12px;
  }

  .video-overlay {
    width: 50%;
    min-width: 250px;
  }

  .speakers-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .speaker {
    width: 100%;
    max-width: 500px;
    margin-bottom: 40px;
  }

  .content {
    padding: 40px 20px;
  }

  .dual-section-wrapper {
    padding: 0;
  }

  .dual-section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }

  .half-section {
    width: 100%;
    margin: 0 0 20px 0;
    padding: 20px;
  }

  .countdown {
    width: 90%; /* Sau orice procentaj doriți între 80-100% */
    max-width: 100%; /* Asigură că nu depășește lățimea containerului */
    margin: 0 auto 30px; /* Centrare și spațiere */
    padding: 20px 10px;
  }

  .navbar a.bilete-button{
    background-color: #EB0028;
  border-radius: 8px;
  padding: 10px 0px !important;
  margin-left: 0 !important;
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  -o-transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
}


/* Small mobile devices */
@media (max-width: 480px) {
  
  .countdown {
    margin: 0 20px 30px;
    padding: 20px 10px;
    font-size: 1.2em;  }

  .hamburger-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 10px;
  margin-left: -20px;
  margin-top: 10px;
}

.mobile-image {
  display: none;
  height: 40px;
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1; /* Imaginea prima în ordinea afișării */
}

/* Animated Hamburger Menu */
.hamburger-container {
  width: 50px; /* Redus din 80px */
  height: 50px; /* Redus din 80px */
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: left;
      -ms-flex-align: left;
          align-items: left;
  -webkit-box-pack: left;
      -ms-flex-pack: left;
          justify-content: left;
  cursor: pointer;
  padding: 10px; /* Redus din 15px */
  z-index: 1100;
}

.hamburger-stick {
  width: 40px; /* Redus din 80px */
  height: 4px; /* Redus din 8px */
  border-radius: 4px;
  margin-bottom: 10px; /* Redus din 15px */
  background-color: #696767;
}

.hamburger-stick:last-child {
  margin-bottom: 0;
}

.stick-1.open {
  -webkit-animation: stick-1-open .6s ease-out forwards;
          animation: stick-1-open .6s ease-out forwards;
}

.stick-2.open {
  -webkit-animation: stick-2-open .6s linear forwards;
          animation: stick-2-open .6s linear forwards;
}

.stick-3.open {
  -webkit-animation: stick-3-open .6s linear forwards;
          animation: stick-3-open .6s linear forwards;
}

@-webkit-keyframes stick-1-open {
  0%   {width: 80px;}
  40%  {background-color: #EB0028; width: 8px; -webkit-transform: translate(40px, 0px); transform: translate(40px, 0px);}
  75%, 80%  {width: 8px; -webkit-transform: translate(40px, -50px); transform: translate(40px, -50px); -webkit-animation-timing-function: cubic-bezier(0,1,1,1); animation-timing-function: cubic-bezier(0,1,1,1);}
  100% {background-color: #ff1456; width: 8px; -webkit-transform: translate(35px, 46px); transform: translate(35px, 46px);}
}

@keyframes stick-1-open {
  0%   {width: 80px;}
  40%  {background-color: #EB0028; width: 8px; -webkit-transform: translate(40px, 0px); transform: translate(40px, 0px);}
  75%, 80%  {width: 8px; -webkit-transform: translate(40px, -50px); transform: translate(40px, -50px); -webkit-animation-timing-function: cubic-bezier(0,1,1,1); animation-timing-function: cubic-bezier(0,1,1,1);}
  100% {background-color: #ff1456; width: 8px; -webkit-transform: translate(35px, 46px); transform: translate(35px, 46px);}
}

@-webkit-keyframes stick-2-open {
  80%  {background-color: #EB0028; -webkit-transform: translate(0px, 0px) rotate(0deg); transform: translate(0px, 0px) rotate(0deg);}
  100% {background-color: #ff1456; -webkit-transform: translate(8px, 0px) rotate(40deg); transform: translate(8px, 0px) rotate(40deg);}
}

@keyframes stick-2-open {
  80%  {background-color: #EB0028; -webkit-transform: translate(0px, 0px) rotate(0deg); transform: translate(0px, 0px) rotate(0deg);}
  100% {background-color: #ff1456; -webkit-transform: translate(8px, 0px) rotate(40deg); transform: translate(8px, 0px) rotate(40deg);}
}

@-webkit-keyframes stick-3-open {
  80%  {background-color: #EB0028; -webkit-transform: translate(0px, 0px) rotate(0deg); transform: translate(0px, 0px) rotate(0deg);}
  100% {background-color: #ff1456; -webkit-transform: translate(8px, -23px) rotate(-40deg); transform: translate(8px, -23px) rotate(-40deg);}
}

@keyframes stick-3-open {
  80%  {background-color: #EB0028; -webkit-transform: translate(0px, 0px) rotate(0deg); transform: translate(0px, 0px) rotate(0deg);}
  100% {background-color: #ff1456; -webkit-transform: translate(8px, -23px) rotate(-40deg); transform: translate(8px, -23px) rotate(-40deg);}
}

.stick-1.close {
  width: 6px; 
  -webkit-transform: translate(17px, 16px); 
      -ms-transform: translate(17px, 16px); 
          transform: translate(17px, 16px);
  -webkit-animation: stick-1-close .6s ease-out forwards;
          animation: stick-1-close .6s ease-out forwards;
}

.stick-2.close {
  -webkit-transform: translate(0px, 0px) rotate(40deg);
      -ms-transform: translate(0px, 0px) rotate(40deg);
          transform: translate(0px, 0px) rotate(40deg);
  -webkit-animation: stick-2-close .6s ease-out forwards;
          animation: stick-2-close .6s ease-out forwards;
}

.stick-3.close {
  -webkit-transform: translate(0px, -23px) rotate(-40deg);
      -ms-transform: translate(0px, -23px) rotate(-40deg);
          transform: translate(0px, -23px) rotate(-40deg);
  -webkit-animation: stick-3-close .6s ease-out forwards;
          animation: stick-3-close .6s ease-out forwards;
}

@-webkit-keyframes stick-1-close {
  0%, 70% {width: 0px;}
  100%    {width: 50px; -webkit-transform: translate(0, 0); transform: translate(0, 0);}
}

@keyframes stick-1-close {
  0%, 70% {width: 0px;}
  100%    {width: 50px; -webkit-transform: translate(0, 0); transform: translate(0, 0);}
}

@-webkit-keyframes stick-2-close {
  0%   {background-color: #ff1456; width: 80px;}
  20%  {background-color: #ff1456; width: 8px; -webkit-transform: translate(0, 0px) rotate(40deg); transform: translate(0, 0px) rotate(40deg);}
  40%  {background-color: #2DFDB9; width: 0px;}
  65%  {-webkit-transform: translate(0, -70px);transform: translate(0, -70px); -webkit-animation-timing-function: cubic-bezier(0,1,1,1); animation-timing-function: cubic-bezier(0,1,1,1);}
  80%  {width: 0px;}
  100% {width: 50px; -webkit-transform: translate(0, 0px); transform: translate(0, 0px);}
}

@keyframes stick-2-close {
  0%   {background-color: #ff1456; width: 80px;}
  20%  {background-color: #ff1456; width: 8px; -webkit-transform: translate(0, 0px) rotate(40deg); transform: translate(0, 0px) rotate(40deg);}
  40%  {background-color: #2DFDB9; width: 0px;}
  65%  {-webkit-transform: translate(0, -70px);transform: translate(0, -70px); -webkit-animation-timing-function: cubic-bezier(0,1,1,1); animation-timing-function: cubic-bezier(0,1,1,1);}
  80%  {width: 0px;}
  100% {width: 50px; -webkit-transform: translate(0, 0px); transform: translate(0, 0px);}
}

@-webkit-keyframes stick-3-close {
  0%   {background-color: #ff1456; width: 80px;}
  20%  {background-color: #ff1456; width: 8px; -webkit-transform: translate(0, -23px) rotate(-40deg); transform: translate(0, -23px) rotate(-40deg);}
  40%  {background-color: #2DFDB9;}
  65%  {-webkit-transform: translate(0, -93px);transform: translate(0, -93px); -webkit-animation-timing-function: cubic-bezier(0,1,1,1); animation-timing-function: cubic-bezier(0,1,1,1);}
  90%  {width: 8px;}
  100% {width: 50px; -webkit-transform: translate(0, 0px); transform: translate(0, 0px);}
}

@keyframes stick-3-close {
  0%   {background-color: #ff1456; width: 80px;}
  20%  {background-color: #ff1456; width: 8px; -webkit-transform: translate(0, -23px) rotate(-40deg); transform: translate(0, -23px) rotate(-40deg);}
  40%  {background-color: #2DFDB9;}
  65%  {-webkit-transform: translate(0, -93px);transform: translate(0, -93px); -webkit-animation-timing-function: cubic-bezier(0,1,1,1); animation-timing-function: cubic-bezier(0,1,1,1);}
  90%  {width: 8px;}
  100% {width: 50px; -webkit-transform: translate(0, 0px); transform: translate(0, 0px);}
}

/* Remove old hamburger styles */
.hamburger, .hamburger .bar {
  display: none;
}

  .team-button {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  /* Elimină fundalul roșu de aici - vine doar din .team-info */
  background-color: transparent;
}

.team-button img {
  width: 100%;
  height: 100%; /* Umple întregul container */
  -o-object-fit: cover;
     object-fit: cover; /* Asigură acoperirea corectă */
  display: block;
}

.team-info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #EB0028; /* Fundalul roșu vine de aici */
  color: white;
  opacity: 0;
  -webkit-transform: rotateX(-90deg);
          transform: rotateX(-90deg);
  -webkit-transform-origin: bottom;
      -ms-transform-origin: bottom;
          transform-origin: bottom;
  -webkit-transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.6);
  -o-transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.6);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.6);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  padding: 15px;
  overflow-y: auto; /* Permite scroll dacă textul depășește */
  max-height: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.team-info h2 {
  font-size: 1.2rem; /* Dimensiune mai mică pe mobil */
  margin-bottom: 8px;
}

.team-info p {
  font-size: 0.9rem; /* Text mai mic pe mobil */
  line-height: 1.4; /* Spațiu între rânduri */
  margin: 0;
}

/* Hover pe desktop */
.team-button:hover .team-info,
/* Activare automată pe mobil */
.team-button.active .team-info {
  opacity: 1;
  -webkit-transform: rotateX(0deg);
          transform: rotateX(0deg);
}

.team-button:hover h2,
.team-button.active h2 {
  -webkit-transform: translateY(-20px);
      -ms-transform: translateY(-20px);
          transform: translateY(-20px);
}


.toggle-container {
    max-width: 100%;
    font-size: 1rem;  
    height: auto;
}

  .toggle-header {
    padding: 16px;
    height: auto;
  }

  .toggle-content {
    padding: 0 16px;
    height: auto;
  }

  .toggle-content.open {
    padding: 14px 16px;

     max-height: 500px; /* Ajustează la valoarea maximă așteptată */
  opacity: 1;
  -webkit-transform: translateY(0);
      -ms-transform: translateY(0);
          transform: translateY(0);
  }
  
  .footer-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .footer-logo {
    width: 30%;
    margin-bottom: 10px;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  
  .footer-copyright {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
    width: 100%;
  }
  
  .footer-links {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    width: 100%;
  }
  .mobile-image {
    display: block;
  }
  .speaker.secondary {
    display: none;
  }

  .speakers-row-secondary {
    display: none;
  }

    .textMetianu{
        max-width: 90%;
    }
 
.hero-section {
    height: 90vh; /* Ajustează pentru telefoane mici */
    max-height: none;
  }
  
  .logo {
    height: 30px;
  }

  .content {
    padding: 30px 15px;
  }

  section {
    padding: 20px;
  }

  .hero-section video {
    height: 100vh;
    border-radius: 12px;
  }
  .video-overlay {
    width: 70%;
    min-width: 200px;
  }

  .loader {
    font-size: 24px;
  }
  
  .contact-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }
  .poza{
    display:none;
  }


}
@media (max-width: 1300px) and (min-width: 769px) {
  .navbar {
    padding: 0 15px;
  }
  
  .nav-links {
    gap: 8px;
  }
  
  .navbar a {
    padding: 12px 8px;
    font-size: 0.9rem;
  }
  
  .nav-icons {
    padding-left: 10px;
    gap: 10px;
  }
  
  .nav-icons img {
    width: 25px;
    height: 25px;
  }
  
  .logo {
    height: 60px;
    margin-right: 20px;
  }

  .hero-section {
    height: 100vh; /* Ajustează pentru telefoane mici */
    max-height: none;
  }
  .hero-section video {
    height: 100vh;
    border-radius: 12px;
  }


}
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (orientation: landscape) {

  .hero-section {
    height: 100vh;
    padding-bottom: 0;
  }

  .hero-section video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .video-overlay {
    width: 50%;
  }
}


@media only screen 
  and (min-device-width: 667px) 
  and (max-device-width: 1024px) {

  .hero-section {
    height: 100vh;
    padding-bottom: 0;
    position: relative;
  }

  .hero-section video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  @supports (-webkit-touch-callout: none) {
    .hero-section {
      height: calc(100vh - env(safe-area-inset-top) - env(safe-area-inset-bottom));
    }
  }
}