:root {
  /* Dark Neon Gradient Palette */
  --bg-deep: #0a0714;
  --primary-glow: #8176AF;
  --primary-light: #C0B7E8;
  --blue-neon: #3a60e9;
  
  --gradient-btn: linear-gradient(90deg, #8176AF 0%, #C0B7E8 100%);
  --gradient-card: linear-gradient(135deg, rgba(129, 118, 175, 0.15) 0%, rgba(192, 183, 232, 0.05) 100%);
  
  --text-light: #FFFFFF;
  --text-muted: #D1CDE0;
  
  --font-family: 'Montserrat', sans-serif;
  --shadow-glow: 0 0 15px rgba(129, 118, 175, 0.4);
  --shadow-glow-hover: 0 0 25px rgba(192, 183, 232, 0.8), 0 0 50px rgba(192, 183, 232, 0.4);
  
  --border-radius-lg: 30px;
  --border-radius-md: 15px;
  --border-radius-pill: 50px;
}

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

body {
  background-color: var(--bg-deep);
  color: var(--text-muted);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
  scroll-behavior: smooth;
  position: relative;
}

/* BLURRED GRADIENTS (ORBS) FOR BACKGROUND */
body::before {
  content: "";
  position: fixed; top: -10%; left: -10%; width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(129, 118, 175, 0.25) 0%, transparent 60%);
  filter: blur(100px); z-index: -1; pointer-events: none;
}

body::after {
  content: "";
  position: fixed; bottom: -20%; right: -10%; width: 60vw; height: 60vw;
  background: radial-gradient(circle, rgba(58, 96, 233, 0.2) 0%, transparent 60%);
  filter: blur(120px); z-index: -1; pointer-events: none;
}

h1, h2, h3, h4, h5, h6 { color: var(--text-light); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: var(--text-light); transition: all 0.3s ease; }
a:hover { color: var(--primary-light); text-shadow: 0 0 10px rgba(192, 183, 232, 0.5); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }

/* HEADER */
header { display: flex; justify-content: space-between; align-items: center; padding: 30px 20px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 10; }
.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 2px;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 0 8px rgba(129, 118, 175, 0.2));
  display: inline-flex;
}
.logo:hover {
  transform: scale(1.08) rotate(-3deg);
  filter: drop-shadow(0 0 15px rgba(192, 183, 232, 0.7)) brightness(1.2);
}
.logo-img { width: 50px; height: 50px; filter: drop-shadow(0 0 10px rgba(129,118,175,0.8)); }
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0%; height: 2px; background: var(--gradient-btn); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; box-shadow: 0 0 10px var(--primary-light); }

/* PILL BUTTONS WITH GLOW */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 40px; border-radius: var(--border-radius-pill);
  font-weight: 700; font-size: 0.9rem; text-transform: uppercase;
  color: var(--bg-deep); background: var(--gradient-btn);
  border: none; cursor: pointer; transition: all 0.3s ease;
  z-index: 1; position: relative; overflow: hidden;
  box-shadow: var(--shadow-glow);
}
.btn::before {
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, #C0B7E8 0%, #8176AF 100%);
  z-index: -1; transition: opacity 0.3s ease; opacity: 0;
}
.btn:hover::before { opacity: 1; }
.btn:hover { transform: scale(1.05); box-shadow: var(--shadow-glow-hover); }

.btn-outline { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 2px solid rgba(192, 183, 232, 0.5); color: var(--text-light); box-shadow: none; }
.btn-outline:hover { background: var(--gradient-btn); color: var(--bg-deep); border-color: transparent; box-shadow: var(--shadow-glow-hover); }

/* GLOBALS & SCROLL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.8s ease; }
.reveal-left.active { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.8s ease; }
.reveal-right.active { opacity: 1; transform: translateX(0); }

@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0); } }
.float-anim { animation: float 6s ease-in-out infinite; }

/* GLASSMORPHISM CARDS */
.card, .quadrant-card, .mini-card, .project-card, .blog-card, .resume-section, .contact-wrapper, .service-card {
  background: var(--gradient-card);
  backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(192, 183, 232, 0.15);
  border-radius: var(--border-radius-lg); padding: 30px;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: all 0.4s ease;
  position: relative; overflow: hidden;
}

.card:hover, .project-card:hover, .blog-card:hover, .service-card:hover { 
  transform: translateY(-10px) scale(1.02); 
  box-shadow: 0 15px 40px rgba(0,0,0,0.5), 0 0 20px rgba(129, 118, 175, 0.2);
  border: 1px solid rgba(192, 183, 232, 0.4);
}

.service-card::after, .blog-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gradient-btn);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

/* COMPONENT: PROGRESS BAR */
.skill-bar-wrapper { margin-bottom: 25px; }
.skill-meta { display: flex; justify-content: space-between; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; color: var(--text-light); }
.skill-meta .skill-level { font-weight: 400; color: var(--primary-light); font-size: 0.8rem; text-shadow: 0 0 5px rgba(192,183,232,0.5); }
.progress-bg { background: rgba(0,0,0,0.3); height: 8px; border-radius: 10px; overflow: hidden; width: 100%; border: 1px solid rgba(192,183,232,0.1); }
.progress-fill { height: 100%; background: var(--gradient-btn); width: 0%; border-radius: 10px; transition: width 1.5s cubic-bezier(0.1, 0.7, 0.1, 1); box-shadow: 0 0 10px rgba(129, 118, 175, 0.8); }

/* COMPONENT: PILLS */
.tags-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.pill {
  padding: 8px 20px; background: rgba(129, 118, 175, 0.15); backdrop-filter: blur(5px);
  border: 1px solid rgba(192, 183, 232, 0.3); border-radius: var(--border-radius-pill); 
  font-size: 0.8rem; font-weight: 600; color: var(--text-light); transition: all 0.3s ease;
}
.pill:hover { transform: scale(1.05); background: rgba(129, 118, 175, 0.3); box-shadow: 0 0 15px rgba(129, 118, 175, 0.5); }

/* COMPONENT: TIMELINE */
.timeline { position: relative; margin: 40px 0; padding-left: 30px; border-left: 2px solid rgba(192, 183, 232, 0.2); }
.timeline::before {
  content: ''; position: absolute; left: -2px; top: 0; bottom: 0; width: 2px;
  background: var(--gradient-btn); transform-origin: top; transform: scaleY(0); transition: transform 2s ease;
  box-shadow: 0 0 10px rgba(129, 118, 175, 0.6);
}
.timeline.active::before { transform: scaleY(1); }
.timeline-item { position: relative; padding-bottom: 40px; margin-left: 20px; opacity: 0; transform: translateX(20px); transition: all 0.6s ease; }
.timeline-item::before {
  content: ''; position: absolute; left: -57px; top: 5px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg-deep); border: 2px solid var(--primary-light); transition: all 0.3s ease;
}
.timeline-item.active { opacity: 1; transform: translateX(0); }
.timeline-item.active::before { background: var(--primary-light); box-shadow: 0 0 15px var(--primary-light); transform: scale(1.2); }

.timeline-date { font-size: 0.8rem; color: var(--primary-light); font-weight: 600; margin-bottom: 5px; display: block; text-shadow: 0 0 5px rgba(192,183,232,0.4); }
.timeline-title { font-size: 1.2rem; color: var(--text-light); }
.timeline-subtitle { font-size: 0.9rem; font-style: italic; margin-bottom: 10px; display: block; }

/* COMPONENT: CIRCULAR HOVER IMAGE */
.circular-img-wrapper {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 40px rgba(129, 118, 175, 0.3); position: relative;
  border: 4px solid rgba(192, 183, 232, 0.3); margin: 0 auto;
  transition: all 0.5s ease;
}
.circular-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.circular-img-wrapper:hover { box-shadow: 0 0 60px rgba(192, 183, 232, 0.6); border-color: var(--primary-light); }
.circular-img-wrapper:hover img { transform: scale(1.1); }

/* GRIDS */
.grid-2x2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 30px; }

/* CONTACT FORM */
.form-group { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 20px; }
@media(min-width: 768px) { .form-group.split { grid-template-columns: 1fr 1fr; } }
.form-input {
  width: 100%; padding: 15px 25px; border-radius: var(--border-radius-md);
  background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px);
  border: 1px solid rgba(192, 183, 232, 0.2); color: var(--text-light); 
  font-size: 1rem; font-family: var(--font-family); transition: all 0.3s ease;
}
.form-input:focus { 
  outline: none; border-color: var(--primary-light); 
  background: rgba(255, 255, 255, 0.08); box-shadow: 0 0 20px rgba(192, 183, 232, 0.3); 
}
textarea.form-input { resize: vertical; min-height: 150px; }

/* FOOTER */
footer { padding: 40px 20px; text-align: center; border-top: 1px solid rgba(192, 183, 232, 0.1); margin-top: 80px; position: relative; z-index: 10; }

/* ==========================================================================
   GLOBAL RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {
  .grid-2x2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}

@media (max-width: 768px) {
  /* Header & Navigation */
  header {
    flex-direction: column;
    padding: 20px 10px;
    gap: 15px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 15px;
  }
  .nav-links a {
    font-size: 0.85rem;
  }
  
  /* Buttons */
  .btn {
    padding: 12px 25px;
    font-size: 0.85rem;
  }
  
  /* Forms */
  .form-group.split {
    grid-template-columns: 1fr;
  }
  
  /* Cards */
  .card, .quadrant-card, .mini-card, .project-card, .blog-card, .resume-section, .contact-wrapper, .service-card {
    padding: 20px;
  }
  
  /* Container Padding */
  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  /* Typography Adjustments */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.3rem; }
  
  /* Timeline */
  .timeline { padding-left: 20px; }
  .timeline::before { left: 0px; }
  .timeline-item { margin-left: 15px; }
  .timeline-item::before { left: -24px; width: 12px; height: 12px; }
  
  /* Navigation */
  .nav-links { gap: 8px 12px; }
  .nav-links a { font-size: 0.8rem; }
  
  /* Circular Images */
  .circular-img-wrapper { max-width: 200px; margin: 0 auto; }
}

/* ==========================================================================
   SERVICES & WORKFLOW SECTIONS (SHIFTED TO HOME PAGE)
   ========================================================================== */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; margin-bottom: 100px; }
.service-card { padding: 40px 30px; text-align: left; display: flex; flex-direction: column; gap: 15px; background: rgba(192, 183, 232, 0.03); backdrop-filter: blur(5px); border: 1px solid rgba(192, 183, 232, 0.1); border-radius: var(--border-radius-lg); transition: all 0.4s ease; }
.service-card:hover { transform: translateY(-8px); background: rgba(192, 183, 232, 0.08); border-color: var(--primary-light); box-shadow: 0 10px 25px rgba(129, 118, 175, 0.3); }
.service-icon { width: 65px; height: 65px; background: rgba(129, 118, 175, 0.1); border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; transition: all 0.4s ease; border: 1px solid rgba(192, 183, 232, 0.2); }
.service-icon svg { width: 32px; height: 32px; fill: var(--primary-light); }
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); background: rgba(129, 118, 175, 0.25); box-shadow: 0 0 20px rgba(129, 118, 175, 0.4); border-color: var(--primary-light); }
.service-card h3 { font-size: 1.45rem; color: var(--text-light); margin: 0; }
.service-bullets { list-style: none; padding: 0; margin: 0; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; flex-grow: 1; }
.service-bullets li { position: relative; padding-left: 20px; margin-bottom: 12px; }
.service-bullets li::before { content: '▹'; position: absolute; left: 0; color: var(--primary-light); font-weight: bold; font-size: 1.1rem; }

.section-header { text-align: center; margin-bottom: 60px; margin-top: 80px; }
.section-header h2 { font-size: 2.5rem; color: var(--text-light); text-transform: uppercase; margin-bottom: 15px; font-weight: 700; letter-spacing: 1px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

.workflow-container { display: flex; justify-content: space-between; position: relative; margin-bottom: 120px; gap: 20px; }
.workflow-line { position: absolute; top: 40px; left: 10%; right: 10%; height: 2px; background: rgba(192, 183, 232, 0.15); z-index: 0; }
.workflow-line::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--gradient-btn); transition: width 2s cubic-bezier(0.1, 0.7, 0.1, 1); box-shadow: 0 0 10px rgba(129, 118, 175, 0.6); }
.workflow-container.active .workflow-line::after { width: 100%; }

.workflow-step { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 10px; }
.step-number { width: 80px; height: 80px; margin: 0 auto 20px; background: var(--bg-deep); border: 2px solid rgba(192, 183, 232, 0.3); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--text-light); transition: all 0.4s ease; box-shadow: 0 0 20px rgba(0,0,0,0.5); }
.workflow-step:hover .step-number { border-color: var(--primary-light); box-shadow: 0 0 25px rgba(129, 118, 175, 0.6); color: var(--text-light); background: var(--gradient-btn); transform: scale(1.1); }
.step-title { font-size: 1.15rem; font-weight: 700; color: var(--text-light); margin-bottom: 10px; }
.step-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 800px) {
  .workflow-container { flex-direction: column; align-items: center; gap: 40px; }
  .workflow-line { display: none; }
  .workflow-step { max-width: 300px; }
}

.bottom-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; margin-bottom: 100px; }
@media (max-width: 900px) { .bottom-wrapper { grid-template-columns: 1fr; } }

.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-item { display: flex; align-items: flex-start; gap: 18px; background: rgba(255,255,255,0.015); padding: 25px; border-radius: var(--border-radius-md); border: 1px solid rgba(192, 183, 232, 0.05); transition: all 0.3s ease; }
.feature-item:hover { background: rgba(255,255,255,0.04); transform: translateX(8px); border-color: rgba(192, 183, 232, 0.2); box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
.feature-icon { color: var(--text-light); font-size: 1.25rem; font-weight: bold; background: var(--gradient-btn); width: 35px; height: 35px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 0 10px rgba(129, 118, 175, 0.5); }
.feature-text h4 { font-size: 1.15rem; color: var(--text-light); margin-bottom: 8px; margin: 0; }
.feature-text p { font-size: 0.95rem; color: var(--text-muted); margin: 0; line-height: 1.6; }

.impact-card { background: var(--gradient-card); border: 1px solid rgba(192, 183, 232, 0.2); border-radius: var(--border-radius-lg); padding: 50px 40px; text-align: center; box-shadow: 0 0 40px rgba(0,0,0,0.3); display: flex; flex-direction: column; justify-content: center; height: 100%; transition: transform 0.4s ease; position: relative; overflow: hidden; }
.impact-card::before { content: ''; position: absolute; top: -50px; right: -50px; width: 150px; height: 150px; background: var(--primary-light); filter: blur(80px); opacity: 0.2; }
.impact-card:hover { transform: translateY(-8px); border-color: var(--primary-light); box-shadow: 0 15px 40px rgba(129, 118, 175, 0.2); }
.impact-stat { font-size: 3.5rem; font-weight: 700; color: var(--text-light); margin-bottom: 5px; text-shadow: 0 0 20px rgba(192, 183, 232, 0.4); }
.impact-label { font-size: 1rem; color: var(--primary-light); margin-bottom: 40px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.impact-label:last-child { margin-bottom: 0; }

