/* =======================================================
   INTERNSHIP PAGE STYLES
   ======================================================= */

/* --- Intern Login button — right side of navbar (internship page only) --- */
.intern-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 8px 20px;
    height: 45px;
    border-radius: 50px;
    margin-left: auto;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    /* transparent navbar: white outline */
    border: 1.5px solid rgba(255, 255, 255, 0.65);
    color: #fff !important;
    background: transparent;
}
.intern-login-btn:hover,
.intern-login-btn:focus {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: #fff !important;
    color: #fff !important;
}

/* scrolled (white bg) navbar: switch to brand blue outline */
header.header-white .intern-login-btn {
    border-color: #025add;
    color: #025add !important;
    background: transparent;
}
header.header-white .intern-login-btn:hover,
header.header-white .intern-login-btn:focus {
    background: rgba(2, 90, 221, 0.08) !important;
    border-color: #025add !important;
    color: #025add !important;
}

/* mobile: full width like get-quotes */
@media (max-width: 991px) {
    .intern-login-btn {
        width: 90%;
        justify-content: center;
        margin-right: 0;
        margin-bottom: 8px;
        border-color: #025add !important;
        color: #025add !important;
    }
}

body.internship-page {
    background: #fff;
    font-family: "Poppins", "Open Sans", sans-serif;
    color: #2d3748;
}

body.internship-page .breadcrumbs {
    background: linear-gradient(135deg, rgba(2, 90, 221, 0.9) 0%, rgba(13, 43, 83, 0.9) 50%, rgba(0, 31, 63, 0.9) 100%),
        url('../images/hero-bg.png') center/cover;
    height: 440px;
}

.internship-page .breadcrumbs .hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
    margin-bottom: 18px;
}

.internship-page .breadcrumbs .hero-badge i {
    color: #ffd369;
}

/* =================== Trust Strip =================== */
.trust-strip {
    padding: 60px 0 30px;
    background: #f8fafc;
}

.trust-item {
    display: flex;
    gap: 14px;
    padding: 22px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(2, 90, 221, 0.12);
}

.trust-item i {
    font-size: 1.8rem;
    color: #025add;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(2, 90, 221, 0.08);
    border-radius: 12px;
}

.trust-item h5 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
}

.trust-item p {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* =================== Who Can Apply =================== */
.who-can-apply {
    padding: 70px 0 40px;
}

.eligible-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 32px 24px;
    text-align: center;
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.eligible-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #025add, #4f8ff5);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.eligible-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(2, 90, 221, 0.15);
    border-color: #bfdbfe;
}

.eligible-card:hover::before {
    transform: scaleX(1);
}

.eligible-card .badge-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #025add, #1e3a8a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 18px;
    box-shadow: 0 8px 18px rgba(2, 90, 221, 0.3);
}

.eligible-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 10px;
}

.eligible-card p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
}

/* =================== Courses =================== */
.courses-section {
    padding: 70px 0;
    background: #f8fafc;
}

.course-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 22px;
    border: 1.5px solid #cbd5e1;
    background: #fff;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    border-color: #025add;
    color: #025add;
}

.filter-btn.active {
    background: #025add;
    border-color: #025add;
    color: #fff;
    box-shadow: 0 4px 12px rgba(2, 90, 221, 0.3);
}

.course-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 26px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 38px rgba(2, 90, 221, 0.14);
    border-color: #bfdbfe;
}

.course-card .course-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.course-card .course-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    flex-shrink: 0;
    background: linear-gradient(135deg, #025add, #4f8ff5);
}

.course-card .course-icon.ai { background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.course-card .course-icon.web { background: linear-gradient(135deg, #0ea5e9, #38bdf8); }
.course-card .course-icon.frontend { background: linear-gradient(135deg, #06b6d4, #22d3ee); }
.course-card .course-icon.backend { background: linear-gradient(135deg, #059669, #34d399); }
.course-card .course-icon.data { background: linear-gradient(135deg, #ea580c, #fb923c); }
.course-card .course-icon.design { background: linear-gradient(135deg, #db2777, #f472b6); }
.course-card .course-icon.marketing { background: linear-gradient(135deg, #d97706, #fbbf24); }

.course-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}

.course-card .course-tag {
    display: inline-block;
    font-size: 0.72rem;
    text-transform: uppercase;
    color: #025add;
    font-weight: 600;
    letter-spacing: 0.8px;
    background: rgba(2, 90, 221, 0.08);
    padding: 3px 10px;
    border-radius: 20px;
    margin-top: 4px;
}

.course-card .course-desc {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.course-card .course-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px dashed #e2e8f0;
    border-bottom: 1px dashed #e2e8f0;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: #475569;
}

.course-card .course-meta span i {
    color: #025add;
    margin-right: 5px;
}

.course-card .course-cta {
    width: 100%;
    padding: 10px;
    background: #025add;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.course-card .course-cta:hover {
    background: #0148b0;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 90, 221, 0.35);
}

.course-card .course-cta i {
    margin-left: 5px;
}

.course-card.hidden {
    display: none;
}

/* =================== Course Card Reveal =================== */
.deal-card {
    opacity: 0;
    transform: translate3d(0, 32px, 0) scale(0.96);
    animation: card-reveal 700ms cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
    will-change: transform, opacity;
}

@keyframes card-reveal {
    from {
        opacity: 0;
        transform: translate3d(0, 32px, 0) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .deal-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* =================== Plans =================== */
.plans-section {
    padding: 80px 0;
}

.plan-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 22px;
    padding: 36px 28px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.35s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 44px rgba(2, 90, 221, 0.15);
    border-color: #bfdbfe;
}

.plan-card.popular {
    border-color: #025add;
    background: linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%);
    box-shadow: 0 16px 40px rgba(2, 90, 221, 0.18);
}

.plan-card.popular:hover {
    transform: translateY(-12px);
}

.plan-card .ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #025add, #1e3a8a);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 7px 20px;
    border-radius: 50px;
    box-shadow: 0 6px 14px rgba(2, 90, 221, 0.35);
}

.plan-card .plan-head h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0;
}

.plan-card .price {
    font-size: 3rem;
    font-weight: 700;
    color: #025add;
    margin: 14px 0 4px;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.plan-card .price .currency {
    font-size: 1.4rem;
    font-weight: 500;
    color: #475569;
}

.plan-card .price small {
    font-size: 0.85rem;
    font-weight: 400;
    color: #64748b;
    margin-left: 4px;
}

.plan-card .plan-tag {
    color: #64748b;
    font-size: 0.88rem;
    margin-bottom: 24px;
}

.plan-features {
    list-style: none;
    padding: 20px 0;
    margin: 0 0 24px;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}

.plan-features li {
    padding: 8px 0;
    font-size: 0.9rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan-features li i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

.plan-features li.muted {
    color: #94a3b8;
}

.plan-features li.muted i {
    color: #cbd5e1;
}

.plan-features li small {
    display: inline-block;
    margin-left: 4px;
    padding: 1px 7px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    background: rgba(2, 90, 221, 0.1);
    color: #025add;
    letter-spacing: 0.2px;
}

.plan-card.popular .plan-features li small {
    background: rgba(2, 90, 221, 0.15);
}

.btn-plan {
    width: 100%;
    padding: 13px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    background: #0f172a;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
}

.plan-card.popular .btn-plan {
    background: linear-gradient(90deg, #025add, #1e3a8a);
}

.btn-plan:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 90, 221, 0.3);
}

/* =================== Benefits =================== */
.benefits-section {
    padding: 70px 0;
    background: #f8fafc;
}

.benefit-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 24px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: #bfdbfe;
    box-shadow: 0 12px 28px rgba(2, 90, 221, 0.1);
}

.benefit-card i {
    font-size: 1.8rem;
    color: #025add;
    background: rgba(2, 90, 221, 0.08);
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.benefit-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

/* =================== How It Works =================== */
.how-it-works {
    padding: 90px 0 70px;
    background: #fff;
}

.how-it-works .roadmap-track {
    position: relative;
    margin-top: 40px;
    padding-top: 30px;
}

.how-it-works .roadmap-step {
    position: relative;
    display: flex;
}

.how-it-works .roadmap-step::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(2, 90, 221, 0.45), rgba(2, 90, 221, 0.15));
    z-index: 1;
}

.how-it-works .roadmap-step:last-child::after {
    display: none;
}

.how-it-works .process-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(2, 90, 221, 0.12);
    border-radius: 16px;
    padding: 42px 16px 22px;
    width: 100%;
    box-shadow: 0 14px 30px rgba(5, 32, 69, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    z-index: 3;
}

.how-it-works .process-card:hover {
    transform: translateY(-6px);
    border-color: rgba(2, 90, 221, 0.35);
    box-shadow: 0 22px 40px rgba(5, 32, 69, 0.14);
}

.how-it-works .process-index {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #0a2e5b 0%, #025add 100%);
    box-shadow: 0 8px 20px rgba(2, 90, 221, 0.35);
    border: 3px solid #fff;
    z-index: 4;
}

.how-it-works .process-card h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 8px;
}

.how-it-works .process-card p {
    font-size: 0.84rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .how-it-works .roadmap-step::after { display: none; }
    .how-it-works .roadmap-track { padding-top: 20px; }
}

/* =================== Application Form =================== */
.application-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.application-form {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 34px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.application-form label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 6px;
    display: block;
}

.application-form input:not([type="checkbox"]):not([type="radio"]),
.application-form select,
.application-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.application-form input:not([type="checkbox"]):not([type="radio"]):focus,
.application-form select:focus,
.application-form textarea:focus {
    outline: none;
    border-color: #025add;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(2, 90, 221, 0.1);
}

.application-form textarea {
    resize: vertical;
    min-height: 80px;
}

.application-form .consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.application-form .consent .form-check-input {
    float: none;
    margin: 2px 0 0 0;
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex: 0 0 18px;
    cursor: pointer;
}

.application-form .consent .form-check-label {
    cursor: pointer;
}

.application-form .consent label {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

.application-form.was-validated .consent .form-check-input:invalid {
    border-color: #dc2626;
}

.application-form.was-validated .consent .form-check-input:invalid + .form-check-label {
    color: #b91c1c;
}

.application-form .consent label a {
    color: #025add;
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(90deg, #025add, #1e3a8a);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(2, 90, 221, 0.25);
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(2, 90, 221, 0.35);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-submit .btn-label i {
    margin-right: 8px;
}

.secure-note {
    text-align: center;
    margin-top: 12px;
    font-size: 0.8rem;
    color: #64748b;
}

.secure-note i {
    color: #10b981;
    margin-right: 5px;
}

/* =================== Summary Card =================== */
.summary-card {
    background: #fff;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.07);
    border: 1px solid #e2e8f0;
    position: sticky;
    top: 100px;
}

.summary-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.summary-card h4 i {
    color: #025add;
    margin-right: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: #475569;
    gap: 10px;
}

.summary-row strong {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

.summary-row.total {
    margin-top: 10px;
    padding-top: 16px;
    border-top: 1.5px dashed #e2e8f0;
    font-size: 1.05rem;
}

.summary-row.total strong {
    font-size: 1.3rem;
    color: #025add;
}

.gateway-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
}

.gateway-badges span {
    padding: 6px 12px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.gateway-badges span i {
    color: #025add;
    font-size: 1rem;
}

.gateway-integration-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #fef9c3;
    border: 1px solid #fde68a;
    border-radius: 10px;
    margin-top: 16px;
    font-size: 0.78rem;
    color: #92400e;
    line-height: 1.5;
}

.gateway-integration-note i {
    color: #d97706;
    margin-top: 2px;
    flex-shrink: 0;
}

.gateway-integration-note code {
    background: #fef3c7;
    padding: 1px 5px;
    border-radius: 4px;
    font-size: 0.72rem;
    color: #78350f;
}

/* =================== FAQ =================== */
.internship-faq {
    padding: 70px 0;
}

.internship-faq .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: #fff;
}

.internship-faq .accordion-button {
    background: #fff;
    font-size: 0.98rem;
    font-weight: 500;
    color: #0f172a;
    padding: 18px 22px;
    box-shadow: none;
}

.internship-faq .accordion-button:not(.collapsed) {
    background: #f0f7ff;
    color: #025add;
}

.internship-faq .accordion-button:focus {
    box-shadow: none;
}

.internship-faq .accordion-button .num {
    margin-right: 12px;
    color: #025add;
    display: inline-flex;
}

.internship-faq .accordion-body {
    padding: 16px 22px 22px 54px;
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.65;
    background: #fff;
}

/* =================== Course Modal =================== */
.course-modal {
    position: fixed;
    inset: 0;
    background: rgba(2, 13, 33, 0.8);
    backdrop-filter: blur(6px);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.course-modal.active {
    display: flex;
    animation: modalFade 0.3s ease;
}

@keyframes modalFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.course-modal-dialog {
    background: #fff;
    border-radius: 20px;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    animation: modalSlide 0.35s ease;
}

@keyframes modalSlide {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-size: 1.1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.modal-close:hover {
    background: #fee2e2;
    color: #dc2626;
    transform: rotate(90deg);
}

.modal-body-content .modal-header-block {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 24px;
}

.modal-body-content .modal-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #025add, #4f8ff5);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    flex-shrink: 0;
}

.modal-body-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 4px;
}

.modal-body-content .modal-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
}

.modal-body-content .modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.modal-body-content .modal-meta span {
    padding: 7px 14px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.8rem;
    color: #334155;
    font-weight: 500;
}

.modal-body-content .modal-meta span i {
    color: #025add;
    margin-right: 5px;
}

.modal-body-content .section-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    margin: 24px 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-body-content .section-title i {
    color: #025add;
}

.mentor-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 18px;
    display: flex;
    gap: 14px;
    align-items: center;
    margin-bottom: 18px;
}

.mentor-card .mentor-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #025add, #4f8ff5);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.mentor-card .mentor-info {
    flex-grow: 1;
}

.mentor-card h5 {
    font-size: 0.98rem;
    font-weight: 600;
    color: #0f172a;
    margin: 0 0 2px;
}

.mentor-card .mentor-meta {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 6px;
}

.mentor-card .pending-approval {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #fef9c3;
    color: #92400e;
    font-size: 0.72rem;
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    border: 1px solid #fde68a;
}

.timeline-list {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
}

.timeline-list::before {
    content: "";
    position: absolute;
    left: 22px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, #025add, #bfdbfe);
}

.timeline-list li {
    position: relative;
    padding: 0 0 22px 60px;
}

.timeline-list li:last-child {
    padding-bottom: 0;
}

.timeline-list li .tl-marker {
    position: absolute;
    left: 0;
    top: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #025add;
    color: #025add;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(2, 90, 221, 0.2);
}

.timeline-list li h6 {
    font-size: 0.98rem;
    font-weight: 600;
    color: #0f172a;
    margin: 4px 0 4px;
}

.timeline-list li p {
    font-size: 0.85rem;
    color: #475569;
    margin: 0 0 6px;
    line-height: 1.5;
}

.timeline-list li .tl-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.timeline-list li .tl-tags span {
    font-size: 0.72rem;
    background: rgba(2, 90, 221, 0.08);
    color: #025add;
    padding: 3px 10px;
    border-radius: 20px;
    font-weight: 500;
}

.modal-cta {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.modal-cta button {
    padding: 11px 22px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
}

.modal-cta .btn-enroll {
    background: linear-gradient(90deg, #025add, #1e3a8a);
    color: #fff;
}

.modal-cta .btn-enroll:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(2, 90, 221, 0.3);
}

.modal-cta .btn-cancel {
    background: #f1f5f9;
    color: #475569;
}

.modal-cta .btn-cancel:hover {
    background: #e2e8f0;
}

/* =================== Responsive =================== */
@media (max-width: 991px) {
    body.internship-page .breadcrumbs { height: auto; padding: 120px 0 60px; }
    .summary-card { position: static; margin-top: 24px; }
    .application-form { padding: 24px; }
    .course-modal-dialog { padding: 28px 22px; }
}

@media (max-width: 576px) {
    .course-filters { gap: 6px; }
    .filter-btn { padding: 6px 14px; font-size: 0.8rem; }
    .plan-card { padding: 28px 20px; }
    .plan-card .price { font-size: 2.4rem; }
    .benefit-card { padding: 20px 16px; }
    .application-form { padding: 20px; }
    .summary-card { padding: 22px; }
    .modal-body-content .modal-header-block { flex-direction: column; text-align: center; }
    .timeline-list li { padding-left: 50px; }
    .timeline-list::before { left: 18px; }
    .timeline-list li .tl-marker { width: 38px; height: 38px; font-size: 0.75rem; }
}

/* -------- test-mode banner + login nudge -------- */
.test-mode-box { margin-top: 4px; }
.test-mode-banner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: linear-gradient(135deg, #fff7ed, #fef3c7);
    border: 1px solid #fcd34d;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    font-size: 0.86rem;
    color: #78350f;
    line-height: 1.5;
}
.test-mode-banner i { font-size: 1.1rem; color: #b45309; margin-top: 2px; }
.test-mode-banner code { background: #fde68a; padding: 1px 6px; border-radius: 4px; font-size: 0.78rem; }
.login-nudge {
    margin-top: 10px;
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
}
.login-nudge a { color: #025add; font-weight: 600; text-decoration: none; }
.login-nudge a:hover { text-decoration: underline; }
.btn-submit.is-loading { opacity: 0.7; pointer-events: none; }
.btn-submit.is-loading::after {
    content: ""; display: inline-block;
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.5); border-top-color: #fff;
    border-radius: 50%;
    margin-left: 10px; vertical-align: -2px;
    animation: infolith-spin 0.7s linear infinite;
}
@keyframes infolith-spin { to { transform: rotate(360deg); } }
