/* style/contact.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-dark: #343a40;
    --border-color: #e0e0e0;
}

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

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

.page-contact section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-contact h1, .page-contact h2, .page-contact h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
    font-weight: bold;
}

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

.page-contact h2 {
    font-size: 2.2em;
    margin-top: 40px;
    color: var(--primary-color);
}

.page-contact h3 {
    font-size: 1.6em;
    color: var(--text-dark);
    margin-top: 25px;
    margin-bottom: 15px;
}

.page-contact p {
    font-size: 1.1em;
    margin-bottom: 15px;
    text-align: justify;
}

.page-contact a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact a:hover {
    color: var(--secondary-color);
}

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

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

/* 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: 80px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #0056b3 100%); /* Deeper blue gradient */
    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%;
    margin-bottom: 30px;
}

.page-contact .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-contact .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-contact .hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2em;
    margin-bottom: 25px;
}

/* Contact Methods Section */
.page-contact .contact-methods-section {
    background-color: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}

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

.page-contact .method-card {
    background: var(--text-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact .method-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact .method-card h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-contact .method-card p {
    font-size: 1em;
    color: var(--text-dark);
    text-align: center;
}

.page-contact .method-button {
    display: inline-block;
    padding: 10px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: 5px;
    margin-top: 20px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-contact .method-button:hover {
    background: var(--secondary-color);
}

.page-contact .contact-link, .page-contact .social-link {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

/* When to Contact Section */
.page-contact .when-to-contact-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-contact .reason-item {
    background: var(--bg-light);
    padding: 25px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.page-contact .reason-item h3 {
    text-align: left;
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-contact .reason-item p {
    text-align: left;
    font-size: 1em;
}

/* Commitment Section */
.page-contact .commitment-section {
    background: linear-gradient(135deg, #0056b3 0%, var(--primary-color) 100%); /* Deeper blue gradient */
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
}

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

.page-contact .commitment-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

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

.page-contact .point-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

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

.page-contact .point-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    filter: brightness(1.2);
}

.page-contact .point-card h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-contact .point-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    text-align: center;
}

/* FAQ Section */
.page-contact .faq-section {
    background-color: #ffffff;
    padding: 80px 0;
}

.page-contact .faq-list {
    margin-top: 40px;
}

.page-contact .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

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

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

.page-contact .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-dark);
    text-align: left;
    flex-grow: 1;
}

.page-contact .faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

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

.page-contact .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);
}

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

.page-contact .faq-answer p {
    margin: 0;
    font-size: 1em;
    text-align: left;
}

/* Call to Action Bottom Section */
.page-contact .cta-bottom-section {
    background-color: var(--bg-light);
    text-align: center;
    padding: 80px 0;
}

.page-contact .cta-bottom-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.page-contact .cta-bottom-section p {
    max-width: 800px;
    margin: 0 auto 20px auto;
    font-size: 1.1em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-contact h1 {
        font-size: 2.4em;
    }
    .page-contact h2 {
        font-size: 1.8em;
    }
    .page-contact h3 {
        font-size: 1.4em;
    }
    .page-contact p {
        font-size: 1em;
    }
    .page-contact .hero-section {
        padding: 60px 15px;
    }
    .page-contact .methods-grid, .page-contact .contact-reasons, .page-contact .commitment-points {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-contact section {
        padding: 50px 0;
    }
}

@media (max-width: 768px) {
    .page-contact h1 {
        font-size: 2em;
    }
    .page-contact h2 {
        font-size: 1.6em;
    }
    .page-contact h3 {
        font-size: 1.2em;
    }
    .page-contact .hero-section {
        padding: 40px 15px;
    }
    .page-contact .hero-content p {
        font-size: 1em;
    }
    .page-contact .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }
    .page-contact .method-card, .page-contact .reason-item, .page-contact .point-card {
        padding: 20px;
    }
    .page-contact .method-icon, .page-contact .point-icon {
        width: 80px;
        height: 80px;
    }
    .page-contact .faq-question {
        padding: 15px 20px;
    }
    .page-contact .faq-question h3 {
        font-size: 1.1em;
    }
    .page-contact .faq-toggle {
        font-size: 20px;
    }
    .page-contact .faq-answer {
        padding: 0 20px;
    }
    .page-contact .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-contact h1 {
        font-size: 1.8em;
    }
    .page-contact h2 {
        font-size: 1.5em;
    }
    .page-contact .methods-grid, .page-contact .contact-reasons, .page-contact .commitment-points {
        grid-template-columns: 1fr;
    }
    .page-contact .method-card {
        margin: 0 auto;
        max-width: 350px;
    }
}