/*==================================================
    AATMANUBHAV GURUKUL
    MY COURSES - PREMIUM UI
    Version : 1.0
==================================================*/

/* Reset */

*{
    box-sizing:border-box;
}

.ag-my-courses{

    max-width:1100px;

    margin:20px auto;

    padding:15px;

}

/*==================================
      PAGE HEADER
==================================*/

.ag-page-title{

    text-align:center;

    margin-bottom:20px;

}

.ag-page-title h2{

    margin:0;

    font-size:28px;

    font-weight:700;

    color:#222;

}

.ag-page-title p{

    margin-top:6px;

    color:#777;

    font-size:15px;

}

/*==================================
      STATISTICS
==================================*/

.ag-course-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:12px;

    margin-bottom:22px;

}

.stat-card{

    background:#fff;

    border-radius:18px;

    text-align:center;

    padding:12px 10px;

    box-shadow:0 8px 20px rgba(0,0,0,.07);

}

.ag-stat-icon{

    font-size:28px;

    margin-bottom:5px;

}

.ag-stat-number{

    font-size:32px;

    font-weight:700;

    color:#16a34a;

    line-height:1;

}

.ag-stat-text{

    margin-top:6px;

    color:#666;

    font-size:14px;

}

/*==================================
      COURSE LIST
==================================*/

.ag-course-list{

    display:flex;

    flex-direction:column;

    gap:18px;

}

.ag-course-card{

    position:relative;

    background:#fff;

    border-radius:18px;

    padding:18px;

    overflow:hidden;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.30s;

}

.ag-course-card:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 35px rgba(0,0,0,.12);

}

/*==================================
      TOP STRIP
==================================*/

.ag-card-strip{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:5px;

}

.green .ag-card-strip{

    background:#16a34a;

}

.orange .ag-card-strip{

    background:#ff9800;

}

.blue .ag-card-strip{

    background:#2563eb;

}

/*==================================
      COURSE HEADER
==================================*/

.ag-course-header{

    display:flex;

    justify-content:space-between;

    align-items:flex-start;

    gap:15px;

    margin-bottom:16px;

}

.ag-course-title{

    display:flex;

    align-items:center;

    gap:14px;

    flex:1;

}

.ag-course-icon{

    width:54px;

    height:54px;

    border-radius:16px;

    background:#f7f7f7;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

    flex-shrink:0;

}

.ag-course-title h3{

    margin:0;

    font-size:20px;

    font-weight:700;

    color:#222;

    line-height:1.2;

}

.ag-course-title small{

    display:block;

    margin-top:4px;

    color:#777;

    font-size:14px;

}

/*==================================
      BADGE
==================================*/

.ag-badge{

    background:#e9fff0;

    color:#16a34a;

    padding:5px 10px;

    border-radius:30px;

    font-size:12px;

    font-weight:700;

    white-space:nowrap;

    display:inline-flex;

    align-items:center;

    justify-content:center;

}

/*==================================
      PROGRESS
==================================*/

.ag-progress-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:8px;

    font-size:14px;

    color:#555;

}

.ag-progress-top strong{

    font-size:15px;

    color:#111;

}

.ag-progress{

    width:100%;

    height:10px;

    background:#ededed;

    border-radius:30px;

    overflow:hidden;

    margin-bottom:18px;

}

.ag-progress span{

    display:block;

    height:100%;

    background:linear-gradient(90deg,#16a34a,#22c55e);

    border-radius:30px;

}

/*==================================
      BUTTON
==================================*/

.ag-course-btn{

    display:flex;

    justify-content:center;

    align-items:center;

    width:100%;

    height:48px;

    border-radius:12px;

    background:linear-gradient(135deg,#ff8a00,#ff6b00);

    color:#fff;

    text-decoration:none;

    font-size:16px;

    font-weight:700;

    transition:.30s;

}

.ag-course-btn:hover{

    background:linear-gradient(135deg,#ff7700,#e65c00);

    color:#fff;

    transform:translateY(-1px);

}

/*==================================
      COURSE DESCRIPTION
==================================*/

.ag-course-card p{

    color:#666;

    font-size:15px;

    line-height:1.6;

    margin:0 0 18px;

}

/*==================================
      MOBILE RESPONSIVE
==================================*/

@media (max-width:768px){

.ag-my-courses{
    padding:10px;
}

/* Statistics */

.ag-course-grid{
    grid-template-columns:repeat(3,1fr);
    gap:8px;
}

.stat-card{
    padding:10px 6px;
    border-radius:14px;
}

.ag-stat-icon{
    font-size:22px;
}

.ag-stat-number{
    font-size:24px;
}

.ag-stat-text{
    font-size:12px;
}

/* Course Card */

.ag-course-card{
    padding:15px;
    border-radius:16px;
}

/* Header */

.ag-course-header{
    gap:10px;
}

.ag-course-icon{
    width:44px;
    height:44px;
    border-radius:12px;
    font-size:20px;
}

.ag-course-title h3{
    font-size:17px;
}

.ag-course-title small{
    font-size:13px;
}

.ag-badge{
    padding:4px 8px;
    font-size:11px;
}

/* Progress */

.ag-progress{
    height:8px;
}

.ag-progress-top{
    font-size:13px;
}

/* Button */

.ag-course-btn{
    height:46px;
    font-size:15px;
    border-radius:10px;
}

}


/*==================================
      SMALL MOBILE
==================================*/

@media (max-width:480px){

.ag-page-title h2{
    font-size:24px;
}

.ag-page-title p{
    font-size:13px;
}

.ag-course-title h3{
    font-size:16px;
}

.ag-course-title small{
    font-size:12px;
}

.ag-stat-number{
    font-size:22px;
}

.ag-stat-text{
    font-size:11px;
}

}


/*==================================
      PREMIUM EFFECTS
==================================*/

.ag-course-card{
    transition:all .25s ease;
}

.ag-course-card:hover{
    transform:translateY(-2px);
}

.ag-course-btn{
    transition:all .25s ease;
}

.ag-course-btn:active{
    transform:scale(.98);
}

.ag-course-icon{
    transition:.25s;
}

.ag-course-card:hover .ag-course-icon{
    transform:scale(1.08);
}

/*==================================
      END
==================================*/