.page-contact {
    font-family: Arial, sans-serif;
    color: #000080; /* Dark blue text on light background */
    line-height: 1.6;
}

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

.page-contact-hero {
    background-color: #000080; /* Dark blue background */
    color: #FFFFFF; /* White text for contrast */
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.page-contact-hero__image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.page-contact-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.page-contact-hero__title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFD700; /* Gold for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact-hero__description {
    font-size: 1.1em;
    line-height: 1.8;
    color: #F0F0F0; /* Slightly off-white for body text */
}

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

.page-contact-section:nth-of-type(even) {
    background-color: #F8F8F8; /* Light grey for alternating sections */
}

.page-contact-section__title {
    font-size: 2.2em;
    color: #000080; /* Dark blue for section titles */
    text-align: center;
    margin-bottom: 20px;
}

.page-contact-section__intro {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333;
}

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

.page-contact-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact-card__title {
    font-size: 1.4em;
    color: #FFD700; /* Gold for card titles */
    margin-bottom: 15px;
    border-bottom: 2px solid #000080;
    padding-bottom: 10px;
}

.page-contact-method-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact-method-card__image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

.page-contact-method-card__title {
    font-size: 1.5em;
    color: #000080; /* Dark blue for method card titles */
    margin-bottom: 15px;
}

.page-contact-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
    border: none;
}

.page-contact-btn--primary {
    background-color: #FFD700; /* Gold background */
    color: #000080; /* Dark blue text */
}

.page-contact-btn--primary:hover {
    background-color: #E6C200; /* Slightly darker gold */
    color: #000066; /* Slightly darker blue */
}

.page-contact-btn--secondary {
    background-color: #000080; /* Dark blue background */
    color: #FFD700; /* Gold text */
    border: 1px solid #FFD700;
}

.page-contact-btn--secondary:hover {
    background-color: #000066; /* Slightly darker blue */
    color: #FFEA80; /* Slightly lighter gold */
}

.page-contact-btn--cta {
    padding: 15px 30px;
    font-size: 1.1em;
    margin: 10px;
}

.page-contact-cta-buttons {
    text-align: center;
    margin-top: 40px;
}

.page-contact-form-wrapper {
    background-color: #000080; /* Dark blue background for form */
    color: #FFFFFF; /* White text */
    padding: 40px;
    border-radius: 10px;
    margin-top: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-contact-form-wrapper__title {
    font-size: 2em;
    color: #FFD700; /* Gold for form title */
    text-align: center;
    margin-bottom: 20px;
}

.page-contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.page-contact-form-group {
    display: flex;
    flex-direction: column;
}

.page-contact-form-label {
    margin-bottom: 8px;
    font-weight: bold;
    color: #FFD700; /* Gold for form labels */
}

.page-contact-form-input,
.page-contact-form-textarea {
    padding: 12px;
    border: 1px solid #FFD700; /* Gold border */
    border-radius: 5px;
    background-color: #000080; /* Dark blue background */
    color: #FFFFFF; /* White text */
    font-size: 1em;
    resize: vertical;
}

.page-contact-form-input::placeholder,
.page-contact-form-textarea::placeholder {
    color: #CCCCCC;
}

.page-contact-form-input:focus,
.page-contact-form-textarea:focus {
    outline: none;
    border-color: #FFEA80; /* Lighter gold on focus */
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
}

.page-contact-contact-info {
    background-color: #F0F0F0;
    padding: 60px 0;
}

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

.page-contact-info-item {
    background-color: #FFFFFF;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.page-contact-info-item__title {
    font-size: 1.3em;
    color: #000080; /* Dark blue for info item titles */
    margin-bottom: 10px;
}

.page-contact-info-item p {
    color: #333;
}

.page-contact-scroll-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #FFD700;
    color: #000080;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact-scroll-to-top-btn:hover {
    background-color: #E6C200;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-contact-hero__title {
        font-size: 2em;
    }

    .page-contact-section__title {
        font-size: 1.8em;
    }

    .page-contact-grid {
        grid-template-columns: 1fr;
    }

    .page-contact-method-card__image {
        max-width: 250px;
        min-height: 180px;
    }

    .page-contact-form-wrapper {
        padding: 30px;
    }

    .page-contact-form-wrapper__title {
        font-size: 1.6em;
    }

    .page-contact-cta-buttons {
        flex-direction: column;
    }

    .page-contact-btn--cta {
        width: 100%;
        margin: 5px 0;
    }
}

@media (max-width: 480px) {
    .page-contact-hero__title {
        font-size: 1.6em;
    }

    .page-contact-hero__description,
    .page-contact-section__intro {
        font-size: 1em;
    }

    .page-contact-section__title {
        font-size: 1.5em;
    }

    .page-contact-card__title,
    .page-contact-method-card__title {
        font-size: 1.2em;
    }

    .page-contact-form-wrapper {
        padding: 20px;
    }

    .page-contact-form-wrapper__title {
        font-size: 1.4em;
    }

    .page-contact-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-contact-scroll-to-top-btn {
        width: 40px;
        height: 40px;
        font-size: 0.8em;
        bottom: 15px;
        right: 15px;
    }
}