/* style/contact.css */

/* --- Base Styles --- */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    /* body padding-top is handled by shared.css */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #F2FFF6; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #A7D9B8; /* 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 {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-contact__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #22C768; /* Auxiliary color */
    border: 2px solid #22C768; /* Border */
}

.page-contact__btn-secondary:hover {
    background-color: #22C768;
    color: #08160F; /* Background */
    transform: translateY(-2px);
}

/* --- Hero Section --- */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px; /* Space for content below image */
    padding-top: 10px; /* Small top padding */
    overflow: hidden;
    background-color: #0A4B2C; /* Deep Green fallback */
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px; /* Space between image and text */
}

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

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

.page-contact__main-title {
    font-size: clamp(2.2em, 5vw, 3.5em); /* Responsive font size */
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-contact__description {
    font-size: 1.2em;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* --- Contact Methods Section --- */
.page-contact__contact-methods-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
    border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-contact__method-card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    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 10px 25px rgba(17, 168, 78, 0.3);
}

.page-contact__method-icon {
    width: 200px; /* Ensured min 200px */
    height: 200px; /* Ensured min 200px */
    margin-bottom: 20px;
    object-fit: contain;
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    display: block;
}

.page-contact__method-title {
    font-size: 1.5em;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__method-text {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 25px;
    flex-grow: 1; /* Push button to bottom */
}

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

.page-contact__social-icon-link img {
     /* Display size */
     /* Display size */
    object-fit: contain;
    transition: transform 0.2s ease;
    max-width: 100%; /* Ensure images are responsive */
    height: auto;
    display: block;
}

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

/* --- Contact Form Section --- */
.page-contact__contact-form-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 30px;
    background-color: #11271B; /* Card BG */
    border-radius: 12px;
    border: 1px solid #2E7A4E; /* Border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border-radius: 8px;
    border: 1px solid #2E7A4E; /* Border */
    background-color: #08160F; /* Background */
    color: #F2FFF6; /* Text Main */
    font-size: 1em;
    box-sizing: border-box;
}

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

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #2AD16F; /* Button primary color for focus */
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

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

.page-contact__form-submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    margin-top: 10px;
}

/* --- FAQ Section --- */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-contact__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__faq-item {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    color: #F2FFF6; /* Text Main */
    font-weight: bold;
    font-size: 1.15em;
    outline: none;
    list-style: none; /* Remove default marker */
    -webkit-tap-highlight-color: transparent;
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-contact__faq-qtext {
    flex-grow: 1;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    margin-left: 15px;
    color: #2AD16F; /* Button primary color */
    transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X */
}

.page-contact__faq-answer {
    padding: 0 25px 20px;
    color: #A7D9B8; /* Text Secondary */
    font-size: 1em;
    line-height: 1.8;
}

.page-contact__faq-answer p {
    margin-bottom: 10px;
}

.page-contact__faq-answer a {
    color: #2AD16F; /* Link color */
    text-decoration: none;
}

.page-contact__faq-answer a:hover {
    text-decoration: underline;
}


/* --- CTA Section --- */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: #0A4B2C; /* Deep Green */
    text-align: center;
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-contact__cta-section .page-contact__section-description {
    margin-bottom: 30px;
}

.page-contact__large-btn {
    padding: 18px 40px;
    font-size: 1.3em;
    min-width: 250px;
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
    .page-contact__hero-image-wrapper {
        max-height: 400px;
    }
    .page-contact__main-title {
        font-size: clamp(2em, 6vw, 3em);
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__method-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-bottom: 40px;
    }
    .page-contact__hero-image-wrapper {
        max-height: 300px;
    }
    .page-contact__hero-content {
        padding: 0 15px;
    }
    .page-contact__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }
    .page-contact__description {
        font-size: 1em;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .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;
    }
    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-contact__contact-methods-section,
    .page-contact__contact-form-section,
    .page-contact__faq-section,
    .page-contact__cta-section {
        padding: 50px 0;
    }
    .page-contact__container {
        padding: 0 15px;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
    }
    .page-contact__method-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        width: 100%;
        padding: 10px;
    }
    .page-contact__faq-item summary {
        font-size: 1.05em;
        padding: 15px 20px;
    }
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__hero-image-wrapper,
    .page-contact__method-card,
    .page-contact__contact-form,
    .page-contact__faq-list,
    .page-contact__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Ensure no horizontal overflow */
    }
    .page-contact__hero-section {
        padding-top: 10px !important;
    }
    .page-contact p,
    .page-contact li {
      font-size: 16px;
      line-height: 1.6;
    }
    .page-contact__social-icon-link img {
        
        
    }
}