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

body {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2c2c2c;
    background-color: #fafafa;
}

/* Bootstrap Framework Required Rules */
.navbar-nav {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    list-style: none !important;
}

.nav-item {
    margin-bottom: 0 !important;
    list-style: none !important;
}

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

/* Brand and Logo */
.navbar-brand {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #800020 !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

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

.nav-link {
    color: #2c2c2c !important;
    font-weight: 500;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
}

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

.btn-cta-nav {
    background-color: #800020 !important;
    color: #f5e6d3 !important;
    border: none !important;
    padding: 10px 24px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: background-color 0.3s ease;
}

.btn-cta-nav:hover {
    background-color: #a00028 !important;
    color: #f5e6d3 !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f5e6d3 0%, #fff 100%) !important;
    padding: 80px 0 !important;
    margin-bottom: 60px !important;
}

.hero-section h1 {
    font-size: 48px !important;
    font-weight: 800 !important;
    color: #800020 !important;
    margin-bottom: 24px !important;
    line-height: 1.2 !important;
}

.hero-section p {
    font-size: 20px !important;
    color: #2c2c2c !important;
    margin-bottom: 32px !important;
    line-height: 1.6 !important;
}

.btn-hero {
    background-color: #800020 !important;
    color: #f5e6d3 !important;
    border: none !important;
    padding: 16px 40px !important;
    border-radius: 30px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: all 0.3s ease;
    display: inline-block !important;
}

.btn-hero:hover {
    background-color: #a00028 !important;
    color: #f5e6d3 !important;
    transform: translateY(-2px);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

/* Table of Contents */
.toc-section {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 60px;
}

.toc-section ol {
    list-style: none !important;
    counter-reset: toc-counter;
    padding-left: 0 !important;
}

.toc-section ol li {
    counter-increment: toc-counter;
    margin-bottom: 12px;
    padding-left: 40px;
    position: relative;
}

.toc-section ol li::before {
    content: counter(toc-counter) ".";
    position: absolute;
    left: 0;
    color: #800020;
    font-weight: 700;
    font-size: 18px;
}

.toc-section a {
    color: #2c2c2c;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.toc-section a:hover {
    color: #800020;
}

/* Headings */
h1 {
    font-size: 44px !important;
    font-weight: 800 !important;
    color: #800020 !important;
    margin-bottom: 28px !important;
    line-height: 1.3 !important;
}

h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    color: #800020 !important;
    margin-top: 60px !important;
    margin-bottom: 24px !important;
    line-height: 1.3 !important;
}

h3 {
    font-size: 28px !important;
    font-weight: 600 !important;
    color: #2c2c2c !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
}

/* Sections */
.content-section {
    background-color: #fff;
    padding: 50px 40px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

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

/* Lists */
ul, ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 24px 0;
}

ul li, ol li {
    padding-left: 40px;
    position: relative;
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.7;
}

ul li::before {
    content: "+" !important;
    position: absolute;
    left: 10px;
    color: #f5e6d3;
    background-color: #800020;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
}

ol li {
    counter-increment: list-counter;
}

ol li::before {
    content: counter(list-counter) "." !important;
    position: absolute;
    left: 10px;
    color: #f5e6d3;
    background-color: #800020;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

thead {
    background-color: #800020;
    color: #f5e6d3;
}

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

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

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

tbody td {
    padding: 16px;
    font-size: 18px;
}

/* Cards */
.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: none;
}

.card-title {
    font-size: 24px !important;
    font-weight: 600 !important;
    color: #800020 !important;
    margin-bottom: 16px !important;
}

/* Footer */
.footer {
    background-color: #800020;
    color: #f5e6d3;
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer h4 {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #f5e6d3 !important;
    margin-bottom: 20px !important;
}

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

.footer ul li {
    margin-bottom: 12px;
    padding-left: 0 !important;
}

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

.footer a {
    color: #f5e6d3;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s ease;
}

.footer a:hover {
    opacity: 0.8;
    color: #f5e6d3;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 230, 211, 0.3);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #f5e6d3 !important;
    font-size: 16px;
    margin: 0;
}

/* Conversion Buttons */
.btn-conversion {
    background-color: #800020 !important;
    color: #f5e6d3 !important;
    border: none !important;
    padding: 14px 36px !important;
    border-radius: 25px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    transition: all 0.3s ease;
    display: inline-block !important;
    text-decoration: none;
}

.btn-conversion:hover {
    background-color: #a00028 !important;
    color: #f5e6d3 !important;
    transform: translateY(-2px);
}

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

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

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

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

    .content-section {
        padding: 30px 20px;
    }

    .toc-section {
        padding: 25px 20px;
    }
}

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

    .hero-section {
        padding: 50px 0 !important;
    }

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

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

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

    .navbar-brand {
        font-size: 22px !important;
    }
}
