@import url('def.css');

@import url('blog.css');

@import url('breadcrumb.css');

@import url('pagination.css');

@import url('single-course.css');

@import url('single-blog.css');

@import url('student-dashboard.css');

@import url('curriculum.css');

@import url('notfound-page.css');

@import url('start-learning.css');

@import url('all-courses.css');

@import url('login-register.css');
@import url('otp-form.css');


/**
 * Simple fade transition,
 */
.mfp-fade.mfp-bg {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
	opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
	opacity: 0;
}

.mfp-fade.mfp-wrap .mfp-content {
	opacity: 0;
	-webkit-transition: all 0.15s ease-out; 
	-moz-transition: all 0.15s ease-out; 
	transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
	opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
	opacity: 0;
}

.course {
  width: 370px;
  height: 490px;
  border-radius: 12px;
  background: #FFF;
  border: 1px solid #E2DFDA;
  overflow: hidden;
  transition: all 0.3s;
}
button{
  border: none;
  outline: none;
  background: none;
}
ul{
  list-style: none;
}
a{
  text-decoration: none;
}

.hover-effect{
  color: #171100;
text-align: center;
font-family: Poppins;
font-size: 16px;
font-style: normal;
font-weight: 600;
line-height: 28px;
}
.added_to_cart.wc-forward{
  display: none;
}
.cart-btn{
  color: black;
  height: 20px;
  width: 30px;
  margin-right: -60px;
  transition: 0.3s all;
}

.cart-btn:hover{
  color: #2563eb;
}

.course-cart{
  visibility: hidden;
  opacity: 0;
  background-color: #FFB900;
  border-radius: 40px;
}
.student-sidebar-tab {
    display: none;
}

.student-sidebar-tab.student-active {
    display: block;
}

.loading {
    padding: 20px;
    font-weight: 600;
}





/* search blog style */

/* ====== Single Card ====== */
.single-card {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
  align-items: center;
  background-color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.3s ease;
}

.single-card:hover {
  transform: translateY(-5px);
}

/* Reverse card for even posts */
.single-card.reverse {
  flex-direction: row-reverse;
}

/* ====== Image Section ====== */
.card-img {
  width: 40%;
}

.card-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

/* ====== Content Section ====== */
.card-content {
  width: 60%;
}

.card-content .post-date {
  font-size: 14px;
  color: #999;
  margin-bottom: 6px;
}

.card-content h3 {
  font-size: 22px;
  margin: 10px 0;
}

.card-content h3 a {
  text-decoration: none;
  color: #222;
  transition: color 0.3s ease;
}

.card-content h3 a:hover {
  color: #ff6600;
}

.card-content p {
  color: #666;
  font-size: 16px;
  line-height: 1.5;
}

.card-content .read-more {
  display: inline-block;
  margin-top: 10px;
  font-weight: bold;
  color: #ff6600;
  text-decoration: none;
}

.card-content .read-more:hover {
  text-decoration: underline;
}

/* ====== Pagination ====== */
.pagination {
  text-align: center;
  margin-top: 40px;
}

/* ====== Responsive Design ====== */
@media (max-width: 768px) {
  .single-card,
  .single-card.reverse {
    flex-direction: column;
    text-align: center;
  }

  .card-img,
  .card-content {
    width: 100%;
  }

  .card-img img {
    width: 100%;
    height: auto;
  }
}

/* no-results-box design */
.no-results-box {
    text-align: center;
    background: #f9f9f9; 
    border: 1px solid #e5e7eb; 
    border-radius: 0.5rem; 
    padding: 2rem; 
    max-width: 600px;
    margin: 40px auto;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); 
}

.no-results-title {
    font-size: 1.5rem; 
    font-weight: 600; 
    color: #dc2626; 
    margin-bottom: 0.5rem; 
}

.no-results-text {
    font-size: 1rem; 
    color: #4b5563; 
    margin-bottom: 1rem; 
}

.no-results-query {
    color: #3b82f6; 
    font-weight: bold;
}

.no-results-btn {
    display: inline-block;
    background: #2563eb; 
    color: #fff; 
    padding: 0.5rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); 
    transition: background 0.3s ease;
}

.no-results-btn:hover {
    background: #1d4ed8;
}




/* add couces page design */
.courses-all-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}