*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,sans-serif;
}

body{
    background:#03062e;
    color:#1f2a44;
    line-height:1.7;
}



/* =========================
   HERO SECTION
========================= */

.hero{
    width:95%;
    margin:25px auto;
    background:linear-gradient(to right,#2743b3,#3167ea);
    border-radius:22px;
    padding:60px 7%;
    text-align:center;
}

.hero h1{
    font-size:48px;
    margin-bottom:15px;
    color:white;
}

.hero p{
    font-size:18px;
    color:white;
    max-width:850px;
    margin:auto;
    line-height:1.8;
}

/* =========================
   MAIN LAYOUT
========================= */

.layout{
    width:95%;
    margin:25px auto;
    display:grid;
    grid-template-columns:250px 1fr 240px;
    gap:22px;
    align-items:start;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
    background:#f4f4f4;
    border-radius:18px;
    padding:28px;
}

.sidebar h2{
    color:#3167ea;
    font-size:24px;
    margin-bottom:25px;
    line-height:1.4;
}

.topic{
    margin-bottom:28px;
}

.topic-title{
    font-size:18px;
    font-weight:700;
    color:#1f2a44;
    margin-bottom:12px;
}

.sub-topics{
    margin-left:2px;
}

.sidebar a{
    display:block;
    text-decoration:none;
    color:#1f2a44;
    font-size:16px;
    margin-bottom:10px;
    padding:8px 10px;
    border-radius:8px;
    transition:0.3s;
}

.sidebar a:hover{
    background:#3167ea;
    color:white;
    transform:translateX(4px);
}

/* =========================
   CONTENT AREA
========================= */

.content{
    background:#f4f4f4;
    border-radius:18px;
    padding:40px;
}

.content h1{
    font-size:42px;
    margin-bottom:20px;
    color:#1f2a44;
    line-height:1.3;
}

.content h2{
    font-size:30px;
    margin-top:35px;
    margin-bottom:16px;
    color:#1f2a44;
}

.content h3{
    font-size:24px;
    margin-top:30px;
    margin-bottom:14px;
    color:#3167ea;
}

.content p{
    font-size:17px;
    color:#4b5563;
    margin-bottom:18px;
    line-height:1.9;
}

.content ul{
    margin-left:24px;
    margin-bottom:22px;
}

.content li{
    font-size:16px;
    color:#4b5563;
    margin-bottom:10px;
    line-height:1.8;
}

/* =========================
   INFO BOX
========================= */

.info-box{
    background:white;
    padding:22px;
    border-left:5px solid #3167ea;
    border-radius:14px;
    margin:22px 0;
}

/* =========================
   CODE BOX
========================= */

.code-box{
    background:#0f172a;
    color:#d1d5db;
    padding:18px 22px;
    border-radius:12px;
    margin:20px 0;
    overflow-x:auto;
    font-size:15px;
    line-height:1.9;
    border:1px solid #1e293b;
}

.code-box pre{
    margin:0;
    white-space:pre-wrap;
    font-family:Consolas, monospace;
    color:#e2e8f0;
}

/* =========================
   TABLE STYLING
========================= */

.table-container{
    width:100%;
    overflow-x:auto;
    margin:30px 0;
}

.custom-table{
    width:100%;
    border-collapse:collapse;
    border-spacing:0;
    background:#ffffff;
}

/* FORCE BORDERS */

.custom-table,
.custom-table tr,
.custom-table th,
.custom-table td{
    border:2px solid #000 !important;
}

/* HEADER */

.custom-table th{
    background:#3167ea;
    color:#ffffff;
    padding:18px;
    font-size:22px;
    text-align:left;
}

/* CELLS */

.custom-table td{
    padding:18px;
    font-size:19px;
    color:#1f2a44;
    background:#ffffff;
}

/* ALTERNATE ROW */

.custom-table tr:nth-child(even) td{
    background:#f5f7ff;
}

/* =========================
   ADS
========================= */

.ads{
    background:#f4f4f4;
    border-radius:18px;
    padding:22px;
}

.ads h3{
    color:#3167ea;
    margin-bottom:18px;
    font-size:22px;
}

.ad-box{
    height:250px;
    background:#dbe7ff;
    border-radius:14px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#4b5563;
    font-size:17px;
    text-align:center;
    padding:18px;
    margin-bottom:18px;
    line-height:1.6;
}

.ad-box-small{
    height:140px;
    background:#dbe7ff;
    border-radius:14px;
    display:flex;
    justify-content:center;
    align-items:center;
    color:#4b5563;
    font-size:16px;
    text-align:center;
}

/* =========================
   PAGE NAVIGATION
========================= */

.page-navigation{
    display:flex;
    justify-content:space-between;
    margin-top:45px;
    gap:20px;
}

.prev-btn,
.next-btn{
    text-decoration:none;
    background:#3167ea;
    color:white;
    padding:12px 24px;
    border-radius:10px;
    font-size:15px;
    font-weight:600;
    transition:0.3s;
}

.prev-btn:hover,
.next-btn:hover{
    background:#1f4fc4;
}



/* =========================
   RESPONSIVE
========================= */

@media(max-width:1200px){

    .layout{
        grid-template-columns:250px 1fr;
    }

    .ads{
        display:none;
    }

}

@media(max-width:900px){

    .navbar{
        flex-direction:column;
        gap:18px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }

    .layout{
        grid-template-columns:1fr;
    }

    .hero h1{
        font-size:36px;
    }

    .hero p{
        font-size:16px;
    }

    .content h1{
        font-size:34px;
    }

    .content h2{
        font-size:26px;
    }
	
.youtube-section{
    width: 90%;
    max-width: 1000px;

    margin: 70px auto;
    padding: 40px;

    background: #101935;
    border-radius: 25px;

    text-align: center;

    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.youtube-section h2{
    color: #ffffff !important;
    font-size: 42px;
    margin-bottom: 15px;
}

.youtube-section p{
    color: #d6e4ff !important;
    font-size: 20px;
    margin-bottom: 30px;
}

.video-wrapper{
    width: 100%;
    aspect-ratio: 16/9;

    overflow: hidden;
    border-radius: 20px;
}

.video-wrapper iframe{
    width: 100%;
    height: 100%;
    border: none;
}

}