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

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

.page-contact__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__section-title--light {
    color: #ffffff;
}

.page-contact__section-intro {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #1F2D3D; /* Text Main */
}

.page-contact__section-intro--light {
    color: #f0f0f0;
}

/* --- Hero Section --- */
.page-contact__hero-section {
    padding-top: 10px; /* Small top padding as body handles --header-offset */
    padding-bottom: 50px;
    background: linear-gradient(180deg, #F4F7FB 0%, #D6E2FF 100%); /* Light gradient background */
    margin-bottom: 40px;
}

.page-contact__hero-container {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-contact__hero-image-wrapper {
    flex: 1;
    min-width: 0; /* Allow flex item to shrink */
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(47, 107, 255, 0.2);
}

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

.page-contact__hero-content {
    flex: 1;
    text-align: left;
}

.page-contact__hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #2F6BFF; /* Main color */
    margin-bottom: 20px;
    line-height: 1.2;
}

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

.page-contact__hero-cta-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button gradient */
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #2F6BFF 0%, #4A8BFF 100%);
    box-shadow: 0 8px 20px rgba(47, 107, 255, 0.4);
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    background: #ffffff;
    color: #2F6BFF; /* Main color */
    border: 2px solid #2F6BFF;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__btn-secondary:hover {
    background: #f0f8ff;
    color: #1c4b9e;
    border-color: #1c4b9e;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.page-contact__btn-large {
    min-width: 280px;
    padding: 18px 35px;
    font-size: 20px;
}

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

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

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

.page-contact__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.page-contact__method-icon {
    width: 100%; /* Full width for image in card */
    max-width: 250px; /* Limit max size */
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

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

.page-contact__method-description {
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__contact-form {
    width: 100%;
    margin-top: 20px;
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #D6E2FF; /* Border */
    border-radius: 8px;
    font-size: 16px;
    color: #1F2D3D; /* Text Main */
    background: #fdfdfd;
    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; /* Main color */
    box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
    outline: none;
}

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

.page-contact__contact-form .page-contact__btn-primary {
    width: auto;
    margin-top: 10px;
    align-self: flex-start; /* Align button to left in form */
}

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

.page-contact__social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px;
    background: #6FA3FF; /* Accent color */
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 8px rgba(111, 163, 255, 0.3);
}

.page-contact__social-btn:hover {
    background: #2F6BFF; /* Main color */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(47, 107, 255, 0.4);
}

/* --- Why Contact Section --- */
.page-contact__why-contact-section {
    padding: 80px 0;
    background: #2F6BFF; /* Main color */
    color: #ffffff;
    text-align: center;
}

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

.page-contact__benefit-card {
    background: rgba(255, 255, 255, 0.15); /* Slightly transparent white on dark background */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: left;
}

.page-contact__benefit-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__benefit-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.page-contact__benefit-description {
    font-size: 16px;
    line-height: 1.6;
    color: #f0f0f0;
}

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

.page-contact__faq-list {
    margin-top: 40px;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 4px 15px 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 20px;
  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: #f5f8fc;
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #1F2D3D; /* Text Main */
}
.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #2F6BFF; /* 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: #f9fbfc;
  border-radius: 0 0 5px 5px;
  color: #1F2D3D; /* Text Main */
  font-size: 16px;
}

/* --- Final CTA Section --- */
.page-contact__final-cta-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, #2F6BFF 0%, #6FA3FF 100%); /* Main to Accent gradient */
    color: #ffffff;
    margin-top: 40px;
}

.page-contact__final-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-contact__final-cta-section .page-contact__section-title {
    color: #ffffff;
    margin-bottom: 20px;
}

.page-contact__final-cta-section .page-contact__section-intro {
    color: #f0f0f0;
    margin-bottom: 40px;
}

/* --- Responsive Styles (Desktop first, then mobile) --- */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 42px;
    }
    .page-contact__section-title {
        font-size: 32px;
    }
    .page-contact__hero-container {
        flex-direction: column;
        text-align: center;
    }
    .page-contact__hero-content {
        text-align: center;
    }
    .page-contact__hero-cta-buttons {
        justify-content: center;
    }
    .page-contact__method-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-contact__benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-contact__section-intro {
        font-size: 16px;
        margin-bottom: 30px;
    }

    /* Top Text / Hero Section (first block) */
    .page-contact__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile */
        padding-bottom: 30px;
    }
    .page-contact__hero-container {
        gap: 30px;
    }
    .page-contact__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-contact__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-contact__hero-cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
    .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;
    }

    /* Images */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    .page-contact__hero-image-wrapper,
    .page-contact__method-icon,
    .page-contact__card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Method Cards */
    .page-contact__methods-section {
        padding: 40px 0;
    }
    .page-contact__method-cards {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
    }
    .page-contact__card {
        padding: 25px;
    }
    .page-contact__method-title {
        font-size: 20px;
    }
    .page-contact__contact-form .page-contact__btn-primary {
        width: 100%; /* Full width button in form */
    }
    .page-contact__social-links {
        flex-direction: column; /* Stack social buttons */
        align-items: center;
    }

    /* Why Contact Section */
    .page-contact__why-contact-section {
        padding: 50px 0;
    }
    .page-contact__benefits-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 25px;
    }
    .page-contact__benefit-card {
        padding: 25px;
    }
    .page-contact__benefit-title {
        font-size: 20px;
    }

    /* FAQ Section */
    .page-contact__faq-section {
        padding: 40px 0;
    }
    details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; }
    .page-contact__faq-qtext { font-size: 16px; }
    .page-contact__faq-toggle { font-size: 20px; width: 24px; }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 15px 15px;
        font-size: 15px;
    }

    /* Final CTA Section */
    .page-contact__final-cta-section {
        padding: 50px 0;
    }
    .page-contact__final-cta-section .page-contact__btn-primary {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__final-cta-content {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }
}