.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #1F2D3D; /* Text Main color for light background */
    background-color: #F4F7FB; /* Background color */
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px 20px 60px; /* 10px top padding, not var(--header-offset) */
    background-color: #F4F7FB;
    overflow: hidden;
}

.page-contact__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for large screens */
    height: auto;
    display: block;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

.page-contact__main-title {
    font-size: 44px;
    font-weight: 700;
    color: #000000; /* Custom Color_1776249996415 */
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-contact__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #1F2D3D;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.3);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(47, 107, 255, 0.4);
}

/* General Section Styles */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    text-align: center;
    margin-top: 60px;
    margin-bottom: 20px;
}

.page-contact__section-description {
    font-size: 17px;
    color: #1F2D3D;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

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

.page-contact__method-card {
    background: #FFFFFF; /* Card BG */
    border: 1px solid #D6E2FF; /* Border color */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-contact__card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto 25px;
    border-radius: 8px;
}

.page-contact__card-title {
    font-size: 24px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 15px;
}

.page-contact__card-text {
    font-size: 16px;
    color: #1F2D3D;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    margin-top: auto; /* Push to bottom */
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(47, 107, 255, 0.3);
}

.page-contact__social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    justify-content: center;
    margin-top: auto; /* Push to bottom */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: #ffffff;
    color: #2F6BFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    border: 2px solid #2F6BFF;
    transition: all 0.3s ease;
    cursor: pointer;
    flex-grow: 1;
    max-width: 48%; /* Adjust for two buttons in a row */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-secondary:hover {
    background: #2F6BFF;
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(47, 107, 255, 0.3);
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #F4F7FB;
}

.page-contact__form-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #FFFFFF;
    border: 1px solid #D6E2FF;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.page-contact__contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.page-contact__form-label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1F2D3D;
    margin-bottom: 8px;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D6E2FF;
    border-radius: 8px;
    font-size: 16px;
    color: #1F2D3D;
    background-color: #f9f9f9;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #2F6BFF;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
    outline: none;
}

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

.page-contact__submit-button {
    display: block;
    width: auto;
    padding: 15px 40px;
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: flex-start; /* Align button to start */
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(47, 107, 255, 0.4);
}

.page-contact__form-image {
    width: 100%;
    max-width: 450px; /* Adjust max-width for better visual balance */
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0 80px;
    background-color: #F4F7FB;
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid #D6E2FF;
  overflow: hidden;
  background: #ffffff; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
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: #f5f8ff; /* Lighter hover for contrast */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D;
}
.page-contact__faq-toggle {
  font-size: 28px; /* Slightly larger for better visibility */
  font-weight: bold;
  color: #2F6BFF; /* Brand color for toggle icon */
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px; /* Adjust size */
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #f9f9f9; /* Slightly off-white for answer background */
  border-radius: 0 0 10px 10px;
  color: #1F2D3D;
  font-size: 16px;
}
details.page-contact__faq-item[open] summary.page-contact__faq-question {
    background-color: #eaf1ff; /* Highlight when open */
    border-bottom: 1px solid #D6E2FF;
}

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

    /* Hero Section Mobile */
    .page-contact__hero-section {
        padding: 10px 15px 40px;
    }

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

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

    .page-contact__hero-description {
        font-size: 16px;
        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;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* General Section Styles Mobile */
    .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-top: 40px;
        margin-bottom: 15px;
    }

    .page-contact__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }

    /* Contact Methods Section Mobile */
    .page-contact__methods-section {
        padding: 40px 0;
    }

    .page-contact__method-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

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

    .page-contact__card-image {
        margin-bottom: 20px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__card-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .page-contact__card-text {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-contact__btn-primary {
        padding: 12px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__social-links {
        flex-direction: column;
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    .page-contact__btn-secondary {
        padding: 12px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

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

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

    .page-contact__form-label {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .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 30px;
        font-size: 16px;
        align-self: stretch;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    /* FAQ Section Mobile */
    .page-contact__faq-section {
        padding: 40px 0 60px;
    }

    details.page-contact__faq-item summary.page-contact__faq-question {
        padding: 15px 20px;
    }
    .page-contact__faq-qtext {
        font-size: 16px;
    }
    .page-contact__faq-toggle {
        font-size: 24px;
        margin-left: 15px;
        width: 25px;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }
}