  
:root {
  --bg-main: #F7F2EC;      
  --bg-overlay: #E8DCC7;   
  --text-dark: #282118;    
  --accent-gold: #B8860B;  
  --soft-brown: #8B6F47; 
  --gold: #D4AF37;
  --gold-light: #E6C26B;
} 

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}






    nav{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        width: 100%;
    }

    nav a{
        font-size: 0.95rem;
        padding: 8px 12px;
    }





body {
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.6;
  font-family: Georgia, 'Times New Roman', serif;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}


header{
  background-color: var(--bg-overlay);
  padding:18px 0;
  border-bottom:3px solid var(--accent-gold);
  height:110px;
}

.header-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo-area{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-box img{
    height:80px;
    width:auto;
}

.logo-area h1{
    margin:0;
    font-size:2rem;
    line-height:1;
}

.tagline{
    margin-top:4px;
    font-size:.85rem;
    font-style:italic;
    white-space:nowrap;
}

nav{
    display:flex;
    gap:15px;
    margin-left:180px;
}

/* ==========================
   NAVIGATION
========================== */

nav{
    display:flex;
    gap:15px;
    margin-left:180px;
}

nav a{
    text-decoration:none;
    color:var(--text-dark);
    font-weight:bold;
    text-transform:uppercase;
    font-size:0.9rem;
    position:relative;
    transition:0.3s ease;
}

/* Hover Effect */

nav a:hover{
    color:var(--accent-gold);
}

/* Active Link */

nav a.active{
    color:var(--accent-gold);
}

/* Gold Underline */

nav a.active::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-8px;
    width:100%;
    height:2px;
    background:#D4AF37;
}


/*==========================
        HERO SECTION
==========================*/

.hero{
    min-height:650px;
    padding-bottom: 50px;

    background:
    linear-gradient(
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.45)
    ),
    url("chapters/hero-for-ebooks-page.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
}

.hero-text{
    max-width:500px;
    padding-left:20px;
    margin-top:40px;
}

.hero-subtitle{
    color:var(--accent-gold);
    font-size:18px;
    letter-spacing:8px;
    margin-bottom:20px;
    text-transform:uppercase;
}

.hero-text h1{
    color:white;
    font-size:4.5rem;
    line-height:1.05;
    margin-bottom:25px;
    font-weight:700;
    text-shadow:0 5px 15px rgba(0,0,0,.8);
}

.hero-text h1 span{
    color:var(--accent-gold);
}

.hero-text p{
    color:#f7f2ec;
    font-size:1.5rem;
    line-height:1.8;
    max-width:500px;
}


.hero-btn{
    display:inline-block;
    margin-top:35px;
    padding:15px 35px;

    background:var(--gold);
    color:#15110D;

    text-decoration:none;
    font-weight:700;
    text-transform:uppercase;
    letter-spacing:1px;

    border-radius:50px;

    transition:.3s ease;
}

.hero-btn:hover{
    transform:translateY(-3px);
    background:var(--gold-light);

    box-shadow:
    0 10px 25px rgba(212,162,76,.4);
}

.about-me {
    padding: 80px 20px;
    margin-top:70px;

    background:
        linear-gradient(
            rgba(247, 242, 236, 0.65),
            rgba(247, 242, 236, 0.65)
        ),
        url("hero-img.png");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


.about-me h2 {
  font-size: 2.2rem;
  font-family: serif;
  margin-bottom: 40px;
  text-align: center;
  color: #D4AF37;

  display: flex;
  align-items: center;
  justify-content: center;
}

.about-me h3{
  font-family:cursive;
  color:#282118;
  text-align: center;
  margin-bottom: 20px;
}

.about-me h2::before,
.about-me h2::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 3px;
  margin: 0 15px;
  background: linear-gradient(
    to right,
    transparent,
    gold,
    #ffd700,
    gold,
    transparent
  );
}


.about-me p{
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: black;


}

.button{
    display: inline-block;
    width: 170px;
    height: 50px;

    background: var(--accent-gold);
    color: var(--bg-main);

    text-decoration: none;
    border-radius: 30px;

    font-size: 1rem;
    font-weight: 600;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: all 0.3s ease;
    cursor: pointer;
}

.button:hover{
    background: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}


/* WHY READ SECTION */




.why-read-container{
    display:flex;
    justify-content:center;
    align-items:stretch;
    gap:30px;
    flex-wrap:wrap;
}

/* CARD */

.why-read-item-card{
    width:350px;
    height:550px;

    display:flex;
    flex-direction:column;

    background:#fff;
    padding:30px;

    border-radius:18px;
    border-top:5px solid #D4AF37;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:
        transform .3s ease,
        box-shadow .3s ease;

    cursor:pointer;
}

.why-read-item-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 35px rgba(0,0,0,.18);
}

.why-read-item-card h3{
    color:var(--accent-gold);
    margin-bottom:20px;
    font-size:1.5rem;
}

.why-read-item-card p{
    color:#555;
    line-height:1.8;
    margin-bottom:15px;
    flex-shrink:0;
}

/* BUTTON */


._explore_btn{
    margin-top:auto;
    align-self:center;

    padding:12px 30px;

    border:2px solid var(--accent-gold);
    background:transparent;

    color:var(--accent-gold);

    text-decoration:none;
    text-transform:uppercase;
    letter-spacing:2px;
    font-size:13px;
    font-weight:600;
    border-radius:15px;

    transition:.3s;
}


._explore_btn:hover{
    background:var(--accent-gold);
    color:white;
}

.why-read h2{
    font-size:2.2rem;
    font-family:Georgia, serif;
    margin-bottom:40px;
    color:#D4AF37;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
}

.why-read h2::before,
.why-read h2::after{
    content:"❦";
    color:var(--accent-gold);
    font-size:1.5rem;
}

.why-read-item-card h3{
    color:var(--accent-gold);
    text-transform:uppercase;
    letter-spacing:2px;
    text-align:center;
    margin-bottom:10px;
}

.why-read-item-card h3::after{
    content:"";
    display:block;
    width:50px;
    height:0.5px;
    background:var(--accent-gold);
    margin:10px auto 0;
}

.testimonials {
  padding: 50px 20px;
  background: var(--bg-overlay);
}

.testimonials h2 {
  font-size: 2.2rem;
  font-family: serif;
  margin-bottom: 40px;
  text-align: center;
  color: #D4AF37;
  margin-top: 20px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials h2::before,
.testimonials h2::after {
  content: "";
  flex: 1;
  max-width: 120px;
  height: 3px;
  margin: 0 15px;
  background: linear-gradient(
    to right,
    transparent,
    gold,
    #ffd700,
    gold,
    transparent
  );
}
.testimonials-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.testimonials-container{
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    flex-wrap: wrap;
}
 
.testimonials-card{
    flex:1 1 320px;
    max-width:350px;
    min-height:120px;

    background:#fff;
    padding:30px;
    margin:15px;

    border-radius:18px;

    border-top:5px solid #D4AF37;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    transition:all .3s ease;

    cursor:pointer;
}



.testimonials p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 10px;
}
.testimonials-card{
    transition: transform .3s ease, box-shadow .3s ease;
}

.testimonials-card:hover{
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 35px rgba(0,0,0,.18);
}







/*==========================
        FOOTER
==========================*/

footer{
    background:#120F0C;
    border-top:3px solid #D4AF37;
    color:#E8DCC7;
    padding:60px 8%;
}

/* Footer Layout */

.footer-links{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:50px;
    margin-bottom:40px;
}

/* Headings */

.footer-links h3{
    color:#D4AF37;
    font-size:1.5rem;
    margin-bottom:20px;
    font-family:serif;
    position:relative;
}

.footer-links h3::after{
    content:"";
    width:50px;
    height:2px;
    background:#D4AF37;
    display:block;
    margin-top:8px;
}

/* Paragraph */

.footer-info p{
    max-width:350px;
    line-height:1.8;
    color:#C9BBA8;
}

/* Lists */

.footer-links ul{
    list-style:none;
    padding:0;
}

.footer-links ul li{
    margin:15px 0;
}

.footer-links ul li a{
    text-decoration:none;
    color:#E8DCC7;
    transition:.3s;
}

.footer-links ul li a:hover{
    color:#D4AF37;
    padding-left:8px;
}

/* Social Icons */

.social-icons{
    display:flex;
    gap:20px;
    margin-top:25px;
}

.social-icons a{
    width:45px;
    height:45px;
    display:flex;
    justify-content:center;
    align-items:center;
    border:1px solid #D4AF37;
    border-radius:50%;
    color:#D4AF37;
    font-size:20px;
    transition:.3s;
}

.social-icons a:hover{
    background:#D4AF37;
    color:#120F0C;
    transform:translateY(-5px);
}

/* Copyright */

.copyright{
    margin-top:50px;
    padding-top:25px;
    text-align:center;
    border-top:1px solid rgba(212,175,55,.3);
    color:#A89A86;
    font-size:14px;
}

.whatsapp{
    width:50px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    border:2px solid #25D366;

    color:#25D366;

    box-shadow:
        0 0 10px #25D366,
        0 0 20px #25D366,
        0 0 30px rgba(37,211,102,.7);

    transition:.4s ease;
}

.whatsapp:hover{
    transform:translateY(-8px) scale(1.1);

    box-shadow:
        0 0 20px #25D366,
        0 0 40px #25D366,
        0 0 60px #25D366;

    background:#25D366;
    color:#120F0C;
}


.my-name{
    margin-top: 25px;
    margin-bottom: 20px;
}

.my-name p{
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-gold);
    font-family:Georgia, 'Times New Roman', Times, serif;
    font-size: 25px;
}

.my-name p::before{
    content: "";
    width: 35px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 10px;
}

.back-to-top{
    position:fixed;
    bottom:30px;
    right:30px;
    width:55px;
    height:55px;
    background:#D4AF37;
    color:#000;
    text-decoration:none;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:1.8rem;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
}

html{
    scroll-behavior:smooth;
}



.back-to-down{
    position:fixed;
    bottom:100px;
    right:30px;
    width:55px;
    height:55px;
    background:#D4AF37;
    color:#000;
    text-decoration:none;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    font-size:1.8rem;
    box-shadow:0 5px 15px rgba(0,0,0,0.3);
}

html{
    scroll-behavior:smooth;
}


/* =========================================
        RESPONSIVE DESIGN
========================================= */


/* ===========================
      TABLETS
=========================== */

@media (max-width:992px){

header{
    height:auto;
    padding:20px 0;
}

.header-inner{
    flex-direction:column;
    gap:20px;
    text-align:center;
}

.logo-area{
    justify-content:center;
}

nav{
    margin-left:0;
    justify-content:center;
    flex-wrap:wrap;
}

/* HERO */

.hero{
    padding:60px 25px;
}

.hero-inner{
    flex-direction:column;
    text-align:center;
    gap:40px;
}

.hero-image{
    width:100%;
}

.hero-image img{

    width:100%;
    max-width:700px;
    height:auto;

}

.hero-text h2{
    font-size:2.4rem;
}

.hero-text p{

    max-width:600px;
    margin:auto;
    margin-bottom:25px;

}

.button{

    margin:auto;

}


/* ABOUT */

.about-me{

    padding:70px 30px;

}

.about-me p{

    text-align:center;

}

.my-name p{

    justify-content:center;

}


/* WHY READ */

.why-read-container{

    justify-content:center;

}

.why-read-item-card{

    min-width:300px;

}


/* TESTIMONIALS */

.testimonials-container{

    justify-content:center;

}

.testimonials-card{

    max-width:450px;

}


/* FOOTER */

.footer-links{

    justify-content:center;
    text-align:center;

}

.footer-info{

    margin-top:0;

}

}



/* ===========================
        MOBILE
=========================== */

@media (max-width:768px){

header{

    height:auto;
    padding:18px 0;

}

.header-inner{

    flex-direction:column;
    gap:18px;

}

.logo-area{

    flex-direction:column;
    gap:12px;

}

.logo-box img{

    height:65px;

}

.logo-area h1{

    font-size:1.6rem;

}

.tagline{

    white-space:normal;
    text-align:center;

}

nav{

    margin-left:0;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;

}

nav a{

    font-size:.9rem;

}

}

/* ===========================
    TESTIMONIALS - MOBILE
=========================== */

@media (max-width:768px){

    .testimonials{
        padding:40px 20px;
    }

    .testimonials h2{
        font-size:2rem;
    }

    .testimonials-container{
        flex-direction:column;
        align-items:center;
        gap:15px;
    }

    .testimonials-card{
        width:90%;
        max-width:400px;
        padding:18px;
        margin:0 auto;
        min-height:unset;
        height:auto;
        box-sizing: border-box;
    }

    .testimonials-card p{
        font-size:.95rem;
        line-height:1.6;
    }
}


/* ===========================
        MOBILE HERO
=========================== */

@media (max-width:768px){

    .hero{
        padding:40px 20px 50px;
    }

    .hero-inner{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;
        gap:25px;
    }

    .hero-text{
        order:1;
        width:100%;
    }

    .hero-text .welcome{
        font-size:.85rem;
        letter-spacing:3px;
        margin-bottom:10px;
    }

    .hero-text h2{
        font-size:2rem;
        line-height:1.2;
        margin-bottom:15px;
    }

    .hero-text p{
        max-width:330px;
        margin:0 auto 25px;
        font-size:1rem;
    }

    .hero-image{
        order:2;
        width:100%;
    }

    .hero-image img{
        width:100%;
        max-width:460px;
        height:250px;
        object-fit:cover;
        border:none;
        border-radius:18px;
        box-shadow:0 10px 25px rgba(0,0,0,.12);
        display:block;
        margin:auto;
    }

    .button{
        order:3;
        width:190px;
        margin:auto;
    }




/* =====================
        ABOUT
===================== */

.about-me{
    padding:60px 20px;
}

.about-me h2{
    font-size:1.9rem;
}

.about-me h2::before,
.about-me h2::after{
    display:none;
}

.about-me p{
    text-align:center;
}


/* WHY READ */

.why-read{
    padding:50px 20px;
}

.why-read h2{
    font-size:2rem;
}



.why-read-container{
    justify-content:center;
    align-items:stretch;
    gap:20px;
    flex-wrap:wrap;
}

.why-read-item-card{
    width:350px;
    margin:0;
    height:520px;
}


/* FOOTER */

.footer-links{
    flex-direction:column;
    align-items:center;
    gap:25px;
}

.footer-links ul{
    padding:0;
}

.footer-info{
    margin-top:0;
}

.social-icons{
    gap:18px;
}

.copyright{
    font-size:.9rem;
}
}