:root {
  --bg-color: #050508;
  --card-bg: #0e0e16;
  --text-main: #e0e0e0;
  --text-muted: #a0a0b0;
  --primary-cyan: #00f3ff;
  --primary-purple: #bc13fe;
  --gradient-main: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple));
  --glow-shadow: 0 0 10px rgba(0, 243, 255, 0.3), 0 0 20px rgba(188, 19, 254, 0.2);
  --font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-code: 'Courier New', Courier, monospace;
  --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

@keyframes gradientShift {

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

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

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.7;
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }

  100% {
    background-position: 1000px 0;
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

.scroll-reveal:not(.revealed) {
  opacity: 0;
  transform: translateY(40px);
  transition: var(--transition-smooth);
}

.scroll-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition-smooth);
}

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

h1,
h2,
h3 {
  color: #fff;
  font-weight: 700;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary-cyan), var(--primary-purple), var(--primary-cyan));
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  animation: gradientMove 3s ease infinite;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background: transparent;
  color: var(--primary-cyan);
  border: 2px solid var(--primary-cyan);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-base);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  transition: var(--transition-base);
  z-index: -1;
}

.btn:hover {
  color: var(--bg-color);
  border-color: transparent;
  box-shadow: 0 0 25px rgba(0, 243, 255, 0.5), 0 0 50px rgba(188, 19, 254, 0.3);
  transform: translateY(-2px);
}

.btn:hover::before {
  left: 0;
}

.btn:active {
  transform: translateY(0);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  position: relative;
  display: block;
  width: 100%;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-main);
  margin: 10px auto 0;
  border-radius: 2px;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--gradient-main);
  z-index: 1001;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

header {
  padding: 20px 0;
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(15px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-base);
}

header.scrolled {
  padding: 15px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.language-selector {
  background: rgba(14, 14, 22, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 243, 255, 0.3);
  border-radius: 4px;
  color: var(--primary-cyan);
  padding: 8px 12px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-base);
  font-family: var(--font-main);
  min-width: 80px;
}

.language-selector option {
  background: var(--card-bg);
  color: var(--text-main);
  padding: 8px;
}

.language-selector:hover {
  background: rgba(0, 243, 255, 0.1);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
}

.language-selector:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.logo {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-code);
  letter-spacing: -1px;
  transition: var(--transition-base);
  cursor: pointer;
}

.logo:hover {
  transform: scale(1.05);
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at center, rgba(188, 19, 254, 0.05) 0%, rgba(5, 5, 8, 1) 70%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.03) 0%, transparent 70%);
  animation: pulse 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.tech-badge {
  display: inline-block;
  padding: 5px 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  font-size: 0.9rem;
  margin: 5px;
  color: var(--primary-cyan);
  background: rgba(0, 243, 255, 0.05);
  transition: var(--transition-base);
  animation: fadeInUp 1s ease-out both;
}

.tech-badge:nth-child(1) {
  animation-delay: 0.1s;
}

.tech-badge:nth-child(2) {
  animation-delay: 0.2s;
}

.tech-badge:nth-child(3) {
  animation-delay: 0.3s;
}

.tech-badge:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(0, 243, 255, 0.15);
  border-color: var(--primary-cyan);
  box-shadow: 0 5px 15px rgba(0, 243, 255, 0.3);
}

.about-section {
  padding: 80px 0;
}

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

.card {
  background: var(--card-bg);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-main);
  opacity: 0;
  transition: var(--transition-base);
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-main);
  opacity: 0;
  transition: var(--transition-base);
  z-index: -1;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 40px rgba(0, 243, 255, 0.2), 0 0 60px rgba(188, 19, 254, 0.15);
  border-color: rgba(188, 19, 254, 0.4);
}

.card:hover::before {
  opacity: 1;
  width: 100%;
  height: 4px;
  top: 0;
  left: 0;
}

.card:hover::after {
  opacity: 0.03;
}

.card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

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

.experience-section {
  padding: 100px 0;
  background: #08080c;
  position: relative;
  overflow: hidden;
}

.experience-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 243, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(188, 19, 254, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.timeline-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-left: 60px;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg,
      var(--primary-cyan) 0%,
      rgba(0, 243, 255, 0.3) 50%,
      var(--primary-purple) 100%);
  animation: timelinePulse 3s ease-in-out infinite;
}

@keyframes timelinePulse {

  0%,
  100% {
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.3);
  }

  50% {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.6), 0 0 30px rgba(188, 19, 254, 0.4);
  }
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
  perspective: 1000px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -50px;
  top: 20px;
  width: 16px;
  height: 16px;
  background: var(--gradient-main);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.6), 0 0 40px rgba(188, 19, 254, 0.4);
  z-index: 2;
  transition: var(--transition-smooth);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -58px;
  top: 12px;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(0, 243, 255, 0.3);
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.timeline-card {
  background: rgba(14, 14, 22, 0.6);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  transform-style: preserve-3d;
  animation: cardEntrance 0.8s ease-out backwards;
}

.timeline-item:nth-child(1) .timeline-card {
  animation-delay: 0.1s;
}

.timeline-item:nth-child(2) .timeline-card {
  animation-delay: 0.2s;
}

.timeline-item:nth-child(3) .timeline-card {
  animation-delay: 0.3s;
}

@keyframes cardEntrance {
  from {
    opacity: 0;
    transform: translateX(-30px) translateY(20px) rotateX(10deg);
  }

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

.timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
  pointer-events: none;
}

.timeline-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}


.timeline-item:hover .timeline-card {
  transform: translateX(10px) translateY(-5px);
  border-color: rgba(0, 243, 255, 0.4);
  box-shadow:
    0 10px 40px rgba(0, 243, 255, 0.2),
    0 0 60px rgba(188, 19, 254, 0.15),
    inset 0 0 60px rgba(0, 243, 255, 0.05);
}

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

.timeline-item:hover .timeline-card::after {
  opacity: 1;
}

.timeline-item:hover::before {
  transform: scale(1.3);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.8), 0 0 60px rgba(188, 19, 254, 0.6);
}

.timeline-item:hover::after {
  border-color: rgba(0, 243, 255, 0.6);
  transform: scale(1.2);
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  gap: 25px;
  flex-wrap: wrap;
}

.timeline-header .timeline-content {
  flex: 1;
  min-width: 200px;
}

.timeline-header a {
  display: block;
  text-decoration: none;
  transition: var(--transition-base);
  cursor: pointer;
  position: relative;
  z-index: 20;
  flex-shrink: 0;
  width: fit-content;
}

.timeline-header a:hover {
  transform: scale(1.05);
}

.timeline-header a:focus {
  outline: 2px solid var(--primary-cyan);
  outline-offset: 2px;
  border-radius: 16px;
}

.timeline-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  transition: var(--transition-smooth);
  flex-shrink: 0;
  filter: grayscale(0.2) brightness(0.95);
  align-self: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  animation: logoEntrance 0.8s ease-out backwards;
  display: block;
}

.timeline-item:nth-child(1) .timeline-logo {
  animation-delay: 0.15s;
}

.timeline-item:nth-child(2) .timeline-logo {
  animation-delay: 0.25s;
}

.timeline-item:nth-child(3) .timeline-logo {
  animation-delay: 0.35s;
}

@keyframes logoEntrance {
  from {
    opacity: 0;
    transform: scale(0.8) rotate(-10deg);
  }

  to {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.timeline-logo::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-main);
  border-radius: 16px;
  opacity: 0;
  z-index: -1;
  transition: var(--transition-smooth);
  filter: blur(8px);
}

.timeline-logo::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 243, 255, 0.1) 0%, transparent 70%);
  border-radius: 16px;
  transform: translate(-50%, -50%);
  opacity: 0.3;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-logo::after {
  opacity: 0.6;
}

.timeline-item:hover .timeline-logo {
  transform: scale(1.15) translateY(-5px);
  filter: grayscale(0) brightness(1.1);
  border-color: rgba(0, 243, 255, 0.6);
  box-shadow:
    0 8px 30px rgba(0, 243, 255, 0.4),
    0 0 40px rgba(188, 19, 254, 0.3),
    inset 0 0 20px rgba(0, 243, 255, 0.1);
  background: rgba(255, 255, 255, 0.12);
}

.timeline-item:hover .timeline-logo::before {
  opacity: 0.5;
}

.timeline-date {
  color: var(--primary-purple);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 16px;
  background: rgba(188, 19, 254, 0.1);
  border: 1px solid rgba(188, 19, 254, 0.3);
  border-radius: 20px;
  white-space: nowrap;
  transition: var(--transition-base);
}

.timeline-item:hover .timeline-date {
  background: rgba(188, 19, 254, 0.2);
  border-color: rgba(188, 19, 254, 0.5);
  transform: scale(1.05);
}

.timeline-content h3 {
  font-size: 1.6rem;
  margin-bottom: 8px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: var(--transition-base);
}

.timeline-content h4 {
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.timeline-content ul {
  list-style: none;
  color: var(--text-muted);
  display: grid;
  gap: 12px;
}

.timeline-content li {
  position: relative;
  padding-left: 28px;
  line-height: 1.7;
  transition: var(--transition-base);
}

.timeline-content li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--primary-cyan);
  font-family: var(--font-code);
  font-size: 1.2rem;
  transition: var(--transition-base);
}

.timeline-item:hover .timeline-content li {
  color: var(--text-main);
  transform: translateX(5px);
}

.timeline-item:hover .timeline-content li::before {
  color: var(--primary-purple);
  transform: scale(1.2);
}

.timeline-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-tech {
  opacity: 1;
  max-height: 200px;
}

.tech-tag {
  padding: 4px 12px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid rgba(0, 243, 255, 0.2);
  border-radius: 12px;
  font-size: 0.75rem;
  color: var(--primary-cyan);
  font-family: var(--font-code);
  transition: var(--transition-base);
}

.tech-tag:hover {
  background: rgba(0, 243, 255, 0.2);
  border-color: var(--primary-cyan);
  transform: translateY(-2px);
}

.skills-section {
  padding: 80px 0;
}

.skills-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.skill-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 25px;
  border-radius: 50px;
  font-weight: 500;
  transition: var(--transition-base);
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-pill::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--gradient-main);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.skill-pill:hover {
  color: #000;
  border-color: transparent;
  font-weight: 700;
  box-shadow: 0 5px 20px rgba(0, 243, 255, 0.4), 0 0 30px rgba(188, 19, 254, 0.3);
  transform: translateY(-3px) scale(1.05);
}

.skill-pill:hover::before {
  width: 300px;
  height: 300px;
}

.awards-section {
  padding: 100px 0;
  background: #08080c;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.awards-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(0, 243, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(188, 19, 254, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.award-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
  transition: var(--transition-base);
  filter: drop-shadow(0 0 10px rgba(188, 19, 254, 0.3));
}

.certificate-card:hover .award-icon {
  transform: scale(1.2) rotate(5deg);
  filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.5));
}

.certificates-section {
  padding: 100px 0;
  background: #050508;
  position: relative;
  overflow: hidden;
}

.certificates-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 243, 255, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(188, 19, 254, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 50px auto 0;
  padding: 0 60px;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.certificate-card {
  background: rgba(14, 14, 22, 0.7);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 30px;
  min-width: 320px;
  max-width: 320px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  color: inherit;
}


.certificate-logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px;
  margin: 0 auto 20px;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.1);
  filter: grayscale(0.2) brightness(0.9);
}

.certificate-info {
  text-align: center;
}

.certificate-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.4;
  min-height: 3.4em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-info .certificate-org {
  color: var(--primary-cyan);
  font-weight: 600;
  font-size: 1rem;
  margin-top: 10px;
  display: block;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(14, 14, 22, 0.8);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 243, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-base);
  z-index: 10;
  color: var(--primary-cyan);
  font-size: 1.5rem;
}

.carousel-nav:hover {
  background: rgba(0, 243, 255, 0.1);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
  transform: translateY(-50%) scale(1.1);
}

.carousel-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-nav.prev {
  left: 0;
}

.carousel-nav.next {
  right: 0;
}

.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.carousel-nav:disabled:hover {
  transform: translateY(-50%);
  box-shadow: none;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-base);
}

.carousel-dot.active {
  background: var(--primary-cyan);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.6);
  transform: scale(1.2);
}

.carousel-dot:hover {
  background: rgba(0, 243, 255, 0.5);
  border-color: rgba(0, 243, 255, 0.7);
}

footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.btn-header {
  padding: 8px 20px;
  font-size: 0.8rem;
}

.tech-badges-wrapper {
  margin-bottom: 20px;
}

.hero-cta-wrapper {
  margin-top: 30px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.award-icon-wrapper {
  text-align: center;
  margin-bottom: 20px;
}

.articles-section {
  margin-bottom: 100px;
}

.loading-text {
  color: var(--text-muted);
  text-align: center;
  width: 100%;
}

.medium-link-wrapper {
  text-align: center;
  margin-top: 40px;
}

.footer-copyright {
  margin-top: 20px;
}

.social-links a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--transition-base);
  display: inline-block;
  position: relative;
}

.social-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-main);
  transition: var(--transition-base);
}

.social-links a:hover {
  color: var(--primary-cyan);
  transform: translateY(-3px);
}

.social-links a:hover::after {
  width: 100%;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
    padding: 0 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .timeline-container {
    padding-left: 40px;
  }

  .timeline-container::before {
    left: 15px;
  }

  .timeline-item::before {
    left: -35px;
  }

  .timeline-item::after {
    left: -43px;
  }

  .timeline-header {
    flex-direction: column;
    gap: 15px;
  }

  .timeline-date {
    align-self: flex-start;
  }

  .timeline-card {
    padding: 20px;
  }

  .timeline-item:hover .timeline-card {
    transform: translateX(5px) translateY(-3px);
  }

  .timeline-logo {
    width: 70px;
    height: 70px;
    padding: 10px;
  }

  .timeline-header {
    gap: 15px;
    align-items: flex-start;
  }

  .timeline-item:hover .timeline-logo {
    transform: scale(1.1) translateY(-3px);
  }

  .card {
    padding: 20px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .nav-actions {
    gap: 10px;
  }

  .language-selector {
    padding: 6px 10px;
    font-size: 0.8rem;
  }

  .skill-pill {
    padding: 8px 20px;
    font-size: 0.9rem;
  }

  .social-links a {
    margin: 0 10px;
    font-size: 1rem;
  }

  .carousel-container {
    padding: 0 20px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .certificate-card {
    min-width: 280px;
    max-width: 280px;
    padding: 20px;
  }

  .certificate-logo {
    width: 60px;
    height: 60px;
    padding: 8px;
  }

  .certificate-info h3 {
    font-size: 1rem;
    min-height: 3em;
  }

  .certificate-info .certificate-org {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .tech-badge {
    font-size: 0.8rem;
    padding: 4px 12px;
  }

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

