/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--dark-color, #1a1a1a); /* Assuming --dark-color is dark */
    color: #ffffff; /* Light text for dark background */
}

/* Header offset for fixed header */
.page-contact__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* General section styling */
.page-contact__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand color for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Specific text color for sections on light background */
.page-contact__dark-text {
    color: #333333 !important;
}
.page-contact__light-bg .page-contact__dark-text a {
    color: #26A9E0 !important; /* Ensure links are visible on light background */
}
.page-contact__light-bg .page-contact__dark-text a:hover {
    color: #1e87b7 !important;
}


/* Container for content */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: #1a1a1a; /* Dark background for hero */
    overflow: hidden;
    padding-bottom: 60px; /* Add some padding bottom */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Subtle background image */
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
    border-radius: 10px;
}

.page-contact__hero-title {
    font-size: 3.5em;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

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

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

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

.page-contact__btn-secondary:hover {
    background-color: #26A9E0;
    color: #FFFFFF;
}

/* Contact Methods Section */
.page-contact__methods-section {
    padding: 80px 0;
}

.page-contact__light-bg {
    background-color: #FFFFFF;
    color: #333333; /* Dark text for light background */
}
.page-contact__light-bg .page-contact__section-description {
    color: #555555;
}
.page-contact__light-bg .page-contact__section-title {
    color: #26A9E0;
}
.page-contact__light-bg .page-contact__method-text {
    color: #555555;
}


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

.page-contact__method-card {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__method-icon {
    width: 200px; /* Minimum size requirement */
    height: auto;
    max-height: 200px; /* Constrain height */
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px; /* Added for aesthetic */
}

.page-contact__method-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 1em;
    color: #555555;
    margin-bottom: 25px;
    flex-grow: 1; /* Pushes button to bottom */
}

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

.page-contact__social-icon {
    display: inline-block;
    padding: 10px 20px;
    background-color: #26A9E0;
    color: #FFFFFF;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #1e87b7;
}

/* Commitment Section */
.page-contact__commitment-section {
    padding: 80px 0;
}

.page-contact__dark-bg {
    background-color: #26A9E0;
    color: #FFFFFF;
}
.page-contact__dark-bg .page-contact__section-description {
    color: #e0f2f7;
}
.page-contact__dark-bg .page-contact__section-title {
    color: #FFFFFF;
}

.page-contact__commitment-points {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.page-contact__commitment-subtitle {
    font-size: 1.5em;
    color: #FFFFFF;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__commitment-points p {
    color: #f0f0f0;
    margin-bottom: 20px;
    font-size: 1em;
}

.page-contact__commitment-points a {
    color: #FFFFFF;
    text-decoration: underline;
}
.page-contact__commitment-points a:hover {
    color: #e0e0e0;
}
.page-contact__keyword {
    font-weight: bold;
}


/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
}

/* FAQ section is now on light background, so text needs to be dark */
.page-contact__light-bg .page-contact__faq-item {
    background-color: #f9f9f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.page-contact__light-bg .page-contact__faq-question {
    background-color: #f0f0f0;
}
.page-contact__light-bg .page-contact__faq-question:hover {
    background-color: #e0e0e0;
}

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

.page-contact__faq-item {
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact__faq-title {
    font-size: 1.2em;
    margin: 0;
    font-weight: bold;
}