body {
padding: 0!important;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--secondary-dark);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: padding 0.3s ease;
    margin-top: 20vh;
    /* Add transition for a smooth resize effect */
}

/* Heading styling */
.contact-container h1 {
    color: var(--light-text);
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.5rem;
    transition: font-size 0.3s ease;
}

/* Subtitle styling */
.contact-container p.lead {
    text-align: center;
    margin-bottom: 2rem;
    transition: font-size 0.3s ease;
}

/* Form control styling to match the dark theme */
.form-control, .form-select {
    background-color: var(--primary-dark);
    border: 1px solid var(--secondary-dark);
    color: var(--light-text);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
}

/* Focus state for form controls */
.form-control:focus, .form-select:focus {
    background-color: var(--primary-dark);
    color: var(--light-text);
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(100, 255, 218, 0.25);
}

/* Placeholder text color */
.form-control::placeholder {
    color: var(--lighter-text);
    opacity: 0.6;
}

/* Submit button styling */
.btn-accent {
    background-color: var(--accent-color);
    color: var(--primary-dark);
    border: none;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #52e3c7; /* A slightly lighter shade of the accent color */
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.4);
}

/* Style for the input group to accommodate the icon */
.input-group-text {
    background-color: var(--secondary-dark);
    border: 1px solid var(--secondary-dark);
    color: var(--lighter-text);
    border-right: none;
}

/* Adjust the input field's left border-radius to match the icon group */
.input-group .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

.input-group .form-control, .input-group .form-select {
    border-radius: 0.5rem;
}

/* Specific adjustments for the icon in the dropdown list */
.form-select option i {
    margin-right: 0.5rem;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    .contact-container {
        padding: 2rem 1.5rem; /* Reduced padding on smaller screens */
    }
    .contact-container h1 {
        font-size: 1.75rem; /* Smaller heading on mobile */
    }
    .contact-container p.lead {
        font-size: 1rem; /* Smaller subtitle on mobile */
    }
}