/* Contact Page Styles */

/* Contact Hero */
.contact-hero {
    position: relative;
    height: 60vh;
    overflow: hidden;
}

.contact-hero .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.contact-hero .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    width: 80%;
}

.contact-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-hero .hero-content p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-icon {
    background-color: #3a7d44;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-details h3 {
    margin-bottom: 0.5rem;
    color: #3a7d44;
}

.info-details p {
    margin-bottom: 0.3rem;
    color: #555;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    margin-top: 0.3rem;
    display: block;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    margin-top: 1rem;
    display: none;
}

.success-message i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
}

.map-container {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 400px;
}

.map-placeholder {
    height: 100%;
    background-color: #e9f5eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #3a7d44;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 5rem 0;
    background-color: #f9f9f9;
}

.faq-container {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #f1f1f1;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #3a7d44;
}

.faq-question i {
    transition: transform 0.3s;
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    background-color: white;
}

.faq-answer p {
    margin: 0;
    padding: 1.5rem 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-hero .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 50vh;
    }
    
    .contact-hero .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-hero .hero-content p {
        font-size: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .faq-question {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}
/*map */
.map-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* Aspect ratio 16:9 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
