.page-contact {
    color: #333333; /* Deep gray for text on light background */
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-contact__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 40px;
}

.page-contact__hero-container {
    position: relative;
    width: 100%;
    max-width: 1920px; /* Constrain max width for very large screens */
    margin: 0 auto;
}

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

.page-contact__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #FFFFFF; /* White text on dark hero image */
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black overlay for readability */
    padding: 30px;
    border-radius: 10px;
    max-width: 90%;
}

.page-contact__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FCBC45; /* Login button color for emphasis */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

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

.page-contact__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Black text on yellow button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__hero-button:hover {
    background-color: #E6A531;
    transform: translateY(-2px);
}

.page-contact__info-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.page-contact__info-title {
    font-size: 2.2em;
    color: #000000; /* Main text color */
    margin-bottom: 30px;
}

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

.page-contact__info-card {
    background-color: #FFFFFF; /* White background for cards */
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__info-card-icon {
    width: 200px; /* Enforce minimum size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-contact__info-card-title {
    font-size: 1.6em;
    color: #000000;
    margin-bottom: 15px;
}

.page-contact__info-card-description {
    font-size: 1em;
    color: #555555;
    margin-bottom: 20px;
}

.page-contact__info-card-button {
    display: inline-block;
    background-color: #000000; /* Black button */
    color: #FFFFFF; /* White text */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact__info-card-button:hover {
    background-color: #333333;
}

.page-contact__form-section {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9; /* Light gray background for form */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-contact__form-title {
    font-size: 2.2em;
    color: #000000;
    text-align: center;
    margin-bottom: 20px;
}

.page-contact__form-description {
    text-align: center;
    color: #555555;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.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: calc(100% - 20px); /* Account for padding */
    padding: 12px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FCBC45; /* Highlight on focus */
    outline: none;
}

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

.page-contact__form-submit-button {
    display: block;
    width: 100%;
    background-color: #FCBC45; /* Login button color */
    color: #000000; /* Black text */
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__form-submit-button:hover {
    background-color: #E6A531;
    transform: translateY(-2px);
}

.page-contact__social-section {
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 20px;
    text-align: center;
}

.page-contact__social-title {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 20px;
}

.page-contact__social-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

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

.page-contact__social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.page-contact__social-link:hover {
    transform: translateY(-5px) scale(1.1);
}

.page-contact__social-link img {
     /* Smallest allowed content image size is 200px. These are icons, so they are exceptions. If this was a content image, it would be 200px minimum. */
    
    border-radius: 50%; /* Make them round */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 2.4em;
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__info-title,
    .page-contact__form-title,
    .page-contact__social-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-content {
        padding: 20px;
        max-width: 95%;
    }
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__hero-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact__info-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__info-title,
    .page-contact__form-title,
    .page-contact__social-title {
        font-size: 1.8em;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        width: calc(100% - 24px); /* Adjust for mobile padding */
    }
    /* Mobile overflow prevention for images */
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
    .page-contact__social-link img {
        
        
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 1.6em;
    }
    .page-contact__hero-description {
        font-size: 0.9em;
    }
    .page-contact__hero-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-contact__info-card-icon {
        width: 150px;
    }
    .page-contact__info-card-title {
        font-size: 1.4em;
    }
    .page-contact__form-submit-button {
        font-size: 1em;
    }
    .page-contact__social-link img {
        
        
    }
}