/* Academic Dashboard Color Scheme - DegreeAdmin Project */
:root {
  /* Primary academic colors */
  --university-blue: #1e3a8a;
  --academic-gold: #f59e0b;
  --deep-navy: #1e293b;
  --slate-blue: #475569;

  /* Secondary colors */
  --light-blue: #dbeafe;
  --cream-white: #fefce8;
  --soft-gray: #f8fafc;
  --border-gray: #e2e8f0;

  /* Status colors */
  --success-green: #10b981;
  --warning-orange: #f59e0b;
  --error-red: #ef4444;
  --info-blue: #3b82f6;
  --achievement-purple: #8b5cf6;

  /* Text colors */
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  /* Shadows and effects */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-achievement: 0 8px 32px rgba(139, 92, 246, 0.3);
}


/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--soft-gray);
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation - Academic Portal Style */
.academic-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--university-blue) 0%,
    var(--deep-navy) 100%
  );
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-white);
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-brand i {
  font-size: 1.5rem;
  color: var(--academic-gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  color: var(--text-white);
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--academic-gold);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--academic-gold);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-white);
  margin: 3px 0;
  transition: 0.3s;
}

/* Dashboard Hero Section */
.dashboard-hero {
  padding: 120px 0 80px;
  background: linear-gradient(
    135deg,
    var(--light-blue) 0%,
    var(--cream-white) 50%,
    var(--soft-gray) 100%
  );
  position: relative;
  overflow: hidden;
}

.dashboard-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
}

.dashboard-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.project-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--university-blue);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.project-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.4;
}

.project-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.project-meta span {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.semester {
  background-color: var(--light-blue);
  color: var(--university-blue);
}

.team {
  background-color: var(--academic-gold);
  color: var(--text-white);
}

.status-active {
  background: linear-gradient(135deg, var(--success-green), #059669);
  color: var(--text-white);
  animation: pulse 2s infinite;
  position: relative;
  overflow: hidden;
}

.status-active::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  animation: shine 3s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

@keyframes shine {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

/* Project Highlights */
.project-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  border: 1px solid var(--border-gray);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.highlight-item:hover {
  background: var(--text-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.highlight-item i {
  color: var(--university-blue);
  font-size: 1.1rem;
}

/* Progress Overview */
.progress-overview {
  background: var(--text-white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-gray);
  position: relative;
}

.milestone-card {
  margin-bottom: 2rem;
}

.milestone-card h3 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.milestone-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.milestone-name {
  font-weight: 600;
  color: var(--university-blue);
}

.progress-bar {
  width: 100%;
  height: 8px;
  background-color: var(--border-gray);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--university-blue),
    var(--success-green)
  );
  border-radius: 4px;
  transition: width 0.3s ease;
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  animation: progressShine 2s infinite;
}

@keyframes progressShine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.progress-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  background: var(--soft-gray);
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
}

.stat-item i {
  font-size: 1.5rem;
  color: var(--university-blue);
  margin-bottom: 0.5rem;
}

.stat-number {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Achievement Badge */
.achievement-badge {
  background: linear-gradient(135deg, var(--achievement-purple), #7c3aed);
  color: var(--text-white);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-achievement);
  position: relative;
  overflow: hidden;
}

.achievement-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  animation: achievementGlow 4s infinite;
}

@keyframes achievementGlow {
  0%,
  100% {
    transform: translateX(100%) rotate(45deg);
  }
  50% {
    transform: translateX(-100%) rotate(45deg);
  }
}

.achievement-badge i {
  font-size: 1.5rem;
  color: var(--academic-gold);
}

.achievement-text {
  display: flex;
  flex-direction: column;
}

.achievement-title {
  font-weight: 700;
  font-size: 1rem;
}

.achievement-desc {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Roadmap Section */
.roadmap-section {
  background: var(--text-white);
}

.roadmap-container {
  position: relative;
}

/* Team Section */
.team-section {
  background: var(--soft-gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

/* Progress Section */
.progress-section {
  background: var(--text-white);
}

/* Documentation Section */
.documentation-section {
  background: var(--soft-gray);
}

.docs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.doc-card {
  background: var(--text-white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.doc-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--university-blue),
    var(--academic-gold)
  );
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.doc-icon i {
  font-size: 1.8rem;
  color: var(--text-white);
}

.doc-content h3 {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.doc-content p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.doc-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.doc-status {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-draft {
  background-color: var(--warning-orange);
  color: var(--text-white);
}

.status-review {
  background-color: var(--info-blue);
  color: var(--text-white);
}

.status-progress {
  background-color: var(--success-green);
  color: var(--text-white);
}

.status-complete {
  background-color: var(--achievement-purple);
  color: var(--text-white);
}

.doc-version,
.doc-updated {
  font-size: 0.8rem;
  color: var(--text-light);
}

.doc-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--university-blue);
  color: var(--text-white);
}

.btn-primary:hover {
  background-color: var(--deep-navy);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--university-blue);
  border: 2px solid var(--university-blue);
}

.btn-secondary:hover {
  background-color: var(--university-blue);
  color: var(--text-white);
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.8rem;
}

/* Loading States */
.loading-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.loading-state i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--university-blue);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Enhanced Team Member Cards */
.team-member-card {
  background: var(--text-white);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-member-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--university-blue),
    var(--academic-gold)
  );
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.member-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.member-avatar {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--university-blue),
    var(--academic-gold)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 1.5rem;
  box-shadow: var(--shadow-md);
}

.member-info {
  flex: 1;
}

.member-name {
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.member-role {
  color: var(--university-blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.25rem;
}

.member-specialization {
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: block;
}

.workload-indicator {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.workload-indicator.high {
  background: var(--error-red);
  color: var(--text-white);
}

.workload-indicator.medium {
  background: var(--warning-orange);
  color: var(--text-white);
}

.workload-indicator.low {
  background: var(--success-green);
  color: var(--text-white);
}

.member-progress {
  margin-bottom: 1.5rem;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.progress-percentage {
  font-size: 0.8rem;
  color: var(--university-blue);
  font-weight: 600;
  margin-top: 0.25rem;
}

.member-current {
  margin-bottom: 1.5rem;
}

.member-current h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.current-task {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

.milestone-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.milestone {
  background: var(--light-blue);
  color: var(--university-blue);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-block;
  max-width: fit-content;
}

.deadline {
  font-size: 0.8rem;
  color: var(--warning-orange);
  font-weight: 500;
}

.member-achievements {
  margin-bottom: 1.5rem;
}

.member-achievements h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.achievements-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.achievements-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.achievements-list i {
  color: var(--academic-gold);
  font-size: 0.8rem;
}

.member-skills {
  margin-bottom: 1.5rem;
}

.member-skills h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--soft-gray);
  color: var(--text-primary);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--light-blue);
  color: var(--university-blue);
}

.skill-more {
  background: var(--university-blue);
  color: var(--text-white);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.75rem;
}

.member-contact {
  border-top: 1px solid var(--border-gray);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.contact-info i {
  color: var(--university-blue);
  width: 14px;
}

.contact-links {
  display: flex;
  gap: 0.5rem;
}

.contact-link {
  color: var(--text-light);
  font-size: 1.1rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.contact-link:hover {
  color: var(--university-blue);
}

/* Enhanced Report Cards */
.reports-overview {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--text-white);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.reports-summary h3 {
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.reports-summary p {
  color: var(--text-secondary);
  margin: 0;
}

.acceleration-highlight {
  background: linear-gradient(135deg, var(--success-green), #059669);
  color: var(--text-white);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.acceleration-highlight i {
  animation: bounce 2s infinite;
}

.reports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.report-card {
  background: var(--text-white);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.report-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--university-blue),
    var(--academic-gold)
  );
}

.report-card.ahead-of-schedule::before {
  background: linear-gradient(90deg, var(--success-green), #059669);
}

.report-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.report-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.report-week {
  display: flex;
  flex-direction: column;
}

.week-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--university-blue);
}

.report-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.report-status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.status-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-badge.on-track {
  background: var(--success-green);
  color: var(--text-white);
}

.status-badge.ahead-of-schedule {
  background: linear-gradient(135deg, var(--success-green), #059669);
  color: var(--text-white);
  animation: pulse 2s infinite;
}

.progress-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--university-blue);
}

.report-milestone h4 {
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1.1rem;
}

.milestone-progress {
  margin-bottom: 1rem;
}

.report-accomplishments {
  margin-bottom: 1.5rem;
}

.report-accomplishments h5 {
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
}

.report-accomplishments ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.report-accomplishments li {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}

.report-accomplishments li:before {
  content: "•";
  color: var(--university-blue);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.more-items {
  color: var(--text-light);
  font-style: italic;
}

.report-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.metric-item {
  text-align: center;
  padding: 0.75rem;
  background: var(--soft-gray);
  border-radius: 8px;
  border: 1px solid var(--border-gray);
  transition: all 0.3s ease;
}

.metric-item:hover {
  background: var(--light-blue);
  transform: translateY(-2px);
}

.metric-item i {
  color: var(--university-blue);
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.metric-value {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.report-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-gray);
}

.submitter {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* Roadmap Specific Styles */
.roadmap-overview {
  background: var(--text-white);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
}

.project-timeline {
  max-width: 800px;
  margin: 0 auto;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.timeline-header h3 {
  color: var(--text-primary);
  margin: 0;
}

.timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.9rem;
  text-align: right;
}

.timeline-meta span:first-child {
  color: var(--error-red);
  font-weight: 600;
}

.timeline-meta span:nth-child(2) {
  color: var(--success-green);
  font-weight: 600;
}

.progress-percentage {
  font-weight: 700;
  color: var(--university-blue);
  font-size: 1rem;
}

.timeline-progress {
  margin-bottom: 1rem;
  position: relative;
}

.timeline-bar {
  width: 100%;
  height: 12px;
  background-color: var(--border-gray);
  border-radius: 6px;
  overflow: hidden;
}

.timeline-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--university-blue),
    var(--success-green)
  );
  border-radius: 6px;
  transition: width 0.5s ease;
  position: relative;
}

.timeline-indicators {
  position: relative;
  margin-top: 0.5rem;
}

.timeline-marker {
  position: absolute;
  top: -8px;
  transform: translateX(-50%);
  width: 3px;
  height: 16px;
  background: var(--error-red);
  border-radius: 2px;
}

.timeline-marker.development {
  background: var(--success-green);
}

.marker-label {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-secondary);
  white-space: nowrap;
  background: var(--text-white);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid var(--border-gray);
  box-shadow: var(--shadow-sm);
}

.acceleration-note {
  background: linear-gradient(135deg, var(--success-green), #059669);
  color: var(--text-white);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
  margin-top: 1rem;
  font-weight: 600;
}

.acceleration-note i {
  margin-right: 0.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.phases-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.phase-card {
  background: var(--text-white);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--border-gray);
  transition: all 0.3s ease;
  cursor: pointer;
}

.phase-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.phase-card.completed {
  border-color: var(--success-green);
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    var(--text-white)
  );
}

.phase-card.active {
  border-color: var(--university-blue);
  background: linear-gradient(
    135deg,
    rgba(30, 58, 138, 0.1),
    var(--text-white)
  );
}

.phase-card.upcoming {
  border-color: var(--border-gray);
  opacity: 0.8;
}

.phase-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.phase-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--university-blue);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.phase-card.completed .phase-number {
  background: var(--success-green);
}

.phase-card.upcoming .phase-number {
  background: var(--text-light);
}

.phase-info {
  flex: 1;
}

.phase-name {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.phase-weeks {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.phase-progress {
  text-align: center;
}

.progress-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--light-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: var(--university-blue);
}

.phase-description {
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.milestones-preview h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.milestones-preview ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.milestone-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-gray);
}

.milestone-item:last-child {
  border-bottom: none;
}

.milestone-week {
  background: var(--light-blue);
  color: var(--university-blue);
  padding: 2px 6px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  min-width: 60px;
  text-align: center;
}

.milestone-item.completed .milestone-week {
  background: var(--success-green);
  color: var(--text-white);
}

.milestone-title {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.milestone-owner {
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.milestone-more {
  color: var(--text-light);
  font-style: italic;
  font-size: 0.9rem;
  padding: 0.5rem 0;
  text-align: center;
}

.roadmap-legend {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background: var(--soft-gray);
  border-radius: 8px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.legend-dot.completed {
  background: var(--success-green);
}

.legend-dot.active {
  background: var(--university-blue);
}

.legend-dot.upcoming {
  background: var(--text-light);
}

/* Footer */
.academic-footer {
  background: linear-gradient(
    135deg,
    var(--deep-navy) 0%,
    var(--university-blue) 100%
  );
  color: var(--text-white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--academic-gold);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section p {
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.project-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-link {
  color: var(--text-white);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--academic-gold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--academic-gold);
}

.contact-info p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.contact-info i {
  color: var(--academic-gold);
  width: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  text-align: center;
  color: var(--text-light);
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Error States */
.error-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}

.error-state i {
  font-size: 2rem;
  color: var(--error-red);
  margin-bottom: 1rem;
}

.error-state p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: var(--university-blue);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .project-title {
    font-size: 2rem;
  }

  .dashboard-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-highlights {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .doc-actions {
    flex-direction: column;
  }

  .phases-container {
    grid-template-columns: 1fr;
  }

  .reports-grid {
    grid-template-columns: 1fr;
  }

  .timeline-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .timeline-meta {
    width: 100%;
    text-align: left;
  }

  .acceleration-highlight {
    text-align: center;
    justify-content: center;
  }

  .marker-label {
    font-size: 0.6rem;
  }

  .member-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .member-contact {
    flex-direction: column;
    gap: 1rem;
  }

  .report-metrics {
    grid-template-columns: 1fr;
  }

  .reports-overview {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .project-meta {
    flex-direction: column;
    gap: 0.5rem;
  }

  .docs-grid {
    grid-template-columns: 1fr;
  }

  .project-highlights {
    grid-template-columns: 1fr;
  }

  .highlight-item {
    justify-content: center;
  }

  .achievement-badge {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .roadmap-legend {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Add these styles to your styles.css file for the reports toggle functionality */

.reports-section {
  margin-bottom: 2rem;
}

.section-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-gray);
}

.section-title h4 {
  color: var(--text-primary);
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.toggle-older-reports {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  padding: 8px 16px;
  transition: all 0.3s ease;
}

.toggle-older-reports:hover {
  background-color: var(--light-blue);
  color: var(--university-blue);
}

.toggle-older-reports i {
  transition: transform 0.3s ease;
}

.recent-reports {
  margin-bottom: 1rem;
}

.older-reports-section {
  border-top: 1px solid var(--border-gray);
  padding-top: 2rem;
}

.older-reports {
  opacity: 0.95;
}

.older-reports .report-card {
  position: relative;
}

.older-reports .report-card::before {
  background: linear-gradient(
    90deg,
    var(--text-light),
    var(--border-gray)
  ) !important;
}

/* Animation for toggle */
.older-reports {
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 0.95;
    transform: translateY(0);
  }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .toggle-older-reports {
    align-self: stretch;
    justify-content: center;
  }
}

/* Add these styles to your styles.css file for the report detail modal */

.report-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}

.report-modal-content {
  background: var(--text-white);
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
  max-width: 700px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease-out;
}

.report-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 2px solid var(--border-gray);
  background: var(--soft-gray);
}

.report-modal-header h3 {
  margin: 0;
  color: var(--university-blue);
  font-size: 1.3rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--border-gray);
  color: var(--text-primary);
}

.report-modal-body {
  padding: 2rem;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
}

.report-detail-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-gray);
}

.report-detail-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.report-detail-section strong {
  display: block;
  color: var(--university-blue);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.work-list {
  margin: 0.5rem 0 0 1rem;
  padding: 0;
}

.work-list li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.work-planned,
.work-completed,
.issues {
  margin: 0.5rem 0 0 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: justify;
}

.coordination-details {
  margin: 0.5rem 0 0 0;
}

.coordination-details p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.detail-label {
  color: var(--text-primary);
  font-weight: 500;
  display: inline-block;
  min-width: 120px;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile responsiveness */
@media screen and (max-width: 768px) {
  .report-modal-overlay {
    padding: 0.5rem;
  }

  .report-modal-content {
    max-height: 95vh;
    border-radius: 6px;
  }

  .report-modal-header {
    padding: 1rem 1.5rem;
  }

  .report-modal-header h3 {
    font-size: 1.1rem;
  }

  .report-modal-body {
    padding: 1.5rem;
  }

  .detail-label {
    min-width: 100px;
    font-size: 0.85rem;
  }

  .coordination-details p {
    font-size: 0.85rem;
  }
}

@media screen and (max-width: 480px) {
  .report-modal-header {
    padding: 1rem;
  }

  .report-modal-body {
    padding: 1rem;
  }

  .report-detail-section {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }

  .coordination-details p {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
  }

  .detail-label {
    min-width: auto;
    font-weight: 600;
  }
}

