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

body {
    font-family: 'Geist Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #2C3E50;
    background-color: #FFFFF0;
}

/* Typography */
h1 {
    font-size: 42px !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #2C3E50 !important;
    line-height: 1.3 !important;
}

h2 {
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    color: #2C3E50 !important;
    line-height: 1.4 !important;
}

h3 {
    font-size: 24px !important;
    font-weight: 600 !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    color: #2C3E50 !important;
}

p {
    font-size: 18px;
    margin-bottom: 16px;
    color: #2C3E50;
}

strong {
    font-weight: 600;
    color: #2C3E50;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: #FFFFF0 !important;
}

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

.navbar-nav .nav-link {
    color: #FFFFF0 !important;
    font-size: 17px;
    font-weight: 500;
    padding: 8px 18px !important;
    transition: color 0.3s ease;
    list-style: none !important;
}

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

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

.navbar-nav .nav-link:hover {
    color: #40E0D0 !important;
}

.navbar-toggler {
    border-color: #FFFFF0;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 240, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.cta-btn {
    background-color: #40E0D0 !important;
    color: #2C3E50 !important;
    border: none !important;
    padding: 10px 24px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 5px;
    text-decoration: none !important;
    display: inline-block;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin: 5px;
}

.cta-btn:hover {
    background-color: #36C9BA !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(64, 224, 208, 0.3);
}

footer p, .footer p {
    color: #FFFFF0 !important;
}

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

.hero-section h1 {
    color: #FFFFF0 !important;
    font-size: 48px !important;
    margin-bottom: 25px !important;
}

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

.hero-section .cta-btn {
    margin-top: 15px !important;
    font-size: 18px !important;
    padding: 14px 32px !important;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Table of Contents */
.toc-section {
    background-color: #f8f9fa;
    padding: 40px 0;
    margin-bottom: 40px;
}

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

.toc-list li {
    margin-bottom: 12px;
    list-style: none !important;
}

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

.toc-list a {
    color: #2C3E50;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-left: 3px solid #40E0D0;
    background-color: white;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.toc-list a:hover {
    background-color: #40E0D0;
    color: #FFFFF0;
    transform: translateX(5px);
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    background-color: white;
}

.card-body {
    padding: 30px;
}

.card h2,
.card h3 {
    margin-top: 0 !important;
}

/* Lists Styling */
ul, ol {
    margin-bottom: 20px;
    padding-left: 0;
    list-style: none;
}

ul li, ol li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 18px;
    line-height: 1.6;
}

ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 0;
    height: 0;
    border-left: 8px solid #40E0D0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

ol {
    counter-reset: item;
}

ol li::before {
    content: counter(item) '.';
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 0;
    color: #40E0D0;
    font-weight: 700;
    font-size: 18px;
}

/* Remove markers from navigation and footer */
.navbar-nav,
.navbar-nav li,
.footer-links,
.footer-links li {
    list-style: none !important;
}

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

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

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

thead {
    background-color: #2C3E50;
}

thead th {
    color: #FFFFF0;
    padding: 18px 15px;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
}

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

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

tbody td {
    padding: 16px 15px;
    color: #2C3E50;
}

tbody td strong {
    color: #40E0D0;
    font-weight: 600;
}

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

/* Footer */
.footer {
    background-color: #2C3E50;
    color: #FFFFF0;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer h4 {
    color: #FFFFF0;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

.footer-links li {
    margin-bottom: 10px;
    list-style: none !important;
}

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

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

.footer-links a:hover {
    color: #40E0D0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,240,0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: #FFFFF0;
    font-size: 16px;
}

/* Font Awesome Icons */
.fas, .fa {
    color: #40E0D0;
    margin-right: 10px;
}

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

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

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

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

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

    .content-section {
        padding: 40px 0;
    }

    .card-body {
        padding: 20px;
    }

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

    .cta-btn {
        font-size: 15px !important;
        padding: 9px 20px !important;
    }

    table {
        font-size: 15px;
    }

    thead th, tbody td {
        padding: 12px 10px;
    }
}

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

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

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

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

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

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

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