/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #111;
}
.cta {
            display: inline-flex;
            background: linear-gradient(45deg,#25d366,#1ebe5d);
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            color: white;
            font-weight: bold;
            align-items: center;
            gap:10px;
        }
.text-center { text-align: center; }
.page-title {
    background-color: #000000;
    border-bottom: 1px solid rgba(233, 186, 89, 0.22);
    padding-top: 4em;
    padding-bottom: 4em;
}
.page-title h1 {
    text-align: center;
    font-size: 3em;
    color: #fff;
}
.page-content { background: #000; padding-bottom: 5em; color: #fff; }
.page-content .box {
    max-width: 60em;
    margin: 0 auto;
    padding-top: 3.5em;
    padding-right: 12px;
    padding-left: 12px;
}
figure {
    margin: 30px 0;
}

figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}
figure img:hover {
    transform: scale(1.02);
}
.content-wrap figure {
    max-width: 900px;
    margin: 40px auto;
}
figure img {
    aspect-ratio: 1240 / 827;
}
.page-content p {
    color: #fff;
    line-height: 1.7;
    font-size: 0.95em;
}
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   NAVBAR & MOBILE MENU
   ========================================================================== */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 80px;
    background: linear-gradient(to right, #1a1a1a, #2b2b2b);
}
.menu a.active { color: #febe0d; }
.menu a:hover { color:#febe0d; }
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 4em;
    width: auto;
}

.logo span {
    color: #d4af37;
    font-size: 22px;
    font-weight: bold;
}

.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    color: #ccc;
    text-decoration: none;
    font-size: medium;
    font-weight: 600;
    font-family: "Lato", Sans-serif;
}


.menu .btn {
    background-color: #FEBE0D;
    font-family: "Lato", Sans-serif;
    font-size: 17px;
    font-weight: 600;
    fill: #000000;
    color: #000000;
    padding: 10px 22px;
    border-radius: 10px;
    text-decoration: none;
}
.menu .btn:hover { 
    background-color: #FEBE0D;
    font-weight: 700;
    color: #000000;
 }
.toggle {
    display: none;
    font-size: 26px;
    color: white;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: #000;
    padding: 25px;
}

.mobile-menu a {
    display: block;
    padding: 15px 0;
    color: #ccc;
    border-bottom: 1px solid #222;
    text-decoration: none;
}

.close {
    text-align: right;
    font-size: 26px;
    color: white;
    cursor: pointer;
    padding: 0 50px;
}


/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features {
    background: #000;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.features h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.desc {
    color: #aaa;
    max-width: 700px;
    margin: auto;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.card {
    padding: 30px;
    text-align: left;
    background: linear-gradient(145deg,#111,#0a0a0a);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,215,0,0.1);
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    margin: 10px 0;
    font-size: 20px;
}

.card p {
    color: #aaa;
    font-size: 14px;
    line-height: 1.6;
}

.card:hover {
    border: 1px solid rgba(255,215,0,0.4);
    transform: translateY(-5px);
}

.cta-btn {
    display: inline-flex;
    margin-top: 40px;
    background: linear-gradient(45deg,#25d366,#1ebe5d);
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    align-items: center;
    gap : 8px;
}

/* ==========================================================================
   INFO SECTIONS
   ========================================================================== */
.info-section {
    background: #000;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.info-section h2 {
    font-size: 40px;
    margin-bottom: 30px;
}

.info-box {
    max-width: 900px;
    margin: auto;
    padding: 30px;
    background: linear-gradient(145deg,#111,#0a0a0a);
    border-radius: 25px;
    border: 1px solid rgba(255,255,255,0.05);
}

.info-intro {
    color: #aaa;
    margin-bottom: 25px;
    text-align: left;
}

.info-item {
    text-align: left;
    margin-bottom: 25px;
    padding-left: 18px;
    position: relative;
}

.info-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 3px;
    height: 22px;
    background: linear-gradient(#d4af37,#ffcc70);
}

.info-item h3 {
    margin: 0;
    font-size: 20px;
}

.info-item p {
    margin-top: 6px;
    color: #aaa;
    line-height: 1.6;
}

/* ==========================================================================
   COMPARE SECTION
   ========================================================================== */
.compare {
    background: #000;
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.compare h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.sub {
    color: #aaa;
    margin-bottom: 40px;
}

.table {
    max-width: 1100px;
    margin: auto;
}

.row {
    display: grid;
    grid-template-columns: 1fr 2fr 2fr;
    gap: 20px;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: linear-gradient(145deg,#111,#0a0a0a);
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
}

.head {
    background: linear-gradient(145deg,#1a1405,#0d0a03);
    color: #d4af37;
    font-weight: bold;
}

.row div {
    font-size: 14px;
    line-height: 1.5;
}

.row div:first-child {
    font-weight: bold;
    color: #ccc;
}

.row:hover {
    border: 1px solid rgba(255,215,0,0.3);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats {
    background: #000;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.stats h2 {
    font-size: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.stat-card {
    padding: 40px 20px;
    border-radius: 25px;
    background: linear-gradient(145deg,#111,#0a0a0a);
    border: 1px solid rgba(255,255,255,0.05);
}

.stat-card .icon {
    width: 50px;
    height: 50px;
    margin: auto;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,215,0,0.1);
    border-radius: 12px;
}

.stat-card .counter {
    font-size: 48px;
    color: #d4af37;
    margin: 10px 0;
    font-weight: bold;
}

.stat-card p {
    color: #aaa;
}

/* ==========================================================================
   REVIEWS SECTION
   ========================================================================== */
.reviews {
    background: #000;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.reviews h2 {
    font-size: 40px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 25px;
    max-width: 1100px;
    margin: auto;
}

.review-card {
    padding: 30px;
    border-radius: 25px;
    background: linear-gradient(145deg,#111,#0a0a0a);
    border: 1px solid rgba(255,255,255,0.05);
    text-align: left;
    transition: 0.3s;
}

.stars {
    color: #d4af37;
    font-size: 18px;
    margin-bottom: 15px;
}

.review-text {
    color: #ccc;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.user {
    border-top: 1px solid #222;
    padding-top: 15px;
}

.user strong {
    display: block;
    font-size: 16px;
}

.user span {
    color: #888;
    font-size: 13px;
}

.review-card:hover {
    border: 1px solid rgba(255,215,0,0.3);
    transform: translateY(-5px);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq {
    background: #000;
    padding: 60px 20px;
    color: white;
    margin: auto;
    display: flex;
    justify-content: center;
}

.faq-data {
    max-width: 900px;
    width: 100%;
}

.faq h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(145deg,#111,#0a0a0a);
    border: 1px solid rgba(255,255,255,0.05);
}

.faq-question {
    width: 100%;
    padding: 18px;
    text-align: left;
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-answer p {
    padding: 0 18px 18px;
    color: #aaa;
    margin: 0;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active span {
    transform: rotate(45deg);
}

.faq-item:hover {
    border: 1px solid rgba(255,215,0,0.3);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background: #000;
    color: white;
    padding: 40px 60px;
    font-family: Arial, sans-serif;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.responsible {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.8em;
}

.age {
    background: #333333;
    padding: 15px 12px;
    border-radius: 50px;
    font-size: 16px;
}

.logos {
    display: flex;
    gap: 20px;
}

.logos img {
    width: 80px;
    height: 80px;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    object-fit: contain;
}

.divider {
    height: 1px;
    background: #222;
    margin: 30px 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}
.footer-bottom
{
    text-align: center;
}
.col {
    flex: 1;
}

.col h2 {
    font-size: 1.17em;
    margin-bottom: 15px;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    color: gold;
    font-weight: bold;
    margin-bottom: 15px;
}

.col a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin: 8px 0;
}

.col a:hover {
    color: white;
}

.right p {
    color: #bbb;
    margin-bottom: 20px;
}

.footer-btn {
    display: inline-flex !important;
    background: linear-gradient(45deg,#25d366,#1ebe5d);
    padding: 14px 25px;
    border-radius: 30px;
    text-decoration: none; 
    color: white;
    font-weight: bold;
    align-items: center;
    gap:8px;
}
.footer-main .logo-text img { height: 2.5em; width: auto; }
/* ==========================================================================
   RESPONSIVE (MEDIA QUERIES)
   ========================================================================== */
@media(max-width: 768px) {
    figure {
        margin: 20px 0;
    }

    figure img {
        border-radius: 8px;
    }
    .navbar { padding: 15px 20px; }
    .menu { display: none; }
    .toggle { display: block; }
    .hero { height: 98vh; }
    .hero-wrap {
        flex-direction: column;
        text-align: left;
        padding: 100px 20px 0 20px;
    }
    .hero-left h1 { font-size: 36px; }
    .hero-box {
        margin-top: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .payment { padding: 20px; }
    .payment_logo {
        width: 90px;
        height: 50px;
    }
    .payment_wrap {
        flex-direction: column;
        gap: 1em;
        align-items: center;
    }
    
    .author-box {
        flex-direction: column;
        text-align: center;
    }
    .meta {
        flex-direction: column;
        gap: 5px;
    }
    .author-img img {
        width: 90px;
        height: 90px;
    }
    
    .steps h2 { font-size: 28px; }
    .step-card {
        flex-direction: column;
        text-align: left;
    }
    
    .features h2 { font-size: 26px; }
    .feature-grid { grid-template-columns: 1fr; }
    .card { text-align: center; }
    
    .info-section h2 { font-size: 26px; }
    .info-box { padding: 20px; }
    
    .row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    .head { display: none; }
    .row div {
        position: relative;
        padding-left: 110px;
    }
    .row div::before {
        position: absolute;
        left: 0;
        top: 0;
        font-weight: bold;
        color: #d4af37;
    }
    .row div:nth-child(1)::before { content: "Feature"; }
    .row div:nth-child(2)::before { content: "Mahadev Book"; }
    .row div:nth-child(3)::before { content: "Others"; }
    
    .stats-grid { grid-template-columns: 1fr; }
    
    .reviews h2 { font-size: 26px; }
    .review-grid { grid-template-columns: 1fr; }
    .review-card { text-align: center; }
    
    .footer { padding: 25px 20px; }
    .footer-top {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .logos img {
        width: 60px;
        height: 60px;
    }
    .footer-main {
        flex-direction: column;
        gap: 25px;
    }
    
    .responsible { font-size: 1.5em; }
    .footer-btn { text-align: center; }
}

/* SECTION WRAPPER */
.content-wrap{
    max-width: 900px;
    margin: auto;
    padding: 40px 20px;
    color: #ddd;
}

/* TABLE OF CONTENT BOX */
.toc{
    background: linear-gradient(145deg,#111,#0a0a0a);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 40px;
}

/* TOC TITLE */
.toc h3{
    font-size: 14px;
    letter-spacing: 1px;
    color: #bbb;
    margin-bottom: 15px;
}

/* TOC LIST */
.toc ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc li{
    margin-bottom: 10px;
    color: #ccc;
    font-size: 14px;
}

/* LINKS */
.toc a{
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.toc a:hover{
    color: #d4af37;
}

/* HEADINGS */
.content-wrap h2{
    font-size: 32px;
    margin: 40px 0 15px;
    color: #fff;
    position: relative;
}

/* GOLD LINE UNDER HEADING */
.content-wrap h2::after{
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    margin-top: 10px;
    background: linear-gradient(to right,#d4af37,transparent);
}

/* PARAGRAPH */
.content-wrap p{
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 15px;
}

/* SPACING BETWEEN SECTIONS */
.content-wrap h2 + p{
    margin-top: 10px;
    color: #fff;
}

/* MOBILE */
@media(max-width:768px){

    .content-wrap{
        padding: 20px 15px;
    }

    .content-wrap h2{
        font-size: 24px;
    }

    .toc{
        padding: 20px;
    }
}