/* ==========================================
   COUNTRY MODAL STYLES
   ========================================== */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    /* Sit on top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.8);
    /* Black w/ opacity */
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    /* 5% from the top and centered */
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    /* Could be more or less, depending on screen size */
    max-width: 900px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    max-height: 85vh;
    overflow-y: auto;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 15px;
    right: 25px;
    z-index: 10;
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover,
.close-modal:focus {
    color: #ff4757;
    text-decoration: none;
    cursor: pointer;
}

/* Modal Internal Styling */
.modal-header-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 30px;
    border-radius: 12px 12px 0 0;
    text-align: center;
}

.modal-header-custom h2 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
}

.modal-header-custom p {
    margin: 10px 0 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.modal-body-content {
    padding: 30px;
}

.university-block {
    background: #f8f9fa;
    border-left: 5px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
}

.university-block:hover {
    transform: translateX(5px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.university-block h4 {
    margin-top: 0;
    color: var(--text-dark);
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.university-block p {
    margin-bottom: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.documents-block {
    background: #e3f2fd;
    /* Light blue */
    padding: 25px;
    border-radius: 8px;
    margin-top: 30px;
}

.documents-block h3 {
    margin-top: 0;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.documents-block ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.documents-block li {
    display: flex;
    align-items: center;
    background: white;
    padding: 10px 15px;
    border-radius: 6px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.documents-block li i {
    color: #2ecc71;
    /* Green check */
    margin-right: 12px;
}

/* ==========================================
   NEW CONTENT STYLES
   ========================================== */
.info-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-section h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    position: relative;
    padding-left: 15px;
}

.info-section h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    height: 20px;
    width: 4px;
    background: var(--secondary-color);
    border-radius: 2px;
}

.university-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.university-table th,
.university-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.university-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 600;
}

.university-table tr:last-child td {
    border-bottom: none;
}

.university-table tr:hover {
    background-color: #f1f8ff;
}

.check-list,
.two-col-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.check-list li i {
    position: absolute;
    left: 0;
    top: 12px;
    color: var(--secondary-color);
}

.two-col-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.two-col-list li {
    background: #f9f9f9;
    padding: 10px 15px;
    border-left: 3px solid var(--secondary-color);
    border-radius: 0 4px 4px 0;
}

.call-to-action-box {
    background: linear-gradient(135deg, #fce4ec 0%, #f8bbd0 100%);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin-top: 40px;
}

.call-to-action-box h3 {
    color: #c2185b;
    border: none;
    padding: 0;
}

.call-to-action-box h3::before {
    display: none;
}

@media (max-width: 768px) {
    .two-col-list {
        grid-template-columns: 1fr;
    }

    .table-responsive {
        overflow-x: auto;
    }
}

/* ==========================================
   PROCESS LIST STYLES (Admission Steps)
   ========================================== */
ol.process-list {
    list-style: none;
    counter-reset: process-counter;
    padding: 0;
}

ol.process-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 20px;
    background: transparent;
    border: none;
    box-shadow: none;
}

ol.process-list li::before {
    counter-increment: process-counter;
    content: counter(process-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

ol.process-list li strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 5px;
}

/* ==========================================
   NEW FEATURES STYLES (Currency, Facts, FAQ)
   ========================================== */
.currency-box {
    background: #e0f7fa;
    border: 1px solid #4dd0e1;
    color: #006064;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
}

.currency-box i {
    margin-right: 8px;
}

.facts-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.facts-list li {
    background: #fff3e0;
    /* Light orange bg */
    border-left: 4px solid #ff9800;
    /* Orange accent */
    padding: 12px 15px;
    border-radius: 4px;
    padding-left: 15px;
    /* Override default p-l */
    display: flex;
    align-items: flex-start;
}

.facts-list li i {
    position: static;
    /* Override absolute */
    margin-right: 10px;
    color: #e65100;
    margin-top: 3px;
}

.faq-item {
    background: #f1f8e9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid #c5e1a5;
}

.faq-item p {
    margin: 0;
    color: #33691e;
}

.faq-item strong {
    display: block;
    margin-bottom: 5px;
    color: #558b2f;
    font-size: 1.05rem;
}

.spotlight-box {
    background: #f3e5f5;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ab47bc;
}