/* style/contact.css */
/* Body background is dark from shared.css, so main text color should be light */
.page-contact {
    font-family: Arial, sans-serif;
    color: #F2FFF6; /* Text Main */
    background-color: #08160F; /* Background */
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Ensure content is centered and has max-width */
.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 10px 0 60px; /* Small top padding, larger bottom padding */
    background-color: #11271B; /* Card BG */
    overflow: hidden;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-width: 100%; /* Ensure it takes full width of its container */
    overflow: hidden;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px; /* Limit height for hero image */
}

.page-contact__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    box-sizing: border-box;
}

.page-contact__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Responsive font size for H1 */
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-contact__description {
    font-size: clamp(16px, 2vw, 20px);
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-contact__cta-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__cta-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

.page-contact__cta-button--bottom {
    margin-top: 40px;
}

/* Sections */
.page-contact__channels-section,
.page-contact__faq-section,
.page-contact__why-us-section {
    padding: 80px 0;
    background-color: #08160F; /* Background */
}

.page-contact__channels-section {
    background-color: #11271B; /* Card BG */
}

.page-contact__section-title {
    font-size: clamp(24px, 3.5vw, 40px);
    color: #F2C14E; /* Gold */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact__section-intro {
    font-size: clamp(16px, 1.8vw, 18px);
    color: #A7D9B8; /* Text Secondary */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__channel-card {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact__channel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-contact__channel-icon {
    width: 100%;
    max-width: 200px; /* Constrain icon size */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.page-contact__channel-title {
    font-size: 24px;
    color: #F2FFF6; /* Text Main */
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__channel-description {
    font-size: 16px;
    color: #A7D9B8; /* Text Secondary */
    margin-bottom: 25px;
    flex-grow: 1; /* Make description take available space */
}

.page-contact__channel-button,
.page-contact__social-button {
    display: inline-block;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 5px;
    max-width: 100%; /* Ensure button doesn't overflow */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__channel-button:hover,
.page-contact__social-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-1px);
}

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

/* FAQ Section */
.page-contact__faq-list {
    margin-top: 40px;
}

.page-contact__faq-item {
    background-color: #0A4B2C; /* Deep Green */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.page-contact__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: #F2FFF6; /* Text Main */
    cursor: pointer;
    outline: none;
    list-style: none; /* Remove default marker */
    transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-contact__faq-item summary:hover {
    background-color: rgba(46, 122, 78, 0.2); /* Lighter hover for dark background */
}

.page-contact__faq-qtext {
    flex-grow: 1;
    margin-right: 15px;
}

.page-contact__faq-toggle {
    font-size: 24px;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #F2C14E; /* Gold */
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to form an X or minus */
}

.page-contact__faq-answer {
    padding: 0 25px 20px;
    font-size: 16px;
    color: #A7D9B8; /* Text Secondary */
    border-top: 1px solid #1E3A2A; /* Divider */
}

.page-contact__faq-answer p {
    margin-top: 15px;
    margin-bottom: 0;
}

.page-contact__faq-button {
    display: inline-block;
    margin-top: 20px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}
.page-contact__faq-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-1px);
}


/* Why Us Section */
.page-contact__why-us-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-contact__why-us-list li {
    background-color: #11271B; /* Card BG */
    border: 1px solid #2E7A4E; /* Border */
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    font-size: 18px;
    color: #F2FFF6; /* Text Main */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-contact__why-us-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.page-contact__list-highlight {
    color: #F2C14E; /* Gold */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-contact__container {
        padding: 0 15px;
    }

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

    .page-contact__hero-image {
        max-height: 300px;
    }

    .page-contact__hero-content {
        padding: 30px 15px;
    }

    .page-contact__main-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 15px;
    }

    .page-contact__description {
        font-size: clamp(15px, 4vw, 18px);
        margin-bottom: 20px;
    }

    .page-contact__cta-button {
        padding: 12px 25px;
        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__cta-button--bottom {
        margin-top: 30px;
    }

    .page-contact__channels-section,
    .page-contact__faq-section,
    .page-contact__why-us-section {
        padding: 50px 0;
    }

    .page-contact__section-title {
        font-size: clamp(20px, 6vw, 32px);
        margin-bottom: 15px;
    }

    .page-contact__section-intro {
        font-size: clamp(14px, 3.5vw, 16px);
        margin-bottom: 30px;
    }

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

    .page-contact__channel-title {
        font-size: 20px;
    }

    .page-contact__channel-description {
        font-size: 15px;
    }
    
    .page-contact__channel-button,
    .page-contact__social-button,
    .page-contact__faq-button {
        padding: 10px 15px;
        font-size: 14px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    
    .page-contact__social-links {
        flex-direction: column;
        align-items: center;
    }
    .page-contact__social-button {
        margin: 5px 0;
    }

    .page-contact__faq-item summary {
        padding: 15px 20px;
        font-size: 16px;
    }

    .page-contact__faq-answer {
        padding: 0 20px 15px;
        font-size: 15px;
    }

    .page-contact__why-us-list li {
        padding: 15px;
        font-size: 16px;
    }
    
    /* Mobile image responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* All containers with images/buttons/videos */
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__hero-image-wrapper,
    .page-contact__channel-card,
    .page-contact__faq-item,
    .page-contact__why-us-list li {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* Remove horizontal padding here as it's added below for specific elements */
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Special handling for elements that are already padding: 0 20px */
    .page-contact__container,
    .page-contact__hero-content,
    .page-contact__channel-card,
    .page-contact__faq-item,
    .page-contact__why-us-list li {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    /* For multiple buttons in a group */
    .page-contact__social-links {
      display: flex !important;
      flex-direction: column !important; /* Stack buttons vertically */
      gap: 10px !important; /* Space between stacked buttons */
    }
}