/* style/contact.css */
:root {
    --primary-color: #1A237E;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
    --bg-dark: #0f143a;
    --border-color: #e0e0e0;
}

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

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

/* Hero Banner */
.page-contact .hero-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.page-contact .hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-contact .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.page-contact .hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-contact .hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.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: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-contact .cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* Section Styling */
.page-contact section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.page-contact section:nth-of-type(even) {
    background-color: #e9ecef;
}

.page-contact .section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.page-contact .section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-contact .section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px;
    color: var(--text-dark);
}

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

.page-contact .method-card {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

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

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

.page-contact .card-text {
    font-size: 1em;
    color: #555;
    margin-bottom: 20px;
    flex-grow: 1;
}

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

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

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

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

/* Contact Form */
.page-contact .contact-form-section {
    background-color: #f0f2f5;
}

.page-contact .contact-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

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

.page-contact .form-input, .page-contact .form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box;
    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, 215, 0, 0.2);
    outline: none;
}

.page-contact .form-textarea {
    resize: vertical;
}

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

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

/* Social Media */
.page-contact .social-media {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-contact .social-media .section-title, .page-contact .social-media .section-description {
    color: var(--text-light);
}

.page-contact .social-media .section-title::after {
    background-color: var(--secondary-color);
}

.page-contact .social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-contact .social-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact .social-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* FAQ Section */
.page-contact .faq-section {
    background-color: var(--bg-light);
}

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

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

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

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

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

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    color: #555;
}

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

.faq-item.active .faq-answer p {
    margin: 0;
    font-size: 1em;
    line-height: 1.8;
}

/* Commitment Section */
.page-contact .commitment-section {
    background: linear-gradient(to right, var(--primary-color), var(--bg-dark));
    color: var(--text-light);
    text-align: center;
}

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

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

.page-contact .commitment-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

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

    .page-contact .section-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-contact .hero-banner {
        padding: 60px 0;
    }

    .page-contact .hero-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-contact .hero-description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-contact .cta-button {
        padding: 12px 30px;
        font-size: 1em;
    }

    .page-contact section {
        padding: 40px 0;
    }

    .page-contact .section-title {
        font-size: 1.8em;
    }

    .page-contact .section-description {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-contact .method-grid {
        grid-template-columns: 1fr;
    }

    .page-contact .method-card {
        padding: 25px;
    }

    .page-contact .card-title {
        font-size: 1.5em;
    }

    .page-contact .form-input, .page-contact .form-textarea, .page-contact .submit-button {
        padding: 12px;
        font-size: 1em;
    }

    .page-contact .social-links {
        flex-direction: column;
        gap: 15px;
    }

    .page-contact .social-button {
        width: 80%;
        max-width: 300px;
        margin: 0 auto;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-toggle {
        font-size: 20px;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px 20px;
    }

    .page-contact .commitment-image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .page-contact .hero-title {
        font-size: 1.8em;
    }

    .page-contact .section-title {
        font-size: 1.6em;
    }

    .page-contact .hero-description, .page-contact .section-description {
        font-size: 0.9em;
    }

    .page-contact .cta-button {
        padding: 10px 25px;
        font-size: 0.9em;
    }

    .page-contact .method-card {
        padding: 20px;
    }

    .page-contact .card-title {
        font-size: 1.3em;
    }

    .page-contact .method-icon {
        width: 100px;
        height: 100px;
    }

    .page-contact .contact-form {
        padding: 25px;
    }

    .faq-question h3 {
        font-size: 1em;
    }
}