
/* ------------------ Card Styles ----------------  */
.form-card {
    max-width: 600px;    /* Caps the width to a maximum of 600px */
    min-width: 400px;
    margin: 0 auto 10px;
    background-color: #ffffff;
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);

}

.form-card:hover {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
    border: 0px solid rgb(210, 210, 210);
    margin: 0 auto 10px; /* Center the card horizontally with margin */
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.form-card-header {
    background-color: #003366;
    background-color: #fff;
    text-align: center;
    border-bottom: 0px solid #dddddd;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.form-card-header h3, .form-card-header h4, .form-card-header h5  {
    margin: 0;
    line-height: 1.2;
    padding-top: 10px;
    color: #fff;    
    color: #003366;    
    
}

.form-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.form-card-body {
    display: flex;
    flex-direction: column;
    padding: 15px;  /* Slightly increased padding */
}

.form-card-body p {
    margin: 0 0 10px 0;
    color: var(--text-gray);
    font-size: 0.95em;
}

.form-card-text {
    font-size: 0.95em;
    margin-top: 10px;
    flex-grow: 1;
}

/* ------------------ Form Styles ---------------------- */

/* Form Input Styles */
input, select, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 5px; /* Reduced margin between form elements */
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Form Input Focus State */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0px 0px 8px rgba(0, 123, 255, 0.3);
}


/*--------------- PAGE CONTAINER ------------------ */

/* Container styling to center the form */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
}

