/* ===================================================
   RUSSIA PAGE — ENHANCED STYLESHEET
   BJ Education Consultancy
=================================================== */

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
  background: #f8fafc;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #64748b;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: #2563eb; }
.breadcrumb .current {
  color: #0f172a;
  font-weight: 500;
}
.breadcrumb span { color: #cbd5e1; }

/* ===== COUNTRY HERO ===== */
.country-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #050c1a;
  color: #fff;
  overflow: hidden;
  padding: 130px 0 90px;
}

/* Deep layered gradient — Russian tricolour inspired */
.country-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%,  rgba(200,16,46,0.28) 0%,  transparent 55%),
    radial-gradient(ellipse 70% 50% at 50% 110%,  rgba(0,57,166,0.22) 0%,  transparent 55%),
    radial-gradient(ellipse 45% 45% at 90% 40%,  rgba(200,16,46,0.1)  0%,  transparent 60%),
    radial-gradient(ellipse 35% 35% at 5%  60%,  rgba(0,57,166,0.08)  0%,  transparent 60%);
  z-index: 1;
  animation: heroPulse 10s ease-in-out infinite alternate;
}
@keyframes heroPulse {
  from { opacity: 1; }
  to   { opacity: 0.8; }
}

/* Dot-grid texture */
.country-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 38px 38px;
  z-index: 1;
}

/* Russian flag watermark — centred */
.hero-flag-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 680px;
  height: 480px;
  background: url('https://flagcdn.com/w640/ru.png') no-repeat center / contain;
  opacity: 0.035;
  z-index: 0;
  filter: blur(2px);
  pointer-events: none;
}

/* Container override so everything centres */
.country-hero > .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}

/* Hero content — perfectly centred */
.country-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 900px;
  width: 100%;
}

/* ── Badge ── */
.country-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 22px;
  border-radius: 50px;
  margin-bottom: 30px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  animation: fadeDown 0.6s ease both;
}
.country-badge img {
  width: 30px;
  height: 21px;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

/* ── H1 — fully white with orange accent ── */
.country-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 0;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  animation: fadeUp 0.7s ease 0.1s both;
}

/* Orange highlighted words */
.country-hero h1 .accent {
  color: #fb923c;
  position: relative;
  display: inline-block;
  white-space: nowrap;
}
.country-hero h1 .accent::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f97316, #fb923c);
  border-radius: 2px;
  opacity: 0.7;
}

/* Glowing divider line below h1 */
.hero-divider {
  display: block;
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #f97316, transparent);
  border-radius: 2px;
  margin: 20px auto 0;
  animation: fadeUp 0.7s ease 0.15s both;
}

/* ── Subtitle ── */
.country-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  max-width: 680px;
  margin: 28px auto 0;
  animation: fadeUp 0.7s ease 0.2s both;
}

/* ── Highlight pills ── */
.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
  justify-content: center;
  animation: fadeUp 0.7s ease 0.3s both;
}
.hero-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.22);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  backdrop-filter: blur(6px);
}
.hero-highlight:hover {
  background: rgba(16,185,129,0.22);
  border-color: rgba(16,185,129,0.45);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 24px rgba(16,185,129,0.18);
}
.hero-highlight svg {
  color: #10b981;
  flex-shrink: 0;
}

/* ── CTA buttons ── */
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 44px;
  animation: fadeUp 0.7s ease 0.4s both;
}
.hero-cta .btn-primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  padding: 15px 34px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  box-shadow: 0 8px 28px rgba(249,115,22,0.38);
  transition: all 0.28s ease;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-cta .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(249,115,22,0.48);
}
.hero-cta .btn-secondary {
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.22);
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  color: #fff;
  transition: all 0.28s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-cta .btn-secondary:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.38);
  transform: translateY(-2px);
}

/* ── Scroll indicator ── */
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: bounce 2.2s ease-in-out infinite;
}
.hero-scroll span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255,255,255,0.25);
  border-radius: 14px;
  position: relative;
}
.hero-scroll span::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 7px;
  background: rgba(255,255,255,0.45);
  border-radius: 2px;
  animation: scrollDot 2.2s ease-in-out infinite;
}
.hero-scroll p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 !important;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(7px); }
}
@keyframes scrollDot {
  0%   { opacity: 1; top: 6px; }
  100% { opacity: 0; top: 18px; }
}

/* ===== KEYFRAMES ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
  padding: 80px 0;
}
.content-section.bg-light {
  background: #f8fafc;
}
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 52px;
  align-items: start;
}
.content-main h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 18px;
  margin-top: 44px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}
.content-main h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: #2563eb;
  border-radius: 2px;
}
.content-main h2:first-child { margin-top: 0; }
.content-main h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin: 28px 0 12px;
}
.content-main p {
  color: #475569;
  line-height: 1.82;
  margin-bottom: 16px;
  font-size: 0.98rem;
}
.content-main ul,
.content-main ol {
  margin: 14px 0 22px 18px;
  color: #475569;
}
.content-main li {
  margin-bottom: 10px;
  line-height: 1.72;
  font-size: 0.97rem;
}
.content-main li strong { color: #1e293b; }

/* ===== SIDEBAR ===== */
.content-sidebar {
  position: sticky;
  top: 96px;
}
.sidebar-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: box-shadow 0.25s ease;
}
.sidebar-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.08);
}
.sidebar-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #0f172a;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
}
.quick-facts {
  list-style: none;
  padding: 0;
  margin: 0;
}
.quick-facts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid #f8fafc;
  font-size: 0.88rem;
  gap: 8px;
}
.quick-facts li:last-child { border-bottom: none; }
.quick-facts .label { color: #64748b; }
.quick-facts .value {
  font-weight: 600;
  color: #0f172a;
  text-align: right;
}

/* ===== UNIVERSITY TABLE ===== */
.university-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.university-table th {
  background: linear-gradient(135deg, #0d1b4a 0%, #1e3a8a 100%);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.3px;
}
.university-table td {
  padding: 13px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #334155;
}
.university-table tr:last-child td { border-bottom: none; }
.university-table tr:hover td {
  background: #eff6ff;
  color: #1e40af;
}
.university-table tr:nth-child(even) td { background: #fafafa; }
.university-table tr:nth-child(even):hover td {
  background: #eff6ff;
  color: #1e40af;
}

/* ===== FAQ ===== */
.faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.07); }
.faq-question {
  padding: 18px 22px;
  background: #fff;
  font-weight: 600;
  font-size: 0.97rem;
  color: #0f172a;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background 0.2s;
}
.faq-question:hover { background: #f8fafc; }
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #2563eb;
  font-size: 1.2rem;
  font-weight: 300;
  display: flex;
  align-items: center;
  justify-content: center;
}
.faq-answer {
  padding: 0 22px 18px;
  color: #475569;
  line-height: 1.75;
  font-size: 0.95rem;
}

/* ===== CTA BOX (sidebar) ===== */
.cta-box {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  color: #fff;
  padding: 28px 22px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(29,78,216,0.3);
}
.cta-box h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.cta-box p {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  margin-bottom: 18px;
  line-height: 1.6;
}
.cta-box .btn {
  background: #fff;
  color: #1d4ed8;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.25s ease;
  width: 100%;
  text-align: center;
}
.cta-box .btn:hover {
  background: #eff6ff;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(29,78,216,0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: 1fr 300px;
    gap: 36px;
  }
}
@media (max-width: 900px) {
  .content-grid {
    grid-template-columns: 1fr;
  }
  .content-sidebar {
    position: static;
  }
}
@media (max-width: 768px) {
  .country-hero {
    padding: 100px 0 70px;
    min-height: auto;
  }
  .country-hero h1 {
    letter-spacing: -0.5px;
  }
  .hero-flag-bg { display: none; }
  .country-hero p {
    font-size: 1rem;
    margin-top: 20px;
  }
  .hero-highlights {
    gap: 10px;
  }
  .hero-highlight {
    font-size: 0.82rem;
    padding: 9px 16px;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
  }
  .hero-cta .btn-primary,
  .hero-cta .btn-secondary {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .content-section { padding: 52px 0; }
  .content-main h2 { font-size: 1.45rem; }
  .content-main h3 { font-size: 1.1rem; }
  .university-table { font-size: 0.82rem; display: block; overflow-x: auto; }
  .university-table th,
  .university-table td { padding: 10px 12px; }
  .faq-question { padding: 14px 16px; font-size: 0.9rem; }
  .faq-answer { padding: 0 16px 14px; font-size: 0.88rem; }
  .country-badge { font-size: 0.8rem; padding: 9px 16px; }
}
@media (max-width: 480px) {
  .hero-highlights .hero-highlight { flex: 1 1 calc(50% - 6px); justify-content: center; }
}
