.page-contact {
    color: #ffffff; /* Light text for dark body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-contact__hero-section {
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.8), rgba(255, 215, 0, 0.8)); /* Blend of auxiliary and primary color */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%; /* Ensure image fits container */
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

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

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

.page-contact__button {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    min-width: 180px;
}

.page-contact__button--primary {
    background-color: #FFD700; /* Primary color */
    color: #1a1a1a; /* Dark text for primary button */
    border: 2px solid #FFD700;
}

.page-contact__button--primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__button--secondary {
    background-color: transparent;
    color: #FFD700; /* Primary color text for secondary button */
    border: 2px solid #FFD700;
}

.page-contact__button--secondary:hover {
    background-color: rgba(255, 215, 0, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.2);
}

.page-contact__info-section,
.page-contact__form-section,
.page-contact__cta-section {
    padding: 60px 20px;
    margin-bottom: 20px;
    border-radius: 10px;
}

.page-contact__info-section {
    background-color: #0A192F; /* Body background color */
}

.page-contact__form-section {
    background-color: rgba(30, 144, 255, 0.1); /* Light blue tint */
}

.page-contact__cta-section {
    background-color: rgba(255, 215, 0, 0.1); /* Light gold tint */
    text-align: center;
}

.page-contact__info-container,
.page-contact__form-container,
.page-contact__cta-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-contact__info-title,
.page-contact__form-title,
.page-contact__cta-title {
    font-size: 2.8em;
    color: #FFD700; /* Primary color for titles */
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-contact__info-text,
.page-contact__form-description,
.page-contact__cta-description {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__card {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

.page-contact__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__card-icon {
    width: 250px; /* Min size 200x200px, so 250px is fine */
    height: 187px; /* Maintain aspect ratio for 800x600 */
    object-fit: contain;
    margin-bottom: 25px;
    border-radius: 5px;
}

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

.page-contact__card-description {
    font-size: 1em;
    color: #cccccc;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__card-link,
.page-contact__social-icon {
    display: inline-block;
    color: #1E90FF; /* Auxiliary color for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 1.1em;
}

.page-contact__card-link:hover,
.page-contact__social-icon:hover {
    color: #FFD700; /* Primary color on hover */
}

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

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

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

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    color: #FFD700;
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    font-size: 1em;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #999999;
}

.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.3);
}

.page-contact__form-textarea {
    resize: vertical;
}

.page-contact__button--submit {
    width: 100%;
    background-color: #1E90FF; /* Auxiliary color for submit button */
    color: #ffffff;
    border: 2px solid #1E90FF;
    padding: 15px 0;
    font-size: 1.2em;
}

.page-contact__button--submit:hover {
    background-color: #1565b3;
    border-color: #1565b3;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 144, 255, 0.4);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.8em;
    }
    .page-contact__info-title,
    .page-contact__form-title,
    .page-contact__cta-title {
        font-size: 2.4em;
    }
    .page-contact__contact-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 60px 15px;
    }
    .page-contact__hero-title {
        font-size: 2.2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact__button {
        width: 80%;
        max-width: 300px;
    }

    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__cta-section {
        padding: 40px 15px;
    }
    .page-contact__info-title,
    .page-contact__form-title,
    .page-contact__cta-title {
        font-size: 2em;
    }
    .page-contact__info-text,
    .page-contact__form-description,
    .page-contact__cta-description {
        font-size: 0.95em;
    }

    .page-contact__contact-cards {
        grid-template-columns: 1fr;
    }
    .page-contact__card {
        padding: 25px;
    }
    .page-contact__card-icon {
        width: 200px; /* Ensure min 200px */
        height: 150px; /* For 800x600 aspect ratio */
    }

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

    /* Mobile image constraint */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.8em;
    }
    .page-contact__info-title,
    .page-contact__form-title,
    .page-contact__cta-title {
        font-size: 1.6em;
    }
    .page-contact__button {
        width: 95%;
    }
}

/* Ensure content area images are not small */
.page-contact__card-icon,
.page-contact__hero-image {
    min-width: 200px;
    min-height: 150px; /* Based on 4:3 aspect ratio, 200x150 is valid */
}