/* Modal Styles for Index Page */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 24px;
    color: #1A2984; /* Changed from #007bff to #1A2984 */
    margin: 0;
}

.modal-close {
    font-size: 28px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.modal-close:hover {
    color: #000;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-info {
    width: 100%;
}

.modal-info p {
    margin: 10px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.modal-image {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

/* Responsive Design */
@media (max-width: 767px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-image {
        max-height: 400px;
    }
} 