/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    color: #ffffff; /* Default text color for dark body background */
    background-color: #000000; /* Ensure consistency with body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-contact__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3;
}

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

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #f0f0f0;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-contact__btn-primary {
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1e87c0;
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.page-contact__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.page-contact__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #f0f0f0;
}

.page-contact__methods-section,
.page-contact__form-section,
.page-contact__why-contact-section {
    padding: 80px 0;
    background-color: #000000; /* Dark background for sections */
    color: #FFFFFF;
}

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

.page-contact__method-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent light background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #FFFFFF;
}

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

.page-contact__method-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: #26A9E0;
}

.page-contact__method-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
    color: #f0f0f0;
}

.page-contact__method-button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

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

.page-contact__social-icon img {
    
    
    transition: transform 0.3s ease;
}

.page-contact__social-icon img:hover {
    transform: scale(1.1);
}

.page-contact__methods-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: #FFFFFF;
}

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

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
    color: #FFFFFF;
}

.page-contact__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large for content */
    padding: 15px 25px 20px 25px;
}

.page-contact__faq-answer p {
    margin: 0;
    line-height: 1.8;
}

.page-contact__faq-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__feedback-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: #FFFFFF;
}

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

.page-contact__form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #f0f0f0;
}

.page-contact__form-group input,
.page-contact__form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #FFFFFF;
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-group input::placeholder,
.page-contact__form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-group input:focus,
.page-contact__form-group textarea:focus {
    outline: none;
    border-color: #26A9E0;
    box-shadow: 0 0 0 3px rgba(38, 169, 224, 0.3);
}

.page-contact__form-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #26A9E0;
    color: #FFFFFF;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__form-submit:hover {
    background-color: #1e87c0;
    transform: translateY(-2px);
}

.page-contact__form-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__why-list {
    list-style: none;
    padding: 0;
    max-width: 900px;
    margin: 40px auto 40px auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.page-contact__why-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 8px;
    font-size: 1.1em;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    color: #f0f0f0;
    border-left: 5px solid #26A9E0;
}

.page-contact__why-contact-image {
    display: block;
    margin: 40px auto 0 auto;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__hero-section {
        padding: 80px 0;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-contact__hero-title {
        font-size: 2.5em;
    }

    .page-contact__hero-description {
        font-size: 1em;
    }

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

    .page-contact__section-description {
        font-size: 0.95em;
    }

    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__why-contact-section,
    .page-contact__faq-section {
        padding: 50px 0;
    }

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

    .page-contact__method-card,
    .page-contact__faq-item,
    .page-contact__feedback-form,
    .page-contact__why-list {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 18px 20px;
    }

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

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

    .page-contact__form-group input,
    .page-contact__form-group textarea {
        padding: 10px 12px;
    }

    /* Images responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__hero-image,
    .page-contact__methods-image,
    .page-contact__faq-image,
    .page-contact__form-image,
    .page-contact__why-contact-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Buttons responsive */
    .page-contact__cta-button,
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact a[class*="button"],
    .page-contact a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__social-links {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__hero-section {
      padding-top: var(--header-offset, 120px) !important;
    }
}

/* Color Contrast Fixes (if needed, applied automatically by system) */
.page-contact__dark-bg {
  color: #ffffff;
  background: #000000;
}

.page-contact__light-bg {
  color: #333333;
  background: #ffffff;
}

/* Specific overrides for text on brand color backgrounds */
.page-contact__hero-section .page-contact__container {
    color: #FFFFFF;
}

.page-contact__feedback-form label {
    color: #f0f0f0;
}

.page-contact__feedback-form input,
.page-contact__feedback-form textarea {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
}

.page-contact__feedback-form input::placeholder,
.page-contact__feedback-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.7);
}