@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  position: relative;
  background-image: url("images/bg.jpg");
  background-size: cover;
  background-position: round;
  background-attachment: fixed;
}
body.scrolled {
  background-attachment: scroll;
}

.container{
    padding:50px;
    
}
.form-group{
    margin-bottom:30px;
}


a {
  text-decoration: none;
}
.header {
  position: fixed;
  height: 80px;
  width: 100%;
  z-index: 100;
  padding: 0 20px;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); /* gradient transparent spre negru */
  backdrop-filter: blur(10px); /* efect de blur */
  -webkit-backdrop-filter: blur(10px);
}
.nav {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}
.nav,
.nav_item {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}
.nav_logo,
.nav_link,
.button {
  color: #fff;
}
.nav_logo {
  font-size: 25px;
}
.nav_item {
  column-gap: 25px;
}
.nav_link:hover {
  color: #d9d9d9;
}
.button {
  padding: 6px 24px;
  border: 2px solid #fff;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
}
.button:hover {
  padding: 6px 24px;
  border: 2px solid #ffffff;
  background: white;
  color: black;
  border-radius: 10px;
  cursor: pointer;
}
.button:active {
  transform: scale(0.98);
}

/* Home */
.home {
  position: relative;
  height: 100vh;
  width: 100%;
  background-image: url("images/bg.jpg");
  background-size: cover;
  background-position: center;
}
.home::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: all 0.5s ease-out;
}

.home.show::before {
  opacity: 1;
  pointer-events: auto;
}
.form_container {
  position: fixed;
  max-width: 250px;
  height: 300px;
  width: 100%;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  z-index: 101;
  background: #fff;
  padding: 85px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s ease-out;
}
.home.show .form_container {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.signup_form {
  display: none;
}
.form_container.active .signup_form {
  display: block;
}
.form_container.active .login_form {
  display: none;
}
.form_close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #0b0217;
  font-size: 22px;
  opacity: 0.7;
  cursor: pointer;
}
.form_container h2 {
  font-size: 22px;
  color: #0b0217;
  text-align: center;
}
.email-input {
  margin-bottom: 30px; 
}
.input_box {
  position: relative;
  margin-top: 30px;
  width: 100%;
  height: 40px;
  padding: 20px;
}
.input_box input {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  color: #333;
  transition: all 0.2s ease;
  border-bottom: 1.5px solid #aaaaaa;
}
.input_box input:focus {
  border-color: #e82a2a;
}
.input{
    color: #fff;
}
.input_box i {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0px;
  font-size: 20px;
  color: #555;
}

.input_box i.email{
    margin-top: -8px;
    margin-left: -30px;
}
.input_box i.name,
.input_box i.password {
  margin-left: -30px;
  margin-top: 48px;
}
.input_box input:focus ~ i.email,
.input_box input:focus ~ i.password {
  color: #e82a2a;
}
.input_box i.pw_hide {
  right: 25px;
  margin-top: 46px;
  font-size: 18px;
  cursor: pointer;
}
.option_field {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.form_container a {
  color: #e82a2a;
  font-size: 12px;
}
.form_container a:hover {
  text-decoration: underline;
}
.checkbox {
  display: flex;
  column-gap: 8px;
  white-space: nowrap;
}
.checkbox input {
  accent-color: #e82a2a;
}
.checkbox label {
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  color: #0b0217;
}
.form_container .button {
  background: #e82a2a;
  margin-top: 30px;
  width: 100%;
  padding: 10px 0;
  border-radius: 10px;
}

.form_container .button:hover {
  background: linear-gradient(to bottom, #9b1315, #810b02); /* Gradient la hover */
  color: white;
}
.login_signup {
  font-size: 12px;
  text-align: center;
  margin-top: 15px;
}
.registration-container {
  background-color: #fff; 
  border-radius: 15px; 
  padding: 20px; 
  width: 300px; 
  margin: auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
  margin-top: 100px; 
}
.input_boxx {
  position: relative;
  margin-bottom: -20px;
  padding: 30px;
}

.input_boxx input {
  width: 100%;
  padding: -10px;
  border: none;
  border-bottom: 2px solid #ccc; 
  outline: none;
  background-color: transparent;
}

.input_boxx i {
  position: absolute;
  top: 49%;
  transform: translateY(-50%);
  left: 0px;
  font-size: 20px;
  color: #555;
}

.input_boxx input:focus {
  border-bottom-color: #db3434; 
}

.input_boxx input:focus ~ i.email,
.input_boxx input:focus ~ i.name,
.input_boxx input:focus ~ i.password {
  color: #e82a2a;
}
.input_boxx i.pw_hide {
  right: 25px;
  margin-top: 46px;
  font-size: 18px;
  cursor: pointer;
}
.login_signup a {
  color: #e82a2a;
  font-size: 12px;
}
.form-btn .btn-primary {
  background: #e82a2a;
  border-color: red;
  color: white;
  margin-top: 30px;
  width: 80%;
  padding: 10px 0;
  border-radius: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  transition: background-color 0.3s ease; /* Adăugăm o tranziție pentru efectul de hover */
}

.form-btn .btn-primary:hover {
  background: #771313; /* Culoare visiniu la hover */
  border-color: #771313;
}
.register_text {
  font-size: 22px;
  color: #0b0217;
  text-align: center;
}
.alert-danger{
  text-align: center;
  color: red;
  word-wrap: break-word;
}
.green-text {
  color: green;
}
.before_after {
  margin-top: -550px; 
}

.servicii {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f0f0f0;
}
.column {
  text-align: center;
  margin: 0 20px;
}

.symbol {
  font-size: 2em;
  margin-bottom: 10px;
}

#about {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 40px;
}
.despre{
  width: 80%;
  margin: 0 auto;
}
.despre_noi{
  text-align: left; 
  color: white;
  margin: 0 20px;
  padding: 40px;
  margin-top: 75px;
  height: auto;
  background-color: #333; 
  border-radius: 30px; 
  box-shadow: 15px 15px 10px rgba(0, 0, 0, 0.1); 
  max-width: 400px; 
}
.banner{
  position: absolute;
  right: 0;
  top: 54%;
}


.recenzii {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;

}
.testimonials-container {
  display: flex;
  justify-content: space-around;
}
.testimonial {
  border: 1px solid #ccc;
  padding: 20px;
  margin: 10px;
  margin-top: 100px;
  text-align: center;
  background-color: #f8f8f8; 
  border-radius: 10px; 
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
}

.stars {
  color: gold;
  font-size: 24px;
}

.username {
  font-style: italic;
  margin-top: 10px;
}

.footer-margin {
  margin-top: -50px;
}
.footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  box-shadow: 0px -20px 20px rgba(32, 32, 32, 0.5);
}
.footer-content {
  display: flex;
  justify-content: center;
}

.footer-logo {
  text-align: center;
}

.footer-logo-img {
  width: 150px;
  height: 30px;
  margin-bottom: 60px;
}

.footer {
  position: relative;
  bottom: 0;
}

.links {
  position: absolute;
  bottom: 20px;
}

.links p {
  margin: 5px 0;
}

.footer-logo {
  position: relative;

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

.links a {
  color: #fff;
}
.textbox{
  text-align: left; 
  color: white;
  padding: 40px;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  background-color: #333; 
  border-radius: 30px; 
  box-shadow: 15px 15px 10px rgba(0, 0, 0, 0.1); 
  max-width: 90%; 
  padding-bottom: 20px;
}
.logoback {
  display: flex;
  justify-content: center; 
  align-items: center;
  padding: 40px;
}









.faq-section {
  min-height: 75vh; /* Înălțimea minimă a secțiunii să fie egala cu înălțimea vizibilă a ferestrei browser-ului */
  padding: 50px 0; /* Adaugă un spațiu de sus și de jos pentru a nu fi lipit de marginile paginii */
  background-color: #f8f8f8; /* Schimbă culoarea fundalului după preferință */
  overflow-x: hidden;
}
.faq-header{
  font-size: 42px;
  border-bottom: 1px dotted #ccc;
  padding: 24px;
}

.faq-content {
  margin: 0 auto;
}

.faq-question {
  padding: 20px 0;
  border-bottom: 1px dotted #ccc;
}

.panel-title {
  font-size: 24px;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 6px 10px 0 60px;
  display: block;
  cursor: pointer;
}

.panel-content {
  font-size: 20px;
  padding: 0px 14px;
  margin: 0 40px;
  height: 0;
  overflow: hidden;
  position: relative; /* Set position to relative */
  opacity: 0;
  -webkit-transition: .4s ease;
  -moz-transition: .4s ease;
  -o-transition: .4s ease;
  transition: .4s ease;
}

.panel:checked ~ .panel-content{
  height: auto;
  opacity: 1;
  padding: 14px;
}

.plus {
  position: absolute;
  margin-left: 20px;
  margin-top: 4px;
  z-index: 5;
  font-size: 42px;
  line-height: 100%;
  -webkit-user-select: none;    
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
  -webkit-transition: .2s ease;
  -moz-transition: .2s ease;
  -o-transition: .2s ease;
  transition: .2s ease;
}

.panel:checked ~ .plus {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

.panel {
  display: none;
}



.translate-button {
  position: fixed;
  bottom: 25px;
  right: 50px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7); /* Culoarea de fundal cu transparență */
  backdrop-filter: blur(3px); /* Efect de blur */
  color: #1f1f1f;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s; /* Adaugă o tranziție pentru efectul de hover */
}

.translate-button:hover {
  background-color: rgba(255, 255, 255, 0.9); /* Culoarea de fundal mai deschisă la hover */
}


/* Stilizare text mic "EN" */
.translate-en {
  font-size: 10px;
}
.cancel-button {
  background-color: #ff6b6b; /* Redefinire culoare pentru butonul de anulare */
  padding-right: 8px; /* Ajustare spațiu la dreapta pentru a face butonul mai mic */
  padding-left: 8px; /* Ajustare spațiu la stânga pentru a face butonul mai mic */
}
.translate-button.cancel-button {
  position: fixed;
  bottom: 25px;
  right: 90px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.7); /* Culoarea de fundal cu transparență */
  backdrop-filter: blur(3px); /* Efect de blur */
  color: #1f1f1f;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  transition: background-color 0.3s; /* Adaugă o tranziție pentru efectul de hover */
}

.translate-button.cancel-button:hover {
  background-color: rgba(255, 255, 255, 0.9); /* Culoarea de fundal mai deschisă la hover */
}