:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-2: rgba(255,255,255,0.72);
  --text: #0f172a;
  --muted: #475569;
  --primary: #2563eb;
  --secondary: #4f46e5;
  --accent: #06b6d4;
  --success: #22c55e;
  --warning: #f59e0b;
  --border: rgba(15, 23, 42, 0.08);
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 16px 40px rgba(15, 23, 42, 0.08);
  --radius: 24px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #020617;
  --surface: #0f172a;
  --surface-2: rgba(15, 23, 42, 0.8);
  --text: #f8fafc;
  --muted: #94a3b8;
  --primary: #60a5fa;
  --secondary: #818cf8;
  --accent: #22d3ee;
  --success: #4ade80;
  --warning: #fbbf24;
  --border: rgba(148, 163, 184, 0.18);
  --shadow: 0 24px 60px rgba(2, 6, 23, 0.45);
  --shadow-soft: 0 16px 40px rgba(2, 6, 23, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 30%),
    radial-gradient(circle at 80% 0%, rgba(6, 182, 212, 0.12), transparent 25%),
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; }
.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }
.section-title { margin-bottom: 16px; color: var(--text); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; letter-spacing: -0.02em; }
.section-subtitle { color: var(--muted); max-width: 720px; margin-bottom: 28px; font-size: 1.05rem; }

.navbar {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(15,23,42,0.04);
}
[data-theme="dark"] .navbar { background: rgba(2,6,23,0.76); }
.navbar-brand {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text) !important;
  font-size: 1.15rem;
}
.brand-mark {
  display: inline-flex;
  width: 36px; height: 36px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff; align-items: center; justify-content: center; box-shadow: var(--shadow-soft);
  margin-right: 10px;
}
.nav-link { color: var(--muted) !important; font-weight: 600; }
.nav-link:hover { color: var(--primary) !important; }
.navbar .btn { border-radius: 999px; }

.hero {
  padding: 130px 0 90px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(37,99,235,0.08), transparent 50%, rgba(6,182,212,0.08));
  pointer-events: none;
}
.hero-copy h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1.05; font-weight: 800; letter-spacing: -0.04em; }
.hero-copy p { font-size: 1.08rem; color: var(--muted); max-width: 650px; }
.hero-card,
.card-glass,
.card-surface {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(20px);
}
.hero-card { padding: 24px; }
.hero-card .pill { display: inline-flex; align-items: center; gap: 8px; background: rgba(37,99,235,0.1); color: var(--primary); border-radius: 999px; padding: 8px 12px; font-weight: 600; font-size: 0.92rem; }
.hero-visual {
  border-radius: 32px; padding: 24px; min-height: 420px;
  background: linear-gradient(135deg, rgba(37,99,235,0.15), rgba(6,182,212,0.15));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.hero-visual .dashboard {
  background: var(--surface); border-radius: 24px; padding: 18px; box-shadow: var(--shadow-soft);
}
.hero-visual .mini-card { background: linear-gradient(135deg, rgba(37,99,235,0.12), rgba(6,182,212,0.12)); border-radius: 16px; padding: 14px; }

.event-hero {
  padding: 72px 0 32px;
}
.event-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.event-hero .hero-copy { max-width: 620px; }
.event-hero .hero-copy h1 { font-size: clamp(3rem, 5vw, 5.2rem); line-height: 1.02; letter-spacing: -0.05em; }
.event-hero .hero-copy p { font-size: 1.05rem; margin-top: 24px; color: var(--muted); max-width: 620px; }
.event-hero .hero-badges { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.event-hero .hero-badges span { color: var(--primary); background: rgba(219,234,254,0.7); border-radius: 999px; padding: 12px 18px; font-weight: 700; box-shadow: 0 14px 30px rgba(37,99,235,0.08); }
.feature-hero-card {
  border-radius: 34px;
  padding: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.98), #e0efff);
  border: 1px solid rgba(37,99,235,0.18);
  box-shadow: 0 22px 60px rgba(37,99,235,0.09);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.feature-hero-card .card-top { display: flex; flex-direction: column; gap: 16px; }
.feature-hero-card .card-top span.badge { color: var(--primary); background: rgba(37,99,235,0.12); padding: 10px 16px; border-radius: 999px; }
.feature-hero-card .feature-list { padding-left: 0; margin: 0; list-style: none; display: grid; gap: 18px; }
.feature-hero-card .feature-list li { display: flex; align-items: flex-start; gap: 16px; color: var(--text); font-size: 1rem; line-height: 1.8; }
.feature-hero-card .feature-list li .dot { width: 12px; height: 12px; margin-top: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); flex-shrink: 0; }
.feature-hero-card .stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.feature-hero-card .stat-card { padding: 18px; }
.feature-hero-card .btn { align-self: flex-start; }
.event-hero .hero-image-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.event-hero .hero-image-group img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}
.event-hero .hero-image-group .tall {
  grid-row: span 2;
  min-height: 520px;
}

.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.feature-card { border-radius: 28px; padding: 28px; background: rgba(255,255,255,0.92); border: 1px solid rgba(37,99,235,0.12); box-shadow: var(--shadow-soft); min-height: 240px; }
.feature-card h5 { margin-top: 16px; }
.feature-card p { color: var(--muted); margin-top: 12px; }
.feature-card .icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; border-radius: 16px; background: rgba(37,99,235,0.12); color: var(--primary); }

.testimonial-carousel {
  position: relative;
  padding: 32px 24px 28px;
  background: linear-gradient(180deg, rgba(37,99,235,0.08), rgba(255,255,255,0.95));
  border-radius: 34px;
  border: 1px solid rgba(37,99,235,0.16);
}
.testimonial-carousel .swiper {
  padding-bottom: 24px;
  overflow: hidden;
}
.testimonial-carousel .swiper-wrapper {
  display: flex;
  align-items: stretch;
}
.testimonial-carousel .swiper-slide {
  width: auto;
  max-width: 460px;
  display: flex;
  justify-content: center;
}
.testimonial-carousel .testimonial-card {
  width: 100%;
  max-width: 460px;
  min-height: 360px;
  padding: 36px 32px;
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  text-align: left;
}
@media (max-width: 991px) {
  .testimonial-carousel .testimonial-card {
    width: min(92vw, 620px);
  }
}
.testimonial-carousel .testimonial-card p {
  font-size: 1.02rem;
  line-height: 1.95;
  color: var(--text);
  margin: 0;
}
.testimonial-carousel .testimonial-card .testimonial-author {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-carousel .testimonial-card .testimonial-author .info strong {
  display: block;
  font-size: 1rem;
}
.testimonial-carousel .testimonial-card .testimonial-author .info span {
  color: var(--muted);
  font-size: .95rem;
}
.testimonial-carousel .testimonial-card .testimonial-author img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-carousel .testimonial-logo {
  margin-bottom: 24px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}
.testimonial-controls {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  gap: 12px;
}
.btn-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15,23,42,0.08);
  color: var(--primary);
  box-shadow: 0 16px 32px rgba(15,23,42,0.08);
}
.btn-icon:hover {
  transform: translateY(-1px);
}
.testimonial-carousel .swiper-pagination {
  position: relative;
  margin-top: 16px;
  display: flex;
  justify-content: center;
  gap: 8px;
}
.testimonial-carousel .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(37,99,235,0.24);
  opacity: 1;
}
.testimonial-carousel .swiper-pagination-bullet-active {
  background: var(--primary);
}

.event-detail-header { gap: 24px; align-items: center; }
.event-detail-header .details-panel { padding: 28px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow-soft); }
.event-detail-header .venue-card { padding: 24px; border-radius: 26px; background: rgba(37,99,235,0.08); }
.event-detail-header .venue-card h5 { margin-bottom: 10px; }
.event-detail-header .venue-card p { color: var(--muted); }

.card-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.card-split .card { border-radius: 24px; border: 1px solid var(--border); }
.card-split .card-body { padding: 24px; }

.registration-card { background: linear-gradient(135deg, rgba(37,99,235,0.18), rgba(255,255,255,0.95)); border: none; }
.registration-card h4 { margin-bottom: 18px; }
.registration-card .card-body { min-height: 100%; display: flex; flex-direction: column; }
.details-panel { background: var(--surface); border-radius: 28px; box-shadow: var(--shadow-soft); border: 1px solid rgba(37,99,235,0.12); }
.details-panel .card-body { min-height: 100%; display: flex; flex-direction: column; }
.registration-card, .details-panel { min-height: 100%; }
.registration-card .registration-package h5 { margin-bottom: 10px; font-size: 1.03rem; color: var(--text); }
.registration-card .registration-package p { margin: 0; color: var(--muted); }
.registration-card .registration-list { padding: 0; margin: 0; color: var(--muted); }
.registration-list li { margin-bottom: 14px; display: flex; gap: 12px; align-items: flex-start; }
.registration-list li i { color: var(--success); margin-top: 3px; min-width: 18px; font-size: 1.1rem; }
.details-panel h5 { margin-bottom: 16px; }
.details-panel .btn { margin-top: auto; }

.timeline-item { position: relative; padding-left: 30px; margin-bottom: 24px; }
.timeline-item::before { left: 0; top: 6px; }
.timeline-item::after { left: 6px; }
.timeline-item h6 { margin-bottom: 8px; }
.timeline-item p { color: var(--muted); margin: 0; }

@media (max-width: 991px) {
  .feature-grid { grid-template-columns: 1fr; }
  .event-hero { padding-top: 56px; }
}
@media (max-width: 767px) {
  .event-hero .hero-image-group { grid-template-columns: 1fr; }
  .event-hero .hero-image-group .tall { grid-row: auto; }
  .card-split { grid-template-columns: 1fr; }
}

.btn,
.form-control,
.form-select,
.btn-outline-secondary {
  border-radius: 999px;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none; color: #fff; box-shadow: 0 16px 32px rgba(37,99,235,0.2);
}
.btn-outline-secondary {
  border-color: var(--border); color: var(--text); background: transparent;
}
.btn:hover { transform: translateY(-2px); transition: all .25s ease; }

.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.section-heading a { color: var(--primary); font-weight: 700; }

.timeline-item { padding-left: 0; margin-bottom: 18px; position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -28px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.timeline-item::after { content: ''; position: absolute; left: -22px; top: 22px; bottom: 0; width: 2px; background: var(--border); }
.timeline-item h6, .timeline-item p { margin: 0; }

.cta-panel { background: rgba(255,255,255,0.92); border: 1px solid rgba(37,99,235,0.18); border-radius: 32px; box-shadow: var(--shadow-soft); }

.section-testimonials { background: linear-gradient(180deg, rgba(37,99,235,0.08), rgba(255,255,255,0.95)); border-radius: 32px; padding: 54px 32px; }

.job-card,
.company-card,
.feature-card,
.blog-card,
.testimonial-card,
.pricing-card,
.stat-card,
.faq-card,
.page-card,
.event-card,
.recent-event-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.job-card:hover,
.company-card:hover,
.feature-card:hover,
.blog-card:hover,
.testimonial-card:hover,
.pricing-card:hover,
.stat-card:hover,
.faq-card:hover,
.page-card:hover,
.event-card:hover,
.recent-event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.job-card { padding: 20px; }
.company-card { padding: 22px; }
.feature-card { padding: 24px; }
.event-card,
.recent-event-card,
.testimonial-card {
  padding: 24px;
}
.blog-card { overflow: hidden; }
.blog-card .thumb { height: 180px; background: linear-gradient(135deg, rgba(37,99,235,0.2), rgba(6,182,212,0.16)); }
.event-card .event-banner,
.recent-event-card .gallery-photo {
  border-radius: 20px;
  height: 220px;
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
}
.event-card .event-details {
  gap: 12px;
}
.event-card .event-details span {
  color: var(--muted);
  font-size: .95rem;
}
.event-card .event-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.event-card .event-action .btn {
  padding: 10px 18px;
}
.recent-event-card .gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 20px;
}
.recent-event-card .gallery-photo { height: 140px; }
.testimonial-card { display: flex; flex-direction: column; gap: 18px; }
.testimonial-card p { color: var(--muted); }
.testimonial-card .testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-card .testimonial-author img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.testimonial-card .testimonial-author .info { display: flex; flex-direction: column; }
.event-highlight { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.event-highlight .badge { margin-bottom: 16px; }
.event-highlight .stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.event-highlight .stats-grid .stat-card { padding: 18px; }
@media (max-width: 991px) {
  .event-highlight { grid-template-columns: 1fr; }
  .recent-event-card .gallery-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .recent-event-card .gallery-grid { grid-template-columns: 1fr; }
}

.badge,
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; color: var(--primary); background: rgba(37,99,235,0.1); border-radius: 999px; font-size: .9rem; font-weight: 700;
}
.badge-success { background: rgba(34,197,94,0.12); color: var(--success); }
.badge-warning { background: rgba(245,158,11,0.14); color: var(--warning); }

.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { padding: 24px; }
.stat-card .number { font-size: 2rem; font-weight: 800; margin-bottom: 5px; color: var(--text); }

.listing-row { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); margin-bottom: 12px; }
.listing-row:hover { box-shadow: var(--shadow-soft); }

.form-card { padding: 28px; border-radius: 28px; background: var(--surface); box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-control, .form-select { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.form-control:focus, .form-select:focus { box-shadow: 0 0 0 4px rgba(37,99,235,0.13); border-color: var(--primary); }

.timeline-item { position: relative; padding-left: 24px; margin-bottom: 20px; }
.timeline-item::before { content: ''; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--accent)); }
.timeline-item::after { content: ''; position: absolute; left: 5px; top: 20px; bottom: -20px; width: 2px; background: var(--border); }

.faq-item { border-bottom: 1px solid var(--border); padding: 16px 0; }

.footer {
  padding: 72px 0 40px; border-top: 1px solid var(--border); background: rgba(255,255,255,0.56); margin-top: 60px;
}
[data-theme="dark"] .footer { background: rgba(2,6,23,0.6); }
.footer h5 { font-weight: 700; margin-bottom: 16px; }
.footer a { color: var(--muted); display: block; margin-bottom: 10px; }
.footer a:hover { color: var(--primary); }

.breadcrumb { padding: 0; margin: 0 0 24px; background: transparent; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--muted); }

.hero-illustration { position: relative; overflow: hidden; border-radius: 32px; background: linear-gradient(180deg, rgba(37,99,235,0.16), rgba(6,182,212,0.16)); min-height: 430px; }
.hero-illustration .orb { position: absolute; inset: auto auto 20px 20px; width: 180px; height: 180px; border-radius: 50%; background: rgba(255,255,255,0.55); filter: blur(30px); }
.hero-illustration .orb-two { inset: 30px 20px auto auto; width: 120px; height: 120px; background: rgba(37,99,235,0.25); }

.map-card { border-radius: 24px; overflow: hidden; border: 1px solid var(--border); }

.preloader {
  position: fixed; inset: 0; background: var(--bg); z-index: 9999; display: grid; place-items: center; transition: opacity .3s ease, visibility .3s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.preloader .spinner { width: 60px; height: 60px; border-radius: 50%; border: 4px solid rgba(37,99,235,0.2); border-top-color: var(--primary); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 991px) {
  .hero { padding-top: 100px; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .section { padding: 72px 0; }
  .hero { padding: 92px 0 64px; }
  .stat-grid { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; align-items: start; }
  .navbar-nav { padding-top: 12px; }
}
