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

.teacher-trial-form, .teacher-trial-form-title, .teacher-trial-form-group, .teacher-trial-btn {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif !important;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header-kyna {
  background: white;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: none;
}

.header-kyna-top {
  background: white;
  padding: 12px 0;
  border-bottom: none;
}

.header-kyna-top-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 20px;
  gap: 30px;
}

.lang-select {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #666;
  font-weight: 400;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.3s ease;
}

.lang-select:hover {
  background: #f8f9fa;
}

.lang-flag {
  font-size: 14px;
  font-weight: 600;
}

.header-kyna-top-actions {
  display: flex;
  align-items: center;
  gap: 25px;
}

.menu-login {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: color 0.3s ease;
  padding: 4px 0;
}

.menu-login:hover {
  color: #1d4ed8;
}

.btn-free-trial-kyna {
  background: #2563eb;
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-free-trial-kyna:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
}

.header-kyna-main {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  gap: 40px;
}

.header-kyna-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header-kyna-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.kyna-logo-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.kyna-logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.kyna-logo-main {
  font-size: 26px;
  font-weight: 800;
  color: #059669;
  line-height: 1;
  letter-spacing: 0.5px;
}

.kyna-logo-sub {
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
  line-height: 1;
  letter-spacing: 0.5px;
}

.header-kyna-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  flex: 1;
}

.header-kyna-menu a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 0;
  transition: color 0.3s ease;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-kyna-menu a:hover {
  color: #2563eb;
}

.menu-green {
  color: #059669 !important;
  font-weight: 600;
}

.menu-dropdown {
  position: relative;
}

.menu-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.arrow {
  font-size: 8px;
  color: #999;
  transition: transform 0.3s ease;
  margin-left: 2px;
}

.menu-dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 5px;
}

.menu-dropdown:hover .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-list li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-list a {
  display: block;
  padding: 8px 20px;
  color: #333;
  text-decoration: none;
  font-size: 13px;
  transition: background 0.3s ease;
  font-weight: 400;
}

.dropdown-list a:hover {
  background: #f8f9fa;
  color: #2563eb;
}

/* Main Banner Section */
.main-banner {
  background: linear-gradient(135deg, #dbeafe 0%, #ffffff 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}

.banner-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.banner-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.banner-title {
  font-size: 48px;
  font-weight: 700;
  color: #333;
  margin-bottom: 50px;
  line-height: 1.2;
}

.highlight-number {
  color: #2563eb;
  font-size: 56px;
  font-weight: 800;
}

/* Statistics Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: linear-gradient(90deg, #d1fae5 0%, #dbeafe 100%);
  border-radius: 20px;
  padding: 20px 10px;
  box-shadow: 0 4px 25px rgba(0,0,0,0.05);
  margin: 0 auto 32px auto;
  width: 100%;
  max-width: 1100px;
  border: 1px solid rgba(0,0,0,0.05);
}
.stat-item {
  text-align: left;
  color: #1f2937;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 20px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: rgba(0,0,0,0.08);
}
.stat-number {
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1;
  color: #1f2937;
}
.stat-label {
  font-size: 1rem;
  line-height: 1.3;
  color: #374151;
}
.stat-label div:first-child {
  font-weight: 700;
  margin-bottom: 0px;
  color: #1f2937;
}
.stat-label div:last-child {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 400;
}
@media (max-width: 1200px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    padding: 36px 24px;
    max-width: 600px;
    border: 2px solid #93c5fd;
    background: linear-gradient(90deg, #dbeafe 0%, #a7f3d0 100%);
  }
  .stat-item {
     align-items: flex-start;
     text-align: left;
     padding: 8px 0 8px 12px;
  }
   .stat-item::after {
    display: none;
  }
}
@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: 1fr 1fr;
    gap: 10px;
    padding: 18px 6px;
    max-width: 98vw;
    border-radius: 14px;
  }
  .stat-item {
    padding: 4px 0 4px 8px;
    border-radius: 10px;
  }
  .stat-number {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.92rem;
  }
}

/* Education Solution Section */
.education-solution {
  padding: 80px 0;
  background: white;
}

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

.section-subtitle {
  color: #2563eb;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.3;
}

.section-description {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
  justify-content: center;
}

.program-card {
  background: #fff;
  border: 2px solid #dbeafe;
  border-radius: 28px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.10);
  transition: box-shadow 0.3s, border 0.3s, transform 0.2s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0;
}

.program-card:hover {
  box-shadow: 0 24px 64px rgba(37, 99, 235, 0.18), 0 2px 8px rgba(0,0,0,0.04);
  border: 2px solid #2563eb;
  transform: translateY(-6px) scale(1.03);
}

.program-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #2563eb 0%, #dbeafe 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin: 32px 0 18px 0;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.10);
}

.program-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin-bottom: 10px;
  text-align: center;
  padding: 0 18px;
}

.program-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s;
  margin-bottom: 0;
  display: inline-block;
}

.program-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

/* Free Trial Section */
.free-trial {
  background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
  padding: 80px 0;
  text-align: center;
  color: white;
}

.trial-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.trial-content p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.trial-button {
  display: inline-block;
  background: white;
  color: #2563eb;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.trial-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

/* Advantages Section */
.advantages {
  padding: 80px 0;
  background: #f8f9fa;
}
.advantages-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
}
.advantages-header h2 {
  font-size: 44px;
  font-weight: 900;
  color: #222;
  margin-bottom: 18px;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #059669 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: inline-block;
  position: relative;
}
.advantages-header h2::after {
  content: '';
  display: block;
  width: 70px;
  height: 5px;
  border-radius: 3px;
  margin: 16px auto 0 auto;
  background: linear-gradient(90deg, #059669 0%, #2563eb 100%);
}
.advantages-header p {
  font-size: 22px;
  color: #222;
  font-weight: 600;
  margin-top: 18px;
  letter-spacing: 0.5px;
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.advantage-item {
  background: #fff;
  border-radius: 28px;
  padding: 48px 36px 40px 36px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.10);
  position: relative;
  transition: box-shadow 0.3s, transform 0.2s;
  border: 2px solid #dbeafe;
  min-height: 260px;
}
.advantage-item:hover {
  box-shadow: 0 24px 64px rgba(37, 99, 235, 0.18), 0 2px 8px rgba(0,0,0,0.04);
  transform: translateY(-6px) scale(1.03);
  border: 2px solid #2563eb;
}
.advantage-number {
  position: absolute;
  top: -28px;
  left: 36px;
  background: linear-gradient(135deg, #2563eb 0%, #059669 100%);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 26px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.12);
  border: 4px solid #fff;
  z-index: 2;
}
.advantage-item h3 {
  font-size: 22px;
  font-weight: 800;
  color: #222;
  margin-bottom: 22px;
  margin-top: 18px;
  letter-spacing: 0.5px;
}
.advantage-item ul {
  list-style: none;
  padding: 0;
}
.advantage-item li {
  padding: 10px 0 10px 32px;
  color: #444;
  font-size: 18px;
  line-height: 1.5;
  position: relative;
  font-weight: 500;
}
.advantage-item li::before {
  content: '\2714';
  color: #2563eb;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 7px;
  font-weight: bold;
}
@media (max-width: 1024px) {
  .advantages-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .advantage-item {
    padding: 32px 16px 28px 16px;
    min-height: 180px;
  }
  .advantage-number {
    left: 16px;
    width: 44px;
    height: 44px;
    font-size: 18px;
    top: -18px;
  }
}

/* Trust Section */
.trust-section {
  padding: 80px 0;
  background: white;
}

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

.trust-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}

.trust-header p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

.students-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 32px;
  margin: 32px auto;
  max-width: 1200px;
  background: none;
  border-radius: 32px;
  padding: 0;
  align-items: stretch;
}
.student-item--big {
  grid-row: 1 / span 2;
  grid-column: 1 / 2;
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.student-item--big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}
.students-row {
  display: contents;
}
.students-row .student-item {
  border-radius: 32px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}
.students-row .student-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}
.students-row .student-item:nth-child(1) {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}
.students-row .student-item:nth-child(2) {
  grid-row: 1 / 2;
  grid-column: 3 / 4;
}
.students-row:last-child .student-item:nth-child(1) {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}
.students-row:last-child .student-item:nth-child(2) {
  grid-row: 2 / 3;
  grid-column: 3 / 4;
}
@media (max-width: 1024px) {
  .students-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 600px;
    margin: 24px auto;
    border-radius: 18px;
    padding: 0;
  }
  .student-item--big {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 18px;
    min-height: 180px;
    max-height: 320px;
  }
  .student-item--big img {
    border-radius: 18px;
  }
  .students-row {
    display: flex;
    gap: 16px;
  }
  .students-row .student-item {
    flex: 1 1 0;
    aspect-ratio: 1/1;
    border-radius: 18px;
  }
  .students-row .student-item img {
    border-radius: 18px;
  }
}
@media (max-width: 700px) {
  .students-grid {
    max-width: 99vw;
    gap: 8px;
    border-radius: 8px;
  }
  .student-item--big, .students-row .student-item {
    border-radius: 8px;
  }
  .students-row {
    gap: 8px;
  }
  .student-item--big img, .students-row .student-item img {
    border-radius: 8px;
  }
  .student-item--big {
    aspect-ratio: 1/1;
    min-height: 120px;
    max-height: 220px;
  }
}

.satisfaction {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 40px 0 0 0;
}
.satisfaction h3 {
  font-size: 38px;
  font-weight: 900;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.2;
  letter-spacing: 1px;
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  text-fill-color: initial;
  display: inline-block;
}
.satisfaction p {
  font-size: 20px;
  color: #444;
  margin-bottom: 32px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.satisfaction .cta-button {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  padding: 16px 48px;
  border-radius: 32px;
  text-decoration: none;
  font-weight: 800;
  font-size: 22px;
  transition: all 0.3s;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.10);
  margin-top: 10px;
}
.satisfaction .cta-button:hover {
  background: #1d4ed8;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.18);
}
@media (max-width: 900px) {
  .satisfaction h3 {
    font-size: 26px;
  }
  .satisfaction p {
    font-size: 15px;
  }
  .satisfaction .cta-button {
    font-size: 16px;
    padding: 12px 28px;
  }
}

/* Floating Elements */
.floating-zalo {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.floating-zalo:hover {
  transform: scale(1.1);
}

.floating-zalo .zalo-icon {
  background: #2563eb;
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
  padding: 4px;
  width: 60px;
  height: 60px;
  display: block;
}


.floating-chat {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.floating-chat:hover {
  transform: scale(1.1);
}

.chat-icon {
  width: 60px;
  height: 60px;
  background: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

/* Main Video */
.main-video-container {
  width: 100% !important;
  max-width: 1250px !important;
  margin: 0 auto 50px auto;
  padding: 0;
  display: flex;
  justify-content: center;
  position: relative;
  background: #000;
}

.video-wrapper {
  width: 100% !important;
  max-width: 1250px !important;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  background: #000;
}

.main-video {
  width: 100% !important;
  height: 581px !important;
  min-width: 1250px;
  min-height: 581px;
  border-radius: 0;
  object-fit: cover;
  display: block;
  background: #000;
}

.section-after-video {
  background: #fff;
  border-radius: 40px 40px 0 0;
  box-shadow: 0 -8px 32px rgba(0,0,0,0.08);
  margin-top: -40px;
  padding-top: 60px;
  position: relative;
  z-index: 2;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container, .banner-container, .teachers-container, .advantages-cute-inner, .advantages-header, .trust-header, .students-grid, .programs-grid, .teacher-list-grid, .teacher-hero-inner {
    max-width: 98vw;
    padding: 0 8px;
  }
  .main-banner, .preschool-banner, .adult-banner, .advantages, .trust-section, .free-trial, .teachers-section {
    padding: 32px 0 24px 0;
  }
  .banner-title, .preschool-banner-title, .adult-banner-title, .section-title, .teachers-title, .advantages-title, .trust-header h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }
  .programs-grid, .advantages-grid, .teacher-list-grid, .students-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .teacher-card, .student-item, .blog-card {
    width: 98vw;
    max-width: 420px;
    min-width: 0;
    margin: 0 auto;
    padding: 12px 8px;
  }
  .teacher-card img, .student-item img, .program-card img, .blog-card img {
    width: 100%;
    height: 160px;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
  }
  .advantages-cute-inner {
    flex-direction: column;
    gap: 18px;
  }
  .adv-title-main {
    font-size: 2rem;
    letter-spacing: 0.5px;
  }
  .adv-mascot {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
    margin-right: 0;
    margin-top: -80px;
    z-index: 1;
    position: relative;
  }
  .teachers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .teacher-card {
    padding: 12px 6px 10px 6px;
    border-radius: 12px;
  }
  .teacher-card img {
    width: 90px;
    height: 90px;
    margin-bottom: 8px;
  }
  .footer-kyna-container, .footer-kyna-bottom-container {
    max-width: 98vw;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 8px;
  }
  .footer-kyna-cols {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-kyna-app-links img, .footer-kyna-qr, .footer-kyna-dmca img {
    width: 60px;
    height: 20px;
  }
  .footer-kyna-logo {
    width: 60px;
  }
  .footer-kyna-company, .footer-kyna-contact {
    font-size: 13px;
  }
  .footer-kyna-app-title, .footer-kyna-col-title {
    font-size: 14px;
  }
  .footer-kyna-col a {
    font-size: 13px;
  }
  .footer-kyna-copyright {
    font-size: 11px;
  }
}
@media (max-width: 700px) {
  .programs-grid, .advantages-grid, .teacher-list-grid, .students-grid, .teachers-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .main-banner, .preschool-banner, .adult-banner, .advantages, .trust-section, .free-trial, .teachers-section {
    padding: 18px 0 10px 0;
  }
  .banner-title, .preschool-banner-title, .adult-banner-title, .section-title, .teachers-title, .advantages-title, .trust-header h2 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }
  .program-card, .teacher-card, .student-item, .blog-card {
    width: 99vw;
    max-width: 99vw;
    padding: 8px 2px;
  }
  .teacher-card img, .student-item img, .program-card img, .blog-card img {
    height: 80px;
    border-radius: 8px;
  }
  .footer-kyna-container, .footer-kyna-bottom-container {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 0 2px;
  }
  .adv-mascot {
    max-width: 380px;
    margin-top: -40px;
  }
}

@media (max-width: 768px) {
  .header-kyna-main {
    flex-direction: column;
    gap: 20px;
    padding: 20px;
  }
  
  .header-kyna-menu {
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
  }
  
  .banner-title {
    font-size: 32px;
  }
  
  .highlight-number {
    font-size: 40px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 95%;
    padding: 20px;
    height: auto;
  }
  
  .stat-number {
    font-size: 28px;
  }
  
  .stat-label {
    font-size: 12px;
  }
  
  .stat-label div:last-child {
    font-size: 10px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .programs-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .program-card {
    border-radius: 18px;
    padding: 0 0 20px 0;
  }
  
  .program-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin: 20px 0 12px 0;
  }
  
  .program-card h3 {
    font-size: 16px;
    padding: 0 8px;
  }
  
  .program-link {
    font-size: 13px;
  }
  
  .students-grid {
    grid-template-columns: 1fr;
  }
  
  .floating-zalo, .floating-chat {
    bottom: 20px;
    right: 20px;
  }
  
  .zalo-icon, .chat-icon {
    width: 50px;
    height: 50px;
  }

  .section-after-video {
    border-radius: 24px 24px 0 0;
    margin-top: -24px;
    padding-top: 30px;
  }
}

@media (max-width: 480px) {
  .header-kyna-top-inner {
    flex-direction: column;
    gap: 10px;
  }
  
  .header-kyna-top-actions {
    gap: 10px;
  }
  
  .kyna-logo-main {
    font-size: 20px;
  }
  
  .kyna-logo-sub {
    font-size: 12px;
  }
  
  .banner-title {
    font-size: 24px;
  }
  
  .highlight-number {
    font-size: 32px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    width: 98%;
    padding: 15px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  .section-title {
    font-size: 24px;
  }
  
  .advantage-item {
    padding: 30px 20px;
  }
  
  .trial-content h2 {
    font-size: 28px;
  }

  .section-after-video {
    border-radius: 16px 16px 0 0;
    margin-top: -16px;
    padding-top: 16px;
  }
} 

/* Responsive for main video */
@media (max-width: 768px) {
  .main-video-container, .video-wrapper {
    width: 100%;
    max-width: 100%;
  }
  .main-video {
    width: 100% !important;
    height: 400px !important;
    min-width: 100%;
    min-height: 400px;
  }
}

@media (max-width: 480px) {
  .video-wrapper {
    margin: 0;
    border-radius: 0;
  }
  
  .main-video {
    border-radius: 0;
    height: 300px !important;
    min-height: 300px;
  }
  
  .main-video-container {
    margin: 30px 0;
    padding: 0;
  }
} 

.main-video-container, .video-wrapper, .main-video {
  border-bottom: none !important;
} 

.program-card-header {
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 28px 24px 0 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-bottom: none !important;
  box-shadow: none !important;
}
.program-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 0 0 20px 20px;
  margin: 0;
  box-shadow: none;
  display: block;
  flex-shrink: 0;
  flex-grow: 0;
  align-self: stretch;
  border-top: none !important;
}
.program-dot {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #2563eb;
  margin-right: 8px;
  vertical-align: middle;
  background: #fff;
  position: relative;
  top: 2px;
}
.program-card-header h3 {
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  color: #222;
  margin: 0 0 2px 0;
  line-height: 1.3;
}
.program-link {
  margin-top: 2px;
}
@media (max-width: 768px) {
  .program-card img {
    height: 140px;
    border-radius: 0 0 12px 12px;
  }
  .program-card-header {
    padding: 16px 10px 10px 10px;
  }
  .program-dot {
    width: 12px;
    height: 12px;
    border-width: 2px;
    margin-right: 6px;
  }
  .program-card-header h3 {
    font-size: 15px;
  }
} 

.advantages-cute {
  background: linear-gradient(90deg, #fff6fa 0%, #dbeafe 100%);
  padding: 40px 0 10px 0;
  /* position: relative; */
  overflow: visible;
}
.advantages-cute-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}
.advantages-cute-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.advantages-cute-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.adv-title-top {
  font-size: 2.1rem;
  font-weight: 900;
  color: #222;
  text-align: center;
  margin-bottom: 32px;
  position: relative;
  display: inline-block;
  letter-spacing: 0.5px;
}
.adv-title-top::after {
  content: '';
  display: block;
  width: 90px;
  height: 6px;
  border-radius: 3px;
  margin: 12px auto 0 auto;
  background: linear-gradient(90deg, #059669 0%, #2563eb 100%);
}
.adv-title-main {
  font-size: 4.5rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 0;
  line-height: 1.08;
  letter-spacing: 1.5px;
}
.adv-green {
  color: #059669;
}
.adv-pink {
  color: #2563eb;
}
.adv-mascot {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin-right: 0;
  margin-top: -110px;
  z-index: 1;
  position: relative;
}
@media (max-width: 1200px) {
  .adv-title-main {
    font-size: 3.2rem;
  }
  .adv-title-top {
    font-size: 1.5rem;
  }
  .adv-mascot {
    max-width: 380px;
    margin-top: -60px;
  }
  .advantages-cute {
    padding: 24px 0 6px 0;
  }
}
@media (max-width: 1024px) {
  .advantages-cute {
    background: linear-gradient(90deg, #fff6fa 0%, #ffd6e3 100%);
    padding: 48px 0 32px 0;
  }
  .advantages-cute-inner {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
  }
  .advantages-cute-left, .advantages-cute-right {
    width: 100%;
    justify-content: center;
  }
  .adv-title-main {
    font-size: 2.6rem;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    line-height: 1.12;
  }
  .adv-title-top {
    font-size: 1.25rem;
    margin-bottom: 18px;
  }
  .adv-mascot {
    max-width: 320px;
    margin: 0 auto 0 auto;
    margin-top: -30px;
  }
}
@media (max-width: 700px) {
  .advantages-cute {
    padding: 18px 0 8px 0;
  }
  .adv-title-main {
    font-size: 1.3rem;
    margin-bottom: 6px;
    letter-spacing: 0.2px;
  }
  .adv-title-top {
    font-size: 0.95rem;
    margin-bottom: 8px;
  }
  .adv-mascot {
    max-width: 120px;
    margin-top: 0;
  }
  .advantages-cute-inner {
    gap: 10px;
  }
} 

.teachers-section {
  background: #dbeafe;
  padding: 80px 0 60px 0;
}
.teachers-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 48px;
  align-items: flex-start;
  justify-content: space-between;
}
.teachers-info {
  flex: 1.1;
  min-width: 320px;
}
.teachers-subtitle {
  color: #059669;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}
.teachers-title {
  font-size: 38px;
  font-weight: 900;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.15;
}
.teachers-desc {
  font-size: 18px;
  color: #444;
  margin-bottom: 32px;
  font-weight: 500;
  line-height: 1.6;
}
.teachers-btn {
  display: inline-block;
  border: 2px solid #2563eb;
  color: #2563eb;
  background: #fff;
  padding: 14px 36px;
  border-radius: 32px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  margin-top: 10px;
}
.teachers-btn:hover {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.teachers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px 32px;
  max-width: 1100px;
  margin: 0 auto 48px auto;
  justify-items: center;
}
.teacher-card {
  width: 100%;
  max-width: 320px;
  height: 450px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(37, 99, 235, 0.10);
  padding: 32px 18px 24px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto;
  border: 2px solid #dbeafe;
  transition: box-shadow 0.3s, border 0.3s, transform 0.2s;
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .teachers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }
  .teacher-card {
    max-width: 98vw;
    height: auto;
    min-height: 320px;
    padding: 18px 6px 14px 6px;
    border-radius: 14px;
  }
}
@media (max-width: 600px) {
  .teachers-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
.teacher-card:hover {
  box-shadow: 0 24px 64px rgba(37, 99, 235, 0.18), 0 2px 8px rgba(0,0,0,0.04);
  transform: translateY(-6px) scale(1.03);
  border: 2px solid #2563eb;
}
.teacher-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 4px solid #FF6B9D;
  background: #fff0f6;
  box-shadow: 0 2px 12px rgba(255, 107, 157, 0.10);
}
.teacher-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.teacher-country {
  font-size: 13px;
  color: #888;
  margin-bottom: 8px;
  text-align: center;
}
.teacher-specialty {
  margin-top: 30px;
  margin-bottom: 8px;
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}
.teacher-specialty .badge {
  display: inline-block;
  margin: 0;
  width: auto;
  }
.teacher-specialty .badge:last-child {
  margin-bottom: 0;
}
.teacher-desc {
  font-size: 0.97rem;
  color: #888;
  margin: 8px 0 0 0;
  text-align: center;
}
.badge {
  display: inline-block;
  background: #2563eb;
  color: #fff;
  border-radius: 12px;
  padding: 2px 12px;
  font-size: 0.97rem;
  margin: 0 2px 4px 2px;
  font-weight: 600;
  letter-spacing: 0.2px;
  }
@media (max-width: 700px) {
  .teachers-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .teacher-card {
    min-height: 320px;
    padding: 18px 6px 14px 6px;
    border-radius: 14px;
  }
  .teacher-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
  }
} 

.footer-kyna {
  background: #23293B;
  color: #fff;
  font-size: 16px;
  margin-top: 0;
}
.footer-kyna-top {
  padding: 60px 0 30px 0;
  border-bottom: 1px solid #2e3447;
}
.footer-kyna-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.1fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-kyna-brand {
  grid-column: 1 / 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.footer-kyna-logo {
  width: 120px;
  margin-bottom: 10px;
}
.footer-kyna-social {
  display: flex;
  gap: 12px;
}
.footer-kyna-social a img {
  width: 28px;
  height: 28px;
  filter: brightness(1.2);
  transition: filter 0.2s;
}
.footer-kyna-social a img:hover {
  filter: brightness(2) drop-shadow(0 2px 8px #2563eb44);
}
.footer-kyna-app {
  grid-column: 2 / 3;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-kyna-app-title {
  font-weight: 700;
  margin-bottom: 8px;
}
.footer-kyna-app-links {
  display: flex;
  gap: 10px;
  margin-bottom: 8px;
}
.footer-kyna-app-links img {
  width: 110px;
  height: 36px;
  border-radius: 8px;
  background: #fff;
}
.footer-kyna-qr {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: #fff;
  margin-top: 6px;
}
.footer-kyna-cols {
  grid-column: 3 / 6;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  min-width: 320px;
  justify-content: flex-end;
}
.footer-kyna-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 120px;
}
.footer-kyna-col-title {
  font-weight: 800;
  margin-bottom: 8px;
  color: #fff;
  font-size: 17px;
}
.footer-kyna-col a {
  color: #fff;
  text-decoration: none;
  opacity: 0.85;
  font-size: 15px;
  transition: color 0.2s, opacity 0.2s;
}
.footer-kyna-col a:hover {
  color: #2563eb;
  opacity: 1;
}
.footer-kyna-bottom {
  background: #23293B;
  padding: 30px 0 10px 0;
}
.footer-kyna-bottom-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.footer-kyna-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-kyna-bottom-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 8px;
}
.footer-kyna-contact {
  min-width: 180px;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: left;
}
.footer-kyna-company {
  width: 100%;
  text-align: left;
  margin-left: 0 !important;
  font-size: 15px;
  margin-bottom: 6px;
  line-height: 1.7;
  font-weight: 500;
  display: block;
}
.footer-kyna-company b {
  font-size: 16px;
  font-weight: 800;
  display: block;
  margin-bottom: 2px;
}
.footer-kyna-dmca {
  min-width: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 12px 0 0 0;
}
.footer-kyna-dmca img {
  width: 110px;
  height: auto;
  background: #fff;
  border-radius: 10px;
  padding: 4px 8px;
}
.footer-kyna-copyright {
  text-align: center;
  color: #bfc3d1;
  font-size: 14px;
  margin-top: 18px;
  letter-spacing: 0.5px;
}
@media (max-width: 1024px) {
  .footer-kyna-container {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 24px;
  }
  .footer-kyna-brand {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }
  .footer-kyna-app {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
  .footer-kyna-cols {
    grid-column: 1 / 3;
    grid-row: 2 / 3;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 18px;
    width: 100%;
  }
}
@media (max-width: 700px) {
  .footer-kyna-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 18px;
  }
  .footer-kyna-brand, .footer-kyna-app, .footer-kyna-cols {
    grid-column: 1 / 2;
    width: 100%;
  }
  .footer-kyna-cols {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
@media (max-width: 600px) {
  .footer-kyna-top, .footer-kyna-bottom {
    padding: 18px 0 8px 0;
  }
  .footer-kyna-logo {
    width: 80px;
  }
  .footer-kyna-app-links img {
    width: 80px;
    height: 28px;
  }
  .footer-kyna-qr {
    width: 60px;
    height: 60px;
  }
  .footer-kyna-dmca img {
    width: 70px;
    padding: 2px 4px;
  }
  .footer-kyna-copyright {
    font-size: 12px;
    margin-top: 8px;
  }
} 
@media (max-width: 900px) {
  .footer-kyna-bottom-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .footer-kyna-bottom-right {
    align-items: flex-start;
    justify-content: flex-start;
  }
} 

/* --- Teacher Page Styles (about.php) --- */
.teacher-banner {
  background: linear-gradient(90deg, #e6f7f1 0%, #f3fbe9 100%);
  padding: 48px 0 32px 0;
  text-align: left;
  margin-bottom: 0;
}
.teacher-banner h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 10px;
}
.teacher-banner .subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: #222;
  margin: 12px 0;
}
.teacher-banner .desc {
  color: #444;
  max-width: 600px;
  margin-bottom: 0;
}
.teacher-list-filter {
  display: flex;
  gap: 16px;
  margin: 32px 0 24px 0;
  justify-content: flex-start;
  align-items: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.teacher-list-filter select, .teacher-list-filter button {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #d0e0e0;
  background: #f8f9fa;
  font-size: 1rem;
}
.teacher-list-filter button {
  background: #dbeafe;
  color: #2563eb;
  border: 1px solid #93c5fd;
  font-weight: 600;
  cursor: pointer;
}
.teacher-list-filter button:hover {
  background: #93c5fd;
  color: #fff;
}
.teacher-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: 1000px;
  margin: 0 auto 48px auto;
}
.teacher-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px 0 #e0e0e0;
  padding: 24px 18px 18px 18px;
  text-align: center;
  transition: box-shadow 0.2s;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.teacher-card:hover {
  box-shadow: 0 6px 32px 0 #b2dfdb;
}
.teacher-card img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
  border: 3px solid #e0f7fa;
}
.teacher-card .name {
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.teacher-card .country {
  font-size: 0.95rem;
  color: #26a69a;
  margin-bottom: 8px;
}
.teacher-card .bio {
  font-size: 0.98rem;
  color: #444;
  margin-bottom: 10px;
  min-height: 48px;
}
.teacher-card .social a {
  margin: 0 4px;
  color: #2196f3;
  font-size: 1.2em;
  text-decoration: none;
}
.teacher-card .social a:hover {
  color: #d81b60;
}
@media (max-width: 700px) {
  .teacher-banner h1 { font-size: 1.5rem; }
  .teacher-list-grid { grid-template-columns: 1fr; }
} 

/* --- Teacher Hero Banner (about.php) --- */
.teacher-hero {
  background: linear-gradient(90deg, #e6f7f1 0%, #f3fbe9 100%);
  padding: 56px 0 36px 0;
  margin-bottom: 0;
}
.teacher-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.teacher-hero-content {
  flex: 1.2;
  min-width: 320px;
  text-align: left;
}
.teacher-hero-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 18px;
  line-height: 1.15;
  letter-spacing: 0.5px;
}
.teacher-hero-sub {
  font-size: 1.35rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 18px;
}
.teacher-hero-desc {
  font-size: 1.08rem;
  color: #444;
  max-width: 600px;
  line-height: 1.7;
  font-weight: 500;
}
/* --- Tăng hiệu ứng wow cho ảnh banner giáo viên --- */
.teacher-hero-img {
  flex: 1;
  min-width: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  overflow: visible;
}
.teacher-hero-img img {
  width: 620px;
  max-width: none;
  min-width: 320px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none !important;
  background: none;
  position: relative;
  right: -60px;
  top: 35px;
  z-index: 2;
  transition: none;
}
.teacher-hero-img img:hover {
  transform: none;
  box-shadow: none;
}
@media (max-width: 1200px) {
  .teacher-hero-img img {
    width: 700px;
    right: -30px;
    top: -10px;
  }
}
@media (max-width: 900px) {
  .teacher-hero-img {
    justify-content: center;
    align-items: center;
  }
  .teacher-hero-img img {
    width: 320px;
    right: 0;
    border-radius: 0;
    top: -12px;
  }
}
@media (max-width: 600px) {
  .teacher-hero-img img {
    width: 280px;
    min-width: 240px;
    border-radius: 0;
    top: 0;
  }
} 

/* --- Teacher Trial Form Section (about.php) --- */
.teacher-trial-form-section {
  background: linear-gradient(135deg, #dbeafe 0%, #f0fdf4 100%);
  padding: 60px 0 60px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.teacher-trial-form {
  background: #dbeafe;
  border-radius: 32px;
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  box-shadow: none;
  padding: 56px 56px 44px 56px;
  border: none;
  position: relative;
}
.teacher-trial-form-left {
  flex: 1.2;
  display: block;
  padding: 0 0 0 40px;
}
.teacher-trial-form-title {
  font-size: 2.2rem;
  font-weight: 900;
  color: #333;
  line-height: 1.25;
  text-align: left;
  max-width: 340px;
  margin: 0 0 0 0;
  padding: 0;
  word-break: break-word;
}
.teacher-trial-form-right {
  flex: 1.8;
  display: flex;
  flex-direction: column;
  gap: 18px;
  justify-content: center;
}
.teacher-trial-form-group {
  margin-bottom: 12px;
}
.teacher-trial-form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 6px;
  display: block;
  font-size: 1.08rem;
}
.teacher-trial-form-group input[type="text"],
.teacher-trial-form-group input[type="tel"] {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1.5px solid #f8bbd0;
  font-size: 1.12rem;
  margin-top: 4px;
  background: #fff;
  outline: none;
  transition: border 0.2s;
  font-family: inherit;
}
.teacher-trial-form-group input[type="text"]:focus,
.teacher-trial-form-group input[type="tel"]:focus {
  border: 1.5px solid #2563eb;
}
.teacher-trial-phone-group {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  border: 1.5px solid #f8bbd0;
  margin-top: 4px;
  padding: 0 0 0 10px;
  height: 54px;
  width: 100%;
  box-sizing: border-box;
}
.teacher-trial-flag img {
  width: 26px;
  height: 20px;
  border-radius: 4px;
  margin-right: 6px;
  display: block;
}
.teacher-trial-code {
  font-size: 1.12rem;
  color: #333;
  font-weight: 700;
  margin-right: 10px;
}
.teacher-trial-form-group input[type="tel"] {
  border: none !important;
  outline: none;
  box-shadow: none;
  background: transparent;
  font-size: 1.12rem;
  font-family: inherit;
  flex: 1;
  padding: 0 14px 0 0;
  height: 54px;
  border-radius: 0 12px 12px 0;
  margin: 0;
}
.teacher-trial-form-group input[type="tel"]:focus {
  border: none !important;
  outline: none;
  box-shadow: none;
}
.teacher-trial-radio-group {
  display: flex;
  gap: 32px;
  margin-top: 4px;
}
.teacher-trial-radio-group label {
  font-weight: 600;
  color: #333;
  font-size: 1.08rem;
  display: flex;
  align-items: center;
  gap: 6px;
}
.teacher-trial-radio-group input[type="radio"] {
  accent-color: #4CAF50;
  width: 20px;
  height: 20px;
  margin-right: 4px;
}
.teacher-trial-btn {
  background: #2563eb;
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 18px 0;
  font-size: 1.35rem;
  font-weight: 800;
  margin-top: 22px;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  box-shadow: none;
  letter-spacing: 0.5px;
}
.teacher-trial-btn:hover {
  background: #1d4ed8;
}
@media (max-width: 900px) {
  .teacher-trial-form {
    flex-direction: column;
    gap: 18px;
    padding: 32px 10vw 18px 10vw;
    align-items: stretch;
  }
  .teacher-trial-form-title {
    font-size: 1.4rem;
    text-align: center;
    max-width: 100%;
    padding: 0 8px;
  }
  .teacher-trial-form-left {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
@media (max-width: 600px) {
  .teacher-trial-form-section {
    padding: 18px 0 18px 0;
  }
  .teacher-trial-form {
    padding: 10px 2vw 8px 2vw;
    border-radius: 12px;
  }
  .teacher-trial-form-title {
    font-size: 1.05rem;
  }
} 

.preschool-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #dbeafe 100%);
  padding: 56px 0 36px 0;
  text-align: center;
}
.preschool-banner-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 32px;
  line-height: 1.15;
}
.preschool-banner-title span {
  font-size: 1.5rem;
  font-weight: 500;
  color: #444;
}
.preschool-banner-images {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 36px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.preschool-banner-images img {
  width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: none;
  background: #fff;
  display: block;
}
.preschool-banner-desc {
  font-size: 1.18rem;
  color: #444;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
  font-weight: 500;
  text-align: center;
}
@media (max-width: 1100px) {
  .preschool-banner-images img {
    width: 220px;
    height: 150px;
    border-radius: 18px;
  }
}
@media (max-width: 700px) {
  .preschool-banner-title { font-size: 1.5rem; }
  .preschool-banner-images {
    gap: 12px;
  }
  .preschool-banner-images img {
    width: 110px;
    height: 80px;
    border-radius: 10px;
  }
  .preschool-banner-desc {
    font-size: 1rem;
    padding: 0 8px;
  }
} 

.preschool-goals-section {
  background: 
    radial-gradient(circle at 20% 80%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(76, 175, 80, 0.1) 0%, transparent 50%),
    linear-gradient(135deg, #d0ffb7 0%, #e6f7f1 50%, #ffe3ec 100%);
  padding: 64px 0 64px 0;
  position: relative;
  overflow: hidden;
}

.preschool-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 3;
}

.preschool-goals-content {
  position: relative;
  z-index: 4;
}
.preschool-goals-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 38px;
}
.preschool-goals-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  gap: 38px 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.preschool-goal-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: none;
}
.preschool-goal-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 2px 8px rgba(76,175,80,0.08);
  flex-shrink: 0;
}
.preschool-goal-content {
  text-align: left;
}
.preschool-goal-title {
  font-weight: 800;
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 4px;
}
.preschool-goal-desc {
  font-size: 1rem;
  color: #444;
  font-weight: 500;
}
@media (max-width: 900px) {
  .preschool-goals-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
  }
}
@media (max-width: 600px) {
  .preschool-goals-section {
    padding: 28px 0 28px 0;
  }
  .preschool-goals-title {
    font-size: 1.2rem;
    margin-bottom: 18px;
  }
  .preschool-goals-grid {
    grid-template-columns: 1fr;
    gap: 14px 0;
  }
  .preschool-goal-item {
    gap: 10px;
  }
  .preschool-goal-icon {
    width: 32px;
    height: 32px;
  }
  .preschool-goal-title {
    font-size: 1rem;
  }
  .preschool-goal-desc {
    font-size: 0.95rem;
  }
} 

/* FAQ Section Styles */
.faq-section {
  background: #dbeafe;
  padding: 80px 0;
  position: relative;
}

.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-header h2 {
  font-size: 2.5rem;
  font-weight: 900;
  color: #222;
  margin-bottom: 0;
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 32px rgba(255, 107, 157, 0.15);
  transform: translateY(-2px);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 32px;
  cursor: pointer;
  background: #fff;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f0f9ff;
}

.faq-question h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;
  margin: 0;
  flex: 1;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 900;
  color: #2563eb;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: #fff;
}

.faq-item.active .faq-answer {
  max-height: 800px;
}

.faq-answer-content {
  padding: 0 32px 24px 32px;
}

.faq-answer-content p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 16px;
  font-weight: 500;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content strong {
  color: #222;
  font-weight: 700;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 40px 0;
  }
  
  .faq-header h2 {
    font-size: 1.8rem;
  }
  
  .faq-question {
    padding: 18px 20px;
  }
  
  .faq-question h3 {
    font-size: 1.1rem;
  }
  
  .faq-answer-content {
    padding: 0 20px 18px 20px;
  }
  
  .faq-answer-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .faq-header h2 {
    font-size: 1.5rem;
  }
  
  .faq-question {
    padding: 16px 18px;
  }
  
  .faq-question h3 {
    font-size: 1rem;
  }
  
  .faq-answer-content {
    padding: 0 18px 16px 18px;
  }
} 

/* Adult English Page Styles */
.adult-banner {
  background: linear-gradient(135deg, #e8f5e8 0%, #ffffff 100%);
  padding: 80px 0 60px 0;
  position: relative;
  overflow: hidden;
}

.adult-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.adult-banner-left {
  flex: 1;
  max-width: 600px;
}

.adult-banner-title {
  font-size: 2.8rem;
  font-weight: 900;
  color: #333;
  margin-bottom: 24px;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

.adult-banner-desc {
  font-size: 1.18rem;
  color: #444;
  line-height: 1.7;
  font-weight: 500;
  margin-bottom: 32px;
}

.adult-banner-btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.3);
}

.adult-banner-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(37, 99, 235, 0.4);
}

.adult-banner-right {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
}

.adult-banner-image {
  width: 500px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  background: none;
  position: relative;
  z-index: 2;
}

/* Floating elements for visual appeal */
.adult-banner::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 15%;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(76, 175, 80, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

.adult-banner::after {
  content: '';
  position: absolute;
  bottom: 30%;
  left: 10%;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}

@media (max-width: 1024px) {
  .adult-banner-content {
    gap: 40px;
  }
  
  .adult-banner-title {
    font-size: 2.2rem;
  }
  
  .adult-banner-image {
    width: 400px;
  }
}

@media (max-width: 768px) {
  .adult-banner {
    padding: 60px 0 40px 0;
  }
  
  .adult-banner-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .adult-banner-left {
    max-width: 100%;
  }
  
  .adult-banner-title {
    font-size: 1.8rem;
  }
  
  .adult-banner-desc {
    font-size: 1rem;
  }
  
  .adult-banner-image {
    width: 300px;
  }
}

@media (max-width: 480px) {
  .adult-banner {
    padding: 40px 0 30px 0;
  }
  
  .adult-banner-title {
    font-size: 1.5rem;
  }
  
  .adult-banner-desc {
    font-size: 0.95rem;
  }
  
  .adult-banner-btn {
    padding: 14px 28px;
    font-size: 1rem;
  }
  
  .adult-banner-image {
    width: 250px;
  }
}

.adult-courses-section {
  padding: 80px 0;
  background: #fafafa;
}

.adult-courses-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.adult-course-item {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 40px;
}

.adult-course-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.course-content {
  flex: 1;
  padding: 0;
}

.course-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.2;
}

.course-content p {
  color: #666;
  line-height: 1.7;
  margin-bottom: 25px;
  font-size: 1rem;
  font-weight: 400;
}

.course-link {
  display: inline-block;
  color: #FF6B9D;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.course-link:hover {
  color: #e55a8a;
}

.course-image {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
  border-radius: 15px;
  overflow: hidden;
  background: #f8f9fa;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.adult-course-item:hover .course-image img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .adult-courses-section {
    padding: 60px 0;
  }
  
  .adult-courses-grid {
    gap: 30px;
    padding: 0 20px;
  }
  
  .adult-course-item {
    flex-direction: column;
    text-align: center;
    gap: 25px;
    padding: 30px 25px;
  }
  
  .course-content h3 {
    font-size: 1.5rem;
  }
  
  .course-content p {
    font-size: 0.95rem;
  }
  
  .course-image {
    width: 100%;
    max-width: 280px;
    height: 180px;
  }
}

@media (max-width: 480px) {
  .adult-courses-section {
    padding: 40px 0;
  }
  
  .adult-courses-grid {
    gap: 25px;
    padding: 0 15px;
  }
  
  .adult-course-item {
    padding: 25px 20px;
  }
  
  .course-content h3 {
    font-size: 1.3rem;
  }
  
  .course-content p {
    font-size: 0.9rem;
  }
  
  .course-image {
    height: 150px;
  }
} 

/* Teacher Modal Popup */
.teacher-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0; top: 0; width: 100vw; height: 100vh;
  align-items: center; justify-content: center;
}
.teacher-modal[style*="display: flex"] {
  display: flex !important;
}
.teacher-modal-overlay {
  position: absolute;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(40,40,60,0.45);
  z-index: 1;
}
.teacher-modal-content {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 16px 64px rgba(255, 107, 157, 0.18), 0 2px 8px rgba(0,0,0,0.10);
  padding: 48px 36px 36px 36px;
  min-width: 340px;
  max-width: 95vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: teacherModalIn 0.25s cubic-bezier(.4,2,.6,1) 1;
}
@keyframes teacherModalIn {
  from { transform: translateY(40px) scale(0.95); opacity: 0; }
  to { transform: none; opacity: 1; }
}
.teacher-modal-close {
  position: absolute;
  top: 18px; right: 28px;
  font-size: 2.2rem;
  color: #FF6B9D;
  font-weight: 900;
  cursor: pointer;
  z-index: 3;
  transition: color 0.2s;
}
.teacher-modal-close:hover {
  color: #4CAF50;
}
.teacher-modal-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 6px solid #FF6B9D;
  box-shadow: 0 8px 32px rgba(255, 107, 157, 0.18);
  margin-bottom: 24px;
  background: #fff0f6;
}
.teacher-modal-name {
  font-size: 2rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 12px;
  text-align: center;
}
.teacher-modal-bio {
  font-size: 1.15rem;
  color: #444;
  margin-bottom: 18px;
  text-align: center;
  max-width: 420px;
}
.teacher-modal-social {
  margin-top: 8px;
  text-align: center;
}
.teacher-modal-social a {
  display: inline-block;
  margin: 0 8px;
  color: #FF6B9D;
  font-size: 1.2em;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.teacher-modal-social a:hover {
  color: #4CAF50;
}
@media (max-width: 700px) {
  .teacher-modal-content {
    padding: 18px 6vw 18px 6vw;
    min-width: 0;
  }
  .teacher-modal-img {
    width: 120px;
    height: 120px;
  }
  .teacher-modal-name {
    font-size: 1.2rem;
  }
  .teacher-modal-bio {
    font-size: 1rem;
    max-width: 90vw;
  }
} 

/* Hamburger menu responsive */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px #e6f7ee;
  width: 48px;
  height: 48px;
  cursor: pointer;
  margin-left: 18px;
  z-index: 1200;
  border: none;
  transition: background 0.2s;
}
.menu-toggle:focus, .menu-toggle:hover {
  background: #f3fbe9;
}
@media (max-width: 1300px) {
  .header-kyna-menu {
    display: none !important;
  }
  .menu-toggle {
    display: flex !important;
  }
  .mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(40,40,60,0.25);
    z-index: 1999;
    transition: opacity 0.3s;
  }
  .mobile-nav {
    display: block;
    position: fixed;
    top: 0; left: 0; height: 100vh; width: 90vw; max-width: 420px;
    background: #fff;
    box-shadow: 4px 0 32px #e6f7ee;
    z-index: 2000;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(.4,1.4,.6,1);
    padding: 0;
    overflow-y: auto;
  }
  .mobile-nav.open {
    transform: translateX(0);
  }
  .mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 12px 24px;
    border-bottom: 1px solid #e6f7ee;
    background: #fff;
  }
  .mobile-nav-close {
    font-size: 2.2rem;
    color: #FF6B9D;
    font-weight: 900;
    cursor: pointer;
    transition: color 0.2s;
    margin-left: 18px;
    line-height: 1;
  }
  .mobile-nav-close:hover {
    color: #3ec28f;
  }
  .mobile-nav a {
    font-size: 1.25rem;
    color: #3ec28f;
    font-weight: 700;
    text-decoration: none;
    display: block;
    padding: 18px 24px;
    border-bottom: 1px solid #e6f7ee;
    width: 100%;
    transition: color 0.2s;
    background: #fff;
  }
  .mobile-nav a:hover {
    color: #FF6B9D;
    background: #f3fbe9;
  }
}

@media (max-width: 1200px) {
  .main-video-container, .video-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 auto 30px auto;
    padding: 0;
  }
  .main-video {
    width: 100% !important;
    height: 400px !important;
    min-width: 0 !important;
    min-height: 300px !important;
    max-width: 100vw !important;
    object-fit: cover;
    border-radius: 0;
    display: block;
    background: #000;
  }
  .stats-grid {
    width: 98vw;
    max-width: 98vw;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    padding: 18px 8px;
    height: auto;
    margin: 0 auto 18px auto;
    border-radius: 16px;
  }
  .stat-item {
    font-size: 1rem;
    padding: 0 2px;
  }
}
@media (max-width: 700px) {
  .main-video {
    height: 220px !important;
    min-height: 120px !important;
  }
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px 2px;
    border-radius: 10px;
  }
  .stat-item {
    font-size: 0.95rem;
    padding: 0 1px;
  }
}

@media (min-width: 1025px) {
  .mobile-menu,
  .mobile-nav,
  .menu-overlay,
  .mobile-menu-open,
  .mobile-menu-content {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
  .advantages-cute-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    text-align: left;
  }
  .advantages-cute-left, .advantages-cute-right {
    width: auto;
    justify-content: flex-start;
  }
  .students-grid {
    max-width: 1300px;
    gap: 20px;
    background: none;
    padding: 0;
  }
  .student-item {
    border-radius: 32px;
  }
  .student-item img {
    border-radius: 32px;
  }
}

  @media (min-width: 601px) and (max-width: 888px) {
  .teachers-container {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 98vw;
    padding: 0 8px;
  }
  .teachers-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
  }
  .teacher-card {
    width: 100%;
    max-width: 340px;
    min-width: 0;
    margin: 0;
    padding: 18px 8px 14px 8px;
    border-radius: 16px;
    height: 100%;
  }
  .teacher-card img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 5px solid #FF6B9D;
    box-shadow: 0 8px 32px rgba(255, 107, 157, 0.18), 0 2px 8px rgba(0,0,0,0.04);
    background: #fff0f6;
    transition: box-shadow 0.3s, border 0.3s, transform 0.2s;
  }
  .teachers-info {
    text-align: center;
    margin-bottom: 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
  }
  }

/* Mobile Header & Nav (<=768px) */
@media (max-width: 768px) {
  .header-kyna-top,
  .header-kyna-menu {
    display: none !important;
  }
  .header-mobile-actions {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-left: auto;
  }
  .header-kyna-main {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    gap: 0;
  }
  .kyna-logo-img {
    width: 70px;
    height: 70px;
  }
  .btn-free-trial-kyna {
    padding: 7px 12px;
    font-size: 13px;
    border-radius: 16px;
  }
  .lang-select {
    font-size: 13px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #eee;
  }
  .menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    box-shadow: 0 2px 8px #e6f7ee;
    border: none;
    margin-left: 2px;
    cursor: pointer;
  }
  .menu-toggle:focus, .menu-toggle:hover {
    background: #f3fbe9;
  }
  .header-kyna-logo {
    flex-shrink: 0;
  }
  .header-mobile-actions {
    flex-shrink: 1;
  }
  .mobile-nav {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    position: fixed !important;
    top: 0;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(60,200,143,0.13), 0 2px 8px rgba(255,107,157,0.10) !important;
    padding: 0 0 24px 0 !important;
  }
  .mobile-nav-header {
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 24px rgba(60,200,143,0.07);
    padding: 18px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
  }
  .mobile-nav-header-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
  }
  .mobile-nav-logo .kyna-logo-img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50%;
    margin: 0 auto 8px auto;
    box-shadow: 0 2px 8px rgba(60,200,143,0.10);
  }
  .mobile-nav-close {
    position: absolute;
    right: 24px;
    top: 0;
    font-size: 2.2rem;
    color: #FF6B9D;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
  }
  .lang-select-in-nav {
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.08rem;
    color: #333;
    font-weight: 600;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 6px 18px;
    box-shadow: 0 2px 8px rgba(60,200,143,0.07);
  }
  .mobile-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .mobile-nav-list a {
    font-size: 1.18rem;
    color: #222;
    font-weight: 700;
    text-decoration: none;
    display: block;
    padding: 18px 32px 18px 32px;
    border-bottom: 1px solid #f3fbe9;
    width: 100%;
    text-align: left;
    background: transparent;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-nav-list a:hover {
    background: #f3fbe9;
    color: #FF6B9D;
  }
  .mobile-nav-login {
    display: block;
    margin: 28px auto 0 auto;
    background: #FF6B9D !important;
    color: #fff !important;
    border-radius: 24px;
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    padding: 16px 0;
    text-decoration: none;
    max-width: 260px;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(255,107,157,0.10);
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  }
  .mobile-nav-login:hover {
    background: #e55a8a !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(255,107,157,0.16);
  }
  .lang-select-in-nav img,
  .lang-select-mobile img,
  .mobile-nav .lang-flag {
    max-width: 24px !important;
    max-height: 16px !important;
    width: auto !important;
    height: auto !important;
    display: inline-block;
    border-radius: 4px;
    object-fit: contain;
    margin-right: 6px;
    vertical-align: middle;
  }
}

@media (max-width: 425px) {
  .header-kyna-main {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding: 6px 4px 2px 4px;
    gap: 0;
  }
  .header-kyna-logo {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .kyna-logo-img {
    width: 70px;
    height: 70px;
    margin-bottom: 0;
  }
  .kyna-logo-main {
    font-size: 15px;
    line-height: 1;
  }
  .kyna-logo-sub {
    font-size: 10px;
    line-height: 1;
  }
  .header-mobile-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    flex: 1;
  }
  .btn-free-trial-kyna {
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 12px;
    min-width: unset;
    max-width: 110px;
    margin-bottom: 2px;
    margin-top: 0;
    white-space: nowrap;
  }
  .header-mobile-row2 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    margin-top: 0;
  }
  .lang-select {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 6px;
    min-width: unset;
    max-width: 90px;
    background: #fff;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .lang-flag {
    font-size: 15px;
    margin-right: 2px;
  }
  .lang-select .lang-text {
    display: inline;
  }
  .menu-toggle {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    margin-left: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
  .header-mobile-actions, .header-kyna-top {
    display: none !important;
  }
  .lang-select {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #222;
    font-weight: 600;
    background: #fff;
    border: 1.5px solid #e6e6e6;
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(60,200,143,0.07);
    padding: 2px 12px 2px 6px;
    min-width: unset;
    max-width: 120px;
    height: 32px;
    cursor: pointer;
    transition: border 0.2s, box-shadow 0.2s;
  }
  .lang-select:hover, .lang-select:focus {
    border: 1.5px solid #3ec28f;
    box-shadow: 0 2px 12px rgba(60,200,143,0.13);
  }
  .lang-flag {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    box-shadow: 0 1px 4px rgba(60,200,143,0.10);
    margin-right: 2px;
    border: 1px solid #eee;
    overflow: hidden;
  }
  .lang-text {
    font-size: 13px;
    font-weight: 600;
    color: #222;
    margin-right: 2px;
    display: inline;
  }
  .arrow {
    font-size: 12px;
    color: #888;
    margin-left: 2px;
    margin-top: 1px;
    display: inline-block;
    transition: transform 0.2s;
  }
}

@media (max-width: 768px) {
  .lang-select-desktop {
    display: none !important;
  }
  .lang-select-mobile {
    display: flex !important;
  }
}
@media (min-width: 769px) {
  .lang-select-desktop {
    display: flex !important;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #666;
    font-weight: 400;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.3s ease;
    background: none;
    border: none;
    box-shadow: none;
  }
  .lang-select-desktop:hover {
    background: #f8f9fa;
  }
  .lang-flag {
    font-size: 14px;
    font-weight: 600;
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    box-shadow: none;
    border: none;
    margin-right: 0;
    display: inline;
  }
  .lang-select-desktop .lang-text {
    display: inline;
    font-size: 13px;
    font-weight: 400;
    color: #666;
    margin-right: 0;
  }
  .lang-select-desktop .arrow {
    font-size: 8px;
    color: #999;
    margin-left: 2px;
    margin-top: 0;
    display: inline-block;
    transition: transform 0.3s ease;
  }
}
@media (max-width: 425px) {
  .lang-select-desktop {
    display: none !important;
  }
  .lang-select-mobile {
    display: flex !important;
  }
}
@media (min-width: 426px) {
  .lang-select-desktop {
    display: flex !important;
  }
  .lang-select-mobile {
    display: none !important;
  }
}

@media (max-width: 425px) {
  .btn-free-trial-desktop {
    display: none !important;
  }
  .btn-free-trial-mobile {
    display: inline-block !important;
  }
}
@media (min-width: 426px) {
  .btn-free-trial-desktop {
    display: inline-block !important;
  }
  .btn-free-trial-mobile {
    display: none !important;
  }
}

@media (max-width: 425px) {
  .mobile-nav {
    left: 0;
    right: 0;
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
}

@media (max-width: 768px) {
  .program-card {
    border-radius: 24px !important;
    padding: 0 !important;
    max-width: 480px !important;
    margin: 0 auto !important;
    border: 1px solid #fce4ec !important;
    box-shadow: 0 5px 25px rgba(229, 9, 127, 0.07) !important;
    overflow: hidden !important;
  }
  
  .program-card:hover {
      transform: translateY(-4px) !important;
      box-shadow: 0 8px 30px rgba(229,9,127,0.12) !important;
  }

  .program-card-header {
    padding: 24px 24px 16px 24px !important;
  }

  .program-card h3 {
    font-size: 1.1rem !important;
    padding: 0 !important;
    line-height: 1.4 !important;
  }

  .program-link {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
  }
}

@media (max-width: 425px) {
  .teachers-btn {
    display: block;
    margin: 0 auto 18px auto;
    text-align: center;
    float: none;
  }
}

/* --- Mobile Nav Header Redesign --- */
.mobile-nav-header {
  background: #fff;
  border-radius: 0 0 18px 18px;
  box-shadow: 0 4px 24px rgba(60,200,143,0.07);
  padding: 18px 18px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
}
.mobile-nav-header-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.mobile-nav-logo-wrap {
  flex: 1;
  display: flex;
  justify-content: center;
}
.mobile-nav-logo .kyna-logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(60,200,143,0.08);
}
.mobile-nav-close {
  font-size: 1.7rem;
  color: #FF6B9D;
  cursor: pointer;
  transition: color 0.2s;
  margin-left: 8px;
}
.mobile-nav-trial-btn {
  margin: 12px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 40px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  background: #FF6B9D !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(255,107,157,0.10);
  border: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.1px;
  padding: 0 18px;
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
}
.mobile-nav-trial-btn:hover {
  background: #e55a8a !important;
  color: #fff !important;
}
.lang-select-in-nav {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.98rem;
  color: #333;
  font-weight: 600;
  justify-content: center;
}

@media (min-width: 1201px) {
  .stats-grid {
    background: linear-gradient(90deg, #e8f5e8 0%, #ffe3ec 100%) !important;
    border-radius: 20px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
  }
}

@media (max-width: 700px) {
  .footer-kyna-top {
    padding: 24px 0 12px 0;
    border-bottom: none;
  }
  .footer-kyna-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    max-width: 99vw;
    padding: 0 6px;
  }
  .footer-kyna-brand {
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  .footer-kyna-logo {
    width: 70px;
    margin-bottom: 6px;
  }
  .footer-kyna-social {
    gap: 10px;
    justify-content: center;
  }
  .footer-kyna-app {
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .footer-kyna-app-links {
    gap: 8px;
    justify-content: center;
  }
  .footer-kyna-qr {
    width: 90px;
    height: 90px;
    margin: 12px auto 0 auto;
    display: block;
  }
  .footer-kyna-cols {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .footer-kyna-col {
    align-items: center;
    gap: 4px;
    min-width: 0;
    width: 100%;
  }
  .footer-kyna-col-title {
    font-size: 1.08rem;
    margin-bottom: 4px;
    text-align: center;
  }
  .footer-kyna-col a {
    font-size: 0.98rem;
    text-align: center;
    padding: 2px 0;
  }
  .footer-kyna-bottom {
    padding: 12px 0 6px 0;
    background: #23293B;
    border-radius: 24px 24px 0 0;
  }
  .footer-kyna-bottom-container {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 99vw;
    padding: 0 6px;
  }
  .footer-kyna-bottom-left, .footer-kyna-bottom-right {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
  }
  .footer-kyna-contact {
    font-size: 1rem;
    margin-bottom: 4px;
    text-align: center;
  }
  .footer-kyna-company {
    font-size: 0.95rem;
    margin-bottom: 4px;
    text-align: center;
    width: 100%;
  }
  .footer-kyna-dmca {
    margin: 10px auto 0 auto;
    justify-content: center;
  }
  .footer-kyna-dmca img {
    width: 90px;
    border-radius: 8px;
    padding: 2px 4px;
  }
  .footer-kyna-copyright {
    font-size: 0.92rem;
    margin-top: 6px;
    text-align: center;
  }
}

@media (max-width: 1024px) {
  .mobile-nav-header {
    text-align: center;
    padding: 18px 0 8px 0;
    border-bottom: 1px solid #f0f0f0;
  }
  .mobile-nav-header-top {
    justify-content: center;
    gap: 0;
  }
  .mobile-nav-logo-wrap {
    display: flex;
    justify-content: center;
    width: 100%;
  }
  .mobile-nav-logo .kyna-logo-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto;
  }
  .mobile-nav-close {
    position: absolute;
    right: 18px;
    top: 18px;
    font-size: 2rem;
    color: #FF6B9D;
    cursor: pointer;
  }
  .lang-select-in-nav {
    margin: 10px auto 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1rem;
    color: #333;
    font-weight: 600;
    justify-content: center;
  }
  .mobile-nav-list {
    margin: 0;
    padding: 8px 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .mobile-nav-list a {
    font-size: 1.05rem;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    display: block;
    padding: 16px;
    border-bottom: 1px solid #f5f5f5;
    width: 100vw;
    max-width: 400px;
    text-align: left;
  }
  .mobile-nav-list a:hover {
    background: #f9f9f9;
    color: #FF6B9D;
  }
  .mobile-nav-login {
    display: block;
    margin: 16px auto 8px auto;
    background: #FF6B9D !important;
    color: #fff !important;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    padding: 10px 0;
    text-decoration: none;
    max-width: 220px;
    min-width: 120px;
  }
}

@media (max-width: 1024px) {
  .lang-select-in-nav img,
  .lang-select-mobile img,
  .mobile-nav .lang-flag {
    max-width: 32px !important;
    max-height: 22px !important;
    width: auto !important;
    height: auto !important;
    display: inline-block;
    border-radius: 4px;
    object-fit: contain;
    margin-right: 6px;
    vertical-align: middle;
  }
}

@media (min-width: 1025px) and (max-width: 1299px) {
  .mobile-nav {
    display: block !important;
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }
}

@media (min-width: 1301px) {
  .mobile-menu,
  .mobile-nav,
  .menu-overlay,
  .mobile-menu-open,
  .mobile-menu-content {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }
  .advantages-cute-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    text-align: left;
  }
  .advantages-cute-left, .advantages-cute-right {
    width: auto;
    justify-content: flex-start;
  }
  .students-grid {
    max-width: 1300px;
    gap: 20px;
    background: none;
    padding: 0;
  }
  .student-item {
    border-radius: 32px;
  }
  .student-item img {
    border-radius: 32px;
  }
}

@media (max-width: 1299px) {
  .mobile-nav {
    width: 100vw !important;
    max-width: 100vw !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 0 !important;
    position: fixed !important;
    top: 0;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(60,200,143,0.13), 0 2px 8px rgba(255,107,157,0.10) !important;
    padding: 0 0 24px 0 !important;
  }
  .mobile-nav-header {
    background: #fff;
    border-radius: 0 0 18px 18px;
    box-shadow: 0 4px 24px rgba(60,200,143,0.07);
    padding: 18px 18px 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
  }
  .mobile-nav-header-top {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    position: relative;
  }
  .mobile-nav-logo .kyna-logo-img {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50%;
    margin: 0 auto 8px auto;
    box-shadow: 0 2px 8px rgba(60,200,143,0.10);
  }
  .mobile-nav-close {
    position: absolute;
    right: 24px;
    top: 0;
    font-size: 2.2rem;
    color: #FF6B9D;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 10;
  }
  .lang-select-in-nav {
    margin: 0 auto 12px auto;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.08rem;
    color: #333;
    font-weight: 600;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 6px 18px;
    box-shadow: 0 2px 8px rgba(60,200,143,0.07);
  }
  .mobile-nav-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .mobile-nav-list a {
    font-size: 1.18rem;
    color: #222;
    font-weight: 700;
    text-decoration: none;
    display: block;
    padding: 18px 32px 18px 32px;
    border-bottom: 1px solid #f3fbe9;
    width: 100%;
    text-align: left;
    background: transparent;
    transition: background 0.2s, color 0.2s;
  }
  .mobile-nav-list a:hover {
    background: #f3fbe9;
    color: #FF6B9D;
  }
  .mobile-nav-login {
    display: block;
    margin: 28px auto 0 auto;
    background: #FF6B9D !important;
    color: #fff !important;
    border-radius: 24px;
    font-size: 1.15rem;
    font-weight: 800;
    text-align: center;
    padding: 16px 0;
    text-decoration: none;
    max-width: 260px;
    min-width: 140px;
    box-shadow: 0 2px 8px rgba(255,107,157,0.10);
    letter-spacing: 0.5px;
    transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  }
  .mobile-nav-login:hover {
    background: #e55a8a !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 24px rgba(255,107,157,0.16);
  }
  .lang-select-in-nav img,
  .lang-select-mobile img,
  .mobile-nav .lang-flag {
    max-width: 24px !important;
    max-height: 16px !important;
    width: auto !important;
    height: auto !important;
    display: inline-block;
    border-radius: 4px;
    object-fit: contain;
    margin-right: 6px;
    vertical-align: middle;
  }
}

.teachers-grid-home .teacher-card {
  height: 400px;
}

.view-profile-btn {
  display: block;
  margin: 18px auto 0 auto;
  background: #2563eb;
  color: #fff;
  border-radius: 18px;
  font-size: 1.08rem;
  font-weight: 700;
  text-align: center;
  padding: 10px 0;
  text-decoration: none;
  max-width: 180px;
  min-width: 100px;
  width: 100%;
  border: none;
  box-shadow: 0 2px 8px rgba(37,99,235,0.10);
  letter-spacing: 0.3px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.15s;
  cursor: pointer;
}
.view-profile-btn:hover {
  background: #1d4ed8;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 6px 24px rgba(37,99,235,0.16);
}

@media (max-width: 600px) {
  .teachers-grid-home {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
  }
  .teachers-grid-home .teacher-card {
    width: 98vw;
    max-width: 340px;
    min-width: 0;
    margin: 0 auto;
    padding: 14px 6px 10px 6px;
    border-radius: 14px;
    box-sizing: border-box;
  }
  .teachers-grid-home .teacher-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
  .teachers-grid-home .teacher-specialty {
    margin-top: 18px;
    margin-bottom: 8px;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .teachers-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    max-width: 100vw !important;
    padding: 0 2px !important;
  }
  .teachers-info {
    text-align: center !important;
    margin-bottom: 0 !important;
    width: 100% !important;
  }
}

.teachers-grid-home .teacher-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  text-align: center;
}
.teachers-grid-home .flag-circle {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.teachers-grid-home .teacher-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 800;
  color: #222;
  margin-bottom: 4px;
}

.program-card, .program-card *, .program-card:visited, .program-card:hover, .program-card:active {
  text-decoration: none !important;
}

@media (max-width: 768px) {
  .floating-zalo {
    bottom: 100px !important;
    right: 20px !important;
  }
  .floating-chat {
    bottom: 30px !important;
    right: 20px !important;
  }
}

.footer-kyna-copyright {
  text-align: center;
  padding: 20px;
  background: #1e293b; /* Dark blue-gray tone */
  color: #ffffff;
  font-size: 14px;
  font-family: 'Segoe UI', sans-serif;
  border-top: 1px solid #334155;
}

.footer-kyna-copyright span {
  display: inline-block;
  margin: 0 auto;
  opacity: 0.85;
}

.footer-kyna-copyright {
  animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.course-content ul li,
.course-content p {
  text-align: justify;
}

.course-content ul {
  list-style: none;
  padding-left: 0;
}
.course-content ul li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 18px;
  color: #333;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
  text-align: justify;
}
.course-content ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 4px;
  width: 28px;
  height: 28px;
  background: url('/assets/images/Cruise.gif') no-repeat center center/contain;
  border-radius: 50%;
  opacity: 0.95;
}
@media (max-width: 900px) {
  .course-content ul li:before {
    width: 22px;
    height: 22px;
    top: 3px;
  }
  .course-content ul li {
    padding-left: 28px;
    font-size: 1rem;
  }
}
@media (max-width: 600px) {
  .course-content ul li:before {
    width: 16px;
    height: 16px;
    top: 2px;
  }
  .course-content ul li {
    padding-left: 20px;
    font-size: 0.92rem;
  }
}

/* --- WOW EFFECT FOR JUNIOR OUTPUT CARDS --- */
.junior-output-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 10px;
}
@media (max-width: 900px) {
  .junior-output-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.junior-output-card {
  background: rgba(255,255,255,0.85);
  border-radius: 22px;
  box-shadow: 0 8px 40px rgba(80, 150, 255, 0.13), 0 2px 12px rgba(255, 107, 157, 0.10);
  border: 2px solid;
  border-image: linear-gradient(120deg, #b6d6ff 10%, #ffe0f7 90%) 1;
  backdrop-filter: blur(6px) saturate(1.1);
  padding: 28px 22px 22px 22px;
  transition: transform 0.22s cubic-bezier(.4,2,.6,1), box-shadow 0.22s, border-color 0.22s;
  position: relative;
  overflow: hidden;
}
.junior-output-card:hover {
  transform: none !important;
  box-shadow: 0 16px 60px rgba(80, 150, 255, 0.18), 0 4px 18px rgba(255, 107, 157, 0.13);
  border-image: linear-gradient(120deg, #7ecbff 10%, #ffb6e6 90%) 1;
  z-index: 2;
}
.junior-output-card ul li {
  position: relative;
  padding-left: 36px;
  margin-bottom: 10px;
  color: #333;
  font-size: 1.08rem;
  line-height: 1.7;
  text-align: justify;
}
.junior-output-card ul li:last-child {
  margin-bottom: 0;
}
.junior-output-card ul li:before {
  content: '';
  display: inline-block;
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background: url('/assets/images/Badge.gif') no-repeat center center/contain;
  opacity: 0.92;
}
@media (max-width: 600px) {
  .junior-output-card {
    padding: 16px 8px 12px 8px;
    border-radius: 12px;
  }
  .junior-output-card ul li {
    font-size: 0.97rem;
    padding-left: 28px;
  }
  .junior-output-card ul li:before {
    width: 16px;
    height: 16px;
    top: 2px;
  }
}

.ielts-courses-table-modern table {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(80,150,255,0.13), 0 2px 12px rgba(255,107,157,0.10);
  background: rgba(255,255,255,0.97);
  border: none;
}
.ielts-courses-table-modern th, .ielts-courses-table-modern td {
  border: none;
}
.ielts-courses-table-modern tr {
  transition: background 0.18s;
}
.ielts-courses-table-modern tbody tr:hover {
  background: linear-gradient(90deg,#eaf6ff 60%,#ffe0f7 100%);
  color: #2d7be5;
}
@media (max-width: 700px) {
  .ielts-courses-table-modern table, .ielts-courses-table-modern thead, .ielts-courses-table-modern tbody, .ielts-courses-table-modern th, .ielts-courses-table-modern td, .ielts-courses-table-modern tr {
    display: block;
    width: 100%;
  }
  .ielts-courses-table-modern thead {
    display: none;
  }
  .ielts-courses-table-modern tr {
    margin-bottom: 18px;
    box-shadow: 0 2px 8px rgba(80,150,255,0.07);
    border-radius: 12px;
    background: #fff;
    padding: 8px 0;
  }
  .ielts-courses-table-modern td {
    padding: 10px 12px !important;
    text-align: left;
    position: relative;
    font-size: 1rem;
    border-bottom: 1px solid #eaf6ff;
  }
  .ielts-courses-table-modern td:before {
    content: attr(data-label);
    font-weight: 700;
    color: #2d7be5;
    display: block;
    margin-bottom: 4px;
    font-size: 0.98em;
  }
}

/* --- Junior Output Card Responsive Fix for Mobile --- */
@media (max-width: 700px) {
  .junior-output-card {
    padding: 14px 4px 10px 4px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 12px rgba(80,150,255,0.10) !important;
    margin: 0 2px 12px 2px !important;
    max-width: 99vw !important;
  }
  .junior-output-card-inner {
    display: block !important;
    gap: 0 !important;
  }
  .junior-output-card-section {
    margin-bottom: 12px !important;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(80,150,255,0.07);
    padding: 12px 8px 8px 8px;
    border: 1.5px solid #eaf6ff;
  }
  .junior-output-card-section:last-child {
    margin-bottom: 0 !important;
  }
  .junior-output-card-section > div {
    font-size: 1.01rem !important;
    margin-bottom: 6px !important;
    font-weight: 800;
    text-align: left;
  }
  .junior-output-card-section ul {
    padding-left: 0 !important;
    margin: 0 !important;
    list-style: none !important;
  }
  .junior-output-card-section ul li {
    font-size: 0.97rem !important;
    padding-left: 28px !important;
    margin-bottom: 7px !important;
    position: relative;
    text-align: justify;
    color: #222;
    line-height: 1.7;
  }
  .junior-output-card-section ul li:before {
    content: '';
    display: inline-block;
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background: url('/assets/images/Badge.gif') no-repeat center center/contain;
    opacity: 0.92;
  }
}

/* Đảm bảo không bị tràn ngang trên mobile */
@media (max-width: 480px) {
  .junior-output-card {
    padding: 8px 2px 6px 2px !important;
    border-radius: 8px !important;
    max-width: 99vw !important;
  }
  .junior-output-card-section {
    padding: 8px 4px 6px 4px;
    border-radius: 7px;
  }
  .junior-output-card-section > div {
    font-size: 0.98rem !important;
  }
  .junior-output-card-section ul li {
    font-size: 0.93rem !important;
    padding-left: 22px !important;
  }
  .junior-output-card-section ul li:before {
    width: 13px;
    height: 13px;
    top: 1px;
  }
}

/* @media (min-width: 1025px) {
  .adv-mascot {
    max-width: 800px;
    width: 800px;
    height: auto;
    min-height: 600px;
    margin-top: -120px;
    display: block;
  }
} */

@media (min-width: 1025px) {
  .adv-mascot {
    max-width: 600px;
    width: 600px;
    height: auto;
    min-height: 600px;
    margin-top: -120px;
    display: block;
    position: relative;
    z-index: 2;
    /* Tràn lên trên section */
    top: -40px;
  }
}
