/* ==========================================================================
   RK PORTFOLIO — PRO-LEVEL AGENCY UI/UX STYLESHEET
   Brand: Raj Kumar | Web Designer • WordPress Developer • AI Web App Developer
   Palette: #7C5CFF (Violet) | #E83E8C (Magenta) | #2575FC (Electric Blue) | #61CE70 (Live Green)
   Typography: Poppins (Display/Headings) & Inter (Interface/Body)
   ========================================================================== */

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

:root {
  /* Dark Mode (Default) */
  --bg-primary: #070a12;
  --bg-secondary: #0c111d;
  --bg-card: rgba(17, 24, 39, 0.75);
  --bg-card-hover: rgba(26, 36, 56, 0.9);
  --bg-glass: rgba(255, 255, 255, 0.03);
  --navbar-bg: rgba(7, 10, 18, 0.85);
  --navbar-mobile-bg: rgba(7, 10, 18, 0.98);
  
  --primary: #7C5CFF;
  --primary-hover: #6944ff;
  --primary-glow: rgba(124, 92, 255, 0.35);

  --secondary: #E83E8C;
  --secondary-glow: rgba(232, 62, 140, 0.3);

  --accent-blue: #2575FC;
  --accent-cyan: #00d2ff;
  --accent-green: #61CE70;
  --accent-amber: #F39A1B;

  --grad-brand: linear-gradient(135deg, #7C5CFF 0%, #2575FC 50%, #00d2ff 100%);
  --grad-accent: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  --grad-pink: linear-gradient(135deg, #7C5CFF 0%, #E83E8C 100%);
  --grad-text: linear-gradient(135deg, #FFFFFF 20%, #94a3b8 100%);
  --grad-fire: linear-gradient(135deg, #F39A1B 0%, #E83E8C 100%);

  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(124, 92, 255, 0.45);
  --border-glow: rgba(37, 117, 252, 0.4);

  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --ambient-1: rgba(124, 92, 255, 0.15);
  --ambient-2: rgba(37, 117, 252, 0.12);
  --grid-line: rgba(255, 255, 255, 0.02);
  --form-bg: rgba(10, 15, 26, 0.8);
  --form-bg-focus: rgba(15, 23, 42, 0.95);
  --card-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  --footer-bg: #05080e;
  --navbar-glass: rgba(7, 10, 18, 0.65);
  --navbar-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --bg-skills: rgba(12, 17, 29, 0.65);

  /* Typography */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Mode System Override */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(0, 0, 0, 0.02);
  --navbar-bg: rgba(255, 255, 255, 0.9);
  --navbar-mobile-bg: rgba(255, 255, 255, 0.98);

  --primary: #6941C6;
  --primary-hover: #5332a6;
  --primary-glow: rgba(105, 65, 198, 0.25);

  --secondary: #DD2590;
  --secondary-glow: rgba(221, 37, 144, 0.2);

  --accent-blue: #1570EF;
  --accent-cyan: #026AA2;
  --accent-green: #027A48;
  --accent-amber: #B54708;

  --grad-brand: linear-gradient(135deg, #6941C6 0%, #1570EF 60%, #0086C9 100%);
  --grad-accent: linear-gradient(135deg, #6941C6 0%, #1570EF 100%);
  --grad-pink: linear-gradient(135deg, #6941C6 0%, #DD2590 100%);
  --grad-text: linear-gradient(135deg, #0F172A 20%, #475569 100%);

  --border-light: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(105, 65, 198, 0.4);
  --border-glow: rgba(21, 112, 239, 0.35);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --ambient-1: rgba(105, 65, 198, 0.08);
  --ambient-2: rgba(21, 112, 239, 0.06);
  --grid-line: rgba(0, 0, 0, 0.035);
  --form-bg: #FFFFFF;
  --form-bg-focus: #FFFFFF;
  --card-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  --footer-bg: #F1F5F9;
  --navbar-glass: rgba(255, 255, 255, 0.75);
  --navbar-shadow: 0 8px 30px rgba(15, 23, 42, 0.08);
  --bg-skills: #EEF2F6;
}

/* Base Reset & Frontend Protection */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Anti-Copy & Media Protection */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.cert-card, .project-card, .avatar-card, .brand-logo, .tech-badge, .bento-card {
  -webkit-user-select: none;
  user-select: none;
}

/* Allow text selection inside forms and copy items */
.form-control, .channel-details, code, textarea {
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Non-Intrusive Smooth Section Transitions */
.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-loaded .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-loaded .reveal.revealed,
.reveal.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-stagger > * {
  opacity: 1;
  transform: translateY(0);
}

.js-loaded .reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.js-loaded .reveal-stagger.revealed > *:nth-child(1) { transition-delay: 0.04s; }
.js-loaded .reveal-stagger.revealed > *:nth-child(2) { transition-delay: 0.10s; }
.js-loaded .reveal-stagger.revealed > *:nth-child(3) { transition-delay: 0.16s; }
.js-loaded .reveal-stagger.revealed > *:nth-child(4) { transition-delay: 0.22s; }
.js-loaded .reveal-stagger.revealed > *:nth-child(5) { transition-delay: 0.28s; }
.js-loaded .reveal-stagger.revealed > *:nth-child(6) { transition-delay: 0.34s; }
.js-loaded .reveal-stagger.revealed > *:nth-child(7) { transition-delay: 0.40s; }
.js-loaded .reveal-stagger.revealed > *:nth-child(8) { transition-delay: 0.46s; }

.js-loaded .reveal-stagger.revealed > *,
.reveal-stagger.revealed > * {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, canvas, svg {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6, p, span, a {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

section, .container, .bento-grid, .hero-grid, .contact-grid {
  max-width: 100%;
  box-sizing: border-box;
}

/* Ambient Background Mesh & Lights */
.ambient-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  transition: opacity 0.5s ease;
}

.ambient-glow::before {
  content: '';
  position: absolute;
  top: -10vw;
  left: -10vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--ambient-1) 0%, transparent 70%);
  filter: blur(80px);
}

.ambient-glow::after {
  content: '';
  position: absolute;
  top: 30vh;
  right: -15vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, var(--ambient-2) 0%, transparent 70%);
  filter: blur(100px);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
  mask-image: radial-gradient(circle at 50% 30%, black 40%, transparent 85%);
}

/* Main Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* Typography & Big Bold Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.text-gradient {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

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

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(124, 92, 255, 0.1);
  border: 1px solid rgba(124, 92, 255, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 600;
  color: #c4b5fd;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}

.section-tag svg {
  width: 14px;
  height: 14px;
  color: var(--primary);
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 680px;
  margin-bottom: 48px;
  font-weight: 400;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  z-index: 100;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: var(--navbar-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
  height: 72px;
  box-shadow: var(--navbar-shadow);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-logo img {
  height: 42px;
  width: auto;
  border-radius: 8px;
}

.brand-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: var(--text-primary);
}

.brand-text span {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme Toggle Switch */
.theme-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: rotate(15deg) scale(1.06);
  box-shadow: 0 0 16px var(--primary-glow);
}

.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
  position: absolute;
  font-size: 1.15rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

/* Dark mode (default): show sun icon */
:root .theme-toggle-btn .icon-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: #FDB022;
}
:root .theme-toggle-btn .icon-moon {
  opacity: 0;
  transform: scale(0.3) rotate(-90deg);
}

/* Light mode: show moon icon */
[data-theme="light"] .theme-toggle-btn .icon-sun {
  opacity: 0;
  transform: scale(0.3) rotate(90deg);
}
[data-theme="light"] .theme-toggle-btn .icon-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  color: #6941C6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-accent);
  color: #FFFFFF;
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(124, 92, 255, 0.55);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* Pulsing Status Radar */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(97, 206, 112, 0.08);
  border: 1px solid rgba(97, 206, 112, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #a7f3d0;
  margin-bottom: 24px;
  max-width: 100%;
  box-sizing: border-box;
}

.radar-dot {
  position: relative;
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
}

.radar-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--accent-green);
  animation: radarPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* Hero Section */
.hero {
  min-height: 100vh;
  padding: 150px 0 80px;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5.4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}

.hero-description {
  font-size: clamp(1.1rem, 1.4vw, 1.3rem);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: 36px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid var(--border-light);
}

.stat-item .stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 6px;
  font-weight: 500;
}

/* Hero Visual / Avatar Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.avatar-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  aspect-ratio: 1;
  margin: 0 auto;
}

.avatar-glow {
  position: absolute;
  inset: -10px;
  background: var(--grad-brand);
  border-radius: var(--radius-xl);
  filter: blur(28px);
  opacity: 0.45;
  animation: pulseGlow 5s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% { transform: scale(0.96); opacity: 0.35; }
  100% { transform: scale(1.04); opacity: 0.55; }
}

.avatar-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-smooth);
}

.avatar-card:hover .avatar-img {
  transform: scale(1.03);
}

.floating-badge {
  position: absolute;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  animation: floatCard 4s ease-in-out infinite alternate;
}

.badge-top-right {
  top: 20px;
  right: -20px;
  animation-delay: 0.5s;
}

.badge-bottom-left {
  bottom: 24px;
  left: -24px;
  animation-delay: 1.5s;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.floating-badge .badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-accent);
  color: #fff;
  font-size: 1.1rem;
}

.floating-badge .badge-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0;
}

.floating-badge .badge-text p {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

/* Sections Common */
section {
  padding: 110px 0;
  position: relative;
}

/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

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

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

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

/* Client Value Proposition & Grid Columns System */
.col-1  { grid-column: span 1; }
.col-2  { grid-column: span 2; }
.col-3  { grid-column: span 3; }
.col-4  { grid-column: span 4; }
.col-5  { grid-column: span 5; }
.col-6  { grid-column: span 6; }
.col-7  { grid-column: span 7; }
.col-8  { grid-column: span 8; }
.col-9  { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: rgba(124, 92, 255, 0.12);
  border: 1px solid rgba(124, 92, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.6rem;
  margin-bottom: 24px;
  transition: transform var(--transition-fast);
}

.bento-card:hover .service-icon-box {
  transform: scale(1.1) rotate(-4deg);
  background: var(--grad-accent);
  color: #fff;
  border-color: transparent;
}

.service-title {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.feature-list li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-green);
  flex-shrink: 0;
}

/* Projects Showcase Section */
.projects-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
}

.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #000;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .project-thumb img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 10, 18, 0.9) 10%, rgba(7, 10, 18, 0.2) 60%, transparent);
  opacity: 0.85;
  transition: opacity var(--transition-fast);
}

.project-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tag-pill {
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: #c4b5fd;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}

.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
}

.project-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
  cursor: pointer;
}

.project-link-btn:hover {
  color: var(--primary);
}

.project-link-btn svg {
  transition: transform var(--transition-fast);
}

.project-link-btn:hover svg {
  transform: translateX(4px);
}

/* Tech Stack Carousel / Grid */
.skills-section {
  background: var(--bg-skills);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 110px), 1fr));
  gap: 16px;
}

.tech-badge {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: all var(--transition-smooth);
}

.tech-badge:hover {
  background: rgba(124, 92, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.tech-badge img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.tech-badge span {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

/* Certificates Grid & Interactive Lightbox */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-smooth);
  position: relative;
}

.cert-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 36px rgba(0, 0, 0, 0.45);
}

.cert-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #0f172a;
}

.cert-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.cert-card:hover .cert-thumb img {
  transform: scale(1.06);
}

.cert-zoom-icon {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.cert-card:hover .cert-zoom-icon {
  opacity: 1;
}

.cert-zoom-icon svg {
  width: 36px;
  height: 36px;
  padding: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.cert-info {
  padding: 20px;
}

.cert-issuer {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  color: var(--accent-cyan);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}

.cert-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
}

/* Lightbox Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
  transform: scale(0.92);
  transition: transform var(--transition-bounce);
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-light);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--secondary);
}

.modal-img-wrap {
  width: 100%;
  max-height: 70vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.modal-img-wrap img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
}

.modal-caption {
  padding: 20px 28px;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
}

.modal-caption h3 {
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.modal-caption p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Work Experience & Timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 32px;
  position: relative;
  padding-left: 24px;
  margin-left: 8px;
  border-left: 2px solid rgba(124, 92, 255, 0.3);
}

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -31px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 10px var(--primary);
}

.timeline-year {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 4px;
}

.timeline-role {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact & Inquiry Section */
.contact-section {
  padding: 120px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(12, 17, 29, 0.8) 100%);
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.channel-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.channel-item:hover {
  background: rgba(124, 92, 255, 0.1);
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.channel-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--grad-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.channel-details {
  min-width: 0;
  flex: 1;
}

.channel-details h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.channel-details p {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-all;
  overflow-wrap: break-word;
}

.copy-btn {
  margin-left: auto;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: color var(--transition-fast);
}

.copy-btn:hover {
  color: var(--text-primary);
}

/* Contact Form */
.form-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 44px;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

.form-group {
  margin-bottom: 22px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 14px 18px;
  background: rgba(10, 15, 26, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

select.form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 92, 255, 0.25);
  background: rgba(15, 23, 42, 0.95);
}

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

/* Honeypot hidden input */
.honeypot-wrap {
  display: none !important;
  visibility: hidden !important;
}

/* Form Submit Feedback Toast */
.toast-msg {
  position: fixed;
  bottom: 28px;
  right: 28px;
  max-width: 420px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  transform: translateY(120px);
  opacity: 0;
  transition: all var(--transition-bounce);
}

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

.toast-msg.success {
  border-color: var(--accent-green);
}

.toast-msg.error {
  border-color: var(--secondary);
}

.toast-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-msg.success .toast-icon {
  background: rgba(97, 206, 112, 0.2);
  color: var(--accent-green);
}

.toast-msg.error .toast-icon {
  background: rgba(232, 62, 140, 0.2);
  color: var(--secondary);
}

.toast-text h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.toast-text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Spinner */
.spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Project Filter Tabs (Projects page) */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  justify-content: center;
}

.filter-btn {
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-glow);
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--border-light);
  background: #05080e;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 30px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.social-link {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   LIGHT MODE COMPONENT REFINEMENTS
   ========================================================================== */
[data-theme="light"] body {
  background-color: var(--bg-primary);
}

[data-theme="light"] .navbar.scrolled {
  background: var(--navbar-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .section-tag {
  background: rgba(105, 65, 198, 0.08);
  border-color: rgba(105, 65, 198, 0.25);
  color: #6941C6;
}

[data-theme="light"] .status-pill {
  background: rgba(2, 122, 72, 0.08);
  border-color: rgba(2, 122, 72, 0.25);
  color: #027A48;
}

[data-theme="light"] .bento-card {
  box-shadow: var(--card-shadow);
  background: var(--bg-card);
}

[data-theme="light"] .bento-card:hover {
  background: var(--bg-card-hover);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}

[data-theme="light"] .floating-badge {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .floating-badge .badge-text h4 {
  color: #0F172A;
}

[data-theme="light"] .floating-badge .badge-text p {
  color: #64748B;
}

[data-theme="light"] .form-control {
  background: var(--form-bg);
  color: var(--text-primary);
  border-color: var(--border-light);
}

[data-theme="light"] .form-control:focus {
  background: var(--form-bg-focus);
}

[data-theme="light"] .channel-item {
  background: rgba(0, 0, 0, 0.02);
}

[data-theme="light"] .channel-item:hover {
  background: rgba(105, 65, 198, 0.06);
}

[data-theme="light"] .social-link {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
}

[data-theme="light"] .tag-pill {
  background: rgba(105, 65, 198, 0.08);
  border-color: rgba(105, 65, 198, 0.2);
  color: var(--primary);
}

[data-theme="light"] .filter-btn {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-secondary);
}

[data-theme="light"] .filter-btn.active {
  background: var(--primary);
  color: #fff;
}

[data-theme="light"] .hamburger-btn span {
  background: var(--text-primary);
}

[data-theme="light"] .modal-overlay {
  background: rgba(15, 23, 42, 0.7);
}

[data-theme="light"] .modal-box {
  background: var(--bg-secondary);
  border-color: var(--border-light);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .modal-caption {
  background: var(--bg-secondary);
  border-color: var(--border-light);
}

[data-theme="light"] .footer {
  background: var(--footer-bg);
}

[data-theme="light"] .footer-bottom {
  border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .timeline {
  border-left-color: rgba(105, 65, 198, 0.3);
}

[data-theme="light"] .timeline-item::before {
  border-color: #ffffff;
}

[data-theme="light"] .nav-menu {
  background: var(--navbar-mobile-bg);
}

[data-theme="light"] .skills-section {
  background: var(--bg-skills);
  border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .tech-badge {
  background: #FFFFFF;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .tech-badge:hover {
  background: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 8px 20px rgba(105, 65, 198, 0.15);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin: 0 auto 36px;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-stats-row {
    justify-content: center;
  }
  .hero-visual {
    margin-top: 40px;
  }
  .floating-badge {
    display: none !important;
  }
  .col-1, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-10, .col-11, .col-12 {
    grid-column: span 12 !important;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  .navbar {
    height: 72px;
  }
  .navbar .nav-actions .btn-sm {
    display: none !important;
  }
  .bento-grid {
    gap: 18px;
  }
  .bento-card {
    padding: 24px 18px;
    border-radius: var(--radius-md);
  }
  .timeline {
    padding-left: 18px;
    margin-left: 6px;
    gap: 24px;
    border-left-width: 2px;
  }
  .timeline-item::before {
    left: -25px;
    width: 12px;
    height: 12px;
    top: 5px;
  }
  .timeline-role {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  .timeline-company {
    font-size: 0.88rem;
    margin-bottom: 8px;
  }
  .timeline-desc {
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    background: rgba(7, 10, 18, 0.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-light);
    transform: translateY(-150%);
    transition: transform var(--transition-smooth);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
  }
  .hamburger-btn span {
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all var(--transition-fast);
  }
  .floating-badge {
    display: none !important;
  }
  .contact-section {
    padding: 60px 0;
    width: 100%;
    max-width: 100%;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 28px;
    width: 100%;
    max-width: 100%;
  }
  .contact-info-card {
    padding: 24px 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .form-card {
    padding: 24px 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 16px;
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  html, body {
    overflow-x: hidden !important;
  }
  .container {
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-sm {
    display: none !important;
  }
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
  }
  .brand-text {
    font-size: 1.1rem;
  }
  .brand-logo img {
    height: 32px;
  }
  .status-pill {
    font-size: 0.7rem;
    padding: 6px 12px;
    gap: 6px;
    letter-spacing: 0.02em;
  }
  .hero {
    padding: 100px 0 50px;
  }
  .hero-title {
    font-size: clamp(2rem, 8.5vw, 2.35rem);
  }
  .hero-description {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 28px;
  }
  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }
  .hero-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 24px;
  }
  .stat-item .stat-num {
    font-size: 1.4rem;
  }
  .stat-item .stat-label {
    font-size: 0.68rem;
    line-height: 1.25;
  }
  .avatar-wrapper {
    max-width: min(100%, 300px);
  }
  .section-title {
    font-size: clamp(1.75rem, 7.5vw, 2.1rem);
  }
  .section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 32px;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .tech-badge {
    padding: 14px 6px;
    gap: 8px;
  }
  .tech-badge img {
    width: 34px;
    height: 34px;
  }
  .tech-badge span {
    font-size: 0.72rem;
  }
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .contact-section {
    padding: 44px 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .contact-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .contact-info-card {
    padding: 18px 14px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .contact-channels {
    gap: 12px !important;
    margin-top: 18px !important;
    width: 100% !important;
  }
  .channel-item {
    padding: 10px 10px !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .channel-icon {
    width: 36px !important;
    height: 36px !important;
    font-size: 0.95rem !important;
    flex-shrink: 0 !important;
  }
  .channel-details {
    min-width: 0 !important;
    flex: 1 !important;
  }
  .channel-details h4 {
    font-size: 0.78rem !important;
  }
  .channel-details p {
    font-size: 0.82rem !important;
    word-break: break-all !important;
    overflow-wrap: break-word !important;
  }
  .form-card {
    padding: 18px 14px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }
  .form-group {
    margin-bottom: 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .form-control {
    padding: 10px 12px !important;
    font-size: 0.88rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }
  select.form-control {
    width: 100% !important;
    max-width: 100% !important;
    text-overflow: ellipsis !important;
  }
  #contactForm {
    width: 100% !important;
    max-width: 100% !important;
  }
  #contactForm button[type="submit"] {
    padding: 14px 16px !important;
    font-size: 0.92rem !important;
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    box-sizing: border-box !important;
    word-break: break-word !important;
  }
  .toast-msg {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: calc(100% - 24px);
    padding: 14px 16px;
  }
  .bento-card {
    padding: 20px 14px;
  }
  .service-title {
    font-size: 1.25rem;
  }
  .service-desc {
    font-size: 0.88rem;
  }
  .project-content {
    padding: 20px 14px;
  }
  .project-title {
    font-size: 1.25rem;
  }
  .project-desc {
    font-size: 0.86rem;
  }
}

@media (max-width: 360px) {
  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 14px;
    text-align: center;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .brand-text {
    font-size: 0.98rem;
  }
}

@media (min-width: 769px) {
  .hamburger-btn {
    display: none;
  }
}
