:root {
    --primary-color: #0A1931;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f8f8;
    --bg-dark: #1a2a44;
    --border-color: #e0e0e0;
}

.page-contact {
    font-family: 'Arial', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

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

/* Banner Section */
.page-contact-banner {
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 80px 20px;
    background-color: var(--primary-color);
}

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

.page-contact-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(10, 25, 49, 0.8), rgba(255, 215, 0, 0.4));
    z-index: 2;
}

.page-contact-banner-content {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    max-width: 900px;
    margin: 0 auto;
}

.page-contact-banner-content h1 {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact-banner-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    line-height: 1.8;
}

.page-contact-cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.page-contact-cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* General Section Styling */
.page-contact-channels, .page-contact-form-section, .page-contact-why-us, .page-contact-commitment, .page-contact-faq, .page-contact-join-us {
    padding: 60px 0;
}

.page-contact-channels h2, .page-contact-form-section h2, .page-contact-why-us h2, .page-contact-commitment h2, .page-contact-faq h2, .page-contact-join-us h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.page-contact-channels h2::after, .page-contact-form-section h2::after, .page-contact-why-us h2::after, .page-contact-commitment h2::after, .page-contact-faq h2::after, .page-contact-join-us h2::after {
    content: '';
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    border-radius: 2px;
}

.page-contact-channels p, .page-contact-form-section p, .page-contact-why-us p, .page-contact-commitment p, .page-contact-faq p, .page-contact-join-us p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-size: 1.05em;
}

/* Contact Channels */
.page-contact-channel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-contact-channel-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.page-contact-channel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.page-contact-channel-item img {
    width: 250px; /* Minimum 200px, so 250px is good */
    height: 180px; /* Adjust height for aspect ratio */
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-contact-channel-item h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-contact-channel-item p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    text-align: center;
}

.page-contact-email-link, .page-contact-phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact-email-link:hover, .page-contact-phone-link:hover {
    color: var(--secondary-color);
}

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

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

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

.page-contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

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

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

.page-contact-form-group input[type="text"],
.page-contact-form-group input[type="email"],
.page-contact-form-group textarea {
    width: calc(100% - 20px);
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1em;
    color: var(--text-dark);
    background-color: #fcfcfc;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-contact-submit-button {
    display: block;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 18px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 25, 49, 0.3);
}

.page-contact-submit-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Why Us Section */
.page-contact-why-us {
    background-color: #ffffff;
}

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

.page-contact-reason-item {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    text-align: left;
    border-left: 5px solid var(--secondary-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact-reason-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.page-contact-reason-item h3 {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-contact-reason-item p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: left;
    margin: 0;
}

/* Commitment Section */
.page-contact-commitment {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

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

.page-contact-commitment p {
    color: #cccccc;
    text-align: center;
    margin-bottom: 20px;
}

.page-contact-commitment-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: cover;
    border-radius: 12px;
    margin: 30px auto;
    display: block;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-contact-commitment h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: center;
}

.page-contact-commitment p:not(.page-contact-commitment h3 + p) {
    text-align: left;
    max-width: 900px;
    margin: 15px auto;
    color: #e0e0e0;
}

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

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

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item.active {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.25em;
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #f9f9f9;
    color: var(--text-dark);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed for content */
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
}

.faq-answer p {
    margin: 0;
    text-align: left;
    font-size: 1em;
    line-height: 1.7;
}

/* Join Us Section */
.page-contact-join-us {
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
}

.page-contact-join-us h2 {
    color: var(--secondary-color);
}

.page-contact-join-us p {
    color: #cccccc;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.page-contact-cta-button-bottom {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.page-contact-cta-button-bottom:hover {
    background-color: #e6c200;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact-banner-content h1 {
        font-size: 2.8em;
    }
    .page-contact-channels h2, .page-contact-form-section h2, .page-contact-why-us h2, .page-contact-commitment h2, .page-contact-faq h2, .page-contact-join-us h2 {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-contact-banner {
        min-height: 300px;
        padding: 60px 15px;
    }
    .page-contact-banner-content h1 {
        font-size: 2.2em;
    }
    .page-contact-banner-content p {
        font-size: 1em;
    }
    .page-contact-cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-contact-channels, .page-contact-form-section, .page-contact-why-us, .page-contact-commitment, .page-contact-faq, .page-contact-join-us {
        padding: 40px 0;
    }
    .page-contact-channels h2, .page-contact-form-section h2, .page-contact-why-us h2, .page-contact-commitment h2, .page-contact-faq h2, .page-contact-join-us h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-contact-channel-grid {
        grid-template-columns: 1fr;
    }
    .page-contact-channel-item {
        padding: 25px;
    }
    .page-contact-form {
        padding: 30px;
    }
    .page-contact-form-group label {
        font-size: 1em;
    }
    .page-contact-form-group input, .page-contact-form-group textarea {
        padding: 12px;
    }
    .page-contact-submit-button {
        padding: 15px 20px;
        font-size: 1.1em;
    }
    .page-contact-reason-item h3 {
        font-size: 1.4em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.5em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact-banner-content h1 {
        font-size: 1.8em;
    }
    .page-contact-channels h2, .page-contact-form-section h2, .page-contact-why-us h2, .page-contact-commitment h2, .page-contact-faq h2, .page-contact-join-us h2 {
        font-size: 1.5em;
    }
    .page-contact-banner-content p {
        font-size: 0.9em;
    }
    .page-contact-cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }
    .page-contact-channel-item img {
        width: 200px; /* Smallest allowed size */
        height: 150px;
    }
    .page-contact-channel-item h3 {
        font-size: 1.5em;
    }
    .page-contact-reason-item h3 {
        font-size: 1.2em;
    }
    .faq-question h3 {
        font-size: 1em;
    }
}