/* style/contact.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --bg-light: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-contact {
    color: var(--text-color-light); /* Default for main sections on darkish body */
}

.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--text-color-light);
    overflow: hidden;
}

.page-contact__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-contact__hero-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-contact__main-title {
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 18px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-color-light);
}

.page-contact__highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__section {
    padding: 60px 20px;
    background: var(--bg-light);
    color: var(--text-color-dark);
}

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

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

.page-contact__section-description {
    font-size: 18px;
    line-height: 1.6;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-color-dark);
}

.page-contact__contact-form-section {
    background: #ffffff;
    padding-top: 120px; /* Adjust for fixed header on first content section */
}

.page-contact__form-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.page-contact__form-column {
    flex: 1;
}

.page-contact__image-column {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__form-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__contact-form {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__form-label {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-color-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: 16px;
    color: var(--text-color-dark);
    background: #f9f9f9;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

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

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__submit-button:hover {
    background: #A52A2A;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-contact__direct-contact-section {
    background: var(--bg-light);
}

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

.page-contact__info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 220px; /* Ensure cards have similar height */
}

.page-contact__info-card:hover {
    transform: translateY(-5px);
}

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

.page-contact__info-text,
.page-contact__info-address {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dark);
    margin-bottom: 15px;
    flex-grow: 1;
}

.page-contact__btn-link {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__btn-link:hover {
    background: #FFC107;
    transform: translateY(-1px);
}

.page-contact__social-media-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-color-light);
}

.page-contact__social-media-section .page-contact__section-title {
    color: var(--text-color-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-contact__social-media-section .page-contact__section-description {
    color: var(--text-color-light);
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.page-contact__social-icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-color-light);
    font-weight: bold;
    font-size: 16px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.page-contact__social-icon-link:hover {
    transform: translateY(-5px);
    color: #f0f0f0;
}

.page-contact__social-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    background: #ffffff;
    padding: 5px;
}

.page-contact__why-contact-us-section {
    background: #ffffff;
}

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

.page-contact__feature-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-color-dark);
}

.page-contact__feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.page-contact__feature-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-contact__feature-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color-dark);
}

.page-contact__final-cta {
    font-size: 20px;
    text-align: center;
    margin-top: 50px;
    font-weight: bold;
    color: var(--text-color-dark);
}

.page-contact__center-button {
    text-align: center;
    margin-top: 30px;
}

.page-contact__cta-button--large {
    padding: 18px 50px;
    font-size: 20px;
    background: var(--secondary-color);
}

.page-contact__cta-button--large:hover {
    background: #A52A2A;
}

.page-contact__faq-section {
    background: var(--bg-light);
}

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

.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.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 15px;
    opacity: 0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-color-dark);
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

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

.page-contact__faq-question:active {
    background: #eeeeee;
}

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

.page-contact__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    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: 28px;
    height: 28px;
}

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

.page-contact__faq-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-contact__faq-link:hover {
    text-decoration: underline;
    color: #A52A2A;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 36px;
    }

    .page-contact__section-title {
        font-size: 32px;
    }

    .page-contact__hero-description,
    .page-contact__section-description {
        font-size: 16px;
    }

    .page-contact__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-contact__form-grid {
        flex-direction: column;
        gap: 30px;
    }

    .page-contact__image-column {
        order: -1; /* Image above form on smaller screens */
    }

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

    .page-contact__info-card {
        padding: 25px;
    }

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

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: 160px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__contact-form-section {
        padding-top: 100px !important; /* Mobile: Adjust for fixed header */
    }

    .page-contact__section {
        padding: 40px 15px;
    }

    .page-contact__main-title {
        font-size: 30px;
    }

    .page-contact__section-title {
        font-size: 28px;
    }

    .page-contact__hero-description,
    .page-contact__section-description,
    .page-contact__form-label,
    .page-contact__form-input,
    .page-contact__form-textarea,
    .page-contact__info-text,
    .page-contact__info-address,
    .page-contact__feature-text,
    .page-contact__faq-question h3,
    .page-contact__social-icon-link span {
        font-size: 15px;
    }

    .page-contact__cta-button,
    .page-contact__submit-button,
    .page-contact__btn-link,
    .page-contact__cta-button--large {
        font-size: 16px;
        padding: 12px 25px;
    }

    .page-contact__social-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 5px;
    }

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

    .page-contact__info-title,
    .page-contact__feature-title {
        font-size: 20px;
    }

    .page-contact__final-cta {
        font-size: 18px;
    }

    .page-contact__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-contact__faq-question h3 {
        width: calc(100% - 40px);
    }

    .page-contact__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-contact__faq-answer {
        padding: 0 15px;
    }

    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px !important;
    }
    
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-contact__section,
    .page-contact__container,
    .page-contact__contact-form,
    .page-contact__info-card,
    .page-contact__feature-card,
    .page-contact__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__form-grid {
        padding-left: 0;
        padding-right: 0;
    }
    .page-contact__contact-form-section .page-contact__container {
        padding-left: 0;
        padding-right: 0;
    }
}