/* Import Plus Jakarta Sans font */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
    color: #2c3e50 !important;
    background-color: #ffffff !important;
}

/* Reset list styles */
ul, ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

/* Navigation and Footer - NO markers or pseudo-elements */
nav ul, nav ol, footer ul, footer ol,
.navbar ul, .navbar ol, .footer ul, .footer ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

nav ul::before, nav ul::after, nav ol::before, nav ol::after,
nav li::before, nav li::after, nav li::marker,
footer ul::before, footer ul::after, footer ol::before, footer ol::after,
footer li::before, footer li::after, footer li::marker,
.navbar ul::before, .navbar ul::after, .navbar ol::before, .navbar ol::after,
.navbar li::before, .navbar li::after, .navbar li::marker,
.footer ul::before, .footer ul::after, .footer ol::before, .footer ol::after,
.footer li::before, .footer li::after, .footer li::marker {
    content: none !important;
    display: none !important;
}

nav li, footer li, .navbar li, .footer li {
    list-style-type: none !important;
}

nav li::marker, footer li::marker, .navbar li::marker, .footer li::marker {
    display: none !important;
    content: none !important;
}

/* Content Lists - Custom styled markers */
main ul, main ol, section ul, section ol, article ul, article ol,
.content ul, .content ol {
    padding-left: 0 !important;
    margin-left: 0 !important;
    margin-bottom: 1.5rem !important;
}

main ul li, section ul li, article ul li, .content ul li {
    position: relative;
    padding-left: 2rem !important;
    margin-bottom: 0.8rem !important;
    list-style: none !important;
}

main ul li::marker, section ul li::marker, article ul li::marker, .content ul li::marker {
    display: none !important;
    content: none !important;
}

main ul li::before, section ul li::before, article ul li::before, .content ul li::before {
    content: "▸" !important;
    position: absolute;
    left: 0;
    color: royalblue !important;
    font-weight: bold;
    font-size: 1.2em;
}

main ol, section ol, article ol, .content ol {
    counter-reset: custom-counter;
}

main ol li, section ol li, article ol li, .content ol li {
    position: relative;
    padding-left: 2.5rem !important;
    margin-bottom: 0.8rem !important;
    list-style: none !important;
    counter-increment: custom-counter;
}

main ol li::marker, section ol li::marker, article ol li::marker, .content ol li::marker {
    display: none !important;
    content: none !important;
}

main ol li::before, section ol li::before, article ol li::before, .content ol li::before {
    content: counter(custom-counter) "." !important;
    position: absolute;
    left: 0;
    color: royalblue !important;
    font-weight: bold;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    color: #1a1a1a !important;
    margin-bottom: 1.2rem !important;
}

h1 {
    font-size: 3rem !important;
    margin-bottom: 1.5rem !important;
}

h2 {
    font-size: 2.2rem !important;
    margin-top: 3rem !important;
    margin-bottom: 1.3rem !important;
}

h3 {
    font-size: 1.6rem !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%) !important;
    padding: 4rem 1.5rem !important;
    min-height: 70vh !important;
}

.hero h1 {
    color: #1a1a1a !important;
    font-size: 3rem !important;
    font-weight: 800 !important;
    margin-bottom: 1.5rem !important;
}

.hero p {
    font-size: 1.2rem !important;
    color: #2c3e50 !important;
    margin-bottom: 2rem !important;
    line-height: 1.8 !important;
}

.hero .button {
    font-size: 1.1rem !important;
    padding: 0.9rem 2.5rem !important;
    font-weight: 600 !important;
}

/* Navigation */
.navbar {
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    padding: 1rem 1.5rem !important;
}

.navbar-brand {
    display: flex !important;
    align-items: center !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: royalblue !important;
}

.navbar-brand img {
    margin-right: 0.7rem !important;
}

.navbar-menu {
    background-color: transparent !important;
}

.navbar-item {
    font-size: 1.05rem !important;
    font-weight: 500 !important;
    color: #2c3e50 !important;
    padding: 0.5rem 1rem !important;
    list-style: none !important;
}

.navbar-item::before, .navbar-item::after, .navbar-item::marker {
    content: none !important;
    display: none !important;
}

.navbar-item:hover {
    color: royalblue !important;
    background-color: transparent !important;
}

.navbar-burger {
    color: royalblue !important;
}

/* Table of Contents */
.toc-buttons {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.8rem !important;
    margin-bottom: 3rem !important;
    padding: 2rem 0 !important;
}

.toc-buttons .button {
    font-size: 1rem !important;
    font-weight: 500 !important;
}

/* Sections */
section {
    padding: 3rem 1.5rem !important;
}

.section {
    padding: 3rem 1.5rem !important;
}

/* Cards */
.card {
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    margin-bottom: 2rem !important;
    border: 1px solid #e8e8e8 !important;
}

.card-content {
    padding: 2rem !important;
}

.card-content p {
    font-size: 1.05rem !important;
    line-height: 1.7 !important;
    color: #2c3e50 !important;
}

/* Images */
img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
}

picture img {
    display: block !important;
}

/* Buttons */
.button {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    padding: 0.75rem 2rem !important;
    border-radius: 6px !important;
    border: 2px solid royalblue !important;
    background-color: transparent !important;
    color: royalblue !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.button:hover {
    background-color: royalblue !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.button.is-primary {
    border-color: royalblue !important;
    color: royalblue !important;
    background-color: transparent !important;
}

.button.is-primary:hover {
    background-color: royalblue !important;
    color: #ffffff !important;
}

/* Tables */
.table-container {
    overflow-x: auto !important;
    margin-bottom: 2rem !important;
    border-radius: 8px !important;
}

table {
    width: 100% !important;
    font-size: 1.05rem !important;
}

table th {
    background-color: royalblue !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 1rem !important;
}

table td {
    padding: 1rem !important;
    color: #2c3e50 !important;
}

/* Footer */
.footer {
    background-color: #f8f9ff !important;
    padding: 3rem 1.5rem 2rem !important;
    margin-top: 4rem !important;
}

.footer-columns {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 2rem !important;
    margin-bottom: 2rem !important;
}

.footer-column h4 {
    color: royalblue !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

.footer-column ul {
    list-style: none !important;
    padding: 0 !important;
}

.footer-column ul li {
    margin-bottom: 0.6rem !important;
    list-style: none !important;
}

.footer-column ul li::before, .footer-column ul li::after, .footer-column ul li::marker {
    content: none !important;
    display: none !important;
}

.footer-column a {
    color: #2c3e50 !important;
    text-decoration: none !important;
    font-size: 1rem !important;
    transition: color 0.3s ease !important;
}

.footer-column a:hover {
    color: royalblue !important;
}

.footer-bottom {
    text-align: center !important;
    padding-top: 2rem !important;
    border-top: 1px solid #e0e0e0 !important;
    color: #666 !important;
    font-size: 0.95rem !important;
}

/* Text Readability */
p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    color: #2c3e50 !important;
    margin-bottom: 1.5rem !important;
}

strong {
    font-weight: 700 !important;
    color: #1a1a1a !important;
}

em {
    font-style: italic !important;
}

/* Icons */
.icon {
    color: royalblue !important;
    font-size: 1.5rem !important;
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    h1 {
        font-size: 2.5rem !important;
    }

    h2 {
        font-size: 2rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    .hero h1 {
        font-size: 2.5rem !important;
    }
}

@media screen and (max-width: 768px) {
    body {
        font-size: 17px !important;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.7rem !important;
    }

    h3 {
        font-size: 1.3rem !important;
    }

    .hero {
        padding: 3rem 1.5rem !important;
        min-height: auto !important;
    }

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

    .hero p {
        font-size: 1.05rem !important;
    }

    section, .section {
        padding: 2rem 1rem !important;
    }

    .toc-buttons {
        justify-content: center !important;
    }

    .toc-buttons .button {
        font-size: 0.95rem !important;
        padding: 0.6rem 1.2rem !important;
    }

    .footer-columns {
        grid-template-columns: 1fr !important;
    }
}

@media screen and (max-width: 480px) {
    body {
        font-size: 16px !important;
    }

    h1 {
        font-size: 1.75rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.2rem !important;
    }

    .hero h1 {
        font-size: 1.75rem !important;
    }

    .button {
        font-size: 1rem !important;
        padding: 0.7rem 1.5rem !important;
    }
}

/* Box Model */
.box {
    border-radius: 8px !important;
    padding: 2rem !important;
    margin-bottom: 2rem !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
}

/* Content spacing */
.content p {
    margin-bottom: 1.5rem !important;
}

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

.content h3 {
    margin-top: 2rem !important;
}

/* Ensure contrast */
.has-background-light {
    background-color: #f8f9ff !important;
}

.has-text-dark {
    color: #1a1a1a !important;
}

/* Additional utilities */
.mb-5 {
    margin-bottom: 3rem !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.py-6 {
    padding-top: 3.5rem !important;
    padding-bottom: 3.5rem !important;
}

.container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem !important;
}