
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;700&family=Orbitron:wght@500;700&display=swap');

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

body {
  background: #0d0d1e;
  color: #e0e0ff;
  font-family: 'Vazirmatn', sans-serif;
  overflow-x: hidden;
}

.neon-text {
  color: #00f2ff;
  text-shadow: 0 0 10px #00f2ff, 0 0 20px #00f2ff, 0 0 40px #00f2ff;
  font-family:  sans-serif;
  letter-spacing: 1.5px;
}

.text-cyan { color: #00f2ff; }

/* Navbar */
.navbar {
  background: rgba(10, 10, 30, 0.95) !important;
  /* backdrop-filter: blur(10px); */
  transition: all 0.4s ease;
  padding: 1rem 0;
  border-bottom: 1px solid #00f2ff33;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 5px 20px rgba(0, 242, 255, 0.2);
}

.nav-link {
  color: #e0e0ff !important;
  margin: 0 10px;
  transition: all 0.3s;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #00f2ff !important;
  text-shadow: 0 0 10px #00f2ff;
}

/* Hero & Sidebar */
.hero-section {
  padding-top: 120px;
  min-height: 100dvh;
}

.sidebar-card {
  background: rgba(15, 15, 40, 0.7);
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #00f2ff44;
  /* backdrop-filter: blur(10px); */
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.15);
}

.profile-img {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 5px solid #00f2ff;
  box-shadow: 0 0 30px #00f2ff;
  object-fit: cover;
}

.contact-info i {
  color: #00f2ff;
  width: 30px;
  padding-top: 12px;
}

.contact-info a {
  color: #e0e0ff;
  text-decoration: none;
  transition: 0.3s;
}

.contact-info a:hover {
  color: #00f2ff;
  text-shadow: 0 0 10px #00f2ff;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(0, 242, 255, 0.15);
  color: #00f2ff;
  border-radius: 50%;
  margin: 0 10px;
  font-size: 1.4rem;
  transition: all 0.4s;
  border: 1px solid #00f2f4;
}

.social-btn:hover {
  transform: translateY(-8px) scale(1.1);
  box-shadow: 0 0 25px #00f2ff;
  background: #00f2ff;
  color: #000;
}

/* Service Cards */
.service-card {
  background: rgba(20, 20, 50, 0.6);
  border-radius: 15px;
  padding: 25px;
  border: 1px solid #00f2ff33;
  transition: all 0.4s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 20px 40px rgba(0, 242, 255, 0.3);
  border-color: #00f2ff;
}

.service-card .icon {
  font-size: 3rem;
  color: #00f2ff;
  margin-bottom: 20px;
  display: block;
}

/* Skills Progress Bar */
.progress-bg {
  background: #1a1a2e;
  height: 12px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #00f2ff22;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #00f2ff, #00aaff);
  border-radius: 10px;
  transition: width 2s cubic-bezier(0.65, 0, 0.35, 1);
  box-shadow: 0 0 15px #00f2ff;
}

/* Certifications */
.cert-card {
  background: rgba(20, 20, 50, 0.6);
  border-radius: 15px;
  padding: 25px;
  text-align: center;
  border: 1px solid #00f2ff33;
  transition: all 0.4s;
  height: 100%;
  min-height: 240px;
}

.cert-card:hover {
  transform: translateY(-12px);
  border-color: #00f2ff;
  box-shadow: 0 15px 35px rgba(0, 242, 255, 0.25);
}


#contact {
  background: rgba(10, 10, 30, 0.95);
  border-top: 1px solid #00f2ff33;
}

.social-icons.large .social-btn {
  width: 60px;
  height: 60px;
  font-size: 1.8rem;
}

@media (max-width: 992px) {
  .sidebar-card {
    margin-bottom: 40px;
  }
  .profile-img {
    width: 180px;
    height: 180px;
  }
}

@media (max-width: 768px) {
  .roadmap-timeline::before { left: 12px; }
  .roadmap-item { padding-left: 50px; }
  .roadmap-dot { left: 2px; }
}


.sidebar-fixed {
  position: sticky;
  top: 100px; 
  align-self: start;
  height: fit-content;
}

.content-area {
  padding-left: 30px;
}

@media (max-width: 991px) {
  .sidebar-fixed {
    position: static !important;
    margin-bottom: 40px;
  }
  .content-area {
    padding-left: 0;
  }
}

body {
  background: linear-gradient(135deg, #0a0a1a 0%, #12122a 100%);
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, #1a1a3a 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}


.sidebar-card,
.content-area {
  background: rgba(15, 18, 45, 0.65);
  border-radius: 20px;
  border: 1px solid rgba(0, 242, 255, 0.25);
  /* backdrop-filter: blur(12px); */
  /* -webkit-backdrop-filter: blur(12px); */
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 30px rgba(0, 242, 255, 0.15);
  transition: all 0.4s ease;
}

.sidebar-card:hover,
.content-area:hover {
  border-color: rgba(0, 242, 255, 0.5);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(0, 242, 255, 0.25);
  background: rgba(18, 22, 55, 0.75);
}

.content-area {
  padding: 40px;
  margin-left: 20px;
}

@media (max-width: 991px) {
  .content-area {
    margin-left: 0;
    margin-top: 30px;
  }
  .sidebar-card {
    margin-bottom: 30px;
  }
}

.roadmap-container {
  background: rgba(15, 18, 45, 0.7);
  border-radius: 24px;
  padding: 60px 40px;
  border: 1px solid rgba(0, 242, 255, 0.3);
  /* backdrop-filter: blur(10px); */
  position: relative;
  text-align: center;
  overflow: hidden;
}

.roadmap-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #00f2ff;
  text-shadow: 0 0 30px #00f2ff;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.roadmap-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.header-line {
  width: 100px;
  height: 6px;
  background: #00f2ff;
  border-radius: 3px;
  box-shadow: 0 0 20px #00f2ff;
}

.header-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 242, 255, 0.15);
  border: 3px solid #00f2ff;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #00f2ff;
  box-shadow: 0 0 30px #00f2ff;
}

.roadmap-subtitle {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  color: #00f2ff;
  margin: 40px 0 60px;
  text-shadow: 0 0 20px #00f2ff;
  letter-spacing: 2px;
}

.timeline-modern {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-line {
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(to bottom, #00f2ff, #0044ff);
  border-radius: 3px;
  box-shadow: 0 0 20px #00f2ff;
}

.timeline-item-modern {
  position: relative;
  text-align: left;
  padding-left: 90px;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease-out;
}

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

.timeline-dot {
  position: absolute;
  left: 20px;
  top: 10px;
  width: 26px;
  height: 26px;
  background: #0a0a1a;
  border: 5px solid #00f2ff;
  border-radius: 50%;
  box-shadow: 0 0 25px #00f2ff;
  z-index: 2;
}

.timeline-content h4 {
  font-size: 1.4rem;
  color: #00f2ff;
  font-weight: 700;
  margin-bottom: 8px;
  text-shadow: 0 0 15px #00f2ff;
}

.timeline-content .time {
  display: block;
  color: #00ccff;
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.timeline-content p {
  
  color: #ccc;
  line-height: 1.7;
  font-size: 1.02rem;
}

@media (max-width: 768px) {
  .roadmap-container { padding: 40px 20px; }
  .roadmap-title { font-size: 2.2rem; }
  .timeline-modern { padding-left: 20px; }
  .timeline-item-modern { padding-left: 70px; margin-bottom: 50px; }
  .timeline-line, .timeline-dot { left: 10px; }
}
.timeline-content .time {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.15), rgba(0, 100, 255, 0.1));
  color: #00eeff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.2px;
  padding: 8px 20px;
  border-radius: 30px;
  border: 1.5px solid rgba(0, 242, 255, 0.6);
  box-shadow: 
    0 0 15px rgba(0, 242, 255, 0.4),
    inset 0 0 10px rgba(0, 242, 255, 0.2);
  text-shadow: 0 0 10px #00f2ff;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.timeline-content .time:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 8px 25px rgba(0, 242, 255, 0.5),
    inset 0 0 15px rgba(0, 242, 255, 0.3);
  border-color: #00f2ff;
  background: linear-gradient(135deg, rgba(0, 242, 255, 0.25), rgba(0, 150, 255, 0.2));
}

.timeline-content .time::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #00f2ff;
  transition: all 0.5s ease;
  transform: translateX(-50%);
  box-shadow: 0 0 10px #00f2ff;
}

.timeline-content .time:hover::after {
  width: 70%;
}

#contact {
  padding: 120px 20px 80px;
  background: transparent; 
  position: relative;
}

.footer-neon-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: 4px;
  background: linear-gradient(90deg, #00f2ff, #a0ffff, #00f2ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 
    0 0 20px #00f2ff,
    0 0 40px #00f2ff,
    0 0 80px #00f2ff,
    0 0 120px #00f2ff;
  margin-bottom: 60px;
  animation: neonFlicker 4s infinite alternate;
}

@keyframes neonFlicker {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.95; }
  80% { opacity: 1; }
}
.social-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(0, 242, 255, 0.1);
  border: 3px solid #00f2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #00f2ff;
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 0 20px rgba(0, 242, 255, 0.4),
    inset 0 0 20px rgba(0, 242, 255, 0.1);
}

.social-circle::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, #00f2ff, transparent);
  animation: rotate 8s linear infinite;
  opacity: 0;
  transition: opacity 0.5s;
}

.social-circle:hover::before {
  opacity: 0.3;
}

@keyframes rotate {
  100% { transform: rotate(360deg); }
}

.social-circle:hover {
  transform: translateY(-15px) scale(1.15);
  border-color: #00ffff;
  box-shadow: 
    0 20px 50px rgba(0, 242, 255, 0.6),
    0 0 60px rgba(0, 242, 255, 0.8);
  background: rgba(0, 242, 255, 0.2);
}

.social-circle i {
  text-shadow: 0 0 20px #00f2ff;
  z-index: 2;
}

.copyright-footer {
  font-size: 1rem;
  color: #666;
  letter-spacing: 1.5px;
  margin-top: 80px;
}
@media (max-width: 768px) {
  .footer-neon-text { font-size: 2.2rem; margin-bottom: 50px; }
  .social-circles { gap: 25px; }
  .social-circle { width: 70px; height: 70px; font-size: 1.8rem; }
}

.neon-badge {
  background: rgba(0, 242, 255, 0.1) !important;
  /* backdrop-filter: blur(8px); */
  box-shadow: 0 0 20px rgba(0, 242, 255, 0.5);
  transition: all 0.4s ease;
  text-shadow: 0 0 10px #00f2ff;
}

.neon-badge:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 242, 255, 0.6);
  background: rgba(0, 242, 255, 0.25) !important;
  border-color: #00f2ff !important;
}

/* Tablet – max-width 768px */
@media (max-width: 768px) {
  /* Roadmap Section */
  .roadmap-title {
    font-size: 1.7rem;
  }

  .roadmap-subtitle {
    font-size: 1.2rem;
  }

  .timeline-modern {
    padding-left: 20px;
  }

  .timeline-item-modern {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .timeline-content h4 {
    font-size: 1.1rem;
  }

  .timeline-content p {
    font-size: 0.95rem;
  }

  .timeline-dot {
    width: 16px;
    height: 16px;
  }

  /* Contact Section */
  .social-circles {
    gap: 20px;
  }

  .social-circle {
    width: 55px;
    height: 55px;
    font-size: 1.3rem;
  }

  .footer-neon-text {
    font-size: 1.5rem;
  }
}

/* Mobile – max-width 480px */
@media (max-width: 480px) {
  .roadmap-container {
    padding: 0 10px;
  }

  .roadmap-title {
    font-size: 15px;
    margin-top: 10px;
  }

  .roadmap-subtitle {
    font-size: 1rem;
  }

  .timeline-modern {
    padding-left: 15px;
  }

  .timeline-item-modern {
    padding-left: 0;
  }

  .timeline-content h4 {
    font-size: 13px;
  }
  .timeline-content .time {
    font-size: 13px;
  }

  .timeline-content p {
    font-size: 0.85rem;
  }

  .timeline-dot {
    width: 12px;
    height: 12px;
    left:-15px;
  }

  .timeline-line {
    left: 6px;
    width: 2px;
  }

  /* Contact Section */
  .social-circles {
    gap: 15px;
  }

  .social-circle {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
  }

  .footer-neon-text {
    font-size: 1.2rem;
  }

  .copyright-footer {
    font-size: 0.85rem;
  }
}
