/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #374151;
  background-color: #f9fafb;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 4rem;
  gap: 1rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  text-decoration: none;
  color: #6b7280;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: #3b82f6;
  background-color: #f3f4f6;
}

.nav-link.active {
  background-color: #3b82f6;
  color: white;
}

/* Main Layout */
.main-layout {
  display: flex;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1920 1080"><rect width="1920" height="1080" fill="%23f0f9ff"/></svg>');
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
}

.hero-typography {
  position: absolute;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 900;
  color: rgba(59, 130, 246, 0.2);
  line-height: 1;
  user-select: none;
  z-index: 10;
}

.decorative-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.circle-1 {
  top: 5rem;
  right: 5rem;
  width: 8rem;
  height: 8rem;
  background-color: #fbbf24;
}

.circle-2 {
  bottom: 10rem;
  left: 5rem;
  width: 5rem;
  height: 5rem;
  background-color: #60a5fa;
}

.circle-3 {
  top: 10rem;
  left: 33%;
  width: 4rem;
  height: 4rem;
  background-color: #f87171;
}

.hero-card-container {
  position: relative;
  z-index: 20;
  max-width: 32rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
}

.achievement-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #dcfce7;
  color: #166534;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-card h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-card p {
  font-size: 1.125rem;
  color: #6b7280;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.floating-element {
  position: absolute;
  bottom: 5rem;
  right: 5rem;
  z-index: 10;
}

.floating-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  padding: 1rem;
  transform: rotate(12deg);
  text-align: center;
}

.floating-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #059669;
}

.floating-text {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background-color: #2563eb;
  color: white;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

.btn-outline {
  border-color: #d1d5db;
  color: #374151;
  background-color: white;
}

.btn-outline:hover {
  background-color: #f9fafb;
}

.btn-success {
  background-color: #059669;
  color: white;
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Page Headers */
.page-header {
  padding: 6rem 1rem 3rem;
  background: linear-gradient(135deg, #dbeafe 0%, #f3e8ff 100%);
}

.about-header {
  background: linear-gradient(135deg, #dbeafe 0%, #f3e8ff 100%);
}

.assignments-header {
  background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 100%);
}

.final-project-header {
  background: linear-gradient(135deg, #fef3c7 0%, #f3e8ff 100%);
}

.agreement-header {
  background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 100%);
}

.assignment-header {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #6b7280;
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: #374151;
}

.header-content {
  text-align: center;
}

.profile-avatar {
  width: 8rem;
  height: 8rem;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.avatar-text {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
}

.header-icon,
.project-icon,
.agreement-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #059669, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.header-icon i,
.project-icon i,
.agreement-icon i {
  font-size: 2.5rem;
  color: white;
}

.page-header h1 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.page-header p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 32rem;
  margin: 0 auto;
}

/* Assignment Header Specific */
.assignment-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.assignment-info h1 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.week-badge {
  background-color: #059669;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: inline-block;
}

.completion-icon {
  width: 5rem;
  height: 5rem;
  background-color: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.completion-icon i {
  font-size: 2.5rem;
  color: white;
}

.assignment-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  background-color: #e5e7eb;
  color: #374151;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* Progress Stats */
.progress-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.progress-stat {
  text-align: center;
}

.progress-stat .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #059669;
}

.progress-stat .stat-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.progress-container {
  max-width: 24rem;
  margin: 0 auto;
}

.progress-bar {
  background-color: #e5e7eb;
  border-radius: 9999px;
  height: 1rem;
  overflow: hidden;
}

.progress-fill {
  background: linear-gradient(90deg, #059669, #3b82f6);
  height: 100%;
  width: 100%;
  transition: width 0.5s ease;
}

.progress-text {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 600;
  margin-top: 0.5rem;
  text-align: center;
}

/* Achievement Section */
.achievement-section {
  padding: 5rem 1rem;
  background: linear-gradient(135deg, #ecfdf5 0%, #dbeafe 100%);
}

.achievement-content {
  text-align: center;
  margin-bottom: 3rem;
}

.achievement-icon {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(135deg, #059669, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.achievement-icon i {
  font-size: 2.5rem;
  color: white;
}

.achievement-section h2 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.achievement-section p {
  font-size: 1.25rem;
  color: #6b7280;
  max-width: 32rem;
  margin: 0 auto;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-card:nth-child(1) .stat-number {
  color: #059669;
}
.stat-card:nth-child(2) .stat-number {
  color: #3b82f6;
}
.stat-card:nth-child(3) .stat-number {
  color: #8b5cf6;
}
.stat-card:nth-child(4) .stat-number {
  color: #f59e0b;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
}

.achievement-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Content Sections */
.content-section {
  padding: 4rem 1rem;
}

.content-section.bg-light {
  background-color: #f9fafb;
}

.content-section.bg-gradient {
  background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: #6b7280;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.6;
}

/* Cards */
.content-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 48rem;
  margin: 0 auto;
}

.gradient-card {
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.card-header i {
  font-size: 1.5rem;
  color: #ef4444;
}

.card-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
}

.card-content {
  color: #374151;
  line-height: 1.6;
}

.card-content p {
  margin-bottom: 1rem;
}

.card-content p:last-child {
  margin-bottom: 0;
}

.highlight-text {
  font-weight: 600;
  color: #1d4ed8;
  font-size: 1.125rem;
}

/* Skills Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.skill-header i {
  color: #3b82f6;
}

.skill-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.skill-list {
  list-style: none;
  padding: 0;
}

.skill-list li {
  color: #374151;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.skill-list li:before {
  content: "•";
  color: #3b82f6;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

/* Contact Section */
.contact-card {
  background: linear-gradient(135deg, #f9fafb, #f3f4f6);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.contact-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 2rem;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* Overview Section */
.overview-section {
  padding: 5rem 1rem;
  background: white;
  position: relative;
  overflow: hidden;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.overview-card {
  padding: 2rem;
  text-align: center;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.overview-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.card-blue {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}

.card-green {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.card-purple {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: transform 0.3s ease;
}

.overview-card:hover .card-icon {
  transform: scale(1.1);
}

.card-blue .card-icon {
  background-color: #3b82f6;
}

.card-green .card-icon {
  background-color: #059669;
}

.card-purple .card-icon {
  background-color: #8b5cf6;
}

.card-icon i {
  font-size: 2rem;
  color: white;
}

.overview-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.overview-card p {
  color: #6b7280;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.card-arrow {
  transition: transform 0.3s ease;
}

.overview-card:hover .card-arrow {
  transform: translateX(0.5rem);
}

.card-blue .card-arrow {
  color: #3b82f6;
}
.card-green .card-arrow {
  color: #059669;
}
.card-purple .card-arrow {
  color: #8b5cf6;
}

/* Sitemap Section */
.sitemap-section {
  padding: 5rem 1rem;
  background-color: #f9fafb;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.sitemap-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.card-header i {
  color: #3b82f6;
}

.card-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
}

.nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s ease;
}

.nav-item:hover {
  background-color: #f9fafb;
}

.nav-item-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-item-content i {
  color: #6b7280;
}

.nav-item-content span {
  font-weight: 500;
}

.nav-item > i {
  color: #9ca3af;
}

.stats-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
}

.stat-green {
  background-color: #ecfdf5;
}
.stat-blue {
  background-color: #eff6ff;
}
.stat-purple {
  background-color: #f5f3ff;
}
.stat-orange {
  background-color: #fff7ed;
}

.stat-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.stat-value {
  font-size: 1.125rem;
  font-weight: 700;
}

.stat-green .stat-value {
  color: #059669;
}
.stat-blue .stat-value {
  color: #3b82f6;
}
.stat-purple .stat-value {
  color: #8b5cf6;
}
.stat-orange .stat-value {
  color: #f59e0b;
}

/* Assignment Specific Styles */
.completion-section {
  padding: 3rem 1rem;
  background: white;
}

.completion-card {
  background: linear-gradient(135deg, #ecfdf5, #dbeafe);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.completion-icon {
  width: 4rem;
  height: 4rem;
  background-color: #059669;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.completion-icon i {
  font-size: 2rem;
  color: white;
}

.completion-card h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.completion-card p {
  color: #374151;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.completion-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.filters-section {
  padding: 2rem 1rem;
  background: white;
  border-bottom: 1px solid #e5e7eb;
}

.filters-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.filter-buttons {
  display: flex;
  gap: 1rem;
}

.search-container {
  position: relative;
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9ca3af;
}

.search-input {
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  outline: none;
  transition: border-color 0.3s ease;
}

.search-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.assignments-section {
  padding: 4rem 1rem;
}

.assignments-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  text-align: center;
  margin-bottom: 2rem;
}

.assignments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.assignment-card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.assignment-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.assignment-status {
  height: 0.5rem;
  background-color: #059669;
}

.assignment-header {
  padding: 1.5rem 1.5rem 1rem;
}

.assignment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.assignment-badge {
  background-color: #059669;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
}

.assignment-check {
  color: #059669;
  font-size: 1.25rem;
}

.assignment-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  transition: color 0.3s ease;
}

.assignment-card:hover .assignment-title {
  color: #3b82f6;
}

.assignment-content {
  padding: 0 1.5rem 1.5rem;
}

.assignment-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.assignment-date {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-bottom: 1rem;
}

.assignment-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background-color: #3b82f6;
  color: white;
  border: none;
  border-radius: 0.375rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.assignment-button:hover {
  background-color: #2563eb;
}

.skills-section {
  padding: 4rem 1rem;
  background: white;
}

.skill-blue {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
}
.skill-green {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}
.skill-purple {
  background: linear-gradient(135deg, #f3e8ff, #e9d5ff);
}
.skill-orange {
  background: linear-gradient(135deg, #fed7aa, #fdba74);
}

.skill-card h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.skill-card p {
  color: #6b7280;
  font-size: 0.875rem;
}

/* Final Project Specific Styles */
.status-card {
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.status-icon {
  width: 4rem;
  height: 4rem;
  background-color: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.status-icon i {
  font-size: 2rem;
  color: white;
}

.status-badge {
  background-color: #e5e7eb;
  color: #374151;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.status-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.status-card p {
  color: #374151;
  line-height: 1.6;
}

.planning-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.planning-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.planning-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.planning-card:nth-child(1) .planning-icon {
  background-color: #3b82f6;
}
.planning-card:nth-child(2) .planning-icon {
  background-color: #8b5cf6;
}
.planning-card:nth-child(3) .planning-icon {
  background-color: #059669;
}

.planning-icon i {
  font-size: 1.5rem;
  color: white;
}

.planning-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.planning-list {
  list-style: none;
  padding: 0;
}

.planning-list li {
  color: #6b7280;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.planning-list li:before {
  content: "•";
  color: #3b82f6;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.integration-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.integration-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-left: 4px solid;
}

.integration-card:nth-child(1) {
  border-left-color: #3b82f6;
}
.integration-card:nth-child(2) {
  border-left-color: #8b5cf6;
}
.integration-card:nth-child(3) {
  border-left-color: #059669;
}
.integration-card:nth-child(4) {
  border-left-color: #f59e0b;
}

.integration-icon {
  margin-bottom: 1rem;
}

.integration-icon i {
  font-size: 1.25rem;
}

.integration-card:nth-child(1) .integration-icon i {
  color: #3b82f6;
}
.integration-card:nth-child(2) .integration-icon i {
  color: #8b5cf6;
}
.integration-card:nth-child(3) .integration-icon i {
  color: #059669;
}
.integration-card:nth-child(4) .integration-icon i {
  color: #f59e0b;
}

.integration-card h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.integration-card p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.resource-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.resource-header i {
  color: #3b82f6;
}

.resource-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.resource-list {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.resource-list li {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

.resource-list li:before {
  content: "•";
  color: #3b82f6;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}

.cta-content {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1.5rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Student Agreement Specific Styles */
.intro-card {
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}

.intro-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.intro-card p {
  color: #374151;
  line-height: 1.6;
}

.agreement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
}

.agreement-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.agreement-header {
  margin-bottom: 1.5rem;
}

.agreement-header i {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.agreement-card:nth-child(1) .agreement-header i {
  color: #3b82f6;
}
.agreement-card:nth-child(2) .agreement-header i {
  color: #8b5cf6;
}

.agreement-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.5rem;
}

.agreement-header p {
  color: #6b7280;
}

.responsibility-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.responsibility-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.responsibility-item i {
  color: #059669;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.responsibility-item span {
  color: #374151;
  font-size: 0.875rem;
  line-height: 1.5;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.principle-card {
  background: white;
  padding: 2rem;
  text-align: center;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.principle-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.principle-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.principle-card:nth-child(1) .principle-icon {
  background-color: #3b82f6;
}
.principle-card:nth-child(2) .principle-icon {
  background-color: #059669;
}
.principle-card:nth-child(3) .principle-icon {
  background-color: #8b5cf6;
}

.principle-icon i {
  font-size: 2rem;
  color: white;
}

.principle-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.principle-card p {
  color: #6b7280;
  line-height: 1.6;
}

/* Assignment Detail Specific Styles */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.objective-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.objective-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.objective-card:nth-child(1) .objective-icon {
  background-color: #3b82f6;
}
.objective-card:nth-child(2) .objective-icon {
  background-color: #059669;
}
.objective-card:nth-child(3) .objective-icon {
  background-color: #8b5cf6;
}

.objective-icon i {
  font-size: 1.5rem;
  color: white;
}

.objective-card h3 {
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.75rem;
}

.objective-card p {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.5;
}

.process-sections {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.process-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.process-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.process-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #374151;
}

.process-list li i {
  color: #059669;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.result-card {
  background: white;
  padding: 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.result-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.result-header i {
  color: #6b7280;
}

.result-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
}

.result-card p {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.reflection-card {
  background: linear-gradient(135deg, #dbeafe, #e0e7ff);
  padding: 3rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  max-width: 48rem;
  margin: 0 auto;
}

.reflection-card .card-header i {
  color: #fbbf24;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.resource-section h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 1rem;
}

.resource-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.resource-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: white;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #374151;
  transition: background-color 0.3s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
}

.resource-link:hover {
  background-color: #f9fafb;
}

.resource-link i {
  color: #6b7280;
}

.assignment-navigation {
  padding: 2rem 1rem;
  background-color: #f9fafb;
}

.nav-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Table of Contents Sidebar */
.toc-sidebar {
  width: 20rem;
  padding: 1.5rem;
  display: none;
}

.toc-container {
  position: sticky;
  top: 6rem;
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #e5e7eb;
}

.toc-header i {
  color: #3b82f6;
  margin-right: 0.5rem;
}

.toc-header span {
  font-weight: 600;
  color: #111827;
}

.toc-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: #6b7280;
}

.toc-nav {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.toc-link {
  display: block;
  padding: 0.75rem;
  border-radius: 0.375rem;
  text-decoration: none;
  color: #6b7280;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.toc-link:hover {
  color: #111827;
  background-color: #f9fafb;
}

.toc-link.active {
  background-color: #dbeafe;
  color: #1d4ed8;
  font-weight: 500;
}

.toc-sub {
  margin-left: 1rem;
  font-size: 0.8125rem;
}

/* Responsive Design */
@media (min-width: 1280px) {
  .toc-sidebar {
    display: block;
  }
}

@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .hero-typography {
    font-size: 6rem;
    left: 1rem;
  }

  .decorative-circle {
    display: none;
  }

  .floating-element {
    display: none;
  }

  .hero-card {
    padding: 2rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .sitemap-grid {
    grid-template-columns: 1fr;
  }

  .achievement-buttons {
    flex-direction: column;
  }

  .progress-stats {
    gap: 1rem;
  }

  .filters-container {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-buttons {
    justify-content: center;
  }

  .completion-buttons {
    flex-direction: column;
  }

  .assignments-grid {
    grid-template-columns: 1fr;
  }

  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .assignment-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .completion-icon {
    align-self: center;
  }

  .planning-grid {
    grid-template-columns: 1fr;
  }

  .integration-grid {
    grid-template-columns: 1fr;
  }

  .resources-grid {
    grid-template-columns: 1fr;
  }

  .agreement-grid {
    grid-template-columns: 1fr;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .objectives-grid {
    grid-template-columns: 1fr;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }

  .nav-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .cta-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .nav-links {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0 1rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .progress-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .assignment-tags {
    justify-content: center;
  }
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-card,
.achievement-content,
.overview-card,
.sitemap-card,
.content-card,
.skill-card,
.assignment-card {
  animation: fadeIn 0.6s ease-out;
}
.bio{
  border-radius: 60%;
}
.image-wrap {
  float: left;
  margin: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #fff;
}

th, td {
  padding: 12px 15px;
  border: 1px solid #ccc;
  text-align: left;
}

th {
  background-color: #c5f8f2;
  color: #fff;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

tr:hover {
  background-color: #e0f7fa;
}

.image-wrap {
  overflow: auto;
}

.image-wrap img {
  float: left;
  margin-right: 20px;
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 20%; 
}

.image-wrap h2 {
  margin-top: 0;
}