/* style/contact.css */
/* Custom properties from shared.css are used for body background. */
/* Body background color: #08160F (dark) */
/* Text Main: #F2FFF6 */
/* Card B G: #11271B */
/* Button gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
/* Text Secondary: #A7D9B8 */
/* Border: #2E7A4E */
/* Glow: #57E38D */
/* Gold: #F2C14E */
/* Divider: #1E3A2A */
/* Deep Green: #0A4B2C */

.page-contact {
    font-family: 'Arial', sans-serif;
    color: #F2FFF6; /* Text Main on dark background */
    line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding for the first section */
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

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

.page-contact__hero-content {
    text-align: center;
    max-width: 900px;
    z-index: 1;
    position: relative;
    padding: 0 20px;
}

.page-contact__main-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-contact__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #A7D9B8; /* Text Secondary */
}

.page-contact__cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__card-button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    min-width: 180px;
}

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

.page-contact__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-contact__btn-secondary {
    background: transparent;
    color: #2AD16F;
    border: 2px solid #2AD16F;
}

.page-contact__btn-secondary:hover {
    background: rgba(42, 209, 111, 0.1);
    transform: translateY(-2px);
}

/* Section Common Styles */
.page-contact__methods-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__why-choose-section {
    padding: 60px 0;
}

.page-contact__section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #F2FFF6; /* Text Main */
}

.page-contact__section-description {
    font-size: 1.05rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #A7D9B8; /* Text Secondary */
}

/* Method Cards */
.page-contact__method-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact__card {
    background: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #F2FFF6; /* Text Main */
}

.page-contact__card-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.page-contact__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #F2FFF6; /* Text Main */
}

.page-contact__card-text {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #A7D9B8; /* Text Secondary */
    flex-grow: 1;
}

.page-contact__contact-info {
    font-size: 1.1rem;
    font-weight: 600;
    color: #F2C14E; /* Gold */
    margin-bottom: 20px;
}

.page-contact__card-button {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #F2FFF6; /* Text Main */
    border: none;
    box-shadow: 0 2px 10px rgba(0, 255, 128, 0.2);
    margin-top: auto;
}

.page-contact__card-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    background: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.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;
    outline: none;
    box-shadow: 0 0 0 3px rgba(42, 209, 111, 0.3);
}

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

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

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

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    background: #0A4B2C; /* Deep Green */
    color: #F2FFF6; /* Text Main */
    transition: background 0.3s ease;
}

.page-contact__faq-item summary {
    list-style: none;
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-contact__faq-question:hover {
    background: #1E3A2A; /* Divider */
}

.page-contact__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: #F2C14E; /* Gold */
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    padding: 15px 25px 25px 25px;
    font-size: 1rem;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
}

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

.page-contact__faq-link {
    color: #2AD16F;
    text-decoration: underline;
}

.page-contact__faq-link:hover {
    color: #57E38D; /* Glow */
}

/* Why Choose Section */
.page-contact__why-choose-section {
    background: #0A4B2C; /* Deep Green - Dark background */
    color: #F2FFF6; /* Text Main */
    padding: 80px 0;
}

.page-contact__why-choose-section .page-contact__section-description {
    color: #A7D9B8; /* Text Secondary */
}

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

.page-contact__feature-item {
    background: #11271B; /* Card B G */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-contact__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #F2FFF6; /* Text Main */
}

.page-contact__feature-text {
    font-size: 0.95rem;
    color: #A7D9B8; /* Text Secondary */
}

.page-contact__cta-buttons--bottom {
    margin-top: 60px;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-section {
        padding: 40px 0;
        padding-top: 10px;
    }

    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__why-choose-section {
        padding: 40px 0;
    }

    .page-contact__card {
        padding: 25px;
    }

    .page-contact__contact-form {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-contact__container {
        padding: 0 15px; /* Add padding for mobile content */
    }

    .page-contact__hero-section {
        padding: 30px 0;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-contact__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .page-contact__hero-description {
        font-size: 1rem;
    }

    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary,
    .page-contact__card-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

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

    .page-contact__method-cards {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-contact__card {
        padding: 20px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-contact__card-image,
    .page-contact__feature-icon,
    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__why-choose-section,
    .page-contact__contact-form,
    .page-contact__faq-list,
    .page-contact__features-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-contact__faq-question {
        font-size: 1rem;
        padding: 15px 20px;
    }

    .page-contact__faq-answer {
        font-size: 0.95rem;
        padding: 10px 20px 20px 20px;
    }

    .page-contact__feature-item {
        padding: 20px;
    }

    .page-contact__feature-icon {
        width: 80px;
        height: 80px;
    }
}