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

.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, assuming body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
    background-color: #F4F7FB;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 675px;
    overflow: hidden;
    margin-bottom: 30px;
}

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

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

.page-contact__main-title {
    font-size: clamp(28px, 3.5vw, 48px);
    font-weight: 700;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__intro-text {
    font-size: 18px;
    color: #1F2D3D;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

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

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(47, 107, 255, 0.3);
}

.page-contact__info-section,
.page-contact__faq-section {
    padding: 60px 0;
    background-color: #F4F7FB; /* Background */
    color: #1F2D3D; /* Text Main */
}

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

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

.page-contact__section-description {
    font-size: 16px;
    color: #1F2D3D;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

.page-contact__contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

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

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

.page-contact__card-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    min-height: 200px; /* Enforce minimum height */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-contact__card-title {
    font-size: 24px;
    font-weight: 600;
    color: #1F2D3D; /* Text Main */
    margin-bottom: 15px;
}

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

.page-contact__phone-number {
    font-size: 20px;
    font-weight: 700;
    color: #2F6BFF;
    margin-bottom: 20px;
}

.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background-color: #ffffff;
    color: #2F6BFF;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid #2F6BFF;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

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

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

.page-contact__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.page-contact__social-icon img {
    width: 200px; /* Enforced min size */
    height: 200px; /* Enforced min size */
    display: block;
    object-fit: contain;
}

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

.page-contact__form-section {
    padding: 60px 0;
    background-color: #2F6BFF; /* Main color as dark background */
    color: #ffffff; /* White text for dark background */
}

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

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    background-color: #FFFFFF; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid #D6E2FF;
}

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

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

.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;
    background-color: #F4F7FB; /* Background */
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

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

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

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

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

/* FAQ Section Styling */
details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #D6E2FF; /* Border */
  overflow: hidden;
  background: #FFFFFF; /* Card BG */
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
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;
  font-size: 18px;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
}
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: #F4F7FB; /* Background */
}
.page-contact__faq-qtext {
  flex: 1;
  line-height: 1.5;
  text-align: left;
}
.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #2F6BFF; /* Main Color */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 25px;
  background: #F4F7FB; /* Background */
  border-radius: 0 0 8px 8px;
  font-size: 16px;
  color: #1F2D3D; /* Text Main */
  line-height: 1.6;
}
.page-contact__faq-answer p {
    margin: 0;
}
.page-contact__faq-answer a {
    color: #2F6BFF;
    text-decoration: none;
    font-weight: 500;
}
.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-contact__hero-section {
        padding-bottom: 40px;
    }
    .page-contact__main-title {
        font-size: 38px;
    }
    .page-contact__intro-text {
        font-size: 17px;
    }
    .page-contact__section-title {
        font-size: 30px;
    }
    .page-contact__contact-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    .page-contact__card {
        padding: 25px;
    }
    .page-contact__card-title {
        font-size: 22px;
    }
    .page-contact__card-text {
        font-size: 15px;
    }
    .page-contact__form-section {
        padding: 50px 0;
    }
    .page-contact__contact-form {
        padding: 30px;
    }
    details.page-contact__faq-item summary.page-contact__faq-question {
        font-size: 17px;
        padding: 16px 20px;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 20px 20px;
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }
    .page-contact__hero-image-wrapper {
        margin-bottom: 20px;
    }
    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__hero-content {
        padding: 0 15px;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-contact__intro-text {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-contact__cta-buttons {
        flex-direction: column !important; /* Multiple buttons stack vertically */
        gap: 10px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__submit-button,
    .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__info-section,
    .page-contact__form-section,
    .page-contact__faq-section {
        padding: 40px 0;
    }
    .page-contact__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__section-title {
        font-size: 24px;
        margin-bottom: 15px;
    }
    .page-contact__section-description {
        font-size: 14px;
        margin-bottom: 30px;
    }
    .page-contact__contact-cards {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact__card {
        padding: 20px;
    }
    .page-contact__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-height: 200px !important;
    }
    .page-contact__card-title {
        font-size: 20px;
    }
    .page-contact__card-text {
        font-size: 14px;
    }
    .page-contact__social-icon img {
        width: 100% !important;
        height: auto !important;
        max-width: 200px !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-contact__contact-form {
        padding: 25px;
    }
    .page-contact__form-label {
        font-size: 15px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        font-size: 15px;
        padding: 10px 12px;
    }
    .page-contact__submit-button {
        font-size: 16px;
        padding: 12px 20px;
    }
    details.page-contact__faq-item summary.page-contact__faq-question {
        font-size: 16px;
        padding: 15px;
    }
    .page-contact__faq-qtext {
        font-size: 16px;
    }
    .page-contact__faq-toggle {
        font-size: 24px;
        width: 25px;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 15px 15px;
        font-size: 14px;
    }
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__section, .page-contact__card, .page-contact__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}