/* style/contact.css */

/* Variables for theme colors */
:root {
    --primary-color: #336699; /* new8 blue */
    --secondary-color: #FFCC00; /* wealth gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f8f8f8;
    --background-dark: #224466; /* Slightly darker primary for contrast */
    --border-color: #e0e0e0;
    --hover-color: #e6b800; /* Darker gold for hover */
}

/* Base styles for the contact page content */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

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

.page-contact section {
    padding: 60px 0;
    text-align: center;
}

.page-contact section:nth-of-type(even) {
    background-color: #f0f4f8; /* Light greyish blue for alternating sections */
}

.page-contact .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-contact .section-description {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-contact .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--background-dark)); /* Gradient for hero background */
    color: var(--text-light);
}

.page-contact .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-contact .hero-image {
    width: 100%;
    height: 450px; /* Fixed height for consistency */
    object-fit: cover; /* Ensure image covers the area */
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
    background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
    padding: 30px 20px;
    border-radius: 10px;
    margin-top: -100px; /* Overlap with image */
    backdrop-filter: blur(5px);
}

.page-contact .hero-title {
    font-size: 3.2em;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact .hero-description {
    font-size: 1.3em;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact .cta-button:hover {
    background: var(--hover-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Contact Channels Section */
.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: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-contact .channel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-contact .channel-icon {
    width: 120px; /* Increased size for content image, not icon */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%; /* Make it round if suitable */
    background-color: #e9f0f6; /* Light background for icon */
    padding: 15px;
}

.page-contact .channel-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact .channel-text {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-contact .channel-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .channel-button:hover {
    background: var(--background-dark);
    transform: translateY(-2px);
}

/* Why Contact Section (Benefits) */
.page-contact .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact .benefit-item {
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-contact .benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-contact .benefit-icon {
    width: 100px; /* Increased size for content image, not icon */
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: #fff3e0; /* Light gold background */
    padding: 10px;
}

.page-contact .benefit-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact .benefit-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Contact Form Section */
.page-contact .contact-form-section {
    background-color: var(--background-light);
}

.page-contact .contact-form {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 40px;
    background: var(--text-light);
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

.page-contact .form-label {
    display: block;
    font-size: 1.1em;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: bold;
}

.page-contact .form-input,
.page-contact .form-textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact .form-input:focus,
.page-contact .form-textarea:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(255, 204, 0, 0.3);
    outline: none;
}

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

.page-contact .submit-button {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact .submit-button:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-contact .faq-section {
    background-color: #f0f4f8;
}

.page-contact .faq-list {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: left;
}

.page-contact .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--text-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-contact .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--text-light);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.page-contact .faq-question:hover {
    background: #f5f5f5;
}

.page-contact .faq-question-title {
    font-size: 1.15em;
    color: var(--primary-color);
    margin: 0;
    font-weight: bold;
}

.faq-toggle { /* This class is from the provided snippet, no page prefix */
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1; /* Ensure vertical alignment */
}

/* FAQ default state - answer hidden */
.faq-answer { /* This class is from the provided snippet, no page prefix */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: var(--text-dark);
    font-size: 1em;
}

/* FAQ expanded state */
.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height to contain content */
    padding: 15px 25px 25px;
    background: #f9f9f9;
    border-radius: 0 0 8px 8px;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Commitment Section */
.page-contact .commitment-section {
    background: linear-gradient(135deg, var(--background-dark), var(--primary-color));
    color: var(--text-light);
}

.page-contact .commitment-section .section-title {
    color: var(--secondary-color);
}

.page-contact .commitment-section .section-description {
    color: var(--text-light);
}

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

.page-contact .commitment-item {
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white background */
    backdrop-filter: blur(5px);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact .commitment-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.15);
}

.page-contact .commitment-icon {
    width: 110px; /* Increased size for content image, not icon */
    height: 110px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    padding: 12px;
}

.page-contact .commitment-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact .commitment-text {
    font-size: 1em;
    color: var(--text-light);
}

.page-contact .final-call-to-action {
    font-size: 1.2em;
    color: var(--text-light);
    margin-top: 50px;
    margin-bottom: 30px;
    font-weight: bold;
}

.page-contact .bottom-cta {
    margin-top: 0; /* Override default cta-button margin-top */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact .hero-title {
        font-size: 2.8em;
    }
    .page-contact .hero-description {
        font-size: 1.15em;
    }
    .page-contact .hero-image {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .page-contact section {
        padding: 40px 0;
    }
    .page-contact .section-title {
        font-size: 2em;
    }
    .page-contact .section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }

    .page-contact .hero-image {
        height: 300px;
        border-radius: 8px;
    }
    .page-contact .hero-content {
        padding: 20px 15px;
        margin-top: -80px;
    }
    .page-contact .hero-title {
        font-size: 2.2em;
    }
    .page-contact .hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-contact .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
        margin-top: 20px;
    }

    .page-contact .channels-grid,
    .page-contact .benefits-grid,
    .page-contact .commitments-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-contact .channel-card,
    .page-contact .benefit-item,
    .page-contact .commitment-item {
        padding: 25px;
    }

    .page-contact .form-group {
        margin-bottom: 20px;
    }
    .page-contact .form-input,
    .page-contact .form-textarea {
        width: calc(100% - 20px);
        padding: 10px;
    }
    .page-contact .submit-button {
        padding: 12px;
        font-size: 1.1em;
    }

    .page-contact .faq-question {
        padding: 15px 20px;
    }
    .page-contact .faq-question-title {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 12px 20px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact .hero-image {
        height: 250px;
    }
    .page-contact .hero-content {
        margin-top: -60px;
    }
    .page-contact .hero-title {
        font-size: 1.8em;
    }
    .page-contact .hero-description {
        font-size: 0.95em;
    }
    .page-contact .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page-contact .channel-icon,
    .page-contact .benefit-icon,
    .page-contact .commitment-icon {
        width: 80px;
        height: 80px;
    }
    .page-contact .section-title {
        font-size: 1.8em;
    }
    .page-contact .channel-title,
    .page-contact .benefit-title,
    .page-contact .commitment-title {
        font-size: 1.3em;
    }
    .page-contact .final-call-to-action {
        font-size: 1em;
    }
}