.field-error { color: #dc3545; font-size: 13px; margin-top: 4px; display: block; }
.is-invalid { border-color: #dc3545 !important; }
.contact-input.is-invalid,
.contact-input.is-invalid:focus,
textarea.contact-input.is-invalid,
.form-control.is-invalid {
    background-image: none !important;
    padding-right: 0.75rem !important;
    box-shadow: none !important;
}
.invalid-feedback[data-error-for] {
    color: #dc3545;
    font-size: 13px;
    margin-top: 4px;
}
.form-summary-error {
    background: #fdecea; color: #a71d2a; border: 1px solid #f5c2c7;
    border-radius: 6px; padding: 10px 14px; margin-top: 14px; font-size: 14px;
}
.btn-loader {
    display: inline-block; width: 16px; height: 16px; border: 2px solid #fff;
    border-right-color: transparent; border-radius: 50%;
    animation: btnspin 0.7s linear infinite; margin-left: 8px; vertical-align: middle;
}
@keyframes btnspin { to { transform: rotate(360deg); } }
button[disabled] { opacity: 0.75; cursor: not-allowed; }
.form-overlay {
    position: absolute; inset: 0; background: rgba(255,255,255,0.7);
    display: none; align-items: center; justify-content: center; z-index: 10;
    border-radius: 6px;
}
.form-overlay.active { display: flex; }
.form-overlay-spinner {
    width: 48px; height: 48px; border: 4px solid #ccc;
    border-top-color: #0d6efd; border-radius: 50%;
    animation: btnspin 0.8s linear infinite;
}
.register-form-section .container { position: relative; }
.file-preview {
    display: none; margin-top: 10px; position: relative;
    max-width: 180px;
}
.file-preview.active { display: inline-block; }
.file-preview img {
    max-width: 100%; max-height: 140px; border: 1px solid #ddd;
    border-radius: 6px; padding: 4px; background: #fff;
}
.file-preview .file-preview-doc {
    display: flex; align-items: center; gap: 8px; padding: 10px 14px;
    background: #f5f5f5; border: 1px solid #ddd; border-radius: 6px;
    font-size: 13px; color: #333;
}
.file-preview .file-preview-doc i { font-size: 20px; color: #dc3545; }
.file-preview .file-preview-remove {
    position: absolute; top: -8px; right: -8px;
    width: 22px; height: 22px; border-radius: 50%; border: none;
    background: #dc3545; color: #fff; font-size: 14px; line-height: 1;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.header-nav-wrapper .stellarnav>ul>li>ul>li.active a {
    /* background: #f4f8fc !important; */
    color: #3aa0ff !important;
}
/* ============================================================
   Thank You page
   ============================================================ */
.thankyou-section {
    position: relative;
    padding: 110px 0 130px;
    background: url(../img/glow4.png) top -200px right no-repeat,
                url(../img/glow5.png) bottom -280px left no-repeat;
    overflow: hidden;
}
.thankyou-card {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border: 1px solid #e4edf6;
    border-radius: 28px;
    padding: 64px 50px 58px;
    box-shadow: 0 30px 80px rgba(8, 37, 79, 0.10);
}
.thankyou-badge {
    position: relative;
    width: 132px;
    height: 132px;
    margin: 0 auto 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0766a5 0%, #08254f 100%);
    box-shadow: 0 18px 40px rgba(7, 102, 165, 0.35);
}
.thankyou-badge::after {
    content: "";
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    border: 2px dashed #b4cdeb;
    opacity: 0.7;
}
.thankyou-badge i {
    font-size: 64px;
    color: #ffffff;
    line-height: 1;
}
.thankyou-card .sec_title {
    margin-bottom: 18px;
}
.thankyou-card .sec_title span {
    color: #8a1c1c;
}
.thankyou-text {
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #464c53;
    max-width: 560px;
    margin: 0 auto 14px;
}
.thankyou-sub {
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    color: #858e98;
    margin-bottom: 38px;
}
.thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: center;
}
.btn-outline-navy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #08254f;
    background: transparent;
    border: 2px solid #b4cdeb;
    padding: 17px 34px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s;
}
.btn-outline-navy:hover {
    background: #08254f;
    border-color: #08254f;
    color: #ffffff;
    transform: translateY(-2px);
}

/* ============================================================
   404 Error page
   ============================================================ */
.err-hero {
    position: relative;
    padding: 110px 0 120px;
    background:
        radial-gradient(circle at 18% 22%, rgba(0, 170, 255, 0.18) 0%, transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(7, 102, 165, 0.35) 0%, transparent 50%),
        linear-gradient(135deg, #0a2d5a 0%, #08254f 55%, #061b3b 100%);
    overflow: hidden;
    text-align: center;
}
/* faint oversized watermark number */
.err-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -54%);
    font-family: "Manrope", sans-serif;
    font-size: 460px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -10px;
    color: rgba(180, 205, 235, 0.06);
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
}
.err-inner {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}
.err-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #b4cdeb;
    background: rgba(180, 205, 235, 0.10);
    border: 1px solid rgba(180, 205, 235, 0.25);
    padding: 9px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
}
.err-badge i {
    color: #00aaff;
    font-size: 16px;
}
.err-number {
    font-family: "Manrope", sans-serif;
    font-size: 150px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -5px;
    margin-bottom: 10px;
    background: linear-gradient(180deg, #ffffff 0%, #6fb7e6 55%, #00aaff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.err-title {
    font-family: "Manrope", sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}
.err-title span {
    color: #00aaff;
}
.err-text {
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #b9c8da;
    max-width: 540px;
    margin: 0 auto 38px;
}
.err-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}
.btn-ghost-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    background: transparent;
    border: 2px solid rgba(180, 205, 235, 0.45);
    padding: 17px 34px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s;
}
.btn-ghost-light:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #08254f;
    transform: translateY(-2px);
}
.course-features-list{
    width: 100%;
    max-width: 90%;
}
.head_desktop .head_logo {
    width: 160px;
    height: 60px;
}
.header-logo {
    text-decoration: none;
    width: 100%;
    height: 100%;
}
.header-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: left;
}
@media only screen  and (max-width: 1400px) {
    .course-features-list {
        width: 100%;
        max-width: 80%;
    }
}
@media only screen  and (max-width: 1200.99px){
    .head_desktop .head_logo {
        width: 90px;
        height: 60px;
    }
}
@media only screen  and (max-width: 991.99px) {
    .course-features-list {
        width: 100%;
        max-width: 100%;
    }
}
@media only screen  and (max-width: 767.99px) {
    .head_desktop .head_logo {
        width: 90px;
        height: 50px;
    }
}

@media only screen and (max-width: 390.99px) {
    .head_desktop .head_logo {
        width: 75px;
        height: 40px;
    }
}