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

:root {
  --bg-black: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #263448;
  --border-dim: #334155;
  --border-bright: #475569;

  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-dim: #64748b;

  --accent-amber: #f59e0b;
  --accent-violet: #8b5cf6;
  --emerald: #10b981;
  --blue-sky: #60a5fa;
  --teal-light: #5eead4;
  --orange-mid: #ff8533;
  --gradient-primary: linear-gradient(135deg, #fbbf24 0%, #8b5cf6 100%);
  --gradient-full: linear-gradient(135deg, #fbbf24 0%, #10b981 45%, #60a5fa 100%);
  --overlay-dark: rgba(15, 23, 42, 0.9);

  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background-color: var(--bg-black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === Layout & Containers === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

/* === Typography === */
h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dim);
  z-index: 1000;
  padding: 1.25rem 0;
}

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

.logo {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-decoration: none;
  color: var(--text-primary);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  padding: 0.5rem 1.2rem;
  font-size: 0.875rem;
}

/* === Scroll Reveal === */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s cubic-bezier(0.4, 0, 0.2, 1), transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* === Hero Entry Animations === */
@keyframes hero-enter {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-content .availability-badge { animation: hero-enter 0.5s ease both 0.15s; }
.hero-content .section-label       { animation: hero-enter 0.5s ease both 0.25s; }
.hero-content h1                   { animation: hero-enter 0.5s ease both 0.35s; }
.hero-content > p                  { animation: hero-enter 0.5s ease both 0.45s; }
.hero-stats                        { animation: hero-enter 0.5s ease both 0.55s; }
.cta-group                         { animation: hero-enter 0.5s ease both 0.65s; }
.hero-image-wrapper                { animation: hero-enter 0.6s ease both 0.2s;  }

/* === Hero Section (Updated) === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(251, 191, 36, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(251, 191, 36, 0.035) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }

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

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.5rem);
  /* Slightly smaller for balance */
  line-height: 1.05;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  width: 100%;
  max-width: 450px;
  height: auto;
  border-radius: 20px;
  /* Or circle if requested, but rounded rect fits safer */
  /* Add subtle float animation */
  animation: float 6s ease-in-out infinite;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-dim);
  background: var(--bg-card);
  /* Fallback */
  object-fit: cover;
}

/* Glow behind hero image */
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.18) 0%, rgba(139, 92, 246, 0.12) 40%, rgba(15, 23, 42, 0) 70%);
  pointer-events: none;
  z-index: 1;
}

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

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

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

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero-stat strong {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat span {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cta-group {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-black);
}

.btn-primary:hover {
  background: #e5e5e5;
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}


/* === RobinnovaLab Compact Banner === */
.robinnova-banner {
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.04) 0%, rgba(139, 92, 246, 0.04) 100%);
  border-top: 1px solid rgba(251, 191, 36, 0.15);
  border-bottom: 1px solid rgba(251, 191, 36, 0.15);
  padding: 1.6rem 0;
}
.banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.banner-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.banner-icon {
  width: 44px;
  height: 44px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.banner-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-primary);
}
.banner-sub {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}
@media (max-width: 768px) {
  .banner-inner {
    flex-direction: column;
    text-align: center;
  }
  .banner-left { flex-direction: column; }
}


/* === Bento Grid Section (Updated Cards for Tech Specs) === */
.section-header {
  margin-bottom: 3rem;
}

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

.section-label {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
  display: block;
  color: var(--accent-amber);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(320px, auto);
  /* Taller for tech specs */
  gap: 1.5rem;
}

.bento-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: white;
  cursor: default;
  /* Not clickable unless link provided */
}

/* Background Images & Overlay Logic */
.bg-finance {
  background-image: url('Analista.PNG');
}

.bg-ocr {
  background-image: url('OCR.PNG');
}

.bg-in3 {
  background-image: url('IN3.PNG');
}

.bg-lms {
  background-image: url('AulaVirtual.PNG');
}

.bento-item {
  background-size: cover;
  background-position: center;
}

/* Overlay that becomes visible on hover or always present but darker */
.content-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95) 10%, rgba(15, 23, 42, 0.6) 50%, rgba(15, 23, 42, 0.3) 100%);
  z-index: 1;
  transition: var(--transition-smooth);
}

.bento-item:hover .content-overlay {
  background: linear-gradient(to top, rgba(15, 23, 42, 1) 20%, rgba(15, 23, 42, 0.8) 100%);
  backdrop-filter: blur(2px);
}

.bento-item:hover {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow:
    0 0 30px rgba(245, 158, 11, 0.12),
    inset 0 1px 0 rgba(245, 158, 11, 0.45);
  transform: translateY(-6px);
}

.card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  width: 100%;
}

.bento-large {
  grid-column: span 2;
  grid-row: span 2;
}

.bento-wide {
  grid-column: span 2;
}

.bento-item h4 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

/* Tech Specs Styling */
.tech-specs {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.project-desc {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #d1d5db;
}

.spec-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 0.8rem;
}

.spec-list li {
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.spec-list li::before {
  content: '▹';
  color: var(--accent-amber);
}

.highlight {
  color: var(--accent-amber);
  font-weight: 700;
}


/* === Engineering Philosophy Section === */
.philosophy {
  background-color: #070d1a;
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.philosophy-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-dim);
  transition: var(--transition-smooth);
}

.philosophy-card:hover {
  border-color: var(--accent-violet);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
}

.icon-box {
  width: 50px;
  height: 50px;
  background: rgba(139, 92, 246, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--accent-violet);
}

.philosophy-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.philosophy-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* === About Section (Photo Collage) === */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.collage-container {
  position: relative;
  height: 400px;
  width: 100%;
}

.collage-img {
  position: absolute;
  border-radius: 12px;
  border: 1px solid var(--border-dim);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  transition: transform 0.4s ease;
}

.collage-img:hover {
  z-index: 10;
  transform: scale(1.05);
}

.img-main {
  width: 70%;
  height: 300px;
  top: 0;
  left: 0;
  z-index: 1;
}

.img-secondary {
  width: 60%;
  height: 250px;
  bottom: 0;
  right: 0;
  z-index: 2;
  border: 4px solid var(--bg-black);
  /* Separation border */
}

/* === Contact & Footer === */
.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.modern-form {
  margin-top: 3rem;
  text-align: left;
}

.form-field {
  margin-bottom: 2rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border-dim);
  padding: 0.8rem 0;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-bottom-color: var(--accent-amber);
}

.footer {
  padding: 4rem 0;
  border-top: 1px solid var(--border-dim);
  background: #070d1a;
  /* Blacker footer */
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* Align top */
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-quote {
  max-width: 400px;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 2px solid var(--accent-amber);
  padding-left: 1rem;
}

.footer-contact h4 {
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.footer-contact ul {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact a:hover {
  color: var(--accent-amber);
}

/* === Responsive === */
@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .philosophy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image-wrapper {
    margin-top: 2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    margin-top: 2rem;
  }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .collage-container {
    height: 350px;
    margin-bottom: 2rem;
  }

  .nav-links {
    display: none;
  }

  .nav-links.nav-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.97);
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-dim);
    z-index: 999;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(300px, auto);
  }

  .bento-large,
  .bento-wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-quote {
    text-align: center;
    border-left: none;
    border-top: 2px solid var(--accent-amber);
    padding-top: 1rem;
    padding-left: 0;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .project-cards-grid {
    grid-template-columns: 1fr;
  }

  .cta-group {
    flex-wrap: wrap;
    justify-content: center;
  }

  .availability-badge {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }
}

/* =============================================
   AVAILABILITY BADGE
   ============================================= */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.25);
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.2rem;
  width: fit-content;
  letter-spacing: 0.03em;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

/* =============================================
   HAMBURGER MENU
   ============================================= */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-smooth);
  transform-origin: center;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }
}

/* Allow dropdown to position relative to nav */
.nav-content {
  position: relative;
}

/* =============================================
   PROJECT CLIENT BADGE (on bento cards)
   ============================================= */
.project-client-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.7rem;
  background: rgba(245, 158, 11, 0.05);
}

/* =============================================
   BACKGROUND: VOICE AI (CSS gradient, no image)
   ============================================= */
.bg-voice {
  background: linear-gradient(145deg, #0c1829 0%, #132240 40%, #1a2f52 70%, #0f1e3a 100%);
  background-size: cover;
  background-position: center;
  position: relative;
}

.bg-voice::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%);
  pointer-events: none;
}

/* =============================================
   SKILLS SECTION
   ============================================= */
.skills-section {
  padding: 6rem 0;
  background: var(--bg-black);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.skill-category {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 16px;
  padding: 1.8rem;
  transition: var(--transition-smooth);
}

.skill-category:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
}

.skill-category h4 {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.skill-category h4 i {
  color: var(--accent-amber);
  font-size: 1rem;
}
.skill-category:nth-child(1) h4 i { color: var(--blue-sky); }
.skill-category:nth-child(2) h4 i { color: #a78bfa; }
.skill-category:nth-child(3) h4 i { color: var(--emerald); }
.skill-category:nth-child(4) h4 i { color: #38bdf8; }
.skill-category:nth-child(5) h4 i { color: var(--accent-amber); }
.skill-category:nth-child(6) h4 i { color: var(--orange-mid); }

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

.skill-tag {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-dim);
  padding: 0.3rem 0.7rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.skill-tag:hover {
  color: var(--text-primary);
  border-color: var(--border-bright);
}

.skill-highlight {
  color: var(--accent-amber);
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.05);
}

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

/* =============================================
   MORE PROJECTS (Secondary Grid)
   ============================================= */
.more-projects {
  margin-top: 4rem;
}

.more-projects-header {
  margin-bottom: 2rem;
}

.more-projects-header h3 {
  font-size: 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.more-projects-header p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.project-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.proj-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 16px;
  padding: 1.8rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.proj-card:hover {
  border-color: rgba(139, 92, 246, 0.35);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(139, 92, 246, 0.3);
}

.proj-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.3rem;
}

.proj-badge {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-violet);
  background: rgba(139, 92, 246, 0.08);
  border: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.proj-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.bg-purple-icon { background: rgba(139, 92, 246, 0.15); color: #a78bfa; }
.bg-blue-icon   { background: rgba(59, 130, 246, 0.15); color: #60a5fa; }
.bg-green-icon  { background: rgba(34, 197, 94, 0.15);  color: #4ade80; }
.bg-orange-icon { background: rgba(249, 115, 22, 0.15); color: #fb923c; }
.bg-cyan-icon   { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.bg-teal-icon   { background: rgba(20, 184, 166, 0.15); color: #2dd4bf; }

.proj-card h4 {
  font-size: 1.05rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.proj-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  flex: 1;
}

.proj-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.proj-tag {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-dim);
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .project-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   SERVICES SECTION
   ============================================= */
.services {
  padding: 6rem 0;
  background: #070d1a;
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  align-items: stretch;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-dim);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
}

.service-card:hover {
  border-color: var(--border-bright);
  background: var(--bg-card-hover);
  transform: translateY(-5px);
}

.service-featured {
  border-color: rgba(245, 158, 11, 0.3);
  background: linear-gradient(145deg, var(--bg-card) 0%, rgba(245, 158, 11, 0.04) 100%);
}

.service-featured:hover {
  border-color: var(--accent-amber);
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.1);
}

.service-featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-primary);
  color: white;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  white-space: nowrap;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent-amber);
  transition: var(--transition-smooth);
}
.service-card:hover .service-icon-box {
  transform: scale(1.12) rotate(-4deg);
  background: rgba(245, 158, 11, 0.14);
}

.service-card h3 {
  font-size: 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
}

.service-card > p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.service-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.service-features li {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.service-features li i {
  color: var(--accent-amber);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.service-btn {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}