
:root{
    --primary:#1591DC;
    --primary-light:#eff6ff;
    --dark:#111827;
    --text:#374151;
    --muted:#6b7280;
    --border:#e5e7eb;
    --bg:#f8fafc;
    --white:#ffffff;
    --orange:#f97316;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:var(--bg);
    color:var(--dark);
    line-height:1.6;
}

img{
    max-width:100%;
}

a{
    text-decoration:none;
}

.container{
    width:100%;
    max-width:1280px;
    margin:auto;
    padding:0 20px;
}

/* TOP BAR */

.top-bar{
    background:var(--primary);
    color:#fff;
    font-size:14px;
}

.top-bar .container{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 20px;
}

.top-links{
    display:flex;
    gap:18px;
}

.top-links a{
    color:#fff;
}

/* HEADER */

header{
    background:#fff;
    position:sticky;
    top:0;
    z-index:999;
    border-bottom:1px solid var(--border);
}

.navbar{
    height:75px;
    display:flex;
    align-items:center;
    justify-content:space-between;
}

.logo{
    font-size:28px;
    font-weight:800;
    color:var(--primary);
}

.logo span{
    color:var(--orange);
}

.menu-toggle{
    display:none;
    width:44px;
    height:44px;
    border:none;
    background:var(--primary);
    color:#fff;
    border-radius:10px;
    cursor:pointer;
    font-size:18px;
}

nav ul{
    display:flex;
    list-style:none;
    gap:28px;
}

nav ul li a{
    color:var(--dark);
    font-size:15px;
    font-weight:600;
    transition:.2s;
}

nav ul li a:hover{
    color:var(--primary);
}

.header-btns{
    display:flex;
    align-items:center;
    gap:15px;
}
#titleBar{display:none;}
/* HERO */

.hero{
    padding:70px 0 50px;
    background:linear-gradient(to bottom,#eff6ff,#f8fafc);
}

.hero-grid{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:50px;
    align-items:center;
}

.hero h1{
    font-size:52px;
    line-height:1.15;
    margin-bottom:20px;
    font-weight:800;
}

.hero p{
    font-size:18px;
    color:var(--muted);
    margin-bottom:30px;
}

.search-box{
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    display:flex;
    align-items:center;
    border:1px solid var(--border);
    box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.search-box input{
    width:100%;
    height:60px;
    border:none;
    outline:none;
    padding:0 20px;
    font-size:16px;
}

.search-box button{
    width:65px;
    height:60px;
    border:none;
    background:var(--primary);
    color:#fff;
    cursor:pointer;
    font-size:18px;
}

.quick-links{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    margin-top:25px;
}

.quick-links a{
    background:#fff;
    border:1px solid var(--border);
    padding:10px 16px;
    border-radius:12px;
    color:var(--dark);
    font-size:14px;
    font-weight:600;
    transition:.2s;
}

.quick-links a:hover{
    background:var(--primary);
    color:#fff;
}

.hero-image{
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:480px;
}

/* SECTION */

.section{
    padding:70px 0;
}

.section-title{
    font-size:32px;
    margin-bottom:35px;
    font-weight:800;
}

.section-title span{
    color:var(--primary);
}

/* CLASS GRID */

.class-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.class-card{
    background:#fff;
    border:1px solid var(--border);
    border-radius:18px;
    padding:28px;
    transition:.25s ease;
}

.class-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 40px rgba(0,0,0,.06);
}

.class-icon{
    width:58px;
    height:58px;
    border-radius:14px;
    background:var(--primary-light);
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:24px;
    margin-bottom:20px;
}

.class-card h3{
    margin-bottom:10px;
    font-size:22px;
}

.class-card p{
    color:var(--muted);
    font-size:15px;
    margin-bottom:18px;
}

.class-meta{
    font-size:14px;
    font-weight:600;
    color:var(--primary);
}

/* FEATURE SECTION */

.feature-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:24px;
}

.feature-card{
    background:#fff;
    padding:28px;
    border-radius:18px;
    border:1px solid var(--border);
}

.feature-card i{
    font-size:28px;
    color:var(--primary);
    margin-bottom:18px;
}

.feature-card h4{
    margin-bottom:12px;
    font-size:20px;
}

.feature-card p{
    color:var(--muted);
    font-size:15px;
}

/* TRENDING */

.trending-wrap{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:25px;
}

.trending-box{
    background:#fff;
    border-radius:18px;
    padding:28px;
    border:1px solid var(--border);
}

.trending-list{
    list-style:none;
}

.trending-list li{
    padding:18px 0;
    border-bottom:1px solid #eee;
}

.trending-list li:last-child{
    border:none;
}

.trending-list a{
    color:var(--dark);
    font-weight:600;
}

.badge{
    background:#fee2e2;
    color:#dc2626;
    padding:5px 10px;
    border-radius:30px;
    font-size:12px;
    font-weight:700;
    margin-right:10px;
}
/* subjects list*/

.subject-section{
    padding:70px 0;
}

.subject-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:24px;
}

.subject-card{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
    transition:.25s ease;
    position:relative;
}

.subject-card:hover{
    transform:translateY(-5px);
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.subject-card a{
    display:block;
    text-decoration:none;
    color:#111827;
}

.subject-image{
    position:relative;
    overflow:hidden;
    height:160px;
}

.subject-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

.subject-card:hover .subject-image img{
    transform:scale(1.06);
}

.subject-content{
    padding:20px;
}

.subject-content h3{
    font-size:20px;
    margin-bottom:8px;
    font-weight:700;
}

.subject-content p{
    font-size:14px;
    color:#6b7280;
    line-height:1.6;
}

.subject-arrow{
    margin-top:16px;
    color:#2563eb;
    font-size:14px;
    font-weight:600;
    display:flex;
    align-items:center;
    gap:6px;
}

.subject-badge{
    position:absolute;
    top:14px;
    left:14px;
    background:#2563eb;
    color:#fff;
    padding:6px 10px;
    border-radius:30px;
    font-size:12px;
    font-weight:600;
    z-index:2;
}


/* STATS */

.stats{
    background:var(--primary);
    color:#fff;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.stat-card{
    text-align:center;
}

.stat-card h3{
    font-size:40px;
    margin-bottom:10px;
}

.stat-card p{
    opacity:.9;
}

/* FAQ */

.faq-wrap{
    max-width:900px;
    margin:auto;
}

.faq-item{
    background:#fff;
    border:1px solid var(--border);
    border-radius:14px;
    margin-bottom:18px;
    overflow:hidden;
}

.faq-question{
    padding:22px;
    font-weight:700;
    cursor:pointer;
}

.faq-answer{
    padding:0 22px 22px;
    color:var(--muted);
}

/* FOOTER */

footer{
    background:#111827;
    color:#cbd5e1;
    padding-top:70px;
}

.footer-grid{
    display:grid;
    grid-template-columns:2fr 1fr 1fr 1fr;
    gap:40px;
    padding-bottom:50px;
}

.footer-logo{
    font-size:30px;
    font-weight:800;
    color:#fff;
    margin-bottom:20px;
}

.footer-logo span{
    color:var(--orange);
}

.footer-about{
    font-size:15px;
    line-height:1.8;
}

.footer-col h4{
    color:#fff;
    margin-bottom:20px;
}

.footer-col ul{
    list-style:none;
}

.footer-col ul li{
    margin-bottom:12px;
}

.footer-col ul li a{
    color:#cbd5e1;
    font-size:15px;
}

.footer-bottom{
    border-top:1px solid rgba(255,255,255,.1);
    text-align:center;
    padding:22px 0;
    font-size:14px;
}

/*Body Main Container*/

/*==================================
        MAIN LAYOUT
===================================*/

.main-layout{
display:grid;
grid-template-columns:minmax(0,2.3fr) minmax(300px,1fr);
gap:28px;
margin:35px 0 60px;
align-items:start;
}

.main-content{
min-width:0;
}
.main-boxCard{
background:#fff;
border:1px solid #e5e7eb;
border-radius:18px;
padding:22px;
box-shadow:0 8px 24px rgba(0,0,0,.05);
transition:.3s ease;
overflow:hidden;
}
.sidebar{
display:flex;
flex-direction:column;
gap:22px;
}

/*==================================
        SIDEBAR CARD
===================================*/

.sidebar-card{
background:#fff;
border:1px solid #e5e7eb;
border-radius:18px;
padding:22px;
box-shadow:0 8px 24px rgba(0,0,0,.05);
transition:.3s ease;
overflow:hidden;
}

.sidebar-card:hover{
transform:translateY(-4px);
box-shadow:0 18px 40px rgba(37,99,235,.08);
}

/*==================================
        CARD TITLE
===================================*/

.sidebar-title{
font-size:20px;
font-weight:800;
color:#111827;
margin-bottom:18px;
padding-bottom:12px;
position:relative;
border-bottom:1px solid #eef2f7;
}

.sidebar-title:after{
content:"";
position:absolute;
left:0;
bottom:-1px;
width:65px;
height:3px;
background:#2563eb;
border-radius:30px;
}

/*==================================
        LIST
===================================*/

.sidebar-list{
margin:0;
padding:0;
list-style:none;
}

.sidebar-list li{
border-bottom:1px solid #f1f5f9;
}

.sidebar-list li:last-child{
border-bottom:none;
}

.sidebar-list li a{
display:flex;
align-items:center;
padding:14px 0;
font-size:15px;
font-weight:600;
color:#374151;
transition:.25s;
}

.sidebar-list li a:before{
content:"›";
font-size:20px;
margin-right:10px;
color:#2563eb;
font-weight:700;
}

.sidebar-list li a:hover{
padding-left:8px;
color:#2563eb;
}

/*==================================
      DOWNLOAD CARD
===================================*/

.download-box{

background:linear-gradient(135deg,#2563eb,#1d4ed8);

padding:28px;

border-radius:18px;

color:#fff;

text-align:center;

box-shadow:0 15px 35px rgba(37,99,235,.25);

}

.download-box h3{

font-size:24px;

margin-bottom:12px;

}

.download-box p{

font-size:15px;

line-height:1.7;

opacity:.95;

margin-bottom:22px;

}

.download-btn{

display:inline-block;

padding:12px 24px;

background:#fff;

color:#2563eb;

font-weight:700;

border-radius:10px;

transition:.3s;

}

.download-btn:hover{

transform:translateY(-3px);

background:#eff6ff;

}

/*==================================
          AD BOX
===================================*/

.ad-box{

text-align:center;

padding:12px;

}

.ad-box img{

width:100%;

border-radius:14px;

}

/*==================================
          TABLET
===================================*/

@media(max-width:992px){

.main-layout{

grid-template-columns:1.8fr 1fr;

gap:20px;

}

.sidebar-card{

padding:18px;

}

.sidebar-title{

font-size:18px;

}

}

/*==================================
          MOBILE
===================================*/

@media(max-width:767px){

.main-layout{

grid-template-columns:1fr;

gap:22px;

}

.sidebar{

order:2;

}

.main-content{

order:1;

}

.sidebar-card{

padding:18px;

border-radius:16px;

}

.sidebar-title{

font-size:18px;

}

.sidebar-list li a{

font-size:14px;

}

.download-box{

padding:22px;

}

.download-box h3{

font-size:20px;

}

}

/*Body Main Container Ends Here*/
/*======================================================
ATP EDUCATION ARTICLE STYLE  MAIN BOX CARD 
=======================================================*/

.main-boxCard{

background:#ffffff;

border:1px solid #e5e7eb;

border-radius:18px;

padding:35px;

box-shadow:0 10px 30px rgba(0,0,0,.05);

font-size:17px;

line-height:1.9;

color:#374151;

overflow:hidden;

}

/* Paragraph */

.main-boxCard p{

margin:0 0 22px;

text-align:justify;

color:#4b5563;

font-size:17px;

line-height:1.9;

}

/* H2 */

.main-boxCard h2{

font-size:32px;

font-weight:800;

line-height:1.3;

margin:45px 0 22px;

padding-bottom:12px;

border-bottom:2px solid #eef2ff;

position:relative;

color:#111827;

}

.main-boxCard h2:after{

content:"";

position:absolute;

left:0;

bottom:-2px;

width:80px;

height:4px;

background:#2563eb;

border-radius:20px;

}

/* H3 */

.main-boxCard h3{

font-size:25px;

font-weight:700;

margin:35px 0 18px;

color:#1e3a8a;

}

/* Strong */

.main-boxCard strong{

color:#111827;

font-weight:700;

}

/* UL */

.main-boxCard ul{

margin:25px 0;

padding-left:0;

list-style:none;

}

/* LI */

.main-boxCard ul li{

position:relative;

padding:12px 0 12px 34px;

border-bottom:1px solid #f1f5f9;

font-size:16px;

line-height:1.8;

}

.main-boxCard ul li:last-child{

border-bottom:none;

}

.main-boxCard ul li:before{

content:"✓";

position:absolute;

left:0;

top:12px;

width:22px;

height:22px;

background:#eff6ff;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

font-size:13px;

font-weight:700;

color:#2563eb;

}

/* Links */

.main-boxCard a{

color:#2563eb;

font-weight:600;

transition:.3s;

}

.main-boxCard a:hover{

color:#1d4ed8;

text-decoration:underline;

}

/* Images */

.main-boxCard img{

max-width:100%;

border-radius:12px;

margin:25px 0;

}

/* Table */

.main-boxCard table{

width:100%;

border-collapse:collapse;

margin:30px 0;

}

.main-boxCard table th{

background:#2563eb;

color:#fff;

padding:14px;

text-align:left;

}

.main-boxCard table td{

padding:14px;

border:1px solid #e5e7eb;

}

/* Blockquote */

.main-boxCard blockquote{

margin:25px 0;

padding:20px 25px;

background:#eff6ff;

border-left:5px solid #2563eb;

font-style:italic;

border-radius:10px;

}

/* Selection */

.main-boxCard ::selection{

background:#2563eb;

color:#fff;

}

/* MOBILE */

@media(max-width:992px){

.hero-grid,
trending-wrap,
footer-grid,
feature-grid,
class-grid,
.stats-grid{
    grid-template-columns:1fr 1fr;
}

.hero h1{
    font-size:42px;
}
.class-grid{
grid-template-columns(2,1fr);
gap:20px;
}

.class-card{
padding:24px;
}

.class-card h3{
font-size:20px;
}

.class-card p{
font-size:14px;
}

.class-icon{
width:54px;
height:54px;
font-size:22px;
}
.feature-grid{
grid-template-columns(2,1fr);
gap:20px;
}

.feature-card{
padding:24px;
border-radius:16px;
}

.feature-card i{
font-size:26px;
margin-bottom:15px;
}

.feature-card h4{
font-size:19px;
margin-bottom:10px;
}

.feature-card p{
font-size:14px;
line-height:1.7;
}
.trending-wrap{
grid-template-columns:1fr;
gap:20px;
}

.trending-box{
padding:24px;
}

.stats-grid{
grid-template-columns(2,1fr);
gap:20px;
}

.stat-card h3{
font-size:34px;
}
.main-boxCard{

padding:28px;

}

.main-boxCard h2{

font-size:28px;

}

.main-boxCard h3{

font-size:22px;

}
}

@media(max-width:768px){
.menu-toggle{
    display:block;
}
#mainNav{
position:fixed;
top:0;
right:-300px;
width:300px;
height:100vh;
background:#fff;
z-index:99999;
transition:.3s;
display:flex;
flex-direction:column;
box-shadow:-5px 0 25px rgba(0,0,0,.15);
overflow-y:auto;
}

#mainNav.active{
right:0;
}

#mainNav ul{
display:flex;
flex-direction:column;
margin:0;
padding-top:10px;
list-style:none;
}

#mainNav{
padding:0;
margin:0;
}

#mainNav ul li{
margin:0;
padding:0;
}

#mainNav ul li a{
display:flex;
align-items:center;
height:52px;
padding:0 20px;
border-bottom:1px solid #ececec;
font-size:15px;
font-weight:600;
color:#111827;
text-decoration:none;
box-sizing:border-box;
}
#titleBar{display:flex;}
#titleBar{
display:flex;
align-items:center;
gap:12px;
padding:16px;
background:var(--primary);
color:#fff;
position:relative;
min-height:80px;
border-bottom:1px solid rgba(255,255,255,.15);
}

#titleBar img{
width:80px;
height:80px;
object-fit:contain;
background:#fff;
padding:4px;
border-radius:12px;
box-shadow:0 4px 12px rgba(0,0,0,.15);
}

#titleBar div{
display:flex;
flex-direction:column;
line-height:1.2;
}

#titleBar span{
font-size:26px;
font-weight:800;
letter-spacing:.3px;
text-align:center;
}

#titleBar small{
font-size:11px;
font-weight:600;
letter-spacing:1px;
text-transform:uppercase;
color:#fbbf24 !important;
margin-top:4px;
text-align:center;
}

.close-icon{
position:absolute;
top:15px;
right:15px;
width:34px;
height:34px;
display:flex;
align-items:center;
justify-content:center;
font-size:22px;
cursor:pointer;
border-radius:50%;
background:rgba(255,255,255,.15);
transition:.25s;
}

.close-icon:hover{
background:rgba(255,255,255,.25);
transform:rotate(90deg);
}

.subject-grid{
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.subject-image{
    height:120px;
}

.subject-content{
    padding:16px;
}

.subject-content h3{
    font-size:17px;
}

nav{
    display:none;
}

.hero-grid,
trending-wrap,
footer-grid,
feature-grid,
class-grid,
.stats-grid{
    grid-template-columns:1fr;
}

.hero{
    padding:50px 0;
}

.hero h1{
    font-size:34px;
}

.section{
    padding:50px 0;
}

.section-title{
    font-size:28px;
}

.top-bar{
    display:none;
}

.navbar{
    height:70px;
}
.class-grid{
grid-template-columns:1fr;
gap:16px;
}

.class-card{
padding:20px;
border-radius:16px;
}

.class-card h3{
font-size:19px;
margin-bottom:8px;
}

.class-card p{
font-size:14px;
line-height:1.6;
margin-bottom:14px;
}

.class-meta{
font-size:13px;
}

.class-icon{
width:50px;
height:50px;
font-size:20px;
margin-bottom:15px;
}

.section{
padding:45px 0;
}

.section-title{
font-size:28px;
margin-bottom:25px;
}
.feature-grid{
grid-template-columns:1fr;
gap:16px;
}

.feature-card{
padding:20px;
border-radius:14px;
text-align;
}

.feature-card i{
font-size:28px;
margin-bottom:14px;
}

.feature-card h4{
font-size:18px;
margin-bottom:8px;
}

.feature-card p{
font-size:14px;
line-height:1.6;
}
.trending-wrap{
grid-template-columns:1fr;
gap:16px;
}

.trending-box{
padding:18px;
border-radius:14px;
}

.trending-list li{
padding:14px 0;
}

.trending-list a{
font-size:14px;
line-height:1.5;
}

.badge{
font-size:10px;
padding:4px 8px;
margin-right:6px;
}

.stats-grid{
grid-template-columns(2,1fr);
gap:12px;
}

.stat-card{
background(255,255,255,.08);
padding:18px 12px;
border-radius:12px;
}

.stat-card h3{
font-size:28px;
margin-bottom:6px;
}

.stat-card p{
font-size:13px;
}
.main-boxCard{

padding:20px;

border-radius:14px;

}

.main-boxCard p{

font-size:16px;

text-align;

line-height:1.8;

}

.main-boxCard h2{

font-size:24px;

margin:35px 0 18px;

}

.main-boxCard h3{

font-size:20px;

}

.main-boxCard ul li{

padding-left:30px;

font-size:15px;

}
}
