body {
    font-family: 'Arial', sans-serif;
    background-color: #0b111e; /* Light background for non-dark mode */
    margin: 0;
    color: #ffffff;
}

/* Overlay and Message Box Styling */
.message-overlay {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
}
.message {
    z-index: 100;
    width: 70%;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    background-color: #ffffff;
    color: #000;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-size: 1rem;
}
.message h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

/* Form Field Styling */
.form-control {
    font-size: 1rem;
    margin-top: 0.25rem;
    padding: 0.75rem 1rem;
}

/* Button Styling */
#contactForm .btn-primary, #contactForm .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    letter-spacing: 0.05rem;
    width: 100%;
    margin-bottom: 0.5rem;
}
.d-grid {
    margin-top: 1rem;
}
.form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
.btn-primary, .btn-secondary {
    margin: 5px;
}




.row-form{
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 5px;
   font-size:  20px;
   font-weight: 600;
}
#contactForm:last-child .row-form{
    margin-bottom: 20px;
}

.row-form input{
    width: 80%;
    height: 40px;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 18px;
    color: #000000;
}

.row-form textarea{
    width: 80%;
    height: 150px;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 18px;
    color: #000000;
}

body > .container {
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    min-height: 85vh;
}

.header h1 {
    text-align: center;
    margin-bottom: 30px;
}
.header {
    text-align: center;
    margin-bottom: 30px;
}

 .card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    justify-content: center;
    
    gap: 30px;
    margin: 20px;
} 



.card {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    margin-bottom: 20px;
    transition: transform 0.2s;
    
}

 .card:nth-child(5) .content > h2, .card:nth-child(5) .content > p{
    text-align: right;
}

/* ...existing styles... */

.card .image{
    padding: 15px;
    overflow: hidden;
}
.card .image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #777;
}

.card .content{
    border-top: 1px solid #000;
    margin: 0 5px;
    padding: 20px 20px 0;
    
    display: flex;
    flex-direction: column;
    justify-content: stretch;

}

.status {
    padding: 5px 10px;
    margin: 5px 0;
    background-color: #4CAF50; /* Green for 'live' status */
    color: #ffffff;
    border-radius: 5px;
    width: fit-content;
    /* display: inline-block; */
    margin-bottom: 10px;
}

.failed {
    background-color: #f44336; /* Red for 'failed' status */
}


.card:hover {
    transform: scale(1.01);
}

.card h2 {
    color: #007bff;
    margin: 0 0 10px 0;
}

.card p {
    color: #000;
    margin: 0 0 20px 0;
}

.apiLink{
    font-size: 18px;
    margin: 10px 5px;
}



.btn {
    
    text-decoration: none;
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.btn:hover {
    background-color: #0056b3;
}
.bottom{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.by{
    margin-top: 10px;
    padding: 5px;
    font-size: 14px;
}

.by a{
    text-decoration: none;    
    font-size: 16px;
}
.by a p{
    color: #005194;
}


.container-btn{
    text-align: center;
    margin-bottom: 50px;
}
.btn-form {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.btn-form:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #d11204;
}

.btn-secondary:hover {
    background-color: #a00d03;
}


footer {
    width: 100%;
    background-color: #12233d; /* Slightly lighter than the body for contrast */
    color: #ffffff; /* White text color for readability */
    padding: 20px 0;
    text-align: center;
    margin: 0;
    
}
.footer-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.footer-content p {
    margin: 0;
    padding: 5px;
    font-size: 14px;

}
.footer-content a {
    font-size: 1.3rem;
    text-decoration: none;
}
