/* Contact Page Specific Styles */

/* Banner Styles */
.contact-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('Images/wildlife.png');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.pattern-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.15'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.banner-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.contact-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-banner p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Intro Section */
.contact-intro {
    padding: 80px 5%;
    background-color: #fff;
}

.contact-intro .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.intro-text h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.intro-text h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.intro-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
}

.intro-image {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.intro-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.info-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    background-color: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 1.1rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-text span {
    font-size: 0.85rem;
    color: #777;
}

.badge-text strong {
    font-size: 1rem;
    color: var(--dark-color);
}

/* Contact Details Cards */
.contact-details {
    padding: 60px 5%;
    background-color: #f9f9f9;
}

.contact-details .container {
    max-width: 1200px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.contact-card {
    background-color: white;
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.5rem;
    box-shadow: 0 5px 15px rgba(26, 93, 26, 0.2);
    transition: all 0.4s ease;
}

.contact-card:hover .card-icon {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: rotateY(180deg);
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.contact-card p {
    color: #666;
    line-height: 1.6;
}

/* Form Section */
.contact-form-section {
    padding: 80px 5%;
    background-color: #fff;
}

.contact-form-section .container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
}

.form-wrapper {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 40px;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.form-header p {
    color: #777;
    font-size: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
}

.checkbox-group input {
    width: auto;
    margin-right: 10px;
    margin-top: 5px;
}

.checkbox-group label {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

/* Map Section */
.map-container {
    position: relative;
    height: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.map-wrapper {
    height: 100%;
}

.map-overlay {
    position: absolute;
    top: 30px;
    left: 30px;
    z-index: 10;
}

.info-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 250px;
}

.info-card h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.info-card p {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.info-card i {
    color: var(--primary-color);
    margin-right: 8px;
    width: 18px;
    text-align: center;
}

.map-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.map-button i {
    margin-left: 5px;
    color: white;
    transition: transform 0.3s ease;
}

.map-button:hover {
    background-color: var(--secondary-color);
}

.map-button:hover i {
    transform: translateX(3px);
}

/* FAQ Section */
.faq-section {
    padding: 80px 5%;
    background-color: #f9f9f9;
}

.faq-section .container {
    max-width: 1000px;
    margin: 0 auto;
}

.faq-section h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 50px;
}

.faq-grid {
    display: grid;
    gap: 20px;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-color);
    font-weight: 600;
}

.faq-icon {
    background-color: var(--primary-color);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer p {
    color: #666;
    padding-bottom: 20px;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background-color: #f7f7f7;
}

.faq-item.active .faq-icon {
    background-color: var(--accent-color);
    color: var(--dark-color);
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-intro .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form-section .container {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .contact-banner h1 {
        font-size: 2.2rem;
    }
    
    .contact-banner p {
        font-size: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .form-wrapper {
        padding: 25px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .contact-banner {
        height: 250px;
    }
    
    .contact-banner h1 {
        font-size: 1.8rem;
    }
    
    .info-badge {
        bottom: 15px;
        right: 15px;
        padding: 10px;
    }
    
    .badge-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .map-overlay {
        position: relative;
        top: auto;
        left: auto;
        margin-top: -80px;
        margin-bottom: 20px;
        padding: 0 20px;
    }
    
    .map-container {
        height: 300px;
    }
}
