/* Form Styles */
.contact-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--accent-color) 100%);
    padding: 5rem 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.05), rgba(44, 62, 80, 0.05));
    z-index: 0;
}

.contact-section form {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid rgba(255, 127, 80, 0.1);
}

.form-control {
    padding: 1rem;
    background: rgba(255,255,255,0.9);
    border: 2px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 127, 80, 0.1);
}

.form-floating {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-floating label {
    position: absolute;
    left: 1rem;
    top: 0.5rem;
    color: #666;
    transition: all 0.3s ease;
    pointer-events: none;
}

.form-floating input:focus ~ label,
.form-floating input:not(:placeholder-shown) ~ label {
    transform: translateY(-1.5rem) scale(0.85);
    color: var(--secondary-color);
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 15px;
}

.modal-header {
    padding: 1rem 1.5rem;
}

.modal-body {
    padding: 1.5rem;
}

.btn-close:focus {
    box-shadow: none;
}

/* Loading spinner */
.spinner-border {
    width: 1rem;
    height: 1rem;
}

/* Fix for modal backdrop issues */
.modal-backdrop {
    opacity: 0.5;
}

body.modal-open {
    padding-right: 0 !important;
    overflow: auto !important;
}