/* style/contact.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #EA7C07;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #ffffff;
    --background-dark: #26A9E0;
    --border-color: #e0e0e0;
}

.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-contact__dark-section {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-contact__light-bg {
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, var(--primary-color), #007bb6);
    min-height: 300px;
}

.page-contact__hero-container {
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-light);
    font-weight: bold;
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    background: #e06c00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
}

.page-contact__dark-section .page-contact__section-title {
    color: var(--text-light);
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text-dark);
}

.page-contact__dark-section .page-contact__section-description {
    color: rgba(255, 255, 255, 0.8);
}

/* Contact Info Section */
.page-contact__info-section {
    padding: 60px 0;
}

.page-contact__contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__method-card {
    background: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-contact__method-icon {
    width: 100%;
    max-width: 150px;
    height: auto;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact__method-title {
    font-size: 1.5em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__method-text {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.page-contact__method-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 3px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__method-link:hover {
    color: #e06c00;
    border-color: #e06c00;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__form-group {
    margin-bottom: 20px;
}

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-dark);
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #999;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.2);
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__submit-button:hover {
    background: #1f8ec7;
    transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background-color: var(--background-light);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--background-light);
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background: #f5f5f5;
}

.page-contact__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--primary-color);
    pointer-events: none;
}

.page-contact__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background: #f9f9f9;
    color: var(--text-dark);
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid var(--border-color);
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

/* Location Section */
.page-contact__location-section {
    padding: 60px 0;
}

.page-contact__address-map {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
    align-items: flex-start;
}

.page-contact__address {
    flex: 1;
    min-width: 300px;
    padding: 30px;
    background: var(--background-light);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    font-style: normal;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.page-contact__address strong {
    color: var(--primary-color);
    font-size: 1.2em;
    display: block;
    margin-bottom: 10px;
}

.page-contact__map-container {
    flex: 2;
    min-width: 400px;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.page-contact__map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-contact__disclaimer {
    text-align: center;
    margin-top: 30px;
    font-style: italic;
    color: #666;
}

/* Social Section */
.page-contact__social-section {
    padding: 60px 0;
    text-align: center;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 40px;
}

.page-contact__social-icon-link {
    display: inline-block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    background-color: var(--background-light);
}

.page-contact__social-icon-link:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__social-icon-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* General Section Padding */
.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__location-section,
.page-contact__social-section {
    padding: 60px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__section-description {
        font-size: 1em;
    }
    .page-contact__contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-contact__map-container {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__section-title {
        font-size: 1.8em;
    }

    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-contact__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-contact__method-card {
        padding: 20px;
    }

    .page-contact__contact-form {
        padding: 25px;
    }

    .page-contact__form-input,
    .page-contact__form-textarea,
    .page-contact__submit-button {
        padding: 12px;
        font-size: 0.95em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-contact__faq-question {
        padding: 15px 20px;
    }

    .page-contact__faq-question h3 {
        font-size: 1em;
    }

    .page-contact__faq-toggle {
        font-size: 1.5em;
        width: 25px;
        height: 25px;
    }

    .page-contact__faq-answer {
        padding: 0 20px;
    }
    
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px !important;
    }

    .page-contact__address-map {
        flex-direction: column;
        gap: 20px;
    }

    .page-contact__address {
        min-width: auto;
        padding: 25px;
    }

    .page-contact__map-container {
        min-width: auto;
        height: 250px;
    }

    .page-contact__social-links {
        gap: 15px;
    }

    .page-contact__social-icon-link {
        width: 50px;
        height: 50px;
    }

    /* Mobile image responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-contact__hero-image img,
    .page-contact__method-icon,
    .page-contact__map-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__location-section,
    .page-contact__social-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__hero-description {
        font-size: 0.9em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__section-description {
        font-size: 0.9em;
    }
    .page-contact__form-label {
        font-size: 0.9em;
    }
    .page-contact__form-input,
    .page-contact__form-textarea,
    .page-contact__submit-button {
        font-size: 0.9em;
    }
    .page-contact__faq-question h3 {
        font-size: 0.95em;
    }
    .page-contact__faq-answer p {
        font-size: 0.9em;
    }
    .page-contact__address strong {
        font-size: 1.1em;
    }
    .page-contact__address {
        font-size: 0.9em;
    }
    .page-contact__map-container {
        height: 200px;
    }
    .page-contact__social-icon-link {
        width: 45px;
        height: 45px;
    }
}