


.insights-section {


    background: #fff;

    min-height: 100vh;

    padding: 50px 20px;

    border-radius: 30px;
    background: linear-gradient(
    135deg,
    #f8fbff 0%,
    #f5f3ff 50%,
    #eff6ff 100%
);

}

.insights-heading {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 25px;

    

}

.insights-heading h1 {

    font-size: 40px;

    font-weight: 700;

    margin: 0;

   color: #111827;

  

}

.heading-icon {

    font-size: 37px;

}

.mini-stat-card {

    width: 100%;

    background: #fff;

    border-radius: 26px;

    padding: 20px;

    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;

    box-shadow:
        0 -1px 6px rgba(0,0,0,0.02),
        0 6px 14px rgba(0,0,0,0.04);

}

.mini-stat-icon {

    width: 42px;

    height: 42px;

    border-radius: 50%;

    background: #f3f4f6;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 18px;

}



.mini-stat-icon i {

    font-size: 16px;

    color: #4e70b4;

}





.mini-stat-card h5 {

    font-size: 20px;

    font-weight: 700;

    color: #111827;

    margin-bottom: 14px;

    line-height: 1.4;

}



.mini-stat-card span {

    font-size: 38px;

    font-weight: 700;

    color: #111827;

}




 .mini-stat-blue {

    border-top-color: #3b82f6;
    border-bottom-color: #3b82f6;

}





.mini-stat-purple {

 border-top-color: #a855f7;
 border-bottom-color: #a855f7;


}
.mini-stat-orange {

    border-top-color: #f97316;
    border-bottom-color: #f97316;

}
.mini-stat-green {

    border-top-color: #22c55e;
    border-bottom-color: #22c55e;

}


.progress-circle1 {
  width: 120px;
  height: 120px;
  border-radius: 50%;

    background: conic-gradient(#22c55e 0% 20%, #e5e7eb 20% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.progress-circle2 {
  width: 120px;
  height: 120px;
  border-radius: 50%;

  background: conic-gradient(#348fdf 0% 80%, #e5e7eb 80% 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.inner {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.progress-overall-card {

    background: #fff;

    border-radius: 28px;

    padding: 30px 20px;

    box-shadow:
        0 4px 14px rgba(15,23,42,0.06);

    height: 100%;

}
/* here */


.progress-grid {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-top: 10px;
}

.progress-box {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px;
    border-radius: 20px;
    background: #ffffff;

    border: 2px dashed #c4b5fd;

    box-shadow:
        0 6px 14px rgba(196, 181, 253, 0.18);

    transition: 0.3s ease;
}

.progress-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

.progress-circle {
    width: 95px;
    height: 95px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.progress-circle::before {
    content: "";
    position: absolute;
    inset: 10px;
    background: white;
    border-radius: 50%;
}

.progress-circle .inner {
    position: relative;
    z-index: 2;
    font-weight: 700;
    font-size: 20px;
    color: #344054;
}

.weekly {
    background: conic-gradient(
        #22c55e 0% 20%,
        #e5e7eb 20% 100%
    );
}

.monthly {
    background: conic-gradient(
        #3b82f6 0% 80%,
        #e5e7eb 80% 100%
    );
}

.progress-info h6 {
    margin-bottom: 4px;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.progress-info span {
    color: #6b7280;
    font-size: 14px;
}

.progress-status {
    background: #dcfce7;
    color: #16a34a;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

/* here */

.progress-wrapper {

    background: #f8f4ec;

    border-radius: 30px;

    padding: 30px;

    box-shadow:
        0 2px 10px rgba(15,23,42,0.04);

}
.subject-progress-heading {

    display: flex;

    align-items: center;

    gap: 14px;

}


.subject-progress-circle {

    width: 140px;

    height: 140px;

    border-radius: 50%;

    margin: auto;

    display: flex;

    align-items: center;

    justify-content: center;

}
.subject-inner {

    width: 105px;

    height: 105px;

    border-radius: 50%;

    background: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 34px;

}
.progress-wrapper h3 {

    font-size: 30px;

    font-weight: 700;

    color: #111827;

    margin-top: 18px;

    margin-bottom: 6px;

}
.progress-wrapper p {

    font-size: 20px;

    font-weight: 600;

    color: #374151;

}
.blue-circle {

    background:
        conic-gradient(
            #3b82f6 0% 85%,
            #e5e7eb 85% 100%
        );

}

.green-circle {

    background:
        conic-gradient(
            #10b981 0% 92%,
            #e5e7eb 92% 100%
        );

}
.purple-circle {

    background:
        conic-gradient(
            #8b5cf6 0% 78%,
            #e5e7eb 78% 100%
        );

}

.pink-circle {

    background:
        conic-gradient(
            #ec4899 0% 95%,
            #e5e7eb 95% 100%
        );

}


.motivation-card {
    position: relative;
    overflow: hidden;

    background: linear-gradient(
        135deg,
        #fff7ed 0%,
        #fdf4ff 50%,
        #eff6ff 100%
    );

    border: 2px dashed #f9a8d4;

    border-radius: 30px;

    padding: 38px 30px;

    text-align: center;


    margin-top: 25px;
}



.motivation-card h2 {
    font-size: 22 px;
    font-weight: 700;
    color: #1e293b;

    margin-bottom: 12px;

    line-height: 1.3;
}

.motivation-card p {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

@media (max-width: 768px) {

  .insights-section {
    padding: 22px 14px;
    border-radius: 22px;
  }

  .insights-heading {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .insights-heading h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .heading-icon {
    font-size: 32px;
  }

  .insights-section .tx-20 {
    font-size: 16px !important;
    line-height: 1.6;
    margin-top: 10px;
    padding: 0 6px;
  }

  /* mini stat cards */

  .mini-stat-card {
    border-radius: 22px;
    padding: 18px;
    text-align: center;
  }

  .mini-stat-icon {
    margin: 0 auto 14px;
  }

  .mini-stat-card h5 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .mini-stat-card span {
    font-size: 30px;
  }

  /* chart + progress cards */

  .progress-overall-card {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .progress-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
    gap: 16px;
  }

 

  .progress-info h6 {
    font-size: 17px;
  }

  .progress-info span {
    font-size: 13px;
  }

  .progress-status {
    font-size: 12px;
    padding: 5px 12px;
  }

  /* subject progress */

  .progress-wrapper {
    padding: 22px 16px;
    border-radius: 24px;
  }

  .subject-progress-heading {
    justify-content: center;
    text-align: center;
  }

  .subject-progress-circle {
    width: 110px;
    height: 110px;
  }

  .subject-inner {
    width: 82px;
    height: 82px;
    font-size: 28px;
  }

  .progress-wrapper h3 {
    font-size: 24px;
    margin-top: 14px;
  }

  .progress-wrapper p {
    font-size: 16px;
  }

 

  .motivation-card {
    padding: 26px 18px;
    border-radius: 24px;
    margin-top: 20px;
  }

  .motivation-card h2 {
    font-size: 24px;
    line-height: 1.4;
  }

  .motivation-card p {
    font-size: 15px;
    line-height: 1.6;
  }

   .progress-circle {
    width: 90px;
    height: 90px;
    min-width: 90px;
    min-height: 90px;
    margin: 0 auto;
  }

  .progress-circle::before {
    inset: 10px;
  }

  .progress-circle .inner {
    width: auto;
    height: auto;
    background: transparent;
    font-size: 16px;
    font-weight: 700;
  }

}
