/* =====================================================================
   SAMDTU Klinika — Modern UI Layer  (v1)
   Bu fayl eng oxirida yuklanadi va eski "Mediplus" shablon dizaynini
   zamonaviy ko'rinishga keltiradi. Struktura o'zgarmaydi — faqat uslub.
   ===================================================================== */

:root {
  /* Brand */
  --brand: #1a76d1;
  --brand-600: #1668c4;
  --brand-700: #0f55a8;
  --accent: #06b6d4;
  --brand-grad: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%);
  --brand-grad-soft: linear-gradient(135deg, #1a76d1 0%, #22b8e6 100%);

  /* Ink & neutrals */
  --ink: #0f2744;
  --body: #51607a;
  --muted: #7688a3;
  --line: #e6ecf4;
  --line-2: #eef2f8;
  --bg: #f4f8fc;
  --bg-2: #eef4fb;
  --card: #ffffff;

  /* Shape */
  --radius: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgba(15, 39, 68, .06);
  --shadow-sm: 0 4px 14px -6px rgba(15, 39, 68, .12);
  --shadow: 0 14px 34px -16px rgba(15, 39, 68, .20);
  --shadow-lg: 0 30px 60px -24px rgba(15, 39, 68, .30);
  --shadow-brand: 0 16px 36px -14px rgba(26, 118, 209, .55);

  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------------------------------------------------------------------
   Global
   ------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Poppins', system-ui, -apple-system, sans-serif !important;
  font-size: 16px !important;
  line-height: 1.7;
  color: var(--body) !important;
  background: var(--bg) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif !important;
  color: var(--ink) !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
}

a { transition: color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease); }

::selection { background: rgba(26, 118, 209, .18); color: var(--brand-700); }

/* Nicer scrollbar */
* { scrollbar-width: thin; scrollbar-color: #c3d3e6 transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-thumb { background: #c3d3e6; border-radius: 999px; border: 2px solid var(--bg); }
*::-webkit-scrollbar-thumb:hover { background: #a9bfd8; }

.container { max-width: 1200px; }

/* Reusable section title accent */
.section-title h2,
.single-service-top h2 { position: relative; }

/* ---------------------------------------------------------------------
   Preloader — logo + nurli halo (glow), yurak kabi nafas oladi
   ------------------------------------------------------------------- */
/* Fon — vertikal gradient (ikki panelda ham bir xil, o'rtada chok ko'rinmaydi) */
.preloader { background: #3a5cf0 !important; }
.preloader::before, .preloader::after {
  background: linear-gradient(to bottom, #4163f6 0%, #2c49df 100%) !important;
}
/* eski aylanuvchi halqa + ECG yashiriladi */
.preloader .loader .loader-outter,
.preloader .loader .loader-inner,
.preloader .loader .indicator { display: none !important; }
/* Logo — oq disk + pulslovchi nur (glow) */
.preloader .loader .preloader-logo {
  position: absolute;
  top: 50%; left: 50%;
  width: 172px !important; height: 172px !important;
  max-width: none !important;
  border-radius: 50%;
  background: #ffffff;
  padding: 15px;
  object-fit: contain;
  box-sizing: border-box;
  transform: translate(-50%, -50%);
  -webkit-animation: logoPulse 1.7s ease-in-out infinite;
          animation: logoPulse 1.7s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, .85),
                0 0 46px 12px rgba(255, 255, 255, .45);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 0 0 16px rgba(255, 255, 255, .16),
                0 0 92px 40px rgba(255, 255, 255, .85);
  }
}
@media (max-width: 575px) {
  .preloader .loader .preloader-logo { width: 130px; height: 130px; padding: 11px; }
}

/* Logo ECG chizig'idan ustunroq (oldinda) tursin */
.preloader .loader { z-index: 3 !important; }

/* MUHIM: preloader yopilganda to'liq yo'qolsin — aks holda ekranni to'sib,
   havolalar bosilmay qoladi (deactivate klassi qo'shilgach kafolatli yashirish) */
.preloader.preloader-deactivate {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  display: none !important;
}

/* ECG (yurak impulsi) chizig'i — ekran bo'ylab, logo orqasidan */
.preloader-ecg {
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 190px;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.preloader-ecg path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
/* xira asosiy chiziq (chekkalarda so'nadi) */
.preloader-ecg .ecg-base {
  stroke: url(#ecgBaseGrad);
  stroke-width: 1.8;
}
/* yorqin nurli puls — chiziq bo'ylab silliq "chizib" boradi (yurak monitori) */
.preloader-ecg .ecg-trace {
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-dasharray: 95 905;   /* pathLength=1000: nozik yorug' segment */
  stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, .85))
          drop-shadow(0 0 10px rgba(150, 205, 255, .6));
  -webkit-animation: ecgDraw 2.6s linear infinite;
          animation: ecgDraw 2.6s linear infinite;
}
@keyframes ecgDraw {
  from { stroke-dashoffset: 1000; }
  to   { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .preloader-ecg .ecg-trace { animation: none; stroke-dasharray: none; opacity: .8; }
}

/* ---------------------------------------------------------------------
   Topbar
   ------------------------------------------------------------------- */
.header .topbar {
  background: linear-gradient(90deg, #0b2140 0%, #123a63 55%, #0e5aa8 130%) !important;
  padding: 8px 0 !important;
  border: 0 !important;
}
.header .topbar .top-contact {
  display: flex; align-items: center; flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0; padding: 0;
}
.header .topbar .top-contact li { margin: 0 !important; padding: 0 !important; list-style: none; }
.header .topbar .top-contact li::before { display: none !important; }

/* Modern icon+label item */
.header .topbar .top-contact .tc-item {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  color: #d4e4f7 !important;
  font-size: 13.5px !important;
  font-weight: 600;
  line-height: 1;
  padding: 4px 4px;
  border-radius: var(--radius-pill);
  transition: color .25s var(--ease);
}
.header .topbar .top-contact .tc-item .tc-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .16);
  color: #ffffff;
  transition: transform .25s var(--ease), background .25s var(--ease),
              box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.header .topbar .top-contact .tc-item .tc-ic svg { display: block; }
.header .topbar .top-contact .tc-item:hover { color: #ffffff !important; }
.header .topbar .top-contact .tc-item:hover .tc-ic {
  transform: translateY(-2px) scale(1.06);
  border-color: transparent;
}
/* Brand-specific hover colours */
.header .topbar .tc-phone:hover .tc-ic {
  background: linear-gradient(135deg, #1a76d1, #22b8e6);
  box-shadow: 0 8px 18px -6px rgba(34, 184, 230, .7);
}
.header .topbar .tc-instagram:hover .tc-ic {
  background: linear-gradient(45deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 90%);
  box-shadow: 0 8px 18px -6px rgba(214, 41, 118, .7);
}
.header .topbar .tc-telegram:hover .tc-ic {
  background: linear-gradient(135deg, #2aabee, #229ed9);
  box-shadow: 0 8px 18px -6px rgba(34, 158, 217, .7);
}
.header .topbar .tc-facebook:hover .tc-ic {
  background: #1877f2;
  box-shadow: 0 8px 18px -6px rgba(24, 119, 242, .7);
}
@media (max-width: 767px) {
  .header .topbar .top-contact { justify-content: center; gap: 4px 12px; }
  .header .topbar .top-contact .tc-item .tc-txt { display: none; }
}

/* Language select in topbar */
.header .topbar form { display: flex; justify-content: flex-end; }
.header .topbar select#autoSizingSelect {
  background: rgba(255, 255, 255, .10);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22) !important;
  border-radius: var(--radius-pill);
  padding: 5px 14px !important;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  margin-top: 2px;
  appearance: none;
  -webkit-appearance: none;
}
.header .topbar select#autoSizingSelect option { color: #0f2744; }

/* ---------------------------------------------------------------------
   Header inner + sticky
   ------------------------------------------------------------------- */
.header .header-inner {
  background: #ffffff !important;
  /* backdrop-filter OLIB TASHLANDI — u dropdown menyularni kesib qo'yardi */
  box-shadow: 0 6px 24px -14px rgba(15, 39, 68, .22) !important;
  border-bottom: 1px solid var(--line-2);
  padding: 6px 0 !important;
}
.header.sticky .header-inner {
  background: rgba(255, 255, 255, .96) !important;
  box-shadow: 0 10px 30px -16px rgba(15, 39, 68, .28) !important;
  animation: none !important;
}
.header .logo { padding: 6px 0 !important; }
.header .logo img { max-height: 58px; width: auto; }

/* Navigation */
.header .nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 2px; }
.header .nav li { margin: 0 !important; }
.header .nav li a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  padding: 26px 16px !important;
  position: relative;
  border-radius: 10px;
  transition: color .25s var(--ease);
}
.header .nav li a::before { display: none !important; }
.header .nav li > a::after {
  content: "";
  position: absolute;
  left: 16px; right: 16px; bottom: 18px;
  height: 3px; border-radius: 3px;
  background: var(--brand-grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.header .nav li:hover > a,
.header .nav li.active > a { color: var(--brand) !important; }
.header .nav li:hover > a::after,
.header .nav li.active > a::after { transform: scaleX(1); }
.header .nav li a i { color: var(--muted); margin-left: 3px; }

/* Dropdown */
.header .nav li .dropdown {
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 10px !important;
  min-width: 240px;
  top: 84px !important;
  /* scaleY o'rniga translateY — barcha element to'liq ko'rinsin (kesilmasin) */
  transform: translateY(8px) !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  max-height: 78vh !important;   /* juda uzun bo'lsa — ichida scroll */
}
.header .nav li:hover .dropdown { top: 74px !important; transform: translateY(0) !important; }
/* dropdown ichidagi scroll chizig'i nozik */
.header .nav li .dropdown::-webkit-scrollbar { width: 7px; }
.header .nav li .dropdown::-webkit-scrollbar-thumb { background: #cdd9ea; border-radius: 999px; }
.header .nav li .dropdown li { border: 0 !important; }
.header .nav li .dropdown li a {
  padding: 10px 14px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--body) !important;
  border-radius: 9px;
  transition: all .2s var(--ease);
}
.header .nav li .dropdown li a::after { display: none !important; }
.header .nav li .dropdown li a:hover {
  background: var(--bg-2) !important;
  color: var(--brand) !important;
  padding-left: 20px !important;
}

/* Mobile slicknav */
.slicknav_menu { background: transparent !important; padding: 6px 0 !important; }
.slicknav_btn { background: var(--brand) !important; border-radius: 10px !important; }
.slicknav_nav { background: #fff !important; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-top: 8px; }
.slicknav_nav a { border-radius: 8px !important; color: var(--ink) !important; font-weight: 600; }
.slicknav_nav a:hover { background: var(--bg-2) !important; color: var(--brand) !important; }

/* ---------------------------------------------------------------------
   Hero / Slider
   ------------------------------------------------------------------- */
.slider .single-slider {
  min-height: 640px !important;
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  display: flex;
  align-items: center;
}
.slider .single-slider::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(9, 27, 52, .86) 0%, rgba(12, 46, 86, .62) 46%, rgba(12, 46, 86, .12) 100%);
}
.slider .single-slider .container { position: relative; z-index: 2; }

/* Hero ECG — sekin suzuvchi yurak-urishi chizig'i (rasm ustida, matn ostida) */
.slider .single-slider .hero-ecg {
  position: absolute; left: 0; right: 0; top: 54%;
  transform: translateY(-50%);
  height: 230px; z-index: 1;
  pointer-events: none; overflow: hidden;
}
.slider .single-slider .hero-ecg svg { width: 100%; height: 100%; display: block; }
.slider .single-slider .hero-ecg .ecg-base {
  fill: none; stroke: rgba(226, 240, 255, .16);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.slider .single-slider .hero-ecg .ecg-glow {
  fill: none; stroke: rgba(122, 190, 255, .85);
  stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 165 835; stroke-dashoffset: 1000;
  filter: drop-shadow(0 0 6px rgba(96, 172, 255, .85)) drop-shadow(0 0 14px rgba(96, 172, 255, .45));
  animation: ecgRun 6.5s linear infinite;
}
@keyframes ecgRun { from { stroke-dashoffset: 1000; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) {
  .slider .single-slider .hero-ecg .ecg-glow { animation: none; opacity: .3; }
}
.slider .single-slider .text { padding-top: 0 !important; }
.slider .single-slider .text::before {
  content: "🏥 Ishonchli tibbiy yordam";
  display: inline-flex; align-items: center;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #eaf3ff;
  font-size: 13.5px; font-weight: 600;
  padding: 8px 16px; border-radius: var(--radius-pill);
  margin-bottom: 22px;
  backdrop-filter: blur(6px);
}
.slider .single-slider h1,
.slider .single-slider h1 span {
  color: #ffffff !important;
  font-size: 52px !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  text-shadow: 0 6px 30px rgba(0, 0, 0, .35);
  margin-bottom: 18px !important;
}
.slider .single-slider p {
  color: #dce9fb !important;
  font-size: 20px !important;
  max-width: 560px;
  margin-bottom: 30px !important;
}
/* Call-to-action buttons injected via markup or existing .btn */
.slider .single-slider .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.slider .single-slider .cta-row .btn-hero {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 15.5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.slider .single-slider .cta-row .btn-hero.primary {
  background: var(--brand-grad); color: #fff;
  box-shadow: var(--shadow-brand);
}
.slider .single-slider .cta-row .btn-hero.ghost {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff; backdrop-filter: blur(6px);
}
.slider .single-slider .cta-row .btn-hero:hover { transform: translateY(-3px); }
.slider .single-slider .cta-row .btn-hero.primary:hover { box-shadow: 0 22px 44px -14px rgba(26, 118, 209, .7); }

/* Owl nav arrows */
.slider .owl-carousel .owl-nav div {
  background: rgba(255, 255, 255, .16) !important;
  border: 1px solid rgba(255, 255, 255, .3) !important;
  color: #fff !important;
  border-radius: 50% !important;
  backdrop-filter: blur(6px);
}
.slider .owl-carousel .owl-nav div:hover { background: var(--brand) !important; border-color: var(--brand) !important; }
.slider .owl-dots .owl-dot span { background: rgba(255, 255, 255, .5) !important; }
.slider .owl-dots .owl-dot.active span { background: #fff !important; width: 26px !important; border-radius: 6px; }

/* ---------------------------------------------------------------------
   Section rhythm
   ------------------------------------------------------------------- */
section, .section { position: relative; }
.yangiliklar.news-single { padding: 84px 0 40px !important; }

/* Section title (centered) */
.section-title { margin-bottom: 46px !important; }
.section-title h2 {
  font-size: 34px !important;
  font-weight: 800 !important;
  margin-bottom: 14px !important;
}
.section-title > img { display: inline-block; }
.foto-vedio { padding: 30px 0 90px !important; background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%); }

/* ---------------------------------------------------------------------
   News block on homepage
   ------------------------------------------------------------------- */
.single-service-top { margin-bottom: 6px !important; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.single-service-top h2 { font-size: 28px !important; font-weight: 800 !important; display: flex; align-items: center; gap: 10px; }

/* Primary pill button (used widely as .btn > a) */
.btn a,
a.btn,
.single-service-top .btn a {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background: var(--brand-grad) !important;
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700 !important;
  font-size: 14.5px !important;
  padding: 12px 24px !important;
  border-radius: var(--radius-pill) !important;
  border: 0 !important;
  box-shadow: var(--shadow-brand);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn a:hover, a.btn:hover, .single-service-top .btn a:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 20px 40px -14px rgba(26, 118, 209, .7);
  color: #fff !important;
}

/* News list rows */
.single-service .meta.meta-yangilik {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.single-service .meta.meta-yangilik:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: #cfe0f4;
}
.single-service .meta.meta-yangilik h6 { margin-bottom: 10px; }
.single-service .meta.meta-yangilik h6 a {
  color: var(--ink) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.4;
}
.single-service .meta.meta-yangilik h6 a:hover { color: var(--brand) !important; }
.single-service .meta-left, .single-service .meta-right { display: inline-flex; }
.single-service .meta .date,
.single-service .meta .views,
.carousel-icons .date, .carousel-icons .views {
  font-size: 12.5px !important;
  color: var(--muted) !important;
  font-weight: 500;
}
.single-service .meta .date i,
.single-service .meta .views i,
.carousel-icons .date i, .carousel-icons .views i { color: var(--brand) !important; margin-right: 5px; }
.yangiliklar hr { border-color: var(--line-2) !important; opacity: 1; margin: 14px 0 !important; }

/* Featured news carousel card (left column) */
#carouselExampleDark {
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow) !important;
  background: #fff;
  border: 1px solid var(--line);
}
#carouselExampleDark .img-areyl { position: relative; }
#carouselExampleDark .img-areyl h4 {
  padding: 16px 18px 18px !important;
  font-size: 16px !important;
  font-weight: 700;
  color: var(--ink) !important;
  margin: 0 !important;
  line-height: 1.45;
}
.carousel-icons {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 12px 18px 4px !important;
}
.carousel-control-prev, .carousel-control-next { width: 12% !important; }
.carousel-control-prev-icon, .carousel-control-next-icon {
  background-color: rgba(255, 255, 255, .9);
  border-radius: 50%;
  padding: 14px;
  background-size: 46%;
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------------------
   Fun facts
   ------------------------------------------------------------------- */
.fun-facts.section {
  padding: 86px 0 !important;
  background: linear-gradient(135deg, #071831 0%, #0c2748 55%, #0f3157 120%) !important;
  position: relative;
  overflow: hidden;
}
/* eski shablon overlay'ini o'chiramiz */
.fun-facts.overlay::before { background: none !important; }
/* oltin/ko'k nur urg'ulari */
.fun-facts.section::after {
  content: "";
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 300px at 12% 0%, rgba(232, 190, 110, .14), transparent 60%),
    radial-gradient(620px 300px at 90% 100%, rgba(120, 170, 255, .10), transparent 60%);
}
.fun-facts .container { position: relative; z-index: 2; }
.fun-facts .single-fun {
  background: rgba(255, 255, 255, .05) !important;
  border: 1px solid rgba(232, 190, 110, .28);
  border-radius: var(--radius) !important;
  padding: 32px 22px !important;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: transform .3s var(--ease), background .3s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease);
  margin-bottom: 8px;
}
.fun-facts .single-fun:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, .09) !important;
  border-color: rgba(232, 190, 110, .6);
  box-shadow: 0 26px 46px -22px rgba(0, 0, 0, .65);
}
.fun-facts .single-fun i {
  float: none !important;
  display: inline-flex; align-items: center; justify-content: center;
  width: 70px; height: 70px;
  margin: 0 auto 16px !important;
  background: linear-gradient(135deg, #f0cf8f 0%, #e0ac52 100%);
  color: #0c2748 !important;
  border-radius: 50%;
  font-size: 29px !important;
  box-shadow: 0 14px 28px -10px rgba(224, 172, 82, .55);
}
.fun-facts .single-fun .content { text-align: center; }
.fun-facts .single-fun .counter,
.fun-facts .single-fun .content span {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 46px !important;
  font-weight: 800 !important;
  line-height: 1;
  background: linear-gradient(135deg, #f6dda2 0%, #e6b866 60%, #d9a349 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ecc074 !important;
}
.fun-facts .single-fun p {
  color: rgba(226, 236, 250, .82) !important;
  font-size: 14.5px !important;
  margin-top: 10px !important;
}

/* ---------------------------------------------------------------------
   Foto / Video tabs
   ------------------------------------------------------------------- */
.foto-vedio .nav-pills {
  gap: 10px;
  background: #fff;
  padding: 8px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  max-width: 760px;
  margin: 0 auto 40px;
}
.foto-vedio .nav-pills .nav-link,
.foto-vedio .nav-pills .btn.nav-link {
  border: 0 !important;
  border-radius: var(--radius-pill) !important;
  color: var(--body) !important;
  font-weight: 700 !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  padding: 11px 18px !important;
  transition: all .25s var(--ease);
}
.foto-vedio .nav-pills .nav-link:hover { color: var(--brand) !important; background: var(--bg-2) !important; }
.foto-vedio .nav-pills .nav-link.active,
.foto-vedio .nav-pills .btn.nav-link.active {
  background: var(--brand-grad) !important;
  color: #fff !important;
  box-shadow: var(--shadow-brand);
}

/* ---------------------------------------------------------------------
   Blog / gallery cards
   ------------------------------------------------------------------- */
.blog.section { padding: 20px 0 !important; }
.single-news {
  background: var(--card) !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  box-shadow: var(--shadow-xs) !important;
  margin-bottom: 28px !important;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.single-news:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg) !important;
  border-color: #cfe0f4 !important;
}
.single-news .news-head { overflow: hidden; position: relative; }
.single-news .news-head img {
  width: 100%; height: 240px; object-fit: cover;
  transition: transform .6s var(--ease);
}
.single-news:hover .news-head img { transform: scale(1.07); }
.single-news .news-body { padding: 22px !important; }
.single-news .news-content .date {
  display: inline-block;
  background: var(--bg-2);
  color: var(--brand-700) !important;
  font-size: 12.5px; font-weight: 700;
  padding: 5px 12px; border-radius: var(--radius-pill);
  margin-bottom: 12px;
}
.single-news .news-content .date a { color: var(--brand-700) !important; }
.single-news .news-content h2 { margin: 0 0 8px !important; }
.single-news .news-content h2 a {
  color: var(--ink) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.4;
}
.single-news .news-content h2 a:hover { color: var(--brand) !important; }
.single-news .news-content .text { color: var(--body) !important; font-size: 14.5px; margin-top: 8px; }

/* Video play button */
.promo-video, .video-image { position: relative; }
.video.video-popup {
  background: var(--brand-grad) !important;
  color: #fff !important;
  box-shadow: var(--shadow-brand);
}
.waves { border-color: rgba(26, 118, 209, .25) !important; }

/* ---------------------------------------------------------------------
   Breadcrumbs (inner pages)
   ------------------------------------------------------------------- */
.breadcrumbs {
  padding: 120px 0 70px !important;
  background:
    linear-gradient(120deg, rgba(9, 27, 52, .92), rgba(15, 85, 168, .78)),
    url('../img/bread-bg.jpg') center/cover no-repeat !important;
  position: relative;
}
.breadcrumbs .bread-inner h2,
.breadcrumbs h2 {
  color: #fff !important;
  font-size: 40px !important;
  font-weight: 800 !important;
  margin-bottom: 14px;
}
.breadcrumbs .bread-list {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  padding: 8px 18px; border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
}
.breadcrumbs .bread-list li,
.breadcrumbs .bread-list li a { color: #e8f1fd !important; font-weight: 600; font-size: 14px; }
.breadcrumbs .bread-list li a:hover { color: #fff !important; }
.breadcrumbs .bread-list li.active { color: #bcd6f5 !important; }

/* ---------------------------------------------------------------------
   Inner content (news detail / department / info / docs)
   ------------------------------------------------------------------- */
.pf-details.section, .yangilik-content { padding: 76px 0 !important; }
.pf-details .inner-content, .yangilik-content .main-sidebar-link1 {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px !important;
}
.pf-details .body-text h3 { font-size: 26px !important; margin-bottom: 14px !important; }
.pf-details .body-text { color: var(--body) !important; font-size: 16px; }
/* News detail rasm slideri — barcha rasm bir xil standart o'lchamda */
.pf-details .image-slider {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  background: var(--bg-2);
  position: relative;
}
.pf-details .image-slider img,
.pf-details-slider img,
.pf-details-slider .owl-item img {
  width: 100% !important;
  height: 440px !important;
  object-fit: cover !important;
  object-position: center;
  display: block;
  border-radius: 0;
}
@media (max-width: 991px) {
  .pf-details .image-slider img,
  .pf-details-slider img,
  .pf-details-slider .owl-item img { height: 340px !important; }
}
@media (max-width: 575px) {
  .pf-details .image-slider img,
  .pf-details-slider img,
  .pf-details-slider .owl-item img { height: 220px !important; }
}

/* Slider o'qlari (prev/next) */
.pf-details-slider .owl-nav { margin: 0 !important; }
.pf-details-slider .owl-nav button.owl-prev,
.pf-details-slider .owl-nav button.owl-next {
  position: absolute !important;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  display: inline-flex !important; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92) !important;
  color: var(--brand) !important;
  border-radius: 50% !important;
  font-size: 20px;
  box-shadow: 0 8px 20px -8px rgba(15, 39, 68, .35);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.pf-details-slider .owl-nav button.owl-prev { left: 16px; }
.pf-details-slider .owl-nav button.owl-next { right: 16px; }
.pf-details-slider .owl-nav button.owl-prev:hover,
.pf-details-slider .owl-nav button.owl-next:hover {
  background: var(--brand) !important; color: #fff !important;
}
.pf-details-slider .owl-dots { text-align: center; margin-top: 12px; }
.pf-details-slider .owl-dots .owl-dot span { background: #c7d6ea !important; }
.pf-details-slider .owl-dots .owl-dot.active span { background: var(--brand) !important; }
.yangilik-content-title h3 a, .yangilik-content-title h6 a {
  color: var(--ink) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}
.yangilik-content-title h3 a:hover, .yangilik-content-title h6 a:hover { color: var(--brand) !important; }

/* News detail — top meta (sana + ko'rishlar) */
.news-meta-top {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  padding: 4px 0 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line-2);
}

/* News detail — article body */
.news-article-content {
  color: var(--body) !important;
  font-size: 16.5px; line-height: 1.85;
  text-align: justify;
}
.news-article-content p { margin-bottom: 16px; }
.news-article-content img { max-width: 100%; height: auto; border-radius: var(--radius-sm); margin: 10px 0; }

/* News detail — yuklangan video lavha */
.news-video-file {
  margin: 0 0 26px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
  line-height: 0;
}
.news-video-file video {
  width: 100%;
  max-height: 72vh;
  display: block;
  background: #000;
}

/* News detail — maqola oxiri: rangli gradient banner
   ("Matbuot xizmati" ustida, oq shisha tugmalar ostida) */
.news-footer {
  margin-top: 42px;
  padding: 42px 30px;
  border-radius: var(--radius);
  background: var(--brand-grad);
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  gap: 22px; text-align: center;
  box-shadow: var(--shadow-brand);
}
.news-footer::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(520px 230px at 14% 0%, rgba(255, 255, 255, .20), transparent 60%),
    radial-gradient(520px 230px at 86% 100%, rgba(255, 255, 255, .14), transparent 60%);
}
.news-footer > * { position: relative; z-index: 1; }
.news-footer__source {
  display: inline-flex; align-items: center; gap: 12px;
  color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 21px;
  letter-spacing: -.01em;
}
.news-footer__source i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: rgba(255, 255, 255, .18);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  color: #fff; font-size: 18px;
}

.news-share__links {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 24px; border-radius: var(--radius-pill);
  font-weight: 700; font-size: 14.5px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #fff !important;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .40);
  backdrop-filter: blur(4px);
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), box-shadow .25s var(--ease);
}
.share-btn svg { display: block; }
.share-btn:hover {
  transform: translateY(-3px);
  background: #fff !important;
  border-color: #fff !important;
  box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .35);
}
.share-instagram:hover { color: #d62976 !important; }
.share-telegram:hover  { color: #229ed9 !important; }
.share-facebook:hover  { color: #1877f2 !important; }

/* Inner detail — bitta hero rasm (standart o'lchamga keltiriladi) */
.detail-hero-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: var(--shadow-sm);
  background: var(--bg-2);
}
/* Har qanday o'lchamdagi rasm bir xil standart o'lchamda ko'rinadi:
   to'liq kenglik x belgilangan balandlik, ortiqchasi qirqiladi (cover). */
.detail-hero-img img {
  width: 100%; height: 420px; object-fit: cover; object-position: center;
  display: block;
}
@media (max-width: 991px) { .detail-hero-img img { height: 340px; } }
@media (max-width: 575px) { .detail-hero-img img { height: 220px; } }

/* Hujjat detali — yuklab olish tugmasi */
.doc-download {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 24px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: var(--brand-grad); color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px;
  box-shadow: var(--shadow-brand);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.doc-download:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(26, 118, 209, .7); }

/* Hujjatlar ro'yxati */
.doc-list { display: flex; flex-direction: column; gap: 12px; }
.doc-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-xs);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.doc-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #cfe0f4; }
.doc-item__icon {
  flex: 0 0 46px; width: 46px; height: 46px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2); color: var(--brand);
  border-radius: 12px; font-size: 20px;
}
.doc-item__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.doc-item__title { color: var(--ink) !important; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 16px; }
.doc-item:hover .doc-item__title { color: var(--brand) !important; }
.doc-item__meta { color: var(--muted); font-size: 12.5px; }
.doc-item__meta i { color: var(--brand); margin-right: 4px; }
.doc-item__arrow { color: var(--muted); font-size: 20px; transition: transform .25s var(--ease), color .25s var(--ease); }
.doc-item:hover .doc-item__arrow { color: var(--brand); transform: translateX(4px); }

/* 404 sahifasi */
.error-page { padding: 110px 0; text-align: center; }
.error-inner {
  max-width: 560px; margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 56px 30px;
}
.error-code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800; font-size: 120px; line-height: 1;
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  margin-bottom: 6px;
}
.error-inner h2 { font-size: 28px !important; margin-bottom: 10px !important; }
.error-inner p { color: var(--muted) !important; font-size: 16px; margin-bottom: 26px; }
.error-btn {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--brand-grad); color: #fff !important;
  font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 15px;
  padding: 13px 28px; border-radius: var(--radius-pill);
  box-shadow: var(--shadow-brand);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.error-btn:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(26, 118, 209, .7); }

/* ---------------------------------------------------------------------
   Xodimlar (staff) sahifasi
   ------------------------------------------------------------------- */
.staff-section { padding: 76px 0 !important; }
.staff-block { margin-bottom: 54px; }
.staff-block:last-child { margin-bottom: 0; }

.staff-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  height: 100%;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cfe0f4;
}
.staff-card__photo {
  position: relative;
  width: 100%; height: 240px;
  background: var(--bg-2);
  overflow: hidden;
}
.staff-card__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform .6s var(--ease);
}
.staff-card:hover .staff-card__photo img { transform: scale(1.06); }
.staff-card__ph {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  color: #b9cbe2; font-size: 60px;
  background: linear-gradient(135deg, #eef4fb, #e3edf8);
}
.staff-card__body { padding: 18px 18px 20px; text-align: center; }
.staff-card__name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 17px !important; font-weight: 700 !important;
  color: var(--ink) !important; margin: 0 0 5px !important;
  line-height: 1.35;
}
.staff-card__pos {
  color: var(--brand) !important; font-weight: 600;
  font-size: 13.5px !important; margin: 0 0 10px !important;
}
.staff-card__phone, .staff-card__mail {
  display: block; color: var(--muted) !important;
  font-size: 13px; margin-top: 4px;
}
.staff-card__phone i, .staff-card__mail i { color: var(--brand); margin-right: 5px; }
.staff-card__phone:hover, .staff-card__mail:hover { color: var(--brand) !important; }

@media (max-width: 575px) {
  .staff-card__photo { height: 190px; }
}

/* ---------------------------------------------------------------------
   Suzuvchi aloqa tugmalari (floating contact)
   ------------------------------------------------------------------- */
.float-contact {
  position: fixed;
  right: 20px; bottom: 84px;
  z-index: 9990;
  display: flex; flex-direction: column; gap: 12px;
}
.float-contact .fc-btn {
  /* ikonka o'ngda qotib turadi, yozuv uning chap tomonidan ochiladi */
  display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start;
  height: 54px; width: 54px;
  border-radius: 999px;
  color: #fff !important;
  overflow: hidden;
  white-space: nowrap;
  box-shadow: 0 12px 26px -8px rgba(15, 39, 68, .45);
  transition: width .35s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.float-contact .fc-btn i {
  flex: 0 0 54px;
  font-size: 22px;
  text-align: center; line-height: 54px;
}
.float-contact .fc-btn .fc-label {
  opacity: 0;
  padding-left: 18px;
  font-weight: 700; font-size: 14px;
  transition: opacity .25s var(--ease);
}
.float-contact .fc-btn:hover {
  width: 210px;
  transform: translateY(-2px);
}
.float-contact .fc-btn:hover .fc-label { opacity: 1; }
.float-contact .fc-tg { background: linear-gradient(135deg, #2aabee, #229ed9); }
.float-contact .fc-ig { background: linear-gradient(45deg, #feda75, #fa7e1e 30%, #d62976 60%, #962fbf 90%); }
.float-contact .fc-phone { background: linear-gradient(135deg, #1a76d1, #22b8e6); }
/* yengil "diqqat" pulsi */
.float-contact .fc-phone { animation: fcPulse 2.4s ease-in-out infinite; }
@keyframes fcPulse {
  0%, 100% { box-shadow: 0 12px 26px -8px rgba(15, 39, 68, .45), 0 0 0 0 rgba(26, 118, 209, .5); }
  50% { box-shadow: 0 12px 26px -8px rgba(15, 39, 68, .45), 0 0 0 14px rgba(26, 118, 209, 0); }
}
@media (max-width: 575px) {
  .float-contact { right: 14px; bottom: 74px; gap: 10px; }
  .float-contact .fc-btn { height: 48px; width: 48px; }
  .float-contact .fc-btn i { flex-basis: 48px; line-height: 48px; font-size: 20px; }
  .float-contact .fc-btn:hover { width: 180px; }
}

/* Pagination */
.pagination { gap: 6px; }
.pagination .page-link, .pagination a {
  border-radius: 10px !important;
  color: var(--brand) !important;
  border: 1px solid var(--line) !important;
  font-weight: 600;
}
.pagination .active .page-link, .pagination .page-item.active a {
  background: var(--brand-grad) !important;
  border-color: transparent !important;
  color: #fff !important;
}

/* ---------------------------------------------------------------------
   News list page (modern cards + sidebar)
   ------------------------------------------------------------------- */
.news-list-section { padding: 76px 0 !important; }

.block-head { margin-bottom: 26px; }
.block-title {
  font-size: 28px !important;
  font-weight: 800 !important;
  margin: 0 0 12px !important;
  position: relative;
}
.block-line {
  display: block; width: 64px; height: 4px; border-radius: 4px;
  background: var(--brand-grad);
}

.news-cards { display: flex; flex-direction: column; gap: 20px; }

.news-card {
  display: flex; gap: 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 16px;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #cfe0f4;
}
.news-card__media {
  flex: 0 0 210px;
  width: 210px; height: 150px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--bg-2);
}
.news-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.08); }
.news-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.news-card__title {
  font-size: 19px !important;
  font-weight: 700 !important;
  color: var(--ink) !important;
  margin: 2px 0 8px !important;
  line-height: 1.4;
  transition: color .25s var(--ease);
}
.news-card:hover .news-card__title { color: var(--brand) !important; }
.news-card__desc {
  color: var(--body) !important;
  font-size: 14.5px !important;
  line-height: 1.6;
  margin: 0 0 14px !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card__meta { margin-top: auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-2);
  color: var(--muted) !important;
  font-size: 12.5px; font-weight: 600;
  padding: 6px 12px; border-radius: var(--radius-pill);
}
.chip i { color: var(--brand); }
.news-card__more {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--brand) !important;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 13.5px;
  transition: gap .25s var(--ease);
}
.news-card:hover .news-card__more { gap: 12px; }

/* Empty state */
.empty-state {
  text-align: center;
  background: var(--card);
  border: 1px dashed #c9d8ea;
  border-radius: var(--radius);
  padding: 60px 30px;
}
.empty-state__icon {
  width: 84px; height: 84px; margin: 0 auto 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2); color: var(--brand);
  font-size: 34px; border-radius: 50%;
}
.empty-state h3 { font-size: 21px !important; margin-bottom: 8px !important; }
.empty-state p { color: var(--muted) !important; margin: 0; }

/* Sidebar (categories) */
.sidebar-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 24px;
  position: sticky; top: 96px;
}
.sidebar-card__title {
  font-size: 19px !important;
  font-weight: 800 !important;
  margin: 0 0 18px !important;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.sidebar-card__title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 48px; height: 3px; border-radius: 3px; background: var(--brand-grad);
}
.cat-list { display: flex; flex-direction: column; gap: 8px; }
.cat-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  color: var(--body) !important;
  font-weight: 600; font-size: 14.5px;
  background: var(--bg);
  border: 1px solid transparent;
  transition: all .25s var(--ease);
}
.cat-link i { color: var(--brand); font-size: 13px; }
.cat-link:hover {
  background: var(--bg-2) !important;
  color: var(--brand) !important;
  transform: translateX(3px);
}
.cat-link.active {
  background: var(--brand-grad) !important;
  color: #fff !important;
  box-shadow: var(--shadow-brand);
}
.cat-link.active i { color: #fff; }

@media (max-width: 767px) {
  .news-card { flex-direction: column; }
  .news-card__media { flex-basis: auto; width: 100%; height: 200px; }
  .sidebar-card { position: static; margin-top: 8px; }
}

/* ---------------------------------------------------------------------
   Clients / partners strip
   ------------------------------------------------------------------- */
.clients {
  padding: 46px 0 !important;
  background: #fff !important;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.clients.overlay::before { background: none !important; }
.clients .single-clients img {
  max-height: 58px; width: auto;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .3s var(--ease), opacity .3s var(--ease), transform .3s var(--ease);
}
.clients .single-clients:hover img { filter: grayscale(0); opacity: 1; transform: translateY(-3px); }

/* ---------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------- */
.footer {
  background: #0c2038 !important;
  color: #a9bcd4 !important;
}
.footer .footer-top { padding: 74px 0 44px !important; }
.footer .single-footer p,
.footer .single-footer li { color: #a9bcd4 !important; font-size: 14.5px !important; }
.footer .single-footer-img img { max-height: 66px; width: auto; margin-bottom: 18px; }
.footer .single-footer h2 {
  color: #fff !important;
  font-size: 19px !important;
  margin-bottom: 22px !important;
  position: relative;
  padding-bottom: 14px;
}
.footer .single-footer h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 46px; height: 3px; border-radius: 3px;
  background: var(--brand-grad);
}
.footer .single-footer.f-link ul li i { color: var(--accent) !important; margin-right: 10px; }
.footer .single-footer .social { display: flex; gap: 10px; margin-top: 18px; }
.footer .single-footer .social li a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px;
  background: rgba(255, 255, 255, .08) !important;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: #dbe7f6 !important;
  font-size: 16px;
  transition: all .25s var(--ease);
}
.footer .single-footer .social li a:hover {
  background: var(--brand) !important;
  border-color: var(--brand);
  color: #fff !important;
  transform: translateY(-3px);
}
.footer iframe { border-radius: var(--radius-md); border: 1px solid rgba(255, 255, 255, .1); min-height: 220px; }
.footer .copyright {
  background: #081729 !important;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding: 20px 0 !important;
}
.footer .copyright .copyright-content p { color: #8ba1bd !important; margin: 0; font-size: 13.5px; text-align: center; }

/* ---------------------------------------------------------------------
   Scroll-up button
   ------------------------------------------------------------------- */
#scrollUp {
  background: var(--brand-grad) !important;
  border-radius: 14px !important;
  box-shadow: var(--shadow-brand) !important;
  color: #fff !important;
  border: 0 !important;
  width: 46px !important; height: 46px !important;
  line-height: 46px !important;
}

/* ---------------------------------------------------------------------
   Reveal-on-scroll niceties for existing wow/aos elements
   ------------------------------------------------------------------- */
.wow { will-change: transform, opacity; }

/* ---------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------- */
@media (max-width: 991px) {
  .slider .single-slider { min-height: 500px !important; text-align: left; }
  .slider .single-slider h1, .slider .single-slider h1 span { font-size: 38px !important; }
  .slider .single-slider p { font-size: 17px !important; }
  .slider .single-slider .hero-ecg { height: 170px; top: 62%; }
  .header .header-inner { padding: 4px 0 !important; }
  .section-title h2 { font-size: 27px !important; }
  .fun-facts .single-fun { margin-bottom: 16px; }
}
@media (max-width: 575px) {
  .slider .single-slider { min-height: 440px !important; }
  .slider .single-slider h1, .slider .single-slider h1 span { font-size: 30px !important; }
  .slider .single-slider .text::before { font-size: 12px; }
  .breadcrumbs { padding: 100px 0 54px !important; }
  .breadcrumbs h2, .breadcrumbs .bread-inner h2 { font-size: 30px !important; }
  .single-news .news-head img { height: 200px; }
}

/* =========================================================================
   MAXSUS IMKONIYATLAR (Accessibility) paneli
   ========================================================================= */
/* Suzuvchi bog'lanish tugmalari yonida (o'ng past), o'sha guruh ustida */
.a11y-toggle {
  position: fixed; right: 20px; bottom: 288px;
  z-index: 9991; width: 54px; height: 54px;
  background: #0c2e56; color: #fff; border: none;
  border-radius: 999px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 26px -8px rgba(15, 39, 68, .5);
  transition: background .2s var(--ease), transform .25s var(--ease);
}
.a11y-toggle:hover { background: #1a76d1; transform: translateY(-2px); }
.a11y-toggle svg { width: 28px; height: 28px; }

.a11y-overlay {
  position: fixed; inset: 0; background: rgba(9, 27, 52, .38);
  z-index: 99998; opacity: 0; visibility: hidden; transition: opacity .25s;
}
.a11y-overlay.open { opacity: 1; visibility: visible; }

.a11y-panel {
  position: fixed; left: 0; top: 0; height: 100%; width: 380px; max-width: 92vw;
  background: #fff; z-index: 99999; overflow-y: auto;
  transform: translateX(-100%); transition: transform .3s cubic-bezier(.4, 0, .2, 1);
  box-shadow: 18px 0 50px -18px rgba(9, 27, 52, .5);
  padding: 0 22px 26px;
  font-family: inherit; color: #1a2942;
}
.a11y-panel.open { transform: translateX(0); }

.a11y-head {
  display: flex; align-items: center; justify-content: center; position: relative;
  padding: 20px 0 16px; margin-bottom: 8px; border-bottom: 1px solid #eef2f8;
}
.a11y-head h3 { margin: 0; font-size: 19px; font-weight: 700; color: #0c2e56; }
.a11y-close {
  position: absolute; left: 0; top: 16px; background: none; border: none;
  font-size: 28px; line-height: 1; cursor: pointer; color: #5b6b82; padding: 4px 8px;
}
.a11y-close:hover { color: #0c2e56; }

.a11y-contrast { display: flex; gap: 10px; margin: 16px 0 20px; }
.a11y-ct {
  flex: 1; height: 52px; border: 1px solid #e2e8f2; background: #f4f7fb;
  border-radius: 12px; cursor: pointer; color: #35496b;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
  transition: all .18s;
}
.a11y-ct:hover { border-color: #1a76d1; color: #1a76d1; }
.a11y-ct.is-active { background: #22324a; border-color: #22324a; color: #fff; }

.a11y-block { padding: 16px 0; border-top: 1px solid #eef2f8; }
.a11y-block > label:first-child {
  display: block; font-weight: 600; font-size: 15px; color: #2a3a55; margin-bottom: 12px;
}
.a11y-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.a11y-val {
  font-size: 12.5px; font-weight: 700; color: #fff; background: #22324a;
  padding: 2px 9px; border-radius: 6px; min-width: 46px; text-align: center;
}
.a11y-range { width: 100%; accent-color: #1a76d1; height: 6px; cursor: pointer; }

.a11y-check, .a11y-radio {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-size: 14.5px; color: #2a3a55; margin-right: 18px; margin-top: 4px;
}
.a11y-check input, .a11y-radio input { width: 17px; height: 17px; accent-color: #1a76d1; cursor: pointer; }
.a11y-voices { margin-top: 12px; }

.a11y-gt { min-height: 40px; }
.a11y-gt .goog-te-combo {
  width: 100% !important; padding: 10px 12px !important; border: 1px solid #e2e8f2 !important;
  border-radius: 10px !important; font-size: 14.5px !important; color: #2a3a55 !important;
  background: #f4f7fb !important; margin: 0 !important;
}

.a11y-btn {
  display: block; width: 100%; margin-top: 14px; padding: 14px;
  border: 1px solid #e2e8f2; background: #fff; border-radius: 12px;
  font-size: 15px; font-weight: 600; color: #22324a; cursor: pointer; transition: all .18s;
}
.a11y-btn:hover { border-color: #1a76d1; color: #1a76d1; }
.a11y-btn.is-active { background: #1a76d1; border-color: #1a76d1; color: #fff; }
.a11y-btn.a11y-reset { margin-top: 18px; background: #8a97a8; border-color: #8a97a8; color: #fff; }
.a11y-btn.a11y-reset:hover { background: #6f7d90; border-color: #6f7d90; color: #fff; }

/* --- Kontrast rejimlari (filtrlar html'ga; panel/rasm qayta tiklanadi) --- */
html.a11y-light { filter: contrast(1.4) saturate(1.15); }
html.a11y-dark { filter: invert(1) hue-rotate(180deg); background: #111 !important; }
html.a11y-dark img, html.a11y-dark video, html.a11y-dark iframe,
html.a11y-dark [style*="background-image"], html.a11y-dark .a11y-panel,
html.a11y-dark .a11y-toggle, html.a11y-dark .float-contact {
  filter: invert(1) hue-rotate(180deg);
}
html.a11y-bw { filter: grayscale(1); }

/* --- O'qish rejimi (Reading mode) --- */
html.a11y-reading .body-text, html.a11y-reading .news-article-content,
html.a11y-reading .single-info, html.a11y-reading .inner-content p,
html.a11y-reading .inner-content li {
  font-size: 19px !important; line-height: 1.95 !important;
  color: #1a2130 !important; font-family: Georgia, 'Times New Roman', serif !important;
  max-width: 820px; margin-left: auto; margin-right: auto;
}
html.a11y-reading .pf-details-slider, html.a11y-reading .news-video-file,
html.a11y-reading .image-slider { filter: saturate(.85); }

/* Google Translate — yuqoridagi banner va tanani surishni o'chiramiz */
.goog-te-banner-frame, .skiptranslate iframe { display: none !important; }
body { top: 0 !important; }
.goog-logo-link, .goog-te-gadget span { display: none !important; }
.goog-te-gadget { font-size: 0 !important; }
#goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
font { background: transparent !important; box-shadow: none !important; }

@media (max-width: 575px) {
  .a11y-panel { width: 320px; padding: 0 16px 22px; }
  .a11y-toggle { width: 48px; height: 48px; right: 16px; bottom: 250px; }
}

/* =========================================================================
   ONLINE QABULGA YOZILISH (Appointment)
   ========================================================================= */
.ap-section { padding: 60px 0 80px; }
.ap-wrap {
  display: grid; grid-template-columns: 1fr 320px; gap: 26px;
  align-items: start; max-width: 1060px; margin: 0 auto;
}
.ap-card {
  background: #fff; border: 1px solid #e7ecf5; border-radius: var(--radius-lg, 20px);
  padding: 34px 34px 30px; box-shadow: 0 24px 60px -34px rgba(15, 39, 68, .5);
}
.ap-head { margin-bottom: 24px; }
.ap-eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 700; color: var(--brand, #1a76d1); margin-bottom: 8px;
}
.ap-head h1 { margin: 0 0 10px; font-size: 30px; font-weight: 800; color: #0c2e56; letter-spacing: -.02em; }
.ap-head p { margin: 0; color: #5b6b82; font-size: 15.5px; line-height: 1.65; }

.ap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.ap-field { display: flex; flex-direction: column; gap: 7px; }
.ap-field.ap-col-2 { grid-column: 1 / -1; }
.ap-field > span { font-size: 14px; font-weight: 600; color: #2a3a55; }
.ap-field > span b { color: #e0483d; font-weight: 700; }

.ap-input {
  width: 100%; padding: 12px 14px; font-size: 15px; color: #1e2a44;
  background: #f7f9fc; border: 1.5px solid #e2e8f2; border-radius: 12px;
  font-family: inherit; transition: border-color .18s, box-shadow .18s, background .18s;
}
.ap-input::placeholder { color: #9aa7bc; }
.ap-input:focus {
  outline: none; background: #fff; border-color: var(--brand, #1a76d1);
  box-shadow: 0 0 0 4px rgba(26, 118, 209, .13);
}
textarea.ap-input { resize: vertical; min-height: 84px; }
select.ap-input { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6b82' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}

.ap-submit {
  margin-top: 22px; width: 100%; padding: 15px; border: none; cursor: pointer;
  background: linear-gradient(135deg, #1a76d1, #22b8e6); color: #fff;
  font-size: 16px; font-weight: 700; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  box-shadow: 0 16px 34px -14px rgba(26, 118, 209, .7);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.ap-submit:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -14px rgba(26, 118, 209, .8); }
.ap-note { margin: 14px 0 0; text-align: center; font-size: 13px; color: #8090a6; }
.ap-note i { color: #1a76d1; }

.ap-error-box, .ap-field .errorlist {
  list-style: none; margin: 4px 0 0; padding: 0; color: #d63a2f; font-size: 13px; font-weight: 600;
}
.ap-error-box { background: #fdecea; border: 1px solid #f5c6c2; border-radius: 10px; padding: 10px 14px; margin-bottom: 16px; }
.ap-input:not(:placeholder-shown):invalid { border-color: #eab4af; }

.ap-success {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; background: linear-gradient(160deg, #eafaf1, #dff5ea);
  border: 1px solid #b9e8cd; border-radius: 16px; padding: 26px 22px; margin-bottom: 26px;
}
.ap-success__icon {
  width: 54px; height: 54px; border-radius: 50%; background: #1eae5f; color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 6px;
  box-shadow: 0 10px 24px -8px rgba(30, 174, 95, .6);
}
.ap-success h3 { margin: 0; color: #147a41; font-size: 20px; font-weight: 800; }
.ap-success p { margin: 0; color: #2f7a52; font-size: 15px; }

/* yon panel */
.ap-side {
  background: #0c2e56; color: #eaf2fd; border-radius: 20px; padding: 26px 24px;
  position: sticky; top: 100px;
}
.ap-side h4 { margin: 0 0 16px; font-size: 17px; font-weight: 700; color: #fff; }
.ap-side__row {
  display: flex; align-items: center; gap: 12px; padding: 12px 0;
  color: #dbe8fa !important; border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 15px; font-weight: 600; transition: color .18s;
}
.ap-side__row:hover { color: #fff !important; }
.ap-side__row i { width: 34px; height: 34px; border-radius: 9px; background: rgba(255,255,255,.12);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.ap-side__note {
  display: flex; gap: 10px; margin-top: 18px; font-size: 13.5px; line-height: 1.55; color: #b9cae4;
}
.ap-side__note i { color: #56b6ff; margin-top: 2px; }

/* menyudagi CTA tugma */
.header .nav li a.nav-cta {
  background: linear-gradient(135deg, #1a76d1, #22b8e6); color: #fff !important;
  padding: 9px 18px !important; border-radius: 999px; font-weight: 700;
  box-shadow: 0 10px 22px -10px rgba(26, 118, 209, .7);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.header .nav li a.nav-cta::after { display: none !important; }
.header .nav li a.nav-cta:hover { transform: translateY(-2px); color: #fff !important; }

/* menyudagi AI-Doctor tugma (outline ko'rinish) */
.header .nav li a.nav-ai {
  border: 2px solid #17b6c9; color: #0e6f7c !important;
  padding: 7px 16px !important; border-radius: 999px; font-weight: 700;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.header .nav li a.nav-ai::after { display: none !important; }
.header .nav li a.nav-ai i { color: #17b6c9; }
.header .nav li a.nav-ai:hover {
  background: linear-gradient(135deg, #17b6c9, #1a76d1); color: #fff !important;
  transform: translateY(-2px);
}
.header .nav li a.nav-ai:hover i { color: #fff; }

/* DMED yo'naltirish banneri (qabulga yozilish sahifasi) */
.ap-dmed {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  background: linear-gradient(135deg, #e8f7f0, #e6f4fb); border: 1px solid #bfe3d4;
  border-radius: 14px; padding: 15px 18px; margin-bottom: 16px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.ap-dmed:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -14px rgba(14, 122, 95, .5); }
.ap-dmed__ic {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: linear-gradient(135deg, #0e9f6e, #0e7a5f); color: #fff;
  display: grid; place-items: center; font-size: 20px;
}
.ap-dmed__txt { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.ap-dmed__txt b { color: #0e7a5f; font-size: 15px; }
.ap-dmed__txt span { color: #6b7a90; font-size: 12.5px; line-height: 1.4; }
.ap-dmed__go { color: #0e7a5f; font-size: 16px; }
.ap-or {
  display: flex; align-items: center; text-align: center;
  color: #9aa8b8; font-size: 13px; margin: 0 0 16px;
}
.ap-or::before, .ap-or::after { content: ""; flex: 1; height: 1px; background: #e6ecf3; }
.ap-or span { padding: 0 14px; }

@media (max-width: 850px) {
  .ap-wrap { grid-template-columns: 1fr; }
  .ap-side { position: static; }
}
@media (max-width: 575px) {
  .ap-card { padding: 24px 18px; }
  .ap-grid { grid-template-columns: 1fr; }
  .ap-head h1 { font-size: 24px; }
}

/* ============ Butun sayt: harakatlanuvchi orqa fon ============ */
.site-bgfx { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.site-bgfx b {
  position: absolute; display: block; border-radius: 50%; filter: blur(65px); opacity: .4;
  animation: sitefloat 24s ease-in-out infinite;
}
.site-bgfx b:nth-child(1) { width: 480px; height: 480px; background: #1a76d1; top: -140px; left: -100px; }
.site-bgfx b:nth-child(2) { width: 400px; height: 400px; background: #22b8e6; top: 30%; right: -120px; animation-delay: -9s; }
.site-bgfx b:nth-child(3) { width: 440px; height: 440px; background: #17b6c9; bottom: -150px; left: 30%; animation-delay: -17s; }
.site-bgfx b:nth-child(4) { width: 340px; height: 340px; background: #4fb0f0; top: 6%; left: 50%; animation-delay: -22s; }
@keyframes sitefloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(60px, -50px) scale(1.15); }
  66% { transform: translate(-50px, 40px) scale(.92); }
}
@media (prefers-reduced-motion: reduce) { .site-bgfx b { animation: none; } }
