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

body {
    font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #333;
    overflow-x: hidden;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-weight: 700 !important;
    font-size: 24px !important;
    color: tomato !important;
}

.brand-name {
    color: tomato;
    font-weight: 700;
    font-size: 24px;
}

.navbar-brand img {
    box-shadow: none !important;
}

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

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

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

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

.nav-link {
    font-weight: 600;
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero-section {
    position: relative;
    padding: 140px 0 100px 0 !important;
    background: linear-gradient(135deg, #fff5f5 0%, #e0ffff 100%) !important;
    overflow: hidden !important;
    min-height: 500px !important;
}

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

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

.hero-btn {
    padding: 14px 40px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    border: 2px solid tomato !important;
    color: tomato !important;
    background: transparent !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.hero-btn:hover {
    background: tomato !important;
    color: white !important;
}

.hero-shapes {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.shape {
    position: absolute !important;
    opacity: 0.15 !important;
    border-radius: 50% !important;
}

.shape-1 {
    width: 300px !important;
    height: 300px !important;
    background: tomato !important;
    top: -100px !important;
    right: -50px !important;
}

.shape-2 {
    width: 200px !important;
    height: 200px !important;
    background: aqua !important;
    bottom: 50px !important;
    left: -50px !important;
}

.shape-3 {
    width: 150px !important;
    height: 150px !important;
    background: tomato !important;
    top: 50% !important;
    left: 10% !important;
}

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

/* Table of Contents */
.toc-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.toc-section .btn {
    margin: 5px;
    font-size: 16px;
    padding: 12px 24px;
}

.toc-section .btn-outline-secondary {
    border-color: #6c757d;
    color: #6c757d;
}

.toc-section .btn-outline-secondary:hover {
    background: #6c757d;
    color: white;
}

/* Sections */
.intro-section,
.content-section,
.conclusion-section {
    padding: 80px 0;
}

.content-section.bg-light {
    background: #f8f9fa !important;
}

/* Headers */
h1 {
    font-size: 48px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    color: #222 !important;
}

h2 {
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: 24px !important;
    margin-top: 0 !important;
    color: tomato !important;
}

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

h5 {
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    color: #333 !important;
}

/* Paragraphs */
p {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #444;
}

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

ul.custom-list,
ol.custom-list {
    list-style: none !important;
}

ul.custom-list li,
ol.custom-list li {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
    padding-left: 40px;
    position: relative;
    list-style: none !important;
}

ul.custom-list li::before,
ol.custom-list li::before {
    display: none !important;
}

ul.custom-list li::marker,
ol.custom-list li::marker {
    display: none !important;
}

ul.custom-list li i,
ol.custom-list li i {
    position: absolute;
    left: 0;
    top: 2px;
    color: aqua;
    font-size: 20px;
}

/* Cards */
.card {
    border-radius: 12px;
    margin-bottom: 24px;
}

.card-body {
    padding: 24px;
}

.card-body p:last-child {
    margin-bottom: 0;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.img-fluid {
    border-radius: 8px;
}

/* Tables */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 24px;
}

.table {
    font-size: 16px;
    margin-bottom: 0;
}

.table thead th {
    background: #333 !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 16px !important;
    border: none !important;
}

.table tbody td {
    padding: 14px !important;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

.table-hover tbody tr:hover {
    background-color: rgba(255, 99, 71, 0.05);
}

/* Buttons */
.btn {
    font-family: 'Onest', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 28px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-outline-primary {
    border: 2px solid tomato;
    color: tomato;
    background: transparent;
}

.btn-outline-primary:hover {
    background: tomato;
    color: white;
    border-color: tomato;
}

.btn-lg {
    padding: 14px 40px;
    font-size: 18px;
}

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

.footer h5 {
    color: #ecf0f1 !important;
    font-size: 20px !important;
    font-weight: 600 !important;
    margin-bottom: 20px !important;
}

.footer p {
    color: #bdc3c7 !important;
    font-size: 16px;
}

.footer .brand-name {
    color: tomato !important;
}

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

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

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

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

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

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

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

.footer hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer .text-center p {
    color: #95a5a6 !important;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero-section {
        padding: 120px 0 80px 0 !important;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    .toc-section .btn {
        font-size: 15px;
        padding: 10px 20px;
        margin: 4px;
    }

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

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

    .table {
        font-size: 14px;
    }

    .table thead th,
    .table tbody td {
        padding: 10px !important;
    }
}

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

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

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

    p, ul.custom-list li, ol.custom-list li {
        font-size: 16px;
    }

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

    .footer {
        padding: 40px 0 20px 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Section Spacing */
section {
    scroll-margin-top: 80px;
}

/* Link Styles */
a {
    color: tomato;
    text-decoration: none;
}

a:hover {
    color: #d63031;
}

/* Strong/Bold Text */
strong {
    font-weight: 600;
    color: #222;
}

/* Lead Paragraph */
.lead {
    font-size: 20px !important;
    line-height: 1.6 !important;
}

/* Utility Classes */
.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

/* Ensure no conflicts with navbar/footer list styling */
nav ul,
footer ul {
    list-style: none !important;
}

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

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

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