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

/* Import Material Icons */
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

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

body {
    font-family: 'DM Sans', sans-serif !important;
    background-color: #fffff0 !important;
    color: #2c3e50 !important;
    line-height: 1.8 !important;
    font-size: 18px !important;
}

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

/* Header Styles with !important */
h1 {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.2 !important;
    color: #2c3e50 !important;
}

h2 {
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin-top: 2.5rem !important;
    margin-bottom: 1.2rem !important;
    line-height: 1.3 !important;
    color: #2c3e50 !important;
}

h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-top: 2rem !important;
    margin-bottom: 1rem !important;
    line-height: 1.3 !important;
    color: #2c3e50 !important;
}

p {
    margin-bottom: 1.2rem !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

/* Navigation */
.navbar {
    background-color: #2c3e50 !important;
    padding: 1rem 0 !important;
}

.navbar-brand .brand-name {
    color: #FFD700 !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

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

.navbar-menu {
    background-color: #2c3e50 !important;
}

.navbar-item {
    color: #fffff0 !important;
    font-size: 1rem !important;
    transition: color 0.3s ease !important;
}

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

.navbar-burger {
    color: #fffff0 !important;
}

/* Remove markers from navbar - IMPORTANT */
.navbar ul, .navbar ol, .navbar li {
    list-style: none !important;
}

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

/* Hero Section with !important */
.hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
    padding: 4rem 1.5rem !important;
    position: relative !important;
    overflow: hidden !important;
    min-height: 500px !important;
}

.hero::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -10% !important;
    width: 500px !important;
    height: 500px !important;
    background: rgba(255, 215, 0, 0.1) !important;
    border-radius: 50% !important;
}

.hero::after {
    content: '' !important;
    position: absolute !important;
    bottom: -30% !important;
    left: -5% !important;
    width: 400px !important;
    height: 400px !important;
    background: rgba(255, 215, 0, 0.08) !important;
    border-radius: 50% !important;
}

.hero-body {
    position: relative !important;
    z-index: 2 !important;
}

.hero h1 {
    color: #fffff0 !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3) !important;
}

.hero p {
    color: #fffff0 !important;
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
    max-width: 800px !important;
}

/* Conversion Buttons */
.button.is-primary {
    background-color: #FFD700 !important;
    color: #2c3e50 !important;
    border: none !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    padding: 0.8rem 2.5rem !important;
    border-radius: 6px !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.button.is-primary:hover {
    background-color: #FFC700 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2) !important;
}

/* Table of Contents */
.toc {
    background-color: #f8f9fa !important;
    border-left: 4px solid #FFD700 !important;
    padding: 1.5rem !important;
    margin-bottom: 3rem !important;
    border-radius: 4px !important;
}

.toc ul {
    list-style: none !important;
    padding-left: 0 !important;
}

.toc li {
    margin-bottom: 0.8rem !important;
    padding-left: 1.5rem !important;
    position: relative !important;
}

.toc li:before {
    content: '+' !important;
    color: #FFD700 !important;
    font-weight: 700 !important;
    position: absolute !important;
    left: 0 !important;
}

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

.toc a:hover {
    color: #FFD700 !important;
}

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

.content-section {
    margin-bottom: 3rem !important;
}

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

.card-header {
    background-color: transparent !important;
    border-bottom: 2px solid #FFD700 !important;
    padding-bottom: 1rem !important;
    margin-bottom: 1.5rem !important;
}

/* Content Lists with yellow markers */
.content ul {
    margin-left: 0 !important;
    padding-left: 2rem !important;
    margin-bottom: 1.5rem !important;
}

.content ul li {
    position: relative !important;
    margin-bottom: 1rem !important;
    padding-left: 1.5rem !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
}

.content ul li:before {
    content: '+' !important;
    color: #FFD700 !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

.content ol {
    counter-reset: item !important;
    margin-left: 0 !important;
    padding-left: 2rem !important;
    margin-bottom: 1.5rem !important;
}

.content ol li {
    position: relative !important;
    margin-bottom: 1rem !important;
    padding-left: 2rem !important;
    font-size: 18px !important;
    line-height: 1.8 !important;
    counter-increment: item !important;
}

.content ol li:before {
    content: '+' !important;
    color: #FFD700 !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
}

/* Images */
.content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    margin: 1.5rem 0 !important;
}

.content picture {
    display: block !important;
    margin: 2rem 0 !important;
}

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

.table {
    background-color: #ffffff !important;
    width: 100% !important;
    border-collapse: collapse !important;
}

.table thead th {
    background-color: #2c3e50 !important;
    color: #fffff0 !important;
    font-weight: 700 !important;
    padding: 1rem !important;
    text-align: left !important;
    font-size: 1rem !important;
}

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

.table tbody tr:hover {
    background-color: #f8f9fa !important;
}

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

.footer h3 {
    color: #FFD700 !important;
    font-size: 1.3rem !important;
    margin-bottom: 1rem !important;
}

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

.footer li {
    margin-bottom: 0.8rem !important;
}

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

.footer a:hover {
    color: #FFD700 !important;
}

.footer-bottom {
    text-align: center !important;
    margin-top: 2rem !important;
    padding-top: 2rem !important;
    border-top: 1px solid rgba(255, 255, 240, 0.2) !important;
    color: #fffff0 !important;
}

/* Remove markers from footer - IMPORTANT */
.footer ul, .footer ol, .footer li {
    list-style: none !important;
}

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

/* Material Icons styling */
.material-icons {
    color: #FFD700 !important;
    vertical-align: middle !important;
    margin-right: 0.5rem !important;
}

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

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

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

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

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

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

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

    .card {
        padding: 1.5rem !important;
    }

    .button.is-primary {
        font-size: 1rem !important;
        padding: 0.7rem 2rem !important;
    }

    .table thead th,
    .table tbody td {
        padding: 0.8rem !important;
        font-size: 16px !important;
    }
}

@media screen and (max-width: 480px) {
    h1 {
        font-size: 1.8rem !important;
    }

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

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

    .hero {
        padding: 3rem 1rem !important;
    }

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