/* === ROOT VARIABLES === */
:root {
  --primary: #1a3a6e;
  --primary-light: #2351a3;
  --accent: #f5a623;
  --accent2: #e63946;
  --bg: #f0f4fb;
  --sidebar-w: 270px;
  --right-sidebar-w: 240px;
  --white: #ffffff;
  --text: #1e2d45;
  --text-light: #6b7a99;
  --card-shadow: 0 4px 24px rgba(26,58,110,0.10);
  --radius: 14px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* === PAGE WRAPPER (3 columns) === */
.page-wrapper {
  display: flex;
  min-height: 100vh;
}

/* === SIDEBAR === */
.sidebar {
  width: var(--sidebar-w);
  min-height: 100vh;
  background: linear-gradient(175deg, #1a3a6e 0%, #0d2248 60%, #091529 100%);
  position: fixed;
  left: 0; top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: 4px 0 30px rgba(0,0,0,0.25);
  transition: transform var(--transition);
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 20px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.logo-img {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  background: #fff;
}

.logo-text { display: flex; flex-direction: column; }
.logo-title {
  font-size: 14px; font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}
.logo-sub {
  font-size: 11px; color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

/* NAV */
.nav-menu {
  flex: 1;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  border-radius: 10px;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
  cursor: pointer;
  position: relative;
}

.nav-item i {
  width: 20px; text-align: center;
  font-size: 16px;
  transition: color var(--transition);
}

.nav-item:hover {
  background: rgba(255,255,255,0.09);
  color: #fff;
}

.nav-item.active {
  background: linear-gradient(90deg, var(--accent) 0%, #f7c859 100%);
  color: #1a2a50;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245,166,35,0.35);
}

.nav-item.active i { color: #1a2a50; }

.sidebar-footer {
  padding: 16px 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sidebar-footer p { display: flex; align-items: center; gap: 8px; }

/* === HAMBURGER === */
.hamburger {
  display: none;
  position: fixed;
  top: 16px; left: 16px;
  z-index: 200;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  width: 44px; height: 44px;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

/* === MAIN CONTENT === */
.main-content {
  margin-left: var(--sidebar-w);
  margin-right: var(--right-sidebar-w);
  flex: 1;
  min-height: 100vh;
}

/* === HERO BANNER === */
.hero-banner {
  width: 100%;
  height: 340px;
  background: url('hero.jpg') center center / cover no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,30,80,0.78) 0%, rgba(26,58,110,0.55) 60%, rgba(0,0,0,0.35) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 60px;
  gap: 16px;
}

.hero-title {
  font-size: 32px; font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,0.4);
  max-width: 600px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  font-weight: 400;
  letter-spacing: 0.5px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #1a2a50;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 14px;
  transition: all var(--transition);
  margin-top: 6px;
  box-shadow: 0 4px 18px rgba(245,166,35,0.4);
}
.hero-btn:hover {
  background: #e6950f;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245,166,35,0.5);
}

/* === SECTION === */
.section {
  display: none;
  padding: 36px 40px;
  animation: fadeInUp 0.45s ease;
}

.section.active { display: block; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

.section-header {
  margin-bottom: 30px;
  border-left: 5px solid var(--accent);
  padding-left: 16px;
}

.section-header h2 {
  font-size: 24px; font-weight: 800;
  color: var(--primary);
  display: flex; align-items: center; gap: 10px;
}

.section-header h2 i { color: var(--accent); }
.section-header p { color: var(--text-light); font-size: 14px; margin-top: 4px; }

/* === STATS ROW === */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 30px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition);
  border-top: 3px solid var(--accent);
}

.stat-card:hover { transform: translateY(-4px); }

.stat-card i { font-size: 28px; color: var(--primary-light); }
.stat-num { font-size: 28px; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 12px; color: var(--text-light); font-weight: 500; }

/* === NEWS GRID === */
.news-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 20px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  transition: transform var(--transition);
  border-bottom: 3px solid transparent;
}

.news-card:hover {
  transform: translateY(-4px);
  border-bottom-color: var(--accent);
}

.news-card.featured { border-bottom-color: var(--primary); }

.news-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 50px;
  font-size: 11px; font-weight: 700;
  background: var(--primary);
  color: #fff;
  width: fit-content;
}

.news-badge.green { background: #059669; }
.news-badge.orange { background: #d97706; }

.news-date { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 6px; }
.news-card h3 { font-size: 15px; font-weight: 700; color: var(--text); line-height: 1.4; }
.news-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; flex: 1; }

.read-more {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary-light); font-weight: 600; font-size: 13px;
  text-decoration: none;
  transition: gap var(--transition);
}
.read-more:hover { gap: 10px; }

/* === ABOUT === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: start;
}

.about-text h3 {
  font-size: 18px; font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px; margin-top: 20px;
}

.about-text h3:first-child { margin-top: 0; }
.about-text p { font-size: 14px; color: var(--text-light); line-height: 1.8; }

.about-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.about-list li {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--text); font-weight: 500;
}
.about-list li i { color: #059669; }

.about-badge-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 20px;
}

.about-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 18px;
  display: flex; flex-direction: column;
  align-items: center; gap: 10px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(26,58,110,0.2);
  transition: transform var(--transition);
}

.about-badge:hover { transform: translateY(-4px); }
.about-badge i { font-size: 28px; color: var(--accent); }
.about-badge span { font-size: 13px; font-weight: 600; }

/* === EVENTS === */
.events-list { display: flex; flex-direction: column; gap: 16px; }

.event-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex; align-items: center; gap: 20px;
  box-shadow: var(--card-shadow);
  transition: transform var(--transition);
  border-left: 4px solid var(--primary-light);
}

.event-card:hover { transform: translateX(6px); }
.event-card.done { border-left-color: #9ca3af; }

.event-date-box {
  min-width: 64px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 10px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 10px 0;
  color: #fff;
}

.event-date-box.done-bg { background: #9ca3af; }
.event-day { font-size: 22px; font-weight: 800; }
.event-month { font-size: 12px; font-weight: 500; opacity: 0.85; }

.event-info { flex: 1; }

.event-status {
  font-size: 11px; font-weight: 700;
  padding: 2px 10px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 6px;
}

.upcoming-tag { background: #dbeafe; color: #1d4ed8; }
.done-tag { background: #f3f4f6; color: #6b7280; }

.event-info h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.event-info p { font-size: 12px; color: var(--text-light); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* === COMPETITIONS === */
.competitions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.comp-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 10px;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition);
}

.comp-card:hover { transform: translateY(-5px); }
.comp-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
}

.comp-card.gold::before { background: linear-gradient(90deg, #f5a623, #ffd700); }
.comp-card.silver::before { background: linear-gradient(90deg, #9ca3af, #d1d5db); }
.comp-card.bronze::before { background: linear-gradient(90deg, #b45309, #d97706); }
.comp-card.active-comp::before { background: linear-gradient(90deg, var(--accent2), #ff7675); }

.comp-icon { font-size: 30px; }
.comp-card.gold .comp-icon { color: #f5a623; }
.comp-card.silver .comp-icon { color: #9ca3af; }
.comp-card.bronze .comp-icon { color: #b45309; }
.comp-card.active-comp .comp-icon { color: var(--accent2); }

.comp-rank { font-size: 13px; font-weight: 700; color: var(--text-light); }
.comp-card h3 { font-size: 16px; font-weight: 700; color: var(--text); }
.comp-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; flex: 1; }
.comp-year {
  font-size: 12px; font-weight: 700;
  background: var(--bg);
  color: var(--primary);
  padding: 3px 12px;
  border-radius: 50px;
  width: fit-content;
}

/* === TO'GARAKLAR === */
.circles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.circle-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--card-shadow);
  display: flex; flex-direction: column; gap: 10px;
  border-top: 4px solid var(--accent, #4f46e5);
  transition: transform var(--transition);
}

.circle-card:hover { transform: translateY(-5px); }

.circle-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent, #4f46e5) 12%, white);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--accent, #4f46e5);
}

.circle-card h3 { font-size: 15px; font-weight: 700; color: var(--text); }
.circle-card p { font-size: 13px; color: var(--text-light); line-height: 1.6; flex: 1; }

.circle-info {
  display: flex; flex-direction: column; gap: 4px;
  font-size: 12px; color: var(--text-light);
}
.circle-info span { display: flex; align-items: center; gap: 6px; }

.circle-btn {
  display: inline-block;
  margin-top: 4px;
  padding: 9px 0;
  background: color-mix(in srgb, var(--accent, #4f46e5) 12%, white);
  color: var(--accent, #4f46e5);
  font-weight: 700; font-size: 13px;
  text-align: center;
  border-radius: 8px;
  text-decoration: none;
  transition: all var(--transition);
}
.circle-btn:hover {
  background: var(--accent, #4f46e5);
  color: #fff;
}

/* === RIGHT SIDEBAR === */
.right-sidebar {
  width: var(--right-sidebar-w);
  min-height: 100vh;
  background: linear-gradient(175deg, #1a3a6e 0%, #0d2248 60%, #091529 100%);
  position: fixed;
  right: 0; top: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 30px rgba(0,0,0,0.25);
  overflow-y: auto;
  padding-bottom: 24px;
}

.right-sidebar::-webkit-scrollbar { width: 4px; }
.right-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.rs-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 22px 16px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rs-title i { font-size: 16px; }

/* STAFF CARD */
.staff-card {
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.staff-card.director .staff-photo-wrap::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  animation: pulse-ring 2.5s ease infinite;
}

@keyframes pulse-ring {
  0%   { opacity: 1; transform: scale(1); }
  70%  { opacity: 0.3; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

.staff-photo-wrap {
  position: relative;
  width: 90px; height: 90px;
}

.staff-card:not(.director) .staff-photo-wrap {
  width: 76px; height: 76px;
}

.staff-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.15);
  background: #1e3a6e;
  display: block;
}

.staff-badge {
  position: absolute;
  bottom: -6px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--accent) 0%, #f7c859 100%);
  color: #1a2a50;
  font-size: 9px; font-weight: 800;
  padding: 2px 8px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(245,166,35,0.4);
}

.staff-badge.deputy {
  background: linear-gradient(90deg, #2351a3 0%, #3b6fd4 100%);
  color: #fff;
  box-shadow: 0 2px 8px rgba(35,81,163,0.4);
}

.staff-info h4 {
  font-size: 13px; font-weight: 700;
  color: #fff;
  margin-top: 6px;
  line-height: 1.3;
}

.staff-info p {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
  margin-top: 3px;
}

.rs-divider {
  height: 1px;
  background: rgba(255,255,255,0.07);
  margin: 0 14px;
}

.rs-contact {
  padding: 16px 14px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rs-contact-title {
  font-size: 11px; font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}

.rs-contact p {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  display: flex; align-items: center; gap: 7px;
}

.rs-contact i { width: 14px; color: rgba(255,255,255,0.3); }

/* === RESPONSIVE === */
@media (max-width: 1100px) {
  .right-sidebar { display: none; }
  .main-content { margin-right: 0; }
}

@media (max-width: 900px) {
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .hamburger { display: flex; align-items: center; justify-content: center; }
  .main-content { margin-left: 0; margin-right: 0; }
  .hero-overlay { padding: 0 28px; }
  .hero-title { font-size: 22px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .competitions-grid { grid-template-columns: 1fr; }
  .circles-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 24px 20px; }
}

@media (max-width: 600px) {
  .circles-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .hero-banner { height: 220px; }
  .hero-title { font-size: 18px; }
}

/* OVERLAY for mobile sidebar */
.sidebar-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 90;
}
.sidebar-overlay.show { display: block; }

/* Admin entry button */
.admin-entry-btn {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px;
  padding: 9px 14px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.25);
  color: var(--accent);
  border-radius: 9px;
  font-size: 12px; font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}
.admin-entry-btn:hover {
  background: var(--accent);
  color: #1a2a50;
  border-color: var(--accent);
}

/* === XODIMLAR (STAFF) BO'LIMI STILLARI === */
.staff-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid #dbe3ee;
  border-radius: 10px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.filter-btn:hover {
  border-color: var(--primary-light);
  color: var(--primary);
  transform: translateY(-2px);
}

.filter-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(26,58,110,0.25);
}

.staff-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  margin-bottom: 26px;
  border: 1px solid #e2e8f0;
}

.staff-search-box i {
  color: var(--text-light);
  font-size: 16px;
}

.staff-search-box input {
  flex: 1;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: var(--text);
}

.staff-count-badge {
  background: #eff6ff;
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}

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

.staff-person-card {
  background: var(--white);
  border-radius: 14px;
  padding: 22px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid #edf2f7;
  overflow: hidden;
}

.staff-person-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(26,58,110,0.15);
  border-color: #cbd5e1;
}

.staff-person-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.staff-person-avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 14px;
  border: 3px solid #edf2f7;
  background: #f1f5f9;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.staff-person-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.staff-person-cat {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 30px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.cat-mamuriyat { background: #fee2e2; color: #b91c1c; }
.cat-pedagog    { background: #e0e7ff; color: #4338ca; }
.cat-usta       { background: #fef3c7; color: #b45309; }
.cat-xodim      { background: #f1f5f9; color: #475569; }

.staff-person-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
  line-height: 1.35;
}

.staff-person-role {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-light);
  margin-bottom: 10px;
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-person-spec {
  font-size: 11px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 14px;
  flex: 1;
}

.staff-person-phone {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  transition: all var(--transition);
}

.staff-person-phone:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* === YANGI TADBIRLAR GRIDI (KATTA RASMLAR BILAN) === */
.events-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.event-full-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1px solid #edf2f7;
}

.event-full-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(26,58,110,0.16);
}

.event-img-wrap {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #1e293b;
}

.event-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.event-full-card:hover .event-img-wrap img {
  transform: scale(1.06);
}

.event-badge-overlay {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: rgba(15,23,42,0.75);
  backdrop-filter: blur(4px);
}

.event-badge-overlay.upcoming {
  background: #2563eb;
}

.event-badge-overlay.done {
  background: #059669;
}

.event-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.event-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.event-meta i {
  color: var(--accent);
}

.event-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.4;
}

.event-text {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 14px;
  flex: 1;
}

.event-location {
  font-size: 12px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.rs-phone {
  display: inline-block;
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  font-weight: 500;
}

.about-info-panel {
  background: var(--white);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--card-shadow);
  margin-top: 20px;
  border-left: 4px solid var(--primary);
}

.about-info-panel h4 {
  font-size: 15px;
  color: var(--primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.about-info-panel p {
  font-size: 12px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 6px;
}

.about-info-panel a {
  color: var(--primary-light);
  font-weight: 600;
}

.section-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-sub-header h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.view-all-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.view-all-link:hover {
  gap: 10px;
}
