/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #212529;
    background: #ffffff;
}

/* ===== COLORS ===== */
:root {
    --primary-color: #2e8b57;
    --accent-color: #50c878;
    --text-dark: #212529;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #dee2e6;
}

/* ===== NAVIGATION ===== */
.navbar {
    background: #2e8b57 !important;
    padding: 1rem 0 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

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

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

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

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

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

.navbar-nav .nav-link:hover {
    color: #50c878 !important;
    background: rgba(255,255,255,0.1) !important;
    border-radius: 5px;
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.5) !important;
}

.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, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.btn-cta {
    background: #50c878 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 0.6rem 1.5rem !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-cta:hover {
    background: #3cb371 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: #2e8b57 !important;
    color: #ffffff !important;
    padding: 80px 0 !important;
    text-align: center !important;
}

.hero-section h1 {
    font-size: 48px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    color: #ffffff !important;
}

.hero-section .lead {
    font-size: 20px !important;
    margin-bottom: 32px !important;
    color: #ffffff !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-section .btn-hero {
    background: #50c878 !important;
    color: #ffffff !important;
    border: none !important;
    padding: 1rem 2.5rem !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.hero-section .btn-hero:hover {
    background: #3cb371 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* ===== HEADINGS ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    margin-bottom: 20px !important;
    color: #212529 !important;
}

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

h2 {
    font-size: 36px !important;
    margin-top: 48px !important;
    padding-bottom: 12px !important;
    border-bottom: 3px solid #2e8b57 !important;
}

h3 {
    font-size: 28px !important;
    margin-top: 32px !important;
    color: #2e8b57 !important;
}

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

/* ===== SECTIONS ===== */
section {
    padding: 60px 0;
}

.section-content {
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* ===== TABLE OF CONTENTS ===== */
.toc-section {
    background: #f8f9fa;
    padding: 40px 0;
    margin: 40px 0;
}

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

.toc-buttons .btn {
    font-size: 16px !important;
    padding: 0.6rem 1.2rem !important;
    white-space: nowrap !important;
}

/* ===== CARDS ===== */
.card {
    border: 1px solid #dee2e6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.card-header {
    background: #2e8b57;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    padding: 16px 20px;
    border-radius: 10px 10px 0 0 !important;
}

.card-body {
    padding: 24px;
    font-size: 17px;
}

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

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

ul li::before {
    content: "+" !important;
    position: absolute;
    left: 0;
    top: 0;
    color: #50c878;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
}

ol {
    counter-reset: custom-counter;
}

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

ol li::before {
    content: counter(custom-counter) "." !important;
    position: absolute;
    left: 0;
    top: 0;
    color: #50c878;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

/* Remove markers from navbar and footer */
.navbar ul,
.navbar ul li,
.footer ul,
.footer ul li,
.navbar-nav,
.navbar-nav li,
.toc-buttons ul,
.toc-buttons ul li {
    list-style: none !important;
    padding-left: 0 !important;
}

.navbar ul li::before,
.navbar ul li::after,
.footer ul li::before,
.footer ul li::after,
.navbar-nav li::before,
.navbar-nav li::after,
.toc-buttons ul li::before,
.toc-buttons ul li::after {
    display: none !important;
    content: none !important;
}

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

table {
    width: 100%;
    border-collapse: collapse;
    font-size: 17px;
    min-width: 600px;
}

thead {
    background: #2e8b57;
    color: #ffffff;
}

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

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

tbody tr:nth-child(even) {
    background: #f8f9fa;
}

tbody tr:hover {
    background: #e9ecef;
}

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

/* ===== IMAGES ===== */
img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

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

/* ===== BUTTONS ===== */
.btn {
    padding: 0.7rem 1.8rem !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    transition: all 0.3s ease !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.btn-primary {
    background: #2e8b57 !important;
    border: none !important;
    color: #ffffff !important;
}

.btn-primary:hover {
    background: #236b43 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.btn-outline-primary {
    background: transparent !important;
    border: 2px solid #2e8b57 !important;
    color: #2e8b57 !important;
}

.btn-outline-primary:hover {
    background: #2e8b57 !important;
    border-color: #2e8b57 !important;
    color: #ffffff !important;
}

.btn-success {
    background: #50c878 !important;
    border: none !important;
    color: #ffffff !important;
}

.btn-success:hover {
    background: #3cb371 !important;
    color: #ffffff !important;
}

/* ===== FOOTER ===== */
.footer {
    background: #212529;
    color: #ffffff;
    padding: 50px 0 20px;
    margin-top: 60px;
}

.footer h5 {
    color: #50c878 !important;
    font-size: 20px !important;
    margin-bottom: 20px !important;
}

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

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

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

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

.footer a:hover {
    color: #50c878;
}

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

/* ===== ICONS ===== */
.bi {
    color: #2e8b57;
    margin-right: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .hero-section h1 {
        font-size: 36px !important;
    }

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

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

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

    .section-content {
        padding: 24px;
    }

    .navbar-nav {
        margin-top: 16px;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 0 !important;
    }

    .btn-cta {
        margin-top: 10px;
        width: 100%;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 17px;
    }

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

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

    .hero-section .lead {
        font-size: 17px !important;
    }

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

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

    .section-content {
        padding: 20px;
    }

    .card-body {
        padding: 16px;
    }

    .toc-buttons .btn {
        font-size: 15px !important;
        padding: 0.5rem 1rem !important;
    }

    .table-container {
        margin: 20px -15px;
        border-radius: 0;
    }
}

@media (max-width: 575px) {
    .hero-section h1 {
        font-size: 26px !important;
    }

    .hero-section .lead {
        font-size: 16px !important;
    }

    .hero-section .btn-hero {
        padding: 0.8rem 1.5rem !important;
        font-size: 16px !important;
    }

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

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

/* ===== UTILITIES ===== */
.text-seagreen {
    color: #2e8b57 !important;
}

.text-emerald {
    color: #50c878 !important;
}

.bg-seagreen {
    background: #2e8b57 !important;
}

.bg-emerald {
    background: #50c878 !important;
}

.mb-4 {
    margin-bottom: 24px !important;
}

.mt-4 {
    margin-top: 24px !important;
}
