/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #111827;
  background: #fff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
}

/* ===== LAYOUT HELPERS ===== */
.container {
  max-width: 80rem; /* 1280px */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
  .container { padding-left: 2rem; padding-right: 2rem; }
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  z-index: 50;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #111827;
  font-size: 1.25rem;
  font-weight: 600;
}

.nav__logo svg {
  color: #2563eb;
  flex-shrink: 0;
}

.nav__menu {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .nav__menu { display: flex; }
}

.nav__menu button {
  color: #374151;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav__menu button:hover {
  color: #2563eb;
}

.nav__register {
  display: none;
}

@media (min-width: 768px) {
  .nav__register { display: block; }
}

.nav__hamburger {
  display: flex;
  align-items: center;
  color: #374151;
}

@media (min-width: 768px) {
  .nav__hamburger { display: none; }
}

/* Mobile menu */
.mobile-menu {
  display: none;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu__inner {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.5rem 0;
  color: #374151;
  transition: color 0.2s;
}

.mobile-menu button:hover {
  color: #2563eb;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: background-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  font-size: 1rem;
}

.btn--primary {
  background: #2563eb;
  color: #fff;
}

.btn--primary:hover {
  background: #1d4ed8;
}

.btn--primary-lg {
  background: #2563eb;
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}

.btn--primary-lg:hover {
  background: #1d4ed8;
  box-shadow: 0 6px 20px rgba(37,99,235,0.5);
}

.btn--white {
  background: #fff;
  color: #2563eb;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

.btn--white:hover {
  background: #f3f4f6;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* ===== HERO SECTION ===== */
.hero {
  padding-top: 6rem;
  padding-bottom: 4rem;
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
}

.hero__content {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero h1 { font-size: 3rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; }
}

.hero__subtitle {
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 3rem;
  line-height: 1.7;
}

@media (min-width: 640px) {
  .hero__subtitle { font-size: 1.25rem; }
}

.hero__features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero__features { grid-template-columns: repeat(3, 1fr); }
}

.hero__feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.hero__feature svg {
  width: 3rem;
  height: 3rem;
  color: #2563eb;
  margin-bottom: 0.75rem;
}

.hero__feature p {
  color: #111827;
  font-weight: 500;
}

/* ===== SECTION COMMONS ===== */
.section {
  padding: 5rem 0;
}

.section--gray {
  background: #f9fafb;
}

.section--gradient {
  background: linear-gradient(135deg, #eff6ff 0%, #eef2ff 100%);
}

.section--gradient-rev {
  background: linear-gradient(135deg, #eef2ff 0%, #eff6ff 100%);
}

.section--blue {
  background: #2563eb;
}

.section--dark {
  background: #111827;
  color: #fff;
}

.section__header {
  text-align: center;
  margin-bottom: 3rem;
}

.section__header h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .section__header h2 { font-size: 2.25rem; }
}

.section__header p {
  font-size: 1.125rem;
  color: #4b5563;
}

/* ===== ABOUT SECTION ===== */
.about__content {
  max-width: 48rem;
  margin: 0 auto;
}

.about__content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

@media (min-width: 640px) {
  .about__content h2 { font-size: 2.25rem; }
}

.about__content > p {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.6;
}

.about__list li::before {
  content: '•';
  color: #2563eb;
  font-weight: 700;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* ===== ORGANIZERS SECTION ===== */
.organizers__grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

@media (min-width: 768px) {
  .organizers__grid {
    flex-direction: row;
    justify-content: center;
    gap: 5rem;
  }
}

.organizer {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.organizer__logo-wrap {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: box-shadow 0.2s;
}

.organizer__logo-wrap:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
}

.organizer__logo-wrap img {
  height: 6rem;
  width: auto;
  object-fit: contain;
}

.organizer p {
  margin-top: 1rem;
  color: #374151;
  text-align: center;
  font-size: 0.95rem;
}

/* ===== PROGRAMS SECTION ===== */
.programs__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .programs__grid { grid-template-columns: repeat(2, 1fr); }
}

.program-card {
  background: #fff;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s;
}

.program-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.program-card__image-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.program-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.program-card:hover .program-card__image-wrap img {
  transform: scale(1.05);
}

.program-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.3);
}

.program-card__play-btn {
  width: 4rem;
  height: 4rem;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.program-card__play-btn:hover {
  background: #fff;
}

.program-card__play-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #2563eb;
  margin-left: 3px;
}

.program-card__body {
  padding: 1.5rem;
}

.program-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.program-card__desc {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

/* ===== CONDITIONS SECTION ===== */
.conditions__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .conditions__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .conditions__grid { grid-template-columns: repeat(4, 1fr); }
}

.condition-card {
  text-align: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}

.condition-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.condition-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: #dbeafe;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.condition-card__icon svg {
  width: 2rem;
  height: 2rem;
  color: #2563eb;
}

.condition-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.5rem;
}

.condition-card p {
  color: #4b5563;
  font-size: 0.9rem;
  line-height: 1.6;
}

.conditions__note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.875rem;
  color: #4b5563;
}

/* ===== CERTIFICATE SECTION ===== */
.certificate__wrap {
  max-width: 42rem;
  margin: 0 auto;
}

.certificate__card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  transition: box-shadow 0.2s;
}

.certificate__card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.certificate__img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.certificate__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.certificate__body {
  padding: 1.5rem;
  text-align: center;
}

.certificate__body h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.75rem;
}

.certificate__body p {
  color: #4b5563;
  line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta {
  text-align: center;
  max-width: 56rem;
  margin: 0 auto;
}

.cta h2 {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .cta h2 { font-size: 2.25rem; }
}

.cta p {
  font-size: 1.25rem;
  color: #bfdbfe;
  margin-bottom: 2rem;
}

/* ===== FAQ SECTION ===== */
.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 48rem;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 0.625rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: #111827;
  transition: color 0.2s;
  gap: 1rem;
}

.faq-item__question:hover {
  color: #2563eb;
}

.faq-item__chevron {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: #6b7280;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s;
  padding: 0 1.5rem;
}

.faq-item.open .faq-item__answer {
  max-height: 200px;
  padding: 0 1.5rem 1.25rem;
}

.faq-item__answer p {
  color: #374151;
  line-height: 1.7;
}

/* ===== CONTACT SECTION ===== */
.contact__card {
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 2rem;
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact__card { padding: 3rem; }
}

.contact__person {
  text-align: center;
  margin-bottom: 2rem;
}

.contact__person h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #111827;
  margin-bottom: 0.25rem;
}

.contact__person p {
  color: #4b5563;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 28rem;
  margin: 0 auto;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 0.5rem;
}

.contact__item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: #2563eb;
  flex-shrink: 0;
}

.contact__item__label {
  font-size: 0.875rem;
  color: #4b5563;
  margin-bottom: 0.25rem;
}

.contact__item a {
  font-size: 1.125rem;
  color: #111827;
  transition: color 0.2s;
  word-break: break-all;
}

.contact__item a:hover {
  color: #2563eb;
}

/* ===== FOOTER ===== */
.footer {
  background: #111827;
  color: #fff;
  padding: 3rem 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.footer__desc {
  color: #9ca3af;
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer__col h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer__logos {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.footer__logos img {
  height: 3rem;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer__logos img:hover {
  opacity: 1;
}

.footer__legal {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__legal a {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: #fff;
}

.footer__bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  text-align: center;
  color: #6b7280;
  font-size: 0.875rem;
}
