/* style/contact.css */

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

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

.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    text-align: center;
    color: #ffffff;
    background-color: #0A2239; /* Primary brand color */
    padding: 120px 20px 60px; /* Adjusted padding-top for header offset */
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 8px;
}

.page-contact__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #E5A400; /* Accent color for title */
}

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

.page-contact__btn {
    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, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
    box-sizing: border-box;
    max-width: 100%;
}

.page-contact__btn--primary {
    background-color: #E5A400; /* Accent color */
    color: #0A2239; /* Dark text for accent background */
    border: 2px solid #E5A400;
}

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

.page-contact__btn--secondary {
    background-color: transparent;
    color: #0A2239; /* Dark text for light background */
    border: 2px solid #0A2239;
}

.page-contact__btn--secondary:hover {
    background-color: #0A2239;
    color: #ffffff;
}

.page-contact__section {
    padding: 60px 0;
    text-align: center;
}

.page-contact__section:nth-of-type(odd) {
    background-color: #ffffff;
}

.page-contact__section:nth-of-type(even) {
    background-color: #f0f0f0;
}

.page-contact__section-title {
    font-size: 2.2em;
    color: #0A2239; /* Primary brand color */
    margin-bottom: 20px;
}

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

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

.page-contact__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__feature-title {
    font-size: 1.4em;
    color: #0A2239;
    margin-bottom: 15px;
}

.page-contact__feature-text {
    color: #666666;
}

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

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

.page-contact__method-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact__method-title {
    font-size: 1.5em;
    color: #0A2239;
    margin-bottom: 15px;
}

.page-contact__method-text {
    color: #666666;
    margin-bottom: 20px;
}

.page-contact__method-text a {
    color: #E5A400;
    text-decoration: none;
}

.page-contact__method-text a:hover {
    text-decoration: underline;
}

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

.page-contact__social-icon {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0A2239;
    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: #E5A400;
    color: #0A2239;
}

.page-contact__contact-form-section {
    background-color: #f0f0f0;
}

.page-contact__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
}

.page-contact__form-wrapper {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-contact__form-illustration {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

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

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