/* 
   Aminul Haque Chowdhury — Executive Global Portfolio Stylesheet
   Theme: Modern Architectural Light (Default) + Obsidian Dark Mode
   Optimized for High Visual Richness, Global Brand Perception, High-Ranking SEO & Interactive Fluidity
*/

@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');

:root {
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Fira Code', monospace;

  /* Modern Architectural Light Theme (Default) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-subtle: #f1f5f9;
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-accent: rgba(2, 132, 199, 0.4);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --accent-cyan: #0284c7;
  --accent-blue: #2563eb;
  --accent-emerald: #059669;
  --accent-indigo: #4f46e5;
  --accent-purple: #9333ea;
  --accent-amber: #d97706;
  --accent-rose: #e11d48;
  --glow-color: rgba(2, 132, 199, 0.12);
  --grid-line: rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.07), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -5px rgba(15, 23, 42, 0.1);
  --shadow-glow: 0 0 40px -10px rgba(2, 132, 199, 0.25);
}

[data-theme="dark"] {
  --bg-primary: #07090e;
  --bg-secondary: #0d121d;
  --bg-surface: #111726;
  --bg-card: rgba(17, 23, 38, 0.9);
  --bg-card-hover: rgba(26, 35, 56, 0.98);
  --bg-subtle: #0f1626;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-accent: rgba(56, 189, 248, 0.4);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-cyan: #38bdf8;
  --accent-blue: #60a5fa;
  --accent-emerald: #10b981;
  --accent-indigo: #6366f1;
  --accent-purple: #c084fc;
  --accent-amber: #f59e0b;
  --accent-rose: #fb7185;
  --glow-color: rgba(56, 189, 248, 0.18);
  --grid-line: rgba(255, 255, 255, 0.04);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 35px -5px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 45px -10px rgba(56, 189, 248, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  transition: background-color 0.25s ease, color 0.25s ease;
}

body {
  overflow-x: hidden;
  position: relative;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-cyan);
}
[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #334155;
}

/* Blueprint Grid Background */
.bg-grid-pattern {
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 36px 36px;
}

/* Ambient Subtle Lighting Orbs */
.glow-spot-1 {
  position: absolute;
  top: 0%;
  left: 12%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.glow-spot-2 {
  position: absolute;
  top: 35%;
  right: 5%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(147, 51, 234, 0.06) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.glow-spot-3 {
  position: absolute;
  bottom: 8%;
  left: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

/* Modern Frosted White Card Utility */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--text-primary);
}

/* ==========================================================================
   Bulletproof Theme Contrast & Legibility Engine (Zero Text-Blending Guarantee)
   ========================================================================== */

/* Light Mode Defaults (Crisp Architectural Light) */
[data-theme="light"] body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

[data-theme="light"] .glass-panel {
  background-color: #ffffff !important;
  border-color: #e2e8f0 !important;
  box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .glass-panel h1,
[data-theme="light"] .glass-panel h2,
[data-theme="light"] .glass-panel h3,
[data-theme="light"] .glass-panel h4 {
  color: #0f172a !important;
}

[data-theme="light"] .glass-panel p {
  color: #475569 !important;
}

/* Dark Mode Overrides (Obsidian Luxury Dark) */
[data-theme="dark"] body {
  background-color: #07090e !important;
  color: #f8fafc !important;
}

[data-theme="dark"] .glass-panel {
  background-color: #111726 !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5) !important;
}

[data-theme="dark"] .bg-white {
  background-color: #111726 !important;
}

[data-theme="dark"] .border-slate-200 {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Ensure ALL headings across all sections in dark mode are bright and readable */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] .text-slate-900 {
  color: #f8fafc !important;
}

[data-theme="dark"] .text-slate-800 {
  color: #f1f5f9 !important;
}

[data-theme="dark"] .text-slate-700 {
  color: #e2e8f0 !important;
}

[data-theme="dark"] p,
[data-theme="dark"] .text-slate-600 {
  color: #cbd5e1 !important;
}

[data-theme="dark"] .text-slate-500 {
  color: #94a3b8 !important;
}

/* In dark mode, ensure badges and pills have high contrast */
[data-theme="dark"] .bg-slate-100 {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #e2e8f0 !important;
}

[data-theme="dark"] .bg-sky-50 {
  background-color: rgba(2, 132, 199, 0.18) !important;
  color: #38bdf8 !important;
  border-color: rgba(56, 189, 248, 0.3) !important;
}

[data-theme="dark"] .bg-emerald-50 {
  background-color: rgba(5, 150, 105, 0.18) !important;
  color: #34d399 !important;
  border-color: rgba(52, 211, 153, 0.3) !important;
}

[data-theme="dark"] .bg-purple-50 {
  background-color: rgba(147, 51, 234, 0.18) !important;
  color: #c084fc !important;
  border-color: rgba(192, 132, 252, 0.3) !important;
}

[data-theme="dark"] .bg-indigo-50 {
  background-color: rgba(79, 70, 229, 0.18) !important;
  color: #818cf8 !important;
  border-color: rgba(129, 140, 248, 0.3) !important;
}

[data-theme="dark"] .bg-amber-50 {
  background-color: rgba(217, 119, 6, 0.18) !important;
  color: #fbbf24 !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
}

[data-theme="dark"] .bg-rose-50 {
  background-color: rgba(225, 29, 72, 0.18) !important;
  color: #fb7185 !important;
  border-color: rgba(251, 113, 133, 0.3) !important;
}

[data-theme="dark"] .bg-blue-50 {
  background-color: rgba(37, 99, 235, 0.18) !important;
  color: #60a5fa !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Modern Gradient Text */
.gradient-text-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #4f46e5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-emerald {
  background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .gradient-text-emerald {
  background: linear-gradient(135deg, #10b981 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
  background: linear-gradient(135deg, #9333ea 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid var(--border-subtle);
  background: var(--bg-subtle);
  color: var(--text-secondary);
}

/* Desktop Mouse Glow Effect */
#cursor-glow {
  position: fixed;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 9999;
  transition: opacity 0.3s ease;
}
[data-theme="dark"] #cursor-glow {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.09) 0%, transparent 65%);
}

@media (max-width: 768px) {
  #cursor-glow {
    display: none;
  }
}

/* Founder Portrait Photo Effects */
.founder-image-wrapper {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18), 0 10px 20px -5px rgba(15, 23, 42, 0.08);
  border: 1px solid var(--border-medium);
  background: #ffffff;
}

.founder-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 2.5px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.6), rgba(147, 51, 234, 0.3), rgba(5, 150, 105, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 2;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.founder-image-wrapper:hover .founder-img {
  transform: scale(1.03);
}

/* Live Status Dot */
.status-indicator {
  position: relative;
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
}

.status-indicator::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--accent-emerald);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 0.9; }
  50% { transform: scale(1.6); opacity: 0; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* Floating Hologram Badges */
.floating-badges-container {
  position: relative;
  width: 100%;
}

.floating-badge {
  position: absolute;
  padding: 0.75rem 1.15rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-medium);
  border-radius: 18px;
  box-shadow: 0 15px 35px -5px rgba(15, 23, 42, 0.14);
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: float 4s ease-in-out infinite alternate;
}

[data-theme="dark"] .floating-badge {
  background: rgba(15, 23, 42, 0.94);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.6);
}

@keyframes float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-8px); }
}

.floating-badge.badge-left {
  bottom: 24px;
  left: -24px;
  animation-delay: -1.5s;
}

.floating-badge.badge-right {
  top: 24px;
  right: -24px;
  animation-delay: 0s;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .floating-badge.badge-left {
    left: -12px;
    bottom: 16px;
  }
  .floating-badge.badge-right {
    right: -12px;
    top: 16px;
  }
}

@media (max-width: 768px) {
  .floating-badges-container {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
    max-width: 320px;
    margin: 10px auto 0 !important;
  }

  .floating-badge {
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
    animation: none !important;
    padding: 0.5rem 0.65rem !important;
    gap: 0.45rem !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* Graphical Workflow Step Card */
.workflow-step-card {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.workflow-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.workflow-step-num {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  color: var(--accent-cyan);
}

/* Media & Creative Showcase Card */
.creative-showcase-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.creative-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-accent);
}

.creative-banner {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 160px;
  max-height: 210px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Visual Skill / Experience Bar */
.experience-bar-track {
  width: 100%;
  height: 8px;
  background: var(--bg-subtle);
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border-subtle);
}

.experience-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Interactive Checkboxes */
.custom-checkbox {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--border-medium);
  border-radius: 4px;
  background: var(--bg-surface);
  cursor: pointer;
  display: inline-grid;
  place-content: center;
  transition: all 0.2s ease;
}

.custom-checkbox:checked {
  background: var(--accent-cyan);
  border-color: var(--accent-cyan);
}

.custom-checkbox:checked::before {
  content: "";
  width: 9px;
  height: 5px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

/* Estimator Interactive Track & Scale Buttons */
.est-track-btn, .est-scale-btn {
  background-color: #ffffff;
  border-color: #e2e8f0;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.est-track-btn:hover, .est-scale-btn:hover {
  border-color: #0284c7;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -2px rgba(2, 132, 199, 0.12);
}

.est-track-btn.active, .est-scale-btn.active {
  border-color: #0284c7;
  background-color: #f0f9ff;
  box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.2);
}

[data-theme="dark"] .est-track-btn, [data-theme="dark"] .est-scale-btn {
  background-color: #111726;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .est-track-btn:hover, [data-theme="dark"] .est-scale-btn:hover {
  border-color: #38bdf8;
  box-shadow: 0 4px 14px -2px rgba(56, 189, 248, 0.2);
}

[data-theme="dark"] .est-track-btn.active, [data-theme="dark"] .est-scale-btn.active {
  border-color: #38bdf8;
  background-color: rgba(56, 189, 248, 0.15);
  box-shadow: 0 0 0 2px rgba(56, 189, 248, 0.3);
}

/* Project Card */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-lg);
}

.project-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 175px;
  max-height: 230px;
  position: relative;
  overflow: hidden;
  background: #f1f5f9;
}
[data-theme="dark"] .project-card-image {
  background: #0f172a;
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 0.85rem 1.4rem;
  background: #0f172a;
  color: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.25);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease, fadeOut 0.4s ease 2.6s forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-10px); }
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-container {
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: 22px;
  max-width: 820px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.25);
  position: relative;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0f172a;
}

[data-theme="dark"] .modal-container {
  background: #0d121d;
  color: #f8fafc;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

/* Collapsible FAQ Accordion for High SEO Ranking */
.faq-item {
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.2s ease;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  background: transparent;
  border: none;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: 1.25rem;
  transition: max-height 0.4s ease-in-out, padding 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}


/* Media & Creative Showcase Card Banner & Image */
.creative-banner-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.creative-showcase-card:hover .creative-banner-img {
  transform: scale(1.08);
}

.creative-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.82) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Project Card Image & Hover Zoom */
.project-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-card-image img {
  transform: scale(1.08);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.75) 100%);
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Modern Non-Intrusive Micro-Animations
   Smooth, High-FPS, Never Causes Lag or Jitter
   ========================================================================== */
.gradient-text-cyan {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 50%, #7c3aed 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientFlow 5s ease infinite alternate;
}

[data-theme="dark"] .gradient-text-cyan {
  background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% 200%;
  animation: gradientFlow 5s ease infinite alternate;
}

@keyframes gradientFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes floatGentle {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.badge-float {
  animation: floatGentle 3.5s ease-in-out infinite;
}

/* Floating Launcher Button Glow Pulse */
#swarm-floating-trigger {
  animation: floatGentle 4s ease-in-out infinite;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.4), 0 0 15px rgba(56, 189, 248, 0.25);
}

#swarm-floating-trigger:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 30px -5px rgba(2, 132, 199, 0.6), 0 0 25px rgba(56, 189, 248, 0.45);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}
