/* General Page Layout */
:root {
    --primary-color: #004aad;
    --secondary-color: #333;
    --accent-color: #ff6600;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    color: var(--secondary-color);
    overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* About Page Layout */
.about-container,
.faq-container,
.contact-container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 0;
}

.about-intro {
    text-align: center;
    margin-bottom: 2rem;
}

.about-section {
    background: white;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.about-section p,
.about-section ul {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.6;
}

.about-section ul {
    padding-left: 20px;
}

.about-section ul li {
    margin-bottom: 0.5rem;
}

/* Call-to-Action Button */
.cta-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: var(--accent-color);
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s ease, transform 0.3s ease;
    text-decoration: none;
}

.cta-button:hover {
    background: #065da8;
    transform: scale(1.05);
}

/* FAQ Section */
.faq-item {
    border-bottom: 1px solid #ddd;
    padding: 1rem 0;
}

.faq-question {
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-answer {
    display: none;
    font-size: 1rem;
    color: var(--secondary-color);
    padding-top: 0.5rem;
    line-height: 1.5;
}

/* Contact Page Layout */
.contact-section {
    margin-bottom: 2rem;
}

.contact-section h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.contact-text {
    font-size: 1rem;
    color: var(--secondary-color);
    line-height: 1.5;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 10px;
    background: var(--accent-color);
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form button:hover {
    background: #065da8;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .about-container,
    .faq-container,
    .contact-container {
        width: 95%;
        padding: 2rem 0;
    }

    .about-section,
    .contact-section {
        padding: 1rem;
    }

    .about-section h2,
    .contact-section h2 {
        font-size: 1.5rem;
    }

    .cta-button {
        display: block;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-section h2,
    .faq-question,
    .contact-section h2 {
        font-size: 1.3rem;
    }

    .about-section p,
    .faq-answer,
    .contact-text {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}
