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

body {
    font-family: 'Lato', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Navigation */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 24px;
    color: royalblue !important;
}

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

.navbar-nav {
    list-style: none !important;
}

.navbar-nav::before,
.navbar-nav::after {
    display: none !important;
}

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

.nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 16px;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s;
}

.nav-link:hover {
    color: royalblue !important;
}

.btn-cta {
    background-color: royalblue !important;
    color: white !important;
    border: none !important;
    padding: 10px 20px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: background-color 0.3s !important;
    white-space: nowrap !important;
    text-align: center !important;
}

.btn-cta:hover {
    background-color: #4169e1 !important;
    color: white !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%) !important;
    padding: 80px 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.hero-section::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -10% !important;
    width: 500px !important;
    height: 500px !important;
    background: silver !important;
    border-radius: 50% !important;
    opacity: 0.3 !important;
    z-index: 0 !important;
}

.hero-section::after {
    content: '' !important;
    position: absolute !important;
    bottom: -30% !important;
    left: -5% !important;
    width: 400px !important;
    height: 400px !important;
    background: royalblue !important;
    border-radius: 50% !important;
    opacity: 0.2 !important;
    z-index: 0 !important;
}

.hero-content {
    position: relative !important;
    z-index: 1 !important;
}

.hero-section h1 {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    line-height: 1.2 !important;
}

.hero-section p {
    font-size: 20px !important;
    color: #333 !important;
    margin-bottom: 30px !important;
    /* max-width: 800px !important; */
}

/* Table of Contents */
.toc-section {
    padding: 40px 0;
    background-color: white;
}

.toc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.toc-btn {
    background-color: white;
    color: royalblue;
    border: 2px solid royalblue;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.toc-btn:hover {
    background-color: royalblue;
    color: white;
    text-decoration: none;
}

/* Sections */
section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: white;
}

section:nth-child(odd) {
    background-color: #f8f9fa;
}

h1 {
    font-size: 48px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 30px !important;
}

h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #1a1a1a !important;
    margin-bottom: 25px !important;
    margin-top: 40px !important;
    padding-bottom: 15px !important;
    border-bottom: 3px solid royalblue !important;
}

h3 {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
    margin-bottom: 20px !important;
    margin-top: 30px !important;
}

p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

strong {
    color: royalblue;
    font-weight: 700;
}

/* Content Lists */
.content-section ul,
.content-section ol {
    margin: 20px 0;
    padding-left: 0;
}

.content-section ul li,
.content-section ol li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.content-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: royalblue;
    font-weight: bold;
    font-size: 20px;
}

.content-section ol {
    counter-reset: item;
}

.content-section ol li {
    counter-increment: item;
}

.content-section ol li::before {
    content: counter(item) '.';
    position: absolute;
    left: 0;
    color: royalblue;
    font-weight: bold;
    font-size: 18px;
}

/* Cards */
.card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-body {
    padding: 30px;
}

.card-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: royalblue !important;
    margin-bottom: 15px !important;
}

.card-text {
    font-size: 18px;
    color: #333;
    line-height: 1.8;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    background-color: white;
    border-collapse: collapse;
    font-size: 18px;
}

thead {
    background-color: royalblue;
    color: white;
}

thead th {
    padding: 20px;
    font-weight: 700;
    text-align: left;
    font-size: 18px;
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

tbody td {
    padding: 20px;
    color: #333;
    font-size: 18px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

picture {
    display: block;
    margin: 30px 0;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

footer h5 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: royalblue !important;
    margin-bottom: 20px !important;
}

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

footer ul::before,
footer ul::after {
    display: none !important;
}

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

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: silver;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
}

footer a:hover {
    color: royalblue;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: silver;
    font-size: 16px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 36px !important;
    }

    h2 {
        font-size: 28px !important;
    }

    h3 {
        font-size: 24px !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0 !important;
    }

    .hero-section h1 {
        font-size: 32px !important;
    }

    .hero-section p {
        font-size: 18px !important;
    }

    h2 {
        font-size: 24px !important;
    }

    h3 {
        font-size: 20px !important;
    }

    .toc-buttons {
        flex-direction: column;
    }

    .toc-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    body {
        font-size: 16px;
    }

    .hero-section h1 {
        font-size: 28px !important;
    }

    .navbar-brand {
        font-size: 20px;
    }

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