/* CSS Variables for Easy Theming */
:root {
    --primary-color: #0056b3;
    --primary-hover: #004494;
    --secondary-color: #f8f9fa;
    --text-color: #333333;
    --heading-color: #1a1a1a;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --radius: 8px;
    --max-width: 1200px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* Typography */
h1, h2, h3 {
    color: var(--heading-color);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-top: 2.5rem; border-bottom: 2px solid var(--primary-color); padding-bottom: 0.5rem; display: inline-block; }
h3 { font-size: 1.25rem; margin-top: 1.5rem; }
p { margin-bottom: 1.25rem; }

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

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius);
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.tagline {
    font-size: 0.9rem;
    color: #666;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 8px 16px;
    border-radius: var(--radius);
}

.nav-cta:hover {
    background-color: var(--primary-hover);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background-color: var(--secondary-color);
    padding: 4rem 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.hero h1 {
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.hero-intro {
    font-size: 1.15rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #555;
}

/* Content Article */
.content-article {
    padding: 3rem 15px;
    max-width: 900px; /* Optimal reading width */
}

.content-article h2 {
    margin-top: 3rem;
}

.content-article h3 {
    color: var(--primary-color);
}

/* FAQ Section */
.faq-container {
    margin-top: 2rem;
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    background-color: var(--white);
}

.faq-question {
    padding: 1.25rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    background-color: var(--secondary-color);
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Arbitrary large height for animation */
    padding: 1.25rem;
    border-top: 1px solid var(--border-color);
}

/* Contact Section */
.contact-section {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.contact-section h2 {
    color: var(--white);
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.contact-section p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-item a {
    color: var(--white);
    text-decoration: underline;
}

.contact-item a:hover {
    color: #ffd700;
}

/* Footer */
.site-footer {
    background-color: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .contact-details {
        align-items: center;
    }
}