* {
    padding: 0;
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
}

p,
h1,
h2 {
    padding: 0;
    margin: 0;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.header {
    height: 210px;
}

.header-content {
    width: 100%;
    border-bottom: 1px solid #eeeeee;
    position: fixed;
    background: #FFFAF0;
    z-index: 1000;
}

.header-top {
    display: flex;
    justify-content: center;
    height: 150px;
    background-color: #008f7f;
}

.header-top img{
    height: 100%;
}

.header-top-phone {
    display: flex;
    gap: 5px;
    align-items: center;
    
}

.header-top-phone i {
    padding-right: 10px;
}

.header-top-lang img {
    height: 23px;
    width: 35px;
}

.header-top-lang .collapse:not(.show) {
    display: flex;
}

.header-top-lang .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
    top: 50px;
}

.navbar-brand img {
    width: 100%;
}

.navbar-brand {
    padding-right: 80px;
}

.bg-light {
    background: none !important;
    padding: 0;
    height: 60px;
}

.navbar-nav {
    font-size: 16px;
    font-weight: 700;
    gap: 19px;
}

.navbar-light .navbar-nav .nav-link {
    color: #333333;
}

.nav-item:hover .nav-link,
.active .nav-link {
    color: #fe9614 !important;
}
.logo-bmq{
    display: flex;
width: 608px;
align-items: center;
gap: 10px;
flex-shrink: 0;
align-self: stretch;
text-decoration: none !important;

}
.img-logo{
    width: 107px;
height: 70px;
flex-shrink: 0;
}
.text-logo{
color:  #fe9614;
font-size: 22px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
.arrow{
    display: none;
}
/* @media (max-width: 620px) {
    .header-content {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: auto;
    }

    .logo-bmq {
        display: flex;
        align-items: center;
        gap: 6px;
        flex: 1; 
        max-width: 70%;
    }

    .img-logo {
        width: 50px; 
        height: auto;
    }

    .text-logo {
        font-size: 14px; 
        font-weight: 700;
        color: #fe9614;
        white-space: nowrap; 
    }

    .navbar-toggler {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-left: auto; 
    }
    .header-top-phone p {
        font-size: 60%; 
    }
    .dropdown-menu {
        font-size: 12px;
        min-width: 100px; 
    }
} */


/* footer  */

.footer {
    background-color: #008f80;
    padding: 30px 0;
}

.footer-left {
    color: #ffffff;
}

.footer-left img {
    height: 56px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.footer-left h1 {
    font-weight: 500;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    margin: 15px 0 40px;
}

.footer-left p{
    line-height: 22px;
    color: #fff;
    padding-bottom: 15px;
}

.section-title-left{
    position: relative;
}

.section-title-left .footer-right{
    width: 100%;
    position: absolute;
    bottom: 0px;
}

.section-title-left .footer-right iframe{
    height: 400px;
}

.footer-right div {
    display: flex;
    height: 100%;
    align-items: flex-start;
}
.parsley-required {
    font-size: 11px;
    color: red;
}

.footer-right iframe {
    height: 280px;
    width: 100%;
}

.footer-right h1{
    font-weight: 700;
    font-size: 16px;
    line-height: 35px;
    color: #fff;
}

.copyright{
    
    text-align: center;
    font-size: 14px;
    padding-top: 15px;
    color: #fff;
    border-top: 1px solid #fff;
    margin-top: 30px;
}

.swiper-wrapper {
    list-style: none;
    /* Ẩn dấu chấm */
    padding: 0;
    /* Loại bỏ padding mặc định */
    margin: 0;
    /* Loại bỏ margin mặc định */
}

.swiper-slide {
    list-style: none !important;
    /* Đảm bảo dấu chấm bị ẩn */
}
.news-title { 
    padding: 35px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-title h1 {
    font-weight: 700;
    font-size: 28px;
    color: #fe9614;
}

.news-title-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-title a {
    text-decoration: none;
}

.news-title h2 {
    font-weight: 400;
    font-size: 14px;
    color: #333333;
}

.news-title i {
    font-weight: 400;
    font-size: 16px;
    color: #b4b4b4;
}

.news-title p {
    font-weight: 700;
    font-size: 16px;
    color: #068f7f;
}
.footer-right .img-map img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}


@media (min-width: 1200px) {
}
@media (min-width: 1024px) {
}
@media (max-width: 970px) {
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        height: auto;
    }
    .main-content {
        padding-top: 160px; /* điều chỉnh theo chiều cao header */
    }
    .header-content{
        width: 100%;
    }
    .header-top {
        width: 100%;
        background-position: center ;
        height: auto;
    }

    .header-top img {
        width: 900px;
        height: 100px;    
        background-position: center; 
        object-fit: contain;
    }

    .navbar {
        width: 100%;
        background-color: #008277 !important;
    }

    .navbar-toggler {
        display: none;
    }

    .navbar-collapse {
        display: flex !important;
        position: relative;
        transform: none !important;
        width: 100%;
        height: auto;
        justify-content: center;
    }

    .navbar-nav {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px;
    }

    .navbar-nav .nav-item {
        border: none;
        padding: 5px 10px;
    }

    .navbar-nav .nav-link {
        font-size: 20px;
    }

    body.offcanvas-open {
        overflow: hidden;
    }

    .bg-light {
        background: none !important;
        padding: 10px 0;
        height: auto;
    }
    .custom-hover-dropdown {
        position: relative;
    }
    .custom-hover-dropdown .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background-color: #00695c;
        border: none;
        display: none;
        z-index: 999;
    }

    .custom-hover-dropdown.show .dropdown-menu {
        display: block;
    }
        .sign-up > img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-top: 10px;
    }
    .footer-right .img-map img {
        width: 100%;
        height: auto;
    }
    .course-detail {
        border: 1px solid #ddd;
        padding: 10px;
        margin: 0 0 10px;
        background: #fff;
    }

    .course-detail img {
        width: 100%;
        max-height: 200px;
        object-fit: contain;
        border-radius: 10px;
        display: block;
        margin: 0 auto;
        background-color: #f9f9f9; /* giúp ảnh nhỏ vẫn đẹp */
    }

    .course-detail h2 {
        margin: 15px 0 10px;
        text-align: center;
        color: #454545;
        font-weight: 600;
        font-size: 14px;
    }

    .course-detail p {
        margin: 0 0 10px;
        text-align: center;
        color: #fe9614;
        font-weight: 600;
        font-size: 14px;
    }

    .course-detail div:last-child {
        padding: 5px 10px;
        font-weight: bold;
        text-align: center;
        background: #068f7f;
        border-radius: 0 0 10px 10px;
    }

    .course-detail div:last-child a {
        color: #fff;
        text-decoration: none;
    }
}

@media (max-width: 620px) {
   * {
        box-sizing: border-box;
    }

    html, body {
        overflow-x: hidden;
    }

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        height: auto;
    }

    .main-content {
        padding-top: 160px;
    }

    .header-content {
        width: 100%;
    }

    .header-top img {
        width: 460px;
        height: 100px;
        object-fit: contain;
    }

    .navbar {
        width: 100%;
        background-color: #008277 !important;
    }

    .bg-light {
        background: none !important;
        padding: 10px 0;
        height: auto;
    }

    .navbar-collapse {
        display: flex !important;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        background-color: #008277;
        padding: 10px;
    }

    .navbar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        width: 100%;
    }

    .navbar-nav .nav-item {
        border: none;
        position: relative;
    }

    .navbar-nav .nav-link {
        font-size: 11px;
        color: #000000 !important;
    }

    .arrow {
        display: inline-block;
        padding-left: 5px;
        font-size: 12px;
        color: #000000;
        cursor: pointer;
    }

    .arrow i:hover {
        color: #fe9614 
    }

    .custom-hover-dropdown .dropdown-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: max-content;
        background-color: #00695c;
        z-index: 999;
        border: none;
        padding: 10px;
    }
    .custom-hover-dropdown .dropdown-menu .dropdown-item{
        color: #fff;
    }
    .custom-hover-dropdown .dropdown-menu .dropdown-item:hover{
        background-color: orange;
    }
    .custom-hover-dropdown.show .dropdown-menu {
        display: block;
        position: absolute;
        top : 35px;
    }

    body.offcanvas-open {
        overflow: hidden;
    }
    .footer-right .img-map img {
        width: 100%;
        height: auto;
    }
    .sign-up {
    width: 100%;
    overflow: hidden;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    }

    .sign-up-text {
        text-align: center;
        width: 100%;
    }

    .blink-text p,
    .sign-up-click p {
        font-size: 18px;
        word-break: break-word;
    }

    .sign-up-click {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .sign-up-click img {
        max-width: 100%;
        height: auto;
    }

    .button-container {
        margin-top: 10px;
    }

    .offer-btn {
        display: inline-block;
        padding: 10px 15px;
        background-color: #ff5722;
        color: white;
        border-radius: 5px;
        font-size: 16px;
        text-align: center;
        white-space: nowrap;
    }

    .arrow {
        padding: 0 5px;
    }

    .sign-up > img {
        max-width: 100%;
        height: auto;
        display: block;
        margin-top: 10px;
    }
    .frame-content {
        flex-direction: column;
        gap: 20px;
    }

    .section-title-left,
    .section-title-right {
        padding: 0 !important;
    }

    .section-title-left iframe {
        width: 90% !important;
        height: 250px !important;
        display: block;
        border: none;
    }

    .footer-right {
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    .submit-form-contact-us {
        width: 100%;
    }

    .input input,
    .input textarea {
        width: 100%;
        box-sizing: border-box;
    }

    /* Optional: scale captcha nhẹ nếu tràn */
    .g-recaptcha {
        transform: scale(0.9);
        transform-origin: 0 0;
    }
    .section-title-right {
        order: 2; /* Đưa phần form và thông tin xuống dưới */
        padding: 15px !important;
    }

    .section-title-left {
        order: 1; /* Đưa bản đồ lên trên */
        padding: 15px !important;
        height: 300px; /* Cố định chiều cao cho bản đồ */
    }

    .footer-right {
        height: 100% !important;
    }

    .footer-right iframe {
        width: 100% !important;
        height: 100% !important;
        min-height: 250px;
    }

    /* Đảm bảo phần thông tin liên hệ hiển thị rõ ràng */
    .mt-auto.pt-3 {
        margin-top: 20px !important;
        padding-top: 20px !important;
        background: white;
        border-radius: 8px;
        padding: 15px !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
}


@media (max-width: 375px) {
}

.banner {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 0.3;
    overflow: hidden;
  }
  
  .slide-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
  }
  
  .img1 {
    animation-name: slideOne;
  }
  
  .img2 {
    animation-name: slideTwo;
  }
  
  @keyframes slideOne {
    0%   { opacity: 1; }
    45%  { opacity: 1; }
    50%  { opacity: 0; }
    100% { opacity: 0; }
  }
  
  @keyframes slideTwo {
    0%   { opacity: 0; }
    45%  { opacity: 0; }
    50%  { opacity: 1; }
    100% { opacity: 1; }
  }
  

.blink-text {
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fbc02d; /* Màu vàng cam */
    -webkit-text-stroke: 1.5px white; /* Viền trắng */
    text-align: center;
    /* animation: blink 1s infinite; */
    padding: 10px 20px;
    display: inline-block;
    border-radius: 8px;
    text-shadow: 
      0 0 5px white,
      0 0 10px #fbc02d,
      0 0 15px #fbc02d;
  }

  
  /* Hiệu ứng nhấp nháy */
  @keyframes blink {
    0%, 100% {
      opacity: 1;
    }
    50% {
      opacity: 0.5;
    }
  }

  .sign-up{
    position: relative;
    margin-top: 10px;
  }

  .sign-up-text {
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .sign-up-click{
    animation: blink 1s infinite;
    position: relative;
  }
  .sign-up-click img{
    height: 50px;
  }

  .sign-up-click p{ 
    position: absolute;
    top: 13px;
    color: #fff;
    left: 33%;
    font-weight: 700;
  }
  .button-container {
    text-align: center;
  }
  
  /* Dòng "Nhận Ưu Đãi Khủng" */
  .offer-btn {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background-color: transparent;
    text-shadow: 0 0 3px #000;
    display: inline-block;
  }
  
  /* Mũi tên « và » */
  .offer-btn .arrow {
    color: #fbc02d;
    margin: 0 8px;
    font-size: 22px;
  }

  .course,.advantage ,.roadmap, .share{
    padding: 30px 0;
  }

  .title{
    color: #068f7f;
    font-size: calc(24px + (28 - 24) * ((100vw - 320px) / (1920 - 320)));
    font-weight: bold;
    margin: 0;
    text-transform: uppercase;
    text-align: center;
    padding-bottom: 30px;
  }

  .course-list a{
    text-decoration: none;
  }

  .course-detail {
    border: 1px solid #ddd;
    padding: 10px;
    margin: 0 0 10px;
  }

  .course-detail img{
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
  }
  
  .course-detail h2{
    margin: 15px;
    text-align: center;
    color: #454545;
    font-weight: 600;
    font-size: 14px;
  }

  .course-detail p{
    margin: 15px;
    text-align: center;
    color: #fe9614;
    font-weight: 600;
    font-size: 14px;
  }

  .course-detail div{
    padding: 5px 10px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    background: #068f7f;
  }

  .course-detail div:hover{
    background: #fe9614;
  }
  
    .course-detail {
        transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    }
    .course-detail:hover {
        transform: translateY(-5px);
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    }

    .course-more{
        background: #068f7f;
        padding: 6px 15px 6px 20px;
        border-radius: 50px;
        color: #fff;
        font-size: 16px;
        margin: 30px 0 0;
        width: fit-content;
        margin: auto;
        margin-top: 30px;
    }

    .course-more:hover{
        background: #fe9614;
    }
  
    .roadmap-list ,.advantage-list{
        row-gap: 30px;
    }

    .roadmap-detail{
        height: 100%;
        border-radius: 5px;
        padding: 40px 20px 20px;
        background: #F6F6F7;
        border: 1px solid #cbcbcb;
        text-align: center;
    }

    .roadmap-detail h1{
        font-size: 16px;
        color: #111;
        margin: 0 0 10px;
        text-transform: uppercase;
        font-weight: bold;
        padding-top: 10px;
    }

    .advantage-list{

    }

    .advantage-detail{
        
        height: 100%;
        border-radius: 5px;
        margin: 0;
        padding: 40px 20px 20px;
        border: 1px solid #cbcbcb;
        background: #e5f3f7;
        border: none;
    }

    .advantage-detail h1{
        padding-top: 10px;
        font-size: 16px;
        color: #111;
        margin: 0 0 10px;
        text-transform: uppercase;
        font-weight: bold;
    }

    .advantage-detail p{
        font-size: 16px;
        color: #777;
        margin: 0;
    }