/* style/contact.css */

/* --- General Styles for Page Contact --- */
.page-contact {
    color: #ffffff; /* Default text color for dark body background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #FFD700; /* Gold for titles */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

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

/* --- Buttons --- */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
    background-color: #FFD700; /* Gold */
    color: #0A246A; /* Dark blue text on gold */
    border: 2px solid #FFD700;
}

.page-contact__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #0A246A;
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #FFD700; /* Gold text */
    border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
    background-color: #FFD700;
    color: #0A246A; /* Dark blue text on gold */
}

/* --- Hero Section --- */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-contact__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-contact__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 36, 106, 0.7), rgba(0, 0, 0, 0.9)); /* Dark blue to black overlay */
    z-index: 2;
}

.page-contact__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-contact__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* --- Info Section (Contact Channels) --- */
.page-contact__info-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background from body */
    color: #ffffff;
}

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

.page-contact__channel-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__channel-card:hover {
    transform: translateY(-10px);
    background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__channel-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5)); /* Gold glow */
}

.page-contact__channel-title {
    font-size: 1.5em;
    color: #FFD700;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__channel-text {
    font-size: 1em;
    color: #f0f0f0;
    margin-bottom: 25px;
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.page-contact__social-icon {
    color: #ffffff;
    font-size: 1em;
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid #FFD700;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #FFD700;
    color: #0A246A;
}

/* --- Contact Form Section --- */
.page-contact__form-section {
    padding: 80px 0;
    background-color: #0A246A; /* Primary brand color as background */
    color: #ffffff;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-contact__form-label {
    display: block;
    font-size: 1.1em;
    margin-bottom: 8px;
    color: #FFD700;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.3); /* Darker input background */
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #ccc;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFD700;
    outline: none;
}

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

/* --- FAQ Section --- */
.page-contact__faq-section {
    padding: 80px 0;
    background-color: #1a1a1a; /* Dark background from body */
    color: #ffffff;
}

.page-contact__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-contact__faq-title {
    font-size: 1.2em;
    color: #FFD700;
    margin: 0;
    font-weight: bold;
}

.page-contact__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #FFD700;
    transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(45deg); /* For '+' to 'x' or '−' */
}

.page-contact__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px 25px;
}

.page-contact__faq-answer p {
    margin-bottom: 0;
    color: #f0f0f0; /* Ensure text color is light */
}
.page-contact__faq-answer a {
    color: #FFD700; /* Link color within FAQ answer */
    text-decoration: none;
}
.page-contact__faq-answer a:hover {
    text-decoration: underline;
}

/* --- CTA Section --- */
.page-contact__cta-section {
    padding: 80px 0;
    background-color: #0A246A; /* Primary brand color */
    text-align: center;
    color: #ffffff;
}

.page-contact__cta-title {
    font-size: 2.8em;
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}


/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 3em;
    }
    .page-contact__hero-description {
        font-size: 1.2em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
    .page-contact__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    /* Fixed header spacing for mobile */
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-contact__hero-title {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section-title {
        font-size: 1.8em;
    }
    .page-contact__section-description {
        font-size: 0.95em;
    }

    .page-contact__channels-grid {
        grid-template-columns: 1fr; /* Stack cards vertically */
    }

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

    .page-contact__contact-form {
        padding: 30px;
    }

    .page-contact__faq-question {
        padding: 18px 20px;
    }
    .page-contact__faq-title {
        font-size: 1.1em;
    }
    .page-contact__faq-answer {
        padding: 0 20px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px 20px 20px;
    }

    .page-contact__cta-title {
        font-size: 2em;
    }
    .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* --- Image & Video Responsiveness (Mandatory) --- */
    .page-contact img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact video,
    .page-contact__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-section,
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__cta-section,
    .page-contact__video-section,
    .page-contact__video-container,
    .page-contact__video-wrapper
    {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-contact__video-section {
        padding-top: var(--header-offset, 120px) !important;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 2em;
    }
    .page-contact__hero-description {
        font-size: 0.9em;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-contact__section-title {
        font-size: 1.5em;
    }
    .page-contact__channel-title {
        font-size: 1.3em;
    }
    .page-contact__faq-title {
        font-size: 1em;
    }
    .page-contact__cta-title {
        font-size: 1.8em;
    }
}

/* Contrast Fixes (as per instructions for dark body background #1a1a1a) */
.page-contact {
  color: #ffffff; /* Main text color for entire page */
}

.page-contact__card,
.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white on dark body */
  color: #ffffff;
}

.page-contact__dark-section {
  background-color: #0A246A; /* Primary brand color, ensures contrast with white text */
  color: #ffffff;
}

/* Ensure link colors are visible */
.page-contact a {
    color: #FFD700; /* Gold for links */
}
.page-contact a:hover {
    color: #e6c200; /* Slightly darker gold on hover */
}