.page-contact {
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: #0D0E12; /* Background color */
    color: #FFF3E6; /* Main text color */
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    padding-bottom: 40px;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    margin-bottom: 20px; /* Space between image and content */
    min-height: 200px; /* Enforce minimum height for hero */
}

.page-contact__hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact__main-title {
    font-size: clamp(2rem, 5vw, 2.8rem); /* Use clamp for h1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFF3E6; /* Main text color */
    letter-spacing: 0.5px;
}

.page-contact__description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #FFF3E6; /* Main text color */
}

/* Section Titles */
.page-contact__section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #FFB04D; /* Glow color for titles */
    background: linear-gradient(90deg, #FFB04D 0%, #FFA53A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Methods Section */
.page-contact__contact-methods {
    padding: 60px 0;
}

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

.page-contact__method-card {
    background-color: #17191F; /* Card BG color */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C; /* Border color */
}

.page-contact__method-card img {
    width: 100%;
    max-width: 300px; /* Max width for individual image within card */
    height: 200px; /* Fixed height for consistent card appearance */
    display: block;
    margin: 0 auto 20px;
    border-radius: 8px;
    object-fit: cover; /* Cover ensures image fills the space without distortion */
    min-width: 200px; /* Enforce min image size */
    min-height: 200px; /* Enforce min image size */
}

.page-contact__card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #FFF3E6; /* Main text color */
}

.page-contact__card-description {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #FFF3E6; /* Main text color */
}

.page-contact__btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6; /* Main text color for button */
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.page-contact__btn:hover {
    background: linear-gradient(180deg, #D96800 0%, #FFA53A 100%); /* Invert gradient on hover */
}

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background-color: #0D0E12; /* Background color */
}

.page-contact__form-description {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    color: #FFF3E6; /* Main text color */
}

.page-contact__form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #17191F; /* Card BG color */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid #A84F0C; /* Border color */
}

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

.page-contact__form-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFF3E6; /* Main text color */
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #A84F0C; /* Border color */
    border-radius: 5px;
    background-color: #0D0E12; /* Background color */
    color: #FFF3E6; /* Main text color */
    font-size: 1rem;
    box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #A84F0C; /* Border color for placeholder */
    opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    outline: none;
    border-color: #FFA53A; /* Auxiliary color on focus */
    box-shadow: 0 0 0 3px rgba(255, 165, 58, 0.3);
}

.page-contact__btn--submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

/* General image responsiveness for content area */
.page-contact img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* CSS for content area images, ensuring min-width/height */
/* This rule targets all images within .page-contact, ensuring they are not too small */
.page-contact .page-contact__contact-methods img,
.page-contact .page-contact__form-section img {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: auto; /* Allow auto height for general content images, card images still fixed */
    object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-contact__hero-image {
        max-height: 300px; /* Example max height for mobile hero */
        width: 100%;
        height: auto;
    }

    .page-contact__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem); /* Adjust h1 for smaller screens */
    }

    .page-contact__section-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }

    .page-contact__methods-grid {
        grid-template-columns: 1fr; /* Stack cards on small screens */
    }

    .page-contact__method-card img {
        height: auto; /* Let card images scale proportionally on smaller screens */
        min-height: 200px; /* Still enforce min height */
    }
}

@media (max-width: 549px) {
    .page-contact__container {
        padding: 15px;
    }

    .page-contact__hero-section {
        padding-bottom: 20px;
    }

    .page-contact__hero-content {
        padding: 0 10px;
    }

    .page-contact__main-title {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .page-contact__description {
        font-size: 1rem;
    }

    .page-contact__section-title {
        font-size: clamp(1.4rem, 7vw, 2rem);
        margin-bottom: 30px;
    }

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

    .page-contact__form {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .page-contact img {
        max-width: 100%;
        height: auto;
    }
}