/* ==========================================================================
   AKASH LILHARE - PORTFOLIO DESIGN SYSTEM & CSS STYLES
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  --bg-primary: #070a12;
  --bg-secondary: #0d1222;
  --bg-card: rgba(18, 25, 43, 0.65);
  --bg-card-hover: rgba(26, 36, 61, 0.85);
  --bg-glass: rgba(15, 22, 38, 0.6);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 254, 0.3);

  --text-main: #f0f4fd;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --accent-cyan: #00f2fe;
  --accent-blue: #4facfe;
  --accent-purple: #8a2be2;
  --accent-pink: #ff2a85;
  --gradient-primary: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  --gradient-accent: linear-gradient(135deg, #8a2be2 0%, #00f2fe 100%);
  --gradient-warm: linear-gradient(135deg, #ff2a85 0%, #8a2be2 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.01) 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.2);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Light Theme Overrides */
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --border-color: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(2, 132, 199, 0.35);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --accent-cyan: #0284c7;
  /* High-contrast Sapphire Cyan */
  --accent-blue: #2563eb;
  /* Royal Blue */
  --accent-purple: #7c3aed;
  /* Electric Purple */
  --accent-pink: #db2777;
  /* Crimson Pink */

  --gradient-primary: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  --gradient-accent: linear-gradient(135deg, #7c3aed 0%, #0284c7 100%);
  --gradient-warm: linear-gradient(135deg, #db2777 0%, #7c3aed 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(240, 244, 250, 0.8) 100%);

  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.25);
}

[data-theme="light"] .orb {
  opacity: 0.12;
}

[data-theme="light"] .navbar {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .theme-toggle-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .theme-toggle-btn:hover {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
}

[data-theme="light"] .btn-primary {
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .btn-outline {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

[data-theme="light"] .btn-outline:hover {
  border-color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
}

[data-theme="light"] .hero-badge {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.25);
  color: #0284c7;
}

[data-theme="light"] .typing-text {
  color: #0284c7;
}

[data-theme="light"] .typing-cursor {
  background-color: #0284c7;
}

[data-theme="light"] .floating-chip {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  color: #0f172a;
}

[data-theme="light"] .contact-panel-card,
[data-theme="light"] .contact-form-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .contact-channel-row,
[data-theme="light"] .social-pill {
  background: rgba(0, 0, 0, 0.02);
  border-color: rgba(0, 0, 0, 0.06);
  color: var(--text-muted);
}

[data-theme="light"] .contact-channel-row:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .channel-btns .copy-btn,
[data-theme="light"] .channel-action-btn,
[data-theme="light"] .timeline-date {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
}

[data-theme="light"] .channel-action-btn.email-btn:hover,
[data-theme="light"] .channel-btns .copy-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

[data-theme="light"] .channel-action-btn.phone-btn:hover {
  background: #0088ff;
  color: #ffffff;
  border-color: #0088ff;
}

[data-theme="light"] .channel-action-btn.whatsapp-btn:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
}

[data-theme="light"] .social-pill:hover {
  background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .social-pill.github:hover {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.3);
  background: rgba(15, 23, 42, 0.06);
}

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

[data-theme="light"] .app-tag {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.2);
  color: #0284c7;
}

[data-theme="light"] a.app-tag:hover,
[data-theme="light"] button.app-tag:hover {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .timeline-container::before {
  background: linear-gradient(to bottom, #0284c7 0%, #7c3aed 75%, rgba(124, 58, 237, 0.15) 100%);
}

[data-theme="light"] .timeline-dot {
  background: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 0 10px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .timeline-item:hover .timeline-dot {
  background: #0284c7;
}

[data-theme="light"] .toggle-btn,
[data-theme="light"] .skill-chip-btn,
[data-theme="light"] .filter-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

[data-theme="light"] .toggle-btn.active,
[data-theme="light"] .skill-chip-btn.active,
[data-theme="light"] .filter-btn.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}

[data-theme="light"] .portfolio-search-input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

[data-theme="light"] .project-badge {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 0, 0, 0.08);
  color: #0077ff;
}

[data-theme="light"] .form-control {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.12);
  color: #0f172a;
}

[data-theme="light"] .form-control:focus {
  border-color: #0077ff;
  box-shadow: 0 0 16px rgba(0, 119, 255, 0.15);
}

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

[data-theme="light"] .modal-card {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

[data-theme="light"] .modal-close-btn {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: #0f172a;
}

[data-theme="light"] .toast-msg {
  background: #ffffff;
  border-color: #0077ff;
  color: #0f172a;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] .social-icon-btn {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.1);
  color: #475569;
}

@media (max-width: 768px) {
  [data-theme="light"] .nav-menu {
    background: rgba(255, 255, 255, 0.98);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Background Ambient Orbs */
.ambient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.18;
  animation: orbFloat 18s ease-in-out infinite alternate;
}

.orb-1 {
  top: -10%;
  left: 10%;
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
}

.orb-2 {
  bottom: 10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
  animation-delay: -5s;
}

.orb-3 {
  top: 40%;
  left: 45%;
  width: 400px;
  height: 400px;
  background: var(--accent-pink);
  animation-delay: -9s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(60px, 40px) scale(1.1);
  }

  100% {
    transform: translate(-40px, 80px) scale(0.95);
  }
}

/* --- Typography Helpers --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

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

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

/* Container & Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto;
}

/* --- Glass Card Utility --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  transform: translateY(-4px);
}

/* --- Floating Navbar --- */
.navbar {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1100px;
  z-index: 1000;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-full);
  background: rgba(13, 18, 34, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
}

.logo-badge {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.logo-badge .accent {
  color: var(--accent-cyan);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

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

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  transform: rotate(15deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gradient-primary);
  color: #070a12;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(0, 242, 254, 0.55);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  border-color: var(--accent-cyan);
  background: rgba(0, 242, 254, 0.1);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.mobile-nav-toggle {
  display: none;
  font-size: 1.4rem;
  color: var(--text-main);
}

/* --- Hero Section --- */
.hero {
  padding-top: 10rem;
  padding-bottom: 6rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1.1rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: 3.4rem;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.typing-container {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  min-height: 2.4rem;
  display: flex;
  align-items: center;
}

.typing-text {
  color: var(--accent-cyan);
}

.typing-cursor {
  display: inline-block;
  width: 3px;
  height: 1.5rem;
  background-color: var(--accent-cyan);
  margin-left: 4px;
  animation: blink 0.8s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.hero-social-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all var(--transition-bounce);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-social-icon:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Hero Social Icon Brand Colors on Hover */
.hero-social-icon.social-linkedin:hover {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.6);
  background: rgba(10, 102, 194, 0.15);
  box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

.hero-social-icon.social-github:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.hero-social-icon.social-whatsapp:hover {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.6);
  background: rgba(37, 211, 102, 0.15);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.hero-social-icon.social-stackoverflow:hover {
  color: #f48024;
  border-color: rgba(244, 128, 36, 0.6);
  background: rgba(244, 128, 36, 0.15);
  box-shadow: 0 8px 20px rgba(244, 128, 36, 0.3);
}

.hero-social-icon.social-playstore:hover {
  color: #01875f;
  border-color: rgba(1, 135, 95, 0.6);
  background: rgba(1, 135, 95, 0.15);
  box-shadow: 0 8px 20px rgba(1, 135, 95, 0.3);
}

.hero-social-icon.social-dribbble:hover {
  color: #ea4c89;
  border-color: rgba(234, 76, 137, 0.6);
  background: rgba(234, 76, 137, 0.15);
  box-shadow: 0 8px 20px rgba(234, 76, 137, 0.3);
}

.hero-social-icon.social-instagram:hover {
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.6);
  background: rgba(225, 48, 108, 0.15);
  box-shadow: 0 8px 20px rgba(225, 48, 108, 0.3);
}

/* Light Mode Overrides for Hero Social Icons */
[data-theme="light"] .hero-social-icon {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #475569;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

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

.avatar-wrapper {
  position: relative;
  width: 320px;
  height: 320px;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  background: var(--gradient-accent);
  padding: 6px;
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.3);
  animation: morphBlob 12s ease-in-out infinite alternate;
}

@keyframes morphBlob {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  50% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }

  100% {
    border-radius: 40% 60% 60% 40% / 40% 60% 40% 60%;
  }
}

.avatar-img-box {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  background: var(--bg-secondary);
}

.avatar-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating Tech Badges */
.floating-chip {
  position: absolute;
  padding: 0.6rem 1.1rem;
  background: rgba(13, 18, 34, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: floatChip 6s ease-in-out infinite alternate;
}

.chip-1 {
  top: 10%;
  left: -20px;
  border-color: rgba(0, 242, 254, 0.4);
}

.chip-2 {
  bottom: 15%;
  right: -20px;
  animation-delay: -3s;
  border-color: rgba(138, 43, 226, 0.4);
}

.chip-3 {
  bottom: -15px;
  left: 20%;
  animation-delay: -4.5s;
  border-color: rgba(255, 42, 133, 0.4);
}

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

  100% {
    transform: translateY(-12px);
  }
}

/* --- Services / What I Do Section --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-card {
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}

.service-icon-box {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  transition: transform var(--transition-bounce), background var(--transition-fast);
}

.service-card:hover .service-icon-box {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-primary);
  color: #070a12;
}

.service-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.service-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- Experience & Education Timeline --- */


.timeline-toggle {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.toggle-btn {
  padding: 0.7rem 1.8rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all var(--transition-normal);
}

.toggle-btn.active,
.toggle-btn:hover {
  color: #070a12;
  background: var(--gradient-primary);
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
}

.timeline-container {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-cyan) 0%, var(--accent-purple) 75%, transparent 100%);
}

.timeline-item {
  position: relative;
  padding-left: 4.5rem;
  margin-bottom: 2.5rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 17px;
  top: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-primary);
  border: 3px solid var(--accent-cyan);
  box-shadow: 0 0 12px var(--accent-cyan);
  z-index: 2;
  transition: transform var(--transition-fast);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.3);
  background: var(--accent-cyan);
}

.timeline-card {
  padding: 1.75rem 2rem;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.timeline-role {
  font-size: 1.25rem;
  color: var(--text-main);
}

.timeline-company {
  font-size: 0.95rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.timeline-date {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.timeline-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.timeline-bullets {
  margin: 0.75rem 0 1rem 0;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.timeline-bullets li {
  margin-bottom: 0.45rem;
}

.timeline-apps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.app-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  transition: all var(--transition-fast);
}

a.app-tag:hover,
button.app-tag:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.35);
}

/* --- Minimal Skills Section --- */
.skills-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.skill-chip-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.skill-chip-btn.active,
.skill-chip-btn:hover {
  background: var(--gradient-primary);
  color: #070a12;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.3);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}

.skill-item-card {
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-bounce), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.skill-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-md);
}

.skill-icon-wrapper {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--accent-cyan);
  flex-shrink: 0;
}

.skill-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

/* --- Portfolio Projects Section --- */
.portfolio-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.portfolio-search-box {
  position: relative;
  width: 100%;
  max-width: 450px;
}

.portfolio-search-input {
  width: 100%;
  padding: 0.8rem 1.25rem 0.8rem 2.8rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.portfolio-search-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
  font-size: 1.1rem;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: all var(--transition-normal);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-primary);
  color: #070a12;
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(0, 242, 254, 0.3);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
  gap: 2rem;
}

.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-banner {
  position: relative;
  height: 210px;
  width: 100%;
  overflow: hidden;
  background: var(--bg-secondary);
}

.project-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.project-banner.banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.project-banner.banner-ari {
  background: radial-gradient(circle at center, rgba(14, 116, 222, 0.22) 0%, rgba(13, 20, 36, 0.98) 75%);
}

.project-banner.banner-alertamigo {
  background: radial-gradient(circle at center, rgba(239, 68, 68, 0.25) 0%, rgba(22, 10, 16, 0.98) 75%);
}

.project-banner.banner-icon .app-showcase-icon {
  width: 104px;
  height: 104px;
  border-radius: 22px;
  object-fit: cover;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1;
}

.project-banner.banner-ari .app-showcase-icon {
  background: #ffffff;
  padding: 6px 12px;
  width: 125px;
  height: 95px;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 12px 32px rgba(14, 116, 222, 0.35), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.project-banner.banner-alertamigo .app-showcase-icon {
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.45), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.project-card:hover .project-banner.banner-icon .app-showcase-icon {
  transform: scale(1.1) translateY(-3px);
}

.project-card:hover .project-banner.banner-ari .app-showcase-icon {
  box-shadow: 0 16px 40px rgba(14, 116, 222, 0.55), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.project-card:hover .project-banner.banner-alertamigo .app-showcase-icon {
  box-shadow: 0 16px 40px rgba(239, 68, 68, 0.65), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.project-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  background: rgba(13, 18, 34, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-cyan);
  z-index: 2;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 10;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #070a12;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(0, 242, 254, 0.4);
  transition: transform var(--transition-bounce);
  cursor: pointer;
  border: none;
  outline: none;
  pointer-events: auto;
}

.icon-btn:hover {
  transform: scale(1.15);
}

.project-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

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

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

.tech-tag {
  font-size: 0.78rem;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

/* --- Flagship Project Spotlight --- */
.flagship-spotlight {
  margin-bottom: 3.5rem;
}

.flagship-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
  padding: 2.5rem;
  border: 1px solid var(--accent-cyan);
  box-shadow: 0 12px 40px rgba(0, 242, 254, 0.15);
  position: relative;
  overflow: hidden;
}

.flagship-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: var(--gradient-primary);
  color: #070a12;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
}

.flagship-title {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.flagship-subtitle {
  color: var(--accent-cyan);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.flagship-description {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.flagship-metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
}

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

.metric-box .metric-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-cyan);
  line-height: 1.1;
}

.metric-box .metric-lbl {
  font-size: 0.78rem;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0.2rem;
}

.flagship-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 320px;
}

.flagship-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* --- Mini Case Study Details --- */
.case-study-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.case-study-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.case-study-section-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 0.3rem;
}

.case-study-list {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.case-study-list li {
  margin-bottom: 0.3rem;
}

@media (max-width: 992px) {
  .flagship-card {
    grid-template-columns: 1fr;
  }
}

/* --- Contact Section Unified 2-Column Grid --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.contact-panel-card,
.contact-form-card {
  padding: 2.25rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  background: rgba(13, 18, 34, 0.65);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

/* Panel Header */
.contact-panel-header {
  margin-bottom: 1.25rem;
}

.status-indicator-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.28);
  color: #10b981;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  margin-bottom: 0.85rem;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.8);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.contact-panel-title,
.form-card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.form-card-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* Direct Channels */
.contact-channels-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.35rem;
}

.contact-channel-row {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all var(--transition-fast);
}

.contact-channel-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.channel-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.channel-icon-wrap.email-wrap {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.25);
  color: var(--accent-cyan);
}

.channel-icon-wrap.phone-wrap {
  background: rgba(0, 149, 255, 0.1);
  border: 1px solid rgba(0, 149, 255, 0.25);
  color: #0095ff;
}

.channel-icon-wrap.whatsapp-wrap {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.25);
  color: #25d366;
}

.channel-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.channel-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.channel-main-link {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-main);
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color var(--transition-fast);
}

.channel-main-link:hover {
  color: var(--accent-cyan);
}

.channel-btns {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.channel-btns .copy-btn,
.channel-action-btn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.channel-btns .copy-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.channel-action-btn.email-btn:hover {
  background: rgba(0, 242, 254, 0.15);
  color: var(--accent-cyan);
  border-color: var(--accent-cyan);
  transform: translateY(-2px);
}

.channel-action-btn.phone-btn:hover {
  background: rgba(0, 149, 255, 0.15);
  color: #0095ff;
  border-color: #0095ff;
  transform: translateY(-2px);
}

.channel-action-btn.whatsapp-btn:hover {
  background: rgba(37, 211, 102, 0.15);
  color: #25d366;
  border-color: #25d366;
  transform: translateY(-2px);
}

/* Divider */
.contact-panel-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent 0%, var(--border-color) 30%, var(--border-color) 70%, transparent 100%);
  margin: 0.4rem 0 1.25rem;
}

/* Social Section */
.contact-social-section {
  margin-bottom: 1.5rem;
}

.social-section-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.contact-social-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.social-pill {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.social-pill span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.social-pill .pill-arrow {
  margin-left: auto;
  font-size: 0.62rem;
  opacity: 0.35;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.social-pill:hover {
  transform: translateY(-2px);
  color: var(--text-main);
}

.social-pill:hover .pill-arrow {
  opacity: 1;
  transform: translate(2px, -2px);
}

.social-pill.linkedin:hover {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.4);
  background: rgba(10, 102, 194, 0.1);
}

.social-pill.github:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.social-pill.playstore:hover {
  color: #01875f;
  border-color: rgba(1, 135, 95, 0.4);
  background: rgba(1, 135, 95, 0.1);
}

.social-pill.stackoverflow:hover {
  color: #f48024;
  border-color: rgba(244, 128, 36, 0.4);
  background: rgba(244, 128, 36, 0.1);
}

.social-pill.dribbble:hover {
  color: #ea4c89;
  border-color: rgba(234, 76, 137, 0.4);
  background: rgba(234, 76, 137, 0.1);
}

.social-pill.instagram:hover {
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.4);
  background: rgba(225, 48, 108, 0.1);
}

/* Panel Footer Meta */
.contact-panel-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 500;
}

.meta-item i {
  color: var(--accent-cyan);
  font-size: 0.85rem;
}

/* Form Card Header */
.form-card-header {
  margin-bottom: 1.5rem;
}


.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(13, 18, 34, 0.6);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 16px rgba(0, 242, 254, 0.2);
}

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

/* --- Modern Minimal Footer Bar --- */
.footer {
  padding: 2.25rem 0;
  border-top: 1px solid var(--border-color);
  background: var(--bg-primary);
  position: relative;
  z-index: 1;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-cyan) 50%, transparent 100%);
  opacity: 0.4;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-brand {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.footer-divider {
  color: var(--text-dim);
  opacity: 0.6;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin: 0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-icon-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.footer-icon-link:hover {
  transform: translateY(-2px);
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.08);
}

.footer-icon-link.social-linkedin:hover {
  color: #0a66c2;
  border-color: rgba(10, 102, 194, 0.5);
  background: rgba(10, 102, 194, 0.12);
  box-shadow: 0 4px 14px rgba(10, 102, 194, 0.25);
}

.footer-icon-link.social-github:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.15);
}

.footer-icon-link.social-whatsapp:hover {
  color: #25d366;
  border-color: rgba(37, 211, 102, 0.5);
  background: rgba(37, 211, 102, 0.12);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

.footer-icon-link.social-playstore:hover {
  color: #01875f;
  border-color: rgba(1, 135, 95, 0.5);
  background: rgba(1, 135, 95, 0.12);
  box-shadow: 0 4px 14px rgba(1, 135, 95, 0.25);
}

.footer-icon-link.social-stackoverflow:hover {
  color: #f48024;
  border-color: rgba(244, 128, 36, 0.5);
  background: rgba(244, 128, 36, 0.12);
  box-shadow: 0 4px 14px rgba(244, 128, 36, 0.25);
}

.footer-icon-link.social-dribbble:hover {
  color: #ea4c89;
  border-color: rgba(234, 76, 137, 0.5);
  background: rgba(234, 76, 137, 0.12);
  box-shadow: 0 4px 14px rgba(234, 76, 137, 0.25);
}

.footer-icon-link.social-instagram:hover {
  color: #e1306c;
  border-color: rgba(225, 48, 108, 0.5);
  background: rgba(225, 48, 108, 0.12);
  box-shadow: 0 4px 14px rgba(225, 48, 108, 0.25);
}

.footer-icon-link.social-phone:hover {
  color: #0095ff;
  border-color: rgba(0, 149, 255, 0.5);
  background: rgba(0, 149, 255, 0.12);
  box-shadow: 0 4px 14px rgba(0, 149, 255, 0.25);
}

.footer-icon-link.social-email:hover {
  color: var(--accent-cyan);
  border-color: var(--border-glow);
  background: rgba(0, 242, 254, 0.12);
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.25);
}

.footer-right {
  display: flex;
  align-items: center;
}

.back-to-top-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.back-to-top-btn:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--border-glow);
  color: var(--accent-cyan);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 242, 254, 0.2);
}

/* Light Theme Overrides for Modern Footer */
[data-theme="light"] .footer {
  background: var(--bg-primary);
  border-top-color: var(--border-color);
}

[data-theme="light"] .footer-icon-link,
[data-theme="light"] .back-to-top-btn {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
}

[data-theme="light"] .footer-icon-link:hover {
  background: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .back-to-top-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .footer-left {
    justify-content: center;
  }
}


/* --- Modal Dialog Lightbox --- */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.active {
  display: flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.modal-card {
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  background: #0d1222;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  transform: scale(0.9);
  transition: transform var(--transition-bounce);
  z-index: 10001;
}

.modal-card::-webkit-scrollbar {
  width: 6px;
}

.modal-card::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}

.modal-backdrop.active .modal-card {
  transform: scale(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.modal-close-btn:hover {
  background: rgba(255, 42, 133, 0.2);
  color: var(--accent-pink);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast-msg {
  padding: 0.9rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(13, 18, 34, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid var(--accent-cyan);
  color: var(--text-main);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(0, 242, 254, 0.25);
  animation: toastSlideIn 0.3s ease-out forwards;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* --- Media Queries / Responsiveness --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .typing-container {
    justify-content: center;
  }

  .hero-description {
    margin: 0 auto 2rem;
  }

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

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

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .hero-visual {
    order: -1;
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(13, 18, 34, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
  }

  .nav-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-nav-toggle {
    display: block;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .contact-panel-card,
  .contact-form-card {
    padding: 1.75rem 1.25rem;
  }

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

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-left {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact-social-pills {
    grid-template-columns: 1fr;
  }

  .channel-main-link {
    font-size: 0.92rem;
  }

  .contact-panel-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}