/* Base Styles from existing CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #EBE8E7;
    padding-top: 100px;
}


/* Main Content */
.main-content {
    min-height: calc(100vh - 160px);
    padding: 2rem 0;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Contact Form Styles */
.contact-section {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(122, 119, 185, 0.15);
    border-top: 4px solid #BD9DEA;
    margin-bottom: 2rem;
}

.form-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #7A77B9;
    font-weight: 600;
}

.error-messages {
    background: #ffebee;
    border: 1px solid #f44336;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    display: none;
}

.error-messages.show {
    display: block;
}

.error-messages h4 {
    color: #d32f2f;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.error-messages ul {
    margin-left: 1.5rem;
    color: #d32f2f;
}

.error-messages li {
    margin-bottom: 0.3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #7A77B9;
    font-weight: 600;
    font-size: 1rem;
}

.required {
    color: #EA7186;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9f9f9;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #BD9DEA;
    background: white;
    box-shadow: 0 0 0 3px rgba(189, 157, 234, 0.1);
}

.form-group input.error,
.form-group select.error {
    border-color: #f44336;
    background: #ffebee;
}

/* Checkbox Section */
.checkbox-section {
    background: rgba(189, 157, 234, 0.05);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid rgba(189, 157, 234, 0.2);
}

.checkbox-section h4 {
    color: #7A77B9;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    padding: 0.5rem;
    background: white;
    border-radius: 6px;
    transition: all 0.2s;
}

.checkbox-item:hover {
    background: rgba(234, 113, 134, 0.05);
}

.checkbox-item input[type="checkbox"] {
    width: auto;
    margin-right: 0.8rem;
    transform: scale(1.2);
    accent-color: #EA7186;
}

.checkbox-item label {
    margin-bottom: 0;
    cursor: pointer;
    color: #333;
    font-weight: normal;
}

.other-services-input {
    margin-top: 1rem;
    display: none;
}

.other-services-input.show {
    display: block;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #7A77B9 0%, #BD9DEA 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    margin-top: 1rem;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(122, 119, 185, 0.4);
    background: linear-gradient(135deg, #EA7186 0%, #F2C76E 100%);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success Message */
.success-message {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    text-align: center;
    display: none;
}

.success-message.show {
    display: block;
}

.success-message h4 {
    color: #2e7d32;
    margin-bottom: 0.5rem;
}

.success-message p {
    color: #388e3c;
}


/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .contact-section {
        padding: 2rem 1rem;
    }

    .form-title {
        font-size: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .checkbox-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 0 0.5rem;
    }

    .contact-section {
        padding: 1.5rem 1rem;
    }

    .form-title {
        font-size: 1.8rem;
    }
}