* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: #f7f5f0;
  color: #1e1e2a;
  overflow-x: hidden;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes floatAnimation {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(212, 163, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0); }
}
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-40px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  0% { opacity: 0; transform: translateX(40px); }
  100% { opacity: 1; transform: translateX(0); }
}
@keyframes borderGlow {
  0% { border-color: #d4a373; }
  50% { border-color: #e6c9a8; }
  100% { border-color: #d4a373; }
}
.animate-up { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.animate-down { animation: fadeDown 0.8s ease forwards; opacity: 0; }
.animate-scale { animation: scaleIn 0.7s ease forwards; opacity: 0; }
.animate-left { animation: slideInLeft 0.7s ease forwards; opacity: 0; }
.animate-right { animation: slideInRight 0.7s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ===== NAVBAR ===== */
.navbar-custom {
  background: rgba(26, 26, 43, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 163, 115, 0.12);
  transition: all 0.3s;
  padding: 12px 0;
}
.navbar-custom.scrolled {
  background: rgba(26, 26, 43, 0.97);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.navbar-custom .navbar-brand {
  font-weight: 800;
  color: #f5e7d9 !important;
  font-size: 1.7rem;
  letter-spacing: -0.5px;
}
.navbar-custom .navbar-brand i { color: #d4a373; margin-right: 10px; }
.navbar-custom .nav-link {
  color: #d6ccc0 !important;
  font-weight: 600;
  border-radius: 40px;
  padding: 8px 20px;
  transition: 0.3s;
  position: relative;
}
.navbar-custom .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #d4a373;
  transition: 0.3s;
  transform: translateX(-50%);
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
  width: 60%;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  background: rgba(212, 163, 115, 0.1);
  color: #fae8d8 !important;
}
.btn-outline-gold {
  border: 2px solid #d4a373;
  color: #d4a373;
  border-radius: 40px;
  padding: 8px 28px;
  font-weight: 700;
  transition: 0.3s;
}
.btn-outline-gold:hover {
  background: #d4a373;
  color: #1e1e2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 163, 115, 0.25);
}

/* ===== HERO SECTION ===== */
/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(145deg, #1a1a2b 0%, #2b2b42 50%, #1a1a2b 100%);
  padding: 7rem 0 5rem;
  margin-top: 68px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid #d4a373;
}

/* Декоративный фон */
.hero::before {
  content: '🏛️';
  position: absolute;
  font-size: 25rem;
  right: -60px;
  bottom: -80px;
  opacity: 0.04;
  transform: rotate(-8deg);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,163,115,0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

/* Бейдж */
.hero-badge {
  background: rgba(212, 163, 115, 0.15);
  border: 1px solid rgba(212, 163, 115, 0.25);
  border-radius: 60px;
  padding: 10px 28px;
  display: inline-block;
  color: #ecdac8;
  font-weight: 600;
  animation: pulseGlow 2.8s infinite;
  margin-bottom: 20px;
}

/* Заголовок */
.hero h1 {
  font-weight: 900;
  font-size: 4.6rem;
  color: #f5e7d9;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.hero h1 .highlight {
  color: #d4a373;
  position: relative;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 10px;
  background: #d4a373;
  opacity: 0.25;
  border-radius: 10px;
}

/* Текст */
.hero p {
  color: #c9bcae;
  font-size: 1.25rem;
  max-width: 520px;
  line-height: 1.7;
}

/* Кнопки */
.btn-hero {
  background: #d4a373;
  border: none;
  padding: 16px 44px;
  border-radius: 60px;
  font-weight: 700;
  font-size: 1.1rem;
  color: #1e1e2a;
  transition: 0.3s;
  box-shadow: 0 8px 30px rgba(212, 163, 115, 0.25);
}

.btn-hero:hover {
  background: #e6b88a;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 45px rgba(212, 163, 115, 0.35);
  color: #14141f;
}

.btn-hero-outline {
  background: transparent;
  border: 2px solid rgba(212, 163, 115, 0.4);
  padding: 14px 36px;
  border-radius: 60px;
  font-weight: 700;
  color: #ecdac8;
  transition: 0.3s;
}

.btn-hero-outline:hover {
  background: rgba(212, 163, 115, 0.1);
  border-color: #d4a373;
  color: #f5e7d9;
  transform: translateY(-3px);
}

/* Статистика */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.hero-stats .stat-item {
  text-align: center;
}

.hero-stats .stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #f5e7d9;
  display: block;
}

.hero-stats .stat-label {
  color: #b0a394;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-stats .stat-icon {
  color: #d4a373;
  font-size: 1.8rem;
  display: block;
  margin-bottom: 4px;
}

/* ===== ИЗОБРАЖЕНИЕ ===== */
.hero-image-wrapper {
  position: relative;
  display: inline-block;
}

.hero-image-inner {
  position: relative;
  padding: 12px;
  background: linear-gradient(145deg, rgba(212,163,115,0.15), rgba(212,163,115,0.05));
  border-radius: 32px;
  border: 1px solid rgba(212,163,115,0.15);
}

.hero-img {
  border-radius: 24px;
  max-height: 350px;
  object-fit: cover;
  width: 100%;
  transition: 0.4s;
  filter: saturate(1.05) brightness(0.95);
}

.hero-img:hover {
  transform: scale(1.01);
  filter: saturate(1.1) brightness(1);
}

/* Плавающие иконки */
.hero-float-icon {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 50px;
  height: 50px;
  background: rgba(212, 163, 115, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 163, 115, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a373;
  font-size: 1.4rem;
  animation: floatAnimation 4s ease-in-out infinite;
}

.hero-float-icon-2 {
  position: absolute;
  bottom: -10px;
  left: -10px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a373;
  font-size: 1rem;
  animation: floatAnimation 5s ease-in-out infinite reverse;
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(212, 163, 115, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 163, 115, 0); }
}

@keyframes floatAnimation {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.animate-up { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.animate-down { animation: fadeDown 0.8s ease forwards; opacity: 0; }
.animate-scale { animation: scaleIn 0.7s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Hero floating element */
.hero-float {
  animation: floatAnimation 4s ease-in-out infinite;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 30px;
  padding: 30px;
  text-align: center;
}
.hero-float i {
  font-size: 4rem;
  color: #d4a373;
}
.hero-float p {
  color: #c9bcae;
  font-size: 0.9rem;
  margin-top: 10px;
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-weight: 800;
  font-size: 2.6rem;
  letter-spacing: -1px;
  color: #1e1e2a;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 60px;
  height: 4px;
  background: #d4a373;
  border-radius: 10px;
}
.section-title.text-center::after {
  left: 50%;
  transform: translateX(-50%);
}
.section-subtitle {
  color: #6b5f51;
  font-size: 1.1rem;
  max-width: 600px;
}

/* ===== CATEGORY CARDS (Bo‘lim) ===== */
.category-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 32px 24px;
  height: 100%;
  border: 1px solid rgba(212, 163, 115, 0.08);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d4a373, #e6c9a8);
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}
.category-card:hover::before {
  transform: scaleX(1);
}
.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 24px 50px rgba(30, 30, 42, 0.08);
  border-color: #d4a37330;
}
.category-card .icon-circle {
  width: 70px;
  height: 70px;
  background: #f3ede7;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #d4a373;
  transition: 0.3s;
  margin-bottom: 16px;
}
.category-card:hover .icon-circle {
  background: #d4a373;
  color: #fff;
  transform: rotate(-6deg) scale(1.05);
}
.category-card .number {
  font-size: 3.2rem;
  font-weight: 900;
  color: #d4a373;
  opacity: 0.15;
  position: absolute;
  right: 20px;
  top: 16px;
  line-height: 1;
}
.category-card h4 {
  font-weight: 700;
  font-size: 1.3rem;
  color: #1e1e2a;
}
.category-card p {
  color: #4d4d5a;
  font-size: 0.95rem;
  margin-bottom: 0;
}
.category-card .btn-arrow {
  color: #d4a373;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s;
}
.category-card:hover .btn-arrow {
  gap: 14px;
  color: #b8865a;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes slideInLeft {
  0% { opacity: 0; transform: translateX(-20px); }
  100% { opacity: 1; transform: translateX(0); }
}
.animate-up { animation: fadeUp 0.6s ease forwards; opacity: 0; }
.animate-slide { animation: slideInLeft 0.5s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* ===== NAVBAR ===== */
.navbar-custom {
  background: rgba(26, 26, 43, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 163, 115, 0.15);
}
.navbar-custom .navbar-brand {
  font-weight: 800;
  color: #f5e7d9 !important;
  font-size: 1.7rem;
}
.navbar-custom .navbar-brand i { color: #d4a373; margin-right: 10px; }
.navbar-custom .nav-link {
  color: #d6ccc0 !important;
  font-weight: 600;
  border-radius: 40px;
  padding: 8px 20px;
  transition: 0.2s;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  background: rgba(212, 163, 115, 0.15);
  color: #fae8d8 !important;
}
.btn-outline-gold {
  border: 2px solid #d4a373;
  color: #d4a373;
  border-radius: 40px;
  padding: 8px 28px;
  font-weight: 700;
  transition: 0.2s;
}
.btn-outline-gold:hover {
  background: #d4a373;
  color: #1e1e2a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 163, 115, 0.25);
}

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, #1a1a2b 0%, #2b2b42 100%);
  padding: 7rem 0 3rem;
  margin-top: 68px;
  border-bottom: 4px solid #d4a373;
}
.page-header h1 {
  font-weight: 800;
  font-size: 2.8rem;
  color: #f5e7d9;
}
.page-header h1 span { color: #d4a373; }
.page-header p { color: #c9bcae; font-size: 1.1rem; }

/* ===== SIDEBAR ===== */
.sidebar {
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  border: 1px solid #eae3da;
  position: sticky;
  top: 100px;
}
.sidebar .section-title {
  font-weight: 700;
  font-size: 1.2rem;
  color: #1e1e2a;
  padding: 12px 16px;
  border-bottom: 2px solid #f0ebe5;
  margin-bottom: 8px;
}

/* ===== CONTENT BLOCK (o'ng) ===== */
.content-block {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  border: 1px solid #eae3da;
  min-height: 500px;
}
.content-block h2 {
  font-weight: 700;
  color: #1e1e2a;
  border-bottom: 2px dashed #d4a373;
  padding-bottom: 16px;
  margin-bottom: 20px;
}
.content-block .term {
  font-weight: 700;
  color: #d4a373;
}
.content-block p {
  line-height: 1.8;
  color: #2d2d3a;
}
.content-block .img-placeholder {
  background: #f3ede7;
  border-radius: 20px;
  padding: 24px 16px;
  text-align: center;
  color: #4a3f33;
  font-weight: 600;
  border: 2px dashed #d4a37360;
  transition: 0.2s;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.content-block .img-placeholder:hover {
  background: #d4a37320;
  border-color: #d4a373;
}
.content-block .img-placeholder i {
  font-size: 2.6rem;
  color: #d4a373;
  display: block;
  margin-bottom: 8px;
}
.content-block .img-placeholder small {
  font-weight: 400;
  color: #6b5f51;
  font-size: 0.8rem;
}

/* ===== FOOTER ===== */
.footer-custom {
  background: #1a1a2b;
  color: #b9ada0;
  border-top: 1px solid #2d2d42;
}
.footer-custom a {
  color: #d4a373;
  text-decoration: none;
  font-weight: 500;
}
.footer-custom a:hover { color: #eacbad; text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .sidebar { position: static; margin-bottom: 24px; }
  .page-header h1 { font-size: 2rem; }
}
@media (max-width: 768px) {
  .content-block { padding: 24px 18px; }
}

/* ===== NEWS SECTION ===== */
.news-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(212, 163, 115, 0.08);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
  height: 100%;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(30, 30, 42, 0.06);
  border-color: #d4a37330;
}
.news-card .news-img {
  height: 200px;
  background: linear-gradient(145deg, #eae3da, #d4c8b8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #b0a394;
}
.news-card .news-body {
  padding: 24px 22px 28px;
}
.news-card .news-tag {
  display: inline-block;
  background: #d4a37315;
  color: #d4a373;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 40px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.news-card h5 {
  font-weight: 700;
  font-size: 1.15rem;
  color: #1e1e2a;
  margin-bottom: 10px;
}
.news-card p {
  color: #4d4d5a;
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 14px;
}
.news-card .news-date {
  color: #9a8e80;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== QUICK LINKS / FEATURES ===== */
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(212, 163, 115, 0.06);
  transition: 0.3s;
  text-decoration: none;
  color: inherit;
}
.feature-item:hover {
  background: #d4a37308;
  border-color: #d4a37330;
  transform: translateX(6px);
}
.feature-item i {
  font-size: 1.8rem;
  color: #d4a373;
  min-width: 44px;
}
.feature-item .feature-text h6 {
  font-weight: 700;
  margin-bottom: 2px;
  color: #1e1e2a;
}
.feature-item .feature-text small {
  color: #7a6e60;
  font-size: 0.8rem;
}

/* ===== STATS COUNTER ===== */
.stats-section {
  background: linear-gradient(145deg, #1a1a2b, #2b2b42);
  padding: 4rem 0;
  border-top: 3px solid #d4a373;
  border-bottom: 3px solid #d4a373;
}
.stats-section .stat-box {
  text-align: center;
  padding: 20px;
}
.stats-section .stat-box .number {
  font-size: 3.2rem;
  font-weight: 900;
  color: #d4a373;
  display: block;
}
.stats-section .stat-box .label {
  color: #b9ada0;
  font-weight: 500;
  font-size: 1rem;
}
.stats-section .stat-box i {
  font-size: 2.4rem;
  color: #d4a373;
  opacity: 0.3;
  display: block;
  margin-bottom: 6px;
}

/* ===== FOOTER ===== */
.footer-custom {
  background: #1a1a2b;
  color: #b9ada0;
  border-top: 1px solid #2d2d42;
}
.footer-custom a {
  color: #d4a373;
  text-decoration: none;
  font-weight: 500;
  transition: 0.2s;
}
.footer-custom a:hover { color: #eacbad; text-decoration: underline; }
.footer-custom .footer-social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background: rgba(212, 163, 115, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: #d4a373;
  transition: 0.3s;
  margin-right: 8px;
}
.footer-custom .footer-social a:hover {
  background: #d4a373;
  color: #1a1a2b;
  text-decoration: none;
  transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .hero h1 { font-size: 3.2rem; }
  .hero { padding: 6rem 0 4rem; }
  .section-title { font-size: 2rem; }
  .stats-section .stat-box .number { font-size: 2.4rem; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.6rem; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-float { margin-top: 30px; }
  .category-card .number { font-size: 2.4rem; }
}
@media (max-width: 576px) {
  .hero h1 { font-size: 2.2rem; }
  .btn-hero { padding: 14px 32px; font-size: 1rem; }
}