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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background: #0a0a0a;
  overflow-x: hidden;
}

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #1a1a2e, #16213e, #0f3460);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  z-index: -2;
}

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

/* Floating particles */
.particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float 20s linear infinite;
}

@keyframes float {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) rotate(360deg);
    opacity: 0;
  }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #64ffda;
  transform: translateY(-2px);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  transition: width 0.3s ease;
}

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

/* Mobile menu */
.mobile-menu {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Sections */
section {
  min-height: 100vh;
  padding: 6rem 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  text-align: center;
  position: relative;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #64ffda, #1de9b6, #00bcd4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
  from {
    filter: drop-shadow(0 0 10px rgba(100, 255, 218, 0.3));
  }
  to {
    filter: drop-shadow(0 0 20px rgba(100, 255, 218, 0.6));
  }
}

.hero h2 {
  font-size: 1.5rem;
  color: #b0b0b0;
  margin-bottom: 2rem;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: #d0d0d0;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  color: #0a0a0a;
}

.btn-secondary {
  background: transparent;
  color: #64ffda;
  border: 2px solid #64ffda;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.3);
}

/* About Section */
.about {
  background: rgba(255, 255, 255, 0.02);
}

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

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #d0d0d0;
}

.skills {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.skill {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 255, 218, 0.2);
}

.skill:hover {
  transform: translateY(-5px);
  background: rgba(100, 255, 218, 0.1);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.2);
}

.skill i {
  font-size: 2rem;
  color: #64ffda;
  margin-bottom: 0.5rem;
}

.about-image {
  text-align: center;
}

.profile-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  padding: 5px;
  display: inline-block;
}

.profile-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #2a2a2a;
}

/* Projects Section */
.projects h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 255, 218, 0.2);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 255, 218, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.project-card:hover::before {
  left: 100%;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
}

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

.project-card h3 {
  color: #64ffda;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.project-links {
  display: flex;
  gap: 0.5rem;
}

.project-links a {
  color: #64ffda;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.project-links a:hover {
  color: #1de9b6;
  transform: scale(1.2);
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tech-tag {
  background: rgba(100, 255, 218, 0.2);
  color: #64ffda;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.9rem;
}

/* Education & Experience */
.education,
.experience {
  background: rgba(255, 255, 255, 0.02);
}

.education h2,
.experience h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
}

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

.timeline-content {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  width: 45%;
  position: relative;
}

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

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

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  background: #64ffda;
  border-radius: 50%;
  top: 2rem;
}

.timeline-content h3 {
  color: #64ffda;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.timeline-content .company {
  color: #1de9b6;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline-content .date {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
/* Achievements Section */
.achievements h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(100, 255, 218, 0.2);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.achievement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(100, 255, 218, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.achievement-card:hover::before {
  left: 100%;
}

.achievement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(100, 255, 218, 0.2);
  border-color: rgba(100, 255, 218, 0.4);
}

.achievement-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #0a0a0a;
  position: relative;
}

.achievement-icon::after {
  content: '';
  position: absolute;
  inset: 2px;
  background: rgba(10, 10, 10, 0.9);
  border-radius: 13px;
  z-index: -1;
}

.achievement-icon i {
  color: #64ffda;
  z-index: 1;
}

.achievement-content {
  flex: 1;
  position: relative;
}

.achievement-content h3 {
  color: #64ffda;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.achievement-issuer {
  color: #1de9b6;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.achievement-date {
  color: #b0b0b0;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.achievement-content p {
  color: #d0d0d0;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.achievement-badge {
  position: absolute;
  top: 0;
  right: 0;
}

.badge-text {
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  color: #0a0a0a;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Achievement card variations */
.achievement-card:nth-child(3n + 1) .achievement-icon {
  background: linear-gradient(45deg, #ff6b6b, #ee5a5a);
}

.achievement-card:nth-child(3n + 1) .achievement-icon i {
  color: #ff6b6b;
}

.achievement-card:nth-child(3n + 1) .achievement-content h3 {
  color: #ff6b6b;
}

.achievement-card:nth-child(3n + 1) .badge-text {
  background: linear-gradient(45deg, #ff6b6b, #ee5a5a);
}

.achievement-card:nth-child(3n + 2) .achievement-icon {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

.achievement-card:nth-child(3n + 2) .achievement-icon i {
  color: #4ecdc4;
}

.achievement-card:nth-child(3n + 2) .achievement-content h3 {
  color: #4ecdc4;
}

.achievement-card:nth-child(3n + 2) .badge-text {
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
}

.achievement-card:nth-child(3n + 3) .achievement-icon {
  background: linear-gradient(45deg, #ffd93d, #ffcd3c);
}

.achievement-card:nth-child(3n + 3) .achievement-icon i {
  color: #ffd93d;
}

.achievement-card:nth-child(3n + 3) .achievement-content h3 {
  color: #ffd93d;
}

.achievement-card:nth-child(3n + 3) .badge-text {
  background: linear-gradient(45deg, #ffd93d, #ffcd3c);
}
/* Contact Section */
.contact {
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(45deg, #64ffda, #1de9b6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(100, 255, 218, 0.2);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(100, 255, 218, 0.2);
}

.contact-item i {
  font-size: 2.5rem;
  color: #64ffda;
  margin-bottom: 1rem;
}

.contact-item h3 {
  color: #64ffda;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: #d0d0d0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #64ffda;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(100, 255, 218, 0.3);
  border-radius: 50%;
  color: #64ffda;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #64ffda;
  color: #0a0a0a;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(100, 255, 218, 0.4);
}

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

.fade-in {
  animation: fadeInUp 1s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 60px !important;
    margin-right: 0 !important;
  }

  .timeline-marker {
    left: 20px;
    transform: translateX(-50%);
  }

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

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  section {
    padding: 4rem 1rem 2rem;
  }
}

/* Scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

body {
  font-family: 'Arial', sans-serif;
  background-color: #f5f5f5;
  padding: 20px 0;
}

.footer {
  background-color: #172337;
  color: #ffffff;
  padding: 40px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 30px;
}

.footer-section h3 {
  color: #878787;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 8px;
}

.footer-section ul li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #2874f0;
}

.contact-info {
  background-color: #1e293b;
  padding: 20px;
  border-radius: 6px;
  margin-top: 20px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.contact-column h4 {
  color: #878787;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.contact-column p {
  color: #ffffff;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 5px;
}

.social-section {
  margin-top: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-links a {
  width: 32px;
  height: 32px;
  background-color: #334155;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.social-links a:hover {
  background-color: #2874f0;
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
}

.footer-bottom {
  border-top: 1px solid #334155;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #2874f0;
}

.footer-bottom-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.copyright {
  color: #878787;
  font-size: 12px;
}

.tech-stack {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.tech-badge {
  background-color: #334155;
  color: #ffffff;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .footer-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .contact-row {
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-sections {
    grid-template-columns: 1fr;
  }
}
