/* Contact Page Styles */

/* Contact Section */
#contact.contact {
    padding: 80px 0;
    background: #f8fafc;
}

/* Contact Content Layout */
.contact-content {
    display: flex;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Contact Info */
.contact-info {
    margin-bottom: 2rem;
}

.contact-info h2 {
    margin-bottom: 25px;
    color: var(--text-primary, #212121);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Contact Cards Grid */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    margin-bottom: 2rem;
}

.contact-card {
    background: white;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8f5e9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
}

.contact-card-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
}

.contact-card.featured {
    border-left-color: #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #e8f5e8 100%);
}

.contact-card h3 {
    margin: 0 0 10px 0;
    color: var(--text-primary, #212121);
    font-size: 1rem;
    font-weight: 600;
}

.contact-card p {
    margin: 0;
    color: var(--text-muted, #616161);
    line-height: 1.5;
    font-size: 0.9rem;
}

/* Contact Form Container */
.contact-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8f5e9;
    width: 100%;
}

.contact-form h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #1a1a1a;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Form Styles */
.form {
    background: transparent;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    background: #fafafa;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2e7d32;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
    background: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Simple Checkbox */
.simple-checkbox {
    margin-bottom: 16px;
}

.simple-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    line-height: 1.5;
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
    padding: 8px 0;
}

.simple-checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    accent-color: #2e7d32;
    cursor: pointer;
    flex-shrink: 0;
}

.simple-checkbox-label:hover {
    color: #333;
}

.simple-checkbox-label a {
    color: #2e7d32;
    text-decoration: none;
    font-weight: 500;
}

.simple-checkbox-label a:hover {
    text-decoration: underline;
}

.consent-field {
    padding: 0.85rem 1rem;
    border: 1px solid #d8e8dc;
    border-radius: 12px;
    background: #f8fcf9;
}

.consent-field:has(input:focus-visible) {
    border-color: #2e7d32;
    box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.1);
}

.consent-field.has-error {
    border-color: #c62828;
    background: #fff8f8;
}

.consent-error {
    margin: 0.35rem 0 0 1.75rem;
    color: #b91c1c;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.45;
}

.consent-error[hidden] {
    display: none;
}

/* Contact Info Cards (Alternative Style) */
.contact-info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
    background: linear-gradient(135deg, #2e7d32, #1b5e20);
}

.contact-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-primary, #212121);
    margin-bottom: 0.5rem;
}

.contact-detail {
    color: #4a5568;
    font-size: 0.9rem;
}

/* Contact Page Responsive */
@media (max-width: 768px) {
    #contact.contact {
        padding: 50px 0;
    }
    
    .contact-content {
        max-width: 100%;
        padding: 0 15px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-card {
        padding: 20px;
    }
    
    .contact-form {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .contact-form h2 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .simple-checkbox-label {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 20px 15px;
    }
    
    .contact-form h2 {
        font-size: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
}
