/* Body tổng thể */
   * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        :root {
  --primary-color: #004658;
  --secondary-color: #ff5e99;
  --accent-color: #ffd700;
  --light-bg: #f4faff;
  --text-dark: #333;
  --text-light: #fff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  background-image: 
    linear-gradient(to right, rgba(10, 95, 174, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(5, 71, 137, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
  background-repeat: repeat;
  background-attachment: fixed;
  color: var(--text-dark);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

#loading-screen p {
  font-family: Arial, sans-serif;
  font-size: 16px;
  color: #333;
  margin-top: 15px;
}

/* Logo + sóng âm */
.logo-container {
  position: relative;
  width: 150px;
  height: 150px;
}

.loading-logo {
  width: 100%;
  height: auto;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

/* Sóng âm dạng vòng tròn mở rộng */
.wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 150px;
  height: 150px;
  border: 2px solid #ff5e99;
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0.6;
  animation: pulse 1.5s ease-in-out infinite;
}

/* Tạo các sóng với thời gian khác nhau */
.wave:nth-child(2) {
  animation-delay: 0.3s;
  border-color: #ff9ec6;
  opacity: 0.4;
}

.wave:nth-child(3) {
  animation-delay: 0.6s;
  border-color: #ff3377;
  opacity: 0.5;
}

@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
}




/* ================= Header tổng thể ================= */
.main-header {
  position: relative;
  height: 80px;
  background: rgb(255, 255, 255);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  animation: slideDown 0.8s ease-out;


}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ================= Logo bên trái ================= */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.logo-img {
  width: 65px;       /* thêm px */
  height: 65px;
  object-fit: cover; /* ảnh sẽ lấp đầy khung tròn */
  border-radius: 50%; /* ảnh bo tròn khít khung */
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.1); /* phóng to nhẹ khi hover */
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #004658;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  white-space: nowrap;
}


/* ================= Menu chính giữa ================= */
.nav-menu {
  display: flex;
  gap: 40px;
  justify-content: center;
  align-items: center;
  flex: 1;
  transform: translateX(-80px);
}

.nav-menu a {
  text-decoration: none;
  font-size: 18px;
  color: #004658;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

/* Animation underline */
.nav-menu a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  background-color: #b858c7;
  left: 0;
  bottom: -4px;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #f200ff;
}

/* ================= Responsive ================= */
@media (max-width: 768px) {
  .main-header {
    flex-direction: column;
    align-items: flex-start;
    height: auto;
    padding: 20px;
    gap: 10px;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 12px;
  }

  .nav-menu a {
    font-size: 16px;
  }

  .logo-link {
    margin-bottom: 10px;
  }
}

/* Áp dụng cho toàn màn hình */
#sakura-container {
  position: absolute; /* so với header */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 10;
}

.sakura {
  position: absolute;
  width: 30px;
  height: 30px;
  opacity: 0.8;
  animation: fall linear infinite;
}
@keyframes fall {
  to {
    transform: translateY(100px) rotate(360deg); /* chỉ rơi khoảng 100px */
    opacity: 0;
  }
}

#banner-slider {
  background-color: #ccc;
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: auto;  /* giữ theo tỉ lệ ảnh */
  overflow: hidden;
  margin: 0;
  padding: 0;
  border-radius: 0 0 40px 40px; /* chỉ bo tròn ở dưới */
}

#banner-slider img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  opacity: 0;                   /* ẩn mặc định */
  transition: opacity 1s ease-in-out; /* fade mượt */
}

#banner-slider img.active {
  opacity: 1;                   /* hiển thị khi active */
}

#banner-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #bbb;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  border: none;
  outline: none;
}

.banner-dot.active {
  background: #006aff;
  transform: scale(1.3);
}

/* ================= MISSION SECTION ================= */
.mission-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 40px 20px;
  text-align: center;
}

.mission-section h2 {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 50px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.mission-section h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  border-radius: 2px;
}

.mission-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.mission-box {
  flex: 1 1 450px;
  background: #fff;
  border-radius: 20px;
  padding: 40px 30px;
  box-shadow: var(--shadow);
  text-align: left;
  transition: var(--transition);
  border: 1px solid rgba(0, 70, 88, 0.1);
  position: relative;
  overflow: hidden;
}

.mission-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.mission-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.mission-box h3 {
  color: var(--primary-color);
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.mission-box p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 15px;
  text-align: justify;
}

.mission-box blockquote {
  font-style: italic;
  background: rgba(0, 70, 88, 0.05);
  border-left: 4px solid var(--primary-color);
  padding: 20px;
  color: #555;
  border-radius: 8px;
  margin: 20px 0;
  text-align: justify;
  font-size: 1.05rem;
}

.mission-conclusion {
  margin-top: 40px;
  background: linear-gradient(135deg, rgba(0, 70, 88, 0.1) 0%, rgba(255, 94, 153, 0.1) 100%);
  padding: 30px;
  border-radius: 15px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--primary-color);
  text-align: center;
  font-weight: 500;
  border: 1px solid rgba(0, 70, 88, 0.2);
}

.mission-conclusion strong {
  font-weight: 700;
  color: var(--secondary-color);
}
/* ================= MISSION SECTION - MOBILE RESPONSIVE ================= */
@media (max-width: 768px) {
  .mission-section {
    margin: 40px auto;
    padding: 20px 15px;
  }

  .mission-section h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    letter-spacing: 0.5px;
    line-height: 1.3;
  }

  .mission-section h2::after {
    bottom: -10px;
    width: 80px;
    height: 3px;
  }

  .mission-container {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .mission-box {
    flex: 1 1 100%;
    padding: 25px 20px;
    border-radius: 15px;
    margin: 0 10px;
  }

  .mission-box:hover {
    transform: translateY(-5px);
  }

  .mission-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
  }

  .mission-box p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 12px;
  }

  .mission-box blockquote {
    padding: 15px;
    margin: 15px 0;
    font-size: 0.95rem;
  }

  .mission-conclusion {
    margin-top: 30px;
    padding: 20px 15px;
    border-radius: 12px;
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media (max-width: 480px) {
  .mission-section {
    margin: 30px auto;
    padding: 15px 10px;
  }

  .mission-section h2 {
    font-size: 1.5rem;
    margin-bottom: 25px;
  }

  .mission-section h2::after {
    bottom: -8px;
    width: 60px;
  }

  .mission-container {
    gap: 15px;
  }

  .mission-box {
    padding: 20px 15px;
    border-radius: 12px;
    margin: 0 5px;
  }

  .mission-box h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .mission-box p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .mission-box blockquote {
    padding: 12px;
    margin: 12px 0;
    font-size: 0.9rem;
  }

  .mission-conclusion {
    margin-top: 25px;
    padding: 15px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
  }
}
    .why-choose {
            position: relative;
            padding: 100px 20px;
            background: linear-gradient(135deg, #f4faff 0%, #e6f3ff 100%);
            text-align: center;
            overflow: hidden;
        }

        .why-choose::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23004658" fill-opacity="0.03" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,192C672,181,768,139,864,138.7C960,139,1056,181,1152,197.3C1248,213,1344,203,1392,197.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
            background-size: cover;
            background-position: bottom;
            z-index: 0;
        }

        .why-choose h2 {
            font-size: 48px;
            color: #004658;
            margin-bottom: 70px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            display: inline-block;
            z-index: 1;
        }

        .why-choose h2::after {
            content: "";
            position: absolute;
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #004658, #00a8cc);
            border-radius: 2px;
        }

        /* Timeline chính */
        .timeline {
            position: relative;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            z-index: 1;
        }

        .timeline::after {
            content: "";
            position: absolute;
            width: 6px;
            background: linear-gradient(to bottom, #004658, #00a8cc);
            top: 0;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 70, 88, 0.3);
        }

        /* Item chung */
        .timeline-item {
            padding: 30px 40px;
            position: relative;
            width: 50%;
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.8s ease forwards;
        }

        .timeline-item:nth-child(1) { animation-delay: 0.2s; }
        .timeline-item:nth-child(2) { animation-delay: 0.4s; }
        .timeline-item:nth-child(3) { animation-delay: 0.6s; }
        .timeline-item:nth-child(4) { animation-delay: 0.8s; }
        .timeline-item:nth-child(5) { animation-delay: 1s; }
/* --- Cơ bản giữ nguyên phần desktop ở trên --- */
   @keyframes fadeInUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .timeline-item .content {
            background: #fff;
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            position: relative;
            transition: all 0.4s ease;
            border-left: 5px solid #004658;
        }

        .timeline-item .content:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
        }

        .timeline-item.left {
            left: 0;
            text-align: right;
        }

        .timeline-item.right {
            left: 50%;
            text-align: left;
        }

        .timeline-item.left::before,
        .timeline-item.right::before {
            content: "";
            position: absolute;
            top: 40px;
            width: 24px;
            height: 24px;
            background: linear-gradient(135deg, #004658, #00a8cc);
            border-radius: 50%;
            z-index: 2;
            box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.9), 0 0 15px rgba(0, 70, 88, 0.5);
            transition: all 0.3s ease;
        }

        .timeline-item:hover::before {
            transform: scale(1.2);
            box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.9), 0 0 20px rgba(0, 70, 88, 0.7);
        }

        .timeline-item.left::before {
            right: -12px;
        }

        .timeline-item.right::before {
            left: -12px;
        }

        .timeline-item h3 {
            font-size: 24px;
            color: #004658;
            margin-bottom: 15px;
            font-weight: 700;
            position: relative;
            display: inline-block;
        }

        .timeline-item h3::after {
            content: "";
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 40px;
            height: 3px;
            background: #00a8cc;
            border-radius: 2px;
            transition: width 0.3s ease;
        }

        .timeline-item .content:hover h3::after {
            width: 100%;
        }

        .timeline-item p {
            color: #555;
            font-size: 16px;
            line-height: 1.7;
            margin-bottom: 0;
        }

        /* Thêm icon cho mỗi mục */
        .timeline-icon {
            position: absolute;
            top: 30px;
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #004658, #00a8cc);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 20px;
            box-shadow: 0 5px 15px rgba(0, 70, 88, 0.3);
            z-index: 1;
        }

        .timeline-item.left .timeline-icon {
            right: -25px;
        }

        .timeline-item.right .timeline-icon {
            left: -25px;
        }

        /* Responsive */
        @media screen and (max-width: 768px) {
            .timeline::after {
                left: 31px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
                text-align: left;
            }

            .timeline-item.right {
                left: 0;
            }

            .timeline-item.left::before,
            .timeline-item.right::before {
                left: 19px;
                right: auto;
            }

            .timeline-item.left .timeline-icon,
            .timeline-item.right .timeline-icon {
                left: -25px;
                right: auto;
            }

            .why-choose h2 {
                font-size: 36px;
            }
        }

.Doingugiaovien {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  background: #f9f9f9;
  position: relative;
}

/* Tầng trên: tiêu đề + ảnh 1 */
.teacher-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin-bottom: 60px;
}

.teacher-title {
  font-size: 36px;
  color: #004658;
  font-weight: 700;
  margin: 0;
}

.teacher-img-top {
  width: 500px;
  max-width: 45%;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.teacher-img-top:hover {
  transform: scale(1.05);
}

/* Tầng dưới: ảnh 2 đứng thẳng */
.teacher-bottom {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: flex-start; /* đẩy sang trái, thẳng hàng tiêu đề */
  margin-top: -50px; /* chồng chéo nhẹ với tầng trên */
}

.teacher-img-bottom {
  width: 450px;
  max-width: 50%;
  border-radius: 20px;
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
  transition: transform 0.4s ease;
}

.teacher-img-bottom:hover {
  transform: scale(1.05); /* phóng to nhẹ khi hover */
}

/* Responsive tablet */
@media (max-width: 992px) {
  .teacher-img-top {
    width: 400px;
  }
  .teacher-img-bottom {
    width: 350px;
  }
}

/* Responsive điện thoại */
@media (max-width: 768px) {
  .teacher-top {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .teacher-bottom {
    justify-content: center;
    margin-top: 20px;
  }

  .teacher-img-top,
  .teacher-img-bottom {
    width: 90%;
    max-width: 300px;
  }
}
.program-section {
            position: relative;
            padding: 100px 20px;
            text-align: center;
            background: linear-gradient(135deg, #f5f9fa 0%, #e8f4f8 50%, #d8ecf5 100%);
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            overflow: hidden;
        }

        /* Hiệu ứng nền động */
        .program-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 600px;
            height: 600px;
            background: radial-gradient(circle, rgba(0, 70, 88, 0.05) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 0;
        }

        .program-section::after {
            content: '';
            position: absolute;
            bottom: -30%;
            left: -5%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(0, 168, 204, 0.05) 0%, transparent 70%);
            border-radius: 50%;
            z-index: 0;
        }

        .section-header {
            max-width: 800px;
            margin-bottom: 60px;
            position: relative;
            z-index: 1;
        }

        .section-title {
            color: #004658;
            font-size: 3.2em;
            margin-bottom: 20px;
            font-weight: 800;
            line-height: 1.2;
            position: relative;
            display: inline-block;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #004658, #00a8cc);
            border-radius: 2px;
        }

        .section-subtitle {
            color: #586e75;
            font-size: 1.3em;
            line-height: 1.6;
            margin-bottom: 10px;
            font-weight: 400;
        }

        .program-container {
            display: flex;
            flex-direction: column;
            gap: 50px;
            margin-top: 30px;
            align-items: center;
            width: 100%;
            max-width: 1200px;
            position: relative;
            z-index: 1;
        }

        .program-card {
            background: linear-gradient(135deg, #ffffff 0%, #f8fcff 100%);
            border-radius: 20px;
            padding: 40px;
            width: 100%;
            box-shadow: 
                0 10px 30px rgba(0, 43, 54, 0.08),
                0 4px 12px rgba(0, 43, 54, 0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            border: 1px solid rgba(255, 255, 255, 0.8);
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            backdrop-filter: blur(10px);
        }

        /* Hiệu ứng border gradient */
        .program-card::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 20px;
            padding: 2px;
            background: linear-gradient(135deg, rgba(0, 70, 88, 0.1), rgba(0, 168, 204, 0.1));
            -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            pointer-events: none;
        }

        /* Số thứ tự được nâng cấp */
        .program-card::before {
            content: '';
            position: absolute;
            top: 30px;
            left: 40px;
            width: 70px;
            height: 70px;
            background: linear-gradient(135deg, #004658, #00a8cc);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            color: white;
            font-size: 1.4em;
            z-index: 2;
            box-shadow: 0 8px 20px rgba(0, 70, 88, 0.3);
            transition: all 0.3s ease;
        }

        .program-card:nth-child(1)::before {
            content: '01';
        }

        .program-card:nth-child(2)::before {
            content: '02';
        }

        .program-card:nth-child(3)::before {
            content: '03';
        }

        .program-card:hover {
            transform: translateY(-12px) scale(1.02);
            box-shadow: 
                0 20px 50px rgba(0, 43, 54, 0.15),
                0 8px 25px rgba(0, 43, 54, 0.1);
        }

        .program-card:hover::before {
            transform: scale(1.1);
            box-shadow: 0 12px 25px rgba(0, 70, 88, 0.4);
        }

        .program-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 25px;
            margin-left: 90px;
            gap: 30px;
        }

        .program-title-container {
            flex: 1;
            text-align: left;
        }

        .program-title {
            color: #004658;
            margin: 0 0 12px 0;
            font-size: 1.8em;
            font-weight: 700;
            line-height: 1.3;
            background: linear-gradient(135deg, #004658, #00a8cc);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .program-subtitle {
            color: #586e75;
            font-size: 1.2em;
            line-height: 1.5;
            font-weight: 500;
            font-style: italic;
            position: relative;
            padding-left: 20px;
        }

        .program-subtitle::before {
            content: '';
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 8px;
            background: #00a8cc;
            border-radius: 50%;
        }

        .program-content {
            display: flex;
            gap: 40px;
            margin-left: 90px;
            align-items: flex-start;
        }

        .program-description {
            color: #333;
            line-height: 1.7;
            font-size: 1.1em;
            text-align: left;
            flex: 1;
            margin: 0;
        }

        .program-features {
            flex: 0 0 300px;
            text-align: left;
        }

        .features-title {
            color: #004658;
            font-size: 1.1em;
            font-weight: 600;
            margin-bottom: 15px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .features-title::before {
            content: '✦';
            color: #00a8cc;
            font-size: 1.2em;
        }

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

        .features-list li {
            color: #586e75;
            padding: 8px 0;
            padding-left: 25px;
            position: relative;
            line-height: 1.5;
        }

        .features-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #00a8cc;
            font-weight: bold;
            font-size: 1.1em;
        }

        /* Hiệu ứng icon động */
        .program-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #004658, #00a8cc);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5em;
            flex-shrink: 0;
            box-shadow: 0 5px 15px rgba(0, 70, 88, 0.2);
            transition: all 0.3s ease;
        }

        .program-card:hover .program-icon {
            transform: rotate(10deg) scale(1.1);
        }

        /* Responsive */
        @media (max-width: 992px) {
            .program-content {
                flex-direction: column;
                gap: 25px;
            }
            
            .program-features {
                flex: 1;
                width: 100%;
            }
        }

        @media (max-width: 768px) {
            .program-section {
                padding: 80px 20px;
            }
            
            .section-title {
                font-size: 2.5em;
            }
            
            .section-subtitle {
                font-size: 1.1em;
            }
            
            .program-container {
                gap: 40px;
            }
            
            .program-card {
                padding: 30px 25px;
            }
            
            .program-header {
                flex-direction: column;
                margin-left: 0;
                margin-bottom: 20px;
                gap: 20px;
            }
            
            .program-content {
                margin-left: 0;
                gap: 20px;
            }
            
            .program-card::before {
                position: relative;
                top: 0;
                left: 0;
                margin-bottom: 20px;
                width: 60px;
                height: 60px;
                font-size: 1.2em;
            }
            
            .program-title {
                font-size: 1.5em;
            }
            
            .program-subtitle {
                font-size: 1.1em;
            }
        }

        @media (max-width: 480px) {
            .section-title {
                font-size: 2em;
            }
            
            .program-card {
                padding: 25px 20px;
            }
            
            .program-title {
                font-size: 1.3em;
            }
        }

        /* Animation */
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .program-card {
            animation: fadeInUp 0.6s ease forwards;
        }

        .program-card:nth-child(1) { animation-delay: 0.1s; }
        .program-card:nth-child(2) { animation-delay: 0.2s; }
        .program-card:nth-child(3) { animation-delay: 0.3s; }
/* Container chính */
.moitruong {
  position: relative;
  width: 100%;
  height: 100vh; /* Chiếm toàn bộ chiều cao màn hình */
  overflow: hidden;
  margin-top: -125px;
}

.background-img { width: 100%; height: 60%; object-fit: cover; position: absolute; top: 20%; left: 0; z-index: 1; opacity: 0.9; 
   filter: brightness(85%);/* giảm opacity xuống 60% */ /* Hoặc dùng filter nếu muốn hiệu ứng sáng/tối */ /* filter: brightness(70%); */ }

.overlay {
  position: absolute;
  top: 20%; /* giống với top của ảnh */
  left: 0;
  width: 100%;
  height: 60%; /* giống với height của ảnh */
  background-color: rgba(0, 0, 0, 0.4); /* lớp mờ */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  z-index: 2;
  border-radius: 10px; /* nếu muốn bo góc nhẹ cho đẹp */
}

.content {
  color: #fff;
  max-width: 800px;
}

.content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-align: center; /* vẫn giữ tiêu đề ở giữa */
}

.content p {
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: justify; /* căn đều hai bên */
}




/* Mobile */
@media (max-width: 480px){
  #LoTrinh,
  .LTH{
    margin: 12px auto;
    border-radius: 12px;
  }
}

.main-footer {
  background: #002b36; /* Xanh đậm */
  color: #f0f0f0;
  padding: 40px 20px 20px;
  margin-top: 50px;
  font-size: 14px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-about img.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
  font-size: 16px;
  color: #ffd700; /* Nhấn vàng */
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #f0f0f0;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ffd700;
}

.footer-contact p {
  margin: 6px 0;
}

.social-icons {
  margin-top: 10px;
}

.social-icons a img {
  width: 28px;
  margin-right: 10px;
  transition: transform 0.3s;
}

.social-icons a img:hover {
  transform: scale(1.2);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 30px;
  padding-top: 15px;
  font-size: 13px;
  color: #ccc;
}

.lo-trinh-container {
  position: relative;
  display: inline-block;
}

.LTH {
  max-width: 100%;
  display: block;
  border-radius: 8px;
}

.btn-tu-van {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  background: #004658;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease;
  text-decoration: none; /* bỏ gạch dưới */

}

.btn-tu-van:hover {
  background: rgb(115, 213, 179);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

/* ================= MOBILE RESPONSIVE ================= */
@media (max-width: 480px) {
  /* ===== Header Mobile với Menu Hamburger ===== */
  .main-header {
    flex-direction: row;
    height: 70px;
    padding: 0 15px;
    text-align: left;
    justify-content: space-between;
    position: relative;
  }

  .logo-link {
    margin-bottom: 0;
    z-index: 1001;
  }

  .logo-img {
    width: 45px;
    height: 45px;
  }

  .logo-text {
    font-size: 16px;
  }

  /* ===== Menu Hamburger ===== */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 80px 30px 30px;
    gap: 0;
    transform: none;
    margin-top: 0;
    transition: left 0.3s ease;
    z-index: 1000;
    box-shadow: 5px 0 25px rgba(0, 70, 88, 0.15);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    font-size: 18px;
    padding: 15px 0;
    width: 100%;
    border-bottom: 1px solid rgba(0, 70, 88, 0.1);
    color: #004658;
    font-weight: 500;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-menu a:hover {
    color: #007a9c;
    background: rgba(0, 70, 88, 0.05);
    padding-left: 10px;
    border-radius: 5px;
  }

  /* ===== Hamburger Icon ===== */
 /* Hamburger menu */
.hamburger-menu {
  display: none; /* ẩn desktop */
  width: 30px;
  height: 30px;
  flex-direction: column;
  justify-content: space-around;
  cursor: pointer;
  z-index: 1001;
  position: absolute; /* cố định trong header */
  top: 25px;         /* canh theo header height */
  right: 25px;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Khi active */
.hamburger-menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}
.hamburger-menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

  /* ===== Overlay khi menu mở ===== */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 70, 88, 0.3);
    backdrop-filter: blur(2px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* ===== Banner Slider ===== */
  #banner-slider {
    height: auto;
  }

  #banner-slider img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  #banner-dots {
    margin-top: 5px;
  }

  .banner-dot {
    width: 10px;
    height: 10px;
  }

  /* ===== Why Choose ===== */
  .why-choose {
    padding: 30px 10px;
  }

  .why-choose h2 {
    font-size: 1.6rem;
  }

  .why-choose p {
    font-size: 0.9rem;
  }

  .why-card {
    padding: 15px;
  }

  .why-card h3 {
    font-size: 1.1rem;
  }

  .why-card p {
    font-size: 0.9rem;
  }

  /* ===== Curriculum Section ===== */
  .curriculum-wrapper {
    flex-direction: column;
    gap: 20px;
    text-align: center;
    padding: 10px;
  }

  .curriculum {
    padding: 18px;
  }

  .curriculum h2 {
    font-size: 22px;
  }

  .curriculum p {
    font-size: 0.9rem;
  }

  .curriculum-image img {
    width: 100%;
    max-width: 100%;
  }

  .toggle-btn {
    padding: 8px 14px;
    font-size: 14px;
  }

  /* ===== Giáo viên ===== */
  .Doingugiaovien {
    padding: 20px;
  }

  .teacher-card {
    flex-direction: column;
    text-align: center;
  }

  .teacher-img {
    width: 100%;
    height: auto;
  }

  .teacher-info h2 {
    font-size: 20px;
  }

  .teacher-info p {
    font-size: 0.9rem;
  }

  .grTeacheriMG {
    display: none; /* ẩn ảnh nền phụ trên mobile */
  }

  /* ===== Môi trường học tập ===== */
  .moitruong {
    height: auto;
    margin-top: 0;
  }

  .background-img,
  .overlay {
    position: relative;
    height: auto;
    top: 0;
  }

  .content h2 {
    font-size: 1.8rem;
  }

  .content p {
    font-size: 1rem;
  }

  /* ===== Lộ trình ===== */
  #LoTrinh,
  .LTH {
    width: 95%;
    margin: 10px auto;
  }

  .btn-tu-van {
    position: static;
    display: block;
    margin: 15px auto 0;
    transform: none;
    font-size: 14px;
    padding: 10px 18px;
  }

  /* ===== Footer ===== */
  .main-footer {
    padding: 25px 10px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-about img.footer-logo {
    margin: 0 auto 10px;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: 15px;
  }

  .footer-links ul li a {
    font-size: 14px;
  }

  .social-icons a img {
    width: 24px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* Ẩn hamburger menu trên desktop */
.hamburger-menu,
.menu-overlay {
  display: none;
}

@media (max-width: 480px) {
  .hamburger-menu,
  .menu-overlay {
    display: flex;
  }
}
