@charset "UTF-8";

/* ==========================================================================
   JKUEE Page Specific Stylesheet
   ========================================================================== */


/* Balanced Card Padding on Mobile/Tablet */
@media (max-width: 991px) {
    .jku-adm-content {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* Heading Number badge responsiveness for Mobile */
@media (max-width: 767px) {
    .jku-adm-sec-title {
        align-items: flex-start !important;
    }

    .jku-adm-num {
        width: 34px !important;
        height: 34px !important;
        font-size: 15px !important;
        margin-top: -3px !important;
        margin-right: 10px !important;
    }

    .breadcrumb {
        padding: 40px 0px !important;
    }
}

/* Eligibility Container */
.jku-ee-eligibility-box {
    background: #FFFFFF;
    border-left: 5px solid var(--jku-blue, #034B9F);
    border-radius: 4px 12px 12px 4px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border-top: 1px solid #eef2fa;
    border-right: 1px solid #eef2fa;
    border-bottom: 1px solid #eef2fa;
}

/* Override FAQ items spacing inside section content */
.faq-group {
    box-shadow: none !important;
    border-color: #dde6f5 !important;
}

.faq-group-hd {
    background: #FFF4EA !important;
}

/* JKUEE Pattern Table */
.jku-ee-pattern-table {
    background: #ffffff;
    border: 1.5px solid #dde6f5;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-top: 15px;
}

.jku-ee-pattern-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    border-bottom: 1px solid #eef2fa;
    flex-wrap: wrap;
    gap: 10px;
}

.jku-ee-pattern-row:last-child {
    border-bottom: none;
}

.jku-ee-pattern-label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.jku-ee-pattern-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #e6f0fa;
    color: var(--jku-blue, #034B9F);
    font-size: 14px;
    flex-shrink: 0;
}

.jku-ee-pattern-title {
    color: #262626;
    font-size: 16px;
    font-weight: 700;
}

.jku-ee-pattern-value {
    font-size: 16px;
    color: #555;
    font-weight: 600;
    text-align: right;
}

/* Mobile styles for JKUEE Pattern Table */
@media (max-width: 575px) {
    .jku-ee-pattern-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 14px 16px;
        gap: 6px;
    }

    .jku-ee-pattern-value {
        text-align: left;
        padding-left: 42px;
        /* Aligns with the text after the icon */
    }
}

/* Requirements Card Title Prefix Alignment */
.jku-adm-app-card__title {
    display: flex !important;
    align-items: flex-start !important;
}

.jku-adm-app-card__title .card-prefix {
    margin-right: 6px !important;
    flex-shrink: 0 !important;
}


/* ==================== JKUEE Class Refactoring (No Inline Styles) ==================== */

/* Force left-alignment for paragraphs in the content card (No Justify) */
.jku-adm-p {
    text-align: left !important;
}

/* Overview Content Wrapper */
.jku-ee-overview-content {
    margin-top: 15px !important;
}

/* Description Text styling (Left Aligned) */
.jku-ee-desc-p {
    font-size: 16px !important;
    line-height: 1.75 !important;
    text-align: left !important;
}

.jku-ee-desc-p.mb-12 {
    margin-bottom: 12px !important;
}

.jku-ee-desc-p.mb-0 {
    margin-bottom: 0 !important;
}

/* Eligibility Description */
.jku-ee-eligibility-p {
    font-size: 16px !important;
    line-height: 1.7 !important;
    margin: 0 !important;
    text-align: left !important;
}

/* Requirements Card Grid Spacing */
.jku-ee-requirements-grid {
    margin-top: 15px !important;
}

/* Requirements Card list styling */
.jku-ee-req-list {
    margin-top: 10px !important;
    margin-bottom: 0 !important;
}

/* ==================== CUSTOM OVERRIDES ==================== */
#jku-ee-pattern .jku-ee-pattern-title,
#jku-ee-pattern .jku-ee-pattern-value {
    font-size: 16px !important;
}

#jku-ee-requirements .jku-ee-req-list li {
    font-weight: normal !important;
}

#jku-ee-faqs .faq-acc .accordion-button,
#jku-ee-faqs .ans-box {
    font-size: 16px !important;
}

/* Mobile Fade Carousel for image pair */
@media (max-width: 991px) {
    .jku-ee-mobile-fade {
        display: block !important;
        position: relative;
        height: 200px;
        overflow: hidden;
    }
    .jku-ee-mobile-fade img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0;
        animation: fadeOutIn 6s infinite;
    }
    .jku-ee-mobile-fade img:nth-child(1) {
        animation-delay: 0s;
    }
    .jku-ee-mobile-fade img:nth-child(2) {
        animation-delay: 3s;
    }
}

@keyframes fadeOutIn {
    0%, 40% { opacity: 1; }
    50%, 90% { opacity: 0; }
    100% { opacity: 1; }
}
