/* style/contact.css */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
}

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

/* Hero Section */
.page-contact__hero-section {
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--accent-color); /* Matches body background */
    text-align: center;
    position: relative;
}

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

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

.page-contact__hero-content {
    padding: 40px 20px;
    color: #ffffff;
    max-width: 900px;
    margin: 0 auto;
}

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

.page-contact__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* General Section Title */
.page-contact__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 25px;
    text-align: center;
    color: #333333; /* Default for light backgrounds */
}

.page-contact__section-title--white {
    color: #ffffff; /* For dark backgrounds */
}

/* Paragraphs */
.page-contact__paragraph {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    text-align: justify;
    color: #333333; /* Default for light backgrounds */
}

.page-contact__paragraph--white {
    color: #ffffff; /* For dark backgrounds */
}

/* Buttons */
.page-contact__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* For responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
}

.page-contact__btn-primary {
    background-color: #26A9E0; /* Main color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-contact__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-contact__btn-small {
    padding: 10px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
}

/* Intro Section */
.page-contact__intro-section {
    padding: 60px 0;
    background-color: #ffffff; /* Light background */
    color: #333333;
}

/* Contact Methods Section */
.page-contact__contact-methods {
    padding: 60px 0;
    background-color: #26A9E0; /* Dark background */
    color: #ffffff;
}

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

.page-contact__method-card {
    background-color: #ffffff; /* Light background for cards */
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
}

.page-contact__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain; /* Ensure icons are fully visible */
}

.page-contact__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #26A9E0; /* Use brand color for card titles */
}

.page-contact__card-text {
    font-size: 0.95rem;
    margin-bottom: 20px;
    text-align: justify;
}

.page-contact__email-address,
.page-contact__phone-number {
    font-weight: 600;
    margin-bottom: 20px;
    color: #333333;
}

.page-contact__social-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-contact__social-list li {
    margin-bottom: 10px;
}

.page-contact__social-list a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-contact__social-list a:hover {
    color: #1a8cc7;
    text-decoration: underline;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background-color: #f9f9f9; /* Light background */
    color: #333333;
}

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

.page-contact__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #26A9E0;
    list-style: none; /* Hide default marker */
    outline: none;
}

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

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

.page-contact__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 10px;
    color: #333333;
    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 20px 20px;
    font-size: 1rem;
    line-height: 1.7;
    color: #555555;
    text-align: justify;
}

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

.page-contact__faq-link {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    font-weight: 600;
}

/* Commitment Section */
.page-contact__commitment-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Dark background */
    color: #ffffff;
    text-align: center;
}

.page-contact__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__commitment-list li {
    margin-bottom: 15px;
    font-size: 1.1rem;
    line-height: 1.6;
    position: relative;
    padding-left: 30px;
}

.page-contact__commitment-list li::before {
    content: '✅'; /* Checkmark icon */
    position: absolute;
    left: 0;
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-contact__container {
        padding: 20px 30px;
    }

    .page-contact__hero-content {
        padding: 30px 20px;
    }

    .page-contact__hero-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }

    .page-contact__hero-description {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }

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

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

    .page-contact__method-card {
        padding: 25px;
    }

    .page-contact__card-title {
        font-size: 1.3rem;
    }

    .page-contact__faq-item summary {
        font-size: 1rem;
        padding: 18px;
    }
}

@media (max-width: 768px) {
    /* General images within content area */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-contact__container {
        padding: 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section - Mobile */
    .page-contact__hero-section {
        padding-top: 10px !important; /* Small top padding */
    }

    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important; /* Ensure image is fully visible, not cropped */
        aspect-ratio: unset !important; /* Remove aspect ratio */
        max-height: none !important;
    }

    .page-contact__hero-content {
        padding: 20px 15px;
    }

    .page-contact__hero-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-contact__hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .page-contact__button-group {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden;
    }

    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* General Sections - Mobile */
    .page-contact__intro-section,
    .page-contact__contact-methods,
    .page-contact__faq-section,
    .page-contact__commitment-section {
        padding: 40px 0;
    }

    .page-contact__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 20px;
    }

    .page-contact__paragraph {
        font-size: 0.9rem;
    }

    /* Contact Methods Grid - Mobile */
    .page-contact__methods-grid {
        grid-template-columns: 1fr; /* Single column */
        gap: 20px;
    }

    .page-contact__method-card {
        padding: 20px;
    }

    .page-contact__method-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }

    .page-contact__card-title {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .page-contact__card-text {
        font-size: 0.85rem;
    }

    /* FAQ Section - Mobile */
    .page-contact__faq-list {
        margin-top: 30px;
    }

    .page-contact__faq-item summary {
        padding: 15px;
        font-size: 0.95rem;
    }

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

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

    .page-contact__faq-link {
        font-size: 0.9rem;
        padding: 8px 15px;
        border-radius: 25px;
    }

    /* Commitment List - Mobile */
    .page-contact__commitment-list li {
        font-size: 1rem;
        padding-left: 25px;
    }
}