/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #1a1a2e;
  line-height: 1.6;
  background: #fff;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Colors */
:root {
  --blue-dark: #0a1628;
  --blue-mid: #0f2744;
  --blue-accent: #1e6fef;
  --blue-light: #3b8aff;
  --white: #ffffff;
  --gray-100: #f5f7fa;
  --gray-200: #e8ecf1;
  --text: #1a1a2e;
  --text-muted: #5a6a7a;
}
.row {
    width: 100%;
    display: flex;
}
.col-md-6 {
    width: 50%;
}
/* Header — yuqorida transparent (hero bilan bir xil), scroll da solid */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
.header.scrolled {
  background: #0a1628;
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-img { height: 38px; width: auto; }
.nav {
  display: flex;
  gap: 32px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-link:hover { color: #fff; }
.header-phone {
  text-align: right;
  color: #fff;
  font-size: 14px;
  flex-shrink: 0;
}
.phone-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #fff;
}
.hours { display: block; font-size: 11px; opacity: 0.7; margin-top: 2px; }
.header-actions {
  display: none;
  align-items: center;
  gap: 12px;
}
.header-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.35);
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}
.header-phone-icon:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

/* Hero — PC dizayn (w1) */
.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  background:
    linear-gradient(105deg,
      rgba(6, 18, 40, 0.97) 0%,
      rgba(8, 28, 58, 0.92) 35%,
      rgba(12, 40, 80, 0.75) 60%,
      rgba(15, 50, 95, 0.55) 100%),
    url('../images/back1.png') center center / cover no-repeat;
  color: #fff;
  padding-top: 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.hero-bg {
  display: none;
}
.hero-content {
  flex: 1;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 180px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: end;
  gap: 0;
}
.badge,
.badgedot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.95);
}
.badge-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}
.hero h1 {
  font-size: 56px;
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}
.hero h1 .highlight,
.highlight {
  display: block;
  font-size: 1.28em;
  font-weight: 800;
  letter-spacing: -0.6px;
  color: #fff;
}
.hero-desc {
  font-size: 15px;
  opacity: 0.9;
  max-width: 440px;
  margin-bottom: 26px;
  line-height: 1.65;
  color: rgba(255,255,255,0.92);
}
.hero-btns {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn svg {
  flex-shrink: 0;
}
.btn-arrow {
  margin-left: 2px;
  font-size: 1.2em;
  line-height: 1;
  opacity: 0.85;
}
/* Desktop: tugmalarda ikonka/strelka yashirish (PC dizayn) */
.btn svg,
.btn-arrow {
  display: none;
}
.btn-primary {
  background: #1e6fef;
  color: #fff;
}
.btn-primary:hover {
  background: #3b8aff;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
}
.btn-sm { padding: 10px 20px; font-size: 13px; }
.hero-text {
  padding-bottom: 180px;
  padding-right: 24px;
  z-index: 3;
}
.hero-image {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  min-height: 640px;
  z-index: 2;
}
.hero-girl {
  max-height: 720px;
  width: auto;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: bottom right;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.35));
  margin-bottom: 0;
}

/* Features bar — PC: gorizontal 4 ta */
.features-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(8, 22, 48, 0.85);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 18px 28px;
  margin-top: -130px;
  margin-bottom: 86px;
  position: relative;
  z-index: 7;
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.28);
  max-width: 640px;
  width: 100%;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  text-align: center;
  flex: 1;
}
.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.95);
}
.feature-icon svg {
  display: block;
  width: 26px;
  height: 26px;
}

/* Hero bottom wave — oval/ellipse white transition */
.hero-wave {
  position: absolute;
  left: 50%;
  bottom: -1px;
  transform: translateX(-50%);
  width: 140%;
  height: 72px;
  background: #fff;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  z-index: 6;
  pointer-events: none;
}
.hero {
  position: relative;
  overflow: hidden;
}

/* Centered section title (Nega Grant Ta'lim?) */
.section-title-center {
  text-align: center;
  margin-bottom: 36px;
}
.section-title-center h2 {
  font-size: 28px;
  font-weight: 800;
  color: #0a1628;
  margin: 0 0 12px;
  letter-spacing: -0.3px;
}
.title-underline {
  display: block;
  width: 48px;
  height: 4px;
  background: #1e6fef;
  border-radius: 2px;
  margin: 0 auto;
}

/* About */
.about {
  padding: 48px 0 80px;
  background: #fff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 50px;
}
.about h2 {
  font-size: 45px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.25;
}
.about h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}
.about p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 16px;
}
.about-photos {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 12px;
}
.team-main {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
  height: 100%;
  min-height: 320px;
}
.team-small {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.team-small img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  height: 185px;
}
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.value-card {
  /*background: #fff;*/
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.value-card:hover { transform: translateY(-4px); }
.value-icon { font-size: 32px; margin-bottom: 12px; }
.value-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.value-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

/* Universities */
.universities {
  padding: 80px 0;
  background: #fff;
}
.section-header {
  margin-bottom: 32px;
}
.section-header.center { text-align: center; }
.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  max-width: 560px;
  font-size: 15px;
}
.section-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--blue-accent);
  margin-bottom: 8px;
}
.filters {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.search-input, .filter-select {
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  min-width: 160px;
}
.search-input { flex: 1; min-width: 200px; }
/* Universities carousel */
.uni-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.uni-track-wrap {
  overflow: hidden;
  flex: 1;
}
.uni-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
  will-change: transform;
}
.uni-card {
  position: relative;
  flex: 0 0 calc(33.333% - 11px);
  min-width: 0;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.uni-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}
.uni-card:hover .uni-card-img {
  transform: scale(1.06);
}
.uni-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.uni-country {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #fff;
  background: rgba(10, 22, 40, 0.55);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.uni-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 48px 18px 18px;
  background: linear-gradient(
    to top,
    rgba(6, 18, 40, 0.92) 0%,
    rgba(6, 18, 40, 0.65) 45%,
    rgba(6, 18, 40, 0) 100%
  );
  display: flex;
  align-items: flex-end;
}
.uni-card-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.2px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
}

/* Carousel controls */
.carousel-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gray-200);
  background: #fff;
  color: var(--blue-dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  z-index: 2;
}
.carousel-btn:hover {
  background: var(--blue-accent);
  color: #fff;
  border-color: var(--blue-accent);
}
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.carousel-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: #c5cdd6;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s, transform 0.2s;
}
.carousel-dots button.active {
  background: var(--blue-accent);
  transform: scale(1.25);
}

/* News */
.news {
  padding: 80px 0;
  background: var(--gray-100);
}
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s;
}
.news-card:hover { transform: translateY(-3px); }
.news-card.large { grid-row: span 2; }
.news-img { position: relative; }
.news-img img { width: 100%; height: 200px; object-fit: cover; }
.news-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--blue-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.news-body { padding: 18px; }
.news-body time {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 8px;
}
.news-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.35;
}
.news-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}
.center { text-align: center; }

/* Testimonials */
.testimonials {
  padding: 80px 0;
  background: var(--blue-dark);
  color: #fff;
}
.testimonials-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}
.testimonials h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.2;
}
.collage-img {
  border-radius: 16px;
  max-height: 280px;
  object-fit: cover;
  width: 100%;
}
/* Testimonials carousel */
.testi-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}
.testi-track-wrap {
  overflow: hidden;
  flex: 1;
}
.testi-track {
  display: flex;
  gap: 16px;
  transition: transform 0.45s ease;
  will-change: transform;
}
.testi-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: background 0.2s, transform 0.2s;
  flex: 0 0 calc(33.333% - 11px);
  min-width: 0;
  cursor: pointer;
  text-align: left;
  color: #fff;
  font: inherit;
  width: auto;
}
.testi-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}
.testi-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.testi-info h4 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.testi-info p { font-size: 12px; opacity: 0.7; margin-bottom: 4px; }
.video-icon {
  font-size: 11px;
  color: var(--blue-light);
  font-weight: 500;
}
.testimonials .carousel-btn {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}
.testimonials .carousel-btn:hover {
  background: var(--blue-accent);
  border-color: var(--blue-accent);
}
.testimonials .carousel-dots button {
  background: rgba(255,255,255,0.3);
}
.testimonials .carousel-dots button.active {
  background: #fff;
}

/* Stats */
.stats {
  background: var(--blue-mid);
  padding: 32px 0;
}
.stats-inner {
  display: flex;
  justify-content: space-around;
  text-align: center;
  color: #fff;
}
.stat-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  min-height: 1.2em;
}
.stat-label {
  font-size: 13px;
  opacity: 0.85;
}

/* YouTube video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.video-modal[hidden] { display: none !important; }
.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  cursor: pointer;
}
.video-modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.video-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.video-modal-close:hover { background: rgba(0,0,0,0.8); }
.video-modal-body {
  position: relative;
  padding-top: 56.25%; /* 16:9 */
}
.video-modal-body iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact */
.contact {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--blue-dark) 0%, var(--blue-mid) 40%, #f5f7fa 40%);
}
.contact .section-header { color: #fff; margin-bottom: 40px; }
.contact .section-label { color: rgba(255,255,255,0.7); }
.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto 10px;
  background: rgba(10, 22, 40, 0.9);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,0.1);
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: flex; gap: 12px; }
.form-row input, .contact-form textarea {
  flex: 1;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
}
.form-row input::placeholder, .contact-form textarea::placeholder {
  color: rgba(255,255,255,0.5);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form .btn { width: 100%; margin-top: 8px; }
.contact-map {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  max-width:820px;
  margin:0 auto;
}
.yandex-map {
  width: 100%;
  min-height: 450px;
  line-height: 0;
  background: #e8ecf1;
}
.yandex-map > ymaps,
.yandex-map iframe {
  display: block;
  width: 100% !important;
  border: 0;
}
.contact-details {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

/* Footer */
.footer {
  background: var(--blue-dark);
  color: rgba(255,255,255,0.7);
  padding: 32px 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .logo-img { height: 28px; }
.footer-phone { color: #fff; font-weight: 600; }

/* Mobile phone bar */
.mobile-phone-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: #fff;
  border-top: 1px solid var(--gray-200);
  padding: 12px 20px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-phone-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 15px;
}
.mobile-phone-bar small {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

/* Hero title base (overridden in media queries) */
.hero-text h3 {
  color: #b5cce1;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
}
.hero-text h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.1px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
  .hero-image { min-height: 480px; }
  .hero-girl { max-height: 520px; }
  .hero-text { padding-bottom: 100px; }
  .hero h1 { font-size: 28px; }
  .features-bar {
    max-width: 480px;
    margin-top: -70px;
  }
  .about-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .uni-card { flex: 0 0 calc(50% - 8px); }
  .testi-card { flex: 0 0 calc(50% - 8px); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card.large { grid-row: span 1; }
  .testimonials-header { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav, .header-phone { display: none; }
  .header-actions { display: flex; }
  .menu-toggle { display: flex; }
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--blue-dark);
    padding: 20px;
    gap: 16px;
  }
  .hero {
    padding-top: 64px;
    min-height: auto;
    padding-bottom: 16px;
  }
  .hero-content {
    display: block;
    position: relative;
    min-height: 440px;
  }
  .hero-text {
    position: relative;
    z-index: 4;
    padding: 10px 42% 16px 0;
    max-width: 100%;
  }
  .hero h1 {
    font-size: 22px;
    line-height: 1.12;
    margin-bottom: 4px;
    letter-spacing: -0.4px;
  }
  .hero h1 .highlight,
  .highlight {
    display: block;
    font-size: 1.55em;
    letter-spacing: -0.6px;
    line-height: 1.05;
  }
  .hero-desc {
    font-size: 11.5px;
    margin-bottom: 14px;
    line-height: 1.5;
    max-width: 100%;
    opacity: 0.9;
  }
  .hero-btns {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
    max-width: 240px;
  }
  .hero-btns .btn {
    padding: 11px 14px;
    font-size: 11.5px;
    width: 100%;
    justify-content: flex-start;
    border-radius: 10px;
    white-space: nowrap;
  }
  .btn svg,
  .btn-arrow {
    display: inline-block;
  }
  .btn svg {
    width: 16px;
    height: 16px;
  }
  .hero-btns .btn .btn-arrow {
    margin-left: auto;
  }
  .badge,
  .badgedot {
    font-size: 10px;
    padding: 5px 12px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
  }
  .hero-image {
    position: absolute;
    right: -20px;
    top: 30px;
    bottom: 0;
    width: 55%;
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 2;
    pointer-events: none;
  }
  .hero-girl {
    max-height: 100%;
    height: auto;
    width: auto;
    max-width: 130%;
    object-fit: contain;
    object-position: bottom right;
  }
  .features-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    max-width: 100%;
    width: 100%;
    margin-top: 4px;
    margin-bottom: 78px;
    padding: 16px 14px;
    border-radius: 16px;
  }
  .hero-wave {
    height: 86px;
    width: 160%;
  }
  .section-title-center {
    margin-bottom: 28px;
  }
  .section-title-center h2 {
    font-size: 24px;
  }
  .feature-item {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    text-align: left;
    justify-content: flex-start;
  }
  .feature-item span {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
  }
  .feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
  }
  .feature-icon svg {
    width: 20px;
    height: 20px;
  }
  .values { grid-template-columns: 1fr 1fr; }
  .uni-card { flex: 0 0 calc(80% - 8px); height: 280px; }
  .uni-card-name { font-size: 15px; }
  .testi-card { flex: 0 0 calc(85% - 8px); }
  .carousel-btn { width: 34px; height: 34px; font-size: 18px; }
  .news-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
  .stats-inner { flex-wrap: wrap; gap: 16px; }
  .stat-item { flex: 1 1 40%; }
  .stat-num { font-size: 26px; }
  .mobile-phone-bar { display: block; }
  body { padding-bottom: 70px; }
  .section-header h2 { font-size: 24px; }
  .about, .universities, .news, .testimonials, .contact { padding: 50px 0; }
  .hero-text h2 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
  }
  .hero-text h3 {
    font-size: 12px;
    font-weight: 500;
    color: #b5cce1;
    margin-bottom: 2px;
  }
  .row { display: block; }
  .col-md-6 { width: 100%; }
  .about h2 {
    font-size: 25px;
    font-weight: 800;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 58px;
  }
  .hero-content {
    min-height: 400px;
  }
  .hero-text {
    padding-right: 40%;
  }
  .hero h1 {
    font-size: 20px;
  }
  .hero h1 .highlight,
  .highlight {
    font-size: 1.5em;
  }
  .hero-desc {
    font-size: 11px;
    line-height: 1.45;
  }
  .hero-btns {
    max-width: 220px;
  }
  .hero-btns .btn {
    font-size: 11px;
    padding: 10px 12px;
  }
  .badge, .badgedot {
    font-size: 9px;
    padding: 4px 10px;
  }
  .hero-image {
    width: 58%;
    right: -24px;
    top: 20px;
  }
  .features-bar {
    padding: 14px 12px;
    margin-top: 0;
    gap: 12px 6px;
  }
  .feature-item span {
    font-size: 11px;
  }
  .feature-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  .feature-icon svg {
    width: 18px;
    height: 18px;
  }
  .hero-text h2 {
    font-size: 13px;
  }
  .hero-text h3 {
    font-size: 11px;
  }
  .values {
    grid-template-columns: 1fr 1fr;
  }
  .value-card h4 {
    font-size: 15px;
  }
  .uni-card { flex: 0 0 88%; height: 260px; }
  .testi-card { flex: 0 0 92%; }
}

.value-icon svg{
	   fill: var(--blue-accent);
    width: 48px;
    height: 48px;		
}


/* ========== Inner pages (breadcrumb / page hero) ========== */
.page-hero {
  position: relative;
  padding: 140px 0 64px;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(6,18,40,0.88) 0%, rgba(10,22,40,0.75) 45%, rgba(15,39,68,0.65) 100%),
    url("../images/breadcrumb.jpg") center center / cover no-repeat;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48px;
  background: linear-gradient(to top, #0a1628, transparent);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.4px;
  line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.25);
}
.page-hero p { opacity: 0.9; max-width: 640px; margin-top: 12px; }

.breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2px;
  margin-bottom: 18px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.85);
}
.breadcrumb a {
  color: #fff;
  text-decoration: none;
  opacity: 0.95;
  transition: opacity 0.2s;
}
.breadcrumb a:hover { opacity: 1; text-decoration: underline; }
.breadcrumb .sep {
  opacity: 0.45;
  font-size: 11px;
  user-select: none;
}
.breadcrumb .current {
  color: #fff;
  opacity: 0.7;
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.page-content { padding: 48px 0 80px; background: #fff; }
.page-content h2 { font-size: 22px; margin: 28px 0 12px; color: #0a1628; }
.page-content p { color: #5a6a7a; line-height: 1.7; margin-bottom: 12px; }
.page-content a:not(.btn) { color: #1e6fef; }

.uni-detail-card {
  background: #f5f7fa;
  border-radius: 16px;
  padding: 28px;
  margin-top: 8px;
  border: 1px solid #e8ecf1;
}
.uni-detail-card .flag { font-size: 48px; margin-bottom: 12px; }

@media (max-width: 768px) {
  .page-hero { padding: 110px 0 48px; }
  .breadcrumb { font-size: 12px; padding: 6px 12px; gap: 6px; }
  .breadcrumb .current { max-width: 160px; }
}

.mt-20 { margin-top: 20px; }
.mt-24 { margin-top: 24px; }

/* Form status */
.form-status {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
}
.form-status.is-success { color: #4ade80; }
.form-status.is-error { color: #f87171; }
.contact-form .btn:disabled { opacity: 0.65; cursor: wait; }

/* University static grid (list page) */
.uni-grid-static {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.uni-grid-static .uni-card {
  flex: none;
  width: 100%;
  height: 300px;
}
.page-lead {
  color: #5a6a7a;
  font-size: 16px;
  max-width: 720px;
  margin-bottom: 8px;
  line-height: 1.65;
}

/* University detail */
.uni-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: start;
  margin-bottom: 48px;
}
.uni-detail-media {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}
.uni-detail-media img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}
.uni-detail-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(30,111,239,0.1);
  color: #1e6fef;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}
.uni-detail-body h2 {
  font-size: 26px;
  margin: 0 0 14px;
  color: #0a1628;
}
.uni-detail-points {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #5a6a7a;
  line-height: 1.8;
}
.uni-detail-extra h3 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #0a1628;
}
.values-3 {
  grid-template-columns: repeat(3, 1fr);
}
.values-3 .value-icon {
  font-size: 28px;
  line-height: 1;
}

/* Directions */
.dir-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 28px;
}
.dir-search {
  flex: 1;
  min-width: 220px;
  padding: 14px 18px;
  border: 1px solid #e8ecf1;
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.dir-search:focus {
  border-color: #1e6fef;
  box-shadow: 0 0 0 3px rgba(30,111,239,0.15);
}
.dir-count {
  font-size: 13px;
  color: #5a6a7a;
  font-weight: 500;
  white-space: nowrap;
}
.dir-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.dir-card {
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 14px;
  padding: 20px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  display: flex;
  flex-direction: column;
  min-height: 150px;
}
.dir-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(10,22,40,0.08);
  border-color: #c5d4f0;
}
.dir-code {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #1e6fef;
  background: rgba(30,111,239,0.08);
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.dir-title {
  font-size: 16px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 6px;
  line-height: 1.35;
}
.dir-sub {
  font-size: 13px;
  color: #8a97a8;
  margin: 0 0 14px;
  line-height: 1.4;
  flex: 1;
}
.dir-cta {
  font-size: 13px;
  font-weight: 600;
  color: #1e6fef;
  text-decoration: none;
}
.dir-cta:hover { text-decoration: underline; }
.dir-empty {
  text-align: center;
  color: #5a6a7a;
  padding: 40px 0;
}

/* Admissions steps */
.adm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 28px 0 40px;
  counter-reset: none;
}
.adm-step {
  position: relative;
  background: #fff;
  border: 1px solid #e8ecf1;
  border-radius: 16px;
  padding: 24px 20px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.adm-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10,22,40,0.08);
}
.adm-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e6fef, #3b8aff);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.adm-num {
  position: absolute;
  top: 20px;
  right: 18px;
  font-size: 28px;
  font-weight: 800;
  color: rgba(30,111,239,0.12);
  line-height: 1;
}
.adm-step h3 {
  font-size: 17px;
  font-weight: 700;
  color: #0a1628;
  margin: 0 0 8px;
}
.adm-step p {
  font-size: 14px;
  color: #5a6a7a;
  line-height: 1.55;
  margin: 0;
}
.adm-cta-box {
  background: linear-gradient(135deg, #0a1628, #0f2744);
  color: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
}
.adm-cta-box h3 {
  font-size: 24px;
  margin: 0 0 8px;
}
.adm-cta-box p {
  opacity: 0.85;
  margin: 0 0 20px;
}
.adm-cta-box .btn { margin: 0 6px 8px; }
.adm-cta-outline {
  color: #fff !important;
  border-color: rgba(255,255,255,0.45) !important;
}
.adm-cta-outline:hover {
  background: rgba(255,255,255,0.1) !important;
}

@media (max-width: 992px) {
  .uni-grid-static { grid-template-columns: repeat(2, 1fr); }
  .uni-detail-layout { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: repeat(2, 1fr); }
  .adm-steps { grid-template-columns: repeat(2, 1fr); }
  .values-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .uni-grid-static { grid-template-columns: 1fr; }
  .dir-grid { grid-template-columns: 1fr; }
  .adm-steps { grid-template-columns: 1fr; }
  .values-3 { grid-template-columns: 1fr; }
  .uni-detail-media img { height: 240px; }
}

.uni-detail-more {
  color: #5a6a7a;
  line-height: 1.75;
  font-size: 15px;
  margin: 0 0 8px;
}
.uni-detail-more + .uni-detail-points {
  margin-top: 20px;
}
.uni-detail-layout {
  margin-bottom: 40px;
}
.uni-detail-body {
  max-width: 640px;
}
