* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f5f5f5;
}

/* Banner Section */
.courses-banner {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* Banner Image */
.banner-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark Overlay */
.overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 60, 0.65);
}

/* Banner Content */
.banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
}

.banner-content h1 {
  font-size: 64px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Breadcrumb */
.breadcrumb-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-size: 16px;
  font-weight: 500;
}

.breadcrumb-custom a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.breadcrumb-custom a:hover {
  color: #d1d1ff;
}

/* Responsive */
@media (max-width: 768px) {
  .courses-banner {
    height: 220px;
  }

  .banner-content h1 {
    font-size: 42px;
  }

  .breadcrumb-custom {
    font-size: 14px;
  }
}

.topic-section{
    background: #f5f5f5;
}

/* Subtitle */
.topic-subtitle{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.topic-subtitle span{
    width: 60px;
    height: 2px;
    background: #ff7a2f;
}

.topic-subtitle h6{
    margin: 0;
    color: #1c2340;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Title */
.topic-title{
    color: #ff7a2f;
    font-size: 48px;
    font-weight: 700;
}

/* Cards */
.topic-card{
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    transition: 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    cursor: pointer;
    height: 100%;
}

.topic-card:hover{
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.topic-card img{
    width: 55px;
    margin-bottom: 20px;
}

.topic-card h4{
    font-size: 24px;
    color: #091c3f;
    font-weight: 600;
    margin: 0;
}
/* ==================popular courses section========================= */
/* Section */
.course-section{
    background: #f5f5f5;
}

/* Heading */
.sub-title{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.sub-title span{
    width: 60px;
    height: 2px;
    background: #ff7a2f;
}

.sub-title h6{
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #0b1c39;
    letter-spacing: 1px;
}

.section-heading h2{
    color: #ff7a2f;
    font-size: 48px;
    font-weight: 700;
}

/* Card */
.course-card{
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.4s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.course-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Image */
.course-img{
    position: relative;
    overflow: hidden;
}

.course-img img{
    width: 100%;
    height: 210px;
    object-fit: cover;
    transition: 0.5s;
}

.course-card:hover .course-img img{
    transform: scale(1.1);
}

/* Badge */
.badge-free,
.badge-paid{
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
}

.badge-free{
    background: #ff7a2f;
}

.badge-paid{
    background: #00c853;
}

/* Content */
.course-content{
    padding: 18px;
}

.course-content h4{
    font-size: 24px;
    font-weight: 700;
    color: #0b1c39;
    margin-bottom: 15px;
}

/* Info */
.course-info{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.course-info span{
    font-size: 14px;
    color: #555;
}

.course-info i{
    color: #f7b500;
    margin-right: 5px;
}

 /*==============main course section=================*/
    .course-section{
    background:#f8f9fa;
}

.section-title{
    display:inline-block;
    background:#dc3545;
    color:#fff;
    padding:10px 30px;
    border-radius:8px;
    font-size:28px;
    font-weight:700;
}

.section-title.blue{
    background:#0d6efd;
}

.course-card{
    background:#fff;
    border:2px solid #e5e5e5;
    border-radius:15px;
    padding:25px;
    text-align:center;
    transition:0.3s;
    height:100%;
}

.course-card:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.course-card img{
    width:90px;
    height:90px;
    object-fit:contain;
    margin-bottom:15px;
}

.course-card h5{
    font-size:20px;
    font-weight:600;
}

.info-box{
    background:#fff;
    border:3px solid #1d2671;
    border-radius:20px;
    padding:25px;
    text-align:center;
}

.info-box i{
    font-size:40px;
    color:#1d2671;
    margin-bottom:15px;
}

.info-box h4{
    font-size:28px;
    font-weight:700;
}

.info-box p{
    font-size:20px;
    margin-bottom:0;
}
    
    

/* Footer */
.course-footer{
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.course-footer span{
    font-size: 15px;
    color: #444;
    font-weight: 500;
}

.course-footer .price{
    font-weight: 700;
    color: #0b1c39;
}

.course-footer a{
    text-decoration: none;
    color: #00bcd4;
    font-weight: 600;
    transition: 0.3s;
}

.course-footer a:hover{
    color: #ff7a2f;
}

/* Responsive */
@media(max-width:991px){

    .section-heading h2{
        font-size: 36px;
    }

}

@media(max-width:576px){

    .section-heading h2{
        font-size: 28px;
    }

    .course-content h4{
        font-size: 20px;
    }

}
/* Responsive */
@media(max-width:768px){

    .topic-title{
        font-size: 32px;
    }

    .topic-card{
        padding: 30px 15px;
    }

    .topic-card h4{
        font-size: 20px;
    }
}