/* ============================================================
   SAHAN SENARATHNA — PERSONAL BRAND WEBSITE
   Custom Stylesheet | style.css
   ============================================================ */

/* ======================== CSS VARIABLES ======================== */
:root {
  /* Core Brand */
  --brand-deep-core: #081427;
  --brand-deep-elevated: #0F1E3A;
  --brand-deep-soft: #162847;

  /* Primary Accent */
  --brand-cyber-accent: #4adedd;
  --brand-cyber-accent-strong: #2fc5c4;
  --brand-cyber-accent-glow: #7ff3f0;

  /* Supporting Accents */
  --brand-electric-blue: #1fb6ff;
  --brand-violet-edge: #5b6cff;

  /* Neutrals */
  --neutral-900: #0B1220;
  --neutral-800: #111C2E;
  --neutral-700: #1C2A3F;
  --neutral-400: #94A3B8;
  --neutral-200: #CBD5E1;
  --neutral-100: #F1F5F9;

  /* Light Mode Support */
  --bg-light: #FFFFFF;
  --bg-soft: #F4F7FA;

  /* Typography */
  --font-primary: 'Outfit', sans-serif;
  --font-mono: 'Space Mono', monospace;

  /* Spacing */
  --section-pad: 9rem 0;

  /* Transitions */
  --trans-smooth: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-fast: 0.2s ease;
}

/* ======================== RESET & BASE ======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  background-color: var(--brand-deep-core);
  color: var(--neutral-200);
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
  /* custom cursor */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--brand-deep-core);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-cyber-accent-strong);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-cyber-accent);
}

/* Selection */
::selection {
  background: rgba(74, 222, 221, 0.3);
  color: var(--neutral-100);
}

/* Smooth focus for accessibility */
:focus-visible {
  outline: 2px solid var(--brand-cyber-accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ======================== CURSOR GLOW ======================== */
#cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 221, 0.55) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.08s ease, width 0.2s ease, height 0.2s ease, opacity 0.2s ease;
  mix-blend-mode: screen;
  box-shadow: 0 0 18px 4px rgba(74, 222, 221, 0.3);
}

#cursor-glow.cursor-hovered {
  width: 44px;
  height: 44px;
  opacity: 0.7;
}

/* ======================== TYPOGRAPHY ======================== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
}

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

.accent {
  color: var(--brand-cyber-accent);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--brand-cyber-accent);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  display: block;
}

.section-heading {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--neutral-100);
  margin-bottom: 1rem;
}

.section-divider-glow {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 221, 0.2), transparent);
  position: relative;
}

.section-divider-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 15px;
  height: 15px;
  background: var(--brand-cyber-accent);
  filter: blur(8px);
  border-radius: 50%;
  opacity: 0.5;
}

.section-sub {
  color: var(--neutral-400);
  font-size: 1.05rem;
  max-width: 540px;
  margin: 0 auto;
}

.section-body {
  color: var(--neutral-400);
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.section-body strong {
  color: var(--neutral-200);
  font-weight: 600;
}

/* ======================== BUTTONS ======================== */
.btn-accent-glow {
  background: linear-gradient(135deg, var(--brand-cyber-accent), var(--brand-electric-blue));
  color: var(--brand-deep-core);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border: none;
  border-radius: 8px;
  transition: var(--trans-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 rgba(74, 222, 221, 0);
  cursor: pointer;
}

.btn-accent-glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--brand-cyber-accent-glow), var(--brand-electric-blue));
  opacity: 0;
  transition: var(--trans-smooth);
}

.btn-accent-glow:hover {
  box-shadow: 0 0 28px rgba(74, 222, 221, 0.6), 0 0 60px rgba(31, 182, 255, 0.2);
  transform: translateY(-2px);
  color: var(--brand-deep-core);
}

.btn-accent-glow:hover::before {
  opacity: 1;
}

.btn-accent-glow span,
.btn-accent-glow i {
  position: relative;
  z-index: 1;
}

.btn-outline-cyber {
  background: transparent;
  color: var(--brand-cyber-accent);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.8rem;
  border: 1.5px solid var(--brand-cyber-accent);
  border-radius: 8px;
  transition: var(--trans-smooth);
  cursor: pointer;
}

.btn-outline-cyber:hover {
  background: rgba(74, 222, 221, 0.08);
  box-shadow: 0 0 22px rgba(74, 222, 221, 0.3);
  transform: translateY(-2px);
  color: var(--brand-cyber-accent-glow);
  border-color: var(--brand-cyber-accent-glow);
}

/* ======================== NAVBAR ======================== */
#mainNav {
  padding: 1.2rem 0;
  transition: background 0.4s ease, padding 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
  background: transparent;
  z-index: 1050;
}

#mainNav.nav-scrolled {
  background: rgba(8, 20, 39, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 0.75rem 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), 0 0 0 0.5px rgba(74, 222, 221, 0.12);
}

.brand-logo {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--neutral-100);
  letter-spacing: -0.02em;
  transition: var(--trans-smooth);
}

.brand-logo:hover {
  color: var(--brand-cyber-accent);
}

/* Nav Links */
.navbar-nav .nav-link {
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 1rem;
  color: var(--neutral-200) !important;
  padding: 0.5rem 0.8rem !important;
  position: relative;
  transition: var(--trans-smooth);
  letter-spacing: 0.02em;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-cyber-accent), var(--brand-electric-blue));
  border-radius: 2px;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--brand-cyber-accent) !important;
}

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

/* Custom hamburger */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 8px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brand-cyber-accent);
  border-radius: 2px;
  transition: var(--trans-smooth);
}

/* ======================== HERO SECTION ======================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--brand-deep-core) 0%, var(--brand-deep-elevated) 60%, #0C1A34 100%);
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
}

.hero-container {
  position: relative;
  z-index: 2;
}

.hero-greeting {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--brand-cyber-accent);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.greeting-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    box-shadow: 0 0 10px #22c55e;
    opacity: 1;
  }

  50% {
    box-shadow: 0 0 22px #22c55e;
    opacity: 0.7;
  }
}

.hero-headline {
  font-size: clamp(2.8rem, 6.5vw, 4.6rem);
  font-weight: 800;
  color: var(--neutral-100);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.hero-name {
  background: linear-gradient(135deg, var(--brand-cyber-accent) 0%, var(--brand-electric-blue) 60%, var(--brand-violet-edge) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.typed-wrapper {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--neutral-100);
  margin-bottom: 1.4rem;
  min-height: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.typed-prefix {
  color: var(--neutral-400);
}

.typed-text {
  color: var(--brand-cyber-accent);
  font-family: var(--font-mono);
  font-size: 1.05em;
}

.typed-cursor {
  color: var(--brand-cyber-accent);
  font-weight: 300;
  font-size: 1.2em;
  animation: blink 1s step-end infinite;
  margin-left: 2px;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-sub {
  color: var(--neutral-400);
  font-size: 1.2rem;
  max-width: 480px;
  line-height: 1.75;
  margin-bottom: 0.5rem;
}

/* Hero Stats */
.hero-stats {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(74, 222, 221, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-cyber-accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.stat-divider {
  width: 1px;
  background: rgba(74, 222, 221, 0.2);
  align-self: stretch;
}

/* Hero Image */
.hero-img-wrapper {
  position: relative;
  display: inline-block;
  max-width: 440px;
  width: 100%;
}

.hero-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74, 222, 221, 0.15) 0%, transparent 70%);
  z-index: 0;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
  }
}

.hero-portrait {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 22px;
  position: relative;
  z-index: 1;
  border: 2px solid rgba(74, 222, 221, 0.25);
  box-shadow: 0 0 40px rgba(74, 222, 221, 0.2), 0 0 0 6px rgba(74, 222, 221, 0.05);
}

/* Gradient fade at base to blend into dark bg */
.hero-img-wrapper::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 35%;
  background: linear-gradient(to top, var(--brand-deep-core) 0%, transparent 100%);
  border-radius: 0 0 22px 22px;
  z-index: 2;
  pointer-events: none;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: rgba(15, 30, 58, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(74, 222, 221, 0.25);
  border-radius: 10px;
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-cyber-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 3;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: float-badge 4s ease-in-out infinite;
}

.badge-top-right {
  top: 12%;
  right: -10px;
  animation-delay: 0.5s;
}

.badge-bottom-left {
  bottom: 14%;
  left: -10px;
  animation-delay: 1.2s;
}

@keyframes float-badge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

/* Section Divider */
.section-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  line-height: 0;
}

.section-divider svg {
  width: 100%;
  height: 60px;
}

/* ======================== ABOUT SECTION ======================== */
.about-section {
  padding: var(--section-pad);
  background: var(--brand-deep-elevated);
  position: relative;
}

/* Option 2: Authority Quote */
.about-quote {
  font-family: var(--font-primary);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 300;
  line-height: 1.5;
  color: var(--neutral-200);
  border-left: 4px solid var(--brand-cyber-accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  position: relative;
}

.about-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -15px;
  font-family: var(--font-mono);
  font-size: 6rem;
  color: rgba(74, 222, 221, 0.08);
  line-height: 1;
  z-index: -1;
}

/* Option 2: Core Pillars (Mini-stats) */
.about-pillars {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(74, 222, 221, 0.15);
}

.pillar-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(22, 40, 71, 0.4);
  border: 1px solid rgba(74, 222, 221, 0.1);
  padding: 0.8rem 1.2rem;
  border-radius: 30px;
  flex: 1 1 calc(33.333% - 1.5rem);
  min-width: 220px;
  backdrop-filter: blur(10px);
  transition: var(--trans-smooth);
}

.pillar-item:hover {
  background: rgba(74, 222, 221, 0.08);
  border-color: rgba(74, 222, 221, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.pillar-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 222, 221, 0.2), rgba(31, 182, 255, 0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyber-accent);
  font-size: 1.1rem;
}

.pillar-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neutral-100);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* About image */
.about-img-wrapper {
  position: relative;
  display: inline-block;
  max-width: 440px;
  width: 100%;
}

.about-img {
  width: 88%;
  max-width: 360px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 50%;
  border: 3px solid rgba(74, 222, 221, 0.35);
  box-shadow:
    0 0 0 10px rgba(74, 222, 221, 0.06),
    0 0 0 20px rgba(74, 222, 221, 0.03),
    0 0 60px rgba(74, 222, 221, 0.2);
  display: block;
  margin: 0 auto;
}

.about-img-badge {
  position: absolute;
  bottom: -14px;
  right: 20px;
  background: linear-gradient(135deg, var(--brand-cyber-accent), var(--brand-electric-blue));
  color: var(--brand-deep-core);
  padding: 0.55rem 1.1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 20px rgba(74, 222, 221, 0.35);
}


/* ======================== SKILL CATEGORY CARDS ======================== */
.skill-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}

.skill-cat-card {
  background: rgba(13, 17, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.skill-cat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cat-color, #4adedd), transparent);
  border-radius: 16px 16px 0 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.skill-cat-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--cat-color, #4adedd) 30%, transparent),
    0 12px 30px rgba(0, 0, 0, 0.4);
}

.skill-cat-card:hover::before {
  opacity: 1;
}

.skill-cat-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}

.skill-cat-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--cat-color, #4adedd) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat-color, #4adedd) 35%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cat-color, #4adedd);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.skill-cat-card:hover .skill-cat-icon-wrap {
  background: color-mix(in srgb, var(--cat-color, #4adedd) 28%, transparent);
  box-shadow: 0 0 14px color-mix(in srgb, var(--cat-color, #4adedd) 40%, transparent);
}

.skill-cat-name {
  font-family: var(--font-primary);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--neutral-100);
  margin: 0;
  line-height: 1.3;
}

.skill-cat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.skill-cat-tags span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--neutral-300);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 0.25rem 0.6rem;
  transition: all 0.2s ease;
}

.skill-cat-card:hover .skill-cat-tags span {
  border-color: color-mix(in srgb, var(--cat-color, #4adedd) 25%, transparent);
  color: var(--neutral-200);
}

@media (max-width: 991.98px) {
  .skill-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .skill-category-grid {
    grid-template-columns: 1fr;
  }
}

/* ======================== PROFESSIONAL PROFILES ======================== */

.profiles-showcase {
  background: var(--brand-deep-elevated);
  border: 1px solid rgba(74, 222, 221, 0.15);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.profiles-label {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-cyber-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.profiles-label::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--brand-cyber-accent);
  border-radius: 2px;
}

.profiles-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  width: 100px;
  height: 90px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-card .profile-icon {
  width: 32px;
  height: 32px;
  opacity: 0.55;
  transition: opacity 0.3s ease, filter 0.3s ease;
  filter: brightness(0) invert(0.6);
}

.profile-card span {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--neutral-300);
  transition: color 0.3s ease;
}

.profile-card:hover {
  transform: translateY(-5px) scale(1.05);
  background: rgba(22, 40, 71, 0.8);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.profile-card:hover .profile-icon {
  opacity: 1;
  filter: brightness(0) invert(1);
  /* makes it white on hover, then brand color below overrides */
}

/* LinkedIn - #0077b5 */
.profile-card.linkedin:hover {
  border-color: #0077b5;
  box-shadow: 0 0 15px rgba(0, 119, 181, 0.4);
}

.profile-card.linkedin:hover .profile-icon {
  filter: brightness(0) saturate(100%) invert(28%) sepia(98%) saturate(1012%) hue-rotate(185deg) brightness(95%) contrast(101%);
}

.profile-card.linkedin:hover span {
  color: #0077b5;
}

/* Credly - #FF6B00 orange */
.profile-card.credly:hover {
  border-color: #ef6c00;
  box-shadow: 0 0 15px rgba(239, 108, 0, 0.4);
}

.profile-card.credly:hover .profile-icon {
  filter: brightness(0) saturate(100%) invert(45%) sepia(92%) saturate(1700%) hue-rotate(10deg) brightness(103%) contrast(101%);
}

.profile-card.credly:hover span {
  color: #ef6c00;
}

/* GitHub - white */
.profile-card.github:hover {
  border-color: #e6edf3;
  box-shadow: 0 0 15px rgba(230, 237, 243, 0.3);
}

.profile-card.github:hover .profile-icon {
  filter: brightness(0) invert(1);
}

.profile-card.github:hover span {
  color: #e6edf3;
}

/* HackTheBox - #9FEF00 neon green */
.profile-card.hackthebox:hover {
  border-color: #9fef00;
  box-shadow: 0 0 15px rgba(159, 239, 0, 0.4);
}

.profile-card.hackthebox:hover .profile-icon {
  filter: brightness(0) saturate(100%) invert(86%) sepia(95%) saturate(1120%) hue-rotate(40deg) brightness(110%) contrast(104%);
}

.profile-card.hackthebox:hover span {
  color: #9fef00;
}

/* TryHackMe - #212c42 uses their red #e72d22 */
.profile-card.tryhackme:hover {
  border-color: #e72d22;
  box-shadow: 0 0 15px rgba(231, 45, 34, 0.4);
}

.profile-card.tryhackme:hover .profile-icon {
  filter: brightness(0) saturate(100%) invert(20%) sepia(95%) saturate(1700%) hue-rotate(358deg) brightness(110%) contrast(103%);
}

.profile-card.tryhackme:hover span {
  color: #e72d22;
}

/* HackerOne - white */
.profile-card.hackerone:hover {
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.profile-card.hackerone:hover .profile-icon {
  filter: brightness(0) invert(1);
}

.profile-card.hackerone:hover span {
  color: #ffffff;
}

/* HackerRank - #00ea64 */
.profile-card.hackerrank:hover {
  border-color: #00ea64;
  box-shadow: 0 0 15px rgba(0, 234, 100, 0.4);
}

.profile-card.hackerrank:hover .profile-icon {
  filter: brightness(0) saturate(100%) invert(71%) sepia(72%) saturate(600%) hue-rotate(100deg) brightness(110%) contrast(101%);
}

.profile-card.hackerrank:hover span {
  color: #00ea64;
}




@media (max-width: 767.98px) {
  .profiles-showcase {
    padding: 1.5rem;
  }

  .profile-card {
    width: 85px;
    height: 80px;
    padding: 0.8rem;
  }

  .profile-card .profile-icon {
    width: 24px;
    height: 24px;
  }

  .profile-card span {
    font-size: 0.65rem;
  }
}

/* ======================== CERTIFICATIONS ======================== */
.certs-section {
  padding: var(--section-pad);
  background: var(--brand-deep-soft);
  position: relative;
}

.cert-card {
  background: rgba(22, 40, 71, 0.5);
  border: 1px solid rgba(74, 222, 221, 0.1);
  border-radius: 16px;
  padding: 1.8rem 1rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: var(--trans-smooth);
  cursor: default;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-cyber-accent);
  box-shadow: 0 0 28px rgba(74, 222, 221, 0.2), 0 12px 32px rgba(0, 0, 0, 0.3);
}

.cert-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(74, 222, 221, 0.15), rgba(31, 182, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 222, 221, 0.2);
  transition: var(--trans-smooth);
}

.cert-card:hover .cert-icon-wrap {
  background: linear-gradient(135deg, rgba(74, 222, 221, 0.25), rgba(31, 182, 255, 0.15));
  box-shadow: 0 0 18px rgba(74, 222, 221, 0.3);
}

.cert-icon {
  font-size: 1.6rem;
  color: var(--brand-cyber-accent);
}

.cert-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neutral-100);
  margin: 0;
  line-height: 1.3;
}

.cert-issuer {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neutral-400);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ======================== SKILLS (LEGACY) ======================== */
/* redudant skills-section styles removed */

/* Option 2: Enhanced Hexagon Tech Tree */
.hex-grid-container {
  position: relative;
}

/* Ambient Pulse Glow Behind Grid */
.hex-grid-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(74, 222, 221, 0.05) 0%, transparent 60%);
  z-index: 0;
  pointer-events: none;
  animation: slowPulse 8s infinite alternate ease-in-out;
}

@keyframes slowPulse {
  0% {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0.5;
  }

  100% {
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
  }
}

.hex-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem 1.8rem;
  padding: 3rem 0;
  position: relative;
  z-index: 1;
}

.hex-cell {
  position: relative;
  display: flex;
  justify-content: center;
  animation: floatHex 6s ease-in-out infinite;
}

.hex-cell:nth-child(2n) {
  animation-delay: 1.5s;
}

.hex-cell:nth-child(3n) {
  animation-delay: 3s;
}

@keyframes floatHex {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.hex-wrapper {
  width: 140px;
  height: 160px;
  position: relative;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, rgba(74, 222, 221, 0.4), rgba(31, 182, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
  cursor: pointer;
}

.hex-inner {
  width: calc(100% - 2px);
  height: calc(100% - 2px);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--brand-deep-elevated);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: background 0.4s ease;
}

.hex-cell:hover .hex-wrapper {
  transform: scale(1.08);
  background: linear-gradient(135deg, var(--brand-cyber-accent), var(--brand-electric-blue));
  filter: drop-shadow(0 0 20px rgba(74, 222, 221, 0.5));
}

.hex-cell:hover .hex-inner {
  background: rgba(22, 40, 71, 0.95);
}

.hex-cell:hover .hex-icon {
  color: var(--brand-electric-blue);
  transform: scale(1.15);
  filter: drop-shadow(0 0 10px rgba(74, 222, 221, 0.8));
}

.hex-icon {
  font-size: 2.2rem;
  color: var(--brand-cyber-accent);
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease, color 0.3s ease, filter 0.3s ease;
}

.hex-title {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neutral-100);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Tooltip */
.hex-tooltip {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0) scale(0.95);
  background: rgba(13, 17, 23, 0.98);
  border: 1px solid rgba(74, 222, 221, 0.4);
  padding: 1rem;
  border-radius: 8px;
  width: 240px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--neutral-300);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(74, 222, 221, 0.05);
  pointer-events: none;
  border-top: 3px solid var(--brand-cyber-accent);
}

.hex-tooltip strong {
  color: var(--brand-cyber-accent);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hex-cell:hover .hex-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(15px) scale(1);
}

/* Mobile responsive hexagons */
@media (max-width: 991.98px) {
  .hex-wrapper {
    width: 120px;
    height: 140px;
  }

  .hex-icon {
    font-size: 1.8rem;
  }

  .hex-grid {
    gap: 2rem 1rem;
  }
}



@keyframes pulse-glow-icon {

  0%,
  100% {
    filter: drop-shadow(0 0 8px rgba(74, 222, 221, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 22px rgba(74, 222, 221, 0.8));
  }
}

.highlight-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--neutral-100);
  margin-bottom: 0.75rem;
}

.highlight-body {
  color: var(--neutral-400);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.highlight-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--brand-cyber-accent);
  border: 1px solid rgba(74, 222, 221, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  letter-spacing: 0.06em;
}

/* ======================== SERVICES SECTION ======================== */
.services-section {
  padding: var(--section-pad);
  background: var(--brand-deep-soft);
}

.service-card {
  background: rgba(22, 40, 71, 0.5);
  border: 1px solid rgba(74, 222, 221, 0.12);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  transition: var(--trans-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 222, 221, 0.05) 0%, transparent 60%);
  opacity: 0;
  transition: var(--trans-smooth);
}

.service-card:hover {
  border-color: rgba(74, 222, 221, 0.45);
  box-shadow: 0 0 40px rgba(74, 222, 221, 0.15), 0 16px 48px rgba(0, 0, 0, 0.3);
  transform: translateY(-6px);
}

.service-card:hover::before {
  opacity: 1;
}

/* ======================== SERVICES SECTION (V2) ======================== */
.services-section {
  padding: var(--section-pad);
  background: var(--brand-deep-core);
  /* Alternate for visibility */
  position: relative;
}

.service-card {
  background: rgba(13, 17, 23, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  transition: all 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-cyber-accent), var(--brand-electric-blue));
  border-radius: 18px 18px 0 0;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    0 10px 40px rgba(0, 0, 0, 0.5),
    0 0 20px rgba(74, 222, 221, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(74, 222, 221, 0.12);
  border: 1px solid rgba(74, 222, 221, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
  color: var(--brand-cyber-accent);
}

.service-card:hover .service-icon-wrap {
  background: rgba(74, 222, 221, 0.2);
  box-shadow: 0 0 15px rgba(74, 222, 221, 0.3);
  transform: scale(1.05);
}

.service-icon {
  font-size: 1.4rem;
}

.service-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--neutral-100);
  margin-bottom: 1rem;
}

.service-intro {
  color: var(--neutral-400);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.service-bullets li {
  color: var(--neutral-300);
  font-size: 0.9rem;
  padding-left: 1.2rem;
  position: relative;
}

.service-bullets li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--brand-cyber-accent);
  font-weight: bold;
}

.service-outcome {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: rgba(74, 222, 221, 0.08);
  border: 1px solid rgba(74, 222, 221, 0.15);
  border-radius: 12px;
  padding: 1rem;
  margin-top: auto;
}

.service-outcome i {
  color: var(--brand-cyber-accent);
  font-size: 1rem;
  margin-top: 3px;
}

.service-outcome span {
  font-size: 0.88rem;
  color: var(--neutral-200);
  line-height: 1.4;
}


/* ======================== CONTACT SECTION ======================== */
.contact-section {
  padding: var(--section-pad);
  background: var(--brand-deep-core);
  /* Alternate back to core */
  position: relative;
  overflow: hidden;
}


.contact-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(31, 182, 255, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 0% 50%, rgba(74, 222, 221, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.contact-info-block {
  background: rgba(22, 40, 71, 0.5);
  border: 1px solid rgba(74, 222, 221, 0.12);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.contact-info-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neutral-100);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(74, 222, 221, 0.15);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.3rem;
}

.contact-info-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(74, 222, 221, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-cyber-accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1px solid rgba(74, 222, 221, 0.2);
}

.contact-info-label {
  font-size: 0.75rem;
  color: var(--neutral-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.9rem;
  color: var(--neutral-200);
  font-weight: 500;
  transition: var(--trans-fast);
}

a.contact-info-value:hover {
  color: var(--brand-cyber-accent);
}

.contact-availability {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #22c55e;
  font-weight: 600;
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(74, 222, 221, 0.1);
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

/* Contact Form */
.contact-form .form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--neutral-200);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-form .form-control {
  background: rgba(22, 40, 71, 0.6);
  border: 1px solid rgba(74, 222, 221, 0.15);
  border-radius: 10px;
  color: var(--neutral-100);
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
  transition: var(--trans-smooth);
}

.contact-form .form-control::placeholder {
  color: var(--neutral-400);
  opacity: 0.7;
}

.contact-form .form-control:focus {
  background: rgba(22, 40, 71, 0.8);
  border-color: var(--brand-cyber-accent);
  box-shadow: 0 0 0 3px rgba(74, 222, 221, 0.12), 0 0 20px rgba(74, 222, 221, 0.08);
  color: var(--neutral-100);
  outline: none;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.btn-submit {
  width: 100%;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  position: relative;
  overflow: hidden;
}

.btn-submit .submit-text {
  position: relative;
  z-index: 1;
}

#formFeedback .alert {
  background: rgba(74, 222, 221, 0.08);
  border: 1px solid rgba(74, 222, 221, 0.2);
  color: var(--brand-cyber-accent);
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* ======================== MINDSET CTA SECTION ======================== */
.mindset-cta {
  padding: 10rem 0;
  background: var(--brand-deep-elevated);
  position: relative;
  overflow: hidden;
}

.mindset-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(74, 222, 221, 0.04) 0%, transparent 70%);
  pointer-events: none;
}


.mindset-content {
  max-width: 800px;
  margin: 0 auto;
}

.mindset-icon-large {
  font-size: 3.5rem;
  color: var(--brand-cyber-accent);
  margin-bottom: 2rem;
  display: block;
  filter: drop-shadow(0 0 15px rgba(74, 222, 221, 0.4));
}

.mindset-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--neutral-100);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.mindset-body {
  font-size: 1.35rem;
  color: var(--neutral-400);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.mindset-footer-text {
  font-family: var(--font-mono);
  color: var(--brand-cyber-accent);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 3rem;
  letter-spacing: 0.05em;
}


/* ======================== FOOTER ======================== */
.site-footer {
  background: var(--neutral-900);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(74, 222, 221, 0.1);
}

.footer-brand {
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--neutral-100);
  display: inline-block;
  margin-bottom: 0.75rem;
  transition: var(--trans-fast);
}

.footer-brand:hover {
  color: var(--brand-cyber-accent);
}

.footer-tagline {
  color: var(--brand-cyber-accent);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.footer-tagline-sub {
  color: var(--neutral-400);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 320px;
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neutral-100);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--neutral-400);
  font-size: 0.9rem;
  transition: var(--trans-fast);
}

.footer-links a:hover {
  color: var(--brand-cyber-accent);
  padding-left: 4px;
}

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

.social-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(22, 40, 71, 0.7);
  border: 1px solid rgba(74, 222, 221, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neutral-400);
  font-size: 1.1rem;
  transition: var(--trans-smooth);
}

.social-icon:hover {
  background: rgba(74, 222, 221, 0.12);
  border-color: var(--brand-cyber-accent);
  color: var(--brand-cyber-accent);
  transform: translateY(-3px);
  box-shadow: 0 0 18px rgba(74, 222, 221, 0.25);
}

.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 222, 221, 0.2), transparent);
  margin: 2.5rem 0 1.5rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--neutral-400);
  margin: 0;
}

/* ======================== ANIMATED SECTION DIVIDERS ======================== */
.animated-divider {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-cyber-accent), var(--brand-electric-blue), transparent);
  background-size: 200% 100%;
  animation: shimmer-line 3s linear infinite;
  margin: 0;
  border: none;
}

@keyframes shimmer-line {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* ======================== SCROLL HIGHLIGHT ======================== */
.nav-link.section-active {
  color: var(--brand-cyber-accent) !important;
}

.nav-link.section-active::after {
  width: 70%;
}

/* ======================== UTILITY CLASSES ======================== */
.text-accent {
  color: var(--brand-cyber-accent);
}

.text-mono {
  font-family: var(--font-mono);
}

/* ======================== RESPONSIVE ======================== */
@media (max-width: 991.98px) {
  :root {
    --section-pad: 4.5rem 0;
  }

  .hero-image-col {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .hero-content {
    text-align: center;
  }

  .hero-cta,
  .hero-stats,
  .typed-wrapper,
  .hero-greeting {
    justify-content: center;
  }

  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-img-wrapper {
    max-width: 320px;
    margin: 0 auto;
  }

  .navbar-collapse {
    background: rgba(8, 20, 39, 0.96);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    border-radius: 0 0 16px 16px;
    border: 1px solid rgba(74, 222, 221, 0.12);
    border-top: none;
  }

  .navbar-nav .nav-link {
    padding: 0.7rem 0 !important;
    border-bottom: 1px solid rgba(74, 222, 221, 0.08);
  }

  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }

  .about-section .col-lg-6:first-child {
    text-align: center;
  }

  .mission-block {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
  }

  .about-quote {
    font-size: 1.25rem;
    padding-left: 1rem;
    border-left-width: 3px;
    margin: 1.5rem 0;
  }

  .pillar-item {
    flex: 1 1 100%;
  }

  .about-img-wrapper {
    max-width: 360px;
    margin: 0 auto;
    margin-bottom: 2rem;
  }

  .floating-badge {
    font-size: 0.75rem;
    padding: 0.4rem 0.7rem;
  }

  .badge-top-right {
    right: 0;
  }

  .badge-bottom-left {
    left: 0;
  }

  .site-footer {
    text-align: center;
  }

  .footer-tagline-sub {
    margin: 0 auto;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-socials {
    justify-content: center;
    margin-top: 1rem;
  }
}

@media (max-width: 575.98px) {
  :root {
    --section-pad: 4rem 0;
  }

  .hero-headline {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero-img-wrapper {
    max-width: 270px;
  }

  .hero-stats {
    gap: 1.2rem;
  }

  .stat-divider {
    display: none;
  }

  .skill-card,
  .service-card,
  .contact-info-block {
    padding: 1.4rem;
  }

  .floating-badge {
    display: none;
  }

  .cta-heading {
    font-size: 1.8rem;
  }

  .cta-features-card {
    padding: 1.5rem;
  }

  .mindset-title {
    font-size: clamp(1.8rem, 6vw, 2.2rem);
  }

  .mindset-body {
    font-size: 0.95rem;
  }

  /* Extra Small Devices Optimization */
  @media (max-width: 360px) {
    .profiles-grid {
      gap: 0.5rem;
    }

    .profile-card {
      width: 75px;
      height: 70px;
      padding: 0.6rem;
    }

    .skill-cat-tags span {
      font-size: 0.65rem;
      padding: 0.2rem 0.4rem;
    }
  }
}

.mindset-icon-large {
  font-size: 2.8rem;
}

/* ======================== PRINT ======================== */
@media print {

  #cursor-glow,
  #heroCanvas,
  .floating-badge {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}