* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-overflow-scrolling: touch;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  height: 100%;
  position: relative;
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
  * {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
  }
}

:root {
  --primary-green: #10b981;
  --dark-green: #059669;
  --light-green: #34d399;
  --primary-pink: #ec4899;
  --dark-pink: #db2777;
  --light-pink: #f9a8d4;
  --bg-dark: #0f172a;
  --bg-darker: #020617;
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Mobile fallback - ensure basic functionality without JS */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-darker);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 2rem;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  /* Fallback for when JS fails - show menu on hover of nav container */
  .nav-container:hover .nav-menu {
    transform: translateX(0);
  }
}

/* Canvas */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Hide canvas on mobile devices to prevent performance issues */
@media (max-width: 768px) {
  #particleCanvas {
    display: none;
  }
}

/* Touch-friendly styles */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 44px;
    touch-action: manipulation;
  }

  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .tab-btn {
    min-height: 44px;
    touch-action: manipulation;
  }

  .indicator,
  .achievements-indicator {
    min-width: 44px;
    min-height: 44px;
  }

  .nav-toggle {
    min-width: 44px;
    min-height: 44px;
    padding: 0.5rem;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
}

.nav-menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 2rem;
  background: var(--bg-card);
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(16, 185, 129, 0.2);
  min-width: 200px;
  z-index: 1001;
}

.nav-menu.open .nav-link {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.nav-menu.open .nav-link:last-child {
  border-bottom: none;
}

.nav-menu.open .nav-link::after {
  display: none;
}

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-pink));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Section Styling */
section {
  padding: 6rem 0;
  position: relative;
}

.section-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 50px;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title-large {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  background: linear-gradient(
    135deg,
    var(--text-primary),
    var(--text-secondary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding-top: 80px;
  width: 100%;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  box-sizing: border-box;
}

.hero-text {
  z-index: 1;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.title-line {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.title-name {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: white;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--primary-pink), var(--dark-pink));
  color: white;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

.hero-image {
  position: relative;
  z-index: 1;
}

.image-wrapper {
  position: relative;
  width: 300px;
  height: 300px;
  margin: 0 auto;
}

.image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(16, 185, 129, 0.3),
    rgba(236, 72, 153, 0.3),
    transparent
  );
  filter: blur(60px);
  animation: pulse 4s ease-in-out infinite;
}

.profile-circle {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  padding: 4px;
}

.profile-circle::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--bg-dark);
}

.profile-image {
  position: absolute;
  inset: 8px;
  width: calc(100% - 16px);
  height: calc(100% - 16px);
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1.1);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid var(--primary-green);
  border-radius: 20px;
  position: relative;
}

.wheel {
  width: 4px;
  height: 8px;
  background: var(--primary-green);
  border-radius: 2px;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
  0%,
  100% {
    top: 8px;
    opacity: 1;
  }
  50% {
    top: 20px;
    opacity: 0.5;
  }
}

/* About Section */
.about {
  background: var(--bg-darker);
  position: relative;
  z-index: 2;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(16, 185, 129, 0.05);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.about-visual {
  position: relative;
  height: 400px;
}

.floating-card {
  position: absolute;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
  cursor: grab;
  user-select: none;
  transition: all 0.3s ease;
}

.floating-card:hover {
  border-color: var(--primary-green);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
  transform: scale(1.05);
  z-index: 10;
}

.floating-card:active {
  cursor: grabbing;
  animation-play-state: paused;
}

.floating-card.dragging {
  animation: none;
  z-index: 1000;
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 20px 50px rgba(16, 185, 129, 0.5);
}

.floating-card i {
  font-size: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.floating-card p {
  color: var(--text-secondary);
  font-weight: 600;
}

.card-1 {
  top: 10%;
  left: 15%;
  animation-delay: 0s;
}

.card-2 {
  top: 35%;
  right: 10%;
  animation-delay: 2s;
}

.card-3 {
  bottom: 15%;
  left: 35%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Floating card interaction effects */
.floating-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-green), var(--primary-pink));
  border-radius: 1rem;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.floating-card:hover::before {
  opacity: 0.7;
}

.floating-card.dragging::before {
  opacity: 1;
  animation: pulse-border 1s ease-in-out infinite;
}

@keyframes pulse-border {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

/* Experience Section */
.experience {
  background: var(--bg-darker);
  position: relative;
  z-index: 2;
}

.experience-tabs {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  border-bottom: 2px solid rgba(16, 185, 129, 0.1);
}

.tab-btn {
  padding: 1rem 2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.tab-btn::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-green), var(--primary-pink));
  transition: width 0.3s ease;
}

.tab-btn.active {
  color: var(--text-primary);
}

.tab-btn.active::after {
  width: 100%;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
  position: relative;
  width: 100%;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--primary-green),
    var(--primary-pink)
  );
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 3rem;
}

.timeline-dot {
  position: absolute;
  left: -6px;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--primary-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-darker), 0 0 0 6px var(--primary-green);
}

.timeline-content {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.1);
  transition: all 0.3s ease;
}

.timeline-content:hover {
  border-color: var(--primary-green);
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.timeline-date {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border-radius: 50px;
  color: var(--primary-green);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.timeline-content h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.timeline-content h4 {
  font-size: 1.125rem;
  color: var(--primary-pink);
  margin-bottom: 1rem;
  font-weight: 500;
}

.timeline-content ul {
  list-style: none;
  padding-left: 0;
}

.timeline-content li {
  color: var(--text-secondary);
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.timeline-content li::before {
  content: "▹";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

/* Alternating Timeline */
.timeline-alternating {
  position: relative;
  padding: 2rem 0;
}

.timeline-alternating::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--primary-green),
    var(--primary-pink)
  );
  transform: translateX(-50%);
}

.timeline-alternating .timeline-item {
  position: relative;
  width: 45%;
  margin-bottom: 3rem;
}

.timeline-alternating .timeline-left {
  left: 0;
  padding-right: 2rem;
}

.timeline-alternating .timeline-right {
  left: 55%;
  padding-left: 2rem;
}

.timeline-alternating .timeline-dot {
  position: absolute;
  top: 0;
  width: 14px;
  height: 14px;
  background: var(--primary-green);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--bg-darker), 0 0 0 6px var(--primary-green);
}

.timeline-alternating .timeline-left .timeline-dot {
  right: -40px;
}

.timeline-alternating .timeline-right .timeline-dot {
  left: -40px;
}

.timeline-alternating .timeline-left .timeline-content:hover {
  transform: translateX(-10px);
}

.timeline-alternating .timeline-right .timeline-content:hover {
  transform: translateX(10px);
}

/* Certificate Carousel */
.carousel-container {
  position: relative;
  max-width: 100%;
  margin: 2rem 0;
}

.carousel-wrapper {
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.cert-card-carousel {
  background: var(--bg-card);
  border: 1px solid rgba(16, 185, 129, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.cert-card-carousel:hover {
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.3);
}

.cert-image-container {
  width: 100%;
  height: 200px;
  margin-bottom: 1.5rem;
  border-radius: 0.5rem;
  overflow: hidden;
  position: relative;
}

.cert-placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(236, 72, 153, 0.1)
  );
}

.cert-placeholder-image i {
  font-size: 4rem;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cert-placeholder-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cert-card-carousel:hover .cert-placeholder-image::before {
  opacity: 1;
  animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.cert-info h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.cert-info p {
  color: var(--text-secondary);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.cert-date {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.2),
    rgba(236, 72, 153, 0.2)
  );
  border-radius: 50px;
  color: var(--primary-green);
  font-size: 0.75rem;
  font-weight: 600;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-card);
  border: 2px solid var(--primary-green);
  color: var(--primary-green);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  font-size: 1.2rem;
}

.carousel-btn:hover {
  background: var(--primary-green);
  color: white;
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
  left: -25px;
}

.carousel-next {
  right: -25px;
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: var(--primary-green);
  transform: scale(1.2);
}

.indicator:hover {
  background: var(--primary-green);
  transform: scale(1.1);
}

/* Different certificate themes */
.sap-cert {
  background: linear-gradient(
    135deg,
    rgba(0, 116, 187, 0.1),
    rgba(16, 185, 129, 0.1)
  );
}

.uxvidia-cert {
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.1),
    rgba(236, 72, 153, 0.1)
  );
}

.python-cert {
  background: linear-gradient(
    135deg,
    rgba(55, 118, 171, 0.1),
    rgba(255, 212, 59, 0.1)
  );
}

.algorithm-cert {
  background: linear-gradient(
    135deg,
    rgba(139, 69, 19, 0.1),
    rgba(16, 185, 129, 0.1)
  );
}

.marketing-cert {
  background: linear-gradient(
    135deg,
    rgba(219, 68, 55, 0.1),
    rgba(66, 133, 244, 0.1)
  );
}

.management-cert {
  background: linear-gradient(
    135deg,
    rgba(52, 168, 83, 0.1),
    rgba(251, 188, 5, 0.1)
  );
}

.duke-cert {
  background: linear-gradient(
    135deg,
    rgba(138, 43, 226, 0.1),
    rgba(255, 20, 147, 0.1)
  );
}

/* Achievements Grid */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  width: 100%;
  max-width: 100%;
}

.achievement-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(16, 185, 129, 0.1);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 120px;
  width: 100%;
}

.achievement-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.achievement-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.achievement-icon i {
  font-size: 1.5rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.achievement-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.achievement-content h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.achievement-content p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.achievement-year {
  background: linear-gradient(90deg, var(--primary-green), var(--primary-pink));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 0.85rem;
}

#achievements {
  width: 100%;
  position: relative;
}

/* Achievements Carousel */
.achievements-carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.achievements-carousel-wrapper {
  overflow: hidden;
  border-radius: 1rem;
  position: relative;
}

.achievements-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.achievements-carousel-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.achievement-card-carousel {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(16, 185, 129, 0.1);
  transition: all 0.3s ease;
  max-width: 600px;
  width: 100%;
  display: flex;
  gap: 2rem;
  align-items: stretch;
}

.achievement-card-carousel:hover {
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.achievement-image-container {
  flex: 0 0 200px;
  height: 140px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.achievement-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0.5rem;
  display: block;
}

/* Vertical certificates - Only SAP and Samsung */
.achievements-carousel-slide:nth-child(1) .achievement-image-container,
.achievements-carousel-slide:nth-child(2) .achievement-image-container {
  flex: 0 0 140px;
  width: 140px;
  height: 200px;
}

.achievements-carousel-slide:nth-child(1) .achievement-image,
.achievements-carousel-slide:nth-child(2) .achievement-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.achievement-info {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.achievement-info h3 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.achievement-info p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.achievement-date {
  background: linear-gradient(90deg, var(--primary-green), var(--primary-pink));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
  font-size: 0.9rem;
}

.achievements-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(16, 185, 129, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.achievements-carousel-prev {
  left: -60px;
}

.achievements-carousel-next {
  right: -60px;
}

.achievements-carousel-btn:hover {
  background: var(--primary-green);
  transform: translateY(-50%) scale(1.1);
}

.achievements-carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.achievements-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.achievements-indicator.active {
  background: var(--primary-green);
  transform: scale(1.2);
}

/* Certifications Grid */
.certifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.cert-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.cert-card:hover {
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.cert-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.cert-icon i {
  font-size: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cert-card h3 {
  font-size: 1.125rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.cert-card p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Education Section */
.education-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.education-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.1);
  display: flex;
  gap: 2rem;
  transition: all 0.3s ease;
}

.education-card:hover {
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.education-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.education-icon i {
  font-size: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.education-content {
  flex: 1;
}

.education-year {
  display: inline-block;
  padding: 0.25rem 1rem;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border-radius: 50px;
  color: var(--primary-green);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.education-content h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.education-content h4 {
  font-size: 1.125rem;
  color: var(--primary-pink);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.education-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-secondary);
}

.detail-item i {
  color: var(--primary-green);
  font-size: 1rem;
}

/* Contact Section */
.contact {
  background: var(--bg-darker);
}

.contact-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid rgba(16, 185, 129, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-card:hover {
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.2);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.1),
    rgba(236, 72, 153, 0.1)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contact-icon i {
  font-size: 2rem;
  background: linear-gradient(
    135deg,
    var(--primary-green),
    var(--primary-pink)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-card h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

/* Footer */
.footer {
  background: var(--bg-darker);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.footer p {
  color: var(--text-muted);
}

/* Responsive Design */
/* Large tablets and small desktops */
@media (max-width: 1200px) {
  .container {
    padding: 0 1.5rem;
  }

  .nav-container {
    padding: 0 1.5rem;
  }

  .achievements-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
  }

  .experience-tabs {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .tab-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Tablets and medium screens */
@media (max-width: 968px) {
  .container {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 100px;
    min-height: 100vh;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }

  .nav-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-menu {
    display: none;
  }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    z-index: 1000;
  }

  .title-name {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .title-line {
    font-size: 1.2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .image-wrapper {
    width: 250px;
    height: 250px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .section-title-large {
    font-size: 2.5rem;
  }

  .certifications-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Responsive Timeline */
  .timeline-alternating::before {
    left: 0;
    transform: none;
  }

  .timeline-alternating .timeline-item {
    width: 100%;
    left: 0 !important;
    padding-left: 3rem;
    padding-right: 0;
  }

  .timeline-alternating .timeline-dot {
    left: -6px !important;
    right: auto !important;
  }

  .timeline-alternating .timeline-left .timeline-content:hover,
  .timeline-alternating .timeline-right .timeline-content:hover {
    transform: translateX(10px);
  }

  /* Responsive Carousel */
  .carousel-prev {
    left: -15px;
  }

  .carousel-next {
    right: -15px;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  /* Achievements carousel adjustments */
  .achievements-carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .achievements-carousel-prev {
    left: -30px;
  }

  .achievements-carousel-next {
    right: -30px;
  }
}

/* Small tablets and large phones */
@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 100px;
    min-height: 90vh;
  }

  .experience-tabs {
    flex-direction: column;
    align-items: stretch;
  }

  .tab-btn {
    text-align: center;
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .floating-card {
    position: static;
    margin: 1rem auto;
    transform: none !important;
    max-width: 200px;
    animation: none;
  }

  .about-visual {
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
}

/* Mobile phones */
@media (max-width: 640px) {
  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-logo {
    font-size: 1.25rem;
  }

  .hero {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
  }

  .hero-content {
    width: 100%;
    padding: 0 1rem;
  }

  .title-line {
    font-size: 1rem;
  }

  .title-name {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-description {
    font-size: 0.9rem;
  }

  .section-title-large {
    font-size: 2rem;
  }

  .section-badge {
    font-size: 0.75rem;
    padding: 0.4rem 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .image-wrapper {
    width: 200px;
    height: 200px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .stat-item {
    padding: 1rem;
  }

  .stat-number {
    font-size: 2rem;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .achievements-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .achievement-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.5rem;
    min-height: auto;
  }

  .achievement-icon {
    width: 50px;
    height: 50px;
  }

  .achievement-icon i {
    font-size: 1.2rem;
  }

  /* Achievements Carousel Mobile */
  .achievements-carousel-btn {
    display: none;
  }

  .achievement-card-carousel {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .achievement-image-container {
    width: 100%;
    max-width: 280px;
    height: 180px;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
  }

  .achievement-info {
    text-align: center;
  }

  /* Vertical certificates on mobile - Only SAP and Samsung */
  .achievements-carousel-slide:nth-child(1) .achievement-image-container,
  .achievements-carousel-slide:nth-child(2) .achievement-image-container {
    width: 200px;
    max-width: 200px;
    height: 280px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
  }

  .contact-icon i {
    font-size: 1.5rem;
  }

  .education-grid {
    gap: 1.5rem;
  }

  .education-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .education-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
  }

  .education-icon i {
    font-size: 1.5rem;
  }

  /* Mobile Carousel */
  .carousel-prev,
  .carousel-next {
    display: none;
  }

  .cert-card-carousel {
    max-width: 100%;
    padding: 1.5rem;
  }

  .cert-image-container {
    height: 150px;
  }

  .cert-placeholder-image i {
    font-size: 3rem;
  }

  /* Timeline mobile improvements */
  .timeline-item {
    padding-left: 2rem;
    margin-bottom: 2rem;
  }

  .timeline-content {
    padding: 1.5rem;
  }

  .timeline-content h3 {
    font-size: 1.25rem;
  }

  .timeline-content h4 {
    font-size: 1rem;
  }

  .timeline-date {
    font-size: 0.75rem;
    padding: 0.2rem 0.75rem;
  }
}

/* Very small phones */
@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .nav-container {
    padding: 0 0.75rem;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-content {
    padding: 0 0.75rem;
  }

  .title-line {
    font-size: 0.9rem;
  }

  .title-name {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-description {
    font-size: 0.85rem;
  }

  .section-title-large {
    font-size: 1.75rem;
  }

  .image-wrapper {
    width: 150px;
    height: 150px;
  }

  .btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.85rem;
  }

  .achievement-card-carousel,
  .cert-card-carousel {
    padding: 1rem;
  }

  .timeline-content {
    padding: 1rem;
  }

  .tab-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .nav-menu.open {
    right: 0.75rem;
    left: 0.75rem;
    padding: 0.75rem;
  }
}
