* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100vh;
  width: 100%;
  min-height: 100vh;
  font-family: "Lucida Grande", "Lucida Sans Unicode", "DejaVu Sans", sans-serif;
  background: url("00_Images/Background.jpeg") no-repeat center center fixed;
  background-size: cover;
  background-position: bottom center;
  color: #000;
  overflow-x: hidden;
}

.marquee-bar {
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 0.95rem;
  padding: 5px 0;
}

.page-title {
  text-align: center;
  font-size: 40px;
  margin-top: 20px;
  padding: 10px 30px;
  display: inline-block;
}
.gruppo-regular {
  font-family: 'Gruppo', sans-serif;
  font-weight: 900;
}
.text-outline {
  text-shadow:
    -1px -1px 0 #fff,
     1px -1px 0 #fff,
    -1px  1px 0 #fff,
     1px  1px 0 #fff;
}

.title-bar {
  width: 100%;
  text-align: center;
  margin-top: 20px;
}
.title-line {
  border: none;
  border-top: 1px solid #000;
  margin: 5px 0;
  width: 100%;
}

.page-title {
  font-size: 30px;
  margin: 0;
  padding: 10px 0;
  font-family: 'Gruppo', sans-serif;
}

.menu-container {
  display: flex;
  justify-content: center;
  gap: 100px;
  margin-top: 30px;
}
.menu-container a {
  text-decoration: none;
  color: #000;
  text-align: center;
  transition: transform 0.3s ease-in-out;
}
.menu-container a:hover {
  transform: scale(1.08);
}
.nav-icon {
  width: 100px;
  height: auto;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}
.menu-container a:hover .nav-icon {
  opacity: 0.8;
  transform: scale(1.1);
}

.subtitle-area {
  text-align: center;
  margin-top: 40px;
}
.subtitle {
  font-size: 1.1rem;
  line-height: 1.4;
}

.links-section {
  margin: 35px auto;
  padding: 10px;
  width: 92%;
  max-width: 1300px;
  text-align: center;
}
.button {
  display: inline-block;
  padding: 6px 14px;
  margin: 6px;
  font-size: 0.82rem;
  border-radius: 18px;
  background-color: #aecbe3;
  color: #000;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid #7ea4c7;
  font-weight: normal;
}
.button:hover {
  background-color: #5d90c4;
  color: #fff;
  transform: scale(1.05);
}
.links-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
}
h4 {
  font-size: 1.1rem;
  font-family: 'Gruppo', sans-serif;
  font-weight: bold;
  margin: 35px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid #000;
  width: 100%;
  text-align: center;
  text-transform: uppercase;
}
.section-title {
  display: inline-block;
  font-size: 1.1rem;
  font-family: 'Gruppo', sans-serif;
  font-weight: bold;
  padding: 6px 16px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 10px;
  margin: 10px 0 20px;
}
.main-title-wrapper {
  text-align: center;
  margin: 10px 0 25px;
}
.main-title {
  font-size: 2rem;
  color: #000;
  margin: 8px 0;
}
.title-line {
  width: 100%;
  border: 0;
  border-top: 1px solid #000;
  margin: 5px 0;
}

.search-container {
  width: 500px;
  position: relative;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 15px 20px;
  border-radius: 28px;
  background: #F4F7FC;
  transition: box-shadow 0.25s;
}
.search-container:focus-within {
  box-shadow: 0 0 5px rgba(0,0,0,0.75);
  background: #ffffff;
}
.search-icon {
  color: rgba(0, 0, 0, 0.4);
  margin-right: 10px;
}
.search-input {
  width: 100%;
  font-size: 16px;
  color: #000;
  outline: none;
  border: none;
  background: transparent;
  box-sizing: border-box;
}
.search-input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}
.search-button, .clear-button {
  background-color: #b2cbde;
  color: #000;
  padding: 10px 20px;
  border-radius: 25px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  margin-left: 10px;
}
.search-button:hover, .clear-button:hover {
  background-color: #304674;
  color: #ffffff;
}

.suggestions {
  position: absolute;
  top: 60px;
  left: 15px;
  right: 15px;
  background: #FFF;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  max-height: 200px;
  overflow-y: auto;
  z-index: 999;
  list-style: none;
  margin: 0;
  padding: 0;
}
.suggestions li {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}
.suggestions li:hover {
  background: #f0f0f0;
}

.results-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  width: 90%;
  max-width: 1250px;
  margin: 20px auto;
  background: #d2e4fa;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}
.result-item {
  background: #F4F7FC;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.result-item h3 {
  margin-top: 0;
  cursor: pointer;
}
.result-item:hover {
  background-color: #e1e1e1;
}

.result-item-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.3s ease;
  padding: 0;
}
.result-item.expanded .result-item-content {
  max-height: 500px;
  padding: 15px;
  overflow-y: auto;
}
.result-item-content::-webkit-scrollbar {
  width: 6px;
}
.result-item-content::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
.result-item-content::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.result-item-content a {
  text-decoration: underline;
  font-size: 14px;
  color: #0033cc;
}
.result-item-content a:hover {
  color: #000000;
}

.pagination-container {
  text-align: center;
  margin-top: 20px;
}
.pagination-button {
  background-color: #000;
  color: #ffffff;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 5px 10px;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}
.pagination-button.active {
  background-color: #fff;
  color: #000;
  font-weight: bold;
}
.pagination-button:hover {
  background-color: #76A2ED;
  color: #FEFEFE;
}

.form-container {
  background: #d2e4fa;
  border-radius: 10px;
  padding: 20px;
  width: 50%;
  max-width: 600px;
  margin: 20px auto;
}
.form-container label {
  display: block;
  color: #000;
  font-weight: bold;
  margin-top: 10px;
}
.form-container input,
.form-container textarea {
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
  margin: 5px 0 15px 0;
  border: 1px solid #F4F7FC;
  border-radius: 5px;
  font-family: inherit;
}
.form-container textarea {
  resize: vertical;
}
.form-container .button {
  margin-top: 10px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  border: 3px solid #fff;
  border-radius: 8px;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

.collapsible-card {
  background: #eef2f7;
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  overflow: hidden;
  cursor: pointer;
}

.card-header {
  background: #a3c7e6;
  padding: 10px 15px;
  font-size: 16px;
  display: block;
  cursor: pointer;
}
.card-header:hover {
  background: #b2c6d8;
}

.card-body {
  padding: 10px 15px;
  background: #f7faff;
  border-top: 1px solid #ccc;
}


  .collapsible-form-wrapper {
    max-width: 60%;
    margin: 30px auto;
    background: #eaf3f9;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }

  .collapsible-form-header {
    padding: 15px 25px;
    font-size: 18px;
    font-weight: bold;
    background: #bcd3e3;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    user-select: none;
    width: 100%;
    box-sizing: border-box;
  }

.collapsible-form-body {
  padding: 25px 30px;
  background: #d3e7f3;
  border-radius: 0 0 10px 10px;
  display: flex;
  justify-content: center;
}

.collapsible-form-body > .form-container {
  background: #d3e7f3;
  width: 100%;
  display: flex;
  justify-content: center;
  border-radius: 10px;
}
  .form-container {
    max-width: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .form-container form {
    width: 100%;
    max-width: 1200px;
    background: #d3e7f3;
    padding: 30px;
    border-radius: 10px;
  }
  .form-container form label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
    margin-bottom: 5px;
  }
  .form-container form input,
  .form-container form textarea {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
  }
  .form-container form button {
    margin-top: 15px;
    padding: 10px 20px;
    width: 100%;
    background: #99c6e0;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
  }
.footer-bar {
  background: rgba(0, 0, 0, 0.45); 
  padding: 12px 20px;
  text-align: center;
  border-top: 1px solid #ccc;
  width: 100%;
  font-family: 'Gruppo', sans-serif;
  color: #fff;
  font-size: 14px;
  position: relative;
  bottom: 0;
}

.footer-text {
  margin: 0;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.page-wrapper {
  min-height: calc(100vh - 60px);
  display: flex;
  flex-direction: column;
}
.footer-signature {
  color: transparent;
  user-select: text;
}

.footer-signature::selection {
  color: #fff;
  background: #000;
}
.invisible-easter-egg {
  color: transparent;
  user-select: text;
  font-size: 12px;
  text-align: center;
}