/* Design System */
:root {
  /* Colors */
  --background: hsl(240, 10%, 3.9%);
  --foreground: hsl(0, 0%, 98%);
  --primary: hsl(210, 70%, 58%);
  --primary-foreground: hsl(0, 0%, 98%);
  --muted: hsl(240, 4.8%, 15.9%);
  --muted-foreground: hsl(240, 5%, 64.9%);
  --border: hsl(240, 3.7%, 15.9%);
  
  /* Aliases */
  --text-primary: hsl(0, 0%, 98%);
  --card-bg: hsl(240, 10%, 8%);
  --bg-primary: hsl(240, 10%, 3.9%);
  --bg-secondary: hsl(240, 10%, 5%);
  --accent: hsl(210, 70%, 58%);
  
  /* Gradients */
  --hero-gradient: linear-gradient(135deg, hsl(210, 70%, 58%), hsl(220, 70%, 62%));
  --card-gradient: linear-gradient(135deg, hsl(240, 10%, 8%), hsl(240, 15%, 12%));
  --text-gradient: linear-gradient(135deg, hsl(210, 70%, 72%), hsl(220, 70%, 80%));
  --gradient-primary: linear-gradient(135deg, hsl(210, 70%, 58%), hsl(220, 70%, 62%));
  
  /* Effects */
  --glow: 0 0 40px hsl(210, 70%, 58%, 0.3);
  --shadow-elegant: 0 10px 30px -10px hsl(210, 70%, 58%, 0.3);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Border radius */
  --radius: 0.75rem;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  height: 40px;
}

.logo-image {
  height: 40px;
  width: auto;
  transition: var(--transition-smooth);
}

.logo-image:hover {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--foreground);
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.75rem;
  font-weight: 400;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  width: 24px;
  height: 2px;
  background-color: var(--foreground);
  transition: var(--transition-smooth);
  border-radius: 2px;
}

.hamburger-btn:hover .hamburger-line {
  background-color: var(--primary);
}

.nav-link {
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

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

.hero-background {
  position: absolute;
  inset: 0;
  background: var(--hero-gradient);
  opacity: 0.1;
}

.hero-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(74, 144, 226, 0.1) 0%, transparent 70%);
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 64rem;
}

.hero-identity {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
  animation: slideInUp 1s ease-out;
}

.hero-text {
  padding-bottom: 6rem;
}

.hero-profile-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
}

.hero-profile-glow {
  position: absolute;
  inset: -20px;
  background: var(--hero-gradient);
  border-radius: 50%;
  filter: blur(30px);
  opacity: 0.5;
  animation: pulse 3s ease-in-out infinite;
}

.hero-profile-photo {
  position: relative;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary);
  box-shadow: 0 10px 40px rgba(74, 144, 226, 0.4);
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-logo {
  height: 48px;
  width: auto;
}

.hero-name {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin: 0;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  animation: slideInUp 1s ease-out;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  animation: slideInUp 1s ease-out 0.2s both;
}

.hero-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  animation: slideInUp 1s ease-out 0.4s both;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  text-decoration: none;
  transition: var(--transition-smooth);
  background: rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  animation: slideInUp 1s ease-out 0.6s both;
}

.hero-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--glow);
  transform: translateY(-2px);
}

.hero-btn svg {
  transition: transform 0.3s ease;
}

.hero-btn:hover svg {
  transform: translateY(2px);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid var(--primary);
  border-radius: 12px;
  display: flex;
  justify-content: center;
}

.scroll-dot {
  width: 4px;
  height: 12px;
  background: var(--primary);
  border-radius: 2px;
  margin-top: 8px;
  animation: bounce 2s infinite;
}

/* About Section */
.about-section {
  padding: 5rem 1.5rem;
}

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

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  padding: 2rem;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.card:hover {
  box-shadow: var(--shadow-elegant);
  border-color: rgba(74, 144, 226, 0.3);
}

.about-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.skills-section {
  padding-top: 1rem;
}

.skills-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(74, 144, 226, 0.1);
  color: var(--primary);
  font-size: 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(74, 144, 226, 0.2);
}

.about-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.profile-glow {
  position: absolute;
  inset: 0;
  background: rgba(74, 144, 226, 0.2);
  border-radius: 50%;
  filter: blur(48px);
}

.profile-photo {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(74, 144, 226, 0.2);
  position: relative;
  z-index: 1;
  transition: var(--transition-smooth);
}

.profile-photo:hover {
  box-shadow: var(--glow);
  transform: scale(1.05);
}

/* Journey Section */
.journey-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, var(--background) 0%, rgba(74, 144, 226, 0.02) 50%, var(--background) 100%);
}

/* Extranet Logo Card */
.extranet-card {
  max-width: 500px;
  margin: 1rem auto;
  background: var(--card-gradient);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 32px rgba(74, 144, 226, 0.15);
  transition: var(--transition-smooth);
}

.extranet-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(74, 144, 226, 0.25);
  border-color: rgba(74, 144, 226, 0.4);
}

.extranet-logo {
  border-radius: 25px;
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .extranet-card {
    margin: 1rem auto;
  }
  
  .extranet-logo {
    max-width: 100%;
  }
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), rgba(74, 144, 226, 0.3));
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 2rem;
  width: 16px;
  height: 16px;
  background: var(--muted);
  border: 3px solid var(--primary);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: var(--transition-smooth);
}

.timeline-dot.active {
  width: 24px;
  height: 24px;
  background: var(--primary);
  box-shadow: 0 0 20px var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.timeline-content {
  width: calc(50% - 3rem);
  padding: 0 2rem;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

.timeline-card {
  background: var(--card-gradient);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.timeline-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-elegant);
  transform: translateY(-4px);
}

.timeline-card.active {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));
}

.timeline-header {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.timeline-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: var(--radius);
  color: var(--primary);
  flex-shrink: 0;
}

.timeline-info {
  flex: 1;
}

.timeline-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
}

.timeline-period {
  display: block;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  margin-bottom: 0.25rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.timeline-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(74, 144, 226, 0.1);
  color: var(--primary);
  font-size: 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(74, 144, 226, 0.2);
}

.timeline-badge.current {
  background: var(--primary);
  color: var(--background);
  border-color: var(--primary);
  animation: pulse 2s ease-in-out infinite;
}

.timeline-description {
  color: var(--muted-foreground);
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

.timeline-list li {
  color: var(--muted-foreground);
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
  line-height: 1.6;
}

.timeline-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}

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

.timeline-tag {
  padding: 0.25rem 0.75rem;
  background: rgba(74, 144, 226, 0.05);
  color: var(--primary);
  font-size: 0.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(74, 144, 226, 0.2);
}

.journey-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 4rem auto 0;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--card-gradient);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-elegant);
  transform: translateY(-4px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

/* Extranet Drawer */
.extranet-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease-in-out;
}

.extranet-drawer.active {
  visibility: visible;
  opacity: 1;
}

.drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.drawer-content {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(135deg, hsl(240, 15%, 12%), hsl(240, 10%, 8%));
  border-left: 1px solid rgba(74, 144, 226, 0.3);
  box-shadow: -10px 0 50px rgba(74, 144, 226, 0.2);
  padding: 2rem;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  overflow-y: auto;
}

.extranet-drawer.active .drawer-content {
  transform: translateX(0);
}

.drawer-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-close:hover {
  background: rgba(74, 144, 226, 0.1);
  color: var(--primary);
}

.drawer-header {
  margin-top: 2rem;
  margin-bottom: 3rem;
  text-align: center;
}

.drawer-title {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 0.5rem;
}

.drawer-subtitle {
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

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

.drawer-btn {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--card-gradient);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.drawer-btn:hover {
  transform: translateX(5px);
  border-color: rgba(74, 144, 226, 0.5);
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(74, 144, 226, 0.05));
}

.drawer-btn svg {
  flex-shrink: 0;
}

.drawer-btn.website svg {
  color: var(--primary);
}

.drawer-btn.playstore svg {
  color: #34A853;
}

.drawer-btn.appstore svg {
  color: #007AFF;
}

@media (max-width: 768px) {
  .drawer-content {
    max-width: 90%;
  }
}

/* Education Section */
.education-section {
  padding: 5rem 1.5rem;
  background: linear-gradient(180deg, var(--background) 0%, rgba(74, 144, 226, 0.03) 50%, var(--background) 100%);
}

.diploma-container {
  max-width: 900px;
  margin: 0 auto;
}

.diploma-card {
  background: var(--card-gradient);
  border: 2px solid rgba(74, 144, 226, 0.3);
  border-radius: 1rem;
  padding: 2.5rem;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 40px rgba(74, 144, 226, 0.2);
}

.diploma-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(74, 144, 226, 0.35);
  border-color: rgba(74, 144, 226, 0.5);
}

.diploma-header {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.diploma-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(74, 144, 226, 0.1));
  border: 2px solid rgba(74, 144, 226, 0.4);
  border-radius: var(--radius);
  color: var(--primary);
  flex-shrink: 0;
}

.diploma-info {
  flex: 1;
}

.diploma-title {
  font-size: 1.75rem;
  font-weight: 700;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.diploma-institution {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.125rem;
  color: var(--foreground);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.institution-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0.25rem;
  border-radius: 0.375rem;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.3);
}

.institution-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.diploma-level {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
}

.diploma-description {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(74, 144, 226, 0.05);
  border-left: 3px solid var(--primary);
  border-radius: 0.5rem;
}

.diploma-description p {
  color: var(--muted-foreground);
  line-height: 1.7;
  margin: 0;
}

.diploma-competencies {
  margin-bottom: 2rem;
}

.competencies-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 1rem;
}

.competencies-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.competency-tag {
  padding: 0.5rem 1rem;
  background: rgba(74, 144, 226, 0.08);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  border: 1px solid rgba(74, 144, 226, 0.25);
  transition: var(--transition-smooth);
}

.competency-tag:hover {
  background: rgba(74, 144, 226, 0.15);
  border-color: rgba(74, 144, 226, 0.5);
  transform: translateY(-2px);
}

.diploma-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--hero-gradient);
  color: var(--primary-foreground);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.4);
}

.diploma-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.6);
}

.diploma-btn svg {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .diploma-card {
    padding: 1.5rem;
  }

  .diploma-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .diploma-icon {
    width: 64px;
    height: 64px;
  }

  .diploma-title {
    font-size: 1.5rem;
  }

  .diploma-institution {
    justify-content: center;
  }

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

  .diploma-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Certificates Section */
.certificates-section {
  padding: 5rem 1.5rem;
  background: rgba(255, 255, 255, 0.02);
}

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

.certificate-card {
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition-smooth);
  animation: slideInUp 0.6s ease-out;
}

.certificate-card:hover {
  box-shadow: var(--shadow-elegant);
  border-color: rgba(74, 144, 226, 0.3);
  transform: translateY(-4px);
}

.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.cert-icon {
  padding: 0.5rem;
  background: rgba(74, 144, 226, 0.1);
  border-radius: var(--radius);
  color: var(--primary);
}

.cert-date {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.cert-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  transition: var(--transition-smooth);
}

.certificate-card:hover .cert-title {
  color: var(--primary);
}

.cert-issuer {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 4px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  overflow: hidden;
}

.cert-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-badge.udemy {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(164, 53, 240, 0.3);
}

.cert-badge.fiap {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(233, 30, 99, 0.3);
}

.cert-badge.pythonando {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(55, 118, 171, 0.3);
}

.cert-badge.dio {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

.cert-badge.estacio {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 51, 102, 0.3);
}

.cert-badge.avanade {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(255, 103, 0, 0.3);
}

.certificate-card:hover .cert-badge {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.cert-description {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.cert-credential {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-family: 'Courier New', monospace;
  padding: 0.5rem;
  background: rgba(74, 144, 226, 0.05);
  border-radius: 0.375rem;
  border: 1px solid rgba(74, 144, 226, 0.1);
  margin-bottom: 1rem;
  word-break: break-all;
}

.cert-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cert-btn:hover {
  background: var(--primary);
  color: var(--primary-foreground);
  border-color: var(--primary);
}

.certificates-note {
  text-align: center;
  margin-top: 3rem;
}

.note-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--card-gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.note-card svg {
  color: var(--primary);
}

/* Footer Section */
.footer-section {
  padding: 3rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.footer-subtitle {
  color: var(--muted-foreground);
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.heart-icon {
  color: var(--primary);
}

/* Utility Classes */
.gradient-text {
  background: var(--text-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.text-white {
  color: var(--foreground);
}

/* Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 53%, 80%, 100% {
    transform: translateY(0);
  }
  40%, 43% {
    transform: translateY(-15px);
  }
  70% {
    transform: translateY(-7px);
  }
  90% {
    transform: translateY(-3px);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.05);
  }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  pointer-events: none;
}

.mobile-drawer.active {
  display: block;
  pointer-events: all;
}

.mobile-drawer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-drawer.active .mobile-drawer-overlay {
  opacity: 1;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85%;
  background: var(--background);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-drawer.active .mobile-drawer-content {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.close-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--foreground);
  cursor: pointer;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.close-btn:hover {
  background: var(--muted);
  color: var(--primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  padding: 1rem;
  gap: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--muted-foreground);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  border-radius: 8px;
  transition: var(--transition-smooth);
}

.mobile-nav-link:hover {
  background: var(--muted);
  color: var(--primary);
}

.mobile-nav-link.active {
  background: var(--muted);
  color: var(--primary);
}

.mobile-nav-link svg {
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .hamburger-btn {
    display: flex;
  }
  
  .logo-text {
    font-size: 1rem;
  }
  
  .logo-image {
    height: 32px;
  }
  
  .hero-profile-wrapper {
    width: 160px;
    height: 160px;
  }
  
  .hero-profile-photo {
    width: 160px;
    height: 160px;
  }
  
  .hero-logo {
    height: 40px;
  }
  
  .hero-name {
    font-size: 1.5rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-btn {
    margin-bottom: 3rem;
  }
  
  .section-title {
    font-size: 2.5rem;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  /* Timeline adjustments for small screens */
  .timeline::before {
    left: 20px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-content {
    width: 100%;
    padding: 0 0 0 3rem;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
  }
  
  .timeline-card {
    padding: 1.5rem;
  }
  
  .timeline-header {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .timeline-title {
    font-size: 1.1rem;
  }
  
  .timeline-period {
    font-size: 0.8rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .timeline-card {
    padding: 1rem;
  }
  
  .timeline-title {
    font-size: 1rem;
    line-height: 1.4;
  }
  
  .timeline-period {
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .timeline-icon {
    width: 40px;
    height: 40px;
  }
  
  .timeline-description {
    font-size: 0.875rem;
  }
  
  .timeline-list li {
    font-size: 0.875rem;
    padding-left: 1.25rem;
  }
  
  .timeline-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.6rem;
  }
}

/* Portfolio Section */
.portfolio-section {
  padding: 8rem 0;
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 8px;
  color: var(--muted-foreground);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  background: rgba(74, 144, 226, 0.1);
  border-color: rgba(74, 144, 226, 0.4);
  color: var(--text-primary);
}

.filter-btn.active {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: white;
}

.portfolio-loading,
.portfolio-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid rgba(74, 144, 226, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.portfolio-loading p,
.portfolio-error p {
  color: var(--muted-foreground);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.portfolio-error svg {
  color: var(--accent);
  margin-bottom: 1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.repo-card {
  background: var(--card-bg);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.repo-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.repo-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(74, 144, 226, 0.15);
}

.repo-card:hover::before {
  transform: scaleX(1);
}

.repo-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.repo-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(74, 144, 226, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.repo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  word-break: break-word;
}

.repo-description {
  color: var(--muted-foreground);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  min-height: 3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.repo-stats {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.stat svg {
  width: 16px;
  height: 16px;
}

.language-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 8px;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
}

.language-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary);
}

.repo-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  min-height: 2rem;
}

.topic-tag {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--accent);
  transition: all 0.2s ease;
}

.topic-tag:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent);
}

.repo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(74, 144, 226, 0.1);
}

.repo-updated {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.repo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(74, 144, 226, 0.1);
  border: 1px solid rgba(74, 144, 226, 0.3);
  border-radius: 8px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.repo-link:hover {
  background: var(--primary);
  color: white;
  transform: translateX(4px);
}

.repo-link svg {
  width: 16px;
  height: 16px;
}

/* Portfolio Pagination */
.portfolio-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  padding: 2rem 0;
}

.portfolio-pagination .pagination-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem !important;
  background: var(--gradient-primary) !important;
  border: none !important;
  border-radius: 12px;
  color: white !important;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
  position: relative;
  overflow: hidden;
}

.portfolio-pagination .pagination-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-pagination .pagination-btn:hover:not(:disabled) {
  transform: translateY(-3px) scale(1.02) !important;
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4) !important;
}

.portfolio-pagination .pagination-btn:hover:not(:disabled)::before {
  opacity: 1;
}

.portfolio-pagination .pagination-btn:active:not(:disabled) {
  transform: translateY(-1px) scale(1) !important;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3) !important;
}

.portfolio-pagination .pagination-btn:disabled {
  opacity: 0.4 !important;
  cursor: not-allowed !important;
  background: var(--card-bg) !important;
  border: 1px solid rgba(74, 144, 226, 0.1) !important;
  color: var(--muted-foreground) !important;
  box-shadow: none !important;
}

.portfolio-pagination .pagination-btn svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.portfolio-pagination .pagination-btn:hover:not(:disabled) svg {
  transform: translateX(3px);
}

.portfolio-pagination .pagination-btn:first-child:hover:not(:disabled) svg {
  transform: translateX(-3px);
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  background: rgba(74, 144, 226, 0.05);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pagination-info span {
  color: var(--primary);
}

/* GitHub Stats Section */
.github-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
  padding: 0 1rem;
}

.stats-card {
  background: var(--card-bg);
  border: 1px solid rgba(74, 144, 226, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}

.stats-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 35px rgba(74, 144, 226, 0.2);
}

.stats-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.profile-loading,
.profile-error {
  text-align: center;
  color: var(--muted-foreground);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(74, 144, 226, 0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.github-profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  gap: 1.5rem;
}

.github-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid var(--primary);
  object-fit: cover;
}

.github-info {
  width: 100%;
}

.github-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.github-username {
  color: var(--muted-foreground);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.github-bio {
  color: var(--muted-foreground);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.github-metrics {
  display: flex;
  justify-content: space-around;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(74, 144, 226, 0.2);
}

.metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-transform: uppercase;
}

.portfolio-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 4rem 0 3rem;
  position: relative;
}

.portfolio-divider::before,
.portfolio-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0.3;
}

.divider-text {
  padding: 0 2rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-primary);
  position: relative;
}

.divider-text::before {
  content: '⚡';
  margin-right: 0.5rem;
}

.divider-text::after {
  content: '⚡';
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .github-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
  }
  
  .stats-card {
    padding: 1rem;
  }
  
  .portfolio-divider {
    margin: 3rem 0 2rem;
  }
  
  .divider-text {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .repo-card {
    padding: 1.5rem;
  }
  
  .filter-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .portfolio-pagination {
    gap: 1rem;
    flex-wrap: wrap;
  }
  
  .portfolio-pagination .pagination-btn {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem;
  }
  
  .pagination-info {
    order: -1;
    width: 100%;
    justify-content: center;
  }
}
  
  .profile-photo {
    width: 250px;
    height: 250px;
  }
  
  .timeline::before {
    left: 1.5rem;
  }
  
  .timeline-dot {
    left: 1.5rem;
  }
  
  .timeline-content {
    width: 100%;
    padding-left: 4rem;
    padding-right: 0;
  }
  
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: 0;
  }
  
  .timeline-card {
    padding: 1.5rem;
  }
  
  .timeline-title {
    font-size: 1.125rem;
  }
  
  .journey-stats {
    grid-template-columns: 1fr;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .certificates-grid {
    grid-template-columns: 1fr;
  }
}

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