/* ============================================================
   GSA — Globe Safety Alliance | style.css
   Light Theme + Three.js Sphere + Parallax
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Syne:wght@700;800&display=swap');

/* ─── TOKENS ───────────────────────────────────────────────── */
:root {
  --navy: #041C3D;
  --navy-dark: #020F1E;
  --navy-light: #0A3566;
  --blue: #2E75B6;
  --blue-light: #E4EDF6;
  --sky: #5DADE2;
  --steel: #7F8C8D;
  --steel-light: #B2BABB;
  --white: #FFFFFF;
  --off-white: #EBEDEC;
  --bg-alt: #EBEDEC;
  --text-dark: #041C3D;
  --text-body: #2D3748;
  --text-muted: #64748B;
  --border: #D8DFE8;
  --green: #27AE60;

  --shadow-sm: 0 1px 3px rgba(31, 78, 120, .08);
  --shadow-md: 0 4px 24px rgba(31, 78, 120, .12);
  --shadow-lg: 0 12px 48px rgba(31, 78, 120, .18);
  --shadow-xl: 0 24px 80px rgba(31, 78, 120, .22);

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --t: all .3s var(--ease);

  --font: 'Inter', Arial, sans-serif;
  --font-d: 'Syne', 'Inter', Arial, sans-serif;
}

/* ─── RESET ────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--off-white);
}

::-webkit-scrollbar-thumb {
  background: var(--navy-light);
  border-radius: 3px;
}

/* ─── TYPE ─────────────────────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--font-d);
  color: var(--text-dark);
  line-height: 1.14;
  letter-spacing: -.025em;
}

h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 700;
}

p {
  font-size: .97rem;
  line-height: 1.75;
}

.label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 10px;
}

.label::before {
  content: '';
  width: 16px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* ─── LAYOUT ───────────────────────────────────────────────── */
.wrap {
  max-width: 100%;
  margin: 0;
  padding: 0 80px;
}

.pad {
  padding: 88px 0;
}

.pad-sm {
  padding: 56px 0;
}

.center {
  text-align: center;
}

.center .label {
  justify-content: center;
}

.g2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.g4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .wrap {
    padding: 0 16px;
  }
  .pad {
    padding: 52px 0;
  }
  .pad-sm {
    padding: 36px 0;
  }
  .g2, .g3, .g4 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 12px;
  }
}

/* ─── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .01em;
  transition: var(--t);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .1);
  opacity: 0;
  transition: opacity .25s;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(31, 78, 120, .3);
}

.btn-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 78, 120, .38);
}

.btn-accent {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(46, 117, 182, .3);
}

.btn-accent:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 117, 182, .38);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .4);
  backdrop-filter: blur(6px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, .22);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 32px;
  font-size: .97rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: .82rem;
}

/* ─── NAVBAR ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 80px;
  background: #ffffff;
  box-shadow: 0 1px 0 var(--border), 0 4px 20px rgba(4, 28, 61, .07);
  transition: var(--t);
}

.navbar.scrolled {
  padding: 16px 80px;
}

.nav-inner {
  max-width: 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-d);
  font-size: .85rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.02em;
}

.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-logo-name {
  font-family: var(--font-d);
  font-weight: 800;
  font-size: .95rem;
  color: var(--navy);
}

.nav-logo-tag {
  font-size: .6rem;
  font-weight: 600;
  color: var(--steel);
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Hero is now light — navbar always shows dark links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  padding: 8px 15px;
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: 6px;
  transition: var(--t);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--navy);
  background: var(--blue-light);
}

.nav-cta {
  background: var(--blue);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .9rem;
}

.nav-cta:hover {
  background: var(--navy) !important;
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  z-index: 1100;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--t);
}

/* ── Mobile Menu — full-screen overlay ── */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  z-index: 1050;
  padding-top: 68px; /* navbar height */
  display: none;
  flex-direction: column;
  gap: 0;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(4,28,61,.15);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu .nav-link {
  font-size: 1.05rem;
  font-weight: 600;
  padding: 15px 16px;
  border-radius: 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  display: block;
  width: 100%;
}

.mobile-menu .nav-link:hover {
  background: var(--blue-light);
  color: var(--navy);
  padding-left: 24px;
}

/* Mobile lang links inside mobile menu */
.mobile-menu-lang {
  display: flex;
  gap: 8px;
  padding: 16px 16px 0;
  margin-top: auto;
  flex-wrap: wrap;
}

.mobile-menu-lang a {
  padding: 7px 18px;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  transition: var(--t);
}

.mobile-menu-lang a:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* ── Mobile menu groups ── */
.mob-group {
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  margin-bottom: 0;
}

.mob-group:last-of-type {
  border-bottom: none;
}

.mob-group-title {
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 14px 16px 6px;
}

.mob-group .nav-link {
  padding: 11px 16px 11px 20px;
  font-size: .95rem;
}

/* ─── DROPDOWN MENU ─────────────────────────────────────────── */
.nav-item {
  position: relative;
  list-style: none;
}

.nav-drop-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
}

.drop-arrow {
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-item.has-dropdown:hover .drop-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: 0 8px 32px rgba(4, 28, 61, 0.13), 0 2px 8px rgba(4, 28, 61, 0.07);
  min-width: 190px;
  padding: 8px;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), visibility 0.22s;
}

/* Dropdown ochilish uchun "ko'prik" — hover uzilmasin */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-item.has-dropdown:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-body);
  border-radius: var(--r-sm);
  transition: background 0.18s, color 0.18s, padding-left 0.18s;
  white-space: nowrap;
}

.nav-drop-item:hover {
  background: var(--blue-light);
  color: var(--navy);
  padding-left: 18px;
}

/* ─── LANG DROPDOWN — nav-drop-item tugmalar uchun ─────────── */
button.nav-drop-item {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font);
  cursor: pointer;
}

button.nav-drop-item.active {
  color: var(--blue);
  font-weight: 600;
  background: var(--blue-light);
}

/* Divider — har qatorlar orasida yupqa chiziq */
.nav-drop-item+.nav-drop-item {
  border-top: 1px solid rgba(4, 28, 61, 0.05);
}

/* ─── MOBILE: dropdown yopiq qolsin ────────────────────────── */
@media (max-width: 900px) {
  .nav-dropdown {
    display: none !important;
  }

  .drop-arrow {
    display: none;
  }
}

/* ── Responsive Navbar ── */
@media (max-width: 900px) {
  .navbar {
    padding: 0 20px;
  }
  .navbar.scrolled {
    padding: 0 20px;
  }
  .nav-inner {
    height: 60px;
  }
  .nav-links {
    display: none !important;
  }
  .nav-burger {
    display: flex !important;
  }
  /* Mobile menu opens below navbar */
  .mobile-menu {
    top: 60px;
    padding: 8px 0 40px 0;
  }
}

@media (max-width: 520px) {
  .navbar {
    padding: 0 14px;
  }
  .nav-inner {
    height: 56px;
  }
  .nav-logo img {
    width: 60px !important;
  }
  .nav-logo-text span:first-child {
    font-size: 1rem !important;
  }
  .nav-logo-text span:last-child {
    font-size: 1rem !important;
  }
  .mobile-menu {
    top: 56px;
  }
}


/* ─── HERO — CAROUSEL ───────────────────────────────────────── */
#hero {
  position: relative;
  min-height: calc(100vh - 96px);
  margin-top: 96px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}

.hero-carousel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.08);
  }
}

.hero-slide.active .hero-bg,
.hero-slide.prev-active .hero-bg {
  animation: heroZoom 16.2s linear forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(4, 31, 65, 0.92) 0%, rgba(4, 31, 65, 0.78) 40%, rgba(4, 31, 65, 0.35) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0;
  padding: 80px 80px 60px;
  width: 100%;
  font-family: "Avenir Next W01", sans-serif;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 100px;
  padding: 5px 14px 5px 6px;
  margin-bottom: 24px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--navy);
}

.hero-eyebrow-dot {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--green), #2ECC71);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.hero-h1 {
  font-family: "Avenir Next W01", sans-serif;
  font-size: clamp(1.4rem, 4vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25em;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  max-width: 850px;
}

.hero-h1 em {
  font-style: normal;
  color: var(--sky);
}

.hero-sub {
  font-family: "Avenir Next W01", sans-serif;
  font-size: clamp(.88rem, 2vw, 1.1rem);
  color: rgba(255,255,255,.9);
  line-height: 1.75em;
  max-width: 680px;
  margin-bottom: 32px;
}

/* ── Hero Responsive ── */
@media (max-width: 900px) {
  #hero {
    margin-top: 60px;
    min-height: calc(100vh - 60px);
  }
  .hero-content {
    padding: 48px 24px 48px;
  }
  .hero-overlay {
    background: rgba(4, 31, 65, 0.82);
  }
}

@media (max-width: 600px) {
  #hero {
    margin-top: 56px;
    min-height: 90svh;
  }
  .hero-content {
    padding: 32px 16px 40px;
  }
  .hero-h1 {
    font-size: clamp(1.3rem, 6vw, 1.75rem);
    line-height: 1.3;
  }
  .hero-sub {
    font-size: .88rem;
    line-height: 1.65;
  }
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.hstat {
  padding: 0 36px 0 0;
  margin-right: 36px;
  border-right: 1px solid var(--border);
}

.hstat:last-child {
  border-right: none;
}

.hstat-n {
  font-family: var(--font-d);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.hstat-n .u {
  color: var(--blue);
}

.hstat-l {
  font-size: .7rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(4, 28, 61, .28);
  font-size: .65rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0)
  }

  50% {
    transform: translateX(-50%) translateY(8px)
  }
}

/* ─── CLIENTS STRIP ─────────────────────────────────────────── */
#clients {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.clients-row {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.clients-lbl {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--steel-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.clients-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.cl {
  display: flex;
  align-items: center;
  gap: 9px;
  opacity: .42;
  filter: grayscale(1);
  transition: var(--t);
}

.cl:hover {
  opacity: .9;
  filter: grayscale(0);
}

.cl-box {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: .82rem;
  color: #fff;
}

.cl-name {
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-dark);
}

/* ─── WHY GSA ───────────────────────────────────────────────── */
#why-gsa {
  background: var(--off-white);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.why-card {
  background: #fff;
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--t);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}

.why-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.why-text {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.why-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 5px 12px;
  background: var(--blue-light);
  border-radius: 100px;
  font-size: .76rem;
  font-weight: 700;
  color: var(--navy);
}

.why-badge .dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
}

/* ─── PARALLAX SECTION — CSS Fixed Background ──────────────── */
.parallax-section {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  /* No overflow:hidden — lets fixed background render correctly */
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4, 28, 61, .82) 0%, rgba(4, 28, 61, .60) 100%);
}

.parallax-content {
  position: relative;
  z-index: 2;
  max-width: 100%;
  margin: 0;
  padding: 0 80px;
  width: 100%;
}

.parallax-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}

.parallax-h2 {
  font-family: var(--font-d);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  margin-bottom: 14px;
  max-width: 680px;
}

.parallax-p {
  font-size: .95rem;
  color: rgba(255, 255, 255, .72);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.parallax-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.pstat-n {
  font-family: var(--font-d);
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.pstat-n .u {
  color: var(--sky);
}

.pstat-l {
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 4px;
}

/* CSS Fixed Parallax — image stays fixed while content scrolls over it */
.parallax-wah {
  background-image: url('../images/wp9220766.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-safety {
  background-image: url('../images/105355.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.parallax-results {
  background-image: url('../images/engi.jpg');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Mobile fallback — iOS doesn't support background-attachment:fixed */
@media (max-width: 768px) {

  .parallax-wah,
  .parallax-safety,
  .parallax-results {
    background-attachment: scroll;
  }
}

/* Decorative industrial SVG elements on parallax */
.parallax-deco {
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  opacity: .07;
  pointer-events: none;
}

/* ─── ERMEK ─────────────────────────────────────────────────── */
#ermek {
  background: #fff;
}

.ermek-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 64px;
  align-items: start;
}

.ermek-card {
  background: var(--off-white);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
}

.ermek-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: url('images/ermek.png') center top / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: rgba(255, 255, 255, .35);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.ermek-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 40%, rgba(93, 173, 226, .2) 0%, transparent 70%);
}

.ermek-photo svg {
  width: 72px;
  height: 72px;
  position: relative;
  z-index: 1;
}

.ermek-photo span {
  position: relative;
  z-index: 1;
}

/* Icon grid decorations inside photo */
.ermek-photo-grid {
  position: absolute;
  inset: 0;
  opacity: .06;
  background-image:
    linear-gradient(rgba(255, 255, 255, .5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .5) 1px, transparent 1px);
  background-size: 32px 32px;
}

.ermek-info {
  padding: 22px;
}

.ermek-name {
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.ermek-role {
  font-size: .82rem;
  color: var(--steel);
  margin-bottom: 14px;
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.cert {
  padding: 3px 9px;
  background: var(--blue-light);
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .03em;
}

.ermek-h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.ermek-sub {
  font-size: .92rem;
  color: var(--steel);
  margin-bottom: 28px;
}

.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  margin-bottom: 28px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 18px;
  top: 22px;
  bottom: 22px;
  width: 1px;
  background: var(--border);
}

.tl-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 13px 0;
}

.tl-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue-light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 800;
  z-index: 1;
}

.tl-item.act .tl-dot {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.tl-period {
  font-size: .7rem;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.tl-role {
  font-weight: 700;
  color: var(--text-dark);
  font-size: .9rem;
  margin-bottom: 2px;
}

.tl-co {
  font-size: .84rem;
  color: var(--text-muted);
}

.member-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.member-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 16px;
  background: var(--off-white);
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
}

.member-icon {
  width: 32px;
  height: 32px;
  background: var(--navy);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.member-title {
  font-weight: 700;
  font-size: .86rem;
  color: var(--text-dark);
}

.member-sub {
  font-size: .74rem;
  color: var(--steel);
}

.video-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.video-ph {
  background: linear-gradient(160deg, #060F1C 0%, #1F4E78 100%);
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.video-ph::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, .015) 0, rgba(255, 255, 255, .015) 1px, transparent 1px, transparent 28px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .015) 0, rgba(255, 255, 255, .015) 1px, transparent 1px, transparent 28px);
}

.play-btn {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, .92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .35);
  transition: transform .3s;
  color: var(--navy);
}

.video-ph:hover .play-btn {
  transform: scale(1.1);
}

.video-ttl {
  color: #fff;
  font-weight: 600;
  font-size: .88rem;
  text-align: center;
  padding: 0 24px;
}

.video-dur {
  font-size: .7rem;
  color: rgba(255, 255, 255, .4);
  letter-spacing: .06em;
}

/* ─── PROGRAMS ──────────────────────────────────────────────── */
#programs {
  background: var(--bg-alt);
}

.tabs-nav {
  display: inline-flex;
  background: #fff;
  border-radius: var(--r-sm);
  padding: 3px;
  border: 1px solid var(--border);
  margin-bottom: 40px;
  box-shadow: var(--shadow-sm);
}

.tab-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: var(--t);
  display: flex;
  align-items: center;
  gap: 7px;
}

.tab-btn.active {
  background: var(--navy);
  color: #fff;
}

.tab-btn:hover:not(.active) {
  background: var(--off-white);
  color: var(--navy);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.prog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.prog-card {
  background: #fff;
  border-radius: var(--r-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}

.prog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.prog-head {
  padding: 22px 22px 0;
}

.prog-tag {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--blue-light);
  color: var(--navy);
  margin-bottom: 10px;
}

.prog-tag.hot {
  background: #FEF3C7;
  color: #D97706;
}

.prog-tag.feat {
  background: var(--navy);
  color: #fff;
}

.prog-name {
  font-size: .98rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.28;
}

.prog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.prog-meta-i {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: .76rem;
  color: var(--text-muted);
}

.prog-body {
  padding: 14px 22px;
  flex: 1;
}

.prog-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.prog-foot {
  padding: 18px 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.prog-price {
  font-family: var(--font-d);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
}

.prog-price span {
  font-size: .72rem;
  font-weight: 500;
  color: var(--steel);
  font-family: var(--font);
}

.discount-box {
  background: linear-gradient(135deg, #EBF3FB, #D1E8F8);
  border: 1px solid #B8D9F2;
  border-radius: var(--r-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.discount-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.discount-items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discount-item {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  background: #fff;
  border-radius: 100px;
  border: 1px solid #B8D9F2;
  font-size: .79rem;
  font-weight: 600;
  color: var(--navy);
}

.discount-pct {
  background: var(--navy);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .76rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* Schedule table */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
}

table.sched {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 680px;
}

.sched th {
  background: var(--navy);
  color: #fff;
  padding: 12px 18px;
  text-align: left;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.sched td {
  padding: 14px 18px;
  font-size: .88rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.sched tr:last-child td {
  border-bottom: none;
}

.sched tr:hover td {
  background: var(--off-white);
}

.sbadge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: .7rem;
  font-weight: 700;
}

.sbadge.open {
  background: #D1FAE5;
  color: #065F46;
}

.sbadge.fill {
  background: #FEF3C7;
  color: #92400E;
}

/* ─── RESULTS ───────────────────────────────────────────────── */
#results {
  background: var(--navy);
}

#results .label {
  color: var(--sky);
}

#results .label::before {
  background: var(--sky);
}

#results h2 {
  color: #fff;
}

#results>.wrap>.section-header p {
  color: rgba(255, 255, 255, .6);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 56px;
  background: rgba(255, 255, 255, .07);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.sstat {
  background: rgba(255, 255, 255, .03);
  padding: 36px 20px;
  text-align: center;
  transition: background .3s;
}

.sstat:hover {
  background: rgba(255, 255, 255, .07);
}

.sstat-ico {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.sstat-n {
  font-family: var(--font-d);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 7px;
}

.sstat-n .u {
  color: var(--sky);
}

.sstat-l {
  font-size: .75rem;
  color: rgba(255, 255, 255, .5);
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: var(--t);
}

.case-card:hover {
  background: rgba(255, 255, 255, .09);
  transform: translateY(-4px);
}

.case-head {
  padding: 24px 24px 18px;
}

.case-co {
  font-family: var(--font-d);
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}

.case-proj {
  font-size: .78rem;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 16px;
}

.case-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-row-lbl {
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
}

.case-row-val {
  font-weight: 800;
  font-size: .9rem;
  color: var(--sky);
}

.case-foot {
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.case-dl {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .55);
  transition: color .3s;
}

.case-dl:hover {
  color: #fff;
}

/* ─── PROCESS ───────────────────────────────────────────────── */
#process {
  background: var(--off-white);
}

.proc-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

/* vertical connecting line */
.proc-steps::before {
  content: '';
  position: absolute;
  top: 0;
  left: 25px; /* center of step-n */
  bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    180deg,
    var(--border) 0,
    var(--border) 8px,
    transparent 8px,
    transparent 16px
  );
  z-index: 0;
}

.proc-step {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 28px 24px 0;
  position: relative;
  border-bottom: 1px solid var(--border);
  background: transparent;
  transition: background var(--t);
}

.proc-step:last-child {
  border-bottom: none;
}

.proc-step:hover {
  background: rgba(26, 86, 219, 0.03);
  border-radius: var(--r-sm);
}

.step-n {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  font-family: var(--font-d);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  transition: var(--t);
  box-shadow: var(--shadow-md);
  margin-top: 2px;
}

.proc-step:hover .step-n {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: scale(1.08);
}

.step-body {
  flex: 1;
  padding-top: 4px;
}

.step-title {
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.3;
}

.step-desc {
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}


/* ─── DOWNLOADS ─────────────────────────────────────────────── */
#downloads {
  background: #fff;
}

.dl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.dl-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: var(--t);
  display: flex;
  flex-direction: column;
}

.dl-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--navy);
}

.dl-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.6rem;
  background: var(--blue-light);
}

.dl-type {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 7px;
}

.dl-title {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 7px;
}

.dl-desc {
  font-size: .84rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
}

.dl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.dl-size {
  font-size: .74rem;
  color: var(--steel-light);
  font-weight: 500;
}

/* ─── CONTACT ───────────────────────────────────────────────── */
#contact {
  display: none; /* hidden by default */
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 31, 65, 0.85); /* Dark overlay */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
#contact.active {
  display: flex;
}
#contact .wrap {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  max-width: 1100px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.contact-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--text-body);
  cursor: pointer;
  padding: 10px;
  z-index: 10;
  transition: color var(--t);
}
.contact-modal-close:hover {
  color: var(--red);
}
@media (max-width: 768px) {
  #contact .wrap {
    padding: 30px 20px;
  }
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 500px;
  gap: 64px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 14px;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: .92rem;
}

.contact-hi {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.ch {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #fff;
  border-radius: var(--r-sm);
  border: 1px solid var(--border);
  font-size: .88rem;
  font-weight: 500;
}

.ch-icon {
  width: 34px;
  height: 34px;
  background: var(--blue-light);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  flex-shrink: 0;
}

.form-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
}

.form-card h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.form-card>p {
  font-size: .84rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.fg {
  margin-bottom: 16px;
}

.fg label {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.fg label .r {
  color: var(--blue);
}

.fc {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: .88rem;
  color: var(--text-dark);
  background: #fff;
  transition: border-color .25s, box-shadow .25s;
  outline: none;
  appearance: none;
}

.fc:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(46, 117, 182, .1);
}

.fc::placeholder {
  color: var(--steel-light);
}

select.fc {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237F8C8D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.chi {
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
}

.chi input {
  display: none;
}

.chi-box {
  width: 17px;
  height: 17px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--t);
}

.chi input:checked~.chi-box {
  background: var(--navy);
  border-color: var(--navy);
}

.chi input:checked~.chi-box::after {
  content: '✓';
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
}

.chi-lbl {
  font-size: .78rem;
  color: var(--text-body);
}

.form-submit {
  margin-top: 22px;
}

.form-submit .btn {
  width: 100%;
  justify-content: center;
}

.form-note {
  text-align: center;
  font-size: .7rem;
  color: var(--steel-light);
  margin-top: 10px;
}

.form-ok {
  display: none;
  text-align: center;
  padding: 36px 16px;
}

.form-ok-ico {
  font-size: 2.8rem;
  margin-bottom: 14px;
}

.form-ok h3 {
  color: var(--text-dark);
  margin-bottom: 7px;
}

.form-ok p {
  color: var(--text-muted);
  font-size: .87rem;
}

/* ─── LOCATION ──────────────────────────────────────────────── */
#location {
  background: #fff;
}

.loc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.loc-addr {
  display: flex;
  gap: 13px;
  padding: 18px;
  background: var(--off-white);
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  margin: 20px 0 24px;
}

.loc-addr-icon {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.loc-addr-text {
  font-size: .87rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.loc-addr-text strong {
  color: var(--text-dark);
  font-size: .92rem;
  display: block;
  margin-bottom: 3px;
}

.clinks {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clink {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-body);
  transition: var(--t);
}

.clink:hover {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--blue-light);
}

.clink-ico {
  width: 34px;
  height: 34px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .95rem;
}

.map-box {
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  height: 400px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.map-inner {
  text-align: center;
}

.map-inner svg {
  width: 44px;
  height: 44px;
  color: var(--steel-light);
  margin: 0 auto 10px;
  display: block;
}

.map-inner h4 {
  color: var(--text-dark);
  margin-bottom: 5px;
}

.map-inner p {
  font-size: .82rem;
  max-width: 260px;
  color: var(--text-muted);
}

.map-route {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 48px;
}

.gal-item {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
}

.gal-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/7;
}

.gal-bg {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: rgba(255, 255, 255, .55);
  font-size: .8rem;
  font-weight: 600;
  transition: transform .4s;
}

.gal-item:hover .gal-bg {
  transform: scale(1.05);
}

.gal-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(13, 27, 46, .88), transparent);
  padding: 18px 14px 10px;
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform .3s;
}

.gal-item:hover .gal-cap {
  transform: translateY(0);
}

/* ─── FAQ MODAL ───────────────────────────────────────────────────── */
#faq {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 31, 65, 0.85);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow-y: auto;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
#faq.active {
  display: flex;
}
#faq .wrap {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  position: relative;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  margin: auto;
}
.faq-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: #333;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s;
}
.faq-modal-close:hover {
  color: var(--blue, #041C3D);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  text-align: left;
  font-size: .97rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: color .3s;
}

.faq-q:hover {
  color: var(--navy);
}

.faq-ico {
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--steel);
  transition: var(--t);
  font-size: 1.1rem;
  line-height: 1;
}

.faq-item.open .faq-ico {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-a-inner {
  padding-bottom: 20px;
  font-size: .88rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  background: var(--text-dark);
  color: rgba(255, 255, 255, .65);
  padding: 56px 0 0;
}

.footer-grid {
  max-width: 100%;
  margin: 0;
  padding: 0 80px;
  display: grid;
  grid-template-columns: 260px 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand p {
  font-size: .82rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .45);
  margin: 14px 0 20px;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.soc {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .45);
  transition: var(--t);
}

.soc:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
  border-color: rgba(255, 255, 255, .22);
}

.footer-col h4 {
  font-size: .76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .25);
  margin-bottom: 18px;
}

.flinks {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.flink {
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
  transition: color .3s;
}

.flink:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .05);
  padding: 20px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  max-width: 100%;
  margin: 0;
}

.footer-bottom p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .25);
}

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  font-size: .78rem;
  color: rgba(255, 255, 255, .25);
  transition: color .3s;
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, .65);
}

/* Section header helper */
.section-header {
  margin-bottom: 44px;
}

.section-header.center {
  text-align: center;
}

.section-header.center .label {
  justify-content: center;
}

.section-header h2 {
  margin-bottom: 10px;
}

.section-header p {
  color: var(--text-muted);
  font-size: .92rem;
  max-width: 560px;
}

.section-header.center p {
  margin: 0 auto;
}

/* ─── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: .1s;
}

.reveal-delay-2 {
  transition-delay: .2s;
}

.reveal-delay-3 {
  transition-delay: .3s;
}

.reveal-delay-4 {
  transition-delay: .4s;
}

/* ─── STICKY CTA ────────────────────────────────────────────── */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--navy);
  padding: 11px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transform: translateY(100%);
  transition: transform .4s var(--ease);
  box-shadow: 0 -4px 28px rgba(31, 78, 120, .25);
}

.sticky-cta.visible {
  transform: none;
}

.sticky-cta p {
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
}

/* ─── RESPONSIVE ────────────────────────────────────────────── */

/* ── Tablet: 1100px ── */
@media (max-width:1100px) {
  .wrap {
    padding: 0 40px;
  }
  .navbar {
    padding: 0 40px;
  }
  .navbar.scrolled {
    padding: 0 40px;
  }
  .footer-grid {
    padding: 0 40px;
    grid-template-columns: 1fr 1fr;
  }
  .footer-bottom {
    padding: 20px 40px;
  }
  .hero-content {
    padding: 70px 40px 60px;
  }
  .parallax-content {
    padding: 0 40px;
  }
  .prog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ermek-layout {
    grid-template-columns: 300px 1fr;
    gap: 44px;
  }
}

/* ── Tablet-Small / Large Mobile: 900px ── */
@media (max-width:900px) {
  .wrap {
    padding: 0 24px;
  }
  .hero-content {
    padding: 52px 24px 52px;
  }
  .parallax-content {
    padding: 0 24px;
  }
  .footer-grid {
    padding: 0 24px;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .footer-bottom {
    padding: 20px 24px;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .cases-grid {
    grid-template-columns: 1fr;
  }
  /* proc-steps already flex column — just reduce gap on tablet */
  .proc-steps {
    max-width: 100%;
  }
  .dl-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .loc-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .ermek-layout {
    grid-template-columns: 1fr;
  }
  .gallery {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .gal-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/8;
  }
  .parallax-section {
    min-height: 340px;
  }
  .parallax-deco {
    opacity: 0.04;
    right: 16px;
  }
  .section-header {
    margin-bottom: 32px;
  }
}

/* ── Mobile: 700px ── */
@media (max-width:700px) {
  .wrap {
    padding: 0 16px;
  }
  .hero-content {
    padding: 40px 16px 40px;
  }
  .parallax-content {
    padding: 0 16px;
  }
  .pad {
    padding: 52px 0;
  }
  .pad-sm {
    padding: 36px 0;
  }
  /* Navbar */
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
  }
  /* Hero buttons */
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-btns .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .hstat {
    padding-right: 18px;
    margin-right: 18px;
  }
  /* Cards & Grids — all single column */
  .why-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .prog-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .proc-steps,
  .cases-grid,
  .dl-grid {
    gap: 0;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .checks {
    grid-template-columns: 1fr;
  }
  /* Gallery */
  .gallery {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 24px;
  }
  .gal-item:first-child {
    grid-column: auto;
    aspect-ratio: 16/9;
  }
  .gal-item {
    aspect-ratio: 16/9;
  }
  /* Footer */
  .footer-grid {
    padding: 0 16px;
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-bottom {
    padding: 16px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .sticky-cta p {
    display: none;
  }
  /* Form */
  .form-card {
    padding: 20px 16px;
  }
  /* Tabs */
  .tabs-nav {
    flex-direction: column;
    width: 100%;
  }
  .tab-btn {
    justify-content: center;
  }
  /* Discount */
  .discount-box {
    flex-direction: column;
    gap: 14px;
    padding: 18px 16px;
  }
  .discount-box .btn {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
    margin-top: 0;
  }
  /* Parallax */
  .parallax-stats {
    gap: 20px;
    flex-direction: column;
  }
  .parallax-deco {
    display: none;
  }
  .parallax-section {
    min-height: 280px;
  }
  /* Contact modal */
  #contact .wrap {
    padding: 24px 14px;
    border-radius: 12px;
  }
  #faq .wrap {
    padding: 24px 14px;
    border-radius: 12px;
  }
  /* Section headers */
  .section-header {
    margin-bottom: 24px;
  }
  /* Process steps */
  .step-n {
    width: 52px;
    height: 52px;
    font-size: 1.1rem;
  }
  /* Why card */
  .why-card {
    padding: 20px 16px;
  }
  /* Prog card */
  .prog-grid .prog-card {
    min-width: 0;
  }
  /* Stats */
  .stats-grid {
    border-radius: var(--r-md);
  }
  /* Map box */
  .map-box {
    height: 260px;
  }
  /* Global font size reduction */
  h2 {
    font-size: clamp(1.25rem, 5vw, 1.7rem) !important;
  }
  h3 {
    font-size: clamp(.95rem, 3.5vw, 1.1rem) !important;
  }
  p {
    font-size: .88rem;
    line-height: 1.65;
  }
  .why-title {
    font-size: .98rem;
  }
  .why-text {
    font-size: .82rem;
  }
  .step-title {
    font-size: .88rem;
  }
  .step-desc {
    font-size: .78rem;
  }
  .prog-name {
    font-size: .9rem;
  }
  .prog-desc {
    font-size: .8rem;
  }
  .section-header p {
    font-size: .85rem;
  }
  /* Parallax text */
  .parallax-h2 {
    font-size: clamp(1.2rem, 5vw, 1.7rem);
  }
  .parallax-p {
    font-size: .85rem;
  }
  .pstat-n {
    font-size: 1.5rem;
  }
}

/* ── Small Mobile: 480px ── */
@media (max-width:480px) {
  .wrap {
    padding: 0 12px;
  }
  .hero-content {
    padding: 28px 12px 32px;
  }
  .parallax-content {
    padding: 0 12px;
  }
  .pad {
    padding: 40px 0;
  }
  .navbar {
    padding: 0 12px;
  }
  .nav-inner {
    height: 54px;
  }
  .nav-logo img {
    width: 52px !important;
  }
  .nav-logo-text span:first-child {
    font-size: .85rem !important;
  }
  .nav-logo-text span:last-child {
    font-size: .85rem !important;
  }
  .mobile-menu {
    top: 54px;
  }
  .hero-h1 {
    font-size: 1.2rem;
    line-height: 1.3;
  }
  .hero-sub {
    font-size: .82rem;
  }
  .btn-lg {
    padding: 11px 18px;
    font-size: .86rem;
  }
  .footer-grid {
    padding: 0 12px;
  }
  .footer-bottom {
    padding: 14px 12px;
  }
  /* proc-steps: just shrink step-n on tiny screens */
  .step-n {
    width: 42px;
    height: 42px;
    font-size: .95rem;
  }
  h2 {
    font-size: clamp(1.1rem, 5vw, 1.5rem) !important;
  }
  h3 {
    font-size: .9rem !important;
  }
  .why-card {
    padding: 16px 12px;
  }
  .form-card {
    padding: 16px 12px;
    border-radius: var(--r-md);
  }
  .map-box {
    height: 220px;
  }
  .float-contact {
    bottom: 14px;
    right: 14px;
  }
  .float-label {
    display: none;
  }
  .float-btn {
    padding: 13px;
    border-radius: 50%;
  }
}

/* ─── Language Switcher ─────────────────────────────────────── */
.nav-lang-wrap {
  position: relative;
  list-style: none;
}

.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  padding: 5px 10px;
  color: inherit;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: border-color .2s, background .2s;
}

.nav-lang-btn:hover {
  border-color: var(--blue);
  background: rgba(0, 0, 0, .06);
}

.nav-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e5e8ea;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
  min-width: 150px;
  overflow: hidden;
  display: none;
  z-index: 999;
}

.nav-lang-dropdown.open {
  display: block;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: background .15s;
}

.lang-opt:hover {
  background: #f5f7fa;
}

.lang-opt.active {
  background: #eef3ff;
  color: var(--blue);
  font-weight: 700;
}

/* Mobile lang buttons */
.lang-opt-mob {
  padding: 6px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  transition: background .15s, border-color .15s;
}

.lang-opt-mob.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ── Floating Contact Button ───────────────────── */
.float-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue, #1a56db);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 6px 24px rgba(26, 86, 219, .4);
  transition: transform .2s, box-shadow .2s;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26, 86, 219, .5);
}

.float-label {
  letter-spacing: .02em;
}

.float-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s;
}

.float-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--navy, #041e40);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}

.float-item:hover {
  transform: translateX(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}

.float-item--tg {
  background: #0088cc;
}

.float-item--wa {
  background: #25d366;
}

.float-item--form {
  background: var(--blue, #1a56db);
}

/* ── Floating Logo (Hero) ── */
.hero-floating-logo {
  position: absolute;
  right: 20%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.floating-logo-img {
  width: 400px;
  height: auto;
  animation: logoFloat 3.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(4, 28, 61, 0.25));
}

@keyframes logoFloat {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-22px); }
  100% { transform: translateY(0px); }
}

@media (max-width: 900px) {
  .hero-floating-logo {
    display: none;
  }
}

/* Program kartalaridagi tugmalarni bottom/center qilish */
.program-card {
  display: flex !important;
  flex-direction: column !important;
}

.program-card > div:last-child {
  margin-top: auto !important;
  text-align: center !important;
  padding-top: 20px !important;
}

/* ── iOS Safari parallax fix ── */
@media (max-width: 768px) {
  .parallax-wah,
  .parallax-safety,
  .parallax-results {
    background-attachment: scroll;
  }
}

/* ── Language Switcher ─────────────────────────── */
.nav-lang-wrap {
  position: relative;
  list-style: none;
}

.nav-lang-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 6px;
  padding: 5px 10px;
  color: inherit;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .04em;
  transition: border-color .2s, background .2s;
}

.nav-lang-btn:hover {
  border-color: var(--blue);
  background: rgba(0, 0, 0, .06);
}

.nav-lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid #e5e8ea;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
  min-width: 150px;
  overflow: hidden;
  display: none;
  z-index: 999;
}

.nav-lang-dropdown.open {
  display: block;
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: .85rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: background .15s;
}

.lang-opt:hover {
  background: #f5f7fa;
}

.lang-opt.active {
  background: #eef3ff;
  color: var(--blue);
  font-weight: 700;
}

/* Mobile lang buttons */
.lang-opt-mob {
  padding: 6px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
  transition: background .15s, border-color .15s;
}

.lang-opt-mob.active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

/* ── Floating Contact Button ───────────────────── */
.float-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--blue, #1a56db);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: .88rem;
  box-shadow: 0 6px 24px rgba(26, 86, 219, .4);
  transition: transform .2s, box-shadow .2s;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(26, 86, 219, .5);
}

.float-label {
  letter-spacing: .02em;
}

.float-menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s, transform .2s;
}

.float-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: .84rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: var(--navy, #041e40);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
  white-space: nowrap;
  transition: transform .15s, box-shadow .15s;
}

.float-item:hover {
  transform: translateX(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
}

.float-item--tg {
  background: #0088cc;
}

.float-item--wa {
  background: #25d366;
}

.float-item--form {
  background: var(--blue, #1a56db);
}

@media (max-width: 480px) {
  .float-contact {
    bottom: 16px;
    right: 16px;
  }

  .float-label {
    display: none;
  }

  .float-btn {
    padding: 13px;
    border-radius: 50%;
  }
}

/* ── Floating Logo (Hero) ── */
.hero-floating-logo {
  position: absolute;
  right: 20%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  pointer-events: none;
}

.floating-logo-img {
  width: 400px;
  height: auto;
  animation: logoFloat 3.5s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(4, 28, 61, 0.25));
}

@keyframes logoFloat {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-22px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Mobile uchun */
@media (max-width: 768px) {
  .hero-floating-logo {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    display: flex;
    justify-content: center;
    margin: 24px 0;
  }

  .floating-logo-img {
    width: 160px;
  }
}

/* Program kartalaridagi tugmalarni bottom/center qilish */
.program-card {
  display: flex !important;
  flex-direction: column !important;
}

.program-card > div:last-child {
  margin-top: auto !important;
  text-align: center !important;
  padding-top: 20px !important;
}