/* Contact Page - Green & Gold Theme */
.contact-section {
    padding: 80px 0;
    background-color: white;
}

.contact-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary); /* Deep green */
    position: relative;
    padding-bottom: 15px;
}

.contact-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary); /* Gold accent */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(42, 92, 61, 0.1), 
                0 2px 4px -1px rgba(42, 92, 61, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15); /* Gold border */
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary); /* Deep green */
    font-size: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background-color: var(--light); /* Light green background */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary); /* Gold */
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
    background-color: white;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

button[type="submit"] {
    width: 100%;
    padding: 15px;
    background-color: var(--secondary); /* Gold */
    color: var(--accent); /* Dark green text */
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: var(--secondary-light); /* Light gold */
}

/* Contact Info Section */
.contact-info {
    padding: 20px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    font-size: 24px;
    color: var(--secondary); /* Gold */
    margin-right: 20px;
    margin-top: 5px;
    flex-shrink: 0;
}

.info-content h3 {
    margin-bottom: 5px;
    color: var(--primary); /* Deep green */
    font-size: 20px;
}

.info-content p,
.info-content a {
    color: var(--text); /* Dark green text */
    font-size: 16px;
    line-height: 1.6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--secondary); /* Gold */
}

/* Map Section */
.map-placeholder {
    margin-top: 40px;
}

.map-placeholder h3 {
    margin-bottom: 15px;
    color: var(--primary); /* Deep green */
    font-size: 20px;
}

.map-image {
    height: 250px;
    background-color: var(--light); /* Light green background */
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px -1px rgba(42, 92, 61, 0.1), 
                0 2px 4px -1px rgba(42, 92, 61, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.15); /* Gold border */
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Form States */
.form-success {
    background-color: var(--primary); /* Deep green */
    color: white;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease;
}

.loading-spinner {
    display: none;
    width: 40px;
    height: 40px;
    margin: 20px auto;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--secondary); /* Gold spinner */
    animation: spin 1s ease-in-out infinite;
}

.error {
    border-color: #EF4444 !important;
}

.error-message {
    color: #EF4444;
    font-size: 14px;
    margin-top: 5px;
    display: none;
    animation: fadeIn 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Styles for Contact Page */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-form {
        padding: 30px;
    }
    
    .map-image {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-section h2 {
        font-size: 30px;
    }
    
    .info-item {
        margin-bottom: 25px;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-section h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }
    
    .contact-form {
        padding: 25px 20px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .info-content h3 {
        font-size: 18px;
    }
    
    .info-content p,
    .info-content a {
        font-size: 15px;
    }
    
    button[type="submit"] {
        padding: 12px;
    }
}

/* Animation for Contact Page Elements */
.contact-form,
.contact-info {
    opacity: 1;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-form.animated,
.contact-info.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Delay for elements */
.contact-info { transition-delay: 0.2s; }