/* 
=========================================================
  Premium Portfolio Stylesheet
  Design: Dark-mode-first, Glassmorphism, Cinematic
=========================================================
*/

/* =========================================================
   1. CSS Custom Properties (Variables)
========================================================= */

:root {
  /* Dark Mode (Default) */
  --bg-primary: #06091a;
  --bg-secondary: #0c1029;
  --bg-card: rgba(15, 23, 60, 0.6);
  --bg-glass: rgba(255, 255, 255, 0.03);
  
  --text-primary: #e8eaed;
  --text-secondary: #8b92a5;
  
  --accent-primary: #8b5cf6;
  --accent-secondary: #22d3ee;
  --accent-gradient: linear-gradient(135deg, #8b5cf6, #22d3ee);
  
  --border-color: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.08);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.15);

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body.light-mode {
  /* Light Mode Overrides */
  --bg-primary: #f8f9fc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.8);
  --bg-glass: rgba(255, 255, 255, 0.7);
  
  --text-primary: #1a1a2e;
  --text-secondary: #64748b;
  
  --accent-primary: #7c3aed;
  --accent-secondary: #0891b2;
  --accent-gradient: linear-gradient(135deg, #7c3aed, #0891b2);
  
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glass: rgba(0, 0, 0, 0.06);
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 40px rgba(124, 58, 237, 0.08);
}


/* =========================================================
   2. Keyframe Animations
========================================================= */

@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeInBlur {
  0% {
    filter: blur(12px);
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
    opacity: 0.15;
  }
  50% {
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.3);
    opacity: 0.25;
  }
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes bounce-gentle {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}


/* =========================================================
   3. Base & Reset
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.7;
  margin-top: 4rem; /* For fixed header */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

::selection {
  background-color: var(--accent-primary);
  color: #fff;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}


/* =========================================================
   4. Scrollbar
========================================================= */

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-secondary);
}


/* =========================================================
   5. Layout Utilities
========================================================= */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 0.75rem;
}


/* =========================================================
   6. Header / Navigation
========================================================= */

.l-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4rem;
  z-index: 1000;
  background: rgba(6, 9, 26, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  transition: background 0.4s ease, border-color 0.4s ease;
}

body.light-mode .l-header {
  background: rgba(248, 249, 252, 0.8);
}

.l-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.nav {
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  font-weight: 700;
  font-size: 1.2rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.02em;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav__link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gradient);
  transition: width 0.3s ease;
}

.nav__link:hover, .nav__link.active {
  color: var(--text-primary);
}

.nav__link:hover::after, .nav__link.active::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav__toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
  background: none;
  border: none;
}

.theme-toggle {
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  background: transparent;
  border: none;
  color: var(--text-primary);
  transition: background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 1rem;
}

.theme-toggle:hover {
  background: var(--bg-glass);
}


/* =========================================================
   7. Hero Section
========================================================= */

.hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 6rem;
  text-align: center;
}

.hero__container {
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: 2rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
}

.badge__indicator {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 10px #10b981;
  animation: blink 2s infinite;
}

.hero__name {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

.hero__roles {
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 1rem 0 1.5rem;
  min-height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__role {
  font-weight: 600;
  color: var(--accent-primary);
}

.cursor {
  color: var(--accent-primary);
  animation: blink 1s infinite;
  margin-left: 2px;
}

.hero__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.hero__visual {
  position: relative;
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__avatar-container {
  position: relative;
  width: 150px;
  height: 150px;
}

.hero__avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--border-glass);
  position: relative;
  z-index: 2;
  box-shadow: 0 0 30px rgba(139, 92, 246, 0.2);
}

.hero__avatar-glow {
  position: absolute;
  inset: -15px;
  border-radius: 50%;
  background: var(--accent-gradient);
  filter: blur(20px);
  opacity: 0.6;
  z-index: 1;
  animation: glow-pulse 4s infinite;
}

.floating-icon {
  position: absolute;
  width: 45px;
  height: 45px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-primary);
  backdrop-filter: blur(10px);
  z-index: 3;
}

.icon-1 { top: -20px; left: -40px; animation: float 6s ease-in-out infinite; color: #3ddc84; }
.icon-2 { top: 20px; right: -50px; animation: float 7s ease-in-out infinite 1s; color: #7f52ff; }
.icon-3 { bottom: -10px; left: 10px; animation: float 5s ease-in-out infinite 2s; color: #ffca28; }

.hero__social {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero__social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.hero__social-link:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.hero__orbs {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
}

body.light-mode .hero__orb {
  opacity: 0.15;
}

.hero__orb--1 {
  width: 400px;
  height: 400px;
  background: #8b5cf6;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero__orb--2 {
  width: 300px;
  height: 300px;
  background: #22d3ee;
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 200px;
  height: 200px;
  background: #ec4899;
  top: 50%;
  left: 30%;
  animation: float 12s ease-in-out infinite 2s;
}


/* =========================================================
   8. Buttons
========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
  background: #9f75f8;
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn--ghost:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.btn--outline {
  background: transparent;
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.btn--outline:hover {
  background: var(--accent-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}


/* =========================================================
   9. About Section
========================================================= */

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.about__card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.about__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(139, 92, 246, 0.3);
}

.about__card--full {
  grid-column: 1 / -1;
}

.about__subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about__position {
  color: var(--accent-primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.about__company {
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.3s ease;
}

.about__company:hover {
  text-decoration: underline;
}

.about__text {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about__highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.about__highlight {
  text-align: center;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
}

.about__highlight-number {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.about__highlight-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

/* AWS Certification Badge */
.about__cert {
  margin-top: 1.5rem;
}

.cert__card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cert__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-gradient);
}

.cert__card:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.15);
}

.cert__card:hover .cert__title {
  color: var(--accent-primary);
}

.cert__icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 153, 0, 0.12);
  color: #ff9900;
  font-size: 2.2rem;
  flex-shrink: 0;
}

.cert__content {
  flex: 1;
}

.cert__badge-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.cert__badge-pill {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.15rem 0.5rem;
  border-radius: 1rem;
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-primary);
}

.cert__badge-year {
  font-size: 0.75rem;
  color: var(--text-secondary);
  font-family: var(--font-mono);
}

.cert__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.cert__issuer {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.cert__badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: #22c55e;
  padding: 0.35rem 0.75rem;
  border-radius: 2rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  flex-shrink: 0;
}

.project__company-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
  margin-bottom: 0.4rem;
}

@media (max-width: 600px) {
  .cert__card {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .cert__badge-header {
    justify-content: center;
  }
  .cert__card::before {
    width: 100%;
    height: 3px;
    top: 0;
    left: 0;
  }
}


/* =========================================================
   10. Skills Section
========================================================= */

.skills__categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-category {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1.25rem;
  padding: 2rem;
  transition: all 0.3s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.2);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.category-icon {
  font-size: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-primary);
}

.category-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.skill-card {
  text-align: center;
  padding: 1rem;
  border-radius: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  transition: all 0.3s ease;
}

.skill-card:hover {
  background: rgba(139, 92, 246, 0.08);
  border-color: rgba(139, 92, 246, 0.2);
  transform: translateY(-3px);
}

.skill-icon-wrapper {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

.skill-card h4 {
  font-size: 0.85rem;
  font-weight: 600;
}


/* =========================================================
   11. Blog Section
========================================================= */

.blog__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog__card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.blog__card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: rgba(139, 92, 246, 0.3);
}

.blog__image-container {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.blog__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog__card:hover .blog__image {
  transform: scale(1.1);
}

.blog__image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, var(--bg-card));
}

.blog__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog__meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.blog__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.blog__card:hover .blog__title {
  color: var(--accent-primary);
}

.blog__excerpt {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.blog__tag {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-primary);
  padding: 0.2rem 0.6rem;
  border-radius: 2rem;
  font-size: 0.7rem;
  font-weight: 500;
}

.blog__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  margin-top: auto;
}

.blog__claps {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
}

.blog__claps i {
  color: var(--accent-primary);
  font-size: 1rem;
}

.blog__link {
  color: var(--accent-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.3s ease;
}

.blog__link:hover {
  color: var(--accent-secondary);
}

.blog__loading {
  text-align: center;
  padding: 4rem;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-primary);
  border-radius: 50%;
  animation: spin-slow 1s linear infinite;
  margin: 0 auto 1rem;
}

.blog__view-more {
  text-align: center;
  margin-top: 3rem;
}

.blog__error {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
}


/* =========================================================
   12. Projects Section
========================================================= */

.projects__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project__card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.project__card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.3);
}

.project__thumbnail {
  height: 180px;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

body.light-mode .project__thumbnail {
  background: linear-gradient(135deg, #a78bfa, #67e8f9); /* Slightly different gradient for light mode */
}

.project__thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.2), transparent);
  animation: shimmer 3s infinite;
}

.project__icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
  z-index: 1;
  transition: transform 0.4s ease;
}

.project__card:hover .project__icon {
  transform: scale(1.15) rotate(5deg);
}

.project__content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.project__card:hover .project__title {
  color: var(--accent-primary);
}

.project__description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.project__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.project__tag {
  background: rgba(139, 92, 246, 0.08);
  color: var(--accent-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  border: 1px solid rgba(139, 92, 246, 0.15);
  transition: all 0.3s ease;
}

.project__card:hover .project__tag {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.project__links {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-glass);
  margin-top: auto;
}

.project__link {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.project__link:hover {
  color: var(--accent-primary);
}

.projects__view-more {
  text-align: center;
  margin-top: 3rem;
}


/* =========================================================
   13. Contact Section
========================================================= */

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact__content {
  display: flex;
  flex-direction: column;
}

.contact__header {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: center;
}

.contact__header-icon {
  font-size: 2rem;
  color: var(--accent-primary);
}

.contact__subtitle {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact__text {
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact__card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  gap: 1rem;
  transition: all 0.3s ease;
}

.contact__card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: var(--shadow-glow);
}

.contact__card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact__card-data h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact__card-data a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.contact__card-data a:hover {
  color: var(--accent-primary);
}

.contact__availability {
  margin-top: 2rem;
  padding: 1.25rem;
  border-radius: 1rem;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
}

.availability__status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.status__indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
  animation: glow-pulse 2s ease-in-out infinite;
}

.status__text {
  font-weight: 600;
  font-size: 0.9rem;
}

.availability__text {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.6;
}

.contact__form-section {
  display: flex;
  flex-direction: column;
}

.form__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form__group {
  position: relative;
}

.contact__input {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.contact__input:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.contact__input::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}

.contact__textarea {
  resize: vertical;
  min-height: 120px;
}


/* =========================================================
   14. Footer
========================================================= */

.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0 2rem;
  text-align: center;
}

.footer__title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.footer__social-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.footer__social-link:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.footer__copy {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer__copy a {
  color: var(--accent-primary);
  transition: color 0.3s ease;
}

.footer__copy a:hover {
  text-decoration: underline;
}


/* =========================================================
   15. Animation Utility Classes
========================================================= */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }


/* =========================================================
   16. Responsive Breakpoints
========================================================= */

/* Tablet and Smaller */
@media (max-width: 1024px) {
  .hero {
    gap: 2rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }
  
  .nav__toggle {
    display: block;
  }
  
  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.4s cubic-bezier(0.2, 0.6, 0.2, 1);
    z-index: 1000;
  }
  
  .nav__menu.show {
    right: 0;
  }
  
  .nav__list {
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 6rem;
  }
  
  .hero__content {
    order: 2;
  }
  
  .hero__image {
    order: 1;
  }
  
  .hero__roles {
    justify-content: center;
  }
  
  .hero__buttons {
    justify-content: center;
  }
  
  .hero__social {
    justify-content: center;
  }
  
  .about__grid {
    grid-template-columns: 1fr;
  }
  
  .about__highlights {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
  
  .about__highlight {
    padding: 1rem 0.5rem;
  }
  
  .about__highlight-number {
    font-size: 1.5rem;
  }
  
  .skills__categories {
    grid-template-columns: 1fr;
  }
  
  .contact__container {
    grid-template-columns: 1fr;
  }
  
  .contact__cards {
    grid-template-columns: 1fr;
  }
  
  .contact__form-section {
    order: -1;
    margin-bottom: 3rem;
  }
}

/* Very Small Mobile */
@media (max-width: 480px) {
  .about__highlights {
    grid-template-columns: 1fr;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .hero__name {
    font-size: 2.2rem;
  }
}