

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

html {
  scroll-behavior: smooth;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; transform: none; opacity: 1; }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  font-weight: 400; 
}

/* хедер */

.header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-end;
  padding: 22px 32px 24px;
  gap: 0px 24px;

  width: auto;
  height: 92px;

  background: #0E436F;
  margin: 0 auto; 
}

.header nav {
  display: flex;
  flex-direction: row;
  gap: 550px;
}

.header nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
}

.header nav ul li {
  margin-top: 12px;
  flex: none;
}

.header nav ul li a {
  font-size: 16px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 16px;
  gap: 8px;

  width: auto;
  height: 40px;

  background: #005EA6;
  border-radius: 5px;
  color: #fff;
  text-decoration: none;
  font-weight: medium;
  text-align: center;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1.5s;
}

.header nav ul li a:hover {
  background: #237DC2;
}

/* конец хедера */

/* хиро секция */

#hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                    url('../hero-background.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0E436F;
  padding: 124px 64px;
  width: auto;
}

#hero h1 {
  font-size: 62px;
  margin-bottom: 6px;
  font-weight: 700; 
  color: #FFFFFF;
  text-align: left;
  line-height: 120%;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

#hero p {
  font-size: 24px;
  max-width: 1030px;
  margin-bottom: 12px;
  font-weight: 400;
  color: #FFFFFF;
  text-align: left;
  line-height: 120%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

#hero a {
  font-size: 16px;
  font-weight: 500;
  display: inline-block;
  letter-spacing: 0.02rem;
  padding: 12px 25px;
  background-color: #005EA6;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: cubic-bezier(0.075, 0.82, 0.165, 1) 1.5s;
}

#hero a:hover {
  background-color: #257CBE;
}

/* конец хиро секции */

/* по идеи секция кибертурнира */

section {
  padding: 60px 20px;
  margin: 0 auto;
  width: auto;
}

section h2 {
  font-size: 46px;
  text-align: left;
  margin-bottom: 8px;
  font-weight: 700;
  color: #0E436F;
  line-height: 120%;
  letter-spacing: -0.02em;
}

#cyber-festival {
  padding: 64px;
  background-color: #0E436F;
}

#cyber-festival h2 {
  font-size: 46px;
  text-align: left;
  margin-bottom: 8px;
  font-weight: 700;
  color: #fff;
  line-height: 120%;
  letter-spacing: -0.02em;
}

#section-h2-yellow {
  font-size: 46px;
  text-align: left;
  margin-bottom: 8px;
  font-weight: 700;
  color: #FFAD33;
  line-height: 120%;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

#section-p-cyber {
  width: auto;
  max-width: 760px;
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  color: #fff;
  margin-bottom: 24px;
}

#section-container-cyber {
  display: flex;
  flex-direction: row;
  gap: 220px;
  align-items: center;
}

#section-container-cyber-img img{
  border-radius: 8px;
  border: 10px solid #FFFFFF;
  object-fit: cover;
  max-width: 470px;
}

.cyber-place {
  font-style: normal;
  font-weight: 600;
  font-size: 32px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #002C52;
}


.cyber-place-name {
  font-style: normal;
  font-weight: 600;
  font-size: 26px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #005EA6;
}

/* конец секции кибертурнира */

/* карты */

#map {
  padding: 64px;
}

#section-p {
  width: auto;
  max-width: 760px;
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  color: #1E1E1E;
  margin-bottom: 24px;
}

.map-placeholder {
  position: relative;
  display: flex;
  width: fit-content;
  height: fit-content;
  border: 15px solid #FFFFFF;
  border-radius: 10px;
  filter: drop-shadow(0px 8px 24px rgba(3, 35, 80, 0.25));
  overflow: hidden;
}

.map-placeholder img {
  object-fit: cover;
}

.carousel-track {
  display: inline-block;
  line-height: 0; 
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 0.5s ease, transform 0.5s ease;
  max-width: 100%;
  height: auto;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  position: relative;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  cursor: pointer;

  font-size: 26px;
  line-height: 1;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
}

.carousel-btn.prev {
  left: 12px;
}

.carousel-btn.next {
  right: 12px;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.65);
}

/* конец секции карт */

/* фильтр по локациям бакалаврат колледж и магистратура*/

:root {
  --accent: #0E436F;
  --accent-dark: #0a3457;
  --accent-light: #eaf3fb;
  --accent-soft: #d7e7f4;
  --text: #1f2937;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --white: #ffffff;
  --bg: #f7fbff;
  --shadow: 0 10px 30px rgba(14, 67, 111, 0.10);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 12px;
}


.location-filter-section {
  padding: 80px 20px;
  
}

.location-filter-section .container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.section-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.section-header h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.08;
  color: var(--accent);
  text-align: center;
}

.section-header p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
}

.filter-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 20px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border: 1px solid rgba(14, 67, 111, 0.12);
  margin-bottom: 28px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-group label {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.filter-group select {
  height: 58px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: #fff;
  padding: 0 18px;
  font-size: 16px;
  color: var(--text);
  outline: none;
  transition: 0.25s ease;
  cursor: pointer;
}

.filter-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 67, 111, 0.14);
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.btn {
  min-height: 52px;
  padding: 0 20px;
  border: none;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #1a5b91 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(14, 67, 111, 0.24);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(14, 67, 111, 0.28);
}

.btn-secondary {
  background: var(--accent-light);
  color: var(--accent);
}

.btn-secondary:hover {
  background: var(--accent-soft);
}

.btn-ghost {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.results-topbar {
  margin-bottom: 18px;
}

.results-topbar p {
  margin: 0;
  font-size: 15px;
  color: var(--text-muted);
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 1fr));
  gap: 22px;
}

.location-card {
  position: relative;
  display: block;
  text-decoration: none;
  background: #fff;
  border-radius: 22px;
  padding: 24px;
  border: 1px solid rgba(14, 67, 111, 0.12);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: 0.25s ease;
  overflow: hidden;
  color: inherit;
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.09);
}

.location-card:focus-visible {
  outline: 3px solid rgba(14, 67, 111, 0.25);
  outline-offset: 4px;
}

.location-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.25;
  color: var(--text);
  transition: 0.2s ease;
}

.location-card:hover h3 {
  color: var(--accent);
}

.location-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}
.card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.card-program {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
  font-size: 14px;
  font-weight: 700;
}

.level-badges {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.level-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #3d78a6);
  box-shadow: 0 6px 14px rgba(14, 67, 111, 0.2);
}

.location-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.25;
  color: var(--text);
}

.location-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-muted);
}

.card-footer {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #e2e8f0;
}

.empty-state {
  display: none;
  text-align: center;
  padding: 50px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed rgba(14, 67, 111, 0.3);
  margin-top: 10px;
}

.empty-state.show {
  display: block;
}

.empty-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.empty-state h3 {
  margin: 0 0 8px;
  color: var(--accent);
}

.empty-state p {
  margin: 0;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .filter-panel,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .card-top {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .location-filter-section {
    padding: 60px 16px;
  }

  .filter-panel {
    padding: 20px;
  }

  .btn {
    width: 100%;
  }

  .location-card {
    padding: 20px;
  }
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

.location-filter-section .container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.filter-panel,
.filter-group,
.filter-actions,
.locations-grid,
.location-card {
  min-width: 0;
}

.filter-group select {
  width: 100%;
  max-width: 100%;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 32px;
    line-height: 1.15;
  }

  .section-header p {
    font-size: 16px;
    line-height: 1.5;
  }

  .filter-panel {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 16px;
  }

  .filter-group label {
    font-size: 14px;
  }

  .filter-group select {
    height: 52px;
    font-size: 15px;
    padding: 0 14px;
  }

  .filter-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-height: 50px;
  }

  .locations-grid {
    grid-template-columns: 1fr;
  }

  .location-card {
    padding: 18px;
  }

  .location-card h3 {
    font-size: 20px;
  }

  .card-program {
    font-size: 13px;
    padding: 7px 10px;
  }
}
/* конец фильтра */

/* секция программы и ивенты */

#program {
  padding: 32px 64px;
}

#program h2 {
  margin-bottom: 48px;
}

.event-box0 {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
}

.event-box1 {
  display: flex;
  gap: 48px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.event {
  flex: 1 1 250px;
}
.event-box2 {
  display: flex;
  gap: 48px;
  justify-content: space-between;
}

.event {
  background: #fff;
  padding: 24px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0px 8px 24px rgba(3, 35, 80, 0.12);
}

.event-time {
  font-weight: 700;
  font-size: 36px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #002C52;
}

.event-name {
  font-weight: 600;
  font-size: 24px;
  line-height: 140%;
  color: #00457A;
}

.event-description {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  color: #B3B3B3;
}

/*  конец секции программы и ивенты */

/* кнопка регистрации */

.register-button {
  margin-top: 64px;
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 100%;
  width: fit-content;
  min-width: 340px;
  min-height: 90px;
  margin: 64px auto 0;
  padding: 24px 36px;

  background: linear-gradient(180deg, #18578B 0%, #0E436F 100%);
  border: 1px solid rgba(14, 67, 111, 0.08);
  border-radius: 10px;

  color: #ffffff;
  text-decoration: none;
  text-align: center;

  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: 0.01em;

  box-shadow:
    0 14px 30px rgba(3, 35, 80, 0.18),
    0 4px 10px rgba(3, 35, 80, 0.10);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    filter 0.25s ease;
}

.register-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow:
    0 18px 34px rgba(3, 35, 80, 0.22),
    0 6px 12px rgba(3, 35, 80, 0.12);
}

.-button:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .register-button {
    width: 100%;
    min-width: 0;
    padding: 18px 20px;
    min-height: auto;
    font-size: 20px;
  }
}

/* конец кнопки */

/* менеджерс */

#managers {
  padding: 64px 80px;
}

.managers-title {
  font-size: 42px;
  font-weight: 800;
  color: #032350;
  margin-bottom: 8px;
}

.managers-subtitle {
  font-size: 18px;
  color: #434455;
  margin-bottom: 48px;
}

.managers-wrapper {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.manager-card {
  min-width: 300px;
  width: 350px;
  background: #ffffff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0px 8px 24px rgba(3, 35, 80, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

.manager-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.manager-info {
  width: 90%;
  background: #ffffff;
  padding: 20px;
  margin-top: -40px; 
  border-radius: 16px;
  text-align: center;
  box-shadow: 0px 8px 24px rgba(3, 35, 80, 0.25);
}

.manager-info h3 {
  font-size: 16px;
  font-weight: 500;
  color: #1E1E1E;
  margin-bottom: 6px;
  line-height: 19px;
}

.manager-info a {
  font-size: 16px;
  font-weight: 600;
  color: #237DC2;
  text-decoration: none;
  line-height: 19px;
}

/* конец менеджерс */

/* кнопка вступу */

.vstup-button {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 100%;
  width: fit-content;
  min-width: 340px;
  min-height: 90px;
  margin: 12px auto 0;
  padding: 24px 36px;

  background: linear-gradient(180deg, #125487 0%, #0E436F 100%);
  border: 1px solid rgba(14, 67, 111, 0.08);
  border-radius: 16px;

  color: #ffffff;
  text-decoration: none;
  text-align: center;

  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.02em;

  box-shadow:
    0 14px 30px rgba(3, 35, 80, 0.18),
    0 4px 10px rgba(3, 35, 80, 0.10);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    filter 0.25s ease;
}

.vstup-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.05);
  box-shadow:
    0 18px 34px rgba(3, 35, 80, 0.22),
    0 6px 12px rgba(3, 35, 80, 0.12);
}

.vstup-button:active {
  transform: translateY(0);
}

@media (max-width: 768px) {
  .vstup-button {
    width: 100%;
    min-width: 0;
    padding: 18px 20px;
    min-height: auto;
    font-size: 20px;
  }
}

/* конец кнопки вступу */

/* футер */

#footer {
  background: #0E436F; 
  padding: 32px 64px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.footer-logo {
  height: 60px;
  object-fit: contain;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social img {
  width: 28px;
  height: 28px;
  cursor: pointer;
}

.footer-right h4 {
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 16px;
  color: #ffffff;
}

.footer-right p {
  margin: 4px 0;
}

.footer-right a {
  color: #ffffff;
  text-decoration: underline;
  font-size: 15px;
}

.footer-right a:hover {
  opacity: 0.8;
}

/* конец футера */


@media (max-width: 1024px) {
  #section-container-cyber {
    display: flex;
    flex-direction: column;
    gap: 70px;
    align-items: center;
  }
  #section-container-cyber-img img{
    border-radius: 8px;
    border: 10px solid #FFFFFF;
    object-fit: cover;
    max-width: 740px;
  }

  #cyber-festival {
  padding: 48px 20px;
  background-color: #0E436F;
}

  #cyber-festival h2 {
  font-size: 36px;
}

#section-h2-yellow {
  font-size: 36px;
  text-align: left;
  margin-bottom: 8px;
}

#section-p-cyber {
  width: auto;
  max-width: 760px;
  font-weight: 400;
  font-size: 18px;
  margin-bottom: 24px;
}

#section-container-cyber {
  display: flex;
  flex-direction: row;
  align-items: center;
}

#section-container-cyber-img img{
  border-radius: 8px;
  border: 10px solid #FFFFFF;
  object-fit: cover;
  max-width: 470px;
}

.cyber-place {
  font-style: normal;
  font-weight: 600;
  font-size: 28px;
}


.cyber-place-name {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
}

  .header {
    height: auto;
    padding: 18px 20px;
    align-items: center;
    align-content: center;
  }

  .header nav {
    gap: 16px;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; 
    position: relative; 
  }

  .logo {
    max-width: 200px;
    height: 44px;
    width: auto;
    display: block;
  }

  #hero {
    padding: 80px 32px;
  }

  #hero h1 {
    font-size: 44px;
  }

  #hero p {
    font-size: 18px;
    max-width: 820px;
  }

  .map-placeholder {
  border: 10px solid #FFFFFF;
}

  section {
    padding: 48px 20px;
  }

  section h2 {
    font-size: 36px;
  }

  #map {
    padding: 48px 20px;
  }

  #section-p {
    width: 100%;
    max-width: 520px;
    font-size: 18px;
  }

  #program {
    padding: 32px 20px;
  }

  .event-box0 {
    gap: 28px;
  }

  .event-box1,
  .event-box2 {
    gap: 24px;
  }

  .event-time {
    font-size: 30px;
  }

  .event-name {
    font-size: 20px;
  }

  .register-button {
    margin: 48px 0;
    height: auto;
    font-size: 28px;
    padding: 20px;
    min-width: 260px;
  }

  #managers {
    padding: 48px 20px;
  }

  .managers-title {
    font-size: 36px;
  }

  .managers-wrapper {
    gap: 24px;
  }

  .manager-card {
    width: 320px;
    min-width: 260px;
  }

  #footer {
    padding: 28px 20px;
  }

  .footer-content {
    gap: 28px;
  }
}


@media (max-width: 768px) {
  #section-container-cyber-img img{
    border-radius: 8px;
    border: 10px solid #FFFFFF;
    object-fit: cover;
    max-width: 540px;
  }

  #cyber-festival {
  padding: 40px 16px;
  background-color: #0E436F;
}

  #cyber-festival h2 {
  font-size: 28px;
  
}

#section-h2-yellow {
  font-size: 28px;
  text-align: left;
  margin-bottom: 8px;
}

#section-p-cyber {
  width: auto;
  max-width: 760px;
  font-weight: 400;
  font-size: 14px;
  margin-bottom: 24px;
}

#section-container-cyber {
  display: inline-grid;
  gap: 24px;
}

#section-container-cyber-img img{
  border-radius: 8px;
  border: 10px solid #FFFFFF;
  object-fit: cover;
  max-width: 100%;
}

.cyber-place {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
}


.cyber-place-name {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
}

  .header {
    padding: 16px 16px;
  }

  .header nav {
    flex-wrap: nowrap;
  }

  #hero {
    padding: 56px 16px;
  }

  #hero h1 {
    font-size: 34px;
    line-height: 120%;
  }

  #hero p {
    font-size: 16px;
    line-height: 140%;
    margin-bottom: 16px;
  }

  #hero a {
    width: 100%;
    text-align: center;
    padding: 14px 16px;
  }

  .map-placeholder {
  border: 6px solid #FFFFFF;
}

  section {
    padding: 40px 16px;
  }

  section h2 {
    font-size: 28px;
  }

  #map {
    padding: 40px 16px;
  }

  #section-p {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
  }

  #program {
    padding: 24px 16px;
  }

  #program h2 {
    margin-bottom: 24px;
  }

  .event-box1,
  .event-box2 {
    flex-direction: column;
    gap: 16px;
  }

  .event-box1 .event,
  .event-box2 .event {
    width: 100%;
    height: auto;
    padding: 18px;
  }

  .event-time {
    font-size: 26px;
  }

  .event-name {
    font-size: 18px;
  }

  .event-description {
    font-size: 14px;
  }

  .register-button {
    width: 100%;
    min-width: 0;
    font-size: 20px;
    padding: 18px;
    margin: 28px 0 8px;
  }

  #managers {
    padding: 40px 16px;
  }

  .managers-title {
    font-size: 28px;
  }

  .managers-subtitle {
    font-size: 16px;
    margin-bottom: 28px;
  }

  .managers-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .manager-card {
    width: 100%;
    max-width: 420px;
    min-width: 0;
  }

  .manager-card img {
    height: 200px;
  }

  .manager-info {
    width: 92%;
    margin-top: -32px;
  }

  #footer {
    padding: 24px 16px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-social {
    gap: 16px;
  }

  .footer-right a {
    word-break: break-word;
  }
}


@media (max-width: 375px) {
#section-container-cyber-img img{
    border-radius: 8px;
    border: 10px solid #FFFFFF;
    object-fit: cover;
    max-width: 240px;
  }

  #cyber-festival {
  padding: 40px 16px;
  background-color: #0E436F;
}

   #cyber-festival h2 {
  font-size: 26px;
}

#section-h2-yellow {
  text-align: left;
  margin-bottom: 8px;
}

#section-p-cyber {
  width: auto;
  max-width: 760px;
  font-weight: 400;
  margin-bottom: 24px;
}

#section-container-cyber {
  display: inline-grid;
  gap: 24px;
}

#section-container-cyber-img img{
  border-radius: 8px;
  border: 10px solid #FFFFFF;
  object-fit: cover;
  max-width: 100%;
}

.cyber-place {
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
}


.cyber-place-name {
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
}

  #hero h1 {
    font-size: 30px;
  }

  section h2 {
    font-size: 26px;
  }

  .event-time {
    font-size: 24px;
  }

  .register-button {
    font-size: 18px;
  }
}




.nav-toggle {
  display: none;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #005EA6;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 1024px) {
  
  .burger {
    display: flex;
    flex: 0 0 auto;
  }

  
  .header nav ul {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: #0E436F;
    padding: 12px;
    border-radius: 10px;
    box-shadow: 0px 8px 24px rgba(3, 35, 80, 0.25);
    z-index: 10;

    flex-direction: column;
    gap: 10px;
  }

  .header nav ul li {
    margin-top: 0;
  }

  .header nav ul li a {
    width: 100%;
    justify-content: flex-start;
    height: auto;
  }

  
  .nav-toggle:checked ~ ul {
    display: flex;
  }

  
  .nav-toggle:checked + .burger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked + .burger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .burger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

#hero-locations {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #0E436F;
  padding: 124px 64px;
  width: auto;
}

#hero-locations h1 {
  font-size: 62px;
  margin-bottom: 6px;
  font-weight: 700; 
  color: #FFAD33;
  text-align: left;
  line-height: 120%;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

#hero-loctions p {
  font-size: 24px;
  max-width: 1030px;
  margin-bottom: 12px;
  font-weight: 400;
  color: #FFFFFF;
  text-align: left;
  line-height: 120%;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

#hero-locations h2 {
  font-size: 48px;
  margin-bottom: 6px;
  font-weight: 700; 
  color: #FFFFFF;
  text-align: left;
  line-height: 137%;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  font-family: 'Montserrat', sans-serif;
}
