/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: #0d0d0d; /* Inherited from body, but good to define context */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px);
    padding-bottom: 60px;
    background-color: #0d0d0d;
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.page-contact__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.page-contact__hero-content {
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}

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

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin: 30px auto 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: none; /* Ensure no color filters */
}

/* General Section Styles */
.page-contact__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(38, 169, 224, 0.3);
}

.page-contact__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Backgrounds */
.page-contact__dark-bg {
    background-color: #0d0d0d;
    color: #ffffff;
}

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

/* CTA Button Styles */
.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    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;
    border-color: #1e87c0;
}

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

.page-contact__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e87c0;
    border-color: #1e87c0;
}

/* Introduction Section */
.page-contact__introduction-section .page-contact__section-title {
    color: #000000;
}
.page-contact__introduction-section .page-contact__text-block {
    color: #333333;
}
.page-contact__introduction-section a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-contact__introduction-section a:hover {
    color: #1e87c0;
}

/* Contact Methods Section */
.page-contact__methods-section .page-contact__text-block {
    color: #f0f0f0;
}

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

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

.page-contact__method-card:hover {
    transform: translateY(-10px);
}

.page-contact__method-icon {
    width: 200px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: none;
}

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

.page-contact__method-description {
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__disclaimer {
    margin-top: 40px;
    font-size: 0.9em;
    color: #cccccc;
    text-align: center;
}

/* Contact Form Section */
.page-contact__form-section .page-contact__section-title,
.page-contact__form-section .page-contact__text-block {
    color: #000000;
}

.page-contact__form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-top: 40px;
    justify-content: center;
    align-items: center;
}

.page-contact__form-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    filter: none;
}

.page-contact__contact-form {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    color: #333333;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    box-sizing: border-box;
    color: #333333;
    background-color: #ffffff;
}

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

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

/* FAQ Section */
.page-contact__faq-section .page-contact__text-block {
    color: #f0f0f0;
}

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

.page-contact__faq-image {
    width: 100%;
    max-width: 450px;
    height: auto;
    object-fit: contain;
    border-radius: 15px;
    filter: none;
}

.page-contact__faq-list {
    flex: 1;
    min-width: 350px;
    max-width: 700px;
}

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    color: #ffffff;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #26A9E0;
    color: #ffffff;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: #1e87c0;
}

.page-contact__faq-title {
    margin: 0;
    color: #ffffff;
    font-size: 1.1em;
}

.page-contact__faq-toggle {
    font-size: 1.8em;
    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;
    background-color: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important;
    padding: 15px 25px 25px;
}

.page-contact__faq-answer p {
    margin: 0;
    color: #f0f0f0;
}

.page-contact__faq-answer a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-contact__faq-answer a:hover {
    color: #1e87c0;
}

/* Why Us Section */
.page-contact__why-us-section .page-contact__section-title,
.page-contact__why-us-section .page-contact__text-block {
    color: #000000;
}

.page-contact__why-us-section a {
    color: #26A9E0;
    text-decoration: underline;
}
.page-contact__why-us-section a:hover {
    color: #1e87c0;
}

.page-contact__advantage-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-contact__advantage-item {
    background-color: #f0f8ff;
    border-left: 5px solid #26A9E0;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: #333333;
    font-size: 1.1em;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-contact__advantage-item strong {
    color: #26A9E0;
}

.page-contact__cta-wrapper {
    margin-top: 40px;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__text-block {
        font-size: 1em;
    }
    .page-contact__container {
        padding: 20px 15px;
    }
    
    /* Mobile image responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-contact__hero-image-wrapper,
    .page-contact__form-wrapper,
    .page-contact__faq-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .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__cta-wrapper,
    .page-contact__button-group,
    .page-contact__btn-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      flex-direction: column !important;
      gap: 15px !important;
    }

    /* Form specific adjustments */
    .page-contact__form-wrapper {
        flex-direction: column;
    }
    .page-contact__form-image {
        order: -1;
    }

    /* FAQ specific adjustments */
    .page-contact__faq-grid {
        flex-direction: column;
    }
    .page-contact__faq-image {
        order: -1;
    }
    .page-contact__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
    .page-contact__faq-title {
        font-size: 1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 10px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__cta-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__contact-form {
        padding: 25px;
    }
}