/* =========================================
   CSS Variables & Reset
   ========================================= */
:root {
    --primary-color: #0056b3;
    --primary-hover: #004494;
    --secondary-color: #f8f9fa;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-hover: 0 8px 15px rgba(0, 0, 0, 0.1);
    --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    background-color: var(--white);
    font-size: 16px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 15px;
}

/* =========================================
   Typography
   ========================================= */
h1, h2, h3 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

h3 {
    font-size: 1.3rem;
    margin-top: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.2rem;
    color: #333;
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: none;
}

.nav-list a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 5px;
    text-decoration: none !important;
    transition: background-color 0.3s ease;
}

.nav-cta:hover {
    background-color: var(--primary-hover);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #d9e2ec 100%);
    padding: 5rem 0;
    text-align: center;
}

.hero-content {
    max-width: 800px;
}

.hero-intro {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white) !important;
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* =========================================
   Article Content
   ========================================= */
.article-content {
    padding: 3rem 15px;
}

.article-content section {
    margin-bottom: 2rem;
}

.faq-item {
    background-color: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item summary {
    padding: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-item summary:hover {
    background-color: #e9ecef;
}

.faq-item p {
    padding: 0 1.2rem 1.2rem 1.2rem;
    margin-bottom: 0;
    color: var(--text-light);
}

/* =========================================
   Contact Section
   ========================================= */
.contact-section {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.contact-section h2 {
    color: var(--white);
    border-bottom-color: var(--primary-color);
}

.contact-intro {
    color: #adb5bd;
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-card {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.1);
}

.contact-card h3 {
    color: var(--white);
    margin-top: 0;
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
}

.contact-card p, .contact-card a {
    color: #ced4da;
    margin-bottom: 0;
    font-size: 1rem;
}

.contact-card a:hover {
    color: var(--white);
}

.contact-cta-wrapper {
    margin-top: 2rem;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: #1a1d20;
    color: #868e96;
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =========================================
   Responsive Design (Mobile)
   ========================================= */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.6rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow);
        padding: 1rem 0;
    }

    .main-nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-list a {
        display: block;
        padding: 0.8rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-cta {
        margin-top: 0.5rem;
        display: inline-block;
        width: auto;
    }

    .hero-section {
        padding: 3rem 0;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}