.doi-tac {
    padding: 40px 0;
}

.doi-tac h2 {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 30px;
    color: var(--color-secondary);
}

.doi-tac-slider .item img {
    border-radius: 5px;
}

.doi-tac-slider .slick-slide {
    margin: 0px;
    background-color: var(--color-2);
    padding: 5px;
    border-radius: 5px;
    height: auto;
}

/* ====================================================
   Back to top button
   ==================================================== */
.backtotop {
    cursor: pointer;
    background: var(--color-secondary);
    bottom: 10px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 2px;
    position: fixed;
    right: 12px;
    text-align: center;
    text-transform: uppercase;
    width: 40px;
    z-index: 999;
    border-radius: 4px;
    border: 1px solid #FFF;
}

.backtotop svg {
    width: 26px;
    height: 18px;
    margin-bottom: -1px;
}

.backtotop svg path {
    stroke: #fff;
}

/* ====================================================
   Support Widget / Contact Panel
   ==================================================== */
.support-widget {
    position: fixed;
    bottom: 69px;
    right: 15px;
    z-index: 99;
}

.trigger-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-third);
    border: none;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(212, 167, 84, 0.4);
    transition: transform 0.2s;
}

.trigger-btn:hover {
    transform: scale(1.05);
}

.trigger-btn .icon-bvc-member img {
    /* width: 34px;
    height: 34px; */
    border-radius: 50%;
    object-fit: cover;
}

.trigger-btn .icon-close-main {
    display: none;
    width: 22px;
    height: 22px;
    fill: #fff;
}

.trigger-btn.active .icon-bvc-member {
    display: none;
}

.trigger-btn.active .icon-close-main {
    display: block;
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--color-third);
    animation: pulse-ring 2s ease-out infinite;
    pointer-events: none;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.8s;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.contact-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 310px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 20px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    z-index: 999;
}

.contact-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 14px 0;
    background: transparent;
    color: #0f172a;
}

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

.panel-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
}

.panel-info {
    flex: 1;
}

.panel-avatar img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: none;
}

.panel-info h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
    line-height: 1.2;
}

.panel-info span {
    font-size: 13px;
    color: #22c55e;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
    flex-shrink: 0;
}

.close-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.panel-greeting {
    padding: 0;
    font-size: 14px;
    color: #475569;
    margin: 0 0 16px 0;
    border-bottom: none;
    line-height: 1.5;
    font-weight: 400;
}

.contact-list {
    display: flex;
    flex-direction: column;
    /* gap: 10px; */
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 14px;
    text-decoration: none !important;
    background: #edf5fd;
    border: 1px solid #d0e4ff;
    color: #0f172a !important;
    transition: all 0.2s ease;
    gap: 12px;
    margin-bottom: 10px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item:hover {
    background: #e2f0fe;
    border-color: #3b82f6;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.contact-item .icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    overflow: hidden;
}

.contact-item .icon-wrap img {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    object-fit: contain;
}

.contact-text {
    flex: 1;
}

.contact-text strong {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    display: block;
    line-height: 1.25;
}

.contact-text p {
    font-size: 13px;
    color: #64748b;
    margin: 2px 0 0 0;
    line-height: 1.3;
    font-weight: 400;
}

.contact-arrow {
    margin-left: auto;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.2s ease;
}

.contact-item:hover .contact-arrow {
    color: #475569;
    transform: translateX(2px);
}

.icon-bvc-member svg {
    width: 30px;
    height: 30px;
    fill: #FFF;
}

.icon-headset {
    fill: #3b82f6;
    width: 38px;
    height: 38px;
}



/* ====================================================
   Site Footer Custom Layout (CLB Toán 9+)
   ==================================================== */
.site-footer {
    background-color: #f0f0f0;
    color: #333333;
    font-family: inherit;
    padding-top: 40px;
    /* border-top: 1px solid #e2e8f0; */
}

.footer-main-content {
    padding-bottom: 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.25fr 1.3fr 0.8fr 1.15fr;
    gap: 32px;
    align-items: start;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Map Column */
.footer-map-box {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid #e0e6ed;
    background: #ffffff;
}

.footer-map-box iframe {
    display: block;
    width: 100%;
    height: 200px;
    border: 0;
    border-radius: 12px;
}

/* Brand Column */
.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-col-brand>p {
    margin: 0 0 10px 0;
    font-size: 13.5px;
    line-height: 1.65;
    color: #4a5568;
}

.footer-col-brand p img.image,
.footer-col-brand img.image {
    max-height: 60px;
    width: auto !important;
    display: block;
    object-fit: contain;
    margin-bottom: 8px;
}

.brand-icon-wrapper {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.brand-icon-wrapper svg {
    width: 100%;
    height: 100%;
}

.brand-title-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--color-third);
    letter-spacing: 0.5px;
}

.footer-description {
    font-size: 13.5px;
    line-height: 1.65;
    color: #4a5568;
    margin: 0 0 16px 0;
}

.footer-social-list {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.social-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: transform 0.2s ease, opacity 0.2s ease;
    text-decoration: none;
    overflow: hidden;
    background-color: var(--color-third);
}

.social-item img {
    width: 20px;
    height: 20px;
    object-fit: cover;
}

.social-item:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.social-item svg {
    width: 18px;
    height: 18px;
}

.social-fb {
    background-color: #1877f2;
}

.social-yt {
    background-color: #ff0000;
}

.social-zalo {
    background-color: #ea4335;
}

/* Section Titles */
.footer-col-title,
.footer-col-info h2,
.footer-col-info h3,
.footer-col-menu h2,
.footer-col-menu h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-third);
    margin: 0 0 18px 0;
    text-transform: uppercase;
}

/* Contact Info Column */
.footer-contact-items,
.footer-col-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-line,
.footer-col-info ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    line-height: 1.5;
    color: #2d3748;
}

.contact-icon,
.footer-col-info ul li img.image,
.footer-col-info ul li img {
    width: 20px;
    height: 20px;
    /* border-radius: 50%; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #ffffff;
    /* padding: 4px; */
    object-fit: contain;
}

.footer-col-info ul li img {
    filter: brightness(0);
}

.contact-icon svg {
    width: 14px;
    height: 14px;
}

.contact-val,
.footer-col-info ul li a {
    color: #2d3748;
    text-decoration: none;
    word-break: break-word;
}

.contact-val strong {
    color: var(--color-third);
    font-weight: 700;
}

.phone-link {
    font-weight: 700;
    color: var(--color-third);
    font-size: 15px;
}

.email-link {
    font-weight: 600;
    color: var(--color-third);
}

.contact-val:hover,
.footer-col-info ul li a:hover {
    color: #1a56b0;
}

/* Menu Column */
.footer-quick-links,
.footer-col-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-quick-links li a,
.footer-col-menu ul li {
    color: #333333;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-left: 16px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-col-menu ul li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--color-third);
    font-weight: 700;
    font-size: 13px;
}

.footer-col-menu ul li a {
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-quick-links li a:hover,
.footer-col-menu ul li:hover,
.footer-col-menu ul li a:hover {
    color: var(--color-third);
}

.arrow-icon {
    color: var(--color-third);
    font-weight: 700;
    font-size: 13px;
}

/* Copyright Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid #e1e7f0;
    padding: 16px 0;
    background-color: #f0f0f0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: #4a5568;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.copyright-left {
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
}

.copyright-left p {
    margin: 0;
}

.copyright-left p a {
    color: var(--color-third);
    text-decoration: none;
    font-weight: 700;
}


/* Responsive Breakdown */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom-content,
    .copyright-left {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .footer-main-content {
        padding-bottom: 20px;
    }
}


/* ==========================================================================
   8. REGISTER FORM BANNER SECTION (ÄÄ‚NG KÃ Há»ŒC - MATCHING SAMPLE IMAGE)
   ========================================================================== */

.home-register-section {
    padding: 40px 0 40px;
    background-color: #ffffff;
    border-top: 1px solid #eee;
}

.register-banner-card {
    background: var(--color-third);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(14, 56, 122, 0.2);
    position: relative;
    overflow: hidden;
}

.register-banner-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 35px;
    align-items: center;
    padding: 0 15px;
}

.register-image-box {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.register-image-box img,
.student-img {
    max-width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

.register-form-box {
    display: flex;
    flex-direction: column;
    padding: 30px 30px 20px 0;
}

.register-title {
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 6px 0;
    letter-spacing: 1px;
}

.register-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 22px 0;
    font-weight: 400;
}

.register-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-row {
    width: 100%;
}

.form-row-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.form-row-1-2 {
    display: grid;
    grid-template-columns: calc((10 / 3) * 10% - 6.7px) auto;
    gap: 10px;
}

.form-group-full {
    width: 100%;
}

.reg-input {
    width: 100%;
    height: 44px;
    background-color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 10px;
    padding: 0 16px;
    font-size: 13.5px;
    color: #1e293b;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.reg-input::placeholder {
    color: #94a3b8;
}

/* .reg-input:focus {
    border-color: #ffb800;
    box-shadow: 0 0 0 3px rgba(255, 184, 0, 0.35);
} */

.reg-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    cursor: pointer;
}

.form-row-submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.btn-register-submit {
    background-color: #f00;
    color: #FFF;
    border: none;
    border-radius: 8px;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 184, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/*
.btn-register-submit:hover {
    background-color: #fbad18;
    color: #071b42;
} */

.btn-register-submit svg {
    flex-shrink: 0;
}

.home-teacher-section {
    padding-top: 30px
}

@media (max-width: 992px) {
    .register-banner-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0;
    }

    .register-form-box {
        padding: 0;
    }

    .register-image-box {
        display: none;
    }

    .register-title {
        font-size: 24px;
    }

    .register-banner-card {
        padding: 25px 18px;
    }
}

@media (max-width: 768px) {

    .form-row-3,
    .form-row-1-2 {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .btn-register-submit {
        width: 100%;
        justify-content: center;
    }

    .doi-tac h2 {
        font-size: 20px;
    }
}
