@import url("https://fonts.googleapis.com/css2?family=Comic+Neue:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap");
#sezione-1, #sezione-11, #sezione-12 {
  scroll-margin-top: 60px;
  /* Imposta lo spazio di scorrimento prima dell'elemento ancorato */ }

.tech {
  background-color: rgba(216, 248, 217, 0.7); }

.tech-show {
  display: block; }

.tech-hide {
  display: none; }

.modal {
  z-index: 100; }

.modal-backdrop {
  z-index: 99; }

.sticky-top {
  z-index: 98; }

.table-didattica table {
  display: table;
  border-collapse: collapse;
  width: 100%;
  font-family: Arial, sans-serif;
  font-size: 14px;
  text-align: center; }
.table-didattica th, .table-didattica td {
  border: 1px solid #ccc;
  padding: 10px;
  height: 40px; }
.table-didattica th {
  background-color: #07286E;
  font-weight: bold; }
.table-didattica .exam-day {
  background-color: #fff4d1;
  /* Giallo chiaro */ }
.table-didattica .lecture {
  background-color: #d9e7f4;
  /* Blu/Azzurro chiaro */ }
.table-didattica .time-col {
  width: 80px; }

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem; }
  .card-container .card-img {
    width: 100%;
    object-fit: cover;
    padding: 10px; }
  .card-container .card-img img {
    max-width: 100%; }
  .card-container .card-body {
    padding: 10px;
    padding-top: 0; }
    .card-container .card-body h5 {
      margin-top: 0.5rem; }

#vanta-header {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  overflow: hidden;
  margin-top: -20px; }

#vanta-header canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 2; }

#vanta-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 20, 90, 0.98) 0%, rgba(20, 40, 160, 0.05) 100%);
  z-index: 1;
  pointer-events: none; }

#vanta-header-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1600px;
  padding: 0 15px;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%); }

.badge-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  justify-content: center;
  justify-items: center;
  margin-top: 1rem; }

.badge {
  background-color: rgba(237, 77, 19, 0.3);
  font-size: 3rem;
  padding: 2rem; }
  .badge .badge-description {
    font-size: 1rem; }

.comic-neue-regular {
  font-family: "Comic Neue", cursive;
  font-weight: 400;
  font-style: normal; }

.comic-neue-bold {
  font-family: "Comic Neue", cursive;
  font-weight: 700;
  font-style: normal; }

.bg-color-full {
  clip-path: inset(0 -100vmax);
  box-shadow: 0 0 0 100vmax rgba(243, 173, 149, 0.3); }

.bg-color {
  background-color: rgba(243, 173, 149, 0.3); }

.badge-sm {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  font-weight: 700;
  border-radius: 0.25rem;
  display: inline-block;
  transition: all 0.3s ease; }

.badge-sm.primary {
  background-color: #07286E;
  color: #fff; }

.badge-sm.secondary {
  background-color: #6c757d;
  color: #fff; }

.badge-sm.info {
  background-color: #17a2b8;
  color: #fff; }

.badge-sm.light {
  background-color: #f8f9fa;
  color: #212529;
  border: 1px solid #dee2e6; }

.accordion .btn-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between; }

.accordion .btn-link:hover {
  text-decoration: none;
  color: #07286E; }

.accordion .btn-link:focus {
  text-decoration: none; }

.accordion .btn-link::after {
  content: " +";
  font-weight: bold;
  color: #07286E;
  transition: all 0.3s ease;
  margin-left: auto; }

.accordion .btn-link:not(.collapsed)::after {
  content: " -"; }

.col-lg-3 .sticky-top {
  z-index: 0;
  top: 60px; }

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden; }

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important; }

.stat-card {
  transition: transform 0.3s ease; }
  .stat-card .stat-value {
    font-size: 2rem;
    font-weight: bold; }
  .stat-card .stat-label {
    font-size: 1.5rem;
    font-weight: bold; }

.stat-card:hover {
  transform: translateY(-5px); }

.partners-section {
  padding: 60px 0;
  background-color: #f8f9fa;
  margin: 40px 0; }

.partners-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px; }

.partners-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  font-weight: 600;
  color: #333; }

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  align-items: stretch;
  margin: 40px 0; }

.partner-item {
  background: white;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border-top: 4px solid #dee2e6;
  text-decoration: none;
  color: inherit; }

.partner-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px); }

.partner-item:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px); }

.partner-item-link {
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%; }
  .partner-item-link:hover {
    text-decoration: none !important; }

.partner-item-link .partner-name {
  text-decoration: none !important; }

.partner-item.partner-inactive {
  opacity: 0.7; }

.partner-item.partner-inactive:hover {
  opacity: 0.9; }

.partner-item.partner-gold {
  border-top-color: #FFD700; }

.partner-item.partner-silver {
  border-top-color: #C0C0C0; }

.partner-logo-wrapper {
  width: 100%;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px; }

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; }

.partner-info {
  width: 100%; }

.partner-name {
  margin: 10px 0;
  font-weight: 600;
  color: #333;
  font-size: 0.95rem; }

.partner-badge {
  display: inline-block;
  padding: 4px 10px;
  margin: 2px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px; }

.partner-badge-service {
  background-color: #E3F2FD;
  color: #1976D2; }

.partner-badge-vendor {
  background-color: #F3E5F5;
  color: #7B1FA2; }

.partner-badge-research {
  background-color: #E8F5E9;
  color: #388E3C; }

.partner-badge-gold {
  background-color: #FFF8E1;
  color: #F57F17;
  font-weight: 700; }

.partner-badge-silver {
  background-color: #ECEFF1;
  color: #455A64;
  font-weight: 700; }

.direttivo-container {
  margin: 40px 0; }

.direzione-section,
.consiglio-section {
  margin-bottom: 60px; }

.direzione-section h2,
.consiglio-section h2 {
  color: #333;
  margin-bottom: 40px;
  font-size: 1.75rem;
  font-weight: 600;
  border-bottom: 3px solid #07286E;
  padding-bottom: 15px; }

.direttivi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: stretch; }

@media (min-width: 768px) {
  .direttivi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) {
  .direttivi-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.docente-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column; }

.docente-card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px); }

.docente-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f0f0f0; }

.docente-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease; }

.docente-card:hover .docente-image img {
  transform: scale(1.05); }

.docente-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column; }

.docente-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px 0; }

.docente-role {
  font-size: 0.95rem;
  font-weight: 500;
  color: #07286E;
  margin: 0 0 5px 0; }

.docente-institution {
  font-size: 0.85rem;
  color: #666;
  margin: 0 0 12px 0;
  font-style: italic; }

.docente-bio {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  flex: 1; }

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 40px 0;
  align-items: start; }

.contact-info {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }

.contact-info h3 {
  color: #333;
  margin-bottom: 30px;
  font-size: 1.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px; }

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start; }

.contact-item i {
  font-size: 1.5rem;
  color: #07286E;
  margin-top: 2px;
  min-width: 25px; }

.contact-text {
  flex: 1; }

.contact-text strong {
  display: block;
  color: #333;
  margin-bottom: 5px;
  font-size: 0.95rem; }

.contact-text p {
  color: #666;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5; }

.contact-text a {
  color: #9b1626;
  text-decoration: none;
  transition: color 0.3s ease; }

.contact-text a:hover {
  color: #de1f36;
  text-decoration: underline; }

.logos-section {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }

.logos-section h3 {
  color: #333;
  margin-bottom: 30px;
  font-size: 1.5rem; }

.logos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px; }

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: white;
  border-radius: 8px;
  min-height: 140px;
  transition: all 0.3s ease; }

.logo-item:hover {
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain; }

a {
  color: #9b1626;
  text-decoration: underline;
  transition: color 0.3s ease; }
  a:hover {
    color: #de1f36; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Rajdhani', sans-serif;
  color: #07286E; }

.section-divider {
  border-top: 2px solid #07286E;
  margin: 2rem 0; }

.accent-primary {
  color: #07286E; }

.accent-secondary {
  color: #9b1626; }

.bg-accent-primary {
  background-color: rgba(7, 40, 110, 0.1); }

.bg-accent-secondary {
  background-color: rgba(155, 22, 38, 0.1); }

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px; }

  .partners-title {
    font-size: 1.5rem; }

  .partner-item {
    padding: 15px; }

  .partner-logo-wrapper {
    height: 120px; }

  .direttivi-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px; }

  .direzione-section h2,
  .consiglio-section h2 {
    font-size: 1.5rem; }

  .docente-image {
    height: 200px; }

  .docente-info {
    padding: 15px; }

  .docente-name {
    font-size: 1.1rem; }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 30px; }

  .contact-info,
  .logos-section {
    padding: 20px; }

  .contact-info h3,
  .logos-section h3 {
    font-size: 1.25rem; }

  .contact-item {
    gap: 12px; }

  .contact-item i {
    font-size: 1.25rem; } }
@media (max-width: 480px) {
  .partners-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px; }

  .partner-logo-wrapper {
    height: 100px; }

  .partner-name {
    font-size: 0.85rem; }

  a .partners-item-link {
    text-decoration: none !important; }

  .partner-badge {
    padding: 3px 8px;
    font-size: 0.7rem; }

  .direttivi-grid {
    grid-template-columns: 1fr; }

  .docente-image {
    height: 180px; }

  .docente-name {
    font-size: 1rem; }

  .docente-bio {
    font-size: 0.85rem; }

  .contact-info,
  .logos-section {
    padding: 15px; }

  .contact-item i {
    font-size: 1.1rem; }

  .contact-text strong {
    font-size: 0.9rem; }

  .contact-text p {
    font-size: 0.85rem; } }
#projects-container a {
  text-decoration: none;
  color: inherit; }
  #projects-container a:hover {
    text-decoration: none;
    color: #07286E; }
#projects-container .project {
  background-color: #fff;
  border: 2px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
  #projects-container .project:hover {
    border-color: #de1f36;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px); }
  #projects-container .project .project-img {
    overflow: hidden;
    background-color: #f8f9fa; }
    #projects-container .project .project-img img {
      width: 100%;
      object-fit: cover;
      transition: transform 0.3s ease; }
  #projects-container .project:hover .project-img img {
    transform: scale(1.05); }
  #projects-container .project .project-body {
    padding: 1.5rem; }
    #projects-container .project .project-body h5 {
      margin-top: 0;
      margin-bottom: 0.75rem;
      font-weight: 700;
      color: #07286E;
      font-size: 1.25rem; }
    #projects-container .project .project-body > p {
      margin-bottom: 1rem;
      color: #555;
      font-size: 0.95rem;
      line-height: 1.6; }
    #projects-container .project .project-body .students {
      margin-bottom: 0;
      font-size: 0.9rem;
      color: #666; }
      #projects-container .project .project-body .students em {
        font-style: italic; }
      #projects-container .project .project-body .students strong {
        color: #07286E; }

@media (max-width: 768px) {
  #projects-container .project {
    margin-bottom: 1rem; }
    #projects-container .project .col-md-4,
    #projects-container .project .col-md-8 {
      margin-bottom: 1rem; }
    #projects-container .project .project-img img {
      height: 200px; }
    #projects-container .project .project-body {
      padding: 1rem; }
      #projects-container .project .project-body h5 {
        font-size: 1.1rem; } }
.navbar-chulapa .dropdown-menu .dropdown-item:hover, .navbar-chulapa .dropdown-menu .dropdown-item:focus {
  color: #de1f36; }

.navbar-brand {
  text-transform: none !important;
  text-decoration: none !important; }

.navbar-brand:hover {
  text-decoration: underline !important; }

@media (max-width: 1270px) {
  .navbar.navbar-chulapa.d-none {
    display: none !important; }

  .navbar-chulapa-fab {
    display: block !important; } }
@media (min-width: 1271px) {
  .navbar-chulapa-fab {
    display: none !important; }

  .navbar.navbar-chulapa {
    display: block !important; } }
body.sbd-header .hero-chulapa-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; }
body.sbd-header .hero-chulapa,
body.sbd-header .splash-chulapa,
body.sbd-header .splash-chulapa-image,
body.sbd-header .hero-chulapa-image {
  font-family: Rajdhani, sans-serif;
  background-color: transparent;
  text-align: center;
  min-height: 10vh; }

.sbd-header,
.sbd-header-image {
  font-family: Rajdhani, sans-serif;
  background-color: transparent;
  text-align: center;
  min-height: 10vh; }

.sbd-header-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; }

body.unipi-header .hero-chulapa-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; }
body.unipi-header .hero-chulapa,
body.unipi-header .splash-chulapa,
body.unipi-header .splash-chulapa-image,
body.unipi-header .hero-chulapa-image {
  font-family: Rajdhani, sans-serif;
  background-color: transparent;
  text-align: center;
  min-height: 30vh; }

.unipi-header,
.unipi-header-image {
  font-family: Rajdhani, sans-serif;
  background-color: transparent;
  text-align: center;
  min-height: 30vh; }

.unipi-header-image {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; }

.nav-item:last-child {
  background-color: #de1f36;
  border-radius: 0;
  padding-inline-start: 0.4em;
  padding-inline-end: 0.4em;
  color: #de1f36; }
