/* ========================================
   RESPONSIVE STYLES
   ======================================== */

/* Large screens */
@media (max-width: 1200px) {
  :root {
    --side-padding: 60px;
  }
  
  .header {
    padding: 0 60px;
  }
  
  .hero-content {
    padding: 0 60px;
    gap: 40px;
  }
  
  .hero-content__title {
    font-size: 50px;
    line-height: 56px;
    width: auto;
  }
  
  .hero-content__subtitle {
    font-size: 22px;
    width: auto;
  }
  
  .uni-hero__image {
    width: 400px;
  }
}

/* Medium screens */
@media (max-width: 992px) {
  :root {
    --side-padding: 30px;
  }
  
  .header {
    padding: 0 30px;
    flex-wrap: wrap;
  }
  
  .nav {
    gap: 20px;
  }
  
  .hero {
    height: 700px;
  }
  
  .hero-content {
    top: 450px;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0 30px;
  }
  
  .hero-content__title {
    font-size: 40px;
    line-height: 46px;
    text-align: center;
    width: 100%;
  }
  
  .hero-content__subtitle {
    text-align: center;
    margin-top: 0;
  }
  
  .hero-content .btn--cta {
    position: relative;
    top: auto;
    right: auto;
    margin-top: 20px;
  }
  
  .about__title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 30px;
  }
  
  .about .col-lg-6 {
    margin-bottom: 20px;
  }
  
  .news__grid,
  .leadership__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Ensure Swiper works on tablet */
  .news-swiper .swiper-slide,
  .announcements-swiper .swiper-slide,
  .leadership-swiper .swiper-slide,
  .professors-swiper .swiper-slide {
    width: auto;
  }
  
  .stats__container {
    gap: 40px;
    padding: 30px 40px;
  }
  
  .stats__number {
    font-size: 45px;
    line-height: 54px;
  }
  
  .footer__links {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 30px;
  }
  
  .partners__logos {
    justify-content: center;
  }
  
  /* University Page */
  .uni-hero__wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .uni-hero__left {
    max-width: 100%;
    text-align: center;
  }
  
  .uni-stats {
    justify-content: center;
  }
  
  .uni-hero__image {
    width: 100%;
    max-width: 500px;
  }
  
  .uni-info__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Directions Page */
  .directions--bachelor {
    margin-top: 149px;
    padding-top: 60px;
  }
  
  .directions__title {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 40px;
  }
  
  .directions__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  /* Direction Detail Page */
  .dir-detail-hero {
    margin-top: 100px;
    padding: 40px 0;
  }
  
  .dir-detail-hero__overlay {
    height: 180px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 13.06%, #000000 131.96%);
    border-radius: 0px 0px 28px 28px;
    padding: 60px 30px 25px;
  }
  
  .dir-detail-hero__body {
    padding: 0 35px 25px;
  }
  
  .dir-detail-hero__title {
    font-size: 40px;
    line-height: 48px;
  }
  
  .careers__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 35px 25px;
  }
  
  .careers__title,
  .dir-cta__title {
    font-size: 30px;
    line-height: 38px;
  }
  
  /* Rahbariyat Page */
  .rahbariyat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .rahbariyat-page__title {
    font-size: 36px;
    line-height: 44px;
    margin-bottom: 40px;
  }
  
  /* Leader Detail Page */
  .leader-hero__card {
    padding: 0;
  }

  .leader-hero__top {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .leader-hero__photo-wrapper {
    width: 100%;
    height: 330px;
    min-height: auto;
    border-radius: 30px 30px 0 0;
  }

  .leader-hero__info {
    align-items: center;
    text-align: center;
    padding: 40px 30px;
  }

  .leader-hero__name {
    font-size: 36px;
    line-height: 44px;
  }

  .leader-hero__position {
    font-size: 16px;
    line-height: 24px;
  }

  .leader-hero__stats {
    justify-content: center;
  }

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

/* Small screens */
@media (max-width: 768px) {
  .header {
    padding: 0 20px;
    height: auto;
    min-height: 80px;
  }
  
  .header__logo {
    width: 80px;
    height: 80px;
  }
  
  .nav {
    display: none;
  }
  
  .lang-switcher {
    margin-right: 10px;
  }
  
  .btn--login {
    margin-top: 0;
  }
  
  .hero {
    height: 600px;
  }
  
  .hero-content {
    top: 350px;
    padding: 0 20px;
  }
  
  .hero-content__title {
    font-size: 32px;
    line-height: 38px;
  }
  
  .hero-content__subtitle {
    font-size: 18px;
    line-height: 24px;
  }
  
  .btn__cta-text {
    font-size: 20px;
  }
  
  .btn--cta {
    width: 220px;
    height: 50px;
  }
  
  .about {
    padding: 50px 0;
  }
  
  .about__title {
    font-size: 28px;
    line-height: 36px;
  }
  
  .news,
  .leadership,
  .stats,
  .programs,
  .partners,
  .faq {
    padding: 40px 0;
  }
  
  .news__grid,
  .leadership__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .section-tabs {
    flex-wrap: wrap;
    gap: 15px;
  }
  
  .section-tabs__title {
    font-size: 22px;
  }
  
  /* Hide desktop Barchasi button on tablet and mobile */
  .section-tabs .btn--all {
    display: none;
  }
  
  /* Show mobile Barchasi button */
  .mobile-barchasi {
    display: flex !important;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
  }
  
  .mobile-barchasi .btn--all {
    display: flex !important;
    margin-left: 0;
    margin-right: 0;
  }
  
  .stats__container {
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
  }
  
  .stats__number {
    font-size: 40px;
    line-height: 48px;
  }
  
  .programs__tags {
    gap: 10px;
  }
  
  .tag {
    padding: 0 15px;
    height: 36px;
  }
  
  .partners__logos {
    gap: 20px;
  }
  
  .partners__logo {
    max-height: 80px;
    max-width: 80px;
  }
  
  .faq__title {
    font-size: 22px;
    white-space: normal;
    text-align: center;
  }
  
  .footer {
    padding: 30px 0;
  }
  
  .footer .row {
    flex-direction: column;
  }
  
  .footer__tagline {
    font-size: 22px;
    line-height: 28px;
  }
  
  .footer__links {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }
  
  /* University Page */
  .uni-hero {
    margin-top: 20px;
    padding: 30px 0 25px;
  }

  .uni-hero__title {
    font-size: 28px;
    line-height: 36px;
    margin-bottom: 18px;
  }

  .uni-hero__description {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 25px;
  }
  
  .uni-stats {
    flex-direction: column;
    gap: 15px;
    padding: 18px 20px;
  }
  
  .uni-stats__item {
    align-items: center;
  }
  
  .uni-stats__number {
    font-size: 32px;
    line-height: 40px;
  }

  .uni-stats__label {
    font-size: 13px;
    line-height: 17px;
  }

  .uni-hero__image {
    border-radius: 16px;
  }

  .uni-info {
    padding: 25px 0 50px;
  }

  .uni-info__text {
    font-size: 14px;
    line-height: 20px;
  }
  
  /* Directions Page */
  .directions {
    padding: 40px 0;
  }
  
  .directions--bachelor {
    margin-top: 20px;
    padding-top: 40px;
  }
  
  .directions--master {
    padding-bottom: 60px;
  }
  
  .directions__title {
    font-size: 26px;
    line-height: 34px;
    margin-bottom: 30px;
  }
  
  .direction-card__header {
    padding: 15px 20px;
    min-height: 60px;
  }
  
  .direction-card__title {
    font-size: 16px;
    line-height: 22px;
  }
  
  .direction-card__icon {
    font-size: 32px;
    margin-left: 12px;
    margin-top: -4px;
  }
  
  .direction-card__content-inner {
    padding: 0 20px 20px;
    font-size: 14px;
    line-height: 20px;
  }
  
  .direction-table__cell {
    padding: 10px 0;
    font-size: 16px;
  }
  
  .direction-table__label {
    padding-right: 15px;
  }
  
  .btn-detail {
    padding: 10px 18px 10px 42px;
    font-size: 16px;
  }
  
  .btn-detail__icon {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  
  .btn-detail__text {
    font-size: 16px;
    line-height: 20px;
  }
  
  /* Direction Detail Page */
  .dir-detail-hero {
    margin-top: 50px;
    padding: 30px 0;
  }
  
  .dir-detail-hero__top {
    height: 260px;
  }
  
  .dir-detail-hero__overlay {
    height: 150px;
    padding: 50px 25px 20px;
  }
  
  .dir-detail-hero__body {
    padding: 0 25px 20px;
  }
  
  .dir-detail-hero__title {
    font-size: 32px;
    line-height: 40px;
  }
  
  .dir-detail-hero__subtitle {
    font-size: 16px;
  }
  
  .dir-detail-table td {
    padding: 12px 20px;
    font-size: 16px;
  }
  
  .careers {
    padding: 40px 0 60px;
  }
  
  .careers__title {
    font-size: 26px;
    line-height: 34px;
    margin-bottom: 35px;
  }
  
  .careers__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .career-card {
    align-items: center;
    text-align: center;
  }
  
  .dir-cta {
    padding: 30px 0 60px;
  }
  
  .dir-cta__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 25px;
  }

  /* Article Detail Page */
  .article-detail {
    margin-top: 20px;
  }

  /* Application Form Page */
  .application-form {
    margin-top: 20px;
  }

  .application-form__card {
    padding: 30px 25px;
  }
  
  /* Rahbariyat Page */
  .rahbariyat-page {
    padding: 60px 0 40px;
    margin-top: 20px;
  }

  .rahbariyat-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .rahbariyat-page__title {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 35px;
  }
  
  /* Match yangiliklar cards on tablet */
  .rahbariyat-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  
  .rahbariyat-card__photo {
    width: 50%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  
  .rahbariyat-card__content {
    width: 50%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
  }
  
  .rahbariyat-card__name {
    font-size: 20px;
    line-height: 25px;
    padding: 0;
    margin: 0;
  }
  
  .rahbariyat-card__position {
    font-size: 14px;
    line-height: 20px;
    padding: 0;
    margin: 0;
    border-bottom: none;
  }
  
  .rahbariyat-card__info {
    display: none;
  }
  
  /* Leader Detail Page */
  .leader-hero {
    padding: 80px 0 40px;
  }

  .leader-hero__card {
    padding: 0;
    border-radius: 20px;
  }

  .leader-hero__photo-wrapper {
    width: 100%;
    height: 280px;
    min-height: auto;
    border-radius: 20px 20px 0 0;
  }

  .leader-hero__info {
    padding: 30px 20px;
  }

  .leader-hero__name {
    font-size: 30px;
    line-height: 38px;
  }

  .leader-hero__stats {
    flex-wrap: wrap;
    gap: 15px;
  }

  .leader-hero__stat {
    padding: 15px 20px;
    flex: 1 1 calc(33.33% - 10px);
    min-width: 100px;
    border-left: none;
    border-top: 1px solid #e0e0e0;
  }

  .leader-hero__stat:first-child {
    border-top: none;
  }

  .leader-hero__stat-number {
    font-size: 30px;
    line-height: 36px;
  }

  .leader-content {
    padding: 30px 0 60px;
  }

  .leader-section {
    margin-bottom: 26px;
  }

  .leader-section__title {
    font-size: 24px;
    line-height: 30px;
  }

  .timeline {
    gap: 25px;
  }
}

/* Extra small screens */
@media (max-width: 576px) {
  .hero-content__title {
    font-size: 26px;
    line-height: 32px;
  }
  
  .hero-content__subtitle {
    font-size: 16px;
  }
  
  .about__title {
    font-size: 24px;
    line-height: 32px;
  }
  
  .section-tabs__title {
    font-size: 18px;
  }
  
  .card__title,
  .card__name {
    font-size: 22px;
    line-height: 28px;
    padding: 15px 20px 0;
  }
  
  .card__excerpt,
  .card__position {
    padding: 12px 20px 20px;
  }
  
  .stats__number {
    font-size: 32px;
    line-height: 40px;
  }
  
  .partners__title {
    font-size: 22px;
  }
  
  .faq__question {
    font-size: 14px;
  }
  
  /* Directions Page */
  .directions__title {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 25px;
  }
  
  .direction-card__header {
    padding: 14px 18px;
    min-height: 55px;
  }
  
  .direction-card__title {
    font-size: 15px;
    line-height: 20px;
  }
  
  .direction-table__cell {
    padding: 8px 0;
    font-size: 14px;
  }
  
  .direction-table__label {
    padding-right: 10px;
  }
  
  .btn-detail {
    padding: 8px 16px 8px 38px;
    font-size: 15px;
    min-height: 38px;
  }
  
  .btn-detail__icon {
    width: 22px;
    height: 22px;
    font-size: 12px;
    left: 8px;
  }
  
  .btn-detail__text {
    font-size: 15px;
    line-height: 18px;
  }
  
  /* Direction Detail Page */
  .dir-detail-hero__top {
    height: 200px;
  }
  
  .dir-detail-hero__overlay {
    height: 120px;
    padding: 40px 20px 18px;
  }
  
  .dir-detail-hero__body {
    padding: 0 20px 18px;
  }
  
  .dir-detail-hero__title {
    font-size: 26px;
    line-height: 32px;
  }
  
  .dir-detail-hero__subtitle {
    font-size: 14px;
  }
  
  .dir-detail-table td {
    padding: 10px 15px;
    font-size: 14px;
    line-height: 20px;
  }
  
  .dir-detail-hero__note {
    font-size: 12px;
    line-height: 18px;
    margin-top: 15px;
  }
  
  .careers__title {
    font-size: 22px;
    line-height: 30px;
    margin-bottom: 30px;
  }
  
  .career-card__title {
    font-size: 18px;
    line-height: 24px;
  }
  
  .dir-cta__title {
    font-size: 20px;
    line-height: 28px;
  }
  
  /* University Page */
  .uni-hero {
    margin-top: 55px;
    padding: 25px 0 20px;
  }

  .uni-hero__title {
    font-size: 24px;
    line-height: 32px;
    margin-bottom: 15px;
  }

  .uni-hero__description {
    font-size: 13px;
    line-height: 19px;
    margin-bottom: 20px;
  }

  .uni-stats {
    gap: 12px;
    padding: 15px 18px;
    border-radius: 18px;
  }

  .uni-stats__number {
    font-size: 28px;
    line-height: 36px;
  }

  .uni-stats__label {
    font-size: 12px;
    line-height: 16px;
  }

  .uni-hero__image {
    border-radius: 14px;
  }

  .uni-info {
    padding: 20px 0 40px;
  }

  .uni-info__text {
    font-size: 13px;
    line-height: 19px;
  }

  /* Article Detail Page */
  .article-detail {
    margin-top: 20px;
  }

  /* Application Form Page */
  .application-form {
    margin-top: 20px;
  }

  .application-form__card {
    padding: 25px 20px;
  }

  /* Rahbariyat Page */
  .rahbariyat-page {
    padding: 40px 0 30px;
    margin-top: 50px;
  }
  
  .rahbariyat-page__title {
    font-size: 26px;
    line-height: 34px;
    margin-bottom: 30px;
  }
  
  /* Match design with 1:1 aspect ratio on mobile */
  .rahbariyat-card {
    display: flex;
    flex-direction: row;
    align-items: stretch;
  }
  
  .rahbariyat-card__photo {
    width: 50%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  
  .rahbariyat-card__content {
    width: 50%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
  }
  
  .rahbariyat-card__name {
    font-size: 18px;
    line-height: 24px;
    padding: 0;
    margin: 0;
  }
  
  .rahbariyat-card__position {
    font-size: 12px;
    line-height: 18px;
    padding: 0;
    margin: 0;
    border-bottom: none;
  }
  
  .rahbariyat-card__info {
    display: none;
  }
  
  .rahbariyat-card__detail {
    font-size: 12px;
    line-height: 18px;
  }
  
  /* Leader Detail Page */
  .leader-hero {
    padding: 70px 0 13px;
  }

  .leader-hero__card {
    padding: 0;
  }

  .leader-hero__photo-wrapper {
    width: 100%;
    height: 320px;
    min-height: auto;
    border-radius: 20px 20px 0 0;
  }

  .leader-hero__info {
    padding: 25px 15px;
  }

  .leader-hero__name {
    font-size: 26px;
    line-height: 34px;
  }

  .leader-hero__position {
    font-size: 15px;
    line-height: 22px;
  }

  .leader-hero__stats {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .leader-hero__stat {
    padding: 10px 12px;
    flex: 1 1 auto;
    min-width: 0;
    border-left: none;
  }

  .leader-hero__stat-number {
    font-size: 26px;
    line-height: 32px;
  }

  .leader-hero__stat-label {
    font-size: 12px;
    line-height: 16px;
  }

  .leader-content {
    padding: 13px 0 50px;
  }

  .leader-section {
    margin-bottom: 26px;
  }

  .leader-section--education,
  .leader-section--international {
    padding: 20px;
  }

  .leader-section__icon-wrapper {
    width: 35px;
    height: 35px;
    min-width: 35px;
    min-height: 35px;
  }

  .leader-section__icon {
    width: 18px;
    height: 18px;
  }

  /* Icon without wrapper for education section in mobile */
  .leader-section--education .leader-section__icon {
    width: 30px;
    height: 30px;
  }

  .leader-section__title {
    font-size: 22px;
    line-height: 28px;
  }

  .timeline {
    gap: 20px;
    padding-left: 15px;
  }

  .timeline__item {
    padding-left: 25px;
  }

  .timeline__item::before {
    left: -9px;
  }

  .timeline__marker {
    left: -16px;
    width: 14px;
    height: 14px;
  }

  .degree-card {
    padding: 20px;
  }

  .country-flags {
    gap: 10px;
  }

  .country-flag {
    padding: 12px 16px;
    min-width: 85px;
  }

  .country-flag .fi {
    font-size: 28px;
  }
}

/* ========================================
   MOBILE STYLES (max-width: 480px)
   Pixel-perfect mobile layout
   ======================================== */
@media (max-width: 480px) {
  /* Mobile Menu Button */
  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 101;
  }
  
  .mobile-menu-btn__line {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: var(--color-black);
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  /* Mobile Navigation Overlay */
  .mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-nav {
    position: absolute;
    top: 0;
    right: 0;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background-color: var(--color-white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
  }
  
  .mobile-nav-overlay.active .mobile-nav {
    transform: translateX(0);
  }
  
  .mobile-nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
  }
  
  .mobile-nav__logo {
    height: 50px;
    width: auto;
  }
  
  .mobile-nav__close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
  }
  
  .mobile-nav__close-bar {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background-color: var(--color-black);
    border-radius: 2px;
  }
  
  .mobile-nav__close-bar:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
  }
  
  .mobile-nav__close-bar:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
  }
  
  .mobile-nav__links {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    flex: 1;
  }
  
  .mobile-nav__link {
    display: block;
    padding: 15px 25px;
    font-family: var(--font-medium);
    font-weight: 500;
    font-size: 16px;
    color: var(--color-black);
    text-decoration: none;
    transition: all 0.2s ease;
  }
  
  .mobile-nav__link:hover,
  .mobile-nav__link:active {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
  }
  
  .mobile-nav__footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .mobile-nav__lang {
    display: flex;
    gap: 10px;
  }
  
  .mobile-nav__lang-option {
    padding: 8px 16px;
    font-family: var(--font-medium);
    font-weight: 500;
    font-size: 14px;
    color: var(--color-text);
    background-color: var(--color-bg-light);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  
  .mobile-nav__lang-option--active {
    background-color: var(--color-primary);
    color: var(--color-white);
  }
  
  .mobile-nav__login {
    width: 100%;
    justify-content: center;
  }
  
  /* Header Mobile - White background, fixed at top */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background-color: var(--color-white);
    z-index: 100;
  }
  
  .header .container {
    padding: 0 20px;
    gap: 0;
    justify-content: space-between;
  }
  
  /* Mobile shows dark logo */
  .header__logo--white {
    display: none;
  }
  
  .header__logo--dark {
    display: block;
  }
  
  .header__logo {
    width: auto;
    height: 44px;
  }
  
  .nav {
    display: none;
  }
  
  /* Language switcher visible on mobile */
  .lang-switcher {
    display: flex;
    margin-left: auto;
    margin-right: 10px;
  }
  
  .lang-switcher__icon {
    filter: brightness(0);
  }
  
  .lang-switcher__current {
    color: var(--color-black);
  }
  
  .btn--login {
    display: none;
  }
  
  /* Hero Mobile - starts below fixed header */
  .hero {
    margin-top: 80px;
    height: 415px;
    min-height: unset;
    max-height: unset;
  }
  
  .hero__background {
    width: 100%;
    height: 415px;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: 77% center;
  }
  
  .hero__gradient {
    height: 350px;
  }
  
  .hero__gradient-layer--bottom {
    height: 200px;
  }
  
  .hero__gradient-layer--full {
    height: 350px;
  }
  
  .hero__gradient-layer--mid {
    height: 280px;
  }
  
  /* Hero Content Mobile - left aligned at bottom */
  .hero-content {
    position: absolute;
    top: unset;
    bottom: 40px;
    left: 0;
    right: 0;
    padding: 0 20px;
  }
  
  .hero-content .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
  }
  
  .hero-content__left {
    display: none;
  }
  
  .hero-content__right {
    width: 100%;
    align-items: flex-start;
    gap: 5px;
  }
  
  .hero-content__title {
    width: 100%;
    font-size: 32px;
    line-height: 40px;
    text-align: left;
    order: 1;
  }
  
  .hero-content .btn--cta {
    order: 2;
    width: 170px;
    height: 42px;
    margin-top: 0;
  }
  
  .hero-content__subtitle--mobile {
    order: 3;
    width: 100%;
    font-size: 16px;
    line-height: 22px;
    text-align: left;
    margin-top: 5px;
  }
  
  .btn__cta-text {
    font-size: 15px;
    margin-left: 20px;
  }
  
  .btn__cta-circle {
    width: 28px;
    height: 28px;
    left: 6px;
  }
  
  .btn__cta-dot {
    width: 9px;
    height: 9px;
  }
  
  /* About Section Mobile */
  .about {
    padding: 35px 0;
  }
  
  .about .container {
    padding: 0 16px;
  }
  
  .about .row {
    flex-direction: column;
  }
  
  .about .col-lg-6 {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  
  .about__title {
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 15px;
  }
  
  .about__description {
    font-size: 14px;
    line-height: 21px;
  }
  
  .btn--secondary {
    margin-top: 15px;
  }
  
  /* News Section Mobile */
  .news {
    padding: 30px 0;
  }
  
  .news .container {
    padding: 0 16px;
  }
  
  .news .section-tabs {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
  }
  
  .section-tabs__title {
    font-size: 20px;
    line-height: 24px;
    font-weight: 500;
    white-space: nowrap;
  }
  
  .section-tabs__title--inactive {
    font-size: 18px;
  }
  
  .section-line {
    margin-bottom: 20px;
  }
  
  /* Disable slider on mobile - use static layout */
  .news .splide,
  .leadership .splide {
    margin-top: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  .news .splide__track,
  .leadership .splide__track {
    overflow: visible !important;
    width: 100% !important;
  }
  
  .news .splide__list,
  .leadership .splide__list {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    transform: none !important;
    width: 100% !important;
    transition: none !important;
  }
  
  .news .splide__slide,
  .leadership .splide__slide {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
  
  /* News cards - wrap link and position content */
  .splide__slide-link {
    width: 100%;
    text-decoration: none;
  }
  
  /* News card mobile styling - matching design */
  .card--news {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: 140px !important;
    height: auto !important;
    border-radius: 80px 20px 20px 80px !important;
    padding: 20px 15px 20px 145px !important;
    background-color: var(--color-bg-light) !important;
    border: none !important;
    overflow: visible !important;
    box-shadow: none !important;
  }
  
  /* Remove hover effects on mobile */
  .card-link--news:hover .card--news,
  .card-link--news:hover .card--leader {
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* Circular image on mobile - full height */
  .card__image {
    position: absolute !important;
    left: -5px !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: auto !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    min-width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    z-index: 1 !important;
  }
  
  /* Title and excerpt stacked vertically */
  .card__title {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    width: 100% !important;
    font-size: 16px !important;
    line-height: 22px !important;
    padding: 0 !important;
    margin-bottom: 6px !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  .card__excerpt {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    width: 100% !important;
    font-size: 12px !important;
    line-height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  /* Alternating layout - image right */
  .splide__slide:nth-child(2n) .card--news {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px 145px 20px 15px !important;
    border-radius: 20px 80px 80px 20px !important;
  }
  
  .splide__slide:nth-child(2n) .card__image {
    left: auto !important;
    right: -5px !important;
  }
  
  .news__arrows {
    display: none;
  }
  
  /* Mobile Barchasi button - MUST be visible and centered */
  .mobile-barchasi {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 25px !important;
    padding-bottom: 10px !important;
  }
  
  .mobile-barchasi .btn--all {
    display: flex !important;
    box-shadow: none !important;
  }
  
  .mobile-barchasi .btn--all:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* Barchasi button for mobile - visible after section */
  .news__btn-mobile,
  .leadership__btn-mobile {
    display: flex;
    justify-content: center;
    margin-top: 20px;
  }
  
  /* Leadership Section Mobile */
  .leadership {
    padding: 30px 0;
  }
  
  .leadership .container {
    padding: 0 16px;
  }
  
  .leadership .section-tabs {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 15px;
  }
  
  .section-tabs__title--professors {
    font-size: 14px !important;
    line-height: 18px;
  }
  
  /* Leadership cards - match news cards horizontal layout */
  .card--leader {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    min-height: 140px !important;
    height: auto !important;
    border-radius: 80px 20px 20px 80px !important;
    padding: 20px 15px 20px 145px !important;
    background-color: var(--color-bg-light) !important;
    border: none !important;
    overflow: visible !important;
    box-shadow: none !important;
    transition: none !important;
  }
  
  .card--leader:hover {
    transform: none !important;
    box-shadow: none !important;
  }
  
  /* Circular photo on mobile - full height */
  .card__photo,
  .card__photo--first,
  .card__photo--alt {
    position: absolute !important;
    left: -5px !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    width: auto !important;
    height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    min-width: auto !important;
    max-width: none !important;
    flex-shrink: 0 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    z-index: 1 !important;
  }
  
  .card__name {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    width: 100% !important;
    font-size: 16px !important;
    line-height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    margin-bottom: 6px !important;
    -webkit-line-clamp: 2 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  .card__position {
    display: -webkit-box !important;
    -webkit-box-orient: vertical !important;
    width: 100% !important;
    font-size: 12px !important;
    line-height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-line-clamp: 3 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    position: relative !important;
    z-index: 2 !important;
  }
  
  /* Alternating layout - photo right */
  .splide__slide:nth-child(2n) .card--leader {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px 145px 20px 15px !important;
    border-radius: 20px 80px 80px 20px !important;
  }
  
  .splide__slide:nth-child(2n) .card__photo,
  .splide__slide:nth-child(2n) .card__photo--first,
  .splide__slide:nth-child(2n) .card__photo--alt {
    left: auto !important;
    right: -5px !important;
  }
  
  .leadership__arrows {
    display: none;
  }
  
  /* Stats Section Mobile */
  .stats {
    padding: 30px 0;
  }
  
  .stats .container {
    padding: 0 16px;
  }
  
  .stats__container {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    padding: 25px 20px;
    border-radius: 20px;
  }
  
  .stats__item {
    align-items: center;
    gap: 5px;
  }
  
  .stats__number {
    font-size: 28px;
    line-height: 34px;
  }
  
  .stats__number--mid {
    font-size: 28px;
    line-height: 34px;
  }
  
  .stats__number--small {
    font-size: 28px;
    line-height: 34px;
  }
  
  .stats__label {
    font-size: 12px;
    line-height: 15px;
    margin-left: 0;
  }
  
  /* Programs Section Mobile */
  .programs {
    padding: 30px 0;
  }
  
  .programs .container {
    padding: 0 16px;
  }
  
  /* Remove tab functionality on mobile - show sections as separate rows */
  .programs .section-tabs {
    display: none;
  }
  
  .programs .section-line {
    display: none;
  }
  
  /* Show all tab content on mobile (remove Bootstrap tab behavior) */
  .programs .tab-content {
    display: block;
  }
  
  .programs .tab-pane {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    margin-bottom: 30px;
  }
  
  /* Add section titles directly in the content */
  .programs .tab-pane::before {
    content: attr(data-title);
    display: block;
    font-family: var(--font-semibold);
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-black);
    margin-bottom: 15px;
  }
  
  .programs__tab-title {
    display: block;
    font-family: var(--font-semibold);
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: var(--color-black);
    margin-bottom: 15px;
    text-align: left;
  }
  
  .programs__tags {
    gap: 10px;
    margin-top: 0;
  }
  
  .tag {
    height: 36px;
    padding: 0 14px;
    border-radius: 18px;
  }
  
  .tag__text {
    font-size: 14px;
  }
  
  /* Partners Section Mobile */
  .partners {
    padding: 30px 0;
  }
  
  .partners .container {
    padding: 0 16px;
  }
  
  .partners__title {
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  
  /* Adjust slider for mobile */
  #partners-slider .splide__slide {
    height: 80px;
  }
  
  .partners__logo {
    max-height: 60px;
    max-width: 70px;
  }
  
  .partners__logo--tdpu {
    width: 60px;
    height: 60px;
  }
  
  .partners__logo--nantong {
    width: 55px;
    height: 60px;
  }
  
  .partners__logo--grand-talim {
    width: 70px;
    height: 70px;
  }
  
  .partners__logo--islom {
    width: 60px;
    height: 60px;
  }
  
  .partners__logo--grand-maktab {
    width: 70px;
    height: 55px;
  }
  
  .partners__logo--nankin {
    width: 50px;
    height: 60px;
  }
  
  /* FAQ Section Mobile */
  .faq {
    padding: 30px 0;
  }
  
  .faq .container {
    padding: 0 16px;
    gap: 12px;
  }
  
  .faq__title {
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    white-space: normal;
    margin-bottom: 5px;
  }
  
  .faq__header {
    padding: 14px 0;
  }
  
  .faq__question {
    font-size: 14px;
    line-height: 20px;
    padding-right: 10px;
  }
  
  .faq__toggle {
    width: 20px;
    height: 20px;
  }
  
  .faq__answer-text {
    padding: 15px;
    font-size: 13px;
    line-height: 20px;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 30px 0;
  }
  
  .footer .container {
    padding: 0 16px;
  }
  
  .footer .row {
    flex-direction: column;
    gap: 30px;
  }
  
  .footer .col-lg-4,
  .footer .col-lg-8 {
    width: 100%;
    max-width: 100%;
    flex: none;
  }
  
  .footer__logo {
    width: 150px;
  }
  
  .footer__tagline {
    font-size: 20px;
    line-height: 26px;
    margin-top: 15px;
  }
  
  .footer__socials {
    margin-top: 15px;
    padding-bottom: 0;
    gap: 10px;
  }
  
  .social {
    padding: 8px 14px;
    gap: 6px;
  }
  
  .social__text {
    font-size: 14px;
  }
  
  .footer__links {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 0;
  }
  
  .footer__heading {
    font-size: 15px;
    margin-bottom: 8px;
  }
  
  .footer__link {
    font-size: 14px;
  }
  
  .footer__contact {
    font-size: 14px;
    line-height: 20px;
  }
  
  .footer__address {
    font-size: 14px;
    line-height: 20px;
  }
}
