/* Reset & Font */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(-45deg, #1d0124, #4a00e0, #00221d, #8e2de2);
  background-size: 400% 400%;
  animation: gradientShift 12s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  color: #fff;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.profile-pic {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 4px solid white;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.name {
  font-size: 2.8rem;
  font-weight: 700;
  color: white;
  margin-top: 10px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.role {
  font-size: 1.6rem;
  font-weight: 500;
  color: #ccc;
  min-height: 40px;
}

.subtitle {
  font-size: 1rem;
  font-weight: 400;
  color: #c4c4c4;
  margin-top: -10px;
  max-width: 360px;
  line-height: 1.5;
}

.explore-btn {
  margin-top: 20px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: bold;
  background: linear-gradient(90deg, #8e2de2, #4a00e0);
  border: none;
  border-radius: 30px;
  color: white;
  box-shadow: 0 0 14px rgba(142, 45, 226, 0.6);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.explore-btn:hover {
  background: linear-gradient(90deg, #4a00e0, #8e2de2);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(142, 45, 226, 0.8);
}

/* Responsive */
@media (max-width: 600px) {
  .name {
    font-size: 2.2rem;
  }

  .role {
    font-size: 1.2rem;
  }

  .subtitle {
    font-size: 0.95rem;
  }

  .explore-btn {
    padding: 10px 24px;
    font-size: 0.95rem;
  }
}

.about {
  padding: 100px 20px;
  text-align: center;
  background: linear-gradient(-45deg, #1d0124, #4a00e0, #00221d, #8e2de2);
  background-size: 600% 600%;
  animation: gradientMove 15s ease infinite;
  position: relative;
  z-index: 2;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.about-container {
  max-width: 900px;
  margin: auto;
}

.about h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.about p {
  font-size: 1rem;
  color: #cfcfcf;
  line-height: 1.7;
  margin-bottom: 16px;
}

.achievements {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.achievement-card {
  background: #1d1d1d;
  border: 1px solid #333;
  padding: 20px 30px;
  border-radius: 12px;
  width: 250px;
  transition: all 0.3s ease;
}

.achievement-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 20px rgba(142, 45, 226, 0.2);
}

.achievement-card h3 {
  font-size: 1.8rem;
  color: #8e2de2;
  margin-bottom: 8px;
}

.achievement-card p {
  font-size: 0.95rem;
  color: #ccc;
}

.services {
  padding: 80px 20px;
  color: white;
  text-align: center;
  background:linear-gradient(-45deg, #1d0124, #4a00e0, #00221d, #8e2de2);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.services-container {
  max-width: 1000px;
  margin: auto;
}

.services h2 {
  font-size: 2.2rem;
  color: #ffffff;
  margin-bottom: 20px;
}

.services-subtext {
  font-size: 1rem;
  color: #cfcfcf;
  margin-bottom: 40px;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.service-card {
  background: #1d1d1d;
  border: 1px solid #333;
  padding: 24px 28px;
  border-radius: 12px;
  width: 260px;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px rgba(142, 45, 226, 0.25);
}

.service-card h3 {
  font-size: 1.4rem;
  color: #8e2de2;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.95rem;
  color: #ccc;
}

.testimonials {
  padding: 80px 20px;
  color: white;
  text-align: center;
  background:linear-gradient(-45deg, #1d0124, #4a00e0, #00221d, #8e2de2);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.testimonials-container {
  max-width: 1000px;
  margin: auto;
}

.testimonials h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: #ffffff;
}

.testimonial-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.testimonial-card {
  background: rgba(30, 30, 30, 0.9);
  border: 1px solid #333;
  padding: 25px 30px;
  border-radius: 14px;
  max-width: 400px;
  flex: 1 1 300px;
  box-shadow: 0 0 15px rgba(142, 45, 226, 0.1);
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(142, 45, 226, 0.25);
}

.testimonial-card p {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 16px;
  line-height: 1.6;
}

.testimonial-card h3 {
  font-size: 1.1rem;
  color: #8e2de2;
  font-weight: 500;
}

.projects {
   padding: 80px 20px;
  color: white;
  text-align: center;
  background:linear-gradient(-45deg, #1d0124, #4a00e0, #00221d, #8e2de2);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.projects h2 {
  font-size: 2.2rem;
  margin-bottom: 40px;
}

.project-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.project-card {
  background: #1d1d1d;
  border: 1px solid #333;
  padding: 24px 28px;
  border-radius: 12px;
  width: 300px;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 18px rgba(142, 45, 226, 0.25);
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #8e2de2;
}

.project-card p {
  font-size: 0.95rem;
  color: #ccc;
}

.connect {
   padding: 80px 20px;
  color: white;
  text-align: center;
  background:linear-gradient(-45deg, #1d0124, #4a00e0, #00221d, #8e2de2);
  background-size: 400% 400%;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.connect h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.senpai-board {
  position: relative;
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.senpai-img {
  max-width: 100%;
  width: 350px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.service-tags {
  position: absolute;
  top: 20px;
  display: flex;
  gap: 16px;
}

.service-tags span {
  background: rgba(0, 0, 0, 0.6);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid #999;
  backdrop-filter: blur(5px);
}

.senpai-board {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.senpai-img {
  max-width: 100%;
  width: 600px;
  border-radius: 12px;
  box-shadow: 0 0 30px rgba(0,0,0,0.3);
}

.contact-form-on-board {
  position: absolute;
  top: 17%;
  left: 46%; /* better left shift */
  transform: translateX(-50%);
  width: 55%; /* smaller width */
  max-width: 320px; /* tighter max */
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 10px;
  background: transparent;
}

.contact-form-on-board input,
.contact-form-on-board textarea {
  padding: 10px 14px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

.contact-form-on-board textarea {
  resize: vertical;
  min-height: 100px;
}

.contact-form-on-board button {
  padding: 12px;
  background: #8e2de2;
  color: white;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form-on-board button:hover {
  background: #a444f2;
}

.footer {
   padding: 40px 10px;
  color: white;
  text-align: center;
  background:linear-gradient(-45deg, #1d0124, #4a00e0, #00221d, #8e2de2);
  background-size: 100% 100%;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 30%;
  }
  20% {
    background-position: 50% 20%;
  }
  30% {
    background-position: 0% 25%;
  }
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 30px;
}

.social-icons svg {
  transition: transform 0.3s ease, opacity 0.3s ease;
  cursor: pointer;
}

.social-icons svg:hover {
  transform: scale(1.15);
  opacity: 0.85;
  filter: drop-shadow(0 0 5px #9a00ff); /* optional glowing effect */
}

.footer {
   padding: 80px 20px;
  color: white;
  text-align: center;
  background:linear-gradient(-45deg, #1d0124, #4a00e0, #00221d, #8e2de2);
  background-size: 150% 150%;
  animation: gradientMove 15s ease infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.footer-line {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  animation: fadeInUp 1s ease;
  color: #ccc;
}

.checkmark {
  font-size: 1.2rem;
  color: #8e2de2;
}