/* style/contact.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --dark-text: #333333;
    --light-text: #ffffff;
    --light-bg: #f8f9fa;
    --medium-gray: #e9ecef;
    --border-color: #dee2e6;
}

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

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

.page-contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Slightly darker blue for depth */
    color: var(--light-text);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-contact-hero-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

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

.page-contact-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
}

.page-contact-cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-text);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-contact-cta-button:hover {
    background-color: #e0a800; /* Slightly darker gold */
    transform: translateY(-3px);
    color: var(--dark-text);
}

.page-contact-cta-button.secondary {
    background-color: var(--primary-color);
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

.page-contact-cta-button.secondary:hover {
    background-color: #0056b3;
    border-color: var(--secondary-color);
    color: var(--light-text);
}

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

.page-contact-section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--dark-text);
}

.page-contact-methods {
    padding: 60px 0;
    background-color: var(--light-bg);
}

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

.page-contact-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px auto;
    object-fit: contain;
    filter: none; /* Ensure no color filters are applied */
}

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

.page-contact-card-text {
    font-size: 1em;
    color: var(--dark-text);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact-card-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact-card-button:hover {
    background-color: #0056b3;
}

.page-contact-email-link, .page-contact-phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact-email-link:hover, .page-contact-phone-link:hover {
    color: var(--secondary-color);
}

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

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

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

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

.page-contact-form-group input[type="text"],
.page-contact-form-group input[type="email"],
.page-contact-form-group input[type="tel"],
.page-contact-form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    color: var(--dark-text);
    background-color: var(--light-bg);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-form-group input:focus,
.page-contact-form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
    outline: none;
}

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

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

.page-contact-submit-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.page-contact-faq {
    padding: 60px 0;
    background-color: var(--light-bg);
}

/* FAQ default state - answer hidden */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: #ffffff;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--dark-text);
    font-weight: bold;
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: var(--dark-text);
}

.faq-answer p {
    margin: 0 0 15px 0;
    padding-top: 10px;
    line-height: 1.8;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px;
    background: #f9f9f9;
    border-top: 1px solid var(--medium-gray);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-contact-commitment {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 80px 20px;
    text-align: center;
}

.page-contact-commitment .page-contact-section-title {
    color: var(--secondary-color);
    margin-top: 0;
}

.page-contact-commitment .page-contact-description {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact-title {
        font-size: 2.5em;
    }
    .page-contact-section-title {
        font-size: 2em;
    }
    .page-contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact-hero {
        padding: 60px 15px;
    }
    .page-contact-title {
        font-size: 2em;
    }
    .page-contact-description {
        font-size: 1em;
    }
    .page-contact-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-contact-section-title {
        font-size: 1.8em;
        margin-top: 40px;
    }
    .page-contact-section-intro {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-contact-grid {
        grid-template-columns: 1fr;
    }
    .page-contact-card {
        padding: 25px;
    }
    .page-contact-card-title {
        font-size: 1.5em;
    }
    .page-contact-form {
        padding: 30px;
    }
    .page-contact-form-group input, .page-contact-form-group textarea {
        width: calc(100% - 20px);
    }
    .faq-question {
        padding: 15px 20px;
        flex-direction: column;
        align-items: flex-start;
    }
    .faq-question h3 {
        font-size: 1.1em;
        margin-bottom: 8px;
    }
    .faq-toggle {
        align-self: flex-end;
        margin-top: -30px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
    .page-contact-commitment {
        padding: 60px 15px;
    }
}

@media (max-width: 480px) {
    .page-contact-title {
        font-size: 1.8em;
    }
    .page-contact-section-title {
        font-size: 1.5em;
    }
    .page-contact-form {
        padding: 20px;
    }
    .page-contact-card-icon {
        width: 80px;
        height: 80px;
    }
}