:root {
  /* Dark mode palette */
  --bg-color: #0f0c20;
  --surface-color: #1a1635;
  --surface-hover: #261f4c;
  
  /* Purple Accents */
  --primary-color: #a855f7; /* Vibrant purple */
  --secondary-color: #d8b4fe; /* Light purple */
  --accent-color: #c084fc;
  --glow-color: rgba(168, 85, 247, 0.4);
  
  /* Text */
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-hover);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* --- Parallax Hero Section --- */
.hero-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-color);
}

.parallax-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120%; /* Extra height for scroll allowance */
  background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  z-index: 0;
  opacity: 0.15;
  /* Transform will be applied via JS */
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 2rem;
  background: rgba(15, 12, 32, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--glow-color);
}

.profile-img-container {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem auto;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, var(--primary-color), var(--surface-color));
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--bg-color);
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #fff, var(--secondary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--primary-color);
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-text {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
}

/* --- General Sections --- */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--text-primary);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  background: var(--primary-color);
  bottom: -10px;
  left: 25%;
  border-radius: 2px;
}

/* --- Cards (Bootstrap Customization) --- */
.custom-card {
  background-color: var(--surface-color);
  border: 1px solid rgba(168, 85, 247, 0.1);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(168, 85, 247, 0.2);
  border-color: rgba(168, 85, 247, 0.5);
}

.custom-card .card-body {
  padding: 2rem;
}

.custom-card .card-title {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.custom-card .card-text {
  color: var(--text-secondary);
}

.badge-custom {
  background-color: rgba(168, 85, 247, 0.1);
  color: var(--secondary-color);
  border: 1px solid rgba(168, 85, 247, 0.3);
  font-weight: 500;
  padding: 0.5em 0.8em;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* --- Full-Stack Section --- */
.integration-box {
  background: linear-gradient(145deg, var(--surface-color), var(--bg-color));
  border: 1px solid rgba(168, 85, 247, 0.2);
  border-radius: 20px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.integration-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: var(--primary-color);
  filter: blur(80px);
  opacity: 0.3;
}

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

/* --- Skills & Contact --- */
.skill-icon-wrapper {
  background-color: var(--surface-color);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1;
}

.skill-icon-wrapper:hover {
  background-color: var(--surface-hover);
  transform: scale(1.05);
  border-color: var(--primary-color);
  box-shadow: 0 0 15px var(--glow-color);
}

.skill-icon-wrapper i {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.skill-icon-wrapper:hover i {
  color: var(--primary-color);
}

/* Form Styles */
.custom-form .form-control {
  background-color: var(--surface-color);
  border: 1px solid rgba(168, 85, 247, 0.2);
  color: var(--text-primary);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}

.custom-form .form-control:focus {
  background-color: var(--surface-hover);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(168, 85, 247, 0.25);
}

.custom-form .form-control::placeholder {
  color: rgba(148, 163, 184, 0.5);
}

.btn-primary-custom {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 0.8rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary-custom:hover {
  background-color: var(--accent-color);
  box-shadow: 0 0 15px var(--glow-color);
  transform: translateY(-2px);
}

/* Footer */
footer {
  background-color: var(--surface-color);
  border-top: 1px solid rgba(168, 85, 247, 0.1);
  padding: 2rem 0;
  text-align: center;
  color: var(--text-secondary);
}

/* Utils */
.text-purple {
  color: var(--primary-color) !important;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .parallax-bg {
    /* When parallax is disabled via JS, this class handles the static fallback */
    height: 100%;
    opacity: 0.3;
  }
}
