* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #0a0418;
  color: #fff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

.navbar {
  padding: 1.5rem 0;
  background-color: rgba(10, 4, 24, 0.95) !important;
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-scrolled {
  background-color: rgba(10, 4, 24, 0.98) !important;
  box-shadow: 0 2px 20px rgba(110, 59, 255, 0.1);
}

.navbar-nav .nav-link {
  color: #ffffff;
  margin: 0 1rem;
  font-weight: 400;
  transition: all 0.3s;
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: #6e3bff;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 50%;
  background-color: #6e3bff;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.social-icons a {
  color: #fff;
  margin-right: 1rem;
  font-size: 1.5rem;
  transition: all 0.3s;
}

.social-icons a:hover {
  color: #6e3bff;
  transform: translateY(-2px);
}

.hero-section {
  padding: 8rem 0 5rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 30% 20%, #1a0b3e, #0a0418, #150b30);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%236e3bff" opacity="0.1"/></svg>');
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.hero-heading {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(45deg, #6e3bff, #9d4edd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text {
  color: #a0a0a0;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-button {
  background: linear-gradient(45deg, #6e3bff, #5c2aef);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(110, 59, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(110, 59, 255, 0.6);
}

.profile-image {
  width: 100%;
  max-width: 400px;
  border-radius: 50%;
  margin: 0 auto;
  display: block;
  box-shadow: 0 0 50px rgba(110, 59, 255, 0.3);
  transition: all 0.3s ease;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 70px rgba(110, 59, 255, 0.5);
}

.work-experience-section {
  background-color: #0a0418;
  padding: 5rem 0;
  position: relative;
}

.section-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background: linear-gradient(45deg, #6e3bff, #9d4edd);
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.work-card {
  background: linear-gradient(145deg, #150b30, #1a0b3e);
  border-radius: 20px;
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
  border: 1px solid rgba(110, 59, 255, 0.1);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.work-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(45deg, #6e3bff, #9d4edd);
  opacity: 0;
  transition: all 0.3s ease;
}

.work-card:hover::before {
  opacity: 1;
}

.work-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(110, 59, 255, 0.2);
}

.work-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 600;
}

.work-subtitle {
  color: #a0a0a0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.icon-image {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.learn-more-btn {
  background-color: transparent;
  border: 2px solid #6e3bff;
  color: #6e3bff;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  transition: all 0.3s;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.learn-more-btn:hover {
  background-color: #6e3bff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(110, 59, 255, 0.4);
}

.typer {
  color: #6e3bff !important;
  font-weight: 700;
}

.skills-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #0a0418, #150b30);
}

.logo-container {
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

.logo-container::before,
.logo-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.logo-container::before {
  left: 0;
  background: linear-gradient(to right, #0a0418, transparent);
}

.logo-container::after {
  right: 0;
  background: linear-gradient(to left, #0a0418, transparent);
}

.logo {
  display: flex;
  gap: 3rem;
  animation: infinite-scroll 30s linear infinite;
  align-items: center;
}

.logo img {
  height: 60px;
  width: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.logo img:hover {
  filter: grayscale(0%);
  transform: scale(1.1);
}

@keyframes infinite-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

.about-section {
  padding: 5rem 0;
  background: radial-gradient(circle at 70% 80%, #1a0b3e, #0a0418);
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #a0a0a0;
}

.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #150b30, #0a0418);
  text-align: center;
}

.contact-form {
  background: linear-gradient(145deg, #1a0b3e, #150b30);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid rgba(110, 59, 255, 0.1);
  max-width: 600px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(110, 59, 255, 0.2);
}

.form-control {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(110, 59, 255, 0.2);
  color: #fff;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1rem;
  width: 100%;
  transition: all 0.3s ease;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #6e3bff;
  box-shadow: 0 0 0 0.2rem rgba(110, 59, 255, 0.25);
  color: #fff;
  outline: none;
}

.form-control::placeholder {
  color: #888;
}

.form-label {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  text-align: left;
  display: block;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.contact-form .btn {
  background: linear-gradient(45deg, #6e3bff, #5c2aef);
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(110, 59, 255, 0.4);
  position: relative;
  overflow: hidden;
  width: 100%;
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(110, 59, 255, 0.6);
}

.contact-form .btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: all 0.5s;
}

.contact-form .btn:hover::before {
  left: 100%;
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .navbar-nav .nav-link {
    margin: 0 0.5rem;
  }

  .contact-form {
    padding: 2rem;
  }
}

.btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.alert {
  border-radius: 10px;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.alert-success {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
}

.alert-danger {
  background: linear-gradient(135deg, #f8d7da, #f1aeb5);
  color: #721c24;
}
