/* ===================================================
   RAGESH P PORTFOLIO — MAIN STYLESHEET
   =================================================== */

/* ─── CSS VARIABLES ─────────────────────────────── */
:root {
  --blue:        #0ea5e9;
  --blue-dark:   #0369a1;
  --blue-glow:   rgba(14,165,233,0.35);
  --orange:      #f97316;
  --orange-glow: rgba(249,115,22,0.3);
  --purple:      #8b5cf6;
  --purple-glow: rgba(139,92,246,0.3);
  --bg:          #050b15;
  --bg-2:        #080f1e;
  --bg-card:     rgba(255,255,255,0.04);
  --border:      rgba(255,255,255,0.08);
  --text:        #e2e8f0;
  --text-muted:  #64748b;
  --text-bright: #f8fafc;
  --font-head:   'Syne', sans-serif;
  --font-body:   'DM Sans', sans-serif;
  --radius:      14px;
  --radius-sm:   8px;
  --shadow:      0 24px 60px rgba(0,0,0,0.5);
  --transition:  all 0.35s cubic-bezier(0.4,0,0.2,1);
}

/* ─── RESET & BASE ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  cursor: none;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-body);
  color: var(--text);
}

/* ─── SCROLLBAR ─────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 10px; }

/* ─── UTILITIES ─────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 120px 0; }
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  border: 1px solid rgba(14,165,233,0.3);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  background: rgba(14,165,233,0.06);
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}
.section-header { text-align: center; margin-bottom: 70px; }
.section-header .section-desc { margin: 0 auto; }
.glow-text {
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.highlight-text {
  color: var(--blue);
  font-weight: 600;
}

/* ─── BUTTONS ───────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px var(--blue-glow);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--purple), var(--blue));
  opacity: 0;
  transition: opacity 0.35s;
  border-radius: inherit;
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px var(--blue-glow); }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }
.btn-primary.large { padding: 18px 40px; font-size: 1.05rem; }
.btn-primary.full-width { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--text-bright);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 0 30px var(--blue-glow);
}
.btn-outline.large { padding: 18px 40px; font-size: 1.05rem; }

/* ─── CUSTOM CURSOR ─────────────────────────────── */
.cursor-dot {
  width: 8px; height: 8px;
  background: var(--blue);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
  box-shadow: 0 0 10px var(--blue);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(14,165,233,0.5);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%,-50%);
  transition: transform 0.08s, width 0.3s, height 0.3s, border-color 0.3s;
}
body.cursor-hover .cursor-dot { width: 14px; height: 14px; background: var(--orange); }
body.cursor-hover .cursor-ring { width: 54px; height: 54px; border-color: var(--orange); }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } body { cursor: auto; } }

/* ─── LOADER ─────────────────────────────────────── */
.loader {
  position: fixed; inset: 0;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { text-align: center; }
.loader-logo {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 800;
  color: var(--blue);
  text-shadow: 0 0 40px var(--blue-glow);
  animation: pulse 1s infinite;
  margin-bottom: 24px;
}
.loader-bar {
  width: 200px; height: 3px;
  background: var(--border);
  border-radius: 10px;
  margin: 0 auto 16px;
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--purple), var(--orange));
  border-radius: 10px;
  animation: loadProgress 2s ease forwards;
}
.loader-text {
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
@keyframes loadProgress { from { width: 0; } to { width: 100%; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ─── NAVBAR ─────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5,11,21,0.9);
  backdrop-filter: blur(20px);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-logo {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-bright);
  margin-right: auto;
  white-space: nowrap;
}
.logo-bracket { color: var(--blue); }
.logo-dot { color: var(--orange); }
.logo-p { color: var(--blue); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--text-bright); background: var(--bg-card); }
.nav-cta { font-size: 0.88rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ─── MOBILE MENU ───────────────────────────────── */
.mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(5,11,21,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu ul { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mobile-link {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 12px 24px;
}
.mobile-link:hover { color: var(--blue); }

/* ─── HERO SECTION ──────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
#heroCanvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.hero-particles {
  position: absolute; inset: 0; z-index: 1; overflow: hidden;
  pointer-events: none;
}
.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
  padding-top: 120px;
  padding-bottom: 60px;
  min-height: 100vh;
  width: 100%;
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column; /* Stack character on top of cards */
  justify-content: center;
  align-items: center;
  perspective: 1000px;
  width: 100%;
  gap: 40px;
}

.hero-char-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.char-body {
  position: relative;
  z-index: 5;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.3));
  animation: floatBody 6s ease-in-out infinite;
  display: flex;
  justify-content: center;
  align-items: center;
}

.char-body svg {
  width: 100%;
  height: auto;
  max-width: 340px;
}

@media (max-width: 480px) {
  .char-body svg {
    max-width: 260px;
  }
}

.char-platform {
  position: absolute;
  bottom: -20px;
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse at center, var(--blue-glow) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 1;
}

.char-orbit {
  position: absolute;
  border: 1px solid rgba(14, 165, 233, 0.15);
  border-radius: 50%;
  z-index: 2;
}

.char-orbit-1 {
  width: 450px;
  height: 450px;
  animation: orbitSpin 15s linear infinite;
}

.char-orbit-2 {
  width: 350px;
  height: 350px;
  animation: orbitSpin 10s linear reverse infinite;
}

@media (max-width: 768px) {
  .char-orbit-1 {
    width: 300px;
    height: 300px;
  }
  .char-orbit-2 {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 480px) {
  .char-orbit-1 {
    width: 250px;
    height: 250px;
  }
  .char-orbit-2 {
    width: 200px;
    height: 200px;
  }
}

.char-particle {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  filter: blur(1px);
  box-shadow: 0 0 10px var(--blue);
  z-index: 6;
}

.cp-1 { top: 20%; left: 10%; animation: floatParticle 4s infinite 0s; }
.cp-2 { top: 60%; right: 10%; animation: floatParticle 5s infinite 1s; }
.cp-3 { bottom: 20%; left: 20%; animation: floatParticle 6s infinite 2s; }
.cp-4 { top: 10%; right: 20%; animation: floatParticle 4s infinite 3s; }

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

@keyframes floatParticle {
  0%, 100% { transform: translate(0, 0); opacity: 0.5; }
  50% { transform: translate(10px, -20px); opacity: 1; }
}
/* Float Cards styling */
.hero-float-cards-wrap {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 24px;
  width: 100%;
  z-index: 10;
  flex-wrap: nowrap; /* Force single row */
}

.hero-float-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 24px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: var(--transition);
  animation: floatCard 5s ease-in-out infinite;
  min-width: 180px;
}

.hero-float-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: var(--blue);
  background: rgba(255, 255, 255, 0.12);
}

.hero-float-card:nth-child(2) { animation-delay: 0s; }
.hero-float-card:nth-child(3) { animation-delay: 1.5s; }
.hero-float-card:nth-child(4) { animation-delay: 3s; }

.fc-icon {
  font-size: 1.8rem;
  margin-bottom: 2px;
}

.fc-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff; /* Pure white for better contrast */
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.fc-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85); /* Much brighter for visibility */
  font-weight: 600;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-15px) rotate(2deg); }
}

@media (max-width: 992px) {
  .hero-float-cards-wrap {
    gap: 16px;
    margin-top: 30px;
    flex-wrap: nowrap;
  }
  .hero-float-card {
    padding: 12px 16px;
    min-width: 0;
    flex: 1;
  }
}
.hero-3d-object {
  position: relative;
  width: 100%;
  max-width: 450px;
  animation: floatCharacter 6s ease-in-out infinite;
  transform-style: preserve-3d;
}
.hero-character {
  width: 100%;
  height: auto;
  max-height: 70vh;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,0.5));
  z-index: 2;
  position: relative;
}
.object-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 120%; height: 120%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  z-index: 1;
  opacity: 0.6;
  filter: blur(40px);
}
@keyframes floatCharacter {
  0%, 100% { transform: translateY(0) rotateX(2deg) rotateY(-2deg); }
  50% { transform: translateY(-20px) rotateX(-2deg) rotateY(2deg); }
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
    padding-bottom: 60px;
    gap: 30px;
    min-height: auto;
  }
  .hero-content {
    order: 2;
    align-items: center;
  }
  .hero-visual {
    order: 1;
    margin-bottom: 20px;
    gap: 20px;
  }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; margin-bottom: 40px; }
  .hero-stats { justify-content: center; width: 100%; margin-top: 0; }
  .hero-3d-object { max-width: 320px; }
}

@media (max-width: 480px) {
  .hero-container {
    padding-top: 80px;
    padding-bottom: 40px;
    gap: 20px;
  }
  .hero-badge {
    margin-bottom: 20px;
    padding: 6px 14px;
    font-size: 0.75rem;
  }
  .hero-title {
    margin-bottom: 16px;
  }
  .hero-sub {
    margin-bottom: 30px;
    font-size: 0.95rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    gap: 20px 10px;
  }
  .stat-item {
    flex: 1 1 40%;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 200px;
  background: rgba(14,165,233,0.1);
  border: 1px solid rgba(14,165,233,0.25);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--blue);
  margin-bottom: 28px;
  animation: fadeSlideDown 0.8s ease 0.3s both;
}
.badge-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 8px #22c55e;
  animation: blinkDot 2s infinite;
}
@keyframes blinkDot { 0%,100% { opacity:1; } 50% { opacity:0.3; } }

.hero-title {
  font-family: var(--font-head);
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  animation: fadeSlideDown 0.8s ease 0.5s both;
}
.hero-greeting {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  color: var(--text-muted);
  font-weight: 400;
}
.hero-name {
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 800;
  color: var(--text-bright);
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--blue) 50%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-roles {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 600;
  color: var(--orange);
  min-height: 2em;
  display: block;
}
.role-item { display: none; }
.role-item.active { display: block; animation: fadeUp 0.5s ease; }
@keyframes fadeUp { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 40px;
  animation: fadeSlideDown 0.8s ease 0.7s both;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeSlideDown 0.8s ease 0.9s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  animation: fadeSlideDown 0.8s ease 1.1s both;
  margin-top: 10px;
}
.stat-item { 
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-bright);
  display: inline-block;
}
.stat-plus { color: var(--blue); font-weight: 800; font-size: 1.5rem; }
.stat-label { display: block; font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

.hero-scroll-hint {
  position: absolute;
  bottom: 40px; right: 40px;
  display: flex; align-items: center; gap: 12px;
  font-size: 0.8rem; color: var(--text-muted);
  writing-mode: vertical-rl;
  animation: fadeSlideDown 0.8s ease 1.3s both;
}
.scroll-line {
  width: 2px; height: 50px;
  background: linear-gradient(to bottom, var(--blue), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0%,100% { transform:scaleY(1); opacity:1; } 50% { transform:scaleY(0.5); opacity:0.5; } }
@keyframes fadeSlideDown { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }

/* ─── ABOUT SECTION ─────────────────────────────── */
.about { background: var(--bg-2); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-img-wrapper {
  position: relative;
  display: flex; justify-content: center;
}
.about-img-bg {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-glow) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
}
.about-img-frame {
  width: 280px; height: 280px;
  border-radius: 50%;
  border: 2px solid var(--border);
  padding: 4px;
  background: var(--bg-card);
  backdrop-filter: blur(10px);
}
.about-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.avatar-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(14,165,233,0.2);
  animation: orbitSpin 8s linear infinite;
}
.ring-1 { width: 220px; height: 220px; animation-duration: 8s; }
.ring-2 { width: 190px; height: 190px; animation-duration: 12s; animation-direction: reverse; border-color: rgba(139,92,246,0.2); }
.ring-3 { width: 160px; height: 160px; animation-duration: 16s; border-color: rgba(249,115,22,0.2); }
@keyframes orbitSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.about-badge-float {
  position: absolute;
  background: rgba(8,15,30,0.9);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-bright);
  display: flex; align-items: center; gap: 8px;
  white-space: nowrap;
  animation: floatBadge 3s ease-in-out infinite;
}
.about-badge-float i { color: var(--blue); }
.badge-1 { top: 10%; right: -10%; animation-delay: 0s; }
.badge-2 { bottom: 15%; left: -10%; animation-delay: 1s; }
.badge-3 { top: 40%; left: -20%; animation-delay: 2s; }
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about-bio {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
  font-size: 1rem;
}
.skills-grid { margin: 32px 0; display: flex; flex-direction: column; gap: 16px; }
.skill-bar-item { }
.skill-bar-header {
  display: flex; justify-content: space-between;
  font-size: 0.88rem; font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
}
.skill-pct { color: var(--blue); }
.skill-track {
  height: 6px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  border-radius: 10px;
  transition: width 1.5s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 0 8px var(--blue-glow);
}

.about-action {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  animation: fadeUp 1s ease 0.5s both;
}

/* Neon Button for Education Portfolio */
.btn-neon {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(14, 165, 233, 0.1));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 50px;
  border: 1.5px solid transparent;
  background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9)), 
                    linear-gradient(135deg, var(--orange), var(--blue));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: var(--transition);
  backdrop-filter: blur(12px);
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  text-transform: none;
  letter-spacing: 0.5px;
}

.btn-neon i {
  color: var(--orange);
  font-size: 0.85rem;
  transition: var(--transition);
}

.btn-neon:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px var(--orange-glow), 0 0 10px var(--blue-glow);
  color: #fff;
}

.btn-neon:hover i {
  color: var(--blue);
  transform: rotate(15deg);
}

.btn-neon::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50px;
  padding: 1.5px;
  background: linear-gradient(135deg, var(--orange), var(--blue));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.8;
  transition: var(--transition);
}

.btn-neon:hover::before {
  opacity: 1;
  background: linear-gradient(135deg, var(--blue), var(--orange));
}

.about-tech {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 8px;
}
.tech-tag {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 6px;
  transition: var(--transition);
}
.tech-tag:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.tech-tag i { color: var(--blue); }

/* ─── SERVICES SECTION ──────────────────────────── */
.services { background: var(--bg); position: relative; overflow: hidden; }
.services-bg-glow {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(14,165,233,0.08) 0%, transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  pointer-events: none;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.service-card:hover {
  border-color: rgba(14,165,233,0.4);
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 40px rgba(14,165,233,0.1);
}
.service-card.featured {
  border-color: rgba(14,165,233,0.4);
  background: linear-gradient(135deg, rgba(14,165,233,0.06), rgba(139,92,246,0.06));
}
.featured-badge {
  position: absolute; top: -1px; right: 20px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 4px 14px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.05em;
}
.service-icon-wrap { margin-bottom: 20px; }
.service-icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(139,92,246,0.15));
  border: 1px solid rgba(14,165,233,0.2);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  box-shadow: 0 0 20px var(--blue-glow);
}
.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-features {
  display: flex; flex-direction: column; gap: 8px;
  margin-bottom: 24px;
}
.service-features li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 8px;
}
.service-features li i { color: var(--blue); font-size: 0.7rem; }
.service-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 600;
  color: var(--blue);
  transition: var(--transition);
}
.service-cta:hover { gap: 14px; }
.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(14,165,233,0.06), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover .card-glow { opacity: 1; }

/* ─── PORTFOLIO SECTION ─────────────────────────── */
.portfolio { background: var(--bg-2); }
.portfolio-filters {
  display: flex; justify-content: center; gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 0 20px var(--blue-glow);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-item { transition: var(--transition); }
.portfolio-item.hidden { display: none; }
.portfolio-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.portfolio-card:hover { transform: translateY(-6px); border-color: rgba(14,165,233,0.3); }
.portfolio-img { position: relative; overflow: hidden; aspect-ratio: 16/10; }
.portfolio-placeholder {
  width: 100%; 
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px;
  font-size: 2.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.portfolio-placeholder i { font-size: 2.5rem; }
.ai-theme { background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(139,92,246,0.15)); color: var(--blue); }
.web-theme { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(249,115,22,0.15)); color: var(--purple); }
.mkt-theme { background: linear-gradient(135deg, rgba(249,115,22,0.15), rgba(14,165,233,0.15)); color: var(--orange); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(5,11,21,0.5);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.port-btn {
  padding: 10px 20px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.port-btn:hover { transform: scale(1.05); }
.port-btn.outline { background: transparent; border: 1px solid var(--border); }
.port-btn.outline:hover { border-color: var(--blue); color: var(--blue); }
.portfolio-info { padding: 20px 22px; }
.port-tag {
  font-size: 0.75rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--blue);
  display: inline-block; margin-bottom: 8px;
}
.portfolio-info h3 {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 8px;
}
.portfolio-info p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ─── TESTIMONIALS SECTION ──────────────────────── */
.testimonials { background: var(--bg); position: relative; overflow: hidden; }
.testimonials-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(139,92,246,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.testimonials-wrapper { position: relative; }
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  overflow: hidden;
  transition: var(--transition);
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  display: none;
  transition: var(--transition);
  animation: fadeSlideDown 0.5s ease;
}
.testimonial-card.active { display: block; }
.testi-quote { color: var(--blue); font-size: 1.5rem; margin-bottom: 16px; opacity: 0.6; }
.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-author {
  display: flex; align-items: center; gap: 12px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; color: #fff;
  flex-shrink: 0;
}
.testi-author > div:not(.testi-avatar) { flex: 1; }
.testi-author strong { display: block; font-size: 0.9rem; color: var(--text-bright); }
.testi-author span { font-size: 0.8rem; color: var(--text-muted); }
.testi-stars { color: var(--orange); font-size: 0.85rem; letter-spacing: 2px; }
.testi-controls {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 36px;
}
.testi-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
}
.testi-btn:hover { border-color: var(--blue); color: var(--blue); }
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.testi-dot.active { background: var(--blue); transform: scale(1.3); }

/* ─── CTA SECTION ───────────────────────────────── */
.cta-section { background: var(--bg-2); position: relative; overflow: hidden; }
.cta-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(14,165,233,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--text-bright);
  margin-bottom: 20px;
  line-height: 1.15;
}
.cta-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ─── CONTACT SECTION ───────────────────────────── */
.contact { background: var(--bg); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  display: flex; align-items: center; gap: 16px;
  transition: var(--transition);
}
.contact-card:hover { border-color: rgba(14,165,233,0.3); transform: translateX(4px); }
.contact-card > i {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(14,165,233,0.15), rgba(139,92,246,0.15));
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--blue);
  flex-shrink: 0;
}
.contact-card strong { display: block; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
.contact-card a { font-size: 0.9rem; color: var(--text-bright); transition: color 0.2s; }
.contact-card a:hover { color: var(--blue); }
.contact-availability {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px;
  background: rgba(34,197,94,0.07);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius);
  font-size: 0.85rem; color: #4ade80;
}
.avail-dot {
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px #22c55e;
  animation: blinkDot 2s infinite;
}

/* ─── CONTACT FORM ──────────────────────────────── */
.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group.full { grid-column: 1/-1; }
.form-group label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-size: 0.9rem;
  color: var(--text-bright);
  outline: none;
  transition: var(--transition);
  width: 100%;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  background: rgba(14,165,233,0.04);
  box-shadow: 0 0 0 3px rgba(14,165,233,0.1);
}
.form-group select option { background: #0d1929; }
.form-group input.error, .form-group select.error, .form-group textarea.error {
  border-color: #ef4444;
}
.form-error { font-size: 0.78rem; color: #ef4444; min-height: 1em; }
.form-success {
  display: flex; align-items: center; gap: 16px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  animation: fadeSlideDown 0.5s ease;
}
.form-success i { font-size: 1.5rem; color: #22c55e; }
.form-success strong { display: block; color: #4ade80; font-size: 0.95rem; }
.form-success p { font-size: 0.85rem; color: var(--text-muted); margin: 0; }

/* ─── FLOATING SOCIAL FAB ───────────────────────── */
.fab-container {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fab-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(14,165,233,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 2;
}
.fab-menu {
  display: flex;
  flex-direction: column; /* Icons stack upwards */
  gap: 12px;
  pointer-events: none;
}
.fab-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 8px 15px rgba(0,0,0,0.2);
  text-decoration: none;
  position: relative;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.5);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover States */
.fab-container:hover .fab-toggle {
  transform: rotate(45deg) scale(1.05);
  background: var(--purple);
}
.fab-container:hover .fab-item {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Staggered Animation Delays */
.fab-container:hover .fab-item:nth-child(1) { transition-delay: 0.05s; }
.fab-container:hover .fab-item:nth-child(2) { transition-delay: 0.1s; }
.fab-container:hover .fab-item:nth-child(3) { transition-delay: 0.15s; }
.fab-container:hover .fab-item:nth-child(4) { transition-delay: 0.2s; }
.fab-container:hover .fab-item:nth-child(5) { transition-delay: 0.25s; }

.fab-item:hover {
  transform: scale(1.15) !important;
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.fab-item::after {
  content: attr(title);
  position: absolute;
  right: 55px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  color: var(--text-bright);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.fab-item:hover::after {
  opacity: 1;
}
.fab-item.whatsapp { background: #25d366; }
.fab-item.linkedin { background: #0077b5; }
.fab-item.instagram { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.fab-item.github { background: #333; border: 1px solid var(--border); }
.fab-item.youtube { background: #ff0000; }

/* Adjust Scroll to Top position to not overlap */
.scroll-top {
  left: 30px;
  bottom: 30px;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-3px); }

/* ─── FOOTER ─────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-brand .nav-logo { font-size: 1.4rem; margin-bottom: 16px; display: inline-block; }
.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer-social {
  display: flex; gap: 10px;
}
.footer-social a {
  width: 38px; height: 38px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }
.footer-links h4, .footer-contact h4 {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 700;
  color: var(--text-bright);
  margin-bottom: 20px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links ul li a {
  font-size: 0.9rem; color: var(--text-muted);
  transition: var(--transition);
}
.footer-links ul li a:hover { color: var(--blue); padding-left: 4px; }
.footer-contact p {
  font-size: 0.9rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.footer-contact p i { color: var(--blue); width: 16px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.heart { color: var(--orange); }

/* ─── SCROLL REVEAL ANIMATIONS ──────────────────── */
.reveal-up, .reveal-left, .reveal-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-up.visible, .reveal-left.visible, .reveal-right.visible {
  opacity: 1; transform: none;
}

/* ─── MAGNETIC BUTTON ───────────────────────────── */
.magnetic { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s; }

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .badge-1, .badge-2, .badge-3 { display: none; }
}

@media (max-width: 768px) {
  .section-pad { padding: 80px 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .about-grid { grid-template-columns: 1fr; gap: 50px; }
  .about-visual { order: -1; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { gap: 20px; flex-direction: row; justify-content: center; width: 100%; }
  .hero-float-cards-wrap { margin-top: 20px; }
  .hero-btns { gap: 12px; }
  .hero-scroll-hint { display: none; }
  .floating-socials { right: 12px; gap: 8px; }
  .float-icon { width: 38px; height: 38px; font-size: 0.95rem; border-radius: 10px; }
  .contact-form-wrap { padding: 24px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .testimonials-track { grid-template-columns: 1fr !important; }
  .testi-controls { margin-top: 24px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: clamp(2.2rem, 10vw, 3rem); }
  .hero-btns { flex-direction: column; align-items: center; width: 100%; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }
  .hero-stats { flex-direction: row; align-items: center; justify-content: center; gap: 15px; flex-wrap: wrap; }
  .stat-item { flex: 1 1 40%; }
  .stat-divider { display: none; }
  .about-img-frame { width: 200px; height: 200px; }
  .section-title { font-size: 1.8rem; }
  .btn-neon { width: 100%; justify-content: center; }
  .about-action { margin-top: 30px; padding: 0 15px; }
  .hero-float-cards-wrap { gap: 6px; flex-wrap: nowrap; width: 100%; justify-content: center; }
  .hero-float-card { 
    padding: 8px 10px; 
    min-width: 0; 
    flex: 1; 
    gap: 2px;
    border-radius: 12px;
  }
  .fc-title { font-size: 0.7rem; }
  .fc-sub { font-size: 0.6rem; }
  .fc-icon { font-size: 1.1rem; margin-bottom: 0; }
}

