/* General Styling */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F3F8FF; /* Text Main */
    background-color: #08162B; /* Deep Navy from body, for consistency */
}

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

.page-contact__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #F3F8FF; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-contact__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #F2C14E 0%, #1D5FD1 100%); /* Gold to Auxiliary */
    border-radius: 2px;
}

.page-contact__section-description {
    font-size: 18px;
    color: #AFC4E8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__faq-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(17, 60, 122, 0.4);
}

.page-contact__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 60, 122, 0.6);
}

.page-contact__btn-secondary,
.page-contact__faq-btn {
    background: transparent;
    color: #F2C14E; /* Gold */
    border: 2px solid #F2C14E; /* Gold */
    box-shadow: 0 2px 10px rgba(242, 193, 78, 0.2);
}

.page-contact__btn-secondary:hover,
.page-contact__faq-btn:hover {
    background: #F2C14E; /* Gold */
    color: #08162B; /* Deep Navy */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
    margin-bottom: 60px;
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
    display: block;
}

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    padding: 80px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__main-title {
    font-size: 52px;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.page-contact__hero-description {
    font-size: 20px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 40px;
    max-width: 700px;
}

.page-contact__hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Contact Form Section */
.page-contact__contact-form-section {
    padding: 60px 0;
    background-color: #08162B; /* Deep Navy */
}

.page-contact__form-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #10233F; /* Card BG */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.page-contact__form-image {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

.page-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;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 8px;
    font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #244D84; /* Border */
    background-color: #08162B; /* Deep Navy */
    color: #F3F8FF; /* Text Main */
    font-size: 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #AFC4E8; /* Text Secondary */
    opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #1D5FD1; /* Auxiliary */
    box-shadow: 0 0 0 3px rgba(29, 95, 209, 0.3);
    outline: none;
}

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

.page-contact__form-submit-btn {
    width: auto;
    align-self: flex-start;
    padding: 12px 30px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 60, 122, 0.4);
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__form-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 60, 122, 0.6);
}

/* Alternative Methods Section */
.page-contact__alternative-methods-section {
    padding: 60px 0;
    background-color: #08162B; /* Deep Navy */
}

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

.page-contact__method-card {
    background: #10233F; /* Card BG */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-contact__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 50%; /* Example styling, ensure it's not a small icon */
    background-color: rgba(29, 95, 209, 0.1);
    padding: 10px;
}

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

.page-contact__method-description {
    font-size: 16px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

.page-contact__method-btn {
    width: 100%;
}

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

.page-contact__social-icon-link img {
    
    
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: #08162B; /* Deep Navy */
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
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;
  color: #F3F8FF; /* Text Main */
  font-weight: 600;
  font-size: 18px;
}
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: rgba(29, 95, 209, 0.1); /* Auxiliary with opacity */
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}
.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #F2C14E; /* Gold */
  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: rgba(16, 35, 63, 0.8); /* Slightly darker Card BG */
  border-radius: 0 0 12px 12px;
  color: #AFC4E8; /* Text Secondary */
  font-size: 16px;
}
.page-contact__faq-answer p {
    margin-bottom: 15px;
}
.page-contact__faq-answer a {
    text-decoration: none;
}
.page-contact__faq-btn {
    margin-top: 10px;
    padding: 8px 18px;
    font-size: 16px;
}

/* CTA Section */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: #08162B; /* Deep Navy */
}

.page-contact__cta-section .page-contact__container {
    background: #10233F; /* Card BG */
    border-radius: 12px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    border: 1px solid #244D84; /* Border */
}

.page-contact__cta-section .page-contact__section-title {
    color: #F3F8FF; /* Text Main */
    margin-bottom: 15px;
}

.page-contact__cta-section .page-contact__section-title::after {
    background: linear-gradient(90deg, #1D5FD1 0%, #F2C14E 100%); /* Auxiliary to Gold */
}

.page-contact__cta-section .page-contact__section-description {
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 40px;
}

.page-contact__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Image responsive base */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Tablet Responsive */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 44px;
    }
    .page-contact__hero-description {
        font-size: 18px;
    }
    .page-contact__form-wrapper {
        flex-direction: column;
        padding: 30px;
    }
    .page-contact__form-image {
        max-width: 100%;
    }
    .page-contact__form-submit-btn {
        align-self: stretch;
    }
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-contact__faq-qtext {
        font-size: 17px;
    }
    .page-contact__faq-question {
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 0 20px 20px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-contact__container {
        padding: 15px;
    }

    /* Hero Section */
    .page-contact__hero-section {
        padding-top: 10px; /* Small top padding */
        margin-bottom: 40px;
    }
    .page-contact__hero-content {
        min-height: 400px;
        padding: 60px 15px;
    }
    .page-contact__main-title {
        font-size: 32px; /* clamp(32px, 8vw, 52px) */
        margin-bottom: 15px;
    }
    .page-contact__hero-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-contact__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__faq-btn {
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 20px;
        font-size: 16px;
    }

    /* Contact Form Section */
    .page-contact__contact-form-section {
        padding: 40px 0;
    }
    .page-contact__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-contact__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-contact__form-wrapper {
        padding: 20px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 15px;
    }
    .page-contact__form-label {
        font-size: 15px;
    }
    .page-contact__form-submit-btn {
        padding: 10px 25px;
        font-size: 16px;
    }

    /* Alternative Methods Section */
    .page-contact__alternative-methods-section {
        padding: 40px 0;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact__method-card {
        padding: 25px;
    }
    .page-contact__method-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    .page-contact__method-title {
        font-size: 20px;
        margin-bottom: 10px;
    }
    .page-contact__method-description {
        font-size: 15px;
        margin-bottom: 20px;
    }

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

    /* CTA Section */
    .page-contact__cta-section {
        padding: 50px 0;
    }
    .page-contact__cta-section .page-contact__container {
        padding: 40px 20px;
    }
    .page-contact__cta-section .page-contact__section-title {
        font-size: 26px;
    }
    .page-contact__cta-section .page-contact__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px; /* Added for container padding */
        padding-right: 15px; /* Added for container padding */
    }

    /* Global mobile image and button adapt */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__container,
    .page-contact__form-wrapper,
    .page-contact__methods-grid,
    .page-contact__faq-list,
    .page-contact__cta-section .page-contact__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__hero-cta,
    .page-contact__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 15px;
        flex-direction: column !important;
    }
}