/* ==========================================
   GLOBAL STYLES & RESET
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-size: 18px !important;
    line-height: 1.7;
    color: #000000;
    background-color: #ffffff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Be Vietnam Pro', sans-serif !important;
    font-weight: 600;
    color: #000000;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem !important;
    font-weight: 700;
}

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

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

p {
    font-size: 18px !important;
    margin-bottom: 1rem;
    line-height: 1.7;
}

strong {
    font-weight: 600;
    color: #000000;
}

/* ==========================================
   BRAND & COLOR SCHEME
   ========================================== */

.brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF7F50;
    letter-spacing: 0.5px;
}

.icon-coral {
    color: #FF7F50 !important;
    font-size: 28px !important;
}

/* ==========================================
   NAVIGATION
   ========================================== */

.navbar {
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
}

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

.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;
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

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

.navbar-dark .navbar-toggler {
    border-color: #FF7F50;
}

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

/* ==========================================
   BUTTONS
   ========================================== */

.btn-outline-coral {
    color: #FF7F50 !important;
    border-color: #FF7F50 !important;
    background-color: transparent;
    font-weight: 500;
    padding: 0.5rem 1.5rem !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-coral:hover {
    background-color: #FF7F50 !important;
    color: #ffffff !important;
    border-color: #FF7F50 !important;
}

.btn-outline-dark {
    color: #000000 !important;
    border-color: #000000 !important;
    background-color: transparent;
    font-weight: 500;
    padding: 0.375rem 1rem !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-outline-dark:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 18px !important;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    padding: 4rem 0 !important;
    margin-top: 0 !important;
}

.hero-section h1 {
    color: #000000 !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.3 !important;
}

.hero-section .hero-text {
    font-size: 18px !important;
    color: #000000 !important;
    line-height: 1.7 !important;
    margin-bottom: 1rem !important;
}

.hero-section .btn-outline-coral {
    margin-top: 1rem !important;
}

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

@media (max-width: 991px) {
    .hero-section {
        padding: 3rem 0 !important;
    }

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

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

    .hero-image {
        margin-top: 2rem;
    }
}

/* ==========================================
   TABLE OF CONTENTS
   ========================================== */

.toc-section {
    background-color: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
}

.toc-section h2 {
    font-size: 1.25rem !important;
    font-weight: 600;
    color: #000000;
}

/* ==========================================
   CONTENT SECTIONS
   ========================================== */

.content-section {
    padding: 3rem 0;
}

.content-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-color: #ffffff;
}

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

.content-card .card-body {
    padding: 2rem;
}

.content-card .card-title {
    color: #000000;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.75rem !important;
}

.content-card img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ==========================================
   LISTS
   ========================================== */

ul, ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

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

.styled-list li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    font-size: 18px !important;
    line-height: 1.7;
    list-style: none !important;
}

.styled-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #FF7F50;
    font-weight: 700;
    font-size: 20px;
}

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

/* Remove any default list styling from navbar and footer */
.navbar ul,
.navbar ol,
.navbar li,
.footer ul,
.footer ol,
.footer li {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

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

/* ==========================================
   TABLES
   ========================================== */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    font-size: 17px !important;
    border-collapse: collapse;
}

.table thead th {
    background-color: #000000;
    color: #ffffff !important;
    font-weight: 600;
    padding: 1rem;
    border: none;
    white-space: nowrap;
    font-size: 17px !important;
}

.table tbody td {
    padding: 1rem;
    border-bottom: 1px solid #e0e0e0;
    vertical-align: middle;
    font-size: 17px !important;
    color: #000000;
}

.table tbody tr {
    transition: background-color 0.2s ease;
}

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

@media (max-width: 768px) {
    .table {
        font-size: 16px !important;
    }

    .table thead th,
    .table tbody td {
        padding: 0.75rem 0.5rem;
        font-size: 16px !important;
    }
}

/* ==========================================
   MATERIAL ICONS
   ========================================== */

.material-icons {
    font-family: 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    vertical-align: middle;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background-color: #000000 !important;
    color: #ffffff;
    padding: 3rem 0;
}

.footer h4 {
    color: #FF7F50 !important;
    font-size: 1.1rem !important;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px !important;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
    list-style: none !important;
    padding-left: 0 !important;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 16px !important;
    transition: color 0.3s ease;
}

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

.footer hr {
    border-color: rgba(255, 255, 255, 0.2) !important;
    opacity: 1;
}

.footer .brand-name {
    color: #FF7F50;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 991px) {
    .navbar-collapse {
        margin-top: 1rem;
    }

    .navbar-nav {
        margin-bottom: 1rem;
    }

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

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

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

    .content-card .card-body {
        padding: 1.5rem;
    }
}

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

    p {
        font-size: 17px !important;
    }

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

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

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

    .content-card .card-body {
        padding: 1.25rem;
    }

    .btn-outline-coral,
    .btn-outline-dark {
        padding: 0.5rem 1rem !important;
        font-size: 16px !important;
    }

    .btn-lg {
        padding: 0.625rem 1.5rem !important;
        font-size: 17px !important;
    }

    .styled-list li {
        font-size: 17px !important;
    }
}

@media (max-width: 575px) {
    .hero-section {
        padding: 2rem 0 !important;
    }

    .content-section {
        padding: 2rem 0;
    }

    .toc-section .btn {
        margin-bottom: 0.5rem;
        width: 100%;
    }

    .footer {
        padding: 2rem 0;
    }
}

/* ==========================================
   ACCESSIBILITY & CONTRAST
   ========================================== */

a:focus,
button:focus,
.btn:focus {
    outline: 2px solid #FF7F50;
    outline-offset: 2px;
}

/* Ensure minimum contrast ratios */
.bg-light {
    background-color: #f8f9fa !important;
}

.bg-dark {
    background-color: #000000 !important;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-coral {
    color: #FF7F50 !important;
}

.border-coral {
    border-color: #FF7F50 !important;
}

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

/* Remove Bootstrap's default box-shadow from cards */
.card {
    border: 1px solid #e0e0e0;
}

/* Ensure images are responsive */
img {
    max-width: 100%;
    height: auto;
}

/* Remove any unwanted margins on first/last elements */
.card-body > *:first-child {
    margin-top: 0;
}

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