@import "/section-css/reset.css";
@import "/section-css/mobile-menu.css";
@import "/section-css/header.css";
@import "/section-css/hero.css";
@import "/section-css/about.css";
@import "/section-css/category.css";
@import "/section-css/features.css";
@import "/section-css/course.css";
@import "/section-css/why-choose.css";
@import "/section-css/funfact.css";
@import "/section-css/partner.css";
@import "/section-css/testimonial.css";
@import "/section-css/blog.css";
@import "/section-css/call-action.css";
@import "/section-css/video.css";
@import "/section-css/team.css";
@import "/section-css/faq.css";
@import "/section-css/breadcrumbs.css";
@import "/section-css/apply.css";
@import "/section-css/event.css";
@import "/section-css/contact.css";
@import "/section-css/product.css";
@import "/section-css/error.css";
@import "/section-css/checkout.css";
@import "/section-css/sidebars.css";
@import "/section-css/auth-pages.css";
@import "/section-css/footer.css";

/* Custom checkbox styling for privacy policy */
.custom-check {
    accent-color: #24519a;
}
/* fallback for browsers not supporting accent-color */
.custom-check:checked + strong,
.custom-check:checked + span,
.custom-check:checked ~ strong {
    color: #24519a;
}
/* Optional: visually highlight label when checked */
.form-check-input.custom-check:checked ~ .form-check-label,
.form-check-input.custom-check:checked + .form-check-label {
    color: #24519a;
}
/* Eye icon hover effect */
.toggle-password:hover i {
    color: #24519a;
}
/* Spinner for loading in button */
.spinner-border {
    vertical-align: middle;
    margin-right: 4px;
}
.ed-btn .btn-loading {
    display: inline-flex;
    align-items: center;
}

.study-abroad-details-overlay {
    position: fixed;
    inset: 0;
    background: rgba(30, 41, 59, 0.82);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-y: auto;
    padding: 0 8px;
    min-height: 100vh;
    transition: background 0.3s;
}
.study-abroad-details-modal {
    background: #fff;
    border-radius: 24px;
    max-width: 780px;
    width: 100%;
    box-shadow: 0 12px 48px 0 rgba(30, 41, 59, 0.18), 0 2px 12px rgba(99,102,241,0.10);
    animation: fadeInModal 0.32s cubic-bezier(.68,-0.55,.27,1.55);
    display: flex;
    flex-direction: column;
    max-height: 92vh;
    border: none;
    position: relative;
    overflow: hidden;
}
@keyframes fadeInModal {
    0% { transform: scale(0.92) translateY(40px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}
.study-abroad-details-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px 12px 28px;
    background: linear-gradient(90deg, #1c3e75 0%, #010101 100%);
    border-radius: 24px 24px 0 0;
    position: relative;
    min-height: 56px;
    box-shadow: 0 2px 12px rgba(99,102,241,0.07);
}
.study-abroad-details-header h5 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin: 0;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    flex: 1;
    text-align: left;
}
.close-btn {
    background: rgba(255,255,255,0.95);
    border: none;
    font-size: 1.7rem;
    color: #6366f1;
    cursor: pointer;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    box-shadow: 0 2px 8px rgba(99,102,241,0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    margin-left: 12px;
}
.close-btn:hover {
    background: #6366f1;
    color: #fff;
    box-shadow: 0 4px 18px rgba(99,102,241,0.18);
}
.study-abroad-details-body {
    padding: 24px 24px 20px 24px;
    overflow-y: auto;
    max-height: 70vh;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}
.study-abroad-details-img-wrap {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
}
.study-abroad-details-img-wrap img {
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(99,102,241,0.10);
    border: 2px solid #e0e7ff;
    max-width: 320px;
    max-height: 280px;
    object-fit: cover;
    background: #fff;
    display: block;
}
.study-abroad-details-fields {
    display: flex;
    flex-direction: row;
    gap: 18px;
    width: 100%;
    justify-content: center;
    align-items: flex-start;
}
.study-abroad-details-fields-col {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.study-abroad-details-fields-col .field-label {
    color: #6366f1;
    font-weight: 600;
    font-size: 1.01rem;
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    margin-bottom: 2px;
}
.study-abroad-details-fields-col .field-value {
    color: #374151;
    font-size: 1.04rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f1f5f9;
    border-radius: 7px;
    padding: 7px 10px;
    min-height: 32px;
    word-break: break-word;
}
.study-abroad-details-fields-col .field-value:empty::after {
    content: "-";
    color: #9ca3af;
}
.study-abroad-details-fields-col .field-label + .field-value {
    margin-bottom: 6px;
}
@media (max-width: 700px) {
    .study-abroad-details-modal {
        max-width: 99vw;
    }
    .study-abroad-details-header,
    .study-abroad-details-body {
        padding-left: 8px;
        padding-right: 8px;
    }
    .study-abroad-details-fields {
        flex-direction: column;
        gap: 10px;
    }
}
@media (max-width: 500px) {
    .study-abroad-details-modal {
        border-radius: 10px;
    }
    .study-abroad-details-header {
        border-radius: 10px 10px 0 0;
        padding: 12px 6px 6px 10px;
        min-height: 38px;
    }
    .study-abroad-details-header h5 {
        font-size: 1.01rem;
    }
    .close-btn {
        width: 28px;
        height: 28px;
        font-size: 1.1rem;
    }
    .study-abroad-details-body {
        padding: 6px 2px 6px 2px;
    }
    .study-abroad-details-img-wrap img {
        max-width: 110px;
        max-height: 90px;
    }
}

.guest-popup-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.45);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.guest-popup-form-container {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18);
    padding: 0;
    min-width: 340px;
    max-width: 95vw;
    width: 370px;
    position: relative;
    animation: guestPopupIn 0.22s;
}
@keyframes guestPopupIn {
    from { transform: scale(0.95) translateY(30px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}
.guest-popup-form {
    padding: 0;
    margin: 0;
}
.guest-popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.2rem 0.5rem 1.2rem;
    border-bottom: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 14px 14px 0 0;
}
.guest-popup-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #222;
}
.guest-popup-close {
    background: none;
    border: none;
    font-size: 1.7rem;
    color: #888;
    cursor: pointer;
    line-height: 1;
    margin-left: 1rem;
    margin-top: -0.2rem;
}
.guest-popup-body {
    padding: 1.2rem 1.2rem 0.5rem 1.2rem;
}
.guest-popup-footer {
    padding: 0.8rem 1.2rem 1.2rem 1.2rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 0 0 14px 14px;
}
.guest-popup-body .form-label {
    font-weight: 500;
}
.guest-popup-body input.form-control {
    background: #f8f9fa;
    border-radius: 6px;
}
@media (max-width: 500px) {
    .guest-popup-form-container {
        min-width: 90vw;
        width: 98vw;
    }
}
/* Keep original assessment styles */
.ed-category-btn-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.ed-category-btn {
    background: #f8f9fa;
    color: var(--ed-primary-color);
    border: 2px solid #007bff;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.18s;
    padding: 0.5rem 1.3rem;
    font-size: 1.05em;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.ed-category-btn:hover,
.ed-category-btn:focus {
    background: var(--ed-primary-color);
    color: #fff;
    border-color: #0056b3;
}

.ed-category-btn-active,
.ed-category-btn.ed-category-btn-active {
    background: var(--ed-primary-color);
    color: #fff;
    border-color: #0056b3;
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.08);
}

.ed-assessment__card {
    transition: box-shadow 0.2s;
}

.ed-assessment__card:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
    .ed-assessment__section h2 {
        font-size: 1.5rem;
    }

    .ed-assessment__card .card-title {
        font-size: 1.1rem;
    }

    .ed-category-btn {
        font-size: 0.98em;
        padding: 0.45rem 1rem;
    }
}

.assessment-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    background: var(--ed-bg, #fff);
    border-radius: 1.25rem;
    box-shadow: 0 4px 32px rgba(0,0,0,0.08);
    padding: 2rem 1.5rem;
    transition: box-shadow 0.2s;
}
.assessment-header {
    background: var(--ed-primary-color);
    color: white;
    border-radius: 1.25rem 1.25rem 0 0;
    padding: 2rem 1.5rem 1rem 1.5rem;
    text-align: center;
}
.assessment-header h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
    color: white;
}
.assessment-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
    opacity: 0.95;
    color: white;
}
.question-card {
    background: #f8f9fa;
    border: 1px solid #e3e6ed;
    border-radius: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem 1rem;
    transition: box-shadow 0.2s;
}
.question-card:hover {
    box-shadow: 0 2px 12px rgba(13,110,253,0.08);
}
.question-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: #22223b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.question-text .badge {
    font-size: 1rem;
    background: #053783;
    color: #fff;
    border-radius: 0.5rem;
    padding: 0.5em 0.9em;
    margin-right: 0.5em;
}
.options .form-check {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem; /* space between radio and label */
}
.form-check-input {
    margin-right: 0.5rem;
    margin-left: 0;
    /* align radio vertically with label */
    position: relative;
    top: 0;
}
.form-check-input:checked {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
.form-check-label {
    font-size: 1rem;
    color: #343a40;
    cursor: pointer;
    padding-left: 0.25rem;
    margin-bottom: 0;
    /* ensure label is on same line as input */
}
.submit-btn {
    font-size: 1.15rem;
    padding: 0.75rem 2.5rem;
    border-radius: 2rem;
    font-weight: 600;
    background: linear-gradient(90deg, #198754 60%, #157347 100%);
    border: none;
    color: #fff;
    box-shadow: 0 2px 8px rgba(25,135,84,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
@media (max-width: 991.98px) {
    .assessment-wrapper {
        padding: 1.5rem 0.5rem;
    }
    .assessment-header {
        padding: 1.5rem 0.5rem 1rem 0.5rem;
    }
}
@media (max-width: 575.98px) {
    .assessment-wrapper {
        padding: 0.5rem 0.1rem;
    }
    .assessment-header {
        padding: 1rem 0.2rem 0.5rem 0.2rem;
    }
    .question-card {
        padding: 1rem 0.5rem;
    }
    .submit-btn {
        width: 100%;
        padding: 0.75rem 0;
    }
    .options .form-check {
        gap: 0.5rem;
    }
}


.table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    background: #fff;
    font-size: 1rem;
    box-shadow: 0 2px 8px rgba(34,34,59,0.04);
}

.table th, .table td {
    padding: 0.75rem 1rem;
    vertical-align: middle;
    border: 1px solid #e3e6ed;
    text-align: left;
    background-clip: padding-box;
}

.table th {
    background: #f5f7fa;
    font-weight: 700;
    color: #053783;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.table thead th {
    border-bottom: 2px solid #dee2e6;
}

.table tbody tr {
    transition: background 0.15s;
}

.table tbody tr:hover {
    background: #f0f4fa;
}

.table-bordered {
    border: 1px solid #e3e6ed;
}

.table-sm th, .table-sm td {
    padding: 0.5rem 0.75rem;
}

.table th:nth-child(1), .table td:nth-child(1) {
    width: 60%;
    min-width: 60px;
    text-align: center;
}
.table th:nth-child(2), .table td:nth-child(2) {
    width: 32%;
    min-width: 200px;
}
.table th:nth-child(3), .table td:nth-child(3),
.table th:nth-child(4), .table td:nth-child(4),
.table th:nth-child(5), .table td:nth-child(5) {
    width: 12%;
    min-width: 80px;
    text-align: center;
}
.table th:nth-child(6), .table td:nth-child(6) {
    width: 12%;
    min-width: 90px;
    text-align: center;
}
.table th:nth-child(5), .table td:nth-child(5) {
    width: 20%;
    min-width: 140px;
}

.table .badge {
    font-size: 0.98em;
    padding: 0.45em 0.9em;
    border-radius: 0.5em;
}

@media (max-width: 767.98px) {
    .table th, .table td {
        padding: 0.5rem 0.4rem;
        font-size: 0.97rem;
    }
    .table th, .table td {
        min-width: 60px;
    }
    .table th:nth-child(2), .table td:nth-child(2) {
        min-width: 120px;
    }
    .table th:nth-child(5), .table td:nth-child(5) {
        min-width: 90px;
    }
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 1.5rem;
    border-radius: 0.7rem;
    box-shadow: 0 1px 4px rgba(34,34,59,0.04);
}
