/* ==========================================================================
   NAMAN ARORA — PROFESSIONAL VIDEO EDITOR PORTFOLIO STYLES
   Minimal, Modern, Glassmorphism, High-Contrast Light & White Text
   ========================================================================== */

:root {
  --bg-main: #0b0c10;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.12);
  --border-color-hover: rgba(255, 255, 255, 0.28);
  --accent-glow: rgba(99, 102, 241, 0.2);
  --accent-purple: #a5b4fc; /* Bright vivid indigo accent */
  --accent-white: #ffffff;
  --text-muted: #e2e8f0;    /* Bright light silver text */
  --text-dim: #f1f5f9;      /* Crisp off-white text */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--accent-white);
}

body {
  background-color: var(--bg-main);
  color: var(--accent-white);
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Override Bootstrap text-muted utility to ensure text is bright & visible */
.text-muted, p.text-muted, span.text-muted, div.text-muted, small.text-muted {
  color: #e2e8f0 !important;
}

/* --- Subtle Background Ambient Motion --- */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: -2;
  opacity: 0.5;
  animation: floatGlow 18s ease-in-out infinite alternate;
}

.bg-glow-1 {
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.1) 70%, transparent 100%);
  top: -10%;
  left: -10%;
}

.bg-glow-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, rgba(99, 102, 241, 0.08) 70%, transparent 100%);
  bottom: 10%;
  right: -10%;
  animation-delay: -9s;
}

@keyframes floatGlow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(60px, 40px) scale(1.08);
  }
  100% {
    transform: translate(-30px, 80px) scale(0.95);
  }
}

.bg-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 0);
  background-size: 24px 24px;
  pointer-events: none;
  z-index: -1;
  opacity: 0.7;
}

/* --- Section Overline Typography --- */
.section-overline {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent-purple);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.section-title {
  color: var(--accent-white);
  letter-spacing: -0.02em;
}

/* --- Custom Toast Notification --- */
.toast-custom {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: rgba(22, 24, 33, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color-hover);
  color: var(--accent-white);
  padding: 0.85rem 1.4rem;
  border-radius: 99px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  pointer-events: none;
}

.toast-custom.show {
  opacity: 1;
  transform: translateY(0);
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.92rem;
  font-weight: 600;
}

/* --- Navigation Header --- */
.navbar-wrapper {
  padding-top: 1.25rem;
  z-index: 1050;
  transition: var(--transition-smooth);
}

.floating-nav {
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: 99px;
  padding: 0.6rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-text {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--accent-white);
  letter-spacing: -0.02em;
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  background: rgba(165, 180, 252, 0.15);
  color: var(--accent-purple);
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  border: 1px solid rgba(165, 180, 252, 0.3);
}

.floating-nav .nav-link {
  color: #f1f5f9;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem !important;
  border-radius: 99px;
  transition: var(--transition-smooth);
}

.floating-nav .nav-link:hover {
  color: var(--accent-white);
  background: rgba(255, 255, 255, 0.1);
}

.floating-nav .nav-link.active {
  color: #0b0c10 !important;
  background: var(--accent-white) !important;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
  font-weight: 700;
}

.btn-nav-cta {
  background: var(--accent-white);
  color: #0b0c10;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
  border-radius: 99px;
  transition: var(--transition-smooth);
  border: none;
}

.btn-nav-cta:hover {
  background: #f8fafc;
  color: #0b0c10;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

.custom-toggler {
  border: none;
  padding: 0.5rem;
  box-shadow: none !important;
}

.toggler-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent-white);
  margin: 4px 0;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent-purple);
  background: rgba(165, 180, 252, 0.12);
  border: 1px solid rgba(165, 180, 252, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 99px;
}

.hero-title {
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-subtitle {
  color: #f1f5f9 !important;
  font-weight: 500;
}

.hero-description {
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 400;
  max-width: 580px;
}

/* Buttons */
.btn-primary-custom {
  background: var(--accent-white);
  color: #0b0c10;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid var(--accent-white);
}

.btn-primary-custom:hover {
  background: #ffffff;
  color: #0b0c10;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.3);
}

.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.8rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
}

/* Stats */
.stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.8rem;
  color: #e2e8f0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

/* Hero Portrait Styling */
.portrait-card-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 380px;
}

.portrait-ambient-glow {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(165, 180, 252, 0.35) 0%, rgba(99, 102, 241, 0.08) 70%, transparent 100%);
  filter: blur(35px);
  z-index: 0;
  animation: pulseGlow 4s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { opacity: 0.5; transform: scale(0.98); }
  100% { opacity: 0.85; transform: scale(1.04); }
}

.portrait-container {
  position: relative;
  z-index: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-color-hover);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
  animation: floatPortrait 6s ease-in-out infinite alternate;
}

@keyframes floatPortrait {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.portrait-container:hover {
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  background: linear-gradient(135deg, rgba(22, 24, 33, 0.95) 0%, rgba(15, 17, 23, 0.98) 100%);
}

.fallback-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--accent-purple);
}

.fallback-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.fallback-subtitle {
  font-size: 0.9rem;
  color: #f1f5f9;
  margin: 0;
}

.fallback-subtitle code {
  color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.12);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
}

/* --- Companies Section (Floating Logos) --- */
.companies-section {
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

/* Floating companies wrapper — centered, relaxed flex row */
#companiesGrid {
  display: flex !important;
  flex-wrap: wrap;
  gap: 2.5rem 3.5rem;
  align-items: center;
  justify-content: center;
  row-gap: 2rem;
}

/* Each company floats freely — no box, no border */
.company-float-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.65;
  transition: var(--transition-smooth);
  animation: floatLogo 5s ease-in-out infinite alternate;
}

.company-float-item:nth-child(odd) {
  animation-delay: -2s;
}
.company-float-item:nth-child(3n) {
  animation-delay: -4s;
}

@keyframes floatLogo {
  0%   { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

.company-float-item:hover {
  opacity: 1;
  transform: translateY(-8px) scale(1.06);
}

.company-logo-img {
  max-height: 36px;
  max-width: 120px;
  object-fit: contain;
  filter: brightness(1) grayscale(0.1);
  transition: var(--transition-smooth);
  display: block;
}

.company-float-item:hover .company-logo-img {
  filter: brightness(1.15) grayscale(0);
}

/* Text fallback for missing logos — no border, just clean type */
.company-text-fallback {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.company-float-item:hover .company-text-fallback {
  color: #ffffff;
}

/* --- Portfolio Section --- */
.portfolio-filters-wrapper {
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.portfolio-tabs {
  flex-wrap: nowrap;
}

.filter-btn {
  background: var(--bg-card) !important;
  color: #f1f5f9 !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 99px !important;
  padding: 0.65rem 1.4rem !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth) !important;
  white-space: nowrap;
}

.filter-btn:hover {
  color: #ffffff !important;
  border-color: var(--border-color-hover) !important;
  background: var(--bg-card-hover) !important;
}

.filter-btn.active {
  background: var(--accent-white) !important;
  color: #0b0c10 !important;
  border-color: var(--accent-white) !important;
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.25);
  font-weight: 700 !important;
}

.filter-btn.active .badge {
  background: #0b0c10 !important;
  color: var(--accent-white) !important;
}

/* Video Card Structure */
.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.video-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-6px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.55);
}

.video-card-header {
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.03);
}

.card-cat-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent-purple);
  text-transform: uppercase;
}

.card-index {
  font-size: 0.8rem;
  font-weight: 700;
  color: #e2e8f0;
}

/* Video Embed Placeholder Box */
.embed-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #10121a;
  overflow: hidden;
}

.embed-container.vertical-aspect {
  aspect-ratio: 9/16;
  max-height: 560px;
  margin: 0 auto;
}

/* Instagram aspect ratio & active container styling — zero scrollbars */
.embed-container.ig-aspect {
  aspect-ratio: 9/16;
  min-height: 520px;
  margin: 0 auto;
  position: relative;
  background: #0d0f17;
  overflow: hidden;
}

.embed-container.ig-embed-active {
  min-height: 560px !important;
  height: 560px !important;
  max-height: 580px !important;
  overflow: hidden !important;
}

.embed-container.ig-embed-active iframe {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  overflow: hidden !important;
  scrolling: no !important;
}

.embed-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: radial-gradient(circle, rgba(30, 34, 48, 0.85) 0%, rgba(12, 14, 20, 0.98) 100%);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.embed-placeholder:hover {
  background: radial-gradient(circle, rgba(40, 46, 64, 0.95) 0%, rgba(16, 18, 26, 1) 100%);
}

.play-button-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-white);
  margin-bottom: 0.85rem;
  transition: var(--transition-smooth);
}

.embed-placeholder:hover .play-button-icon {
  background: var(--accent-white);
  color: #0b0c10;
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.45);
}

.placeholder-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.placeholder-subtext {
  font-size: 0.82rem;
  color: #e2e8f0;
}

/* Active Iframe Embed */
.video-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* --- YouTube Thumbnail-First Card --- */
.yt-thumbnail-wrapper {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
}

.yt-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.yt-thumbnail-wrapper:hover .yt-thumbnail-img {
  transform: scale(1.04);
}

.yt-thumb-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: #12141e;
  color: var(--text-dim);
}

/* Dark scrim so the play button is always visible */
.play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.yt-thumbnail-wrapper:hover .play-overlay,
.ig-card-placeholder:hover .play-overlay {
  background: rgba(0, 0, 0, 0.45);
}

.play-btn-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 4px; /* optical alignment for play triangle */
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.yt-thumbnail-wrapper:hover .play-btn-circle,
.ig-card-placeholder:hover .play-btn-circle {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.4);
}

/* Small "↗ YouTube" or "↗ Instagram" chip in bottom-right corner */
.yt-external-badge {
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  border-radius: 99px;
  text-decoration: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 5;
}

.yt-thumbnail-wrapper:hover .yt-external-badge,
.ig-card-placeholder:hover .yt-external-badge {
  opacity: 1;
  transform: translateY(0);
}

/* --- Instagram Native-Open Card --- */
.ig-card-placeholder {
  position: absolute;
  inset: 0;
  cursor: pointer;
  overflow: hidden;
}

.ig-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ig-card-placeholder:hover .ig-thumbnail-img {
  transform: scale(1.04);
}

.ig-thumb-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(145deg, #1a1030 0%, #0d0d16 50%, #150d24 100%);
  transition: background 0.3s ease;
}

/* Instagram gradient icon ring */
.ig-icon-ring {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  padding: 2px;
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ig-icon-ring svg {
  background: #0d0d16;
  border-radius: 16px;
  padding: 10px;
  width: 64px;
  height: 64px;
  color: #ffffff;
}

/* Small play badge overlay on top of the IG icon */
.ig-play-icon {
  position: absolute;
  bottom: calc(50% - 8px);
  right: calc(50% - 36px);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #0d0d16;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 2px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.ig-label {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.ig-sublabel {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.04em;
}

/* Video Card Body */
.video-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.video-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.4rem;
  line-height: 1.35;
}

.video-desc {
  font-size: 0.85rem;
  color: #e2e8f0;
  margin-bottom: 1rem;
}

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

.btn-link-action {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0;
  transition: var(--transition-smooth);
}

.btn-link-action:hover {
  color: var(--accent-purple);
}

/* --- About Section & Tools --- */
.about-highlights-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
}

.phil-icon {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--accent-purple);
  background: rgba(165, 180, 252, 0.12);
  border: 1px solid rgba(165, 180, 252, 0.3);
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: var(--transition-smooth);
}

.tool-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.45);
}

.tool-icon-wrapper {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-color-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tool-icon-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.tool-badge-fallback {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-purple);
  letter-spacing: -0.02em;
}

.tool-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.tool-desc {
  font-size: 0.85rem;
  color: #e2e8f0;
  margin: 0;
}

/* --- Contact Section --- */
.contact-card-hero {
  background: linear-gradient(180deg, rgba(22, 25, 36, 0.9) 0%, rgba(13, 14, 20, 0.98) 100%);
  backdrop-filter: blur(20px);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
}

.contact-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.featured-contact-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color-hover);
  transition: var(--transition-smooth);
}

.featured-contact-box:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
}

.box-tag {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--accent-purple);
}

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.3rem;
  border-radius: 99px;
  background: var(--bg-card);
  border: 1px solid var(--border-color-hover);
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.social-pill:hover {
  background: var(--bg-card-hover);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.footer-custom p {
  color: #e2e8f0 !important;
  font-weight: 500;
}

/* --- Utilities --- */
.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.max-w-600 {
  max-width: 600px;
}

.max-w-800 {
  max-width: 800px;
}

/* Responsive Tweaks */
@media (max-width: 991.98px) {
  .hero-section {
    padding-top: 7rem;
    text-align: center;
  }
  .hero-text-col {
    text-align: center !important;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .portrait-card-wrapper {
    margin-top: 2rem;
  }
  .floating-nav {
    border-radius: 20px;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 2.25rem;
  }
  .stat-num {
    font-size: 1.3rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }
}
