:root{
	--bg-light:#fafdff;
	--cyber-blue:#4dc3ff;
	--cyber-purple:#8c6bff;
	--cyber-aqua:#91e4ff;
	--text-dark:#061a33;
	--muted:#5f7285;
	--glass:rgba(255,255,255,0.75);
	--radius:16px;
	--shadow:0 20px 60px rgba(8,30,60,0.08);
	--nav-h:72px;
}

*{box-sizing:border-box}
html,body{height:100%;scroll-behavior:smooth}
body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
	color: var(--text-dark);
	background: linear-gradient(180deg, #fafdff, #eef8ff 100%); /* <-- umumiy fon */
	-webkit-font-smoothing: antialiased;
}

/* HERO, CONTACT, FOOTER foni umumiy bo‘lsin */
.hero,
.contact,
.footer-modern {
	background: transparent; /* body fonini ishlatadi */
}

.container{max-width:1180px;margin:0 auto;padding:0 22px}

/* NAVBAR */
.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px);
}

.nav {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(200, 220, 255, 0.3);
  box-shadow: var(--shadow);
}

.brand {
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.brand p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}

.nav-links {
  display: flex;              
  align-items: center;
  gap: 14px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  transition: all 0.25s;
}

.nav-links a:hover {
  background: linear-gradient(
    90deg,
    rgba(77, 195, 255, 0.12),
    rgba(140, 107, 255, 0.1)
  );
  color: var(--cyber-purple);
}

.cta {
  background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-purple));
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 9px 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(77, 195, 255, 0.25);
  transition: transform 0.25s;
}

.cta:hover {
  transform: translateY(-2px);
}

/* Hamburger icon */
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  font-size: 26px;
  color: var(--text-dark);
  cursor: pointer;
  transition: transform 0.3s ease;
}

/* === Responsive === */
@media (max-width: 920px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
  }

  .nav-links.show {
    max-height: 400px;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
  }

  .nav-links a,
  .cta {
    width: 90%;
    text-align: center;
  }
}

/* DROPDOWN */
/* MUHIM FIX */
.nav {
  overflow: visible !important;
}

/* MENU ITEM */
.menu-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* BUTTON STYLE */
.menu-link,
.submenu-link {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 600;
  color: var(--text-dark);   /* ❗ qo‘sh */
}

/* hover ham bir xil bo‘lsin */
.menu-link:hover,
.submenu-link:hover {
  background: linear-gradient(
    90deg,
    rgba(77,195,255,0.12),
    rgba(140,107,255,0.1)
  );
  color: var(--cyber-purple);
}

/* DROPDOWN */
.dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  min-width: 220px;

  background: #fff;
  border-radius: 12px;
  padding: 8px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s;
  z-index: 9999;
}

/* SHOW */
.menu-item:hover > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* LINKS */
.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #061a33;
  text-decoration: none;
}

.dropdown a:hover {
  background: rgba(77,195,255,0.12);
}

/* SUBMENU */
.submenu-item {
  position: relative;
}

.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 200px;

  background: #fff;
  border-radius: 12px;
  padding: 8px;

  box-shadow: 0 15px 40px rgba(0,0,0,0.08);

  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: 0.25s;
}

/* SHOW SUBMENU */
.submenu-item:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
@media (max-width: 920px) {

  .menu-item .dropdown,
  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    padding: 0;
  }

  .menu-item.active .dropdown,
  .submenu-item.active .submenu {
    display: block;
  }

  .menu-link,
  .submenu-link {
    width: 100%;
    text-align: center;
  }
}



	
/* LOGO */
  .logo {
    position: relative;
    width: 50px;
    height: 50px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.3);

		border: 1px solid transparent;
		background-image: linear-gradient(#fff, #fff),
			linear-gradient(90deg, var(--cyber-blue), var(--cyber-purple));
		background-origin: border-box;
		background-clip: content-box, border-box;
	}

  .logo img {
    width: 47px;
    height: 47px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 4px rgba(0, 255, 255, 0.4));
    animation: logoGlow 4s ease-in-out infinite alternate;
  }

  @keyframes logoGlow {
    from {
      filter: drop-shadow(0 0 3px rgba(0, 255, 255, 0.3));
    }
    to {
      filter: drop-shadow(0 0 6px rgba(0, 255, 255, 0.7));
    }
  }

  /* 🌈 Dumaloq nur halqasi */
  .logo::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(
      from 0deg,
      rgba(0, 255, 255, 0.1),
      rgba(0, 255, 255, 0.6),
      rgba(0, 255, 255, 0.1)
    );
    animation: ringRotate 6s linear infinite;
    z-index: 1;
  }

  @keyframes ringRotate {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }

  /* 💥 Logoning ustidan o‘tadigan “yorqin nur” */
  .logo::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -150%;
    width: 250%;
    height: 250%;
    background: linear-gradient(
      120deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.8) 50%,
      rgba(255, 255, 255, 0) 100%
    );
    border-radius: 50%;
    transform: rotate(25deg);
    animation: shineSweep 8s ease-in-out infinite;
    z-index: 3;
    pointer-events: none;
  }

  @keyframes shineSweep {
    0% {
      top: -120%;
      left: -150%;
    }
    50% {
      top: 100%;
      left: 150%;
    }
    100% {
      top: -120%;
      left: -150%;
    }
  }

  /* 🔵 Aylanadigan nuqta */
  .dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, #00ffff, #0044ff);
    opacity: 0;
    animation: orbit 3s linear forwards;
    pointer-events: none;
    z-index: 4;
  }

  @keyframes orbit {
    0% {
      transform: rotate(0deg) translateX(25px) rotate(0deg);
      opacity: 1;
    }
    70% {
      opacity: 1;
    }
    100% {
      transform: rotate(360deg) translateX(25px) rotate(-360deg);
      opacity: 0;
    }
  }
	
	
	/* LOGO YOZUVI: science & innovation */
	.shiny-text {
    font-family: "Poppins", sans-serif;
    font-size: 2em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(
      270deg,
      #a855f7,
      #3b82f6,
      #10b981,
      #facc15,
      #f472b6,
      #a855f7
    );
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineMove 10s ease-in-out infinite;
    text-shadow:
      0 0 8px rgba(255, 255, 255, 0.3),
      0 0 16px rgba(0, 255, 200, 0.15);
  }

  .shiny-subtext {
    font-family: "Poppins", sans-serif;
    font-size: 1.1em;
    font-weight: 500;
    margin-top: 0.5rem;
    background: linear-gradient(
      270deg,
      #3b82f6,
      #10b981,
      #facc15,
      #a855f7,
      #f472b6,
      #3b82f6
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shineMove 12s linear infinite;
    text-shadow:
      0 0 6px rgba(255, 255, 255, 0.2),
      0 0 10px rgba(0, 255, 200, 0.1);
  }

  @keyframes shineMove {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }



  /* HERO */
.hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at top, #edf6ff 0%, #f9fbff 100%);
  padding: 80px 20px 50px; /* juda ixcham */
}

@keyframes floatStars {
  0% { transform: translateY(0) scale(1); opacity: .5; }
  50% { transform: translateY(-50px) scale(1.3); opacity: 1; }
  100% { transform: translateY(0) scale(1); opacity: .5; }
}



/* Harakatlanuvchi fon (aurora) */
.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 180deg, #00bfff33, #7f00ff33, #00ffff33, #00bfff33);
  animation: auroraMove 12s linear infinite;
  filter: blur(120px);
  z-index: 0;
}

@keyframes auroraMove {
  0% { transform: rotate(0deg) translate(-10%, -10%); }
  100% { transform: rotate(360deg) translate(10%, 10%); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.gradient-text {
  background: linear-gradient(90deg, #0066ff, #00eaff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.lead {
  color: #4b5d73;
  max-width: 620px;
  margin: 20px auto 40px;
  font-size: 1.1rem;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta {
  background: linear-gradient(90deg, #007bff, #00eaff);
  color: white;
  border: none;
  padding: 14px 30px;
  border-radius: 40px;
  font-weight: 600;
  transition: transform 0.25s ease-out;
  box-shadow: 0 0 20px rgba(0, 187, 255, 0.3);
}

.cta:hover {
  box-shadow: 0 0 25px rgba(0, 187, 255, 0.6);
  transform: translateY(-3px) scale(1.03);
}


.underline {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00eaff);
  transition: 0.3s;
  opacity: 0.6;
}

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

.kpi-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
  flex-wrap: wrap;
}

.kpi {
  font-weight: 600;
  color: #0b1f3a;
  font-size: 1.1rem;
}

.kpi strong {
  display: block;
  font-size: 1.6rem;
  color: #007bff;
}

.kpi span {
  font-size: 0.9rem;
  opacity: 0.8;
}



  /* FEATURE CARDS */
  .feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:24px}
  .feature{
    background:rgba(255,255,255,0.9);
    border-radius:14px;padding:18px;
    border:1px solid rgba(77,195,255,0.15);
    box-shadow:0 12px 28px rgba(8,30,60,0.05);
    transition:transform .3s, box-shadow .3s;
  }
  .feature:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(8,30,60,0.1);}
  .feature h4{margin:0 0 6px;color:var(--text-dark)}
  .feature p{margin:0;color:var(--muted)}
  @media(max-width:860px){.feature-grid{grid-template-columns:repeat(2,1fr)}}
  @media(max-width:560px){.feature-grid{grid-template-columns:1fr}}

  /* SECTIONS */
  section.block{padding:60px 0; background: transparent;}
  .section-head{text-align:center;margin-bottom:30px}
  .section-head h3{font-size:22px;margin:0;color:var(--text-dark)}
  .section-head p{margin:8px 0 0;color:var(--muted)}

  .cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
  .card{
    background:rgba(255,255,255,0.95);
    border-radius:14px;padding:20px;
    border:1px solid rgba(77,195,255,0.12);
    box-shadow:var(--shadow);
    transition:transform .3s;
  }
  .card:hover{transform:translateY(-6px);}
  .card h4{margin:0 0 8px;color:var(--text-dark)}
  .card p{margin:0;color:var(--muted)}
  @media(max-width:1000px){.cards{grid-template-columns:repeat(2,1fr)}}
  @media(max-width:720px){.cards{grid-template-columns:1fr}}

/* yomg'ir effekti */
.rain-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.drop {
  position: absolute;
  bottom: 100%;
  width: 1.5px;
  height: 14px;
  background: linear-gradient(to bottom, rgba(140,107,255,0.7), rgba(77,195,255,0.2));
  border-radius: 50%;
  opacity: 0.45;
  animation: dropFall linear infinite;
  filter: blur(0.5px);
}

@keyframes dropFall {
  0% {
    transform: translateY(0);
    opacity: 0.6;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0;
  }
}




  /* SERVICES  */
.services-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(180deg, #f9fbff 0%, #eaf7ff 100%);
}

/* Matn ustida bo‘lishi uchun */
.services-section .content {
  position: relative;
  z-index: 5;
}

/* Yuqori va pastdagi egri chiziqlar */
.services-section .wave-top,
.services-section .wave-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 0;
  opacity: 1;
}

/* Yuqoridagi egri chiziq */
.services-section .wave-top {
  top: 0;
  transform: translateY(-1px);
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 150" xmlns="http://www.w3.org/2000/svg"><path fill="%23eaf7ff" d="M0,64L48,58.7C96,53,192,43,288,64C384,85,480,139,576,160C672,181,768,171,864,149.3C960,128,1056,96,1152,74.7C1248,53,1344,43,1392,37.3L1440,32L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
}

/* Pastdagi egri chiziq */
.services-section .wave-bottom {
  bottom: 0;
  transform: translateY(1px);
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 150" xmlns="http://www.w3.org/2000/svg"><path fill="%23f9fbff" d="M0,128L80,117.3C160,107,320,85,480,85.3C640,85,800,107,960,112C1120,117,1280,107,1360,101.3L1440,96L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>');
}

/* Nurli (glow) effektlar */
.services-section::before,
.services-section::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
}

.services-section::before {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(77,195,255,0.25) 0%, transparent 70%);
  top: 20%;
  left: 10%;
  animation: floatGlow 10s ease-in-out infinite alternate;
}

.services-section::after {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(140,107,255,0.25) 0%, transparent 70%);
  bottom: 10%;
  right: 15%;
  animation: floatGlow 12s ease-in-out infinite alternate-reverse;
}

@keyframes floatGlow {
  from { transform: translateY(0px); opacity: 0.9; }
  to { transform: translateY(25px); opacity: 0.6; }
}





  /* PROJECTS & AWARDS  */
#projects {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #f3faff 0%, #eff8ff 100%);
  overflow: hidden;
}

#projects::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(255,255,255,0.2) 0%, transparent 70%);
  transform: rotate(30deg);
  pointer-events: none;
}

.project-card {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border-radius: 16px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-top: 4px solid var(--accent);
  transition: all 0.4s ease;
}
.project-card .icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent), #ffffff);
  color: #fff;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.project-card:hover .icon {
  transform: scale(1.1) rotate(6deg);
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, var(--accent)20%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.project-card:hover::after {
  opacity: 0.2;
}
.project-card h4 {
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-dark);
}
.project-card p {
  color: var(--muted);
  font-size: 0.95rem;
}
#projects::before,
#projects::after {
  content: none;
}
.project-btn {
	position: absolute;
	bottom: 10px;
	right: 10px;
	background: linear-gradient(135deg, #4dc3ff, #8c6bff);
	color: white;
	padding: 4px 6px;
	border-radius: 50%;
	text-decoration: none;
	font-size: 10px;
	font-weight: bold;
	z-index: 9999;
	vertical-align: middle;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-btn:hover {
	transform: scale(1.15);
	box-shadow: 0 0 15px rgba(77,195,255,0.7);
}



/* MEMORANDUMLAR */
.memorandums-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: linear-gradient(180deg, #e9f4ffa1 0%, #e6fbfdb8 100%);
}

.memorandums-section .content {
  position: relative;
  z-index: 3;
}

.memorandum-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 50px;
}

.memo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.memo-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.memo-card:hover img {
  transform: scale(1.07);
}

.memo-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  color: #fff;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.memo-card:hover .overlay {
  opacity: 1;
  transform: translateY(0);
}

.memo-card .overlay h5 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 4px;
}

.memo-card .overlay p {
  font-size: 14px;
  opacity: 0.9;
}

/* To‘lqinli fon */
.memorandums-section .wave-top,
.memorandums-section .wave-bottom {
  position: absolute;
  left: 0;
  width: 100%;
  height: 120px;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  pointer-events: none;
}

.memorandums-section .wave-top {
  top: 0;
  transform: translateY(-1px);
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 150" xmlns="http://www.w3.org/2000/svg"><path fill="%23eef8ff" d="M0,64L80,85.3C160,107,320,149,480,149.3C640,149,800,107,960,85.3C1120,64,1280,64,1360,74.7L1440,85L1440,0L1360,0C1280,0,1120,0,960,0C800,0,640,0,480,0C320,0,160,0,80,0L0,0Z"></path></svg>');
}

.memorandums-section .wave-bottom {
  bottom: 0;
  transform: translateY(1px);
  background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1440 150" xmlns="http://www.w3.org/2000/svg"><path fill="%23f9fbff" d="M0,96L48,90.7C96,85,192,75,288,96C384,117,480,171,576,176C672,181,768,139,864,128C960,117,1056,139,1152,133.3C1248,128,1344,96,1392,80L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
}


/* PARTNER */
/* PARTNER */
.partner {
  background: linear-gradient(135deg, #ebfbfd 0%, #ebfbfe 100%);
  padding: 50px 20px;
  border-radius: 12px;
  text-align: center;
  color: #000;
}

/* WRAPPER endi oddiy container */
.partner-slider-wrapper {
  margin-top: 30px;
}

/* ❌ eski flex o‘rniga GRID */
.partner-track {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 18px;
}

/* CARD */
.partner-card {
  width: 100%;
  height: 100px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

/* ❗ MUHIM: logo kesilmasin */
.partner-card img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* cover emas */
  padding: 10px;
}

/* overlay */
.partner-card .overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent, rgba(0,123,255,0.85));
  color: #fff;
  font-size: 11px;
  text-align: center;
  padding: 6px;
  opacity: 0;
  transition: 0.3s;
}

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




/* CONTACT */
.contact {
  padding: 100px 20px;
  background: transparent; /* ❌ radial-gradient o‘rniga */
  text-align: center;
}

.contact .section-head h3 {
  font-size: 2rem;
  background: linear-gradient(90deg, #006eff, #00c3ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.contact .contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
  margin-top: 50px;
  align-items: start;
}

.contact-info {
  text-align: left;
}

.contact-info h4 {
  font-size: 1.4rem;
  color: #003366;
  margin-bottom: 10px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #444;
  margin-bottom: 10px;
  font-size: 1rem;
}

.contact-info i {
  color: #007bff;
  font-size: 1.3rem;
}

.socials a {
  display: inline-block;
  font-size: 1.3rem;
  margin-right: 12px;
  color: #007bff;
  transition: 0.3s;
}

.socials a:hover {
  color: #00c3ff;
  transform: scale(1.2);
}

.contact-form {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.1);
  padding: 35px 30px;
  text-align: left;
}

.contact-form .form-group {
  margin-bottom: 18px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid #d6e6ff;
  font-size: 1rem;
  transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 10px rgba(0, 123, 255, 0.1);
}

.contact-form .cta {
  background: linear-gradient(90deg, #007bff, #00c3ff);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form .cta:hover {
  background: linear-gradient(90deg, #005ecb, #00a9e6);
  transform: scale(1.03);
}


/* FOOTER */
.footer-modern {
  background: #eff9ff82;
  border-top: 1px solid rgba(0, 123, 255, 0.1);
  padding: 60px 20px 30px;
  color: #34495e;
  font-family: 'Inter', sans-serif;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: start;
}

.footer-col h5 {
  color: #003366;
  font-weight: 700;
  margin-bottom: 14px;
  font-size: 1rem;
  position: relative;
}

.footer-col h5::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00eaff);
  margin-top: 6px;
  border-radius: 4px;
}

.footer-col p {
  font-size: 0.95rem;
  color: #5f7285;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
  color: #4b5d73;
  font-size: 0.95rem;
}

.footer-col a {
  text-decoration: none;
  color: #007bff;
  transition: 0.3s;
}

.footer-col a:hover {
  color: #00bfff;
}

.footer-col i {
  color: #007bff;
  margin-right: 8px;
}

.socials {
  margin-top: 14px;
}

.socials a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: #007bff;
  background: rgba(0, 123, 255, 0.08);
  margin-right: 8px;
  transition: 0.3s;
}

.socials a:hover {
  background: linear-gradient(90deg, #007bff, #00eaff);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 0 16px rgba(0, 187, 255, 0.4);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 0.9rem;
  color: #5f7285;
  border-top: 1px solid rgba(0, 123, 255, 0.08);
  padding-top: 20px;
}

  
/* TO-TOP */
.to-top{
	position:fixed;right:18px;bottom:18px;z-index:99;
	width:48px;height:48px;border-radius:50%;
	display:flex;align-items:center;justify-content:center;
	border:none;cursor:pointer;
	background:linear-gradient(90deg,var(--cyber-blue),var(--cyber-purple));
	color:#fff;box-shadow:0 10px 36px rgba(77,195,255,0.25);
	opacity:0;transform:translateY(14px);
	transition:all .25s;
}
.to-top.show{opacity:1;transform:translateY(0)}

	



/* BOOKS */
.books-section {
  padding: 100px 0;
  background: transparent; /* ❌ radial-gradient o‘rniga */
  text-align: center;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
}

/* CARD */
.book-card {
  background: rgba(255,255,255,0.9);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(77,195,255,0.15);
  box-shadow: 0 10px 30px rgba(8,30,60,0.06);
  transition: all 0.35s ease;
  position: relative;
}

.book-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 50px rgba(8,30,60,0.12);
}

/* COVER */
.book-cover {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #f2f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
}


.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.4s ease;
}

.book-card:hover img {
  transform: scale(1.08);
}

/* INFO */
.book-info {
  padding: 14px;
}

.book-info h4 {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--text-dark);
}

.book-info p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
}


/* RESPONSIVE */
@media (max-width: 600px) {
  .book-cover {
    height: 200px;
  }
}

.book-card-link{
 text-decoration: none;
}
.book-detail{
  padding-top: 70px;
}

.book-detail-wrapper{
  display:flex;
  gap:40px;
  align-items:flex-start;
}

.book-detail-cover img{
  width:320px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.book-detail-info h1{
  margin-bottom:15px;
}

.book-detail-info p{
  margin:6px 0;
}

.description{
  margin-top:15px;
  line-height:1.6;
}

.btn-back{
  display:inline-block;
  margin-top:20px;
  padding:10px 15px;
  background:#4dc3ff;
  color:#fff;
  border-radius:8px;
  text-decoration:none;
}



/* RAHBARIYAT SECTION */
/* BUTUN SAHIFA MARKAZLASH */
.full-page-center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    padding: 40px 20px;
}

/* AURORA FON (Sizning kodingizdan) */
.animated-bg {
    position: fixed;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: conic-gradient(from 180deg, #00bfff22, #7f00ff22, #00ffff22, #00bfff22);
    animation: auroraMove 15s linear infinite;
    filter: blur(120px);
    z-index: 0;
}

@keyframes auroraMove {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* RAHBARIYAT KONTEYNERI */
.leadership-container {
    max-width: 900px;
    margin: 0 auto;
}

.leader-card {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    border-radius: 30px;
    border: 1px solid rgba(77, 195, 255, 0.3);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    padding: 50px;
    gap: 50px;
}

/* RASM EFFEKTI */
.leader-visual {
    flex-shrink: 0;
}

.leader-image-circle {
    position: relative;
    width: 250px;
    height: 250px;
}

.leader-image-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    z-index: 2;
}

.orbit-ring {
    position: absolute;
    top: -15px; left: -15px; right: -15px; bottom: -15px;
    border: 2px dashed var(--cyber-blue);
    border-radius: 50%;
    animation: ringRotate 20s linear infinite;
    opacity: 0.6;
}

@keyframes ringRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* MATNLI QISM */
.leader-details {
    text-align: left;
}

.gradient-text {
    background: linear-gradient(90deg, #0066ff, #00eaff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    font-size: 3rem;
    margin: 0;
}

.badge {
    background: linear-gradient(90deg, var(--cyber-blue), var(--cyber-purple));
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.leader-details h1 {
    font-size: 2.2rem;
    color: var(--text-dark);
    margin: 15px 0;
}

.bio {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--text-dark);
    font-weight: 600;
}

.meta-item i {
    color: var(--cyber-blue);
}

.leader-socials {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.leader-socials a {
    width: 45px;
    height: 45px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyber-blue);
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
}

.leader-socials a:hover {
    background: var(--cyber-blue);
    color: #fff;
    transform: translateY(-5px);
}


@keyframes dropFall {
    to { transform: translateY(110vh); }
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .leader-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    .leader-details {
        text-align: center;
    }
    .leader-meta {
        display: inline-block;
        text-align: left;
    }
    .leader-socials {
        justify-content: center;
    }
    .gradient-text { font-size: 2rem; }
}

/* NEWS */
.news-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #f9fbff 0%, #eef8ff 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.news-card {
  background: rgba(255,255,255,0.95);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
  position: relative;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

/* IMAGE */
.news-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.news-card:hover img {
  transform: scale(1.08);
}

/* CONTENT */
.news-content {
  padding: 18px;
}

.news-content .date {
  font-size: 13px;
  color: #7a8ca5;
}

.news-content h4 {
  margin: 8px 0;
  font-size: 17px;
  color: #061a33;
}

.news-content p {
  font-size: 14px;
  color: #5f7285;
}

/* LINK */
.read-more {
  display: inline-block;
  margin-top: 10px;
  font-size: 14px;
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

.read-more::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #007bff, #00eaff);
  transition: 0.3s;
}

.read-more:hover::after {
  width: 100%;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* NEWS DETAIL */
.news-detail {
  padding: 100px 0;
  background: linear-gradient(180deg, #f9fbff 0%, #eef8ff 100%);
}

/* HEADER */
.news-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
}

.news-header h1 {
  font-size: 28px;
  margin: 10px 0;
  color: #061a33;
}

.news-header .meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 14px;
  color: #6c7f95;
}

/* IMAGE */
.news-cover {
  margin: 30px 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.news-cover img {
  width: 100%;
  display: block;
}

/* CONTENT */
.news-body {
  max-width: 800px;
  margin: auto;
  font-size: 16px;
  line-height: 1.7;
  color: #2d3e50;
  text-align: justify;       /* Matnni ikki yonga tekshlash (kenglik bo'yicha yoyish) */
  text-justify: inter-word;  /* So'zlar orasidagi masofani brauzer chiroyli taqsimlashi uchun */
}

.news-body p {
  margin-bottom: 18px;
  text-indent: 30px;         /* Har bir yangi xatboshi (abzats) boshidan 30px joy tashlash */
  margin-bottom: 12px;       /* Paragraflar bir-biriga yopishib ketmasligi uchun pastki bo'shliq */
  line-height: 1.6;          /* Matn o'qilishiga qulay bo'lishi uchun qatorlar oralig'i */
}

/* Istisno: Agarda paragraf ichida rasm (figure yoki img) bo'lsa, abzats joyi tashlanmaydi */
.news-body p img,
.news-body figure {
    text-indent: 0 !important;
}

/* GALLERY */
.news-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 25px 0;
}

.news-gallery img {
  width: 100%;
  border-radius: 10px;
  transition: 0.3s;
}

.news-gallery img:hover {
  transform: scale(1.05);
}


/* RESPONSIVE */
@media(max-width:700px){
  .news-gallery {
    grid-template-columns: 1fr;
  }
}

.figure img{
    width: 100%;
    height: auto;
    border-radius: 6px;
}
figure {
    margin: 10px 0; /* tepasi va pasti */
    padding: 0;
}


.journals-section{
  padding: 100px 0;
}
.journals-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.journal-row-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.journal-row-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.journal-card-link {
  display: flex;
  text-decoration: none;
  color: #333;
}

.journal-card-link:hover {
  text-decoration: none;
  color: #333;
}

.journal-cover {
  width: 140px;
  min-width: 140px;
  height: 190px;
  background: #f5f5f5;
}

.journal-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.journal-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.journal-info h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #0056b3;
}

.journal-publisher {
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.journal-description {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.journal-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.badge-success {
  background: #d4edda;
  color: #155724;
}

.badge-date {
  font-size: 12px;
  color: #777;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 30px;
}

.pagination a {
  padding: 8px 14px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: #007bff;
  border-radius: 4px;
}

.pagination a.active {
  background: #007bff;
  color: #fff;
  border-color: #007bff;
}

.pagination a:hover:not(.active) {
  background: #f1f1f1;
}

.no-records {
  text-align: center;
  color: #999;
  font-style: italic;
  padding: 40px;
}
.btn-download:hover {
    background-color: #34495e;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.book-detail-info {
    font-family: sans-serif;
    line-height: 1.6;
}

.book-detail-info h1 {
    color: #2c3e50;
    margin-bottom: 15px;
}
.book-cover {
    position: relative; /* Essential for absolute positioning of the badge */
}

.file-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(44, 62, 80, 0.85); /* Dark blue/grey, semi-transparent */
    color: #fff;
    padding: 3px 8px;
    font-size: 10px;
    border-radius: 3px;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 0.5px;
    backdrop-filter: blur(2px); /* Adds a nice frosted glass effect */
    pointer-events: none; /* Allows clicking through it */
}

/* Optional: Add a slight hover effect if you want it more visible on hover */
.book-card:hover .file-indicator {
    background-color: rgba(44, 62, 80, 1);
}