﻿/* --- Hero Section --- */
.program-hero {
    background: url('../images/bannerslider.jpg') no-repeat center center;
    background-size: cover;
    height: 300px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    color: #fff;
}

    .program-hero .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(16, 32, 57, 0.85); /* #102039 with opacity */
    }

.hero-content {
    position: relative;
    z-index: 2;
}

    .hero-content h1 {
        font-size: 36px;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 10px;
        color: #FFD700; /* Gold Accent */
    }

    .hero-content p {
        font-size: 18px;
        font-weight: 300;
    }

/* --- Section Headers --- */
.category-header {
    margin-top: 40px;
    margin-bottom: 25px;
}

    .category-header h3 {
        color: #102039;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 10px;
    }

    .category-header .divider {
        height: 4px;
        width: 60px;
        background-color: #FFD700;
        border-radius: 2px;
    }

/* --- Flex Layout for Equal Height Cards --- */
.display-flex {
    display: flex;
    flex-wrap: wrap;
}

    .display-flex > [class*='col-'] {
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
    }

/* --- Course Cards --- */
.course-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    padding: 25px;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 4px solid #102039;
}

    .course-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 12px 20px rgba(0,0,0,0.15);
        border-top-color: #FFD700;
    }

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #eef1f5;
    color: #102039;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 20px;
}

.course-card h4 {
    color: #102039;
    font-weight: 700;
    font-size: 18px;
    margin-top: 5px;
    margin-bottom: 15px;
    line-height: 1.4;
    padding-right: 40px;
}

.card-body-content {
    flex-grow: 1;
}

.eligibility {
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Fee Section within Card */
.fee-section {
    background: #f9f9fa;
    padding: 10px 15px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-left: 3px solid #FFD700;
}

.fee-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #777;
    font-weight: 700;
}

.fee-amount {
    font-size: 18px;
    font-weight: 700;
    color: #102039;
}

    .fee-amount small {
        font-size: 11px;
        color: #999;
        font-weight: 400;
    }

/* Card Footer/Button */
.card-footer-custom {
    margin-top: 20px;
    text-align: center;
}

.btn-view {
    display: block;
    width: 100%;
    border: 2px solid #102039;
    color: #102039;
    background: transparent;
    padding: 8px 0;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 13px;
}

    .btn-view:hover {
        background: #102039;
        color: #fff;
        text-decoration: none;
    }

/* --- Modal Styles --- */
.modal-header {
    background-color: #102039;
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.modal-title {
    font-weight: 700;
}

.modal-header .close {
    color: white;
    opacity: 0.8;
}

    .modal-header .close:hover {
        opacity: 1;
    }

.modal-body table {
    margin-bottom: 0;
}

.table > thead > tr > th {
    background-color: #f5f5f5;
    border-bottom: 2px solid #ddd;
}

.table > tbody > tr.success > td {
    background-color: #dff0d8;
    color: #3c763d;
    font-weight: bold;
}

.table > tbody > tr.warning > td {
    background-color: #fcf8e3;
    color: #8a6d3b;
    font-weight: bold;
}

/* --- Important Instructions Section --- */
.instructions-section {
    background-color: #fff;
    border: 1px solid #ddd;
    border-left: 5px solid #d9534f;
    padding: 20px;
    border-radius: 4px;
    margin-top: 40px;
    margin-bottom: 40px;
}

    .instructions-section h4 {
        color: #d9534f;
        font-weight: bold;
        margin-top: 0;
    }

    .instructions-section ul {
        list-style-type: none;
        padding-left: 0;
        margin-bottom: 0;
    }

    .instructions-section li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 10px;
        color: #555;
        font-size: 14px;
    }

        .instructions-section li:before {
            content: "\f0da"; /* FontAwesome caret right */
            font-family: FontAwesome;
            position: absolute;
            left: 0;
            color: #d9534f;
        }
