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

body {
    font-family: 'Instrument Sans', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    background-color: #fff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    margin-bottom: 1rem !important;
    color: #1a1a1a;
}

.nav-item::before {
    content: none !important;
}



h1 {
    font-size: 2.5rem !important;
    line-height: 1.2 !important;
    margin-top: 50px !important;
}

h2 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
    margin-top: 3rem !important;
}

h3 {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    margin-top: 2rem !important;
}

p {
    margin-bottom: 1.5rem;
    font-size: 18px;
}

strong {
    font-weight: 600;
    color: #1a1a1a;
}

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

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

.navbar-brand img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
}

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

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

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

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

.navbar-nav .nav-item::marker {
    display: none !important;
}

.btn-cta-nav {
    background-color: gold !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    padding: 0.6rem 1.5rem !important;
    border-radius: 5px !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
    color: #1a1a1a !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, deepskyblue 0%, #00bfff 100%) !important;
    padding: 5rem 0 !important;
    position: relative !important;
    overflow: hidden !important;
    color: #fff !important;
    min-height: 500px !important;
}

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

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

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

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

.hero-section p {
    color: #fff !important;
    font-size: 1.2rem !important;
    margin-bottom: 2rem !important;
    max-width: 800px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.15) !important;
}

.btn-hero-cta {
    background-color: gold !important;
    color: #1a1a1a !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    padding: 1rem 2.5rem !important;
    border-radius: 5px !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    white-space: nowrap !important;
}

.btn-hero-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.5) !important;
    color: #1a1a1a !important;
}

/* Table of Contents */
.toc-section {
    background-color: #f8f9fa;
    padding: 2rem;
    border-radius: 8px;
    margin: 3rem 0;
}

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

.toc-list li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.toc-list li:last-child {
    border-bottom: none;
}

.toc-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: block;
}

.toc-list a:hover {
    color: deepskyblue;
}

.toc-list li::marker {
    display: none !important;
}

.toc-list li::before,
.toc-list li::after {
    display: none !important;
}

/* Content Sections */
.content-section {
    padding: 3rem 0;
}

.section-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

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

ul li, ol li {
    padding: 0.5rem 0 0.5rem 2rem;
    position: relative;
    font-size: 18px;
    line-height: 1.7;
}

ul li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: gold;
    font-size: 1.2rem;
    line-height: 1.7;
}

ol {
    counter-reset: list-counter;
}

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

ol li::before {
    content: counter(list-counter) '.';
    position: absolute;
    left: 0;
    color: gold;
    font-weight: 600;
    font-size: 1rem;
}

ul li::marker,
ol li::marker {
    display: none !important;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    font-size: 17px;
}

thead {
    background-color: deepskyblue;
    color: #fff;
}

thead th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
}

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

/* Images */
picture, img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.img-float-left {
    float: left;
    margin: 1rem 1.5rem 1rem 0;
}

.img-full {
    width: 100%;
    margin: 1.5rem 0;
}

/* Conversion Buttons */
.btn-conversion {
    background-color: deepskyblue !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    padding: 1rem 2rem !important;
    border-radius: 5px !important;
    border: none !important;
    text-decoration: none !important;
    display: inline-block !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
    white-space: nowrap !important;
    margin: 1rem 0 !important;
}

.btn-conversion:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.4) !important;
    color: #fff !important;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

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

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

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

.footer-links li {
    padding: 0.4rem 0 !important;
}

.footer-links li::before,
.footer-links li::after {
    display: none !important;
}

.footer-links li::marker {
    display: none !important;
}

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

.footer-links a:hover {
    color: deepskyblue;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #333;
    font-size: 16px;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem !important;
    }

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

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

    .hero-section {
        padding: 3rem 0 !important;
        min-height: 400px !important;
    }

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

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

    .btn-hero-cta {
        font-size: 1rem !important;
        padding: 0.8rem 2rem !important;
    }

    .section-card {
        padding: 1.5rem;
    }

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

    .img-float-left {
        float: none;
        margin: 1rem 0;
    }
}

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

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

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

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

    .hero-section {
        padding: 2rem 0 !important;
        min-height: 350px !important;
    }

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

    .btn-hero-cta,
    .btn-conversion {
        font-size: 0.95rem !important;
        padding: 0.7rem 1.5rem !important;
    }

    ul li, ol li {
        font-size: 16px;
    }

    table {
        font-size: 15px;
    }

    thead th, tbody td {
        padding: 0.7rem;
    }
}
