:root {
    --color-pri-in: #F8BF0E;
    --color-pri: #F8BF0E;
    --color-second: #6D2914;
    --color-text: #15191E;
    --color-text1: #04060A;
    --color-text2: #65758B;
    --color-text3: #4D4D4D;
    --color-text4: #C92027;
    --color-text5: #EB001B;
    --color-text6: #09253E;
    --color-filt: #8795A8;
    --color-disabled: #65758B;
    --disabled: #C2C9D3;
    --color-tt: #15191E;
    --sta1: #FFC107;
    --sta2: #9E9E9E;
    --sta3: #2196F3;
    --sta4: #07B432;
    --sta5: #F44336;
    --sta6: #6D2914;
    --input: #418ec8;
    --black: #000000;
    --white: #ffffff;
    --color-bg: #F9F9F9;
    --border: #D8DCE3;
}

body {
    font-family: "Plus Jakarta Sans", Helvetica, sans-serif;
}
@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1220px;
    }
}
img{
    max-width: 100%;
}
.navbar-dark .navbar-nav .nav-link{
    color: #1c0e40;
    font-weight: bold;
    font-family: "Plus Jakarta Sans",Helvetica,sans-serif;
}
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link.active{
    color:#571af2;
}

/* Hiển thị dropdown khi hover trên desktop */
@media (min-width: 992px) {
    .nav-item.dropdown:hover .dropdown-menu {
        display: block;
    }
}
.breadcrumb-item+.breadcrumb-item::before{
    content:none;
}
/* Định dạng icon xuống */
#mainMenu .dropdown-menu{
    border: 1px solid #9983db;
}
.dropdown-toggle-no-arrow::after {
    display: none;
}

#mainMenu .dropdown-menu .dropdown-item{
    display: inline;
    color: #4d388b;
    font-weight: bold;
}
#mainMenu .dropdown-menu .dropdown-item:hover{
    background: none;
    text-decoration: underline ;
    color: #571af2;
}


 .btn-pill-effect {
     position: relative;
     overflow: hidden;
     z-index: 1;
     color: #642d16;
     border: 1px solid #ccc;
     transition: color 0.3s ease;
 }

.btn-pill-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #642d16; /* màu đỏ nâu */
    z-index: -1;
    transition: left 0.4s ease;
}
.btn-pill-effect.active{
    color: #fff;
    border-color: #642d16;
    background-color: #642d16; /* màu đỏ nâu */
}
.btn-pill-effect:hover::before {
    left: 0;
}

.btn-pill-effect:hover {
    color: #fff;
    border-color: #642d16;
}
.bg-new {
    background: #ccc;
    color: #fff;
}
.bg-paid {
    color: #fff;
    background: #FFC107;
}

.custom-gradient-box {
    background: url("../images/infoh-bg.jpg") no-repeat left top;
    background-size: cover;
}

.object-fit-cover {
    object-fit: cover;
    height: 100%;
}
.title-pri span {
    position: relative;
    color: var(--color-second);
}
.title-pri span::before {
    position: absolute;
    content: '';
    height: 1rem;
    left: 50%;
    width: 90%;
    top: 100%;
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    background: url('../images/decor-tt.png') center / contain no-repeat;
}

.btn-pri {
    background: var(--color-pri);
    border:1px solid var(--color-pri);
}
.btn-pri:hover {
    background: var(--white);
    color: var(--color-pri);
    border:1px solid var(--color-pri);
}

.sec-ctrolh{
    background: url("../images/abintro-bg.png") no-repeat left top;
    background-size: cover;
}
.tab-container {
    display: flex;
    justify-content: center;
    background-color: #fff;
    border-radius: 12px;
    padding: 10px;
    gap: 8px;
    box-shadow: 0 0 0 1px #e3e3e3;
    max-width: fit-content;
    margin: auto;
    margin-bottom: -70px;
    z-index: 10;
    position: relative;
}

.tab-button {
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    background-color: transparent;
    font-weight: 500;
    color:var(--color-text);
    align-items: center;
    gap: 6px;
    --f-sz: clamp(1.2rem, calc(1rem + 0.75vw), 1.5rem);
    font-size: var(--f-sz);
    transition: all 0.3s ease;
}

.tab-button i {
    font-size: 25px;
    color: #ccc;
}

.tab-button.active, .tab-button:hover {
    background-color: rgba(248, 191, 14, 0.2);
    color: #000;
}

.tab-button.active i ,.tab-button:hover i{
    color: #f5a623;
}
.tab-image {
    animation: slideUp 0.6s ease-in-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.testimonial-wrapper {
    overflow: hidden;
    position: relative;
    height: 800px;
}

.testimonial-track {
    display: flex;
    flex-direction: column;
    gap: 20px;
    animation: scroll-up 20s linear infinite;
    animation-play-state: running;
}

.testimonial-track.reverse {
    animation-name: scroll-down;
    animation-duration: 22s;
}

/* Hover to pause */
.testimonial-wrapper:hover .testimonial-track {
    animation-play-state: paused;
}

@keyframes scroll-up {
    0% {
        transform: translateY(0%);
    }
    100% {
        transform: translateY(-50%);
    }
}

@keyframes scroll-down {
    0% {
        transform: translateY(-50%);
    }
    100% {
        transform: translateY(0%);
    }
}

.testimonial-img {
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.testimonial-img:hover {
    transform: scale(1.02);
}

.testimonial-img {
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    max-width: 100%;
    height: auto;
}
.testimonial-wrapper::before, .testimonial-wrapper::after {
    position: absolute;
    content: '';
    background: -webkit-gradient(linear, left top, left bottom, color-stop(32.3%, #FFF), to(rgba(255, 255, 255, 0)));
    background: linear-gradient(180deg, #FFF 32.3%, rgba(255, 255, 255, 0) 100%);
    left: 0;
    right: 0;
    width: 100%;
    height: 10%;
    pointer-events: none;
    z-index: 2;
}
.testimonial-wrapper::after {
    bottom: -.1rem;
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}


.faq-section {
    max-width: 100%;
    margin: auto;
    padding: 60px 20px;
    position: relative;
    background: var(--color-bg) url("../images/abinfo-bg.png") no-repeat left top;;
    background-size: cover;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
}

.faq-title h2 {
    font-weight: bold;
    font-size: 2rem;
}

.faq-title span {
    color: #f39c12;
    text-decoration: underline;
}

.faq-box {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-header {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-content {
    padding: 0 24px 18px 24px;
    display: none;
    font-size: 15px;
    color: #555;
}

.faq-box.active .faq-content {
    display: block;
}

.faq-icon {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.faq-box.active .faq-icon {
    transform: rotate(0deg);
}

.faq-icon::before {
    content: "+";
}

.faq-box.active .faq-icon::before {
    content: "–";
}
.form-support-section {
    background: url('../images/banner1.jpg') no-repeat center center;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /*padding: 60px 40px;*/
}

.form-support-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-support-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: #a84327;
    margin-bottom: 5px;
}

.form-support-box h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-support-box input,
.form-support-box textarea {
    font-size: 14px;
    border-radius: 8px;
    padding: 12px;
}

.form-support-box textarea {
    resize: none;
    min-height: 120px;
}

.form-support-box .submit-btn {
    background-color: #f4b400;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-weight: 600;
    color: #000;
    display: inline-flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.form-support-box .submit-btn:hover {
    background-color: #e3a900;
}

.form-support-box .submit-btn i {
    margin-left: 6px;
}

@media (max-width: 768px) {
    .form-support-section {
        justify-content: center;
        padding: 30px 15px;
    }
}

/*template*/
.section-intro-banner {
    background:url("../images/bnh-bg-2048x813.jpg") no-repeat left top;
    background-size: cover;
    position: relative;
    color: #ffffff;
    overflow: hidden;
    min-height: 600px;
    align-items: center;
}

.section-intro-banner .shape-corner {
    position: absolute;
    background:url("../images/decor-banner.png") no-repeat left top;
    width: 296px;
    height: 167px;
    z-index: 1;
}

.section-intro-banner .shape-corner.left-top {
    top: 0px;
    left: 0px;
}

.section-intro-banner .shape-corner.right-bottom {
    bottom: 0px;
    right: 0px;
    background:url("../images/decor-banner1.png") no-repeat left top;
    width: 296px;
    height: 167px;
    background-size: contain;
    z-index: 10;
}

.section-intro-banner .breadcrumb-custom {
    font-size: 14px;
    color: #d0fdfd;
    margin-bottom: 10px;
    font-weight: 500;
    z-index: 10;
}

.section-intro-banner .breadcrumb-custom a {
    color: #ffffff;
    text-decoration: none;
}

.section-intro-banner .title-intro {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(to right, #c7ffd4, #36c1c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-intro-banner .image-intro {
    max-width: 400px;
    z-index: 2;
    position: relative;
}

.section-intro-banner .bubble {
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    animation: floatUp 6s infinite ease-in-out;
}

.section-intro-banner .bubble:nth-child(1) { top: 20%; left: 30%; animation-delay: 0s; }
.section-intro-banner .bubble:nth-child(2) { top: 40%; left: 60%; animation-delay: 1s; }
.section-intro-banner .bubble:nth-child(3) { top: 60%; left: 50%; animation-delay: 2s; }
.section-intro-banner .bubble:nth-child(4) { top: 70%; left: 70%; animation-delay: 3s; }

@keyframes floatUp {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(-20px); opacity: 0.4; }
}

@media (max-width: 768px) {
    .section-intro-banner .title-intro {
        font-size: 32px;
        text-align: center;
    }

    .section-intro-banner .image-intro {
        margin-top: 30px;
    }
}
.text-gradient1 {
    background: linear-gradient(to right, #26d07c, #00b1d9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-about-title {
    background-color: #ffc107;
    font-size: 1.75rem;
    font-weight: 700;
    border-radius: 0.25rem;
    color: #fff;
}

.section-about-description {
    max-width: 650px;
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
}

.section-about-btn {
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s;
}

.section-about-btn:hover {
    background-color: #e0a800;
    color: #fff;
}

.about-image-wrapper img {
    border-radius: 20px;
}
.benefit-section {
    background-color: #fff;
}

.benefit-box {
    border: 1px solid #dee2e6;
    border-radius: 12px;
    background-color: #fff;
    transition: 0.3s;
}

.benefit-box:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.benefit-icon i {
    font-size: 1.5rem;
    color: #198754; /* Bootstrap xanh lá */
}

.benefit-highlight {
    background-color: #ffc107;
    border-radius: 20px;
    padding: 2rem;
    text-align: left;
    position: relative;
}

.benefit-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.benefit-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
}

.benefit-btn {
    font-weight: 600;
    border-radius: 6px;
    transition: 0.3s;
}

.benefit-btn:hover {
    background-color: #e0a800;
    color: #fff;
}
/*product*/
.testpack-section {
    background-color: #f8f9fa;
}

.testpack-info {
    border: 1px solid #eee;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.02);
}

.price-box {

    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;

}
.price-box .price-old {
    text-decoration: line-through;
    color: #6c757d;
    margin-left: 6px;
    margin-right: 6px;
}
.price-box .price-new {
    color: #dc3545;
    font-weight: 700;
}
.price-box .badge-hot {
    background-color: #dc3545;
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 12px;
    padding: 6px 10px;
    margin-right: 6px;
}
.box-hot{
    border: 1px dashed #dc3545;
    background:url("../images/hot.png") no-repeat 10px 10px;
    padding-left: 60px!important;
    min-width: 300px;

}
.testpack-test {
    border: 1px solid #eee;
}

.testpack-entry {
    transition: all 0.3s ease;
}

.testpack-entry:hover {
    background-color: #f1f1f1;
    transform: translateY(-2px);
}

.testpack-banner {
    background-image: url('../images/examdt.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}

/* Footer container */
.footer-custom {
    background-color: #fff;
    border-top: 1px solid #eee;
    position: relative;
    font-family: Arial, sans-serif;
}

/* Phần logo nổi */
.footer-floating-logo {
    position: absolute;
    top: -200px; /* trồi lên */
    left:0%;
    transform: translateX(-50%);
    z-index: 10;
}

.footer-logo-custom {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid white;
    background-color: white;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Tiêu đề các mục */
.footer-title-custom {
    font-weight: 700;
    margin-bottom: 1rem;
    color: #6B2600;
}

/* Link danh sách */
.footer-list-custom li {
    margin-bottom: 0.5rem;
}

.footer-list-custom a {
    text-decoration: none;
    color: #111;
    transition: color 0.3s;
}

.footer-list-custom a:hover {
    color: #6B2600;
}

/* Icon MXH */
.footer-social-icons a {
    color: #000;
    transition: all 0.3s;
}

.footer-social-icons a:hover {
    color: #6B2600;
}

/* Nút scroll */
.scroll-top-custom {
    position: fixed;
    bottom: 20px;
    right: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #f2b100;
    color: #f2b100;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: background 0.3s, color 0.3s;
}

.scroll-top-custom:hover {
    background: #f2b100;
    color: #fff;
}

/*exam*/
.headexam {
    height: 5rem;
    background-color: var(--white);
    border-bottom: 0.1rem solid #D8DCE3;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 100;
}
.headexam-tt {
    font-size: 1.6rem;
    color: #000;
    font-weight: 600;
}
.headexam-left-inner .des {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1.6rem;
}
.privacy-card {
    background: #fff;
    max-width: 1300px;
    width: 100%;
    border: none;
    margin-top: 150px!important;
}

.privacy-content {
    max-height: 600px;
    overflow-y: auto;
    /*border-right: 4px solid orange;*/
    padding-right: 10px;
}

.privacy-content ul {
    padding-left: 20px;
}

.privacy-content::-webkit-scrollbar {
    width: 6px;
}

.privacy-content::-webkit-scrollbar-thumb {
    background-color: orange;
    border-radius: 10px;
}
.login-container{
    background: url("../images/banner1.jpg") no-repeat;
    background-size: cover;
}
.icon-phone{
    background: url("../images/examdtic2.png") no-repeat;
    width: 81px;
    height: 80px;
    display: block;
    margin: 2px auto;
}
/**/
.icon-btn {
    width: 60px;
    height: 60px;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: inline-block;
    line-height: 60px;
    justify-content: center;
    position: relative;
    background: #fff;
    cursor: pointer;
    text-align: center;
    font-size: 30px;
    color: #4D4D4D;
}
.icon-btn a{
    color: #4D4D4D;
}
.icon-btn:hover {
    background: #f8f9fa;
}
.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #f9a825;
    color: #fff;
    font-size: 12px;
    line-height: 20px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
}

.checkout-wrapper {
    max-width: 1200px;
    margin: 20px auto;
}
.checkout-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkout-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}
.checkout-label {
    font-weight: 600;
    margin-bottom: 6px;
}
.checkout-input {
    border-radius: 6px;
}
.order-summary {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.order-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}
.order-item img {
    width: 60px;
    border-radius: 6px;
}
.order-price {
    font-weight: bold;
}
.checkout-btn {
    width: 100%;
    background: #e5a623;
    border: none;
    font-weight: bold;
    border-radius: 8px;
    padding: 12px;
    color: #fff;
}
.checkout-btn:hover {
    background: #cf911f;
}
.discount-box input {
    border-radius: 6px 0 0 6px;
}
.discount-box button {
    border-radius: 0 6px 6px 0;
}
.success-wrapper {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}
.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #28a745;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}
.success-title {
    font-size: 26px;
    font-weight: bold;
    margin-bottom: 8px;
}
.success-subtitle {
    color: #555;
    margin-bottom: 30px;
}
.order-info {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    border: 2px dashed #ddd;
    border-radius: 10px;
    padding: 20px;
    text-align: left;
    margin-bottom: 30px;
}
.order-info-item {
    flex: 1 1 45%;
    margin-bottom: 15px;
}
.order-info-item span {
    display: block;
    color: #333;
}
.order-info-item strong {
    font-size: 18px;
}
.payment-box {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    margin-bottom: 30px;
    text-align: left;
}
.payment-box p {
    margin-bottom: 8px;
}
.qr-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    flex-wrap: wrap;
    gap: 15px;
}
.qr-box img {
    width: 150px;
    border-radius: 8px;
}
.btn-group-custom {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.btn-back {
    background: #f0ad4e;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
}
.btn-back:hover {
    background: #e09a3e;
}
.btn-detail {
    background: #222;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: bold;
}
.btn-detail:hover {
    background: #000;
}

.sidebar-nav .nav-link {
    border-radius: 8px;
    color: #333;
    font-weight: 500;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-nav .nav-link i {
    font-size: 18px;
}

.sidebar-nav .nav-link.active, .sidebar-nav .nav-link:hover {
    background-color: #682c1e; /* nâu */
    color: #fff;
}


/*.list-part { display: none; }       !* ẩn mặc định *!*/
/*.list-part.active { display: block; } !* part đang hiển thị *!*/