:root {
  --bg-dark: #0a0e14;
  --accent: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --gradient-1: linear-gradient(135deg, #3b82f6 0%, #2dd4bf 100%);
  --font-main: "Inter", sans-serif;
  --font-heading: "Outfit", sans-serif;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Background Effects */
.bg-gradient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% -20%, #1e293b 0%, #0a0e14 100%);
  z-index: -2;
}

.glass-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(80px);
  background: radial-gradient(
    circle at 80% 80%,
    rgba(59, 130, 246, 0.05),
    transparent 40%
  );
  z-index: -1;
}

/* Header */
header {
  padding: 2rem 0;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  z-index: 100;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.badge {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 6rem 0;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 2rem;
  line-height: 1.1;
  animation: fadeInDown 0.8s ease-out;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  animation: fadeIn 1.2s ease-out forwards;
  opacity: 0;
}

/* Timeline */
.timeline-container {
  position: relative;
  padding: 4rem 0;
  margin-bottom: 8rem;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--glass-border) 10%,
    var(--glass-border) 90%,
    transparent
  );
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 6rem;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 15px var(--accent-glow);
  z-index: 5;
}

.timeline-content {
  width: 45%;
  padding: 2rem;
  position: relative;
}

.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 1.5rem;
  backdrop-filter: blur(12px);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.semester-label {
  display: inline-block;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.timeline-content h2 {
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.timeline-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

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

.activity-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.75rem;
  transition: background 0.2s ease;
  font-size: 0.9rem;
}

.activity-link:hover {
  background: rgba(59, 130, 246, 0.15);
}

.activity-link i {
  width: 16px;
  height: 16px;
}

.future {
  filter: grayscale(1);
  opacity: 0.4;
}

/* Footer */
footer {
  padding: 4rem 0;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.social-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--accent);
}

/* Animations */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .timeline-line {
    left: 20px;
  }
  .timeline-dot {
    left: 20px;
  }
  .timeline-item {
    flex-direction: row !important;
    margin-bottom: 3rem;
  }
  .timeline-content {
    width: calc(100% - 60px);
    margin-left: 50px;
    padding: 1.5rem;
  }
  footer {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
}
