/* =========================
   PREMIUM CATEGORY BANNER
========================= */
.category-banner{
    background: linear-gradient(135deg,#0f2027,#203a43,#2c5364);
    padding: 90px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-banner::before{
    content:'';
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,0.05);
    border-radius:50%;
    top:-120px;
    left:-100px;
}

.category-banner::after{
    content:'';
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(255,255,255,0.05);
    border-radius:50%;
    bottom:-180px;
    right:-120px;
}

.banner-title{
    font-size:48px;
    font-weight:700;
    color:#fff;
    margin-bottom:10px;
    position:relative;
    z-index:2;
}

.banner-breadcrumb{
    color:#ddd;
    font-size:15px;
    position:relative;
    z-index:2;
}

.banner-breadcrumb a{
    color:#fff;
    text-decoration:none;
    font-weight:500;
}

/* =========================
   BLOG SECTION
========================= */
.w3l-blog{
    background:#f5f7fb;
}

.section-title{
    font-size:38px;
    font-weight:700;
    color:#111;
    margin-bottom:15px;
    position:relative;
}

.section-title::after{
    content:'';
    width:80px;
    height:4px;
    background:#0d6efd;
    display:block;
    margin:12px auto 0;
    border-radius:20px;
}

/* =========================
   COURSE CARD
========================= */
.course-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    transition:0.4s ease;
    height:100%;
    box-shadow:0 5px 18px rgba(0,0,0,0.06);
    display:flex;
    flex-direction:column;
}

.course-card:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

/* =========================
   IMAGE
========================= */
.course-img-new{
    position:relative;
    overflow:hidden;
    background:#fff;
    height:240px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.course-img-new img{
    width:100%;
    height:100%;
    object-fit:contain;
    transition:0.5s ease;
}

.course-card:hover .course-img-new img{
    transform:scale(1.05);
}

/* =========================
   OVERLAY
========================= */
.overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.55);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:0.4s;
}

.course-card:hover .overlay{
    opacity:1;
}

.overlay a{
    background:#fff;
    color:#111;
    padding:10px 22px;
    border-radius:40px;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
}

.overlay a:hover{
    background:#0d6efd;
    color:#fff;
}

/* =========================
   CONTENT
========================= */
.course-content{
    padding:22px;
    display:flex;
    flex-direction:column;
    flex-grow:1;
}

.course-content h4{
    font-size:22px;
    font-weight:700;
    color:#111;
    line-height:1.4;
    margin-bottom:12px;
}

.course-content p{
    font-size:15px;
    color:#666;
    line-height:1.8;

    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:991px){

    .banner-title{
        font-size:38px;
    }

    .section-title{
        font-size:32px;
    }

    .course-img-new{
        height:220px;
    }
}

@media(max-width:768px){

    .category-banner{
        padding:70px 0 80px;
    }

    .banner-title{
        font-size:30px;
    }

    .banner-breadcrumb{
        font-size:13px;
    }

    .section-title{
        font-size:28px;
    }

    .course-content{
        padding:18px;
    }

    .course-content h4{
        font-size:20px;
    }

    .course-img-new{
        height:200px;
    }
}

@media(max-width:576px){

    .banner-title{
        font-size:26px;
    }

    .section-title{
        font-size:24px;
    }

    .course-img-new{
        height:190px;
    }

    .course-content h4{
        font-size:18px;
    }

    .course-content p{
        font-size:14px;
    }
}


* {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    body {
        font-family: 'Poppins', sans-serif;
        background: #f8f9fc;
        color: #222;
    }

    /* HERO */
    .hero {
        background: linear-gradient(135deg, #111111, #1d1d1d, #2e2e2e);
        color: #fff;
        padding: 110px 0;
        position: relative;
        overflow: hidden;
    }

    .hero:before {
        content: '';
        position: absolute;
        width: 450px;
        height: 450px;
        background: rgba(255, 255, 255, 0.04);
        border-radius: 50%;
        top: -150px;
        right: -120px;
    }

    .hero:after {
        content: '';
        position: absolute;
        width: 320px;
        height: 320px;
        background: rgba(255, 193, 7, 0.08);
        border-radius: 50%;
        bottom: -100px;
        left: -80px;
    }

    .hero h1 {
        font-size: 58px;
        font-weight: 800;
        line-height: 1.2;
    }

    .hero p {
        font-size: 20px;
        color: #ddd;
    }

    .btn-main {
        background: #ffc107;
        color: #111;
        padding: 14px 34px;
        border-radius: 50px;
        font-weight: 700;
        border: none;
        text-decoration: none;
        display: inline-block;
        transition: .3s;
    }

    .btn-main:hover {
        background: #fff;
        transform: translateY(-3px);
    }

    /* SECTION */
    .section {
        padding: 80px 0;
    }

    .title {
        font-size: 42px;
        font-weight: 800;
        margin-bottom: 20px;
        text-align: center;
    }

    .subtitle {
        color: #666;
        text-align: center;
        max-width: 800px;
        margin: auto auto 50px;
    }

    /* CARD */
    .box {
        background: #fff;
        border-radius: 18px;
        padding: 30px;
        box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
        height: 100%;
        transition: .3s;
        border: 1px solid #f1f1f1;
    }

    .box:hover {
        transform: translateY(-10px);
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.10);
    }

    .box h4 {
        font-weight: 700;
        margin-bottom: 12px;
        color: #111;
    }

    .box p {
        color: #666;
        margin: 0;
    }

    /* HIGHLIGHT */
    .highlight {
        background: linear-gradient(135deg, #fff7e6, #fff3cd);
    }

 
    @media(max-width:768px) {
        .hero h1 {
            font-size: 38px;
        }

        .title {
            font-size: 30px;
        }
    }
	
	
	.course-img-newblog {
		position: relative;
		overflow: hidden;
	}

	.course-img-newblog img {
		width: 100%;
		height: 230px;
		transition: 0.5s;
	}
	.course-img-newblog img {
		width: 100%;
		height: 220px;
	}
	
	@media (max-width: 768px) {
		.course-img-newblog img {
			height: 180px;
		}
	}