:root {
    --tu-blue: #006AAC;
    --tu-dark-blue: #0A214A;
    --tu-white: #FFFFFF;
}

html, body {
  font-family: 'Anek Latin', sans-serif !important;
}

.header-wrapper {
    display: none !important;
}

.i2c-home-heading-blue {
  font-family: 'Anek Latin', sans-serif;
  font-weight: bold;
  font-size: 50px;
  text-align: center;
  color: var(--tu-blue);
}

.i2c-home-heading-white {
  font-family: 'Anek Latin', sans-serif;
  font-weight: bold;
  font-size: 50px;
  text-align: center;
  color: var(--tu-white);
}

@media (max-width: 800px) {
  .i2c-home-heading-white, .i2c-home-heading-blue {
    font-size: 32px;
  }
}

/* ---------- SECTION BACKGROUND + SPACING ---------- */
.i2c-home-hero-section {
  position: relative;
  /* background: url('https://i2c.tuwien.ac.at/wp-content/uploads/2025/06/Group-551.png')
              center/cover no-repeat; */
  overflow: hidden;
  margin-top: 130px;
  padding-top: 100px !important;
  padding-bottom: 100px !important;
  z-index: 1;
}

.i2c-home-hero-slideshow {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  overflow: hidden;
}

.i2c-home-hero-slideshow .slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #006AAC;           /* fills area not covered by image */
  /* background-position: right center; */
  background-position: right;
  background-repeat: no-repeat;        /* prevent repeating */
  /* background-size: auto 100%;           */
  background-size: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

/* VERTICAL (desktop) */
@keyframes pan-down {
  0%   { background-position: center top; }
  100% { background-position: center bottom; }
}

@keyframes pan-up {
  0%   { background-position: center bottom; }
  100% { background-position: center top; }
}

/* HORIZONTAL (mobile) */
@keyframes pan-right {
  0%   { background-position: left center; }
  100% { background-position: right center; }
}

@keyframes pan-left {
  0%   { background-position: right center; }
  100% { background-position: left center; }
}

/* Apply the classes */
.slide.pan-down    { animation: pan-down 12s linear; }
.slide.pan-up      { animation: pan-up 12s linear; }
/* .slide.pan-right   { animation: pan-right 12s linear; } */
.slide.pan-left    { animation: pan-left 20s linear; }


.i2c-home-hero-slideshow .slide.active {
  opacity: 1;
}

.i2c-home-hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: rgba(0, 106, 172, 0.75); /* semi-transparent TU blue */
  pointer-events: none; /* allows clicks through */
}

/* inner wrapper to constrain width */
.i2c-home-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* two-column grid: left text + spacer */
.i2c-home-hero-content {
  display: grid;
  grid-template-columns: 45% 1fr;
  align-items: start;
  column-gap: 2rem;
  font-family: 'Anek Latin', sans-serif !important;
  margin-left: 40px;
}

/* remove any default centering */
.i2c-home-hero-left {
  text-align: left;
}

/* optional invisible spacer for layout */
.i2c-home-hero-spacer {
  /* empty to push nav to the right side */
}

/* subtitle */
.i2c-home-hero-subtitle {
  font-family: 'Anek Latin', sans-serif !important;
  display: block;
  font-size: 1rem;
  font-weight: 600;
  /* color: #006AAC; */
  color: #ffffff;
  margin-bottom: 16px;
}

/* #C3EBFF */

/* main title, forced left-align */
.i2c-home-hero-title {
  font-family: 'Anek Latin', sans-serif !important;
  margin: 0;
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 750;
  /* color: #006AAC; */
  color: #ffffff;
  text-align: left;
}

/* ---------- NAV PANEL ON RIGHT ---------- */
.i2c-home-hero-nav-right {
  position: absolute;
  top: 80%;
  left: 50%;
  padding: 32px 10px;
  background: #ffffff;
  display: inline-flex;
  gap: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  /* margin-right: 40px; */
}

/* link styling + underline indicators */
.i2c-home-hero-nav-link {
  position: relative;
  font-size: 1rem;
  font-weight: 600;
  color: #006AAC;
  text-decoration: none;
  padding-bottom: 4px;
  cursor: pointer;
  
}
.i2c-home-hero-nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
}
.i2c-home-hero-nav-link:hover::after,
.i2c-home-hero-nav-link.blue::after   { transform: scaleX(1); background: #006AAC; }
.i2c-home-hero-nav-link.green::after  { transform: scaleX(1); background: #34A853; }
.i2c-home-hero-nav-link.red::after    { transform: scaleX(1); background: #EA4335; }
.i2c-home-hero-nav-link.yellow::after { transform: scaleX(1); background: #FBBC05; }

.i2c-home-hero-nav-mobile-left, .i2c-home-hero-nav-mobile-right {
    display: none;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 1255px) {
  .i2c-home-hero-section {
    margin-top: 90px;
  }

  .i2c-home-hero-nav-right {
    left: 40%;
  }
}

@media (max-width: 876px) {
  /* hide desktop panel */
  /* .i2c-home-hero-nav-right {
    display: none;
  } */

  .i2c-home-hero-nav-right {
      position: unset;
      display: flex;
      margin-right: unset;
      justify-content: space-between;
      margin-top: 30px;
      margin-left: auto;
      margin-right: auto;
      width: 80%;
  }

  .i2c-home-hero-section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
  }

  .i2c-home-hero-title {
    margin-left: 80px;
  }

  .i2c-home-hero-subtitle {
    margin-left: 83px;
  }

  .i2c-home-hero-content {
    grid-template-columns: 100% 1fr;
    margin-left: unset;
  }

  .i2c-home-hero-nav-mobile-left, .i2c-home-hero-nav-mobile-right {
    display: none;
  }
}

@media (max-width: 690px) {

  .i2c-home-hero-title {
    text-align: center;
    margin-left: 0px;
  }

  .i2c-home-hero-subtitle {
    text-align: center;
    margin-left: 0px
  }
  
  .i2c-home-hero-nav-right {
    display: none;
  }

  .i2c-home-hero-nav-mobile-left, .i2c-home-hero-nav-mobile-right {
    display: flex;
    padding: 32px 10px;
    background: #ffffff;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    justify-content: center;
    margin-top: 30px;
  }

  .i2c-home-hero-nav-mobile-left {
    margin-right: 40%;
    border-radius: 0 8px 8px 0;
  }

  .i2c-home-hero-nav-mobile-right {
    margin-left: 38%;
    border-radius: 8px 0 0 8px;
  }

  .i2c-home-hero-section{
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

}

@media (max-width: 465px) {
  .i2c-home-hero-nav-mobile-left {
    margin-right: 25%;
  }

  .i2c-home-hero-nav-mobile-right {
    margin-left: 25%;
  }
}

@media (max-width: 380px) {
  .i2c-home-hero-nav-mobile-left {
    margin-right: 10%;
  }

  .i2c-home-hero-nav-mobile-right {
    margin-left: 10%;
  }
}

/* ---------- ABOUT SECTION CONTAINER ---------- */
    .i2c-home-about-section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 5%;
      display: flex;
      gap: 2rem;
      align-items: flex-start;
    }

    /* LEFT COLUMN: TEXT + LINK */
    .i2c-home-about-text {
      flex: 1;
      color: #4f4f4f;
    }
    .i2c-home-about-text p {
      font-size: 1rem;
      margin-bottom: 1.5rem;
      line-height: 1.7;
    }
    .i2c-home-learn-more {
      display: inline-block;
      font-size: 1rem;
      font-weight: 600;
      color: #006AAC; /* updated brand blue */
      text-decoration: none;
      position: relative;
    }
    .i2c-home-learn-more::after {
      content: "›";
      display: inline-block;
      margin-left: 0.25rem;
      font-weight: bold;
      font-size: 1.25rem; /* bigger arrow */
      transform: translateX(2px);
      transition: transform 0.2s ease;
      color: #006AAC;
    }
    .i2c-home-learn-more:hover::after {
      transform: translateX(6px);
    }

    /* RIGHT COLUMN: STATS LIST */
    .i2c-home-about-stats {
      flex: 0 0 300px; /* fixed width for stats column */
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    .i2c-home-stat-item {
      text-align: right;
    }
    .i2c-home-stat-number {
      font-size: 2rem;
      font-weight: 700;
      color: #006AAC; /* updated darker blue */
      line-height: 1;
    }
    .i2c-home-stat-label {
      font-size: 1rem;
      color: #666666;
      margin-top: 0.25rem;
    }

    .i2c-home-stat-update-date {
      text-align: right !important;
      padding-right: 0 !important;
    }

    /* ---------- RESPONSIVE BEHAVIOR ---------- */
    @media (max-width: 800px) {
      .i2c-home-about-section {
        flex-direction: column;
        padding: 40px 5%;
      }
      .i2c-home-about-stats {
        flex: 1;
        margin-top: 2rem;
        gap: 1.5rem;
        align-items: center; /* center stats column */
      }
      .i2c-home-stat-update-date {
        text-align: center !important;
      }
      .i2c-home-stat-item {
        text-align: center; /* center each stat */
        margin-bottom: 10px;
      }
      .i2c-home-about-text p {
        font-size: 0.95rem;
      }
      .i2c-home-learn-more {
        font-size: 0.95rem;
      }
      .i2c-home-stat-number {
        font-size: 1.75rem;
      }
      .i2c-home-stat-label {
        font-size: 0.95rem;
      }
    }

/* ---------- SECTION & HEADLINE ---------- */
    .i2c-home-carousel-section {
      width: 100%;
      padding: 60px 5%;
      text-align: center;
      padding: 2rem 0rem !important;
    }
    .i2c-home-carousel-headline {
      font-size: 2.5rem;
      font-weight: 700;
      color: #006AAC;
      margin-bottom: 40px;
    }

    /* ---------- WRAPPER (hides overflow) ---------- */
    .i2c-home-carousel-wrapper {
      position: relative;
      width: 100%;
      overflow: hidden;
      cursor: grab;
      touch-action: pan-x;
      overscroll-behavior-y: contain;
    }
    .i2c-home-carousel-wrapper:active {
      cursor: grabbing;
    }

    /* ---------- TRACK (flex row of cards, cloned sets) ---------- */
    .i2c-home-carousel-track {
      display: flex;
      align-items: stretch;
      /* we will move it via transformX(...) in JS */
      will-change: transform;
      user-select: none;   /* prevent text selection during drag */
    }

    /* ---------- CARD STYLING ---------- */
    .i2c-home-carousel-card {
      flex: 0 0 40%;                /* each card is exactly 300px wide */
      height: 480px;
      max-width: 550px;
      position: relative;
      border-radius: 12px;
      overflow: hidden;
      background-size: cover;
      background-position: center;            /* gap between cards */
    }

    #i2c-home-carousel-card-inspire {
      background-image: url("https://i2c.tuwien.ac.at/wp-content/uploads/2025/06/a327ed02923b3f4eaf57baaef51e33eb4f5a8f26.jpg");
    }

    #i2c-home-carousel-card-inspire::before {
      background-color: #F29200;
    }

    #i2c-home-carousel-card-educate {
      background-image: url("https://i2c.tuwien.ac.at/wp-content/uploads/2025/06/be1d597385dd3a735272172235f62d99d9726daf-scaled.jpg");
    }

    #i2c-home-carousel-card-educate::before {
      background-color: #006AAC;
    }

    #i2c-home-carousel-card-innovate {
      background-image: url("https://i2c.tuwien.ac.at/wp-content/uploads/2025/10/22ff86752e9e3e47bea7a62721fd975f87d72151.webp");
    }

    #i2c-home-carousel-card-innovate::before {
      background-color: #76B157;
    }

    #i2c-home-carousel-card-connect {
      background-image: url("https://i2c.tuwien.ac.at/wp-content/uploads/2025/05/DSC7290.jpg");
    }

    #i2c-home-carousel-card-connect::before {
      background-color: #F3C452;
    }

    /* blue overlay on each card to match your screenshot */
    .i2c-home-carousel-card::before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      /* background-color: #5e9ec6; */
      opacity: 0.8;
      z-index: 1;
    }

    /* CONTENT INSIDE EACH CARD */
    .i2c-home-card-content {
      position: relative;   /* so it sits above the ::before overlay */
      z-index: 2;
      color: #ffffff;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 24px;
      height: 100%;
    }
    .i2c-home-card-content h3 {
      font-size: 1.75rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
    }
    .i2c-home-card-content p {
      font-size: 1rem;
      line-height: 1.4;
    }
    .i2c-home-card-buttons {
      display: flex;
      flex-direction: column;
      gap: 12px;
      margin-top: auto;
      flex-direction: column-reverse;
      margin-right: 40%
    }
    .i2c-home-card-buttons a {
      background-color: #ffffff;
      color: #006AAC;
      border: none;
      border-radius: 6px;
      padding: 10px 16px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: background-color 0.2s ease;
      text-align: center;
      text-decoration: none;
    }

    .i2c-home-card-buttons a:hover {
      background-color: #e6f0fa; /* subtle hover */
    }
    /* @media (max-width: 394px) {
      .i2c-home-card-content {
        padding-bottom: 34px;
      }
    } */

    .i2c-home-pillar-header {
      font-family: 'Anek Latin', sans-serif !important;
      font-size: 50px !important; 
      font-weight: bold !important;
      margin-bottom: 0.5rem !important;
      color: var(--tu-white);
      text-align: left;
    }

    .i2c-home-pillar-paragraph {
      font-family: 'Anek Latin', sans-serif !important;
      font-size: 16px !important;
      line-height: 1.5 !important;
      margin-bottom: 1.5rem !important;
      color: var(--tu-white);
      text-align: left;
      max-width: 60%;
    }

    /* ---------- RESPONSIVE (narrow screens) ---------- */
    @media (max-width: 1370px) {
      .i2c-home-carousel-card {
        flex: 0 0 80%;           /* show ~80% of viewport width on mobile */
      }
      /* .i2c-home-card-buttons button {
        font-size: 0.9rem;
        padding: 8px 12px;
      } */

      /* .i2c-home-pillar-header {
        font-size: 40px !important; 
      } */

      .i2c-home-pillar-paragraph {
        /* font-size: 14px !important; */
        max-width: 90%;
      }
    }

    @media (max-width: 670px) {

      .i2c-home-card-buttons {
        margin-right: 10%
      }
      .i2c-home-card-buttons button {
        font-size: 0.9rem;
        padding: 8px 12px;
      }

      .i2c-home-pillar-header {
        font-size: 40px !important; 
      }

      .i2c-home-pillar-paragraph {
        font-size: 14px !important;
      }
    }

    .i2c-home-carousel-card-first {
      margin-left: 24px; 
    }

    .i2c-home-carousel-card-last {
      margin-right: 24px;
    }

    .i2c-home-carousel-arrow {
      width: 100%;
      margin: 2rem auto 0;       /* top spacing from carousel, center horizontally */
      display: flex;
      justify-content: flex-end; /* push arrow to the right */
      padding-right: 3%;         /* match section side padding if desired */
    }

    .i2c-home-carousel-arrow img {
      max-width: 120px;
      height: auto;
    }

/* ---------- SECTION & HEADING ---------- */
.i2c-home-carousel-section.i2c-home-startups {
  padding: 60px 5%;
  text-align: center;
}
.i2c-home-carousel-section.i2c-home-startups
  .i2c-home-heading-blue {
  font-size: 2.5rem;
  font-weight: 700;
  color: #006AAC;
  margin-bottom: 40px;
}

/* ---------- WRAPPER (hides overflow) ---------- */
.i2c-home-carousel-wrapper {
  position: relative;
  overflow: hidden;
  cursor: grab;
}
.i2c-home-carousel-wrapper:active {
  cursor: grabbing;
}

/* ---------- TRACK (flex row + snap) ---------- */
.i2c-home-carousel-track {
  display: flex;
  gap: 24px;
  user-select: none;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

/* ---------- STARTUP CARD ---------- */
.i2c-home-startup-card {
  /* flex: 0 0 15%; */
  flex: 0 0 400px;
  /* max-width: 280px; */
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  scroll-snap-align: center;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  max-height: 300px;
}

.i2c-home-startup-card-link{
  margin: auto auto auto;
  text-decoration: none !important;
}

.i2c-home-startup-logo {
  /* max-width: 100px; */
  width: auto;        /* whatever your square size is */
  /* height: 80px; */
  object-fit: cover;   /* scale up & crop to fill the box */
  object-position: center center;  /* crop equally top/bottom & left/right */
  display: flex;
  max-height: 100px;
}
.i2c-home-startup-name {
  font-size: 16pt;
  color: #0A214A;
  margin-bottom: 4px;
  margin-top: auto;
}
.i2c-home-startup-desc {
  font-size: 0.75rem;
  color: #333333;
  line-height: 1.4;
}

/* ---------- HIDE NATIVE SCROLLBAR ---------- */
.i2c-home-carousel-wrapper::-webkit-scrollbar {
  display: none;
}
.i2c-home-carousel-wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1700px) {
  .i2c-home-startup-card { flex: 0 0 25%; }
}
@media (max-width: 1200px) {
  .i2c-home-startup-card { flex: 0 0 33%; }
}
@media (max-width: 800px) {
  .i2c-home-startup-card { flex: 0 0 50%; }
}
@media (max-width: 500px) {
  .i2c-home-startup-card { flex: 0 0 80%; }
}

.i2c-home-offers-section {
      max-width: 1200px;
      margin: 0 auto;
      padding: 60px 5%;
      text-align: center;
    }

    .i2c-home-offers-headline {
      font-size: 2.5rem;
      font-weight: 700;
      color: #006AAC;
      margin-bottom: 24px;
    }

    /* ---------- FILTER ROW ---------- */
    .i2c-home-filters {
      display: inline-flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 40px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .i2c-home-filters span {
      font-size: 0.7rem;
      font-weight: 600;
      color: #4f4f4f;
    }
    .i2c-home-filter-btn {
      font-size: 1rem;
      font-weight: 400;
      padding: 6px 16px;
      border: 1px solid;
      border-radius: 20px;
      background-color: #ffffff;
      cursor: pointer;
      transition: background-color 0.2s ease, color 0.2s ease;
    }
    /* Category‐specific border/text colors */
    .i2c-home-filter-everyone {
      border-color: #006AAC;
      color: var(--tu-dark-blue);
    }
    .i2c-home-filter-students {
      border-color: #28a745;
      color: var(--tu-dark-blue);
    }
    .i2c-home-filter-scientists {
      border-color: #dc3545;
      color: var(--tu-dark-blue);
    }
    /* Active state fills background with the border color, text white */
    .i2c-home-filter-btn.active {
      background-color: #C4C9D1;
      color: #0A214A;
      border-color: #C4C9D1;
    }
    .i2c-home-filter-btn:not(.active):hover {
      background-color: rgba(0, 0, 0, 0.05);
    }

    /* ---------- CARD GRID ---------- */
    .i2c-home-cards-container {
      display: grid;
      grid-template-columns: repeat(2, minmax(300px, 1fr));
      gap: 24px;
      justify-items: center;
    }
    .i2c-home-offer-card {
      width: 100%;
      max-width: 560px;
      background-color: #ffffff;
      border-radius: 12px;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
      text-align: left;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding: 24px;
      position: relative;
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    .i2c-home-offer-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    }

    .i2c-home-card-title {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--tu-dark-blue);
      margin-bottom: 12px;
      line-height: 1.5rem;
    }
    .i2c-home-card-desc {
      font-size: 1rem;
      color: #666666;
      line-height: 1.5;
      margin-bottom: 16px;
      flex-grow: 1;
    }
    .i2c-home-card-link {
      font-size: 1rem;
      font-weight: 600;
      color: #006AAC;
      text-decoration: none;
      align-self: flex-start;
      position: relative;
    }
    .i2c-home-card-link::after {
      content: "›";
      margin-left: 4px;
      font-weight: bold;
      transition: transform 0.2s ease;
    }
    .i2c-home-card-link:hover::after {
      transform: translateX(4px);
    }

    /* Hide cards when filtering */
    .i2c-home-offer-card.hidden {
      display: none;
    }

    /* ---------- RESPONSIVE: MOBILE LAYOUT ---------- */
    @media (max-width: 800px) {
      .i2c-home-offers-section {
        padding: 40px 5%;
      }
      .i2c-home-offers-headline {
        font-size: 2rem;
      }
      .i2c-home-filters {
        gap: 12px;
        margin-bottom: 24px;
      }
      .i2c-home-filter-btn {
        font-size: 0.6rem;
        padding: 6px 12px;
      }
      .i2c-home-cards-container {
        grid-template-columns: 1fr;
        gap: 16px;
      }
      .i2c-home-offer-card {
        padding: 20px;
      }
      .i2c-home-card-title {
        font-size: 1.1rem;
      }
      .i2c-home-card-desc {
        font-size: 0.95rem;
        margin-bottom: 12px;
      }
      .i2c-home-card-link {
        font-size: 0.95rem;
      }
    }

.i2c-home-carousel {
  text-align: center;
  padding: 2rem 1rem;
  max-width: 1400px;
  margin: auto;
}

.i2c-home-carousel-title {
  font-size: 32px;
  font-weight: bold;
  color: var(--tu-blue);
  margin-bottom: 2rem;
}

.i2c-home-carousel-container {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.i2c-home-carousel-track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.i2c-home-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.i2c-home-carousel-slide {
  flex: 0 0 auto;
  width: 80%;
  margin: 0 0.5rem;
  padding: 1.5rem;
  background: var(--tu-white);
  border-radius: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

@media (min-width: 4200px) {
  #i2c-home-startups-track {
    justify-content: center;
  }
}

@media (min-width: 2300px) {
  .i2c-home-pillars-carousel-track {
    margin: 0 auto;
    width: max-content;
  }
}

@media (min-width: 768px) {
  .i2c-home-carousel-slide {
    width: 45%;
  }
}

@media (min-width: 1024px) {
  .i2c-home-carousel-slide {
    width: 22%;
  }
}

.i2c-home-carousel-slide img {
  max-height: 60px;
  margin: 0 auto 1rem;
}

.i2c-home-carousel-slide h3 {
  margin: 0;
  font-size: 18px;
  color: #000;
}

.i2c-home-carousel-slide p {
  font-size: 14px;
  color: #444;
  margin-top: 0.5rem;
}

.i2c-home-tv-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  max-width: 100%;
  display: block;
  border-radius: 15px;
  margin-top: 30px;
}

.i2c-home-events-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
}

.i2c-home-carousel-arrow-img-invisible {
  opacity: 0;
}

.yt-arrow {
  font-size: 2rem;
  background: rgb(255, 255, 255, 1);
  color: #006AAC;
  border: none;
  border-radius: 8px;
  padding: 5px 17px;
  cursor: pointer;
  transition: background 0.2s;
}

.yt-arrow:hover {
  background: rgba(255, 255, 255, 0.8);
}

.i2c-home-tv-more-button {
  background: white;
  color: #005db9;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, color 0.3s;
  font-size: 11pt;
}

.i2c-home-startups-button {
  color: white;
  font-weight: 600;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, color 0.3s;
  font-size: 11pt;
  background: url('https://i2c.tuwien.ac.at/wp-content/uploads/2025/06/Mask-group4.png') no-repeat center center;
  background-size: auto;
  background-size: cover;
  margin: 0 auto 0 auto;
}

.i2c-home-startups-button:hover {
  color: #d9e9ff;
}

.i2c-home-events {
  background: url('https://i2c.tuwien.ac.at/wp-content/uploads/2025/06/Mask-group4.png') no-repeat center center;
  background-size: cover;
  padding: 60px 5%;
  text-align: center;
  position: relative;
  color: white;
}

.i2c-home-events-container {
  max-width: 1000px;
  margin: 0 auto;
}

.i2c-home-events-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 40px;
}

.i2c-home-highlight {
  color: white;
}

.i2c-home-event-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-top: 50px;
}

.i2c-home-event {
  width: 100%;
  max-width: 650px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 15px 20px;
  text-align: left;
  position: relative;
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.2s;
  padding-right: 35px !important;
}

.i2c-home-event:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.02);
}

.i2c-home-event-date {
  display: block;
  font-size: 0.9rem;
  color: #cce3ff;
  margin-bottom: 4px;
}

.i2c-home-event-title {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: white;
}

.i2c-home-event-title strong {
  font-weight: 700;
  color: white;
}

.i2c-home-event-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  transition: transform 0.2s;
}

.i2c-home-event:hover .i2c-home-event-arrow {
  transform: translateY(-50%) translateX(5px);
}

.i2c-home-events-button-wrapper {
  margin-top: 30px;
}

.i2c-home-events-button {
  background: white;
  color: #005db9;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, color 0.3s;
}

.i2c-home-events-button:hover {
  background: #d9e9ff;
  color: #003e80;
}

/* 🔹 Responsive */
@media (max-width: 768px) {
  .i2c-home-event-title {
    font-size: 11pt;
  }

  .i2c-home-event {
    padding: 18px;
    text-align: left;
  }

  .i2c-home-event-arrow {
    height: 18px;
    right: 15px;
  }
}

.i2c-home-event-link {
  text-decoration: none;
}

.i2c-home-testimonials-section {
      position: relative;
      padding: 4rem 5% 8rem; /* extra bottom padding for slider */
      background: #f0f6fb;
      font-family: 'Anek Latin', sans-serif;
      overflow: visible; /* allow slider overflow */
    }

    .i2c-home-testimonials-content-wrapper{
      margin-left: auto;
      margin-right: auto;
      max-width: 1200px;
      padding: 2rem 0rem !important;
    }

    /* ---------- HERO BLOCK ---------- */
    .i2c-home-testimonials-hero {
      max-width: 500px;
      height: 250px;
      background: url("https://i2c.tuwien.ac.at/wp-content/uploads/2025/06/Group-1731.png") center/cover no-repeat;
      border-radius: 12px;
      padding: 2rem;
      box-sizing: border-box;
    }
    .i2c-home-testimonials-hero h2 {
      font-family: 'Anek Latin', sans-serif;
      font-weight: bold;
      font-size: 40px;
      /* text-align: center; */
      color: var(--tu-white);
      text-align: left;
    }

    /* ---------- SLIDER WRAPPER ---------- */
    .i2c-home-testimonials-slider-wrapper {
      /* position relative instead of absolute to prevent clipping */
      position: relative;
      margin-top: -100px;    /* pull up over hero by half height */
      margin-left: 100px;    /* offset right of hero */
      box-sizing: border-box;
      overflow: visible;
      z-index: 2;
      max-width: 1500px;
    }

    /* ---------- SLIDER ---------- */
    .i2c-home-testimonials-slider {
      width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      cursor: grab;
      /* Hide native scrollbar */
      scrollbar-width: none;
      -ms-overflow-style: none;
      border-radius: 12px;
    }
    .i2c-home-testimonials-slider::-webkit-scrollbar {
      display: none;
    }
    .i2c-home-testimonials-slider.grabbing {
      cursor: grabbing;
    }

    .i2c-home-testimonials-track {
      display: flex;
    }

    .i2c-home-testimonial-card {
      flex: 0 0 100%;
      display: flex;
      background: #fff;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      box-sizing: border-box;
      gap: 1.5rem;
      scroll-snap-align: start;
      height: 300px;
    }

    /* ---------- AVATAR (full height) ---------- */
    .avatar {
      width: auto;
      /* height: calc(100% - 4rem); */
      border-radius: 12px 0 0 12px;
      object-fit: cover;
      flex-shrink: 0;
    }

    /* ---------- CONTENT ---------- */
    .testimonial-content {
      flex: 1;
      overflow: hidden;
      margin: 20px 10px;
    }
    .testimonial-content h3 {
      margin: 0 0 0.5rem;
      font-size: 1.125rem;
      color: #0a1b3f;
      font-weight: 800;
    }
    .testimonial-content .role {
      margin: 0 0 1rem;
      font-size: 0.875rem;
      color: #6b7c93;
    }
    .testimonial-content .quote {
      margin: 0;
      font-size: 1.125rem;
      font-weight: 600;
      line-height: 1.5;
      color: #0a1b3f;
    }

    /* ---------- PAGINATION DOTS (UNDER CENTER) ---------- */
    .i2c-home-testimonials-dots {
      display: flex;
      gap: 0.5rem;
      margin-top: 1rem;
      margin-left: 50%;
    }
    .i2c-home-testimonials-dots span {
      width: 8px;
      height: 8px;
      background: #cfd6e0;
      border-radius: 50%;
      cursor: pointer;
      flex-shrink: 0;
    }
    .i2c-home-testimonials-dots span.active {
      background: #6b7c93;
    }

    @media (max-width: 770px) {
      .i2c-home-testimonials-slider-wrapper {
        margin-top: -80px;
        margin-left: 20px;
      }

      .i2c-home-testimonial-card {
        flex-direction: column;
        height: auto;
      }

      .testimonial-header {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 1rem;
        padding: 1rem;
      }

      .avatar {
        width: 80px;
        height: 80px;
        border-radius: 12px 0 12px 0;
        object-fit: cover;
        flex-shrink: 0;
      }

      .testimonial-content {
        margin: 0 1rem 1rem;
        margin-top: -100px;
      }

      .testimonial-content h3,
      .testimonial-content .role {
        margin: 0;
        text-align: left;
        margin-left: 80px;
      }
      .testimonial-content .role {
        margin-bottom: 1rem;
        min-height: 40px;
      }

      .testimonial-content .quote {
        /* margin-top: 1rem; */
        text-align: left;
      }

      .i2c-home-testimonials-dots {
        margin-left: auto;
        margin-right: auto;
        width: 30px;
        }

      .i2c-home-testimonials-hero {
        margin-right: 30px;
        }
    }
  
.i2c-home-sponsors-section {
  padding: 2rem 5%;
  background: #fff;
}

.i2c-home-sponsors-container {
  display: flex;
  align-items: center;
  justify-content: center;   /* or flex-start if you want them left-aligned */
  gap: 2rem;                 /* space between title and logos */
  
  /* keep it all on one line, allow scroll if it overflows */
  flex-wrap: nowrap;
  overflow-x: auto;
}

.i2c-home-sponsors-title {
  flex: 0 0 auto;
  margin: 0;
  font-family: 'Anek Latin', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #0a1b3f;
}

.i2c-home-sponsors-logos {
  display: flex;
  align-items: center;
  gap: 2.5rem;               /* space between each logo */
  flex: 0 0 auto;
}

.i2c-home-sponsors-logos img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

@media (max-width: 560px) {
  .i2c-home-sponsors-logos img {
    max-height: 40px;
  }

  .i2c-home-sponsors-title {
    font-size: 1rem;
  }

  .i2c-home-sponsors-logos {
    gap: 1rem;
  }
}

.i2c-home-events,
.i2c-home-startups
{
  padding-top: 60px !important;
  padding-bottom: 60px !important;;
}
