/* ================================================
   VICTORIA INSTITUTIONS - STANDARD BOOK STYLE
   English Books (Clean Version)
   ================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
}

/* ==================== BASE STYLES ==================== */
body {
    font-family: "Georgia", "Noto Serif", "EB Garamond", "Times New Roman", serif;
    font-size: 1.085rem;
    line-height: 1.82;
    color: #1f1f1f;
    background: #f9f7f4;
    max-width: 1020px;
    margin: 0 auto;
    padding: 95px 2.4em 8em;
}

/* ==================== HEADINGS ==================== */
h1, h2, h3, h4, h5 {
    font-family: "Georgia", "Noto Serif", serif;
    font-weight: 600;
    line-height: 1.35;
    margin-top: 2.2em;
    margin-bottom: 0.8em;
}

h1 { font-size: 2.1rem; }
h2 { font-size: 1.65rem; }
h3 { font-size: 1.35rem; }

/* ==================== PARAGRAPHS ==================== */
.book-content p,
p {
    margin-bottom: 1.25em;
    text-indent: 1.6em;
    text-align: justify;
    text-justify: inter-word;
}

.book-content h1 + p,
.book-content h2 + p,
.book-content h3 + p {
    text-indent: 0;
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
    body {
        font-size: 1.12rem;
        padding: 88px 1.2em 6em;
    }
    
    h1 { font-size: 1.85rem !important; }
    h2 { font-size: 1.48rem !important; }
    h3 { font-size: 1.25rem !important; }
    
    .book-content p {
        text-indent: 1.4em;
        margin-bottom: 1.1em;
    }
}

/* ==================== NAV BAR & OTHER ELEMENTS ==================== */
.fixed-nav-bar {
    position: sticky;
    top: 0;
    z-index: 10000;
    background: #2c2118;
    color: #e8d9c8;
    padding: 13px 16px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.nav-btn {
    padding: 10px 20px;
    font-size: 15.5px;
    background: rgba(232, 217, 200, 0.18);
    border: 1px solid rgba(232, 217, 200, 0.35);
    border-radius: 7px;
    color: #e8d9c8;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    flex: 1;
    text-align: center;
    transition: all 0.25s;
}

.nav-btn:hover {
    background: rgba(232, 217, 200, 0.32);
    border-color: #d4b89c;
    transform: translateY(-2px);
}

/* Table of Contents */
#TableofContents1 {
    background: #f4f4f4;
    padding: 1.8em 1.2em;
    border-radius: 10px;
    margin: 2.5em auto;
    border: 1px solid #ddd;
    max-width: 680px;
}

/* Footer */
footer {
    text-align: center;
    margin-top: 6em;
    padding: 3em 0 2em;
    color: #666;
    font-size: 0.94em;
    border-top: 1px solid #eee;
}