/* General Body Styling */
@import url('https://trwea.org/2025/css/colors2025.css?v=2');

body {
    background: linear-gradient(135deg, var(--bg-navy), var(--bg-teal), var(--bg-darknavy));
    min-height: 100vh;
    padding: 25px;
    font-family: Arial, sans-serif;
}

/* Card Styling */
.card {
    background-color: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    border: none;
    padding: 2rem;
    color: #333333;
}

/* Form Field Styling */
.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    padding: 10px;
}

.form-control:focus {
    border-color: var(--bg-teal);
    box-shadow: 0 0 8px rgba(26, 115, 232, 0.3);
    outline: none;
}

/* Form Labels */
.form-label {
    font-weight: bold;
    color: #333333;
}

/* Submit Button Styling */
.btn-primary {
    background-color: var(--bg-orange);
    color: #ffffff;
    border: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: bold !important;
    font-size: 1.75rem;
}

.btn-primary:hover {
    background-color: var(--bg-redorange);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.buttons {
    background: linear-gradient(135deg, var(--bg-navy), var(--bg-teal));  /* Removed orange for a more balanced gradient */
    border: none;
    color: #ffffff;  /* Ensure text is readable against the gradient */
    padding: 15px 30px;
    border-radius: 12px;  /* Increased radius for a more rounded look */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    font-weight: bold;
    cursor: pointer;
}

.buttons:hover {
    background: linear-gradient(135deg, var(--bg-teal), var(--bg-navy));  /* Reverse gradient on hover */
    transform: scale(1.05);  /* Slightly enlarge button for a bolder effect */
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);  /* Increase shadow for more depth */
}

.buttons:focus {
    outline: 3px solid var(--bg-teal);  /* Add focus outline with teal for a softer effect */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);  /* Slightly increase shadow on focus */
}

.buttons:active {
    transform: scale(0.95);  /* Slightly shrink back when clicked for better feedback */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);  /* Slight shadow when clicked */
}

/* Select2 Styling */
.select2-container--default .select2-selection--single {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 10px;
    min-height: 40px; /* Ensure the select box has enough height */
    line-height: 1.5; /* Center text vertically */
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #333333; /* Ensure text color is visible */
    padding: 0; /* Reset padding to prevent overflow */
    margin-top: 2px; /* Adjust margin to center text */
    font-size: 16px; /* Adjust font size if needed */
}

.select2-container--default .select2-results__option {
    padding: 10px; /* Increase padding for dropdown options */
}

.form-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}


/* Section Headings */
h4, h5 {
    color: var(--text-darknavy);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    font-weight: 700;
}

h5 {
    font-size: 1.2rem;
}

/* Input Placeholder Styling */
::placeholder {
    color: #6c757d;
    opacity: 1;
}

/* Responsive Card and Form */
@media (max-width: 768px) {
    .card {
        padding: 1.5rem;
    }
}

/* Additional Styling for Visual Appeal */
.form-group {
    margin-bottom: 1.5rem;
}

.row > .col-md-6 {
    margin-bottom: 1rem;
}

/* General Button Styling */
.btn {
    cursor: pointer;
    font-weight: 500;
}

/* Textarea Styling */
textarea {
    resize: vertical;
}

.logo {
    display: block;                /* Turns the image into a block element */
    margin: 0 auto;                /* Centers the image horizontally */
    max-width: 100%;               /* Ensures the image doesn't exceed the container's width */
    height: auto;                  /* Maintains the aspect ratio */
    max-height: 125px;              /* Restricts the height to a maximum of 75 pixels */
}

