/* Contact Form Section - Two Column Layout */
.contact-form-section {
    padding: 40px 5% 60px;
    background: #ffffff;
}

.contact-section-header {
    max-width: 1400px;
    margin: 0 auto 30px;
    text-align: center;
}

.contact-section-title {
    font-size: 2rem;
    font-weight: 500;
    color: #233220;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    line-height: 1.2;
    font-family: 'Sora', sans-serif;
}

.contact-section-subtitle {
    font-size: 0.9rem;
    color: #666666;
    margin: 0;
    line-height: 1.6;
    font-family: 'Manrope', sans-serif;
    margin-bottom: 2.5rem;
}

.contact-form-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: start;
}

/* Left Column - Map and Contact Info */
.contact-map-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-container {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.google-map {
    width: 100%;
    height: 300px;
    border: none;
    display: block;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #233220;
    margin: 0;
    letter-spacing: 0.5px;
    font-family: 'Sora', sans-serif;
}

.detail-text {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #555555;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.detail-link {
    color: #2C6C36;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.detail-link:hover {
    color: #233220;
    text-decoration: underline;
}

/* Right Column - Contact Form */
.contact-form-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #233220;
    margin: 0;
    letter-spacing: 1px;
    line-height: 1.2;
}

.contact-form-subtitle {
    font-size: 1rem;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

.contact-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 12px;
    border: 1px solid #e9ecef;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #233220;
    font-family: 'Sora', sans-serif;
    margin-bottom: 2px;
    letter-spacing: 0.3px;
}

.form-label .required {
    color: #d32f2f;
    font-weight: 700;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 10px 14px;
    background: #ffffff !important;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: 'Manrope', sans-serif;
    color: #333333 !important;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
    line-height: 1.5;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #2C6C36;
    box-shadow: 0 0 0 3px rgba(44, 108, 54, 0.1);
    background: #ffffff !important;
    color: #333333 !important;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #666666 !important;
    font-weight: 400;
    opacity: 1;
}

.form-input::-webkit-input-placeholder,
.form-textarea::-webkit-input-placeholder {
    color: #666666 !important;
    font-weight: 400;
    opacity: 1;
}

.form-input::-moz-placeholder,
.form-textarea::-moz-placeholder {
    color: #666666 !important;
    font-weight: 400;
    opacity: 1;
}

.form-input:-ms-input-placeholder,
.form-textarea:-ms-input-placeholder {
    color: #666666 !important;
    font-weight: 400;
    opacity: 1;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L15 1' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 10px;
    padding-right: 45px;
    cursor: pointer;
    color: #233220 !important;
    height: 38px;
    line-height: 1.5;
    min-height: 38px;
    max-height: 38px;
    box-sizing: border-box;
    font-weight: 400;
    position: relative;
}

.form-select option {
    background: #ffffff !important;
    color: #233220 !important;
    padding: 10px;
    font-weight: 400;
}

.form-select:invalid {
    color: #666666 !important;
}

.form-select:valid {
    color: #233220 !important;
}

.form-select:focus {
    background: #ffffff !important;
    color: #333333 !important;
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
    font-family: 'Manrope', sans-serif;
}

.form-submit-btn {
    padding: 10px 25px;
    background: #233220;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Sora', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.form-submit-btn:hover {
    background: #2C6C36;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 108, 54, 0.3);
}

.form-submit-btn:active {
    transform: translateY(0);
}

/* Force white backgrounds for all form elements */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #233220 !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    background-color: #ffffff !important;
    background: #ffffff !important;
    color: #233220 !important;
}

/* Ensure placeholder text is visible */
input::placeholder,
textarea::placeholder {
    color: #666666 !important;
    opacity: 1 !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-form-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-title {
        font-size: 2rem;
    }
    
    .google-map {
        height: 250px;
    }
    
    .form-select {
        background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L15 1' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-size: 16px 10px;
        background-position: right 16px center;
        padding-right: 45px;
    }
}

@media (max-width: 768px) {
    .contact-form-section {
        padding: 30px 4% 40px;
    }
    
    .contact-section-title {
        font-size: 1.8rem;
    }
    
    .contact-section-header {
        margin-bottom: 25px;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .google-map {
        height: 200px;
    }
    
    .form-select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L15 1' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-size: 16px 10px;
        background-position: right 16px center;
        padding-right: 45px;
    }
}

@media (max-width: 480px) {
    .contact-form-section {
        padding: 20px 3% 30px;
    }
    
    .contact-section-title {
        font-size: 1.6rem;
    }
    
    .contact-section-header {
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .google-map {
        height: 180px;
    }
    
    .form-select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L8 8L15 1' stroke='%231a1a1a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-size: 16px 10px;
        background-position: right 14px center;
        padding-right: 42px;
    }
}
