/* style/contact.css */

/* General styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Text Main */
    background: #F5F7FA; /* Background */
    padding-bottom: 40px;
}

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

.page-contact__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #E53935; /* Main Color */
    text-align: center;
    margin-bottom: 40px;
    padding-top: 40px;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    overflow: hidden;
    background-color: #E53935; /* Main Color */
    padding-top: 10px; /* Small top padding, relying on body for header offset */
}

.page-contact__hero-image-container {
    width: 100%;
    max-height: 675px; /* Max height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-contact__hero-content {
    background-color: #FFFFFF; /* Card BG */
    padding: 40px 20px;
    text-align: center;
    max-width: 800px;
    margin: -60px auto 40px auto; /* Overlap slightly on desktop */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
    z-index: 1;
}

.page-contact__main-title {
    font-size: 42px;
    font-weight: 800;
    color: #E53935; /* Main Color */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__description {
    font-size: 18px;
    color: #333333; /* Text Main */
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button Gradient */
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* For button responsiveness */
    box-sizing: border-box; /* For button responsiveness */
    white-space: normal; /* For button responsiveness */
    word-wrap: break-word; /* For button responsiveness */
}

.page-contact__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(229, 57, 53, 0.4);
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background: #F5F7FA; /* Background */
}

.page-contact__form-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #FFFFFF; /* Card BG */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.page-contact__form-illustration {
    flex: 1;
    min-width: 400px;
}

.page-contact__form-illustration img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.page-contact__contact-form {
    flex: 1;
    min-width: 400px;
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333333; /* Text Main */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #E0E0E0; /* Border Color */
    border-radius: 5px;
    font-size: 16px;
    color: #333333;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

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

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

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Button Gradient */
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    max-width: 100%; /* For button responsiveness */
    box-sizing: border-box; /* For button responsiveness */
    white-space: normal; /* For button responsiveness */
    word-wrap: break-word; /* For button responsiveness */
}

.page-contact__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(229, 57, 53, 0.3);
}

/* Other Methods Section */
.page-contact__other-methods-section {
    padding: 60px 0;
    background: #F5F7FA; /* Background */
}

.page-contact__methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-contact__method-card {
    background: #FFFFFF; /* Card BG */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    /* Source image will be 200x200 or larger, display at 80x80 */
}

.page-contact__method-title {
    font-size: 24px;
    font-weight: 700;
    color: #E53935; /* Main Color */
    margin-bottom: 15px;
}

.page-contact__method-description,
.page-contact__phone-number {
    font-size: 16px;
    color: #333333; /* Text Main */
    margin-bottom: 20px;
}

.page-contact__btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    background: #FFFFFF;
    color: #E53935; /* Main Color */
    border: 2px solid #E53935; /* Main Color */
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease;
    max-width: 100%; /* For button responsiveness */
    box-sizing: border-box; /* For button responsiveness */
    white-space: normal; /* For button responsiveness */
    word-wrap: break-word; /* For button responsiveness */
}

.page-contact__btn-secondary:hover {
    background: #E53935;
    color: #ffffff;
}

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

.page-contact__social-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E53935; /* Main Color */
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
    background: #FF5A4F; /* Accent Color */
    transform: translateY(-2px);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background: #F5F7FA; /* Background */
}

.page-contact__faq-illustration-container {
    text-align: center;
    margin-bottom: 40px;
}

.page-contact__faq-illustration {
    max-width: 100%;
    height: auto;
    display: inline-block; /* To center it */
    border-radius: 8px;
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #E0E0E0; /* Border Color */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  color: #333333; /* Text Main */
}
details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #E53935; /* Main Color for question text */
}
details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}
details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background: #f5f5f5;
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Text Main */
}
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #E53935; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #333333; /* Text Main */
}
.page-contact__faq-answer p {
    margin: 0;
    padding: 0;
    font-size: 16px;
}


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

    .page-contact__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__section-title {
        font-size: 28px;
        margin-bottom: 30px;
        padding-top: 30px;
    }

    /* Hero Section - Mobile */
    .page-contact__hero-section {
        padding-top: 10px !important; /* Consistent small top padding */
    }

    .page-contact__hero-image-container {
        max-height: 300px;
    }

    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__hero-content {
        padding: 30px 15px;
        margin: -40px auto 30px auto;
    }

    .page-contact__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-contact__description {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .page-contact__cta-button {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Form Section - Mobile */
    .page-contact__form-section {
        padding: 40px 0;
    }

    .page-contact__form-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__form-illustration {
        min-width: unset;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__contact-form {
        min-width: unset;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__submit-button {
        padding: 12px 15px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Other Methods Section - Mobile */
    .page-contact__other-methods-section {
        padding: 40px 0;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__method-card {
        padding: 25px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__method-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
        max-width: 100% !important;
        height: auto !important;
    }
    
    .page-contact__method-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .page-contact__method-description,
    .page-contact__phone-number {
        font-size: 15px;
        margin-bottom: 15px;
    }

    .page-contact__btn-secondary {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__social-links {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* FAQ Section - Mobile */
    .page-contact__faq-section {
        padding: 40px 0;
    }

    .page-contact__faq-illustration-container {
        margin-bottom: 30px;
    }
    .page-contact__faq-illustration {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__faq-list {
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
    .page-contact__faq-qtext { font-size: 15px; }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 15px 15px;
    }
    .page-contact__faq-answer p {
        font-size: 15px;
    }
}