:root {
    --primary: #dc3135;
    --primary-dark: #b91f24;
    --secondary: #0F172A;
    --muted: #333;
    --light: #f8fafc;
    --border: #e5e7eb;
    --card: #ffffff;
    --radius: 22px;
    --shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", sans-serif;
    color: var(--secondary);
    background: #fff;
}

a {
    text-decoration: none;
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
}

.logo-img {
    max-height: 58px;
    width: auto;
}

.header-title {
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    margin: 0;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
    background:
        radial-gradient(circle at 20% 10%, rgba(220, 49, 53, 0.18), transparent 28%),
        radial-gradient(circle at 80% 20%, rgba(17, 24, 39, 0.14), transparent 28%),
        linear-gradient(135deg, #fff 0%, #fff7f7 48%, #f8fafc 100%);
}

.hero-section:before {
    content: "";
    position: absolute;
    inset: auto -80px -140px auto;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(220, 49, 53, 0.12);
}

.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(220, 49, 53, 0.1);
    color: var(--primary);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 18px;
}

.hero-title {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: normal;
    margin-bottom: 18px;
    color: #0F172A;
}

.hero-title span {
    color: var(--primary);
}

.hero-text {
    color: #333;
    font-size: 18px;
    line-height: 1.7;
    max-width: 680px;
}

.highlight-card {
    background: var(--card);
    border: 1px solid rgba(220, 49, 53, 0.14);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    margin-top: 26px;
}

.point-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.point-list li {
    display: flex;
    align-items: self-start;
    gap: 10px;
    color: #374151;
    font-size: 15px;
}

.point-list svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: var(--primary);
    margin-top: 3px;
    margin-bottom: 3px;

}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgb(213, 219, 238);
    border-radius: 28px;
    box-shadow: var(--shadow);
    padding: 25px 28px;
    position: relative;
    z-index: 2;
}

.form-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #0B3D91;
}

.form-card p {
    color: #333;
    margin-bottom: 15px;
}

.form-label {
    font-size: 15px;
}

.form-control,
.form-select {
    min-height: 45px;
    border-radius: 4px;
    border-color: var(--border);
    font-size: 15px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: none;
}

.section-padding {
    padding: 40px 0;
}

.section-light {
    background: var(--light);
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: normal;
    color: var(--primary);
    margin-bottom: 14px;
}

.section-subtitle {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.7;
    max-width: 780px;
    margin-bottom: 36px;
}

.feature-card {
    height: 100%;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    transition: 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
    border-color: rgba(220, 49, 53, 0.25);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(220, 49, 53, 0.1);
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 9px;
}

.feature-card p {
    color: var(--muted);
    margin: 0;
    line-height: 1.65;
}

.course-box {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    min-height: 112px;
    transition: 0.25s ease;
}

.course-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(220, 49, 53, 0.22);
    color: #fff;
}

.accordion-item {
    border: 1px solid var(--border) !important;
    border-radius: 18px !important;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.accordion-button {
    font-weight: 800;
    font-size: 18px;
    padding: 20px 24px;
}

.accordion-button:not(.collapsed) {
    color: var(--primary);
    background: #fff5f5;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.content-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
}

.content-box h3 {
    font-weight: 800;
    margin-bottom: 12px;
}
.content-box .contentBoxTitle{
    font-weight: 800;
    margin-bottom: 12px;
    font-size: 1.75rem;
}

.content-box p {
    color: #333;
    line-height: 1.5;
    margin-bottom: 16px;
    text-align: justify;
}

.footer-main {
    background: #111827;
    color: #fff;
    padding: 50px 0 25px;
    text-align: center;
}

.footer-main .footerTitle {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-main a,
.footer-main p {
    color: #fff;
}
.footer-main p{
    margin: 0;
}
.footer-main a:hover,
.footer-main a:focus {
    color: var(--primary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
    margin-top: 28px;
    font-size: 14px;
    color: #fff;
}
.craftedText a, .craftedText svg{
    color: var(--primary);
}
.btn-primary-custom {
    min-height: 52px;
    border: 0;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-weight: 800;
    padding: 13px 26px;
    transition: 0.25s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(220, 49, 53, 0.28);
}

.btn-primary-custom:disabled {
    opacity: 0.75;
    cursor: not-allowed;
    transform: none;
}

.custom-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.option-pill input {
    display: none;
}

.option-pill span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 18px;
    border-radius: 999px;
    line-height: normal;
    border: 1px solid var(--border);
    background: #fff;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    cursor: pointer;
    transition: 0.2s ease;
}

.option-pill input:checked+span {
    border-color: var(--primary);
    background: rgba(220, 49, 53, 0.1);
    color: var(--primary);
}

.small-note {
    color: var(--muted);
    font-size: 13px;
    margin-top: 10px;
}

@media (max-width: 991px) {
    .hero-section {
        padding: 45px 0;
    }

    .form-card {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .main-header{
        position: relative;
    }
.form-card{
    margin-top: 0px;
}
    .top-bar .d-flex,
    .main-header .d-flex {
        gap: 10px;
        text-align: center;
        justify-content: center !important;
    }

    .point-list {
        grid-template-columns: 1fr;
    }

    .form-card,
    .content-box,
    .highlight-card {
        padding: 20px;
        border-radius: 18px;
    }
}
.form-group label.error{
    color: red;
    font-weight: 500;
}
label.error{
    color: red;
    font-weight: 500;
    font-size: 13px;
}