* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: "Font1";
    /* cùng tên, khác weight */
    src: url("https://w.ladicdn.com/649d409655fa540012db9230/avenirnext-regular-20231107083216-fw1hm.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Font2";
    src: url("https://w.ladicdn.com/649d409655fa540012db9230/avenir-next-bold-20231107083216-ifzbk.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'DancingScript';
    src: url('/assets/fonts/Dancing_Script/DancingScript-VariableFont_wght.ttf') format('truetype');
    font-style: italic;
    font-weight: bold;

}

@font-face {
    font-family: 'OleoScriptBold';
    font-style: normal;
    font-weight: bold;
    src: url('/assets/fonts/Oleo_Script/OleoScript-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'OleoScriptRegular';
    font-style: normal;
    src: url('/assets/fonts/Oleo_Script/OleoScript-Regular.ttf') format('truetype');
}

html {
    margin: 20px 40px;
    scroll-behavior: smooth;
}

#main {
    max-width: 1200px;     /* ✅ Giới hạn chiều rộng tối đa (ví dụ 1200px) */
    width: 100%;           /* Cho phép co theo kích thước trình duyệt */
    margin: 0 auto;        /* ✅ Căn giữa toàn bộ website */
    padding: 0 20px;       /* ✅ Thêm khoảng đệm khi thu nhỏ */
    box-sizing: border-box;
}

#header {
    display: flex;
    justify-content: space-between; /* Nav trái – Button phải */
    align-items: center;            /* Căn giữa theo chiều dọc */
    flex-wrap: wrap;                /* Cho phép xuống hàng nếu thiếu chỗ */
}

#header .find-course-btn {
    background: #FF0000;
    border-radius: 20px;
    padding: 8px 14px;
    cursor: pointer;
}

#header .find-course-btn a{
    text-decoration: none;
    padding: 5px 10px;
    color: #fff;
    font-family: "Font2", serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease; /* Hiệu ứng mượt */
}

#header .find-course-btn:hover {
    transform: scale(1.1); /* Phóng to 10% */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Đổ bóng nhẹ khi hover */
}

/* ====== KHI KHÔNG ĐỦ CHỖ (màn nhỏ) ====== */
@media (max-width: 800px) {
    #header {
        flex-direction: column;   /* Chuyển sang dọc */
        justify-content: center;  /* Căn giữa theo chiều dọc */
        align-items: center;      /* Căn giữa theo chiều ngang */
        height: 180px;            /* Cho đủ không gian, bạn có thể chỉnh */
    }

    #nav {
        justify-content: center;
    }

    .find-course-btn {
        margin-top: 12px;         /* Tạo khoảng cách với nav */
    }
}

#nav {
    display: flex;
    list-style: none;
    background-color: #fff;
    padding: 8px 16px;
    margin: 0;
    align-items: center;
}

#nav li {
    display: inline-block;
}

#nav li img {
    width: 55px;
    height: auto;
    cursor: pointer;
}

#nav li a {
    text-decoration: none;
    text-align: center;
    line-height: 1;
    font-family: 'DancingScript', cursive;
    font-size: 23px;
    color: rgb(9, 47, 87);
    text-shadow: 2px 2px 5px rgba(9, 47, 87, 0.7);
    margin-left: 10px;
}

#content {
    margin-top: 15px;
}

#content .summary-course{
    display: flex;
    justify-content: space-between; /* 2 phần cách đều nhau */
    align-items: center;            /* Căn giữa theo chiều dọc */
    flex-wrap: wrap;                /* Cho phép xuống hàng khi thiếu chỗ */
    gap: 20px;                      /* Khoảng cách giữa 2 phần */
    padding: 20px;
}

.summary-course .left-part{
    flex: 1;
    text-align: left;
    min-width: 250px;
}

.summary-course .left-part ul{
    list-style: none;
    margin: 20px 0;
}

.left-part .text1{
    font-family:"Font2";
    font-size: 35px;
    font-weight: bold;
    line-height: 1.3;
    color: rgb(1, 170, 211);
    text-align: left;
}

.left-part .text2{
    font-family:"Font2";
    font-size: 37px;
    background-image: linear-gradient(126deg, rgb(0, 52, 89), rgb(140, 82, 255));
    background-color: initial;
    background-size: initial;
    background-origin: initial;
    background-position: initial;
    background-repeat: initial;
    background-attachment: initial;
    font-weight: bold;
    line-height: 1.3;
    color: rgb(14, 55, 111);
    letter-spacing: 0px;
    text-align: left;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-religion{
    display: flex;                /* ✅ cho icon & text cùng hàng */
    align-items: center;          /* căn giữa theo chiều dọc */
    gap: 8px;                     /* khoảng cách giữa icon và chữ */
    list-style: none;             /* bỏ dấu chấm li nếu có */
    margin: 6px 0;                /* khoảng cách giữa các dòng */
}

.feature-religion i{
    color: #FF0000;               /* màu icon (tuỳ chỉnh) */
    font-size: 18px;
}

.feature-religion p{
    margin: 0;                    /* bỏ khoảng trống mặc định */
    font-family: "Font1";
    font-size: 16px;
    color: #000;
}

.register-btn {
    border-radius: 10px;
    padding: 15px 14px;
    cursor: pointer;
    display: inline-block;
    min-width: 200px;
}

.register-btn a{
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
    padding: 5px 10px;
    color: #fff;
    font-family: "Font2", serif;
    transition: transform 0.25s ease, box-shadow 0.25s ease; /* Hiệu ứng mượt */
}

.summary-course .right-part{
    display: flex;           /* chia 2 cột: ảnh 1–2 và ảnh 3 */
    align-items: center;     /* căn giữa ảnh 3 theo chiều dọc */
    min-width: 300px;
    justify-content: flex-end;
}
/* ẢNH 1 + 2 xếp theo cột */
.right-part .left-images {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

/* ẢNH CHÍNH BÊN PHẢI */
.right-part .main-image img {
    width: 220px;            /* ảnh 3 to hơn */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* ẢNH 1 và 2 nhỏ hơn */
.right-part .left-images img {
    width: 110px;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

/* Khi màn hình hẹp */
@media (max-width: 800px) {
    .summary-course {
        flex-direction: column-reverse; /* cho right-part lên trên nếu cần */
        align-items: center;
        text-align: center;
    }

    .right-part {
        flex-direction: column; /* chuyển 3 ảnh xếp dọc */
        align-items: center;
    }

    .right-part .left-images {
        flex-direction: row; /* ảnh 1 và 2 nằm ngang khi thu nhỏ */
    }

    .right-part .main-image img {
        width: 80%; /* vừa với màn hình nhỏ */
    }
}

#content .religion-choose-course{
    margin-top: 70px;
}

.religion-choose-course > p {
    font-family: "Font2";
    font-size: 30px;
    line-height: 1.3;
    color: rgb(14, 55, 111);
    text-align: center;
}

/* ====== CONTAINER CHỨA 4 KHỐI ====== */
.feature-container {
    display: flex;
    flex-wrap: wrap; /* Cho phép xuống hàng */
    justify-content: center; /* Căn giữa khi xuống hàng */
    align-items: stretch; /* ✅ Cực quan trọng: các khối cao bằng nhau */
    gap: 20px;
    padding: 20px;
    box-sizing: border-box;
}

/* ===== MỖI KHỐI ===== */
.feature-box {
    display: flex;
    align-items: center; /* Căn giữa icon & text */
    justify-content: flex-start;
    flex: 1 1 calc(50% - 40px); /* 2 khối mỗi hàng */
    max-width: 500px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    min-height: 120px; /* ✅ Chiều cao tối thiểu để đồng đều */
    box-sizing: border-box;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Đảm bảo các khối bằng nhau kể cả nội dung khác */
.feature-box:nth-child(odd),
.feature-box:nth-child(even) {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    /* ✅ Căn chiều cao đều nhau */
}

/* ===== ICON ===== */
.feature-box .icon {
    flex-shrink: 0;
    font-size: 50px;
    color: #3dc9ec;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== TEXT ===== */
.feature-box .text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-box .text h4 {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgb(14, 55, 111);
    font-family: "Font2";
}

.feature-box .text p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #000;
    font-family: "Font1", serif;
    line-height: 1.6;
    text-align: justify;
}

/* ===== HOVER ===== */
.feature-box:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 800px) {
    .feature-box {
        flex: 1 1 100%;
        /* Chiếm toàn dòng */
        max-width: 90%;
        justify-content: center;
        text-align: center;
    }
}


#content .special-about-course{
    margin: 70px 0;
}

#content .special-about-course > p{
    font-family: "Font2";
    font-size: 30px;
    line-height: 1.3;
    color: rgb(14, 55, 111);
    text-align: center;
}

/* ======= KHỐI TỔNG ======= */
.special-about-course .features {
  display: flex;
  justify-content: space-between;
  align-items: center;      /* ✅ Căn giữa dọc */
  flex-wrap: nowrap;
  gap: 40px;
  padding: 10px 20px;
  box-sizing: border-box;
}

/* ======= PHẦN TRÁI ======= */
.special-about-course .features .left-part {
  flex: 1;
  display: flex;
  justify-content: flex-start; /* Ảnh dính mép trái */
  align-items: center;
}

.special-about-course .features .left-part img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

/* ======= PHẦN PHẢI ======= */
.special-about-course .features .right-part {
  flex: 1.5;
  display: flex;
  flex-direction: column;      /* ✅ Đặt cột để 6 khối + nút xếp dọc */
  align-items: center;         /* ✅ Căn giữa toàn bộ nội dung */
}

/* 6 KHỐI DỮ LIỆU */
.special-about-course .feature-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* ✅ 2 cột */
  grid-auto-rows: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 600px;
}

.special-about-course .feature-box {
  background: #fff;
  border-bottom: 4px solid rgb(0, 52, 89); /* ✅ viền dưới xanh dương */
  border-right: none;   /* ✅ viền trái xanh dương */
  border-top: none;
  border-left: none;

  box-shadow: -4px 4px 8px rgba(0, 123, 255, 0.6); /* ✅ đổ bóng góc dưới-trái */
  border-radius: 10px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.special-about-course .feature-box:hover {
  transform: scale(1.05);
  box-shadow: -6px 6px 12px rgba(0, 123, 255, 0.4); /* hiệu ứng hover */
}

.special-about-course .feature-box p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #333;
  font-family: Arial, sans-serif;
}

/* ======= BUTTON DƯỚI 6 KHỐI ======= */
.special-about-course .feature-btn {
  margin-top: 30px;             /* Cách 6 khối một đoạn */
  display: flex;
  justify-content: center;      /* ✅ Căn giữa ngang */
  width: 100%;
}

.special-about-course .feature-btn .register-btn {
  background: #FF0000;
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  font-family: "Font2", sans-serif;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.special-about-course .feature-btn .register-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ======= RESPONSIVE ======= */
@media (max-width: 1000px) {
  .special-about-course .features {
    flex-direction: column;  /* ✅ Ảnh lên trên, 6 khối + nút xuống dưới */
    align-items: center;
    text-align: center;
  }

  .special-about-course .features .left-part {
    justify-content: center;
  }
}

@media (max-width: 700px) {
  .special-about-course .feature-container {
    grid-template-columns: 1fr; /* ✅ 6 khối xếp dọc */
    max-width: 400px;
  }
}

#content .summary {
    display: flex;
    flex-direction: column;
    align-items: center; /* căn giữa ngang */
    margin-bottom: 40px;
}

#content .summary p {
    font-family: "Font2";
    font-size: 30px;
    line-height: 1.3;
    color: rgb(14, 55, 111);
    text-align: center;
}
.container {
  margin-top: 60px;
  margin-bottom: 20px;
  font-family: "Segoe UI", sans-serif;
  color: #002060;
}

/* 2 hàng × 3 cột */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, auto);
  justify-items: center;
  align-items: start;
  gap: 90px 130px; /* hàng - cột */
  overflow: visible;
}

/* Mỗi ô */
.item {
  position: relative;
  width: 220px;
  min-height: 200px;
  overflow: visible;
}

/* Khung viền */
.frame {
  position: relative;
  border: 6px solid rgb(13, 13, 132);
  height: 100%;
  min-height: 200px;
  box-sizing: border-box;
  overflow: visible;
  display: flex;
  align-items: center; /* căn giữa nội dung theo trục dọc */
}

/* Số — nhô lên 2/3 cạnh trên */
.number {
  position: absolute;
  top: -2px;
  transform: translateY(-66%);
  left: 10px;
  font-size: 75px;
  font-weight: bold;
  color: #e74c3c;
  background: white;
  line-height: 1;
  padding: 0 6px;
  z-index: 2;
}

/* Nội dung — tràn ngang ra phải, không chèn trên/dưới */
.inner-text {
  position: absolute;
    top: 20px;
    left: 70px;
    width: 250px;
    background: white;
    padding: 16px 0px;
    box-sizing: border-box;
    font-size: 15px;
    line-height: 1.5;
    z-index: 2;
    font-family: "Font1";
}

.inner-text b {
  display: block;
  color: #002060;
}

/* Responsive */
@media (max-width: 950px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .item {
    width: 80%;
    max-width: 330px;
  }
  .inner-text {
    right: -15%;
  }
}

/* ======= KHỐI ĐĂNG KÝ ======= */
#register {
    position: relative; /* tạo lớp riêng */
    width: 100vw;
    margin: 0 !important;
    left: 50%;
    right: 50%;
    transform: translateX(-50%); /* căn lại giữa nếu #main có padding trái phải */
    max-width: none;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #003366;
    padding: 50px 20px;
}

.register-form {
    background: #fff;
    padding: 40px 50px;
    border-radius: 12px;
    width: 900px; /* ✅ rộng hơn */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    text-align: center;
    
}

.register-form h2 {
    color: #003366;
    margin-bottom: 8px;
    font-family: "Font2";
    font-size: 22px;
}

.register-form h2 span {
    color: #e60000;
    font-family: "Font2";
    font-size: 22px;
}
.register-form p.note {
  font-size: 14px;
  color: rgb(255, 22, 22);
  margin-bottom: 30px;
  font-family: "Font1";
  font-style: italic;
}

/* ✅ CHIA 2 CỘT */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 40px;
  text-align: left;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 6px;
  color: #003366;
  font-family: "Font2";
  font-size: 16px;
}

input, select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  font-family: "Font1";
}

/* ✅ Phần checkbox policy */
.policy-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  text-align: left;
  margin-top: 20px;
  margin-bottom: 10px;
  gap: 10px;
}

.policy-wrapper input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  cursor: pointer;
  flex-shrink: 0;
}

.policy-wrapper label {
  font-size: 13px;
  color: #003366;
  line-height: 1.6;
  flex: 1; /* ✅ giúp nội dung giãn đều, không đè checkbox */
  font-family: "Font2";
}

.policy-wrapper a {
  color: #4d92d6;
  text-decoration: none;
  font-family: "Font2";
}

.policy-wrapper a:hover {
  text-decoration: underline;
  color: #d42222;
}

/* ✅ Responsive nhỏ hơn 768px: xuống 1 cột */
@media (max-width: 768px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .policy-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Nút đăng ký */
button {
  background: #e60000;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 25px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
  width: 50%;
  margin-top: 20px;
  font-family: "Font2";
}

button:hover {
  background: #cc0000;
  box-shadow: 0 4px 10px rgba(255,0,0,0.4);
  transform: scale(1.03);
}

/* ✅ Popup cảm ơn */
.popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.popup-content {
  background: #fff;
  padding: 30px 40px;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease;
}

.close-btn {
  background: #007BFF;
  color: #fff;
  border: none;
  padding: 8px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.close-btn:hover {
  background: #0056b3;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* ✅ Responsive */
@media (max-width: 768px) {
  .register-form {
    width: 95%;
    padding: 30px 20px;
  }
  .form-grid {
    grid-template-columns: 1fr; /* 1 cột trên mobile */
  }
  button {
    width: 100%;
  }
}

/* ==================================================== */
/* 🎯 SECTION: FEELING OF STUDENT */
/* ==================================================== */
/* ✅ Phá giới hạn của #main để tràn full màn hình */
#main #feeling-of-student {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}

/* Tổng thể section */
#feeling-of-student .testimonial-section {
  position: relative;
  width: 100%;
  background: #fff;
  padding: 100px 0;
  overflow: hidden;
}

/* ==================================================== */
/* 🔹 KHỐI CHÍNH GỒM TEXT + VIDEO */
/* ==================================================== */
#feeling-of-student .testimonial-container {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 0 0 70px 0;
  box-sizing: border-box;
}

/* ==================================================== */
/* 🔹 BÊN TRÁI: PHẦN NỘI DUNG + NỀN XANH FULL */
/* ==================================================== */
#feeling-of-student .testimonial-text {
  position: relative;
  background: #052c57;
  color: #fff;
  flex: 0 0 60%;
  /* chiếm 60% chiều ngang */
  padding: 20px 70px 80px 120px;
  box-sizing: border-box;
  z-index: 1;
  border-radius: 0 6px 6px 0;
  /* bo nhẹ góc phải */
  margin: 0;
  /* xoá margin để dính trái */
}

#feeling-of-student .testimonial-text h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 30px;
}

#feeling-of-student .testimonial-text h2 span {
  color: #ff1e1e;
}

#feeling-of-student .testimonial-text .student {
  margin-bottom: 25px;
  border-left: 3px dotted #5ca0ff;
  padding-left: 15px;
}

#feeling-of-student .testimonial-text b {
  font-size: 16px;
}

#feeling-of-student .testimonial-text span {
  font-size: 14px;
  color: #a7ceff;
}

#feeling-of-student .testimonial-text p {
  font-size: 14px;
  color: #e0e8f5;
  line-height: 1.6;
  margin-top: 8px;
}

/* ==================================================== */
/* 🔹 BÊN PHẢI: VIDEO CHÈN VÀO GÓC DƯỚI PHẢI CỦA NỘI DUNG */
/* ==================================================== */
#feeling-of-student .testimonial-video {
  position: absolute;
  right: 66px;
  bottom: -60px;
  /* chèn tràn nhẹ ra ngoài */
  width: 40%;
  max-width: 700px;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

#feeling-of-student .testimonial-video iframe,
#feeling-of-student .testimonial-video video {
  width: 100%;
  height: 380px;
  border-radius: 8px;
  border: 2px dashed #ccc;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* ==================================================== */
/* 🔹 NÚT ĐĂNG KÝ NGAY */
/* ==================================================== */
#feeling-of-student .register-btn {
  display: flex;
  justify-content: center;
}

#feeling-of-student .register-btn a {
  display: inline-block;
  background: #e74c3c;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 6px;
  transition: 0.3s;
}

/* ==================================================== */
/* 🔹 MÀN HÌNH RỘNG LỚN (video chuyển xuống, căn giữa) */
/* ==================================================== */
@media (min-width: 1800px) {
  #feeling-of-student .testimonial-container {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 850px;
    margin: 0 !important;
  }

  #feeling-of-student .testimonial-text {
    flex: 0 0 auto;
    width: 70%;
    text-align: left;
  }

  #feeling-of-student .testimonial-video {
    position: static;
    margin-top: 60px;
    width: 70%;
    display: flex;
    justify-content: center;
  }

  #feeling-of-student .testimonial-video iframe,
  #feeling-of-student .testimonial-video video {
    width: 100%;
    height: 420px;
  }
}

/* ==================================================== */
/* 🔹 RESPONSIVE: MÀN HÌNH NHỎ (video vẫn dính góc dưới) */
/* ==================================================== */
@media (max-width: 950px) {
  #feeling-of-student .testimonial-container {
    flex-direction: column;
    align-items: stretch;
    height: 700px;
  }

  /* Giữ nền xanh full chiều rộng */
  #feeling-of-student .testimonial-text {
    width: 100%;
    /* chừa chỗ bên dưới cho video */
    border-radius: 0;
  }

  /* Video nằm ở góc phải trong phần text */
  #feeling-of-student .testimonial-video {
    position: absolute;
    width: 100%;
    justify-content: flex-end;
  }

  #feeling-of-student .testimonial-video iframe,
  #feeling-of-student .testimonial-video video {
    width: 100%;
    min-height: 200px;
  }
}
/* ====== FOOTER CHUNG ====== */
#foooter {
  display: flex;
  justify-content: space-between; /* ✅ logo trái - text phải */
  align-items: center;            /* ✅ căn giữa dọc */
  flex-wrap: nowrap;              /* Không xuống dòng khi đủ chỗ */
  box-sizing: border-box;
  min-height: 120px;
  gap: 40px;                      /* Khoảng cách giữa 2 phần */
  margin-top: 50px;
}

/* ====== LOGO ====== */
.footer-left {
  flex: 0 0 auto;
  display: flex;
  align-items: center;            /* ✅ căn giữa dọc logo */
  justify-content: flex-start;
}

.footer-left img {
  height: 180px;
  width: auto;
  display: block;
}

/* ====== NỘI DUNG BÊN PHẢI ====== */
.footer-right {
  flex: 1;                        /* chiếm phần còn lại */
  display: flex;
  flex-direction: column;
  justify-content: center;        /* ✅ căn giữa dọc */
  align-items: center;            /* ✅ căn giữa ngang */
  text-align: center;
}

.footer-right .slogan {
  text-decoration: none;
    text-align: center;
    line-height: 1;
    font-family: 'DancingScript', cursive;
    font-size: 23px;
    color: rgb(9, 47, 87);
    text-shadow: 2px 2px 5px rgba(9, 47, 87, 0.7);
    margin: 10px 10px;
}

.footer-right .info p {
  margin: 3px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  font-family: "Font1", sans-serif;
}

/* ====== RESPONSIVE ====== */
/* Khi màn hình không đủ rộng → logo nhảy lên trên, text xuống dưới */
@media (max-width: 900px) {
  #foooter {
    flex-direction: column;       /* ✅ đổi layout thành dọc */
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-left {
    justify-content: center;      /* logo giữa */
    margin-bottom: 20px;
  }

  .footer-right {
    align-items: center;
    justify-content: center;
  }
}
