/* style/contact.css */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

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

.page-contact-hero {
    background-color: #0A2E50;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:hero:contact,support,professional,bj66]') no-repeat center center/cover;
    opacity: 0.2;
    z-index: 0;
}

.page-contact-hero .page-contact-container {
    position: relative;
    z-index: 1;
}

.page-contact-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-contact-subtitle {
    font-size: 2.5em;
    color: #0A2E50;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-contact-subtitle::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-contact-methods {
    padding: 60px 0;
    background-color: #ffffff;
}

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

.page-contact-card {
    background-color: #f0f5f9;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.page-contact-card-title {
    font-size: 1.8em;
    color: #0A2E50;
    margin-bottom: 15px;
}

.page-contact-card p {
    color: #555;
    margin-bottom: 10px;
}

.page-contact-link {
    color: #0A2E50;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

.page-contact-button {
    display: inline-block;
    background-color: #FFD700;
    color: #0A2E50;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-contact-button:hover {
    background-color: #e6c200;
    color: #0A2E50;
}

.page-contact-social-link {
    color: #0A2E50;
    text-decoration: none;
    margin: 0 5px;
    transition: color 0.3s ease;
}

.page-contact-social-link:hover {
    color: #FFD700;
}

.page-contact-form-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.page-contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.page-contact-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #0A2E50;
}

.page-contact-input, .page-contact-textarea {
    width: calc(100% - 24px); /* Account for padding + border */
    padding: 12px 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s ease;
}

.page-contact-input:focus, .page-contact-textarea:focus {
    border-color: #FFD700;
    outline: none;
}

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

.page-contact-submit-button {
    width: 100%;
    padding: 15px;
    font-size: 1.2em;
}

.page-contact-faq {
    padding: 60px 0;
    background-color: #e0e6eb;
}

.page-contact-faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact-faq-question {
    font-size: 1.3em;
    color: #0A2E50;
    margin-bottom: 10px;
    cursor: pointer;
    position: relative;
    padding-right: 30px;
}

.page-contact-faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.2em;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-contact-faq-question.active::after {
    content: '-';
    transform: rotate(180deg);
}

.page-contact-faq-answer {
    color: #555;
    font-size: 1em;
    max-height: 0; /* Initial state for accordion */
    overflow: hidden;
    transition: max-height 0.3s ease, padding-top 0.3s ease, border-top 0.3s ease; /* Smooth transition */
    padding-top: 0;
    border-top: 1px solid transparent;
}

.page-contact-faq-answer.active {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-contact-title {
        font-size: 2.5em;
    }
    .page-contact-subtitle {
        font-size: 2em;
    }
    .page-contact-grid {
        grid-template-columns: 1fr;
    }
    .page-contact-form {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .page-contact-hero, .page-contact-methods, .page-contact-form-section, .page-contact-faq {
        padding: 40px 0;
    }
    .page-contact-title {
        font-size: 2em;
    }
    .page-contact-subtitle {
        font-size: 1.8em;
    }
    .page-contact-card {
        padding: 20px;
    }
    .page-contact-form {
        padding: 20px;
    }
    .page-contact-input, .page-contact-textarea {
        width: calc(100% - 20px);
    }
}