/* ===== BASE LAYOUT ===== */
.screen {
  background-color: #ffffff;
  width: 100%;
  overflow-x: hidden;
}

.screen .TQ {
  display: flex;
  flex-direction: column;
  width: 100%;
  background-color: #ffffff;
}

.screen .main-content {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* ===== HEADER ===== */
.screen .header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background-color: #ffffff;
  box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  box-sizing: border-box;
}

.screen .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 43px;
}

.screen .header-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.screen .header-logo-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.screen .header-logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.screen .header-name {
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #003399;
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 28px;
  white-space: nowrap;
}

.screen .header-name-en {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6a7282;
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 15px;
  white-space: nowrap;
}

.screen .navigation {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.screen .nav-btn {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #364153;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.screen .nav-btn.nav-active {
  color: #003399;
  font-weight: 700;
}

.screen .nav-icon {
  width: 14px;
  height: 14px;
}

.screen .nav-cta {
  all: unset;
  box-sizing: border-box;
  height: 36px;
  padding: 0 20px;
  background-color: #003399;
  border-radius: 9999px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

/* ===== HERO BANNER ===== */
.screen .hero-banner {
  width: 100%;
  padding: 80px 80px 56px;
  background-color: #002d62;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 64px;
  box-sizing: border-box;
}

.screen .hero-heading {
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.2;
}

.screen .hero-subtitle {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: rgba(219, 234, 254, 0.7);
  font-size: 18px;
  line-height: 28px;
}

/* ===== COURSES SECTION ===== */
.screen .courses-section {
  width: 100%;
  padding: 80px 80px;
  background-color: #f8fafc;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.screen .section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.screen .section-label {
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #003399;
  font-size: 14px;
  letter-spacing: 1.4px;
  line-height: 20px;
  text-transform: uppercase;
}

.screen .section-title {
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #101828;
  font-size: clamp(24px, 2.5vw, 36px);
  line-height: 1.1;
}

.screen .section-desc {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6a7282;
  font-size: 16px;
  line-height: 24px;
  max-width: 600px;
}

.screen .courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
}

/* ===== COURSE CARD ===== */
.screen .course-card {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #f3f4f6;
  box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.1), 0px 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.screen .course-card:hover {
  box-shadow: 0px 4px 6px -4px rgba(0, 0, 0, 0.12), 0px 10px 15px -3px rgba(0, 0, 0, 0.12);
  transform: translateY(-3px);
}

.screen .course-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}



.screen .course-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.screen .course-title {
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #101828;
  font-size: 20px;
  line-height: 28px;
}

.screen .course-desc-text {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #6a7282;
  font-size: 14px;
  line-height: 20px;
  flex: 1;
}

.screen .course-link {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  cursor: pointer;
}

.screen .course-link-text {
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #003399;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}

.screen .course-link-icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

/* ===== FOOTER ===== */
.screen .footer {
  display: flex;
  flex-direction: column;
  padding: 80px 80px 0;
  background-color: #001a3d;
  gap: 48px;
  width: 100%;
  box-sizing: border-box;
}

.screen .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  width: 100%;
}

.screen .footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.screen .footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.screen .footer-logo-img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.screen .footer-logo-text {
  display: flex;
  flex-direction: column;
}

.screen .footer-name {
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 28px;
  white-space: nowrap;
}

.screen .footer-name-en {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: #8ec5ff;
  font-size: 10px;
  letter-spacing: 1px;
  line-height: 15px;
  white-space: nowrap;
}

.screen .footer-brand-desc {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: rgba(219, 234, 254, 0.6);
  font-size: 16px;
  line-height: 26px;
}

.screen .footer-social {
  width: 100%;
  height: auto;
}

.screen .footer-links-col {
  position: relative;
  min-height: 244px;
}

.screen .footer-col-heading {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.screen .footer-col-title {
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 18px;
  line-height: 28px;
  white-space: nowrap;
}

.screen .footer-col-bar {
  width: 32px;
  height: 4px;
  background-color: #003399;
}

.screen .footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
}

.screen .footer-list li {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: rgba(219, 234, 254, 0.6);
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  transition: color 0.2s;
}

.screen .footer-list li:hover {
  color: rgba(219, 234, 254, 0.9);
}

.screen .footer-newsletter-col {
  position: relative;
  min-height: 200px;
}

.screen .footer-newsletter-desc {
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: rgba(219, 234, 254, 0.6);
  font-size: 16px;
  line-height: 24px;
}

.screen .footer-newsletter-form {
  display: flex;
  gap: 8px;
  position: absolute;
  top: 132px;
  left: 0;
  width: 100%;
  height: 50px;
  align-items: flex-start;
}

.screen .footer-email-input {
  flex: 1;
  height: 50px;
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  white-space: nowrap;
  box-sizing: border-box;
}

.screen .footer-subscribe-btn {
  all: unset;
  box-sizing: border-box;
  width: 64px;
  height: 50px;
  background-color: #003399;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  flex-shrink: 0;
}

.screen .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 61px;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.screen .footer-copyright {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: rgba(219, 234, 254, 0.4);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  margin: 0;
}

.screen .footer-bottom-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.screen .footer-bottom-links span {
  font-family: "Inter", Helvetica;
  font-weight: 400;
  color: rgba(219, 234, 254, 0.4);
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s;
}

.screen .footer-bottom-links span:hover {
  color: rgba(219, 234, 254, 0.7);
}

/* ===== HAMBURGER BUTTON ===== */
.screen .hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.screen .hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: #364153;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.screen .hamburger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.screen .hamburger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.screen .hamburger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.screen .mobile-menu {
  display: none;
}

.screen .mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.screen .mobile-nav-item {
  all: unset;
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 16px 20px;
  font-family: "Inter", Helvetica;
  font-weight: 500;
  color: #364153;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
  border-bottom: 1px solid #f3f4f6;
  transition: background-color 0.2s;
}

.screen .mobile-nav-item:hover {
  background-color: #f8fafc;
}

.screen .mobile-nav-active {
  color: #003399 !important;
  font-weight: 700 !important;
}

.screen .mobile-nav-cta {
  all: unset;
  box-sizing: border-box;
  display: block;
  margin: 16px 20px 8px;
  padding: 14px 20px;
  background-color: #003399;
  color: #ffffff;
  font-family: "Inter", Helvetica;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  border-radius: 10px;
  cursor: pointer;
}

/* ===== TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
  .screen .header {
    padding: 0 24px;
  }

  .screen .navigation {
    gap: 14px;
  }

  .screen .nav-cta {
    padding: 0 14px;
  }

  .screen .hero-banner {
    padding: 80px 40px 56px;
  }

  .screen .courses-section {
    padding: 64px 40px;
    gap: 40px;
  }

  .screen .courses-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .screen .footer {
    padding: 60px 40px 0;
  }

  .screen .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .screen .footer-links-col:nth-child(2) { grid-column: 2 / 3; grid-row: 1 / 2; }
  .screen .footer-links-col:nth-child(3) { grid-column: 1 / 2; grid-row: 2 / 3; }
  .screen .footer-newsletter-col { grid-column: 2 / 3; grid-row: 2 / 3; }
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
  /* Header */
  .screen .header {
    padding: 0 16px;
    height: 56px;
  }

  .screen .navigation {
    display: none;
  }

  .screen .hamburger-btn {
    display: flex;
  }

  .screen .mobile-menu {
    display: flex;
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1), 0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    z-index: 999;
    flex-direction: column;
    padding: 8px 0 16px;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    pointer-events: none;
  }

  .screen .mobile-menu.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0s;
    pointer-events: auto;
  }

  /* Hero */
  .screen .hero-banner {
    padding: 56px 20px 40px;
    margin-top: 56px;
  }

  .screen .hero-heading {
    font-size: clamp(28px, 8vw, 40px);
  }

  .screen .hero-subtitle {
    font-size: 15px;
  }

  /* Courses */
  .screen .courses-section {
    padding: 48px 20px;
    gap: 32px;
  }

  .screen .courses-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .screen .section-desc {
    font-size: 15px;
  }

  /* Footer */
  .screen .footer {
    padding: 60px 20px 0;
    gap: 0;
  }

  .screen .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .screen .footer-brand {
    padding-bottom: 48px;
  }

  .screen .footer-links-col {
    min-height: 230px;
    padding-bottom: 48px;
    grid-column: 1 / 2 !important;
    grid-row: auto !important;
  }

  .screen .footer-newsletter-col {
    min-height: 210px;
    padding-bottom: 48px;
    grid-column: 1 / 2 !important;
    grid-row: auto !important;
  }

  .screen .footer-bottom {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    align-items: flex-start;
    gap: 12px;
  }

  .screen .footer-copyright {
    white-space: normal;
  }

  .screen .footer-bottom-links {
    flex-wrap: wrap;
    gap: 12px;
  }

  .screen .footer-bottom-links span {
    white-space: normal;
  }
}
