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

/* Font Import */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #6b21a8;
    --accent-color: #ffd700;
    --text-dark: #2c3e50;
    --text-light: #ffffff;
    --background-light: #f8f9fa;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Remove list styles from navigation and footer */
nav ul,
nav ol,
footer ul,
footer ol,
.navbar ul,
.navbar ol,
.footer ul,
.footer ol,
.table-of-contents ul,
.table-of-contents ol {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

nav ul li:before,
nav ol li:before,
footer ul li:before,
footer ol li:before,
.navbar ul li:before,
.navbar ol li:before,
.footer ul li:before,
.footer ol li:before,
.table-of-contents ul li:before,
.table-of-contents ol li:before {
    content: none !important;
    display: none !important;
}

nav ul li:after,
nav ol li:after,
footer ul li:after,
footer ol li:after,
.navbar ul li:after,
.navbar ol li:after,
.footer ul li:after,
.footer ol li:after,
.table-of-contents ul li:after,
.table-of-contents ol li:after {
    content: none !important;
    display: none !important;
}

/* Content Lists Styling */
.content ul,
.content ol {
    margin-left: 0 !important;
    padding-left: 0 !important;
    list-style: none !important;
}

.content ul li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
}

.content ul li:before {
    content: "★";
    color: var(--accent-color);
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

.content ol {
    counter-reset: item;
}

.content ol li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    counter-increment: item;
}

.content ol li:before {
    content: counter(item) ".";
    color: var(--accent-color);
    font-weight: 700;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 0;
}

/* Navigation Styles */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 1rem 0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand .brand-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    box-shadow: none !important;
}

.navbar-menu {
    background-color: var(--primary-color) !important;
}

.navbar-item {
    color: var(--text-light) !important;
    font-size: 18px;
    padding: 0.5rem 1rem !important;
    transition: background-color 0.3s ease;
}

.navbar-item:hover {
    background-color: rgba(255, 215, 0, 0.2) !important;
    color: var(--accent-color) !important;
}

.navbar-burger {
    color: var(--text-light) !important;
}

/* Hero Section */
.hero {
    background-color: var(--primary-color) !important;
    padding: 4rem 1.5rem !important;
    color: var(--text-light) !important;
}

.hero-body {
    padding: 3rem 1.5rem !important;
}

.hero .title {
    color: var(--text-light) !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
}

.hero .subtitle {
    color: var(--text-light) !important;
    font-size: 1.3rem !important;
    line-height: 1.6 !important;
    margin-bottom: 2rem !important;
    opacity: 0.95;
}

.hero .button {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border: 2px solid var(--accent-color) !important;
    color: var(--accent-color) !important;
    background-color: transparent !important;
    transition: all 0.3s ease !important;
}

.hero .button:hover {
    background-color: var(--accent-color) !important;
    color: var(--primary-color) !important;
}

/* Table of Contents */
.table-of-contents {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.table-of-contents .buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.table-of-contents .button {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.table-of-contents .button:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Section Styles */
.section {
    padding: 3rem 1.5rem !important;
}

.section h1,
.section h2,
.section h3,
.section h4 {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
}

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

.section h2 {
    font-size: 2.2rem !important;
    margin-top: 3rem !important;
}

.section h3 {
    font-size: 1.8rem !important;
    margin-top: 2rem !important;
}

.section p {
    font-size: 18px !important;
    line-height: 1.7 !important;
    margin-bottom: 1.5rem !important;
}

/* Card Styles */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    background-color: #ffffff;
}

.card-content {
    padding: 2rem;
}

.card-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem;
    border-radius: 8px 8px 0 0;
}

.card-header-title {
    color: var(--text-light) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
}

/* Image Styles */
picture {
    display: block;
    margin: 2rem 0;
}

picture img {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 100%;
    height: auto;
}

.logo-img {
    box-shadow: none !important;
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.table {
    width: 100%;
    background-color: #ffffff;
}

.table thead {
    background-color: var(--primary-color);
}

.table thead th {
    color: var(--text-light) !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 1rem !important;
    border: none !important;
}

.table tbody td {
    padding: 1rem !important;
    font-size: 18px !important;
    border-bottom: 1px solid #e0e0e0 !important;
}

.table tbody tr:hover {
    background-color: rgba(107, 33, 168, 0.05);
}

/* Button Styles */
.button {
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.button.is-outlined {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.button.is-outlined:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* Footer Styles */
.footer {
    background-color: var(--primary-color) !important;
    color: var(--text-light) !important;
    padding: 3rem 1.5rem 2rem !important;
    margin-top: 4rem;
}

.footer h3 {
    color: var(--accent-color) !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
}

.footer p,
.footer a {
    color: var(--text-light) !important;
    font-size: 18px !important;
    line-height: 1.7 !important;
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-links {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    body {
        font-size: 17px;
    }

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

    .hero .subtitle {
        font-size: 1.1rem !important;
    }

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

    .section h2 {
        font-size: 1.8rem !important;
    }

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

    .navbar-brand .brand-name {
        font-size: 24px;
    }

    .navbar-brand img {
        width: 35px;
        height: 35px;
    }

    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .card-content {
        padding: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    .hero .title {
        font-size: 1.75rem !important;
    }

    .hero .subtitle {
        font-size: 1rem !important;
    }

    .section h2 {
        font-size: 1.6rem !important;
    }

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

/* Utility Classes */
.has-text-centered {
    text-align: center !important;
}

.mb-6 {
    margin-bottom: 3rem !important;
}

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