@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=Inter:wght@400;500&display=swap');

:root {
  --primary: #1e3a8a;
  --primary-dark: #152a63;
  --text: #1f2937;
  --surface: #ffffff;
  --bg: #f8fafc;
  --muted: #64748b;
  --rainbow: linear-gradient(90deg, #ff1744, #ff9100, #ffea00, #00e676, #2979ff, #aa00ff);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 4px solid;
  border-image: var(--rainbow) 1;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: Poppins, sans-serif;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo img {
  height: 110px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  border: 1px solid #d1d5db;
  background: var(--surface);
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
}

main {
  min-height: calc(100vh - 140px);
}

.hero {
  padding: 72px 20px;
  text-align: center;
  background: #eaf0ff;
}

.hero h1 {
  font-family: Poppins, sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--primary);
  margin: 0 0 16px;
}

.hero p {
  max-width: 700px;
  margin: auto;
  font-size: 1.05rem;
}

section {
  padding: 56px 20px;
  max-width: 1100px;
  margin: auto;
}

h1,
h2,
h3,
h4 {
  font-family: Poppins, sans-serif;
  color: var(--primary);
  line-height: 1.3;
}

h1 {
  margin-top: 0;
  margin-bottom: 14px;
}

h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

p,
li {
  max-width: 80ch;
}

.slideshow .slide {
  display: none;
  text-align: center;
}

.slideshow .slide.active {
  display: block;
  animation: fade 1.2s;
}

.home-page main {
  text-align: center;
}

.home-page .slideshow p {
  margin-left: auto;
  margin-right: auto;
}

@keyframes fade {
  from { opacity: 0.3; }
  to { opacity: 1; }
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.content-image {
  width: 100%;
  max-width: 760px;
  height: clamp(220px, 34vw, 360px);
  object-fit: cover;
  border-radius: 14px;
  margin: 8px 0 24px;
  display: block;
}

.card h3 {
  margin: 16px 15px 10px;
}

.card h3 a {
  text-decoration: none;
  color: var(--primary);
}

.card h3 a:hover {
  text-decoration: underline;
}

.card p {
  margin: 0;
  padding: 0 15px 20px;
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.btn:hover {
  background: var(--primary-dark);
}

.site-footer {
  background: #0f172a;
  color: #fff;
  text-align: center;
  padding: 24px 20px;
}

.site-footer p {
  margin: 0 auto;
}

.site-footer a {
  color: #bfdbfe;
  text-decoration: none;
}

.site-footer a:hover {
  color: #facc15;
  text-decoration: underline;
}

.trazing-hover {
  text-decoration: none;
}

.trazing-hover:hover {
  color: #facc15;
}

.sponsors {
  background: #f0f7ff;
  border-radius: 16px;
}

.sponsors h2 {
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  padding-bottom: 16px;
}

.sponsors h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--rainbow);
  border-radius: 2px;
}

.sponsors-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.sponsors-list li {
  background: var(--surface);
  padding: 20px 16px;
  border-radius: 12px;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary);
  border-right: 4px solid var(--primary);
  transition: all 0.25s ease;
}

.sponsors-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

@media (max-width: 900px) {
  .site-header {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 10px;
  }

  .site-nav.open {
    display: flex;
  }

  .logo img {
    height: 44px;
  }

  section {
    padding: 42px 16px;
  }
}