

.program-card {
    background-color: #6b7280;
}


/* ================= DROPDOWN STYLES ================= */
.dropdown {
    z-index: 99999 !important;
    position: relative;
}

.dropdown.open .dropdown-menu {
    display: block;
}

.dropdown.open .dropdown-button svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    background: #EDEDED !important;
    padding: 0.5rem !important;
    width: 13.5rem !important;
    border-radius: 0 !important;
    z-index: 99999 !important;
    position: absolute;
    top: 100%;
    left: 0;
    font-family: 'Inter Tight', sans-serif !important;
}

.dropdown-menu > div {
    color: #383838;
    font-family: 'Inter Tight', sans-serif !important;
    font-weight: 300 !important;
    font-size: 0.9375rem !important;
    text-align: left;
    padding: 0.625rem 0.375rem !important;
    margin: 0 !important;
    transition: color 0.2s ease;
    word-wrap: break-word;
    overflow-wrap: break-word;
    width: 100%;
    border-bottom: 0.06rem solid #d1d5db;
    line-height: 1.3 !important;
}

.dropdown-menu > div:hover {
    color: #000 !important;
}


.dropdown-menu > div:not(:last-child) {
    border-bottom: 0.06rem solid #e0e0e0;
    margin-bottom: 0 !important;
    padding-bottom: 0.25rem !important;
}

.dropdown-menu > div:last-child {
    border-bottom: none;
}


.dropdown-button {
    font-weight: 400;
}

.dropdown-button svg {
    color: #383838 !important;
    fill: #383838 !important;
}

/* ================= HERO SECTION STYLES ================= */

.hero-dot {
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 0.22rem;
    background: #fff !important;
    opacity: 0.5;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
    z-index: 30;
}

.hero-dot.active {
    width: 2.33rem;
    height: 0.44rem;
    background: #fff !important;
    border-radius: 0.22rem;
    opacity: 1;
    border: none;
}


/* ================= GLOBAL SLIDER STYLES ================= */
.global-slider {
    position: relative;
}

.global-dot {
    width: 0.44rem;
    height: 0.44rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.global-dot.active {
    width: 1.33rem;
    height: 0.44rem;
    border-radius: 0.22rem;
    background: rgba(255, 255, 255, 1);
}

/* ================= FUTURE CARDS STYLES ================= */
.future-cards-desktop {
    display: flex;
    flex-direction: row;
    gap: 1.11rem;
    width: 100%;
    height: 38.33rem;
    margin-top: 2.67rem;
}

.future-card-big {
    background-image: url('/media/images/labbg.original.png');
    background-size: cover;
    background-position: center;
    width: 50%;
    height: 38.33rem;
    display: flex;
    align-items: flex-end;
    border-radius: 0;
    position: relative;
}

.future-card-col {
    display: flex;
    flex-direction: column;
    gap: 1.11rem;
    width: 50%;
    height: 38.33rem;
}

.future-card-small {
    background-image: url('/media/images/labbg.original.png');
    background-size: cover;
    background-position: center;
    height: 19.17rem;
    width: 100%;
    display: flex;
    align-items: flex-end;
    border-radius: 0;
    position: relative;
}

.future-card-content {
    padding: 1.78rem;
    z-index: 2;
}

/* ================= CONTACT FORM STYLES ================= */


/* ================= SIDEBAR STYLES ================= */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

@media (min-width: 1900px) {
    .sidebar {
        display: none !important;
    }
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-mobile {
    width: 18.75rem;
    padding: 2.5rem 1rem 0 1rem;
}

.sidebar-tablet {
    width: 21.875rem;
    padding: 2.5rem 1.25rem 0 1.25rem;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 2.125rem;
    margin-bottom: 3.75rem;
}

.sidebar-tablet .sidebar-header {
    margin-bottom: 4.0625rem;
}

.sidebar-logo {
    height: 2.125rem;
    width: auto;
}

.sidebar-close {
    width: 2.125rem;
    height: 2.125rem;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    flex-grow: 1;
}

.sidebar-nav-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-weight: 800;
    color: #777777;
    text-align: left;
    transition: color 0.2s ease;
}

.sidebar-nav-button:hover {
    color: #000;
}

.sidebar-nav-arrow {
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 0.625rem;
}

.sidebar-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 1.4375rem;
    margin-top: auto;
}

.sidebar-social img {
    width: 2rem;
    height: 2rem;
}

/* ================= RESPONSIVE STYLES ================= */
@media (max-width: 640px) {
    .mobile-menu {
        max-width: 15.56rem;
    }

    .overflow-x-auto > div {
        padding-right: 0.89rem;
    }
}

@media (max-width: 1023px) {
    .hero-dot {
        width: 0.33rem;
        height: 0.33rem;
    }

    .hero-dot.active {
        width: 0.89rem;
        height: 0.33rem;
    }

    .hero-section #hero-dots {
        bottom: 1.33rem;
    }

    .global-dot {
        width: 0.33rem;
        height: 0.33rem;
    }

    .global-dot.active {
        width: 0.89rem;
        height: 0.33rem;
    }

    .mobile-dropdown-group {
        display: block;
    }

    .dropdown, .dropdown-menu {
        display: none !important;
    }

    .section-header {
        margin-bottom: 1.33rem;
    }
}

@media (min-width: 1024px) {
    .mobile-menu, .mobile-dropdown-group {
        display: none !important;
    }

    .hero-section {
        justify-content: center !important;
        padding: 1.78rem !important;
    }

    .hero-section .w-full {
        margin-left: 0 !important;
        margin-right: auto !important;
        text-align: left !important;
    }

    .hero-section #hero-dots {
        position: absolute !important;
        left: 0;
        right: 0;
        bottom: 1.33rem !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        z-index: 30 !important;
    }

    .hero-section button {
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .global-slider,
    .global-slider > div,
    .global-slider img {
        height: 36.11rem !important;
        min-height: 36.11rem !important;
        max-height: 36.11rem !important;
    }
    .hidden.lg\\:flex.gap-5 {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1.11rem;
        width: 100%;
    }

    .program-card-big {
        grid-row: 1 / 3;
        width: 100% !important;
        height: 29.94rem;
        min-width: auto !important;
        max-width: none !important;
        min-height: 29.94rem;
        max-height: 29.94rem;
    }

    .grid.grid-cols-2.grid-rows-2 {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 1.11rem;
        width: 100% !important;
    }

    .program-card-small {
        width: 100% !important;
        height: 14.39rem;
        min-width: auto !important;
        max-width: none !important;
        min-height: 14.39rem;
        max-height: 14.39rem;
    }

    .future-section-desktop {
        max-width: 100vw;
    }

    .section-title {
        margin-bottom: 2.67rem !important;
    }
}

.dropdown-button:focus,
.dropdown-button:active,
.dropdown-button:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: none !important;
}

.dropdown-button::selection {
    background: none !important;
}

.dropdown-button::-moz-selection {
    background: none !important;
}

.dropdown-button {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown:hover .dropdown-button svg {
    transform: rotate(180deg);
}

.dropdown.open .dropdown-menu {
    display: none;
}

.dropdown.open .dropdown-button svg {
    transform: none;
}

.hero-container {
    opacity: 0;
    transform: scale(0.95) translateY(20px);
}

.content-text {
    opacity: 0;
    transform: translateY(30px);
}

.hero-button {
    opacity: 0;
    transform: translateY(40px);
}


/* ================= КАРУСЕЛЬ ПАРТНЕРОВ ================= */

/* Основной контейнер карусели */
.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.carousel-container {
  width: 100%;
  height: 37.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= КАРУСЕЛЬ ПАРТНЕРОВ ================= */

/* Основной контейнер карусели */
.carousel-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 0;
}

.carousel-container {
  width: 100%;
  height: 37.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ================= КАРТОЧКИ ПАРТНЕРОВ ================= */

.partner-card {
  position: absolute;
  border-radius: 2px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow: hidden;
  padding: 2.5rem;
}

/* Позиции карточек */
.card-position-left {
  width: 35vw;
  height: 33.5rem;
  transform: translate(-50%, -50%) translateX(-40vw) scale(0.9);
  opacity: 0.8;
  z-index: 1;
}

.card-position-center {
  width: 60vw;
  height: 37.5rem;
  transform: translate(-50%, -50%) translateX(0) scale(1);
  opacity: 1;
  z-index: 10;
}

.card-position-right {
  width: 35vw;
  height: 33.5rem;
  transform: translate(-50%, -50%) translateX(40vw) scale(0.9);
  opacity: 0.8;
  z-index: 1;
}

.card-hidden {
  display: none;
}

/* ================= ЭЛЕМЕНТЫ КАРТОЧКИ ================= */

/* Градиентный оверлей */
.gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.7), rgba(255,255,255,0.1));
  transition: opacity 0.4s;
}

.partner-card:hover .gradient-overlay {
  background: linear-gradient(234deg, rgba(0, 0, 0, 0.00) 6.92%, #000 135.56%);
}

/* Логотип партнера */
.partner-logo {
  position: absolute;
  top: 2.5rem;
  left: 2.5rem;
  width: 7.875rem;
  height: 7.875rem;
  background: white;
  border-radius: 50%;
  padding: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 20;
  object-fit: contain;
}

/* ================= КОНТЕНТ КАРТОЧЕК ================= */

/* Обычный контент */
.content-normal {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  width: 600px;
  z-index: 20;
  transition: opacity 0.4s;
}

/* Контент при ховере */
.content-hover {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  width: 600px;
  z-index: 20;
  opacity: 0;
  transition: opacity 0.4s;
}

/* Интерактивность контента */
.partner-card:hover .content-normal {
  opacity: 0;
}

.partner-card:hover .content-hover {
  opacity: 1;
}

/* ================= ТИПОГРАФИКА ================= */

/* Заголовок партнера */
.partner-title {
  font-size: 46px;
  line-height: 120%;
  font-weight: 800;
  text-transform: uppercase;
  color: #2c2c2c;
}

/* Заголовок при ховере */
.partner-title-hover {
  font-size: 46px;
  line-height: 120%;
  font-weight: 800;
  text-transform: uppercase;
  color: white;
  margin-bottom: 0.75rem;
}

/* Описание партнера */
.partner-description {
  font-size: 24px;
  color: white;
  font-weight: 300;
}

/* ================= АДАПТИВНОСТЬ ================= */

/* Мобильные устройства */
@media (max-width: 767px) {
  .carousel-wrapper {
    display: none;
  }
}

/* Планшеты */
@media (min-width: 768px) and (max-width: 1023px) {
  .carousel-wrapper {
    margin-left: calc(-1 * var(--body-padding, 1.11rem));
    margin-right: calc(-1 * var(--body-padding, 1.11rem));
    width: calc(100% + 2 * var(--body-padding, 1.11rem));
  }

  /* Особое поведение для планшетов - контент ховера всегда видим */
  .content-normal {
    display: none !important;
  }

  .content-hover {
    opacity: 1 !important;
    display: block !important;
  }

  .partner-title-hover,
  .partner-description {
    color: #232323 !important;
  }

  .gradient-overlay {
    opacity: 0.7 !important;
  }
}

/* Десктопы - малые */
@media (min-width: 1024px) {
  .carousel-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .card-position-left {
    transform: translate(-50%, -50%) translateX(-50vw) scale(0.9);
  }

  .card-position-right {
    transform: translate(-50%, -50%) translateX(50vw) scale(0.9);
  }
}

/* Десктопы - средние (lg) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .partner-title-hover,
  .partner-description {
    color: #232323;
  }

  .card-position-left {
    width: 17.5vw;
    transform: translate(-50%, -50%) translateX(-50vw) scale(0.9);
  }

  .card-position-center {
    width: 60vw;
    height: 37.5rem;
  }

  .card-position-right {
    width: 17.5vw;
    transform: translate(-50%, -50%) translateX(50vw) scale(0.9);
  }
}

/* Десктопы - большие */
@media (max-width: 1600px) {
  .card-position-left {
    width: 75vw;
    transform: translate(-50%, -50%) translateX(-75vw) scale(0.85);
  }

  .card-position-center {
    width: 80vw;
  }

  .card-position-right {
    width: 75vw;
    transform: translate(-50%, -50%) translateX(75vw) scale(0.85);
  }
}

/* Кнопки навигации */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 30;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.nav-button:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 2rem;
}

.nav-button.next {
    right: 2rem;
}

.red-heading {
    color: #A42421;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
}

.align-right {
    float: right;
    text-align: right;
}

/* Комбинация */
.red-heading.align-right {
    color: #A42421;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    float: right;
    text-align: right;
}

@media (min-width: 768px) {
    .red-heading {
        font-size: 2.5rem;
    }
    .red-heading.align-right {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .red-heading {
        font-size: 3rem;
    }
    .red-heading.align-right {
        font-size: 3rem;
    }
}
        @media (min-width: 768px) {
            .timeline-item h3 {
                font-size: 2.5rem !important;
            }
        }

        @media (min-width: 1024px) {
            .timeline-item h3 {
                font-size: 3rem !important;
            }
        }