/* style/contact.css */

/* --- Base Styles for .page-contact --- */
.page-contact {
    font-family: 'Arial', sans-serif; /* Placeholder font */
    color: #F2FFF6; /* Text Main for dark background */
    background-color: #08160F; /* Background color from custom palette */
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

/* Ensure all sections and containers are responsive by default */
.page-contact__section,
.page-contact__container,
.page-contact__card,
.page-contact__hero-content,
.page-contact__cta-buttons,
.page-contact__contact-cards,
.page-contact__faq-list,
.page-contact__commitment-points {
    width: 100%;
    max-width: 1200px; /* Standard content width */
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 20px;
    padding-right: 20px;
}

/* --- Hero Section --- */
.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, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden; /* Ensure image doesn't overflow */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
    margin-bottom: 40px; /* Space between image and content */
    border-radius: 10px;
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
    margin-top: -80px; /* Pull content slightly over image for visual appeal, but not overlapping text on image */
    background-color: #08160F; /* Match body background */
    border-radius: 10px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.page-contact__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    color: #F2C14E; /* Gold for main title */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-contact__hero-description {
    font-size: 1.15rem;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
    max-width: 800px;
    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 */
}

/* --- Buttons --- */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
    min-width: 180px;
}

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

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

.page-contact__btn-secondary {
    background-color: transparent;
    color: #2AD16F; /* Green from gradient for secondary button text */
    border: 2px solid #2AD16F;
}

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

/* --- Section Titles and Descriptions --- */
.page-contact__section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #F2C14E; /* Gold for section titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}

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

/* --- Contact Info Section --- */
.page-contact__contact-info-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

.page-contact__card {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
    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.5);
}

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

.page-contact__card-text {
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 20px;
}

.page-contact__contact-detail {
    font-size: 1.2rem;
    color: #F2FFF6; /* Text Main */
    font-weight: 600;
    margin-bottom: 20px;
}

/* --- Contact Form Section --- */
.page-contact__contact-form-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 5px;
    background-color: #0A4B2C; /* Deep Green for input background */
    color: #F2FFF6; /* Text Main */
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 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: #57E38D; /* Glow */
    outline: none;
    box-shadow: 0 0 0 3px rgba(87, 227, 141, 0.3);
}

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

/* --- FAQ Section --- */
.page-contact__faq-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.page-contact__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-contact__faq-item[open] {
    background-color: #0A4B2C; /* Deep Green for open item */
    border-color: #57E38D; /* Glow */
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    color: #F2FFF6; /* Text Main */
    transition: color 0.3s ease;
    list-style: none; /* Remove default marker */
}

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

.page-contact__faq-question:hover {
    color: #F2C14E; /* Gold on hover */
}

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

.page-contact__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 20px;
    color: #57E38D; /* Glow */
}

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

.page-contact__faq-answer p {
    margin-bottom: 10px;
}
.page-contact__faq-answer p:last-child {
    margin-bottom: 0;
}
.page-contact__faq-answer a {
    color: #57E38D; /* Glow for links in FAQ */
    text-decoration: underline;
}
.page-contact__faq-answer a:hover {
    color: #F2C14E; /* Gold on hover */
}


/* --- Commitment Section --- */
.page-contact__commitment-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

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

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

.page-contact__commitment-title {
    font-size: 1.4rem;
    color: #57E38D; /* Glow */
    margin-bottom: 15px;
    font-weight: 600;
}

.page-contact__commitment-text {
    color: #A7D9B8; /* Text Secondary */
}

/* --- Responsive Adjustments (Mobile First, then desktop overrides) --- */
@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    /* General responsive padding for content containers */
    .page-contact__section,
    .page-contact__container,
    .page-contact__card,
    .page-contact__hero-content,
    .page-contact__cta-buttons,
    .page-contact__contact-cards,
    .page-contact__faq-list,
    .page-contact__commitment-points {
        padding-left: 15px !important;
        padding-right: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-contact__hero-section {
        padding-top: 10px !important; /* body handles header offset */
        padding-bottom: 40px;
    }

    .page-contact__hero-image {
        margin-bottom: 20px;
    }

    .page-contact__hero-content {
        margin-top: -40px; /* Less overlap on mobile */
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .page-contact__main-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-contact__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .page-contact__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .page-contact__section-title {
        font-size: clamp(1.8rem, 7vw, 2.2rem);
        margin-bottom: 15px;
    }

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

    .page-contact__contact-cards {
        grid-template-columns: 1fr; /* Stack contact cards */
    }

    .page-contact__form {
        padding: 25px;
    }

    .page-contact__form-label {
        font-size: 1rem;
    }

    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px;
        font-size: 0.95rem;
    }

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

    .page-contact__faq-toggle {
        font-size: 1.2rem;
    }

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

    .page-contact__commitment-points {
        grid-template-columns: 1fr; /* Stack commitment items */
    }

    .page-contact__commitment-title {
        font-size: 1.2rem;
    }

    /* Image responsive rules */
    .page-contact img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    /* Video responsive rules (not used on this page, but as a general rule) */
    .page-contact video,
    .page-contact__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-contact__video-section {
        padding-top: 10px !important;
    }
    .page-contact__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Ensure content images are not smaller than 200px (desktop) */
.page-contact__section img,
.page-contact__card img {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow natural width or max-width: 100% */
    height: auto;
}