@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM
   ========================================================================== */
:root {
  /* Color Palette */
  --bg-primary: #08090c;
  --bg-secondary: #0e1015;
  --bg-tertiary: #161822;
  
  --accent-primary: #00f2fe;
  --accent-primary-rgb: 0, 242, 254;
  --accent-secondary: #9d4edd;
  --accent-secondary-rgb: 157, 78, 221;
  --accent-success: #00e676;
  --accent-success-rgb: 0, 230, 118;
  
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --text-dark: #4b5563;
  
  /* Borders and Shadows */
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(0, 242, 254, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.02);
  --glow-shadow: 0 0 25px rgba(0, 242, 254, 0.12);
  --glow-shadow-secondary: 0 0 25px rgba(157, 78, 221, 0.12);
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   BASE STYLES & RESET
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* ==========================================================================
   REUSABLE COMPONENTS & UTILITIES
   ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 8rem 0;
  position: relative;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  background: linear-gradient(135deg, #fff 30%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 4rem auto;
}

/* Section background gradients */
.section-grad-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(0, 242, 254, 0.03) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

/* Badge styling */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-primary);
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

/* Custom Highlight text */
.highlight-text {
  color: var(--accent-primary);
  text-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

/* ==========================================================================
   EFFECT 1: MAGNETIC / SHIFT EFFECT
   ========================================================================== */
.magnetic-wrap {
  display: inline-block;
  position: relative;
}

.magnetic-element {
  display: inline-flex;
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

/* ==========================================================================
   EFFECT 2: SHIMMER / GLITCH EFFECT
   ========================================================================== */
.shimmer-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  z-index: 1;
  border: none;
  transition: var(--transition-smooth);
}

.shimmer-btn.primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, #0072ff 100%);
  color: #040508;
}

.shimmer-btn.secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.4) 50%,
    transparent 100%
  );
  transform: skewX(-25deg);
  transition: none;
  z-index: -1;
  pointer-events: none;
}

.shimmer-btn:hover {
  transform: translateY(-2px);
}

.shimmer-btn.primary:hover {
  box-shadow: 0 10px 25px rgba(0, 242, 254, 0.3);
}

.shimmer-btn.secondary:hover {
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.06);
}

.shimmer-btn:hover::after {
  left: 150%;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glitch Heading animation for tech/security elements */
.glitch-title {
  position: relative;
  font-family: 'Outfit', sans-serif;
  text-transform: uppercase;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
}

.glitch-title::before {
  left: 2px;
  text-shadow: -1px 0 #9d4edd;
  clip: rect(44px, 450px, 56px, 0);
  animation: glitch-anim-1 5s infinite linear alternate-reverse;
}

.glitch-title::after {
  left: -2px;
  text-shadow: -1px 0 #00f2fe, 0 1px #00f2fe;
  clip: rect(85px, 450px, 140px, 0);
  animation: glitch-anim-2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim-1 {
  0% { clip: rect(10px, 9999px, 85px, 0); }
  10% { clip: rect(42px, 9999px, 34px, 0); }
  20% { clip: rect(89px, 9999px, 98px, 0); }
  30% { clip: rect(15px, 9999px, 56px, 0); }
  40% { clip: rect(62px, 9999px, 88px, 0); }
  50% { clip: rect(3px, 9999px, 12px, 0); }
  60% { clip: rect(74px, 9999px, 54px, 0); }
  70% { clip: rect(93px, 9999px, 2px, 0); }
  80% { clip: rect(22px, 9999px, 64px, 0); }
  90% { clip: rect(51px, 9999px, 19px, 0); }
  100% { clip: rect(35px, 9999px, 91px, 0); }
}

@keyframes glitch-anim-2 {
  0% { clip: rect(50px, 9999px, 30px, 0); }
  10% { clip: rect(12px, 9999px, 78px, 0); }
  20% { clip: rect(45px, 9999px, 12px, 0); }
  30% { clip: rect(87px, 9999px, 43px, 0); }
  40% { clip: rect(9px, 9999px, 90px, 0); }
  50% { clip: rect(66px, 9999px, 5px, 0); }
  60% { clip: rect(23px, 9999px, 70px, 0); }
  70% { clip: rect(91px, 9999px, 54px, 0); }
  80% { clip: rect(34px, 9999px, 10px, 0); }
  90% { clip: rect(78px, 9999px, 83px, 0); }
  100% { clip: rect(5px, 9999px, 45px, 0); }
}

/* ==========================================================================
   EFFECT 3: LIQUID / SQUISHY EFFECT
   ========================================================================== */
.squishy-element {
  transition: var(--transition-bounce);
}

.squishy-element:hover {
  transform: scale(1.1, 0.9) translateY(-6px);
  border-radius: 35% 65% 55% 45% / 45% 45% 55% 55%;
}

.squishy-element:active {
  transform: scale(0.92, 1.08);
}

/* ==========================================================================
   EFFECT 4: FOCUS / DIM-OUT EFFECT (USING :has() PSEUDO-CLASS)
   ========================================================================== */
.focus-grid {
  display: grid;
  gap: 2rem;
  position: relative;
}

/* When a card inside focus-grid is hovered, dim others */
.focus-grid:has(.focus-card:hover) .focus-card:not(:hover) {
  opacity: 0.35;
  filter: blur(2.5px) grayscale(40%);
  transform: scale(0.96);
}

.focus-card {
  transition: var(--transition-smooth);
}

.focus-card:hover {
  transform: scale(1.04);
  z-index: 10;
  border-color: rgba(var(--accent-primary-rgb), 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(var(--accent-primary-rgb), 0.15);
}

/* ==========================================================================
   EFFECT 5: GLASSMORPHISM GLOW
   ========================================================================== */
.glass-glow-card {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(15px) saturate(180%);
  -webkit-backdrop-filter: blur(15px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

/* Glowing Border Effect using mouse tracking coordinates */
.glass-glow-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(var(--accent-primary-rgb), 0.35) 0%,
    rgba(var(--accent-secondary-rgb), 0.15) 30%,
    transparent 60%
  );
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

/* Subtle glow behind card */
.glass-glow-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  background: radial-gradient(
    400px circle at var(--mouse-x, 0) var(--mouse-y, 0),
    rgba(var(--accent-primary-rgb), 0.04),
    transparent 50%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.glass-glow-card:hover::before,
.glass-glow-card:hover::after {
  opacity: 1;
}

.glass-glow-card:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(8, 9, 12, 0.6);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

header.scrolled {
  background: rgba(8, 9, 12, 0.85);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-primary);
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Responsive Mobile Nav Toggle */
.mobile-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  overflow: hidden;
  background: radial-gradient(circle at 10% 30%, rgba(157, 78, 221, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 90% 80%, rgba(0, 242, 254, 0.04) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  z-index: 10;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.hero-title span {
  display: block;
}

.hero-glitch-part {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-typed-container {
  height: 40px;
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.typed-cursor {
  display: inline-block;
  width: 3px;
  height: 1.5rem;
  background-color: var(--accent-primary);
  margin-left: 5px;
  animation: blink 1s infinite;
}

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

.hero-description {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 580px;
  margin-bottom: 3rem;
}

.hero-ctas {
  display: flex;
  gap: 1.5rem;
}

/* Hero Profile Frame & Glassmorphism Glow */
.hero-image-container {
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-card-glow {
  width: 380px;
  height: 470px;
  border-radius: 24px;
  padding: 1rem;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.hero-card-glow:hover .hero-img {
  transform: scale(1.05);
}

/* Floating security HUD badges in hero */
.floating-hud {
  position: absolute;
  padding: 0.75rem 1.25rem;
  background: rgba(14, 16, 21, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  pointer-events: none;
  animation: float 4s ease-in-out infinite;
}

.hud-1 {
  top: 15%;
  left: -20px;
  border-left: 3px solid var(--accent-primary);
}

.hud-2 {
  bottom: 15%;
  right: -20px;
  border-left: 3px solid var(--accent-secondary);
  animation-delay: 2s;
}

.hud-icon {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
}

.hud-1 .hud-icon {
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
}

.hud-2 .hud-icon {
  background: var(--accent-secondary);
  box-shadow: 0 0 10px var(--accent-secondary);
}

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

/* ==========================================================================
   ABOUT & CREDENTIALS SECTION
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 5rem;
  align-items: center;
}

.about-graphics {
  position: relative;
}

.about-main-img-card {
  border-radius: 20px;
  padding: 0.75rem;
  z-index: 5;
}

.about-img-wrapper {
  border-radius: 12px;
  overflow: hidden;
  height: 480px;
}

.about-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Credentials grid/badges */
.credential-badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.cred-card {
  padding: 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.01);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cred-card h4 {
  font-size: 1.15rem;
  color: var(--accent-primary);
}

.cred-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   SERVICES / COMPETENCIES
   ========================================================================== */
.services-grid {
  grid-template-columns: repeat(2, 1fr);
}

.service-card {
  display: flex;
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: 16px;
  height: 100%;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.75rem;
  flex-shrink: 0;
  transition: var(--transition-bounce);
}

.service-card:hover .service-icon-box {
  background: var(--accent-primary);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.service-info {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-info h3 {
  font-size: 1.35rem;
  font-weight: 700;
}

.service-info p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   TECHNICAL SKILL MATRIX
   ========================================================================== */
.skills-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.skills-category {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.skills-category h3 {
  font-size: 1.75rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skills-category h3 span {
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.1em;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-pill {
  padding: 0.6rem 1.2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-bounce);
  cursor: default;
}

.skill-pill:hover {
  background: rgba(0, 242, 254, 0.06);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
  transform: translateY(-2px) scale(1.03);
}

/* Alternate colors for skills */
.skills-category:nth-child(2) .skill-pill:hover {
  background: rgba(157, 78, 221, 0.06);
  border-color: var(--accent-secondary);
  color: var(--accent-secondary);
  box-shadow: 0 0 15px rgba(157, 78, 221, 0.15);
}

/* ==========================================================================
   FEATURED PROJECTS & RESEARCH
   ========================================================================== */
.projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 2.25rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.project-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.project-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
}

.tag-red { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #ef4444; }
.tag-cyan { background: rgba(0, 242, 254, 0.1); border: 1px solid rgba(0, 242, 254, 0.3); color: var(--accent-primary); }
.tag-purple { background: rgba(157, 78, 221, 0.1); border: 1px solid rgba(157, 78, 221, 0.3); color: var(--accent-secondary); }
.tag-success { background: rgba(0, 230, 118, 0.1); border: 1px solid rgba(0, 230, 118, 0.3); color: var(--accent-success); }

.project-body h3 {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link-btn {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.project-link-btn:hover {
  color: var(--accent-primary);
}

.project-tech-stack {
  display: flex;
  gap: 0.5rem;
}

.project-tech-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border-color);
}

/* ==========================================================================
   EXPERIENCE & TIMELINE
   ========================================================================== */
.experience-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 5rem;
  align-items: flex-start;
}

.exp-sticky-panel {
  position: sticky;
  top: 120px;
}

.exp-tab-menu {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.exp-tab-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  padding: 1.25rem 2rem;
  border-radius: 12px;
  color: var(--text-muted);
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.exp-tab-btn:hover {
  border-color: rgba(255,255,255,0.15);
  color: var(--text-main);
  background: rgba(255,255,255,0.01);
}

.exp-tab-btn.active {
  border-color: var(--accent-primary);
  color: var(--text-main);
  background: rgba(0, 242, 254, 0.02);
  box-shadow: 0 0 25px rgba(0, 242, 254, 0.05);
}

.exp-tab-btn .role-text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.exp-tab-btn.active .role-text h4 {
  color: var(--accent-primary);
}

.exp-tab-btn .role-text span {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  display: block;
}

.exp-tab-btn .arrow-icon {
  font-size: 1.2rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-smooth);
}

.exp-tab-btn.active .arrow-icon {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent-primary);
}

/* Content Panel */
.exp-content-container {
  position: relative;
  min-height: 500px;
}

.exp-detail-pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.exp-detail-pane.active {
  position: relative;
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.exp-pane-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.5rem;
}

.exp-pane-header h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

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

.exp-duration {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.5rem;
}

.exp-detail-body h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text-main);
  border-left: 3px solid var(--accent-primary);
  padding-left: 0.75rem;
}

.exp-detail-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.exp-detail-body li {
  position: relative;
  padding-left: 1.75rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.exp-detail-body li::before {
  content: '⚡';
  position: absolute;
  left: 0;
  top: 3px;
  color: var(--accent-primary);
  font-size: 0.85rem;
}

.exp-detail-body {
  display: flex;
  gap: 2.5rem;
  align-items: flex-start;
}

.exp-text-content {
  flex: 1;
}

.exp-media-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  transition: var(--transition-bounce);
}

.exp-media-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.exp-media-circle:hover {
  transform: scale(1.1) rotate(5deg);
  border-color: var(--accent-primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.25);
}



/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: flex-start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255,255,255,0.01);
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.contact-item:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-primary);
  font-size: 1.35rem;
}

.contact-item-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item-text p {
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-socials {
  display: flex;
  gap: 1.25rem;
}

.social-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--text-muted);
  transition: var(--transition-bounce);
}

.social-circle:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.35);
}

/* Contact Terminal Form */
.terminal-card {
  border-radius: 16px;
  border: 1px solid var(--border-color);
  background: #0b0c10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.terminal-header {
  background: #12141c;
  padding: 0.75rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-buttons span {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.btn-close { background-color: #ff5f56; }
.btn-minimize { background-color: #ffbd2e; }
.btn-expand { background-color: #27c93f; }

.terminal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.terminal-body {
  padding: 2.5rem;
}

.terminal-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.terminal-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.terminal-row label {
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.terminal-prompt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-bottom: 1.5px solid var(--border-color);
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.terminal-prompt-char {
  color: var(--accent-secondary);
  font-weight: 700;
  font-family: monospace;
}

.terminal-input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-main);
  width: 100%;
  font-size: 1.05rem;
  font-family: 'Inter', sans-serif;
}

.terminal-input::placeholder {
  color: rgba(255,255,255,0.15);
}

.terminal-prompt:focus-within {
  border-color: var(--accent-primary);
  box-shadow: 0 1px 0 var(--accent-primary);
}

.terminal-submit-wrapper {
  margin-top: 1rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: #040507;
  border-top: 1px solid var(--border-color);
  padding: 4rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-logo span {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Delay modifiers */
.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .about-grid,
  .experience-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .exp-sticky-panel {
    position: static;
  }
  
  .exp-tab-menu {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 1rem;
  }
  
  .exp-tab-btn {
    flex-shrink: 0;
  }
  
  .about-img-wrapper {
    height: 400px;
  }
  
  .hero-image-container {
    order: -1;
  }
  
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
  
  .section-title {
    font-size: 2.25rem;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  
  .hero-typed-container {
    font-size: 1.25rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    gap: 1rem;
  }
  
  .hero-card-glow {
    width: 100%;
    max-width: 340px;
    height: 420px;
  }
  
  .services-grid,
  .skills-container,
  .projects-grid,
  .awards-grid {
    grid-template-columns: 1fr;
  }
  
  .exp-detail-body {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  
  .exp-media-circle {
    order: -1;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-primary);
    flex-direction: column;
    align-items: center;
    padding-top: 4rem;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--border-color);
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .mobile-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .mobile-toggle.open span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  z-index: 9999;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.4);
}

/* ==========================================================================
   HERO CANVAS OVERLAY
   ========================================================================== */
#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.7;
}

/* Ensure hero content is rendered above background canvas */
.hero-content, 
.hero-image-container {
  position: relative;
  z-index: 10;
}

/* ==========================================================================
   ISO 27001 AUDIT WIDGET
   ========================================================================== */
.audit-widget-card {
  padding: 3rem;
  border-radius: 20px;
}

.audit-widget-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.audit-panel-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--text-main);
  border-left: 3px solid var(--accent-primary);
  padding-left: 0.75rem;
}

/* Checklist Panel Controls */
.audit-controls-panel {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.audit-toggle-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-color);
  transition: var(--transition-smooth);
}

.audit-toggle-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(0, 242, 254, 0.15);
}

/* Toggle Switch Design */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
  margin-top: 2px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 34px;
  transition: .4s ease;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-muted);
  border-radius: 50%;
  transition: .3s cubic-bezier(0.25, 0.8, 0.25, 1.4);
}

.toggle-switch input:checked + .toggle-slider {
  background-color: rgba(0, 242, 254, 0.1);
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.2);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
  background-color: var(--accent-primary);
  box-shadow: 0 0 8px var(--accent-primary);
}

.audit-toggle-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.audit-toggle-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Results Dashboard Panel */
.audit-results-panel {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 2.25rem;
}

.audit-gauge-container {
  display: flex;
  gap: 2rem;
  align-items: center;
}

/* Circular SVG Gauge */
.gauge-svg-wrapper {
  position: relative;
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.gauge-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.gauge-bg {
  stroke: var(--bg-tertiary);
}

.gauge-fill {
  stroke: var(--accent-primary);
  stroke-linecap: round;
  transition: stroke-dashoffset 0.6s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.6s ease;
  filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.4));
}

.gauge-text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#audit-score-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.gauge-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* Risk Badges */
.audit-score-summary {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.risk-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-align: center;
  align-self: flex-start;
  transition: var(--transition-fast);
}

.status-critical {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
}

.status-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.1);
}

.status-secure {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.audit-score-summary h4 {
  font-size: 1.25rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.audit-score-summary p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Remediation recommendations box */
.audit-remediation-list {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
}

.audit-remediation-list h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.audit-remediation-list ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.audit-remediation-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.audit-remediation-list li::before {
  content: '🛡️';
  position: absolute;
  left: 0;
  top: 0px;
  font-size: 0.8rem;
}

/* Bento Card Style Refinements */
.glass-glow-card {
  border-color: rgba(255, 255, 255, 0.04);
}

/* ==========================================================================
   WIDGET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 1024px) {
  .audit-widget-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 500px) {
  .audit-gauge-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

