/* =========================
   RESET
========================= */

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

html,body{
    width:100%;
    overflow-x:hidden;
}

body{
    font-family:Georgia,"Times New Roman",serif;
    background:#f6f3ee;
    color:#1c1c1c;
    line-height:1.7;
    overflow-wrap:break-word;
}

/* =========================
   BASE
========================= */

img{
    display:block;
    max-width:100%;
    height:auto;
    margin:0 auto;
    image-rendering:auto;
    -ms-interpolation-mode:bicubic;
}

img[width],
img[height]{
    width:auto !important;
    height:auto !important;
}

.container{
    max-width:1100px;
    margin:auto;
    background:#fff;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.center{
    text-align:center;
}

.block{
    margin-bottom:30px;
}

/* =========================
   HEADER
========================= */

.header{
   position:relative;
    top:0;
    z-index:1000;
    padding:25px;
    background:rgba(255,255,255,.92);
    backdrop-filter:blur(10px);
    border-bottom:1px solid #eee;
}

.brand{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    gap:20px;
}

.site-name{
    font-size:34px;
    font-weight:400;
    letter-spacing:1px;
}

.site-name span{
    color:#b89b5e;
}

.logo p{
    margin-top:5px;
    font-size:16px;
    color:#777;
}

.contacts{
    font-size:14px;
    color:#777;
    text-align:right;
}

/* =========================
   MENU
========================= */

.menu-toggle{
    display:none;
    padding:12px;
    text-align:center;
    font-size:20px;
    background:#fff;
    border-bottom:1px solid #eee;
    cursor:pointer;
}

nav{
    background:#fff;
    border-bottom:1px solid #eee;
}

nav ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:18px;
    list-style:none;
    padding:15px 20px;
}

nav a{
    color:#1c1c1c;
    text-decoration:none;
    font-size:14px;
    transition:.3s;
}

nav a:hover{
    color:#b89b5e;
	letter-spacing:0.5px;
}

/* =========================
   PAGE TITLE
========================= */

.page-title{
    padding:30px 20px 20px;
    text-align:center;
}

.page-title h1{
    font-size:36px;
    font-weight:400;
    line-height:1.3;
}

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

.hero{
    position:relative;
    text-align:center;
}

.hero-text{
	position:absolute;
	left:50%;
	bottom:20px;
	transform:translateX(-50%);
	padding:12px 20px;
	border-radius:6px;
	background:rgba(0,0,0,.45);
	color:#fff;
	text-align:center;
	font-size:18px;
	width: 566px;
}

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

.content{
    padding:35px 25px;
    font-size:16px;
    color:#333;
}

.content h2{
    margin-bottom:15px;
    color:#b89b5e;
    font-weight:400;
}

.content h4{
    margin-bottom:12px;
    font-weight:normal;
}

.content a{
    color:#1c1c1c;
    text-decoration:none;
    transition:color .3s ease;
}

.content a:hover{
    color:#b89b5e;
}
/* =========================
   TABLE
========================= */

table{
    width:100%;
    max-width:700px;
    margin:20px auto;
    border-collapse:collapse;
}

td{
    padding:6px;
    border-bottom:1px solid #ddd;
}

/* =========================
   CARDS
========================= */

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    padding:0 25px 40px;
}

.card{
    padding:20px;
    border:1px solid #eee;
    border-radius:10px;
    background:#fff;
    transition:.3s;
}

.card:hover{
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.card h3{
    margin-bottom:10px;
    color:#b89b5e;
}

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

footer{
    padding:40px 25px;
    background:#111;
    color:#bbb;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:30px;
}

footer h4{
    margin-bottom:10px;
    color:#fff;
    font-size:14px;
}

footer a{
    display:block;
    margin-bottom:6px;
    color:#aaa;
    text-decoration:none;
    font-size:13px;
}

footer a:hover{
    color:#fff;
}

.bottom{
    margin-top:20px;
    padding-top:15px;
    border-top:1px solid #333;
    text-align:center;
    font-size:12px;
}

/* AI LINKS IN FOOTER */

.footer-ai{
    width:100%;
    margin-top:25px;
    text-align:center;
}

.footer-ai-title{
    margin-bottom:10px;
    color:#d4af37;
    font-size:13px;
    font-weight:normal;
    letter-spacing:0.5px;
}

.footer-ai-icons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:18px;
}

/* AI SERVICE ICONS IN FOOTER */

.footer-ai-icons img{
    width:22px;
    height:22px;
    object-fit:contain;
    display:block;
}

/* Styling for the AI information disclaimer in the footer */
.footer-ai-note {
    margin-top: 7px;
    color: #a0a0a0;
    font-size: 11px;
    line-height: 1.4;
    text-align: center;
    font-weight: normal;
}

/* =========================
   ANIMATION
========================= */

.reveal{
    opacity:0;
    transform:translateY(20px);
    transition:all .7s ease;
}

.reveal.active{
    opacity:1;
    transform:none;
}

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

.mobile-actions{
    display:none;
}

.mobile-btn{
    min-height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:14px 10px;
    border-radius:40px;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    box-shadow:0 8px 20px rgba(0,0,0,.18);
    transition:.3s;
}

.mobile-btn:active{
    transform:scale(.97);
}

.call-btn{
    background:#b89b5e;
}

.call-btn:hover{
    background:#a4874d;
}

.whatsapp-btn{
    background:#25D366;
}

.whatsapp-btn:hover{
    background:#1ebe5b;
}

/* =========================
   MOBILE
========================= */

@media (max-width:768px){

 body{
        padding-bottom:0;
    }
	
    .brand{
        flex-direction:column;
        text-align:center;
    }

    .contacts{
        text-align:center;
    }

    .menu-toggle{
        display:block;
    }

    nav ul{
        display:none;
        flex-direction:column;
        align-items:center;
    }

    nav ul.show{
        display:flex;
    }

    .page-title h1{
        font-size:26px;
    }

    .hero-text{
        width:90%;
        font-size:14px;
        padding:10px 14px;
    }

    .cards,
    .footer-grid{
        grid-template-columns:1fr;
    }

}
.library-section-title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 32px;
    text-align: center;
    color: #000;
    margin: 0 0 20px;
}

h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 36px;
    text-align: center;
}

/* Gold-gray divider between the Table of Contents and the beginning of the book */
.book-section-divider {
    width: 40%;
    height: 1px;
    margin: 40px auto;
    border: 0;
    background: linear-gradient(
        to right,
        transparent,
        #c8b98a 20%,
        #c8b98a 80%,
        transparent
    );
}

@media (max-width: 600px) {
    .book-section-divider {
        width: 65%;
        margin: 25px auto;
        background: linear-gradient(
            to right,
            transparent,
            #d8ceb0 25%,
            #d8ceb0 75%,
            transparent
        );
    }
}

/* =========================
   BOOK NAVIGATION LINKS
========================= */

.book-navigation{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:36px;
    margin:45px 0 30px;
    padding:12px 0;
    border:none;
}

.book-navigation hr{
    display:none;
}

.book-navigation a{
    text-decoration:none;
}

.book-navigation-arrow{
    display:flex;
    align-items:center;
    justify-content:center;
    width:44px;
    height:44px;
    color:#b89b5e;
    font-family:Georgia, "Times New Roman", serif;
    font-size:40px;
    font-weight:normal;
    line-height:1;
    transition:color 0.25s ease, transform 0.25s ease;
}

.book-navigation-arrow:hover{
    color:#b8860b;
}

.book-navigation-arrow:first-child:hover{
    transform:translateX(-3px);
}

.book-navigation-arrow:last-child:hover{
    transform:translateX(3px);
}

.book-navigation-library{
    color:#5f6433;
    font-family:Georgia, "Times New Roman", serif;
    font-size:17px;
    letter-spacing:0.2px;
    text-align:center;
    white-space:nowrap;
    transition:color 0.25s ease;
}

.book-navigation-library:hover{
    color:#b8860b;
}

@media (max-width:600px){
    .book-navigation{
        gap:28px;
        margin:35px 0 25px;
        padding:10px 0;
        border:none;
    }

    .book-navigation hr{
        display:none;
    }

    .book-navigation-arrow{
        width:52px;
        height:52px;
        font-size:46px;
    }

    .book-navigation-library{
        font-size:17px;
    }
}