/* style/contact-us.css */

:root {
    --primary-color: #007BFF;
    --secondary-color: #FFD700;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --light-bg-color: #f1f3f5;
    --card-bg-color: #ffffff;
    --border-color: #e0e0e0;
    --dark-bg-1: #0d0d0d; /* Assuming this from shared.css */
}

.page-contact-us {
    background-color: var(--dark-bg-1); /* Match body background from shared.css */
    color: var(--text-color-light); /* Default text color for dark background */
    font-family: 'Arial', sans-serif;
}

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

/* Fixed Nav Bar Spacing for main content */
.page-contact-us__hero-intro-section {
    padding-top: 120px; /* Desktop padding to clear fixed header */
    padding-bottom: 60px;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), #0056b3); /* Darker blue gradient */
}

.page-contact-us__main-title {
    font-size: 3.2em;
    color: var(--text-color-light);
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-contact-us__intro-text {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.page-contact-us__keyword {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-contact-us__hero-image {
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact-us__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-contact-us__section-description {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    line-height: 1.6;
}

.page-contact-us__contact-info-section {
    background-color: var(--dark-bg-1);
    padding: 80px 0;
}

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

.page-contact-us__info-card {
    background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact-us__info-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

.page-contact-us__info-icon {
    width: 100px; /* Min 200x200px requirement, so this is an illustrative image, not a tiny icon */
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-contact-us__info-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact-us__info-detail {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.5;
}

.page-contact-us__info-address {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-style: normal;
}

.page-contact-us__info-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-contact-us__info-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-contact-us__contact-form-section {
    background-color: #1a1a1a;
    padding: 80px 0;
}

.page-contact-us__contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.page-contact-us__form-label {
    display: block;
    font-size: 1.1em;
    color: var(--text-color-light);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact-us__form-input,
.page-contact-us__form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color-light);
    font-size: 1em;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-contact-us__form-input:focus,
.page-contact-us__form-textarea:focus {
    border-color: var(--primary-color);
    background-color: rgba(255, 255, 255, 0.1);
    outline: none;
}

.page-contact-us__form-textarea {
    resize: vertical;
}

.page-contact-us__submit-button {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--primary-color), #0056b3);
    color: var(--text-color-light);
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact-us__submit-button:hover {
    background: linear-gradient(135deg, #0056b3, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact-us__submit-button a {
    color: var(--text-color-light);
    text-decoration: none;
    display: block;
    width: 100%;
    height: 100%;
}

.page-contact-us__why-contact-section {
    background-color: var(--dark-bg-1);
    padding: 80px 0;
}

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

.page-contact-us__feature-item {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact-us__feature-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.12);
}

.page-contact-us__feature-icon {
    width: 120px; /* Min 200x200px requirement, ensuring large illustrative images */
    height: auto;
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.page-contact-us__feature-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact-us__feature-text {
    font-size: 1.1em;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.page-contact-us__faq-section {
    background-color: #1a1a1a;
    padding: 80px 0;
}

.page-contact-us__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-contact-us__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-contact-us__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-contact-us__faq-item.active .page-contact-us__faq-answer {
    max-height: 2000px !important; /* Ensures it expands fully */
    padding: 20px 15px !important;
    opacity: 1;
    background: rgba(255, 255, 255, 0.05); /* Lighter on dark background */
    border-radius: 0 0 5px 5px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.page-contact-us__faq-item.active .page-contact-us__faq-answer p {
    margin-bottom: 0;
}

.page-contact-us__faq-item.active .page-contact-us__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-contact-us__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1); /* Lighter on dark background */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-contact-us__faq-question:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.page-contact-us__faq-question:active {
    background: rgba(255, 255, 255, 0.2);
}

.page-contact-us__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-light);
}

.page-contact-us__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--secondary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-contact-us__faq-item.active .page-contact-us__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg); /* Rotate to form 'X' or keep as '-' */
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact-us__main-title {
        font-size: 2.8em;
    }
    .page-contact-us__section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-contact-us__hero-intro-section {
        padding-top: 100px !important; /* Mobile padding to clear fixed header */
        padding-bottom: 40px;
    }
    .page-contact-us__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }
    .page-contact-us__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-contact-us__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-contact-us__section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }
    .page-contact-us__contact-info-section,
    .page-contact-us__contact-form-section,
    .page-contact-us__why-contact-section,
    .page-contact-us__faq-section {
        padding: 50px 0;
    }
    .page-contact-us__info-card,
    .page-contact-us__feature-item {
        padding: 25px;
    }
    .page-contact-us__info-icon,
    .page-contact-us__feature-icon {
        width: 80px;
        margin-bottom: 15px;
    }
    .page-contact-us__info-title,
    .page-contact-us__feature-title {
        font-size: 1.5em;
    }
    .page-contact-us__info-detail,
    .page-contact-us__info-address,
    .page-contact-us__info-link,
    .page-contact-us__feature-text {
        font-size: 0.95em;
    }
    .page-contact-us__contact-form {
        padding: 30px 20px;
    }
    .page-contact-us__form-label {
        font-size: 1em;
    }
    .page-contact-us__form-input,
    .page-contact-us__form-textarea {
        padding: 10px;
        font-size: 0.95em;
    }
    .page-contact-us__submit-button {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-contact-us__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-contact-us__faq-question h3 {
        font-size: 1em;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-contact-us__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-contact-us__faq-answer {
        padding: 0 15px;
    }
    .page-contact-us__faq-item.active .page-contact-us__faq-answer {
        padding: 15px !important;
    }

    /* Enforce image responsiveness for all images and containers */
    .page-contact-us img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact-us__container,
    .page-contact-us__hero-intro-section,
    .page-contact-us__contact-info-section,
    .page-contact-us__contact-form-section,
    .page-contact-us__why-contact-section,
    .page-contact-us__faq-section,
    .page-contact-us__info-card,
    .page-contact-us__feature-item,
    .page-contact-us__contact-form {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Additional contrast fixes if needed */
.page-contact-us__contrast-fix {
  background: #ffffff !important;
  color: #333333 !important;
  border: 1px solid #e0e0e0 !important;
}

.page-contact-us__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}