:root {
    /* Custom Colors */
    --primary-color: #113B7A; /* Main Blue */
    --secondary-color: #1D5FD1; /* Accent Blue */
    --card-bg: #10233F; /* Card Background */
    --text-main: #F3F8FF; /* Main Text Color (light) */
    --text-secondary: #AFC4E8; /* Secondary Text Color (light) */
    --border-color: #244D84; /* Border Color */
    --glow-color: #4FA8FF;
    --gold-color: #F2C14E;
    --divider-color: #1B3357;
    --deep-navy-color: #08162B; /* Body Background */
    --button-gradient: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%);
}

.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for the page content */
    background-color: var(--deep-navy-color); /* Body background color */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--gold-color);
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-contact__section-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* HERO Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, main header offset handled by body */
    background-color: var(--primary-color);
    overflow: hidden;
    min-height: 500px; /* Ensure sufficient height */
}

.page-contact__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-contact__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-contact__main-title {
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.15em;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    min-width: 200px; /* Ensure button is not too small */
    min-height: 50px; /* Ensure button is not too small */
}

.page-contact__cta-button:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Contact Info Section */
.page-contact__info-section {
    padding: 80px 0;
    background-color: var(--deep-navy-color); /* Dark background */
}

.page-contact__dark-section {
    background-color: var(--deep-navy-color);
    color: var(--text-main);
}

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

.page-contact__method-card {
    background-color: var(--card-bg); /* Dark card background */
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-contact__method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__method-card img {
    width: 100%;
    height: auto;
    max-width: 250px; /* Adjust max-width for card images */
    margin: 0 auto 20px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-contact__card-title {
    font-size: 1.6em;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.page-contact__card-text {
    font-size: 1em;
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 150px;
    min-height: 40px;
}

.page-contact__btn-secondary:hover {
    background: var(--gold-color);
    color: var(--deep-navy-color);
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.3);
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

.page-contact__form-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: var(--card-bg); /* Dark background for form wrapper */
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-contact__contact-form {
    flex: 1;
    min-width: 300px;
}

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

.page-contact__form-label {
    display: block;
    font-size: 1em;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--deep-navy-color);
    color: var(--text-main);
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--gold-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 193, 78, 0.3);
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 180px;
    min-height: 50px;
}

.page-contact__btn-primary:hover {
    background: linear-gradient(180deg, #1144A6 0%, #2B73F6 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__form-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-contact__form-image img {
    width: 100%;
    height: auto;
    max-width: 500px; /* Adjust max-width for form image */
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: var(--deep-navy-color); /* Dark background */
}

.page-contact__faq-list {
    margin-top: 50px;
}

details.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg); /* Dark card background */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

details.page-contact__faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border-color: var(--gold-color);
}

details.page-contact__faq-item summary.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--text-main);
    font-weight: bold;
}

details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
    display: none;
}

details.page-contact__faq-item summary.page-contact__faq-question:hover {
    background: rgba(242, 193, 78, 0.1); /* Slight hover effect */
}

.page-contact__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main);
}

.page-contact__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--gold-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 25px 25px;
    background: var(--deep-navy-color); /* Slightly different dark background */
    border-radius: 0 0 12px 12px;
    color: var(--text-secondary);
    font-size: 1em;
}

/* Social Section */
.page-contact__social-section {
    padding: 80px 0;
    background-color: var(--primary-color);
}

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

.page-contact__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px; /* Enforce min 200px size for social icons */
    height: 200px; /* Enforce min 200px size for social icons */
    background-color: var(--card-bg);
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-contact__social-icon:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background-color: var(--gold-color);
}

.page-contact__social-icon img {
    width: 100%; /* Image inside the 200px icon */
    height: 100%; /* Image inside the 200px icon */
    min-width: 200px; /* Minimum size requirement for the image itself */
    min-height: 200px; /* Minimum size requirement for the image itself */
    filter: brightness(0) invert(1); /* Makes icons white on dark background, or dark on gold hover */
    transition: filter 0.3s ease;
}

.page-contact__social-icon:hover img {
    filter: none; /* Revert filter to show original color on hover if icon is colored */
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 1.05em;
    }
    .page-contact__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-contact__contact-methods {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-contact__form-wrapper {
        flex-direction: column;
    }
    .page-contact__form-image {
        order: -1; /* Move image above form on smaller screens */
        margin-bottom: 30px;
    }
    .page-contact__social-icon {
        width: 150px; /* Adjust social icon display size for tablets */
        height: 150px;
    }
    .page-contact__social-icon img {
        width: 100%; /* Fill the container */
        height: 100%; /* Fill the container */
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__hero-section {
        padding-top: 10px !important; /* body already handles offset */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-contact__hero-image img {
        border-radius: 4px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-contact__main-title {
        font-size: clamp(1.5em, 6vw, 2em);
    }
    
    .page-contact__hero-description {
        font-size: 1em;
    }
    
    .page-contact__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__social-section {
        padding: 40px 0;
    }

    .page-contact__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-contact__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .page-contact__method-card img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__card-title {
        font-size: 1.4em;
    }

    .page-contact__btn-secondary {
        padding: 10px 20px;
        font-size: 0.9em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-contact__form-input,
.page-contact__form-textarea {
        padding: 10px 12px;
    }

    .page-contact__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-contact__form-image img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    details.page-contact__faq-item summary.page-contact__faq-question {
        padding: 15px 20px;
    }
    .page-contact__faq-qtext {
        font-size: 1em;
    }
    .page-contact__faq-toggle {
        font-size: 20px;
        width: 24px;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 20px 20px;
    }

    .page-contact__social-icon {
        width: 100px; /* Display smaller on mobile, but image source still 200x200 */
        height: 100px;
    }
    .page-contact__social-icon img {
        width: 100%; /* Fill the container */
        height: 100%; /* Fill the container */
    }
}

/* Global minimum for all images, as per strict requirement */
.page-contact img {
    min-width: 200px;
    min-height: 200px;
}