/* style/contact.css */
.page-contact {
    color: #333333; /* Dark text for default light body background */
}

.page-contact__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    overflow: hidden;
    text-align: center;
    background-color: #f8f8f8;
}

.page-contact__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

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

.page-contact__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
    padding: 30px;
    border-radius: 10px;
    max-width: 80%;
}

.page-contact__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FFD700;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    line-height: 1.6;
}

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

.page-contact__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
}

.page-contact__button--primary {
    background-color: #FFD700;
    color: #1E90FF;
    border: 2px solid #FFD700;
}

.page-contact__button--primary:hover {
    background-color: #e6c200;
    color: #1565b3;
}

.page-contact__button--secondary {
    background-color: #1E90FF;
    color: #ffffff;
    border: 2px solid #1E90FF;
}

.page-contact__button--secondary:hover {
    background-color: #1565b3;
    color: #ffffff;
}

.page-contact__button--small {
    padding: 10px 20px;
    font-size: 0.9em;
    background-color: #1E90FF;
    color: #ffffff;
}

.page-contact__button--small:hover {
    background-color: #1565b3;
}

.page-contact__button--large {
    padding: 15px 35px;
    font-size: 1.3em;
    background-color: #FFD700;
    color: #1E90FF;
    border: 2px solid #FFD700;
}

.page-contact__button--large:hover {
    background-color: #e6c200;
    color: #1565b3;
}

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

.page-contact__section-title {
    font-size: 2.2em;
    color: #1E90FF;
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-contact__section-subtitle {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #555555;
}

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

.page-contact__method-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    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 6px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__method-icon {
    width: 250px; /* Min size 200px, so 250px is fine */
    height: 187px; /* Corresponding height for 4:3 aspect ratio if 250px width */
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact__method-title {
    font-size: 1.6em;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-contact__method-description {
    font-size: 1em;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__form-section {
    background-color: #f2f7fc;
    padding: 80px 0;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.page-contact__form-label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333333;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #1E90FF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(30, 144, 255, 0.2);
}

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

.page-contact__button--submit {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #FFD700;
    color: #1E90FF;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__button--submit:hover {
    background-color: #e6c200;
    color: #1565b3;
}

.page-contact__cta-section {
    background-color: #1E90FF;
    padding: 80px 20px;
    text-align: center;
    color: #ffffff;
}

.page-contact__cta-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #FFD700;
}

.page-contact__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.2em;
    }

    .page-contact__hero-description {
        font-size: 1.1em;
    }

    .page-contact__section-title {
        font-size: 2em;
    }

    .page-contact__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px);
        padding: 40px 15px;
    }

    .page-contact__hero-content {
        padding: 20px;
        max-width: 90%;
    }

    .page-contact__hero-title {
        font-size: 1.8em;
    }

    .page-contact__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-contact__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact__button {
        width: 100%;
    }

    .page-contact__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
        margin-top: 40px;
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

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

    .page-contact__method-icon {
        width: 200px; /* Ensure minimum size */
        height: auto; /* Maintain aspect ratio */
    }

    .page-contact__method-title {
        font-size: 1.4em;
    }

    .page-contact__form-section {
        padding: 60px 0;
    }

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

    .page-contact__cta-section {
        padding: 60px 15px;
    }

    .page-contact__cta-title {
        font-size: 2em;
    }

    .page-contact__cta-description {
        font-size: 1.1em;
    }

    /* Ensure images within .page-contact do not overflow */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }

    .page-contact__container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.5em;
    }

    .page-contact__hero-description {
        font-size: 0.9em;
    }

    .page-contact__section-title {
        font-size: 1.6em;
    }

    .page-contact__cta-title {
        font-size: 1.8em;
    }

    .page-contact__button--large {
        font-size: 1.1em;
        padding: 12px 25px;
    }
}