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

:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #111318;
  --text-primary: #e6e7eb;
  --text-secondary: #858b97;
  --accent-primary: #64ffda;
  --accent-secondary: #7928ca;
  --card-bg: rgba(22, 24, 29, 0.7);
  --nav-bg: rgba(10, 12, 16, 0.8);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background: linear-gradient(
    to bottom right,
    var(--bg-primary),
    var(--bg-secondary)
  );
  min-height: 100vh;
}

nav {
  background: var(--nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

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

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

nav a {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: color 0.3s;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--accent-primary);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

nav a:hover {
  color: var(--accent-color);
}

header {
  height: 100vh;
  background: radial-gradient(
    circle at top right,
    rgba(121, 40, 202, 0.15),
    rgba(100, 255, 218, 0.15),
    transparent 50%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 60px;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  padding: 2rem;
  gap: 3rem;
}

.hero-left {
  flex: 1;
  text-align: left;
}

.hero-right {
  flex: 1;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.hero-left h1 {
  font-size: 4.5rem;
  font-weight: 800;
  background: linear-gradient(
    45deg,
    var(--text-primary),
    var(--accent-primary)
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-left h1 .highlight {
  animation: glow 3s infinite;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  font-weight: 500;
}

.hero-right h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  margin-top: 0;
  text-align: left;
}

.hero-right p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  margin-top: 0;
}

.hero-right .skills {
  margin-top: auto;
}

.hero-right .skills h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 0;
}

.highlight {
  color: var(--accent-primary);
}

section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--text-primary);
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.skills-container .skill-category:nth-child(4),
.skills-container .skill-category:nth-child(5) {
  grid-column: span 1;
}

.skills-container .skill-category:nth-child(4) {
  grid-column: 1 / 2;
  justify-self: end;
  margin-right: 1rem;
}

.skills-container .skill-category:nth-child(5) {
  grid-column: 2 / 3;
  justify-self: start;
  margin-left: 1rem;
}

.skill-category {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.skill-category h3 {
  color: var(--accent-primary);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.testimonial-container {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--card-bg);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.quote-icon {
  color: var(--accent-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.author-info p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  gap: 0.3rem;
}

.rating i {
  color: #ffd700;
  font-size: 1.2rem;
}

.services-intro {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.developer-intro {
  font-size: 1.1rem;
  color: var(--accent-primary);
  font-weight: 600;
  margin: 0;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.service-card {
  background: var(--card-bg);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  text-align: center;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent-primary);
  box-shadow: 0 15px 30px rgba(100, 255, 218, 0.1);
}

.service-icon {
  color: var(--accent-primary);
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.skill-tags span {
  background: rgba(100, 255, 218, 0.1);
  border: 1px solid var(--accent-primary);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--accent-primary);
  animation: blink 4s infinite;
  animation-delay: calc(var(--i) * 0.5s);
}

.education-card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.education-card h3 {
  color: #007bff;
  margin-bottom: 1rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.project-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-origin: center;
  will-change: transform;
  perspective: 1000px;
}

.project-card:hover {
  transform: translateY(-15px) scale(1.02);
  border-color: var(--accent-primary);
}

.project-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s;
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(100, 255, 218, 0.9),
    rgba(121, 40, 202, 0.9)
  );
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(3px);
  flex-direction: column;
}

.project-card:hover .project-overlay {
  opacity: 1;
  animation: glow 2s infinite;
}

.project-card:hover .project-img {
  transform: scale(1.1);
}

.project-link {
  color: white;
  text-decoration: none;
  padding: 0.8rem 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
}

.project-link:hover {
  background: white;
  color: #007bff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.project-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  color: #2c3e50;
}

.project-card p {
  padding: 0 1.5rem 1rem;
  color: #666;
}

.project-tags {
  padding: 0 1.5rem 1.5rem;
}

.project-tags span {
  background-color: #e3f2fd;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: #1565c0;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.project-content {
  position: relative;
  z-index: 1;
  background: var(--card-bg);
  height: 100%;
  border-radius: inherit;
}

.project-details {
  padding: 1.5rem;
  background: linear-gradient(
    to top,
    var(--card-bg) 0%,
    rgba(22, 24, 29, 0.8) 100%
  );
}

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

.achievement-card {
  text-align: center;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  transform-origin: center;
  will-change: transform;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.achievement-card:hover {
  transform: translateY(-5px);
}

.cta-container {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 2rem;
  background: linear-gradient(
    135deg,
    var(--card-bg) 0%,
    rgba(100, 255, 218, 0.05) 100%
  );
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.cta-container h2 {
  font-size: 3rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  background: linear-gradient(
    45deg,
    var(--text-primary),
    var(--accent-primary)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

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

.cta-feature {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.cta-feature:hover {
  transform: translateY(-5px);
  border-color: var(--accent-primary);
}

.cta-feature i {
  font-size: 2.5rem;
  color: var(--accent-primary);
  margin-bottom: 1rem;
}

.cta-feature h3 {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.cta-feature p {
  color: var(--text-secondary);
  font-size: 1rem;
}

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

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.cta-button.primary {
  background: linear-gradient(
    45deg,
    var(--accent-primary),
    var(--accent-secondary)
  );
  color: white;
  border-color: var(--accent-primary);
}

.cta-button.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(100, 255, 218, 0.3);
}

.cta-button.secondary {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--text-primary);
}

.cta-button.secondary:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
  transform: translateY(-3px);
}

.achievement-card i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 1rem;
  animation: glow 3s infinite;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.social-links a {
  color: var(--text-primary);
  font-size: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-links a:hover {
  color: var(--accent-primary);
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: var(--bg-secondary);
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .nav-content {
    flex-direction: column;
    padding: 0.5rem;
    gap: 0.5rem;
  }

  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1rem;
  }

  nav li {
    flex: 0 1 auto;
  }

  nav a {
    font-size: 0.85rem;
    white-space: nowrap;
  }

  .hero-container {
    flex-direction: column;
    gap: 3rem;
    text-align: center;
    padding: 1rem;
    align-items: center;
  }

  .hero-left {
    text-align: center;
  }

  .hero-right {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 2rem;
  }

  .hero-left h1 {
    font-size: 3rem;
    margin-top: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .hero-right h2 {
    font-size: 2rem;
    text-align: left;
    margin-bottom: 1.5rem;
    margin-top: 0;
  }

  .hero-right p {
    font-size: 1rem;
    text-align: left;
    margin-top: 0;
  }

  .hero-right .skills {
    margin-top: 0;
  }

  .project-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

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

  .skills-container {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .skills-container .skill-category:nth-child(4),
  .skills-container .skill-category:nth-child(5) {
    grid-column: span 1;
  }

  .testimonial-card {
    padding: 2rem;
  }

  .testimonial-text {
    font-size: 1.1rem;
  }

  .services-container {
    grid-template-columns: 1fr;
  }

  .services-description {
    font-size: 1.1rem;
  }

  .developer-intro {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-left h1 {
    font-size: 2.5rem;
    margin-top: 3rem;
  }

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

  .hero-right h2 {
    font-size: 1.8rem;
  }

  .hero-right p {
    font-size: 0.95rem;
  }

  .hero-right {
    margin: 0 1.5rem;
    text-align: left;
    align-items: flex-start;
  }

  .cta-container h2 {
    font-size: 2rem;
  }

  .cta-description {
    font-size: 1rem;
  }

  .cta-features {
    display: none;
  }

  .cta-button {
    max-width: 260px;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .service-card {
    padding: 2rem;
  }

  .service-icon {
    font-size: 2.5rem;
  }

  .services-description {
    font-size: 1rem;
  }

  .developer-intro {
    font-size: 0.95rem;
  }

  .cta-container h2 {
    font-size: 2.5rem;
  }

  .cta-description {
    font-size: 1.1rem;
  }

  .cta-features {
    display: none;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
}

/* Add animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
}

.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.project-card,
.achievement-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-image:hover .project-details,
.achievement-card:hover {
  background: linear-gradient(
    135deg,
    var(--accent-primary) 0%,
    var(--accent-secondary) 100%
  );
  opacity: 0.1;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.2);
  }
  50% {
    text-shadow: 0 0 15px rgba(100, 255, 218, 0.4),
      0 0 20px rgba(121, 40, 202, 0.2);
  }
  100% {
    text-shadow: 0 0 5px rgba(100, 255, 218, 0.2);
  }
}

.blink {
  animation: blink 2s infinite;
}

.glow-text {
  animation: glow 2s infinite;
}

.download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.download-link {
  flex: 1 1 calc(50% - 1rem); /* Adjusted width */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  color: white;
  text-decoration: none;
}

.download-link:hover {
  background: white;
  color: #007bff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.download-link i {
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

.coming-soon {
  background: rgba(255, 193, 7, 0.1) !important;
  border-color: rgba(255, 193, 7, 0.5) !important;
  color: #ffc107 !important;
  cursor: not-allowed;
}

.coming-soon:hover {
  background: rgba(255, 193, 7, 0.2) !important;
  border-color: #ffc107 !important;
  transform: none !important;
  box-shadow: none !important;
}
