/* Global */
body {
  font-family: 'Inter', sans-serif;
  background-color: #F9FAFB;
  color: #1F2937;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  background-color: #F7F7F7;
  /* UTEP Dark Blue */
  border-bottom: 3px solid #F1F1F1;
  /* subtle orange underline */
}

.navbar-brand {
  font-weight: 700;
  color: #041E42 !important;
}

.navbar .btn {
  border-radius: 6px;
}

/* Hero Gradient (UTEP colors) */
.hero-gradient {
  background: linear-gradient(-45deg, #E35205, #B3541E, #041E42, #E35205);
  background-size: 400% 400%;
  animation: gradientBG 15s ease infinite;
  color: white;
}

@keyframes gradientBG {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Weekly Summary Glass Style */
.weekly-summary {
  background: #678aaf63;
  /* clean white card */
  border: 6px solid #FFFFFF;
  /* indigo accent */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.55);
  /* stronger + deeper shadow */
  color: #1e293b;
  /* dark slate text */
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.weekly-summary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.weekly-summary h4 {
  font-size: 1.2rem;
  /* smaller title */
  margin-bottom: 0.5rem;
  color: #111827;
}

.weekly-summary p {
  font-size: 0.95rem;
  /* smaller body text */
  line-height: 1.4;
  color: #374151;
}


/* Compact version of the summary card */
.compact-summary {
  background: #ffffff;
  border-left: 4px solid #6366f1;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  color: #1e293b;
  text-align: center;
  padding: 1.5rem;
  /* smaller padding */
  max-width: 700px;
  /* limits width so it doesn’t stretch */
  margin: 0 auto 1.5rem auto;
  /* center align and margin below */
}

.compact-summary h4 {
  font-size: 1.2rem;
  /* smaller title */
  margin-bottom: 0.5rem;
  color: #111827;
}

.compact-summary .summary-text {
  font-size: 0.95rem;
  /* smaller body text */
  line-height: 1.4;
  color: #374151;
}






/* Cards */
.card {
  border-radius: 0.75rem;
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 18px rgba(0, 0, 0, 0.08);
}

.card {
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.05);
}


/* Buttons */
.btn-primary {
  background-color: #E35205;
  /* UTEP Orange */
  border: none;
}

.btn-primary:hover {
  background-color: #B3541E;
  /* Copper */
}

.btn-success {
  background-color: #041E42;
  /* UTEP Dark Blue */
  border: none;
}

.btn-success:hover {
  background-color: #021029;
}

.btn-outline-primary {
  color: #041E42;
  border-color: #041E42;
}

.btn-outline-primary:hover {
  background-color: #041E42;
  color: white;
}

.btn-light {
  background-color: #FFFFFF;
  color: #041E42;
  border: 1px solid #DDD;
}

.btn-light:hover {
  background-color: #F2F2F2;
}

/* Badges */
.badge.bg-info {
  background-color: #E35205 !important;
  /* Orange */
  color: #FFFFFF;
}

.badge.bg-secondary {
  background-color: #041E42 !important;
  /* Dark Blue */
  color: #FFFFFF;
}

.badge-utep {
  background-color: #c7ccd3;
  /* UTEP Blue */
  color: #000;
  border-radius: 999px;
}

.badge-utep:hover {
  filter: brightness(1.05);
  text-decoration: none;
}

.badge-utep.active {
  background-color: #FF8200;
  /* UTEP Orange for active pill */
  color: #041E42;
}

/* Wider, left-aligned tooltip content */
.tooltip-inner {
  max-width: 360px;
  text-align: left;
}

/* Weekly Summary Section */
/* Left align the card contents */
.weekly-summary {

  max-width: 90ch;
  /* good reading width; try 64ch, 80ch, etc. */
  margin-inline: auto;
  /* center horizontally */
}

/* Justify the overview paragraph(s) */
.text-justify {
  text-align: justify;
}

/* Make list bullets look right and indented */
.weekly-summary .summary-body ul {
  list-style-type: disc;
  text-align: left;
  padding-left: 1.25rem;
  /* works with Bootstrap's ps-3 too */
  margin-bottom: 1rem;
}

.weekly-summary .summary-body h5,
.weekly-summary .summary-body h6 {
  margin: 0.5rem 0 0.25rem;
}


/* Footer */
.footer {
  text-align: center;
  padding: 2rem 0;
  font-size: 0.9rem;
  color: #6B7280;
  border-top: 2px solid #E35205;
  margin-top: 3rem;
}

/* Animations */
.fade-in {
  animation: fadeInUp 0.6s ease-in-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.btn-hero {
  background-color: #E35205;
  border: none;
  color: white;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}

.btn-hero:hover {
  background-color: #B3541E;
}

/* Ensure charts resize responsively */
/* Make chart responsive and give it more breathing room */
.chart-wrapper {
  width: 100%;
  max-width: 400px;
  /* good size for labels */
  height: 350px;
  margin: -20px auto 0 auto;
  /* Negative margin for desktop to tighten spacing */
}

.chart-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
}

@media (max-width: 768px) {
  .chart-wrapper {
    max-width: 100%;
    height: 300px;
    margin-top: 1rem !important;
    /* Force positive spacing on mobile to prevent overlap */
  }
}

@media (max-width: 768px) {
  .chart-wrapper {
    margin-top: 0.5rem;
    /* reduce gap */
  }

  .col-md-5.p-3 {
    padding-top: 0 !important;
    /* kill extra top padding */
  }
}


/* Features */
.features {
  padding: 4rem 0;
  background-color: var(--color-light);
}

/* Title for the features/value proposition section */
.features-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
  text-align: center;
}

/* New vertical feature list for improved clarity */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: center;
  background-color: var(--color-white);
  border-left: 6px solid var(--color-blue);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  transition: transform var(--transition), box-shadow var(--transition);
}

.feature-item:hover,
.feature-item:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Accent colors for each feature item */
.feature-item.scoring {
  border-color: var(--color-orange);
}

.feature-item.discipline {
  border-color: var(--color-dark);
}

.feature-item.technical {
  border-color: var(--color-purple);
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.feature-icon-wrapper img {
  width: 100%;
  height: 100%;
}

.feature-text h3 {
  margin-bottom: 0.3rem;
  font-size: 1.25rem;
  color: var(--color-dark);
}

.feature-text p {
  font-size: 1rem;
  color: var(--color-muted);
}

/* How it works */
.how-it-works {
  padding: 4rem 0;
  background-color: var(--color-light);
  text-align: center;
}

.how-it-works h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
}

.journey-img {
  width: 100%;
  /* Reduce the infographic size on large screens to improve balance */
  max-width: 500px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* New journey section styling */
.journey {
  padding: 4rem 0;
  background-color: var(--color-light);
  text-align: center;
}

/* Card wrapper for the journey section to visually separate it */
.journey-card {
  background-color: var(--color-white);
  border: 1px solid #dbe3ee;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-top: 1.5rem;
}

.journey h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--color-dark);
}

.journey-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.journey-step {
  flex: 1 1 220px;
  max-width: 260px;
  text-align: center;
}


/* Icon circle for journey steps */
.journey-step .icon-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: var(--color-dark);
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0 auto 0.8rem;
}

.journey-step h4 {
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
  color: var(--color-dark);
}

.journey-step p {
  font-size: 0.95rem;
  color: var(--color-muted);
}


/* Circular Score Badge (Ported from Admin) */
.score-circle-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 auto 1rem auto;
  line-height: 1;
  color: white;
}

.score-circle-small {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
  color: white;
}