/* Contact Page Styles */

/* ===== HERO ===== */
.contact-hero {
    background: linear-gradient(rgba(10, 92, 54, 0.85), rgba(10, 92, 54, 0.9)), 
                url('../images/contact-bg.jpg') center/cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
}

.contact-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    margin-bottom: 20px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.contact-hero .subtitle {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.95;
    line-height: 1.6;
    position: relative;
}

/* ===== CONTACT METHODS ===== */
.contact-methods {
    padding: 80px 0;
    background-color: var(--white);
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.method-card {
    text-align: center;
    padding: 40px 30px;
    background: var(--light-green);
    border-radius: 15px;
    border-top: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.method-card:hover::before {
    transform: scaleX(1);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.method-card:hover .method-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
}

.method-card h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-family: 'Montserrat', sans-serif;
}

.method-card p {
    color: var(--text-light);
    margin-bottom: 10px;
    line-height: 1.6;
}

.method-card strong {
    color: var(--text-dark);
}

.method-card .note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.method-link {
    display: inline-block;
    margin-top: 20px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.method-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(10, 92, 54, 0.2);
}

/* ===== CONTACT FORM & MAP SECTION ===== */
.contact-form-section {
    background-color: var(--gray-light);
    padding: 80px 0;
}

.form-map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

/* Contact Form */
.contact-form-container {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
}

.contact-form-container h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2rem;
    position: relative;
}

.contact-form {
    position: relative;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-medium);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group label i {
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--gray-medium);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(10, 92, 54, 0.1);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #f44336;
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.error-message {
    color: #f44336;
    font-size: 0.9rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
    animation: fadeIn 0.3s ease;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.1rem;
    background: var(--primary-color);
    border: none;
    margin-top: 10px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    background: var(--dark-green);
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.form-note {
    margin-top: 20px;
    padding: 15px;
    background: var(--light-green);
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--primary-color);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    border-left: 4px solid var(--secondary-color);
}

.form-note i {
    color: var(--secondary-color);
    margin-top: 3px;
}

.success-message {
    animation: fadeIn 0.5s ease;
    margin-top: 20px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Map & Info */
.map-info-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.map-container {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--primary-color);
}

.map-container h2 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.map-wrapper {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--gray-medium);
}

.map-wrapper iframe {
    display: block;
    transition: opacity 0.5s ease;
}

.outline-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 25px;
    width: 100%;
    font-weight: 600;
}

.outline-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Contact Persons */
.contact-persons {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-top: 5px solid var(--secondary-color);
}

.contact-persons h3 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.6rem;
}

.person-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--light-green);
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
}

.person-card:hover {
    transform: translateX(5px);
    background: #e8f5e9;
}

.person-card:last-child {
    margin-bottom: 0;
}

.person-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.person-card:hover .person-avatar {
    transform: scale(1.1);
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
}

.person-info h4 {
    color: var(--primary-color);
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-family: 'Montserrat', sans-serif;
}

.person-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.person-info p i {
    color: var(--primary-color);
    margin-right: 8px;
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background-color: var(--white);
}

.faq-section h2 {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2.3rem;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-medium);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--primary-color);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(10, 92, 54, 0.1);
}

.faq-question {
    padding: 25px 30px;
    background: var(--light-green);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e8f5e9;
}

.faq-question h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===== SOCIAL SECTION ===== */
.social-section {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.social-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
}

.social-section h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.section-sub {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 50px;
    position: relative;
    line-height: 1.6;
}

.social-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.social-link i {
    font-size: 3rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

.social-link span {
    font-weight: 600;
    font-size: 1rem;
}

.social-note {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.social-note i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .form-map-wrapper {
        grid-template-columns: 1fr;
    }
    
    .methods-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .social-links {
        gap: 15px;
    }
    
    .social-link {
        width: 130px;
        height: 130px;
    }
    
    .social-link i {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-hero .subtitle {
        font-size: 1.1rem;
        padding: 0 15px;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-form-container,
    .map-container,
    .contact-persons {
        padding: 30px 25px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 1.1rem;
    }
    
    .social-link {
        width: 120px;
        height: 120px;
        padding: 15px;
    }
    
    .social-link i {
        font-size: 2.5rem;
    }
    
    .social-note {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .person-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 300px;
        height: auto;
        padding: 25px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
    }
    
    .social-link i {
        margin-bottom: 0;
        font-size: 2rem;
    }
    
    .faq-answer p {
        font-size: 0.95rem;
    }
}