/*hero section */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #0d0d0d; /* darker background */
  display: flex;
  align-items: center;
  justify-content: center;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  text-align: center;
  padding: 0 20px;
  animation: fadeIn 1.5s ease-out forwards;
  opacity: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 1px;
  word-wrap: break-word;
}

.hero-subtitle {
  font-weight: 500;
  font-size: 1.25rem;
  color: #b0aefb;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-content p {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 700px;
  line-height: 1.6;
}

.hero-button {
  background-color: #6610f2;
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(102, 16, 242, 0.4);
  animation: pulse 2.5s infinite ease-in-out;
  z-index: 1;
  position: relative;
}

.hero-button:hover {
  background-color: #5120c0;
  transform: translateY(-3px);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(102, 16, 242, 0.4);
  }
  50% {
    box-shadow: 0 0 18px rgba(102, 16, 242, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(102, 16, 242, 0.4);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-content p {
    font-size: 1rem;
  }
}

/* hero section */

/* about */

.about-section {
  background-color: #f4f4f8;
  padding: 80px 20px;
  color: #1a1a1a;
  border-top: 4px solid #6610f2;
}

.about-container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  gap: 50px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.about-image img {
  max-width: 450px;
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #6610f2;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  font-weight: 500;
  color: #333333;
  margin-bottom: 15px;
}

@media (max-width: 992px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {

  .about-text h2 {
    font-size: 1.8rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-image img {
    max-width: 350px;
    margin: 0 auto;
    display: block;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/*skills section*/
.skills-section {
  padding: 50px 40px;
  background-color: #f2f0fb;
  border-top: 4px solid #6610f2;
  text-align: center;
}

.section-title {
  font-size: 2.2rem;
  color: #6610f2;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.skills-intro {
  max-width: 700px;
  margin: 0 auto 60px auto;
  font-weight: 500;
  letter-spacing: 0.05rem;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.6;
}

.skills-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: #201e3a;
  margin: 60px 0 40px;
  position: relative;
  display: inline-block;
}

.skills-subtitle::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #6610f2, #a855f7);
  border-radius: 2px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 30px;
  justify-items: center;
}

.skill-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.svg-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
}
.svg-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.skill-card span {
  font-weight: 500;
  font-size: 1.05rem;
  color: #333;
}

.fade-in-up-skills {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up-skills.visible {
  opacity: 1;
  transform: translateY(0);
}

.skill-desc {
  font-size: 0.9rem;
  color: #444;
  margin-top: 8px;
  text-align: center;
  line-height: 1.5;
}

.skill-desc em {
  font-size: 0.8rem;
  color: #888;
  display: block;
  margin-top: 4px;
}

.animated-desc {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
}

.skill-card:nth-child(1) .animated-desc {
  animation-delay: 0.1s;
}
.skill-card:nth-child(2) .animated-desc {
  animation-delay: 0.2s;
}
.skill-card:nth-child(3) .animated-desc {
  animation-delay: 0.3s;
}
.skill-card:nth-child(4) .animated-desc {
  animation-delay: 0.4s;
}
.skill-card:nth-child(5) .animated-desc {
  animation-delay: 0.5s;
}
.skill-card:nth-child(6) .animated-desc {
  animation-delay: 0.6s;
}
.skill-card:nth-child(7) .animated-desc {
  animation-delay: 0.7s;
}
.skill-card:nth-child(8) .animated-desc {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*contact cta*/
.contact-cta {
  background: linear-gradient(145deg, #f9f9fb, #e8e8f0);
  padding: 50px 20px;
  text-align: center;
  color: #1e1e1e;
  border-top: 2px solid #6610f2;
  box-shadow: 0 8px 25px rgba(102, 16, 242, 0.15);
  position: relative;
  overflow: hidden;
}

.cta-content h2 {
  font-size: 2.4rem;
  margin-bottom: 25px;
  font-weight: 700;
  letter-spacing: 1.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6610f2;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #444;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-buttons {
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-button {
  padding: 16px 36px;
  background-color: #6610f2;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 0 15px rgba(102, 16, 242, 0.5);
  transition: background-color 0.3s ease, transform 0.2s ease,
    box-shadow 0.3s ease;
  display: inline-block;
  min-width: 180px;
  text-align: center;
}

.cta-button:hover {
  background-color: #4b0db8;
  transform: translateY(-4px);
  box-shadow: 0 0 25px rgba(75, 13, 184, 0.7);
}

.cta-button.secondary {
  background-color: #f5f5f5;
  color: #6610f2;
  box-shadow: none;
  border: 2px solid #6610f2;
  font-weight: 600;
}

.cta-button.secondary:hover {
  background-color: #6610f2;
  color: white;
  box-shadow: 0 0 20px rgba(102, 16, 242, 0.6);
  transform: translateY(-4px);
}

@media (max-width: 600px) {
  .cta-content h2 {
    flex-direction: column;
    font-size: 1.6rem;
    gap: 8px;
    text-align: center;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .skills-subtitle{
    font-size: 1.6rem;
  }
}

/* Animation για fade in up */
.fade-in-up-cta {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
