/* =========================================
   CSS Variables & Reset
   ========================================= */
:root {
    --primary: #0284c7;
    --primary-dark: #0369a1;
    --secondary: #0f172a;
    --accent: #0ea5e9;
    --text-dark: #1e293b;
    --text-light: #475569;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --font-main: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
    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(--bg-light);
}

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

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

ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--bg-white);
    box-shadow: var(--shadow);
}

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

.btn-large {
    padding: 1.1rem 2.25rem;
    font-size: 1.15rem;
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
    background-color: var(--bg-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(--secondary);
    letter-spacing: -0.5px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 2rem;
}

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

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

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.75rem;
    cursor: pointer;
    color: var(--text-dark);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--bg-white);
    text-align: center;
    padding: 5rem 1rem;
}

.hero-section h1 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.hero-section .btn-primary {
    background-color: var(--bg-white);
    color: var(--primary);
}

.hero-section .btn-primary:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
}

/* =========================================
   Article Section
   ========================================= */
.article-section {
    padding: 4rem 0;
    background-color: var(--bg-white);
}

.blog-content {
    max-width: 800px;
    margin: 0 auto;
}

.blog-content h2 {
    font-size: 1.85rem;
    color: var(--secondary);
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent);
    display: inline-block;
}

.blog-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-dark);
    line-height: 1.8;
}

.blog-content ul {
    margin-bottom: 1.5rem;
    background-color: var(--bg-light);
    padding: 1.5rem 1.5rem 1.5rem 3rem;
    border-radius: 8px;
    border-left: 5px solid var(--primary);
}

.blog-content li {
    margin-bottom: 0.75rem;
    color: var(--text-light);
    font-size: 1.05rem;
}

.blog-content li:last-child {
    margin-bottom: 0;
}

/* =========================================
   Contact Section
   ========================================= */
.contact-section {
    padding: 5rem 0;
    background-color: var(--bg-light);
    text-align: center;
    border-top: 1px solid var(--border);
}

.contact-section h2 {
    font-size: 2.25rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.contact-intro {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--secondary);
}

.contact-item p, .contact-item a {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--primary);
    text-decoration: none;
}

.contact-cta-wrapper {
    margin-top: 2rem;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    background-color: var(--secondary);
    color: #94a3b8;
    text-align: center;
    padding: 2.5rem 0;
    font-size: 0.95rem;
}

.site-footer a {
    color: var(--bg-white);
    font-weight: 600;
}

.site-footer a:hover {
    color: var(--accent);
}

.footer-info {
    margin-top: 1rem;
    line-height: 1.8;
}

/* =========================================
   Scroll to Top Button
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary);
    color: var(--bg-white);
    border: none;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    font-size: 1.75rem;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* =========================================
   Responsive Design (Mobile)
   ========================================= */
@media (max-width: 768px) {
    .header-container {
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .header-cta {
        display: none;
    }

    .hero-section {
        padding: 4rem 1rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.05rem;
    }

    .blog-content h2 {
        font-size: 1.6rem;
    }

    .blog-content p, .blog-content li {
        font-size: 1.05rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}