/* Contents page specific styles */

/* Page Header Background */
.page-header.contents {
    background: linear-gradient(135deg, rgba(30, 60, 114, 0.8), rgba(42, 82, 152, 0.8)),
                url('../img/contents.jpg');
    background-size: cover;
    background-position: center;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #f8f9fa;
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: linear-gradient(135deg, #2a5298, #1e3c72);
}

.faq-question h4 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
}

.faq-toggle.active {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.faq-answer.active {
    padding: 1.5rem 2rem;
    max-height: 500px;
}

.faq-answer p {
    margin-bottom: 1rem;
    color: #555;
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Guide Section */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.guide-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-left: 4px solid #2a5298;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.guide-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #64b5f6, #1976d2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.guide-title {
    font-size: 1.4rem;
    font-weight: bold;
    color: #1e3c72;
    margin-bottom: 1rem;
}

.guide-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.guide-button {
    display: inline-block;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.guide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(30, 60, 114, 0.3);
}

/* Contact Form Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e3f2fd 100%);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #2a5298;
}

.contact-info h4 {
    color: #1e3c72;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.contact-form h4 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
}

.form-submit {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(238, 90, 36, 0.3);
}

/* Support Section */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.support-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-5px);
}

.support-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.support-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #64b5f6;
}

.support-description {
    opacity: 0.9;
    line-height: 1.7;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .guide-grid {
        grid-template-columns: 1fr;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .faq-question {
        padding: 1rem 1.5rem;
    }

    .faq-answer.active {
        padding: 1rem 1.5rem;
    }

    .faq-question h4 {
        font-size: 1rem;
    }

    .faq-container {
        margin: 0 1rem;
    }
}