* {
  font-family: 'Exo 2', sans-serif;
  font-style: italic;
  text-transform: uppercase;
  -webkit-transition: all .2s linear;
  transition: all .2s linear;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Header */
header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  padding: 1rem 2rem;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85); /* fundal semi-transparent */
}

/* Logo */
header .logo {
  margin: 0 2rem 0 0;
  flex-shrink: 0;
}

header .logo a {
  text-decoration: none;
}

header .logo a h1 {
  font-size: 2.5rem;
  color: #fff;
  white-space: nowrap; /* să nu spargă textul pe linii */
}

header .logo a h1 span {
  color: #E6022D;
}

/* Nav */
nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem; /* distanță constantă între linkuri */
  flex-wrap: wrap; /* permite spargerea pe mai multe rânduri dacă e cazul */
}

nav ul li a {
  font-size: 1.4rem;
  text-decoration: none;
  color: #fff;
  padding: 0.8rem 1rem;
  display: inline-block;
  white-space: nowrap; /* evită spargerea linkurilor */
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background: #E6022D;
}

/* Iconul burger pentru meniu mobil */
.fas.fa-bars {
  font-size: 3rem;
  color: #E6022D;
  cursor: pointer;
  display: none;
  z-index: 1010;
}

/* Responsive pentru desktop - tabletă - mobil */
@media (max-width: 1024px) {
  header {
    padding: 1rem 1.5rem;
  }

  header .logo a h1 {
    font-size: 2.2rem;
  }

  nav ul li a {
    font-size: 1.3rem;
    padding: 0.7rem 0.9rem;
  }
}

.full-text {
  display: inline;
}

.short-text {
  display: none;
}

@media (max-width: 768px) {
  /* HEADER general */
  header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100vw;
    padding: 1rem 2rem;
  }

  /* Logo în dreapta */
  header .logo {
    order: 2; /* mută logo-ul pe partea dreaptă */
  }

  header .logo a h1 {
    font-size: 2rem;
    color: #fff;
    white-space: nowrap;
  }

  header .logo a h1 span {
    color: #E6022D;
  }

  /* Icon burger în stânga */
  .fas.fa-bars {
    display: block;
    order: 1; /* apare înainte de logo */
    font-size: 2.6rem;
    color: #E6022D;
    cursor: pointer;
  }

  /* NAV MENU pe mobil - apare din dreapta */
  nav {
    position: fixed;
    top: 70px;
    right: -240px;
    width: 240px;
    height: calc(100vh - 70px);
    background: rgba(0, 0, 0, 0.95);
    transition: right 0.3s ease;
    z-index: 1005;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.8);
  }

  nav.active {
    right: 0;
  }

  nav ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }

  nav ul li {
    width: 100%;

  }

  nav ul li a {
    width: 100%;
    font-size: 1rem; /* mai mic decât 1.7 */
    padding: 0.7rem 1.2rem; /* mai puțin padding */
    text-align: left;
    box-sizing: border-box;
    display: block;
    overflow: hidden; /* previne textul prea lung */
    white-space: nowrap; /* nu sparge textul */
    text-overflow: ellipsis; /* adaugă ... dacă e prea lung */

  }

  .full-text {
    display: none;
  }
  .short-text {
    display: inline;
  }
}



@media (max-width: 620px) {
  header .fa-bars {
    display: block;
  }
  header nav {
    position: fixed;
    top: 0;
    left: -200%;
    height: 100vh;
    width: 80vw;
    background: #fff;
    -webkit-box-shadow: 30rem 0 0 rgba(0, 0, 0, 0.5);
    box-shadow: 30rem 0 0 rgba(0, 0, 0, 0.5);
  }
  header nav ul {
    height: 100%;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  header nav ul li {
    margin: 2rem 0;
  }
  header nav ul li a {
    margin: 0;
    font-size: 3rem;
    color: #E6022D;
    text-align: left; /* adaugă asta */
    padding-left: 4rem; /* ceva spațiu pe stânga */
  }
  header nav ul li a:hover {
    color: #fff;
    header nav {
      position: fixed;
      top: 0;
      left: -60px; /* ascuns complet în stânga */
      height: 100vh;
      width: 60px; /* cât lățimea meniului burger */
      background: #fff;
      box-shadow: 60px 0 0 rgba(0, 0, 0, 0.5); /* umbrează restul ecranului */
      transition: left 0.3s ease;
      z-index: 1005;
    }

    header nav.active {
      left: 0; /* când e activ, se vede meniul */
    }

    header nav ul {
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding-left: 0;
      margin: 0;
    }

    header nav ul li a {
      font-size: 1.4rem; /* redu dimensiunea fontului ca să încapă */
      padding-left: 0.5rem;
      text-align: center; /* ca să fie centrat pe lățime mică */
      border: none;
      border-bottom: none;
      color: #E6022D;
    }

    header nav ul li a:hover {
      color: #000; /* culoare contrastantă la hover */
      background: transparent;
    }
  }
  .nav-toggle {
    left: 0;
  }
  #home h1 {
    font-size: 6.5rem;
  }
  #home h3 {
    font-size: 4rem;
  }
  #home .icons {
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}
@media (max-width: 480px) {
  nav {
    width: 100vw; /* ocupă exact cât e ecranul */
    right: -100vw; /* ascuns în afară */
  }

  nav.active {
    right: 0;
  }
}


/* Overlay semi-transparent când meniul este deschis (opțional) */
body.menu-open::before {
  content: "";
  position: fixed;
  top: 70px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 70px);
  background: rgba(0,0,0,0.5);
  z-index: 1000;
}

/* Stil body când meniul este deschis (opțional) */
body.menu-open {
  overflow: hidden;
}



/* #home secțiune */
#home {
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-flow: column;
  background: url(../img/back2.jpeg);
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply;
  background-attachment: fixed;
  padding-top: 5rem;
  position: relative;
  text-align: center;
}

#home h1 {
  font-size: 8rem;
  margin: 0 .5rem;
  color: #fff;
}

#home button {
  margin: 2rem 0;
  height: 4rem;
  width: 14rem;
  background: transparent;
  border: 0.2rem solid #E6022D;
  outline: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #E6022D;
  font-weight: bold;
}

#home button:hover {
  background: #E6022D;
  color: #fff;
}

#home .icons {
  position: absolute;
  bottom: 3.5rem;
  left: 5rem;
  z-index: 1;
}

#home .icons a {
  text-decoration: none;
  font-size: 3rem;
  margin: 0 1rem;
  color: #fafafa;
}

#home .icons a:hover {
  color: #333;
}
@media (max-width: 1024px) {
  #home {
    background-image: url(../img/backphone.jpeg);
    background-size: cover;
    background-position: center;
  }
}

#feature {
  height: auto;
  width: 100vw;
  display: -ms-grid;
  display: grid;
  place-items: center;
  background: #E6022D;
}

#feature h1 {
  color: #fff;
  font-size: 4rem;
  margin: 2rem 0;
}

#feature .card-container {
  width: 90vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 2rem 0;
}

#feature .card-container .card {
  width: 30rem;
  height: 40rem;
  margin: 2rem;
  background: #fff;
}

#feature .card-container .card img {
  width: 100%;
  height: 50%;
  -o-object-fit: cover;
  object-fit: cover;
}

#feature .card-container .card .content {
  height: 50%;
  width: 100%;
  text-align: center;
}

#feature .card-container .card .content h1 {
  color: #E6022D;
  font-size: 2.5rem;
  margin: 1rem 0;
}

#feature .card-container .card .content p {
  font-size: 1.2rem;
  padding: .5rem;
}

#feature .card-container .card .content button {
  height: 4rem;
  width: 14rem;
  background: transparent;
  border: 0.2rem solid #E6022D;
  outline: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #E6022D;
  font-weight: bold;
  margin: 1rem 0;
}

#feature .card-container .card .content button:hover {
  background: #E6022D;
  color: #fff;
}

.trainer-images {
  display: flex;
  justify-content: space-around; /* This will evenly distribute the images */
  flex-wrap: wrap; /* This will allow images to wrap to the next line if they overflow */
}

.trainer-image {
  width: 180px; /* Adjust the width as necessary */
  height: auto; /* Maintain the aspect ratio */
  margin: 10px; /* Add some spacing between the images */
  cursor: pointer; /* Indicate that the images are clickable */
  border-radius: 8px; /* Opțional: rotunjirea colțurilor imaginilor */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Modal styles for better presentation */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Stiluri pentru detaliile antrenorului */
.trainer-detail {
  font-size: 14px; /* Mărimea fontului pentru textul detaliilor */
  line-height: 1.6; /* Spațiere între rânduri pentru o mai bună lizibilitate */
}

.modal {
  display: none; /* Fereastră modală inițial ascunsă */
  position: fixed; /* Poziționare fixă pentru a rămâne vizibilă pe ecran */
  z-index: 1000; /* Z-index mare pentru a fi peste restul conținutului */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Permitere scroll când conținutul depășește dimensiunea ecranului */
  background-color: rgba(0,0,0,0.4); /* Fundal semi-transparent */
  padding-top: 60px; /* Padding pentru a evita suprapunerea cu bara de navigare */
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Lățimea ferestrei modale */
  max-width: 800px; /* Lățime maximă a ferestrei modale */
  font-size: 18px; /* Dimensiunea fontului pentru conținut */
  line-height: 1.6; /* Înălțimea liniei pentru lizibilitate */
}

.trainer-detail h2 {
  font-size: 20px; /* Mărimea fontului pentru titluri */
  margin-bottom: 15px;
}


.modal-content h2 {
  font-size: 20px; /* Dimensiunea fontului pentru titluri mari */
  margin-bottom: 10px;
}

.modal-content h3 {
  font-size: 20px; /* Dimensiunea fontului pentru subtitluri */
  margin-bottom: 8px;
}

#feature .card-container .card:hover {
  -webkit-transform: translateY(-3rem);
  transform: translateY(-3rem);
  -webkit-box-shadow: 0 0 1rem #333;
  box-shadow: 0 0 1rem #333;
}

#about {
  height: auto;
  width: 100vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

#about .image {
  margin: 5rem 15rem;
}

#about .image img {
  width: 30rem;
}

#about .content {
  width: 90vw;
}

#about .content h1 {
  font-size: 4rem;
  margin: 3rem 0;
  color: #E6022D;
}

#about .content p {
  font-size: 2rem;
  padding-right: 6rem;
}

#about .content .buttons {
  padding-right: 2rem;
}

#about .content .buttons button {
  height: 4rem;
  width: 14rem;
  background: transparent;
  border: 0.2rem solid #E6022D;
  outline: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #E6022D;
  font-weight: bold;
  margin: 2rem 2rem 2rem 0;
}

#about .content .buttons button:hover {
  background: #E6022D;
  color: #fff;
}

#gallery {
  display: -ms-grid;
  display: grid;
  place-items: center;
  height: auto;
  width: 100vw;
  background: #f7f7f7;
}

#gallery h1 {
  text-align: center;
  font-size: 4rem;
  color: #E6022D;
  margin: 2rem 0;
}

#gallery .image-container {
  width: 90vw;
  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;
}

#gallery .image-container .image {
  height: 25rem;
  width: 30rem;
  margin: 2rem;
  overflow: hidden;
  position: relative;
}

#gallery .image-container .image img {
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

#gallery .image-container .image .info {
  height: 100%;
  width: 100%;
  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;
  position: absolute;
  bottom: -100%;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
}

#gallery .image-container .image .info button {
  height: 4rem;
  width: 14rem;
  background: transparent;
  border: 0.2rem solid #E6022D;
  outline: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #E6022D;
  font-weight: bold;
}

#gallery .image-container .image .info button:hover {
  background: #E6022D;
  color: #fff;
}

#gallery .image-container .image:hover .info {
  bottom: 0%;
}
/* Stiluri pentru fereastra modală */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Fundal semi-transparent */
  overflow: auto;
}

.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: 10% auto; /* Centralizează fereastra modală */
  padding: 20px;
  max-width: 80%;
  max-height: 80%;
  overflow: auto;
}

.modal-content img {
  display: block;
  margin: 0 auto;
  max-width: 100%; /* Asigură că imaginile nu depășesc lățimea ferestrei modale */
  height: auto;
}

/* Stil pentru iconița de închidere a ferestrei modale */
.close {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #aaa;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

#contact {
  height: 100vh;
  width: 100vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  overflow: hidden;
  background: url(../img/federatie.jpg), linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7));
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-attachment: fixed;
  background-blend-mode: multiply;
}

#contact form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
}

#contact form h1 {
  color: #E6022D;
  font-size: 4rem;
}

#contact form input {
  height: 4rem;
  background: transparent;
  margin: 2rem 0;
  padding: 0 1rem;
  border: 0.2rem solid #E6022D;
  outline: none;
  color: #fff;
  font-weight: bold;
  width: 40vw;
}

#contact form input::-webkit-input-placeholder {
  color: #ccc;
}

#contact form input:-ms-input-placeholder {
  color: #ccc;
}

#contact form input::-ms-input-placeholder {
  color: #ccc;
}

#contact form input::placeholder {
  color: #ccc;
}

#contact form input:focus {
  background: #E6022D;
}

#contact form input[type="submit"] {
  height: 4rem;
  width: 14rem;
  background: transparent;
  border: 0.2rem solid #E6022D;
  outline: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #E6022D;
  font-weight: bold;
  background: #E6022D;
  color: #fff;
}

#contact form input[type="submit"]:hover {
  background: #E6022D;
  color: #fff;
}

#contact form input[type="submit"]:hover {
  background: transparent;
}

#contact form textarea {
  resize: none;
  background: transparent;
  outline: none;
  padding: 1rem;
  color: #fff;
  border: 0.2rem solid #E6022D;
  font-weight: bold;
}

#contact form textarea::-webkit-input-placeholder {
  color: #ccc;
}

#contact form textarea:-ms-input-placeholder {
  color: #ccc;
}

#contact form textarea::-ms-input-placeholder {
  color: #ccc;
}

#contact form textarea::placeholder {
  color: #ccc;
}

#contact form textarea:focus {
  background: #E6022D;
}

#contact .image img {
  height: 80vh;
  width: 30vw;
  margin-top: 16rem;
}





#footer {
  height: auto;
  width: 100vw;
  display: -ms-grid;
  display: grid;
  place-items: center;
  background: #333;
}

#footer .msg {
  text-align: center;
  color: #fff;
  margin: 2rem 0;
}

#footer .msg span {
  color: #E6022D;
}

#footer .footer-container {
  height: auto;
  width: 90vw;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

#footer .footer-container .brand {
  margin: 3rem 0;
  -webkit-box-flex: 1;
  -ms-flex: 1 0 25rem;
  flex: 1 0 25rem;
}

#footer .footer-container .brand .logo {
  margin: 1rem 0;
}

#footer .footer-container .brand .logo a {
  text-decoration: none;
}

#footer .footer-container .brand .logo a h1 {
  font-size: 3rem;
  color: #fff;
}

#footer .footer-container .brand .logo a h1 span {
  color: #E6022D;
}

#footer .footer-container .brand .icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
}

#footer .footer-container .brand .icons a {
  text-decoration: none;
  color: #E6022D;
  font-size: 3rem;
  margin: .5rem 0;
  position: relative;
}

#footer .footer-container .brand .icons a::after {
  content: attr(data-text);
  position: absolute;
  top: 0.8rem;
  left: 3.5rem;
  font-family: 'Exo 2', sans-serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #fff;
  white-space: nowrap;
}
#footer .footer-container .contact-info {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 25rem;
  margin-top: 4.25rem;
  flex: 1 0 25rem;
}

#footer .footer-container .contact-info .info {
  height: 16rem;
  width: 5rem;
  background: #E6022D;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column;
  flex-flow: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
}

#footer .footer-container .contact-info .info a {
  font-size: 2rem;
  text-decoration: none;
  margin: 2rem 0;
  color: #fff;
  position: relative;
}

#footer .footer-container .contact-info .info a::after {
  content: attr(data-text);
  position: absolute;
  top: .5rem;
  left: 5.5rem;
  width: 20rem;
  text-align: left;
  font-family: 'Exo 2',sans-serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #fff;
}

#footer .footer-container .letter {
  -webkit-box-flex: 1;
  -ms-flex: 1 0 25rem;
  flex: 1 0 25rem;
  margin-top: 1rem;
}

#footer .footer-container .letter h1 {
  font-size: 3rem;
  color: #E6022D;
}

#footer .footer-container .letter p {
  color: #fff;
  margin: 1rem 0;
  font-size: 1.5rem;
}

#footer .footer-container .letter input {
  height: 4rem;
  background: transparent;
  margin: 1rem 0;
  padding: 0 1rem;
  border: 0.2rem solid #E6022D;
  outline: none;
  color: #fff;
  font-weight: bold;
  width: 100%;
}

#footer .footer-container .letter input::-webkit-input-placeholder {
  color: #ccc;
}

#footer .footer-container .letter input:-ms-input-placeholder {
  color: #ccc;
}

#footer .footer-container .letter input::-ms-input-placeholder {
  color: #ccc;
}

#footer .footer-container .letter input::placeholder {
  color: #ccc;
}

#footer .footer-container .letter input:focus {
  background: #E6022D;
}

#footer .footer-container .letter input[type="submit"] {
  height: 4rem;
  width: 14rem;
  background: transparent;
  border: 0.2rem solid #E6022D;
  outline: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #E6022D;
  font-weight: bold;
  background: #E6022D;
  color: #fff;
}

#footer .footer-container .letter input[type="submit"]:hover {
  background: #E6022D;
  color: #fff;
}

#footer .footer-container .letter input[type="submit"]:hover {
  background: transparent;
}

.fa-times {
  -webkit-transform: rotateZ(180deg);
  transform: rotateZ(180deg);
}

.active {
  background: #333;
  -webkit-box-shadow: 0 .1rem .3rem #000;
  box-shadow: 0 .1rem .3rem #000;
  padding: 1rem;
}

/* Stiluri pentru butonul 'Citeste mai mult' */
.more-info-btn {
  display: block;
  width: 100%;
  padding: 0.5rem;
  margin: 1rem 0;
  background-color: #E6022D;
  color: #fff;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
}

.more-info-btn:hover {
  background-color: #C5001B;
}

@media (max-width: 991px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 40%;
  }
  #about {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-flow: column;
    flex-flow: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }
  #about .image img {
    width: 70vw;
  }
  #about .content {
    text-align: center;
  }
  #about .content p {
    padding: 2rem;
  }
  #about .content .buttons {
    padding: 0;
  }
  #contact .image {
    display: none;
  }
  #contact form input {
    width: 90vw;
  }
}
@media (max-width: 768px) {
  #footer .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #footer .footer-container .brand,
  #footer .footer-container .contact-info,
  #footer .footer-container .letter {
    flex: unset;
    width: 100%;
    max-width: 90vw;
    margin: 1rem 0;
    text-align: center;
  }

  #footer .footer-container .contact-info .info {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  #footer .footer-container .contact-info .info a {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
    position: relative;
  }

  #footer .footer-container .contact-info .info a::after {
    position: static;
    display: block;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
  }

  #footer .footer-container .brand .icons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  #footer .footer-container .brand .icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer .footer-container .brand .icons a::after {
    position: static;
    display: block;
    font-size: 1.2rem;
    margin-top: 0.3rem;
    text-align: center;
  }
}
@media (max-width: 768px) {
  #footer .footer-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  #footer .footer-container .brand,
  #footer .footer-container .contact-info,
  #footer .footer-container .letter {
    flex: unset;
    width: 100%;
    max-width: 90vw;
    margin: 1rem 0;
    text-align: center;
  }

  #footer .footer-container .contact-info .info {
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  #footer .footer-container .contact-info .info a {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 2rem 0;
    position: relative;
  }

  #footer .footer-container .contact-info .info a::after {
    position: static;
    display: block;
    font-size: 1.2rem;
    margin-top: 0.5rem;
    text-align: center;
    width: 100%;
  }

  #footer .footer-container .brand .icons {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  #footer .footer-container .brand .icons a {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #footer .footer-container .brand .icons a::after {
    position: static;
    display: block;
    font-size: 1.2rem;
    margin-top: 0.3rem;
    text-align: center;
  }
}
/* Implicit: se vede textul complet */
.full-text {
  display: inline;
}
.short-text {
  display: none;
}
/* Text implicit pe desktop */
#footer .footer-container .brand .icons a.fas.fa-globe::after {
  content: attr(data-text);
  position: absolute;
  top: 0.8rem;
  left: 3.5rem;
  font-family: 'Exo 2', sans-serif;
  font-style: italic;
  font-size: 1.5rem;
  color: #fff;
  white-space: nowrap;
}

/* La ecrane mici înlocuiește textul cu FRKK */
@media (max-width: 768px) {
  #footer .footer-container .brand .icons a.fas.fa-globe::after {
    position: static;
    display: block;
    font-size: 1.2rem;
    margin-top: 0.3rem;
    text-align: center;
    content: "FRKK"; /* înlocuiește textul lung pe mobil */
  }
}

/* Pe ecrane mici: ascunde full-text și arată prescurtarea */
@media (max-width: 768px) {
  .full-text {
    display: none;
  }

  .short-text {
    display: inline;
  }
}



.site-footer {
  background-color: #0f172a;
  color: #f1f5f9;
  padding: 15px 20px; /* mai mic */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px; /* font mai mic */
  border-top: 1px solid #1e293b;
}

.footer-inner {
  max-width: 960px; /* mai îngust */
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-left p {
  margin: 2px 0;
  opacity: 0.85;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-link {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s ease;
  font-size: 14px;
}

.footer-link:hover {
  color: #0ea5e9;
}

.footer-icon {
  width: 16px; /* mai mică */
  height: 16px;
  stroke: currentColor;
}

/* Responsivitate */
@media (max-width: 600px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-link {
    font-size: 13px;
  }
}



