/* ================= GLOBAL ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  width: 100%;
  overflow-x: hidden;
  background: #f3f4f6;
}

/* ================= MAIN WRAPPER ================= */
.container {
  width: 100%;
  padding: 20px;
}

/* ================= CARD ================= */
.progress-card {
  background: white;
  padding: 20px;
  border-radius: 15px;
  transition: 0.4s;
  text-align: center;
  width: 100%;
}

.progress-card:hover {
  transform: scale(1.05);
}

/* ================= CIRCLE ================= */
.progress-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  margin: auto;
  background: conic-gradient(#3b82f6 0%, #ddd 0%);
}

/* ================= BAR ================= */
.bar {
  background: #ddd;
  height: 10px;
  border-radius: 10px;
  overflow: hidden;
}

.bar div {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #3b82f6, #9333ea);
  transition: 2s;
}

.bar-box {
  margin-bottom: 15px;
}

/* ================= WEEKLY PROGRESS ================= */
.weekly-progress {
  width: 100%;
  padding: 20px;
  text-align: center;
}

.weekly-progress h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #1e3a8a;
}

.weekly-progress p {
  color: #555;
  margin-bottom: 30px;
}

/* GRID FULL WIDTH */
.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  width: 100%;
}

/* ================= DAY BOX ================= */
.day-box {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  transition: 0.3s;
  width: 100%;
}

.day-box:hover {
  transform: translateY(-6px) scale(1.03);
}

.day-box h3 {
  margin-bottom: 10px;
  color: #2563eb;
}

/* ================= PROGRESS LINE ================= */
.progress-line {
  width: 100%;
  height: 10px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin: 10px 0;
}

.progress-line div {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #3b82f6, #9333ea);
  transition: 1.5s;
}

/* ================= GOALS ================= */
#goalList {
  width: 100%;
  padding: 10px 0;
}

#goalList li {
  background: white;
  padding: 12px;
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  transition: 0.3s;
  gap: 10px;
  flex-wrap: wrap;
  width: 100%;
}

#goalList li:hover {
  transform: translateX(5px);
}

/* ================= FOOTER ================= */
footer {
  width: 100%;
  padding: 40px 20px;
  background: #111827;
  color: white;
}

footer a {
  transition: 0.3s;
  display: inline-block;
}

footer a:hover {
  color: #facc15;
  transform: translateX(5px);
}

/* social hover */
footer .flex a:hover {
  transform: scale(1.2) rotate(5deg);
}

footer p {
  line-height: 1.6;
  word-spacing: 2px;
}

#footerText {
  text-align: center;
  word-break: break-word;
}

/* subscribe input */
footer input {
  padding: 10px;
  border-radius: 6px;
  border: none;
}

footer input:focus {
  outline: none;
  box-shadow: 0 0 10px #facc15;
}

/* subscribe button */
footer button {
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  background: #facc15;
  cursor: pointer;
  transition: 0.3s;
}

footer button:hover {
  transform: scale(1.05);
}

/* ================= ANIMATION ================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= RESPONSIVE ================= */

/* Small Mobile */
@media (max-width: 480px) {

  .container {
    padding: 10px;
  }

  .progress-circle {
    width: 70px;
    height: 70px;
    font-size: 12px;
  }

  .weekly-progress h2 {
    font-size: 20px;
  }

  .weekly-progress p {
    font-size: 13px;
  }

  .day-box {
    padding: 12px;
  }

  #goalList li {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile */
@media (max-width: 768px) {

  .container {
    padding: 15px;
  }

  .progress-circle {
    width: 85px;
    height: 85px;
  }

  .weekly-progress h2 {
    font-size: 22px;
  }

  .weekly-progress p {
    font-size: 14px;
  }
}

/* Tablet */
@media (max-width: 1024px) {

  .container {
    padding: 20px;
  }

  .weekly-progress h2 {
    font-size: 24px;
  }
}

/* Large Screens */
@media (min-width: 1025px) {

  .container {
    padding: 30px;
  }

  .weekly-progress h2 {
    font-size: 28px;
  }
}