/* Front matter codes */
.bg-info {
    background-color: #17a2b8; /* Cyan */
}
.bg-success {
    background-color: #28a745; /* Green */
}
.bg-danger{
    background-color: red;
}
.bg-warning{
    background-color: darkorange;
}
.bg-primary{
    background-color: #0a396c;
}
.bg-secondary {
    background-color: #007bff; /* Blue */
}

red{
    color: red;
}
green{
    color: green;
}
pink{
    color: palevioletred;
}
hi{
    font-weight: bold;
    color: coral;
}
/* Front matter code ends */


        /* styles for details.html */
        body {
            font-family: 'Poppins', sans-serif;
            margin: 0;
            padding: 0;
            background: #f4f4f4;
            color: #333;
            line-height: 1.7;
        }
        
        .details-hero {
            background: linear-gradient(135deg, #e0f7fa, #b2ebf2);
            color: #00695c;
            padding: 32px 0;
            text-align: center;
            margin-bottom: 40px;
        }
        
        .details-hero h1 {
            font-size: 2em;
            line-height: 1.2em;
            font-weight: 700;
            text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.25);
        }
        
        .details-hero .tagline {
            font-size: 1.2em;
            color: #26a69a;
        }
        
        .title-hi{
            line-height: 0.5;
            font-size: 1.5em;
            font-weight: bold;
            margin-top: 20px;
            margin-bottom: -30px;
            color: coral;
        }

        /************************ Status bar ************************/
        .status-bar {
            display: flex;
            align-items: flex-start;
            margin: 8px 0;
            padding: 20px;
            /* background: #f0f2f5; */
            border-radius: 10px;
        }

        .status-step {
            flex: 1;
            text-align: center;
            position: relative;
            min-width: 0;
            padding: 0 5px; /* Keep padding for text spacing */
        }
        
        /* Connector Line Styling (Keep refined version) */
        .status-step::after {
            content: '';
            position: absolute;
            /* Vertically center line relative to the icon (initial height 40px) */
            top: 20px; /* Half of initial icon height */
            transform: translateY(-50%); /* Fine-tune vertical centering */
            /* Start line from horizontal center of the step */
            left: 50%;
            /* Make line span the entire width allocated to the step */
            width: 100%;
            height: 4px;
            background: #aaa;
            /* Ensure line is behind the icon */
            z-index: 0;
        }
        
        .status-step:last-child::after {
            content: none;
        }
        
        .status-icon {
            background: #aaa;
            color: #fff;
            width: 40px;
            height: 40px;
            line-height: 40px; /* Can use flex below instead */
            border-radius: 50%;
            /* margin: 0 auto 10px; This positions icon at the top (margin-top: 0) */
            margin: 0 auto 10px;
            font-weight: bold;
            z-index: 1;
            position: relative;
            /* Keep flex centering for number inside */
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .status-text {
            font-size: 14px;
            line-height: 14px;
            font-weight: bold;
            color: #555;
            word-break: break-word;
        }
        
        /* Completed Step Styling (Keep as is) */
        .completed .status-icon {
            background: #28a745;
        }
        .completed::after {
            background: #28a745;
        }
        
        /* Active Step Styling (Keep as is) */
        .active .status-icon {
            background: #007bff;
        }
        .active .status-text {
            color: #007bff;
        }
        
        /* --- Responsive Adjustments (Keep as is) --- */
        @media (max-width: 768px) {
            .status-icon {
            width: 35px;
            height: 35px;
            line-height: 35px;
            font-size: 14px;
            }
            /* IMPORTANT: Keep the adjusted 'top' for the line */
            .status-step::after {
            top: 17.5px; /* Half of 35px */
            }
            .status-text {
            font-size: 12px;
            }
        }
        
        @media (max-width: 480px) {
            .status-bar {
            padding: 15px 5px;
            }
            .status-icon {
            width: 30px;
            height: 30px;
            line-height: 30px;
            font-size: 12px;
            }
            /* IMPORTANT: Keep the adjusted 'top' for the line */
            .status-step::after {
            top: 15px; /* Half of 30px */
            }
            .status-text {
            font-size: 10px;
            line-height: 10px;
            }
        }
        /************************ Status bar ends ************************/

        .details-page .container {
            max-width: 960px;
            margin: 20px auto;
            padding: 30px;
            padding-top: 16px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        
        .details-page .section-title {
            font-size: 2em;
            color: #007bff;
            margin-bottom: 4px;
            border-bottom: 3px solid #e0e0e0;
        }
        
        .details-page .post-date {
            color: #6c757d;
            font-size: 0.95em;
            margin-bottom: 25px;
        }
        
        .details-page .post-date i {
            margin-right: 5px;
        }
        
        .details-page .short-info {
            line-height: 1.8;
            margin-bottom: 30px;
            font-size: 1.1em;
        }
        
        .details-page .short-info .highlight {
            color: #007bff;
            font-weight: bold;
        }
        
        /* Key Info Grid */
        .details-page .key-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
            margin-bottom: 30px;
        }
        
        .details-page .info-card {
            background-color: #f9f9f9;
            padding: 20px;
            border-radius: 6px;
            box-shadow: 0px 1px 4px 0px #82828287;
            text-align: center;
        }
        
        .details-page .info-card i {
            font-size: 1.8em;
            color: #007bff;
            margin-bottom: 10px;
        }
        
        .details-page .info-card h3 {
            font-size: 1.2em;
            color: #333;
            margin-bottom: 5px;
        }
        
        .details-page .info-card p {
            font-size: 1em;
        }
        
        .details-page .info-card a {
            color: #007bff;
            text-decoration: none;
            font-weight: bold;
        }
        
        /* Important Dates */
        .details-page .dates-list {
            list-style: none;
            padding-left: 0;
        }
        
        .details-page .dates-list li {
            padding: 10px 0;
            border-bottom: 1px solid #eee;
            margin-bottom: 10px;
        }
        
        .details-page .dates-list li:last-child {
            border-bottom: none;
        }
        
        .details-page .dates-list li i {
            margin-right: 8px;
            color: #ffc107; /* Example icon color */
        }
        
        .details-page .dates-list li strong {
            font-weight: 600;
            color: #333;
            margin-right: 5px;
        }
        
        .details-page .dates-list li .highlight {
            color: #dc3545; /* Example highlight color */
            font-weight: bold;
        }
        
        /* Application Fee */
        .details-page .fee-details {
            list-style: none;
            padding-left: 0;
        }
        
        .details-page .fee-details li {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
        }
        
        .details-page .fee-details li:last-child {
            border-bottom: none;
        }
        
        .details-page .fee-details strong {
            font-weight: 600;
        }
        
        .details-page .fee-details .fee {
            color: #28a745;
            font-weight: bold;
        }
        
        /* Age Limit */
        .details-page .age-details {
            list-style: none;
            padding-left: 0;
        }
        
        .details-page .age-details li {
            padding: 8px 0;
            border-bottom: 1px solid #eee;
        }
        
        .details-page .age-details li:last-child {
            border-bottom: none;
        }
        
        .details-page .age-details strong {
            font-weight: 600;
        }
        
        /* Responsive Table Container */
        .table-responsive {
            overflow-x: auto;
            margin-bottom: 30px;
        }
        
        /* Vacancy Details Table */
        .bordered-table
         {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            border: 1px solid #ddd;
            border-radius: 4px;
            overflow: hidden; /* To contain rounded borders */

            ul{
                padding: revert;
                text-align: left;
            }
        }
        
        .bordered-table th,
        .bordered-table td{
            padding: 12px 15px;
            border: 1px solid #b5b2b2;
            text-align: center;
            white-space:wrap; /* Prevent text wrapping within cells */
        }
        
        .bordered-table th{
            background-color: #f8f9fa;
            font-weight: 600;
            color: #333;
        }
        
        .bordered-table tbody tr:nth-child(even){
            background-color: #f9f9f9;
        }
        
        .bordered-table td a {
            color: #007bff;
            text-decoration: none;
        }
        
        /* How to Apply */
        .details-page .apply-steps {
            list-style-type: decimal;
            padding-left: 20px;
            margin-bottom: 30px;
        }
        
        .details-page .apply-steps li {
            padding: 8px 0;
            line-height: 1.8;
        }
        
        /* Download Links */
        .details-page .links-group {
            display: flex;
            gap: 15px;
            margin-bottom: 30px;
            flex-wrap: wrap;
        }
        
        .details-page .button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 25px;
            border-radius: 6px;
            text-decoration: none;
            color: white;
            font-weight: 600;
            box-shadow: 1px 1px 4px #7c7c7c;
            transition: background-color 0.3s ease;
        }
        
        .details-page .button:hover {
            opacity: 0.9;
        }
        
        /* Job Image */
        .details-page .job-image {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .details-page .job-image img {
            max-width: 100%;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        /* Visually Hidden Class */
        .visually-hidden {
            position: absolute !important;
            height: 1px;
            width: 1px;
            overflow: hidden;
            clip: rect(1px, 1px, 1px, 1px);
            white-space: nowrap;
        }
        
        .key-value-list, .info-list{
            padding-left: 1.2em;
        }
        /* Responsive Design */
        @media (max-width: 768px) {
            .details-hero, main{
                font-size: 0.9em;
            }
            
            .details-hero {
                padding: 8px 0;
                margin-bottom: 0px;

                h1{
                    font-size: 1.25em;
                    line-height: 1.2em;
                }

                .tagline {
                    font-size: 1em;
                    color: #26a69a;
                    line-height: 1.2em;
                    padding-top: 0.8em;
                }
            }
        
            .details-page{
                .container {
                    padding: 20px 8px;
                    margin-left: 6px;
                    margin-right: 6px;
                    padding-top: 4px;
                    font-size: 0.8em;
                }

                .section-title {
                    font-size: 1.5em;
                    margin-bottom: 8px;
                    padding-top: 16px;
                    padding-bottom: 8px;
                    line-height: 1.3em;
                }

                .post-date {
                    /* font-size: 0.8em; */
                    margin-bottom: 16px;
                }

                .short-info {
                    /* font-size: 0.85em; */
                    margin-bottom: 16px;
                }

                .key-info-grid {
                    gap: 4px;
                    grid-template-columns: repeat(2, 1fr);
                    font-size: 0.8em;
                }

                .info-card {
                    padding: 4px;
                }

                .info-card h3 {
                    font-size: 1.1em;
                }

                .links-group {
                    flex-direction: column;
                    align-items: stretch;
                }

                .button {
                    padding: 4px 25px;
                }
            }
        
        }
            