/* style/contact.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f4f4f4;
    --background-dark: #222222;
    --card-background: #ffffff;
    --border-color: #e0e0e0;
}

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

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

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

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

.page-contact h2 {
    font-size: 2.2em;
    color: var(--secondary-color);
}

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

.page-contact p {
    text-align: center;
    margin-bottom: 15px;
}

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

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

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

.page-contact .cta-button:hover {
    background: var(--secondary-color);
    color: var(--text-color-light);
    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(--secondary-color) 0%, #a00000 100%); /* Darker red gradient for hero */
    overflow: hidden;
}

.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;
    z-index: 2;
}

.page-contact .hero-image {
    width: 100%;
    max-width: 800px; /* Adjust max-width for images */
    margin-bottom: 30px;
}

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

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

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

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

.page-contact .contact-methods-section h2 {
    margin-bottom: 40px;
}

.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-color: var(--card-background);
    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;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.page-contact .method-card img {
    width: 150px; /* Increased size for content images */
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-contact .method-card h3 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 15px;
}

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

.page-contact .contact-detail {
    text-align: center;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 5px;
}

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

.page-contact .method-button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    background: var(--primary-color);
    color: var(--text-color-dark);
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
}

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

/* Contact Form Section */
.page-contact .contact-form-section {
    background-color: var(--background-dark);
    padding: 60px 0;
    color: var(--text-color-light);
}

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

.page-contact .contact-form-section p {
    color: var(--text-color-light);
    margin-bottom: 30px;
}

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

.page-contact .form-group {
    margin-bottom: 20px;
    text-align: left;
}

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

.page-contact .form-group input,
.page-contact .form-group textarea {
    width: calc(100% - 20px);
    padding: 12px 10px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #444;
    color: var(--text-color-light);
    font-size: 1em;
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder {
    color: #bbb;
}

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

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

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

.page-contact .form-note {
    font-size: 0.9em;
    color: #aaa;
    margin-top: 20px;
    text-align: center;
}

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

.page-contact .commitment-section h2 {
    margin-bottom: 40px;
}

.page-contact .commitment-section p {
    margin-bottom: 30px;
}

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

.page-contact .point-item {
    background-color: var(--card-background);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-contact .point-item img {
    width: 120px; /* Slightly smaller for commitment icons */
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact .point-item h3 {
    color: var(--secondary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-contact .point-item p {
    font-size: 0.95em;
    color: var(--text-color-dark);
    text-align: center;
}

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

.page-contact .faq-section h2 {
    margin-bottom: 40px;
}

.page-contact .faq-section p {
    margin-bottom: 30px;
}

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

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

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

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

.faq-question h3 {
    margin: 0;
    font-size: 1.15em;
    color: var(--secondary-color);
    text-align: left;
}

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

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fcfcfc;
    border-radius: 0 0 8px 8px;
}

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

.faq-answer p {
    text-align: left;
    margin: 0;
    color: var(--text-color-dark);
}

.faq-answer a {
    font-weight: bold;
}

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

.page-contact .call-to-action-section h2 {
    color: var(--primary-color);
    font-size: 2.5em;
    margin-bottom: 25px;
}

.page-contact .call-to-action-section p {
    color: var(--text-color-light);
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px;
}

.page-contact .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-contact .cta-buttons .primary {
    background: var(--primary-color);
    color: var(--text-color-dark);
}

.page-contact .cta-buttons .primary:hover {
    background: #ffc400; /* Slightly darker gold on hover */
    color: var(--text-color-dark);
}

.page-contact .cta-buttons .secondary {
    background: var(--text-color-light);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
}

.page-contact .cta-buttons .secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-dark);
    border-color: var(--text-color-light);
}

.page-contact .disclaimer-text {
    font-size: 0.85em;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact h1 {
        font-size: 2.4em;
    }
    .page-contact h2 {
        font-size: 1.8em;
    }
    .page-contact .methods-grid, .page-contact .commitment-points {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-contact h1 {
        font-size: 2em;
    }
    .page-contact h2 {
        font-size: 1.6em;
    }
    .page-contact h3 {
        font-size: 1.3em;
    }
    .page-contact .hero-section {
        padding: 60px 15px;
    }
    .page-contact .hero-image img {
        border-radius: 8px;
    }
    .page-contact .contact-methods-section, .page-contact .contact-form-section, .page-contact .commitment-section, .page-contact .faq-section, .page-contact .call-to-action-section {
        padding: 40px 0;
    }
    .page-contact .methods-grid, .page-contact .commitment-points {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact .method-card, .page-contact .point-item {
        padding: 25px;
    }
    .page-contact .contact-form {
        padding: 30px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-item.active .faq-answer {
        padding: 10px 20px 20px;
    }
    .page-contact .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-contact .cta-button {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-contact h1 {
        font-size: 1.8em;
    }
    .page-contact h2 {
        font-size: 1.4em;
    }
    .page-contact .hero-content p {
        font-size: 1em;
    }
    .page-contact .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-contact .method-card img, .page-contact .point-item img {
        width: 100px;
        height: 100px;
    }
    .page-contact .contact-form {
        padding: 20px;
    }
    .page-contact .form-group input, .page-contact .form-group textarea {
        padding: 10px;
    }
    .page-contact .submit-button {
        font-size: 1.1em;
    }
    .page-contact .call-to-action-section h2 {
        font-size: 2em;
    }
    .page-contact .call-to-action-section p {
        font-size: 1em;
    }
}