/* ============================================================
   MOHAMED AKRAM PORTFOLIO - MAIN STYLESHEET
   Sky Blue Gradient Theme | Dark/Light Mode | Animations
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  /* Sky Blue Palette */
  --sky-1: #00c6ff;
  --sky-2: #0072ff;
  --sky-3: #00bfff;
  --sky-4: #38bdf8;
  --sky-5: #7dd3fc;
  --accent: #00e5ff;
  --accent2: #005eff;

  /* Gradients */
  --grad-main: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%);
  --grad-hero: linear-gradient(135deg, #00c6ff 0%, #0072ff 50%, #00bfff 100%);
  --grad-glow: radial-gradient(circle, rgba(0,198,255,0.15) 0%, transparent 70%);
  --grad-text: linear-gradient(90deg, #00c6ff, #0072ff, #00e5ff);
  --grad-card: linear-gradient(145deg, rgba(0,198,255,0.05), rgba(0,114,255,0.08));

  /* Dark Theme (default) */
  --bg-primary: #050b18;
  --bg-secondary: #080f1f;
  --bg-card: #0d1a30;
  --bg-card2: #0a1525;
  --bg-nav: rgba(5,11,24,0.92);
  --bg-input: #0d1a30;
  --text-primary: #e8f4fd;
  --text-secondary: #8baac8;
  --text-muted: #4a6580;
  --border: rgba(0,198,255,0.15);
  --border-hover: rgba(0,198,255,0.4);
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --shadow-sky: 0 0 30px rgba(0,198,255,0.2);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.4);
  --glow: 0 0 20px rgba(0,198,255,0.3), 0 0 40px rgba(0,114,255,0.2);

  /* Typography */
  --font-display: 'Orbitron', monospace;
  --font-body: 'Rajdhani', sans-serif;
  --font-text: 'Inter', sans-serif;

  /* Transitions */
  --trans: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --trans-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Light Theme */
[data-theme="light"] {
  --bg-primary: #f0f7ff;
  --bg-secondary: #e8f4fd;
  --bg-card: #ffffff;
  --bg-card2: #f4faff;
  --bg-nav: rgba(240,247,255,0.95);
  --bg-input: #ffffff;
  --text-primary: #0a1628;
  --text-secondary: #2563a8;
  --text-muted: #6b9abf;
  --border: rgba(0,114,255,0.2);
  --border-hover: rgba(0,114,255,0.5);
  --shadow: 0 20px 60px rgba(0,114,255,0.1);
  --shadow-sky: 0 0 30px rgba(0,198,255,0.15);
  --shadow-card: 0 8px 32px rgba(0,114,255,0.12);
  --glow: 0 0 20px rgba(0,198,255,0.2), 0 0 40px rgba(0,114,255,0.1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  cursor: none;
}

::selection { background: rgba(0,198,255,0.3); color: var(--text-primary); }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: var(--grad-main); border-radius: 3px; }

/* ---- Particles ---- */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0; left: 0;
  z-index: 0;
  pointer-events: none;
}

/* ---- Custom Cursor ---- */
.custom-cursor {
  position: fixed;
  width: 36px; height: 36px;
  border: 2px solid var(--sky-1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.3s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.custom-cursor-dot {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--sky-1);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s ease;
}
.custom-cursor.hover { width: 60px; height: 60px; background: rgba(0,198,255,0.1); }

/* ---- Page Loader ---- */
.page-loader {
  position: fixed; inset: 0;
  background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.page-loader.hide { opacity: 0; pointer-events: none; transform: scale(1.02); }
.loader-inner { text-align: center; }
.loader-logo {
  position: relative; display: inline-block;
  width: 120px; height: 120px;
  margin-bottom: 20px;
}
.loader-text {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
}
.loader-ring {
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--sky-1);
  animation: spin 1.2s linear infinite;
}
.loader-ring.r2 { inset: 8px; border-top-color: var(--sky-2); animation-duration: 1.8s; animation-direction: reverse; }
.loader-ring.r3 { inset: 16px; border-top-color: var(--sky-3); animation-duration: 2.4s; }
.loader-tagline {
  font-family: var(--font-body);
  color: var(--text-secondary);
  font-size: 0.85rem; letter-spacing: 3px; text-transform: uppercase;
  animation: pulse 1.5s ease infinite;
}

/* ---- Navbar ---- */
#mainNav {
  background: var(--bg-nav);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  transition: var(--trans);
  z-index: 1000;
}
#mainNav.scrolled {
  padding: 0.6rem 0;
  border-bottom-color: rgba(0,198,255,0.3);
  box-shadow: var(--shadow-sky);
}
/* Nav Overlay (mobile menu backdrop) */
.nav-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,0.5); backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
}
.navbar-brand .brand-text {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--text-primary);
}
.brand-dot { color: var(--sky-1); animation: pulse 2s ease infinite; }
.brand-dev {
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.nav-link {
  font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-secondary) !important;
  padding: 0.5rem 1rem !important;
  position: relative; transition: var(--trans);
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--grad-main);
  transition: var(--trans); border-radius: 2px;
}
.nav-link:hover, .nav-link.active {
  color: var(--sky-1) !important;
}
.nav-link:hover::after, .nav-link.active::after { left: 0; right: 0; }
.btn-hire-nav {
  background: var(--grad-main);
  color: #fff !important; font-family: var(--font-body);
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 8px 24px !important;
  border-radius: 50px; border: none;
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(0,198,255,0.3);
}
.btn-hire-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,198,255,0.5);
}

/* Theme Toggle */
.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--sky-1);
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
  position: relative; overflow: hidden;
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--sky-1);
  box-shadow: var(--glow);
}

/* Hamburger */
.hamburger-btn {
  border: none; background: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 5px;
  padding: 10px; min-width: 44px; min-height: 44px;
  align-items: center; justify-content: center;
}
.hamburger-btn span {
  display: block; width: 25px; height: 2px;
  background: var(--sky-1); transition: var(--trans); border-radius: 2px;
}
.hamburger-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---- Gradient Text ---- */
.grad-text, h1 span, h2 span {
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- Section Titles ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--sky-1);
  padding: 6px 16px;
  background: rgba(0,198,255,0.08);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--text-secondary);
  max-width: 560px; line-height: 1.7;
  font-family: var(--font-text);
}
.section-divider {
  width: 80px; height: 3px;
  background: var(--grad-main);
  border-radius: 3px; margin: 16px 0;
}
section { position: relative; z-index: 1; }

/* ---- Buttons ---- */
.btn-primary-custom {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad-main);
  color: #fff !important; font-family: var(--font-body);
  font-weight: 700; font-size: 0.95rem;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 14px 32px; border-radius: 50px;
  border: none; cursor: pointer;
  text-decoration: none;
  transition: var(--trans);
  box-shadow: 0 4px 20px rgba(0,198,255,0.3);
  position: relative; overflow: hidden;
}
.btn-primary-custom::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.btn-primary-custom:hover::before { left: 100%; }
.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 35px rgba(0,198,255,0.5);
}
.btn-outline-custom {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent;
  color: var(--sky-1) !important;
  font-family: var(--font-body); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 13px 32px; border-radius: 50px;
  border: 2px solid var(--sky-1);
  text-decoration: none; transition: var(--trans);
}
.btn-outline-custom:hover {
  background: rgba(0,198,255,0.1);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,198,255,0.25);
}

/* ---- Cards ---- */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 30px;
  transition: var(--trans);
  position: relative; overflow: hidden;
}
.glass-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0;
  height: 1px; background: var(--grad-main); transform: scaleX(0);
  transition: transform 0.4s ease; transform-origin: left;
}
.glass-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-sky); }
.glass-card:hover::before { transform: scaleX(1); }
.cta-card { padding: 60px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative; overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,198,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,198,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
.hero-glow-1 {
  position: absolute;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,198,255,0.12), transparent 70%);
  top: -100px; right: -100px; border-radius: 50%;
  animation: float 8s ease infinite;
}
.hero-glow-2 {
  position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,114,255,0.1), transparent 70%);
  bottom: 0; left: -80px; border-radius: 50%;
  animation: float 10s ease infinite reverse;
}

.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.85rem;
  font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--sky-1);
  padding: 8px 20px;
  background: rgba(0,198,255,0.08);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 50px; margin-bottom: 24px;
  animation: slideInLeft 0.8s ease both;
}
.hero-label .dot {
  width: 8px; height: 8px; background: var(--sky-1);
  border-radius: 50%; animation: pulse 1.5s ease infinite;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 900; line-height: 1.1;
  color: var(--text-primary);
  animation: slideInLeft 0.8s ease 0.1s both;
}
.hero-name .highlight {
  background: var(--grad-hero);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  display: block;
}
.hero-typed-wrap {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary); margin: 16px 0 24px;
  animation: slideInLeft 0.8s ease 0.2s both;
}
.hero-typed-wrap .typed-cursor { color: var(--sky-1); }
.hero-desc {
  font-family: var(--font-text); font-size: 1rem;
  color: var(--text-secondary); line-height: 1.8;
  max-width: 520px; margin-bottom: 36px;
  animation: slideInLeft 0.8s ease 0.3s both;
}
.hero-btns {
  display: flex; flex-wrap: wrap; gap: 16px;
  animation: slideInLeft 0.8s ease 0.4s both;
}
.hero-stats {
  display: flex; gap: 32px; margin-top: 48px;
  animation: slideInLeft 0.8s ease 0.5s both;
}
.hero-stat { text-align: left; }
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  background: var(--grad-text);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: 1px;
}

/* ── Hero right column block ── */
.hero-right-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* ================================================================
   HERO IMAGE WRAP — Fixed 500×500 container, circle centered
   Badges orbit at radius 215px from center using CSS+JS
   ================================================================ */
.hero-image-wrap {
  position: relative;
  width: 500px;
  height: 500px;
  flex-shrink: 0;
  margin: 0 auto;
  animation: slideInRight 0.8s ease 0.3s both;
}

/* Dashed rotating rings */
.hero-img-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 380px; height: 380px;
  border: 1.5px dashed rgba(0,198,255,0.18);
  border-radius: 50%;
  animation: spin 28s linear infinite;
}
.hero-img-ring-2 {
  width: 320px; height: 320px;
  border: 1px solid rgba(0,198,255,0.08);
  animation-duration: 20s;
  animation-direction: reverse;
}
/* Orbit path ring (where badges travel) */
.hero-img-ring-orbit {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 430px; height: 430px;
  border-radius: 50%;
  border: 1px dashed rgba(0,198,255,0.06);
  pointer-events: none;
  z-index: 1;
}

/* Profile photo — always centered in the 500×500 wrap */
.hero-img-container {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 290px; height: 290px;
  border-radius: 50%;
  background: var(--grad-main);
  padding: 4px;
  box-shadow: var(--glow);
  z-index: 4;
  animation: heroImgFloat 6s ease-in-out infinite;
}
@keyframes heroImgFloat {
  0%,100% { transform: translate(-50%,-50%) translateY(0px); }
  50%      { transform: translate(-50%,-50%) translateY(-10px); }
}
.hero-img-container img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-img-placeholder {
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--bg-card);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 8px;
}
.hero-img-placeholder i { font-size: 3.5rem; color: var(--sky-1); }
.hero-img-placeholder span { font-size: 0.8rem; color: var(--text-muted); }

/* ================================================================
   ORBITING TECH BADGES
   CSS positions set initial placement; JS animates the orbit
   Wrap center = (250,250). Orbit radius = 215px.
   Badge positioned with transform: translate(-50%,-50%)
   PHP   (-55°):  left=250+cos(-55°)*215=250+123=373, top=250+sin(-55°)*215=250-176=74
   MySQL ( 30°):  left=250+cos(30°)*215=250+186=436,  top=250+sin(30°)*215=250+108=358
   WP    (160°):  left=250+cos(160°)*215=250-202=48,   top=250+sin(160°)*215=250+74=324
   ================================================================ */
.mobile-badges { display: none; }

.tech-badge {
  position: absolute;
  transform: translate(-50%, -50%);
  border-radius: 50px;
  padding: 9px 18px;
  font-size: 0.8rem; font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  z-index: 8;
  display: flex; align-items: center; gap: 8px;
  cursor: default;
  background: rgba(8, 20, 40, 0.88);
  border: 1px solid rgba(0,198,255,0.35);
  box-shadow: 0 4px 24px rgba(0,0,0,0.45),
              0 0 16px rgba(0,198,255,0.08),
              inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.2s ease;
  /* Initial CSS positions */
}
[data-theme="light"] .tech-badge {
  background: rgba(230,245,255,0.92);
  border-color: rgba(0,114,255,0.3);
  color: #0a1628;
  box-shadow: 0 4px 20px rgba(0,114,255,0.18);
}
.tech-badge:hover {
  border-color: rgba(0,198,255,0.7);
  box-shadow: 0 8px 36px rgba(0,198,255,0.35), 0 0 24px rgba(0,198,255,0.2);
  z-index: 12;
}
.tech-badge i {
  color: var(--sky-1);
  font-size: 0.95rem;
  filter: drop-shadow(0 0 5px rgba(0,198,255,0.5));
}
/* Pulse dot */
.tech-badge::after {
  content: '';
  position: absolute;
  top: -3px; right: -3px;
  width: 8px; height: 8px;
  background: var(--sky-1);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  animation: pulse 2s ease infinite;
}

/* CSS default positions (before JS kicks in) */
/* Initial CSS positions (before JS animates; degrees→coords at radius 215)
   PHP Expert  (-55°): 373,  74
   MySQL       ( 30°): 436, 358
   WordPress   (155°):  55, 341  */
.badge-php   { left: 373px; top:  74px; }
.badge-mysql { left: 436px; top: 358px; }
.badge-wp    { left:  55px; top: 341px; }

/* SVG Connector lines */
.badge-connector {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}
.badge-connector line {
  stroke: rgba(0,198,255,0.18);
  stroke-width: 1;
  stroke-dasharray: 5 5;
}
@keyframes dashAnim { to { stroke-dashoffset: -20; } }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section { padding: 100px 0; }
.about-img-wrap {
  position: relative; display: inline-block;
}
.about-img-frame {
  width: 100%; max-width: 420px;
  border-radius: 24px; overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: var(--shadow-card);
}
.about-img-frame img { width: 100%; display: block; }
.about-img-dots {
  position: absolute; bottom: -20px; right: -20px;
  width: 120px; height: 120px;
  background-image: radial-gradient(circle, rgba(0,198,255,0.4) 1px, transparent 1px);
  background-size: 12px 12px;
  border-radius: 50%; opacity: 0.5;
}
.about-exp-badge {
  position: absolute; top: 20px; right: -30px;
  background: var(--grad-main);
  color: #fff; padding: 16px 20px;
  border-radius: 16px; text-align: center;
  box-shadow: 0 8px 30px rgba(0,198,255,0.3);
}
.about-exp-badge .exp-num {
  font-family: var(--font-display);
  font-size: 1.8rem; font-weight: 900; display: block;
}
.about-exp-badge .exp-label { font-size: 0.7rem; opacity: 0.9; letter-spacing: 1px; }
.about-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.about-info-item { display: flex; flex-direction: column; gap: 2px; }
.about-info-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.about-info-value { font-size: 0.95rem; color: var(--text-primary); font-weight: 600; }

/* ============================================================
   SKILLS SECTION
   ============================================================ */
.skills-section { padding: 100px 0; }
.skill-category-title {
  font-family: var(--font-display); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--sky-1);
  margin-bottom: 20px; display: flex; align-items: center; gap: 12px;
}
.skill-category-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.skill-item {
  margin-bottom: 20px;
}
.skill-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.skill-name { font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; color: var(--text-primary); }
.skill-meta { display: flex; align-items: center; gap: 12px; }
.skill-level-badge {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px;
}
.skill-level-badge.expert { background: rgba(0,198,255,0.15); color: var(--sky-1); border: 1px solid rgba(0,198,255,0.3); }
.skill-level-badge.intermediate { background: rgba(0,114,255,0.15); color: #4db6ff; border: 1px solid rgba(0,114,255,0.3); }
.skill-level-badge.beginner { background: rgba(100,200,255,0.1); color: #7dd3fc; border: 1px solid rgba(100,200,255,0.2); }
.skill-percent { font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; color: var(--sky-1); }
.skill-bar { height: 6px; background: var(--bg-card2); border-radius: 3px; overflow: hidden; }
.skill-bar-fill {
  height: 100%; border-radius: 3px;
  background: var(--grad-main); width: 0;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.skill-bar-fill::after {
  content: ''; position: absolute;
  right: 0; top: 50%; transform: translateY(-50%);
  width: 10px; height: 10px;
  background: var(--sky-1); border-radius: 50%;
  box-shadow: 0 0 8px var(--sky-1);
}

/* Skill Cards (icon style) */
.skill-icon-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: var(--trans);
  cursor: default;
}
.skill-icon-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: var(--shadow-sky);
}
.skill-icon-card i { font-size: 2rem; color: var(--sky-1); display: block; margin-bottom: 8px; }
.skill-icon-card .s-name { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); display: block; }
.skill-icon-card .s-level { font-size: 0.7rem; color: var(--text-muted); }

/* ============================================================
   EXPERIENCE & EDUCATION (TIMELINE)
   ============================================================ */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--sky-1), transparent);
}
.timeline-item { position: relative; margin-bottom: 40px; }
.timeline-dot {
  position: absolute; left: -38px; top: 6px;
  width: 16px; height: 16px;
  background: var(--grad-main); border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 12px var(--sky-1);
}
.timeline-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px;
  transition: var(--trans);
}
.timeline-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sky); }
.timeline-period {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 1px;
  color: var(--sky-1); text-transform: uppercase;
  padding: 3px 12px; background: rgba(0,198,255,0.1);
  border-radius: 50px; display: inline-block; margin-bottom: 8px;
}
.timeline-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.timeline-company { font-size: 0.9rem; color: var(--text-secondary); font-weight: 600; margin-bottom: 8px; }
.timeline-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tech-tag {
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px;
  padding: 3px 10px; border-radius: 50px;
  background: rgba(0,198,255,0.1);
  border: 1px solid rgba(0,198,255,0.2);
  color: var(--sky-1);
}

/* ============================================================
   PROJECTS SECTION
   ============================================================ */
.projects-section { padding: 100px 0; }
.project-filter-bar {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center; margin-bottom: 48px;
}
.filter-btn {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-family: var(--font-body);
  font-weight: 600; font-size: 0.85rem; letter-spacing: 1px;
  text-transform: uppercase; padding: 8px 20px;
  border-radius: 50px; cursor: pointer; transition: var(--trans);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--grad-main); color: #fff;
  border-color: transparent; box-shadow: 0 4px 15px rgba(0,198,255,0.3);
}
.project-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: var(--trans); height: 100%;
}
.project-card:hover { border-color: var(--border-hover); transform: translateY(-8px); box-shadow: var(--shadow-sky); }
.project-thumbnail {
  height: 200px; overflow: hidden; position: relative;
  background: var(--bg-card2);
}
.project-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover .project-thumbnail img { transform: scale(1.08); }
.project-thumbnail-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,198,255,0.1), rgba(0,114,255,0.1));
}
.project-thumbnail-placeholder i { font-size: 3rem; color: rgba(0,198,255,0.3); }
.project-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--bg-primary) 90%, transparent), transparent);
  display: flex; align-items: flex-end; padding: 16px;
  opacity: 0; transition: var(--trans);
}
.project-card:hover .project-overlay { opacity: 1; }
.project-links { display: flex; gap: 10px; }
.project-link-btn {
  width: 36px; height: 36px;
  background: rgba(0,198,255,0.2); backdrop-filter: blur(10px);
  border: 1px solid rgba(0,198,255,0.3); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--sky-1); font-size: 0.8rem; text-decoration: none;
  transition: var(--trans);
}
.project-link-btn:hover { background: var(--grad-main); color: #fff; border-color: transparent; }
.project-body { padding: 20px; }
.project-cat {
  font-size: 0.7rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--sky-1);
  background: rgba(0,198,255,0.1); border: 1px solid rgba(0,198,255,0.2);
  padding: 3px 10px; border-radius: 50px; display: inline-block; margin-bottom: 10px;
}
.project-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 8px; }
.project-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.project-status-badge {
  font-size: 0.7rem; font-weight: 600; padding: 3px 10px; border-radius: 50px;
}
.status-completed { background: rgba(0,198,255,0.1); color: var(--sky-1); border: 1px solid rgba(0,198,255,0.2); }
.status-ongoing { background: rgba(255,165,0,0.1); color: #ffa500; border: 1px solid rgba(255,165,0,0.2); }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section { padding: 100px 0; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 36px 28px;
  height: 100%; transition: var(--trans); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute;
  top: -60%; left: -60%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(0,198,255,0.05), transparent 60%);
  opacity: 0; transition: opacity 0.5s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card:hover { border-color: var(--border-hover); transform: translateY(-8px); box-shadow: var(--shadow-sky); }
.service-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(0,198,255,0.1); border: 1px solid rgba(0,198,255,0.2);
  border-radius: 18px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; transition: var(--trans);
}
.service-card:hover .service-icon-wrap {
  background: var(--grad-main); border-color: transparent;
  box-shadow: 0 8px 20px rgba(0,198,255,0.3);
}
.service-icon-wrap i { font-size: 1.6rem; color: var(--sky-1); transition: var(--trans); }
.service-card:hover .service-icon-wrap i { color: #fff; }
.service-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }
.service-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.service-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  margin-top: 4px;
}
.service-price::before {
  content: '';
}
.service-features { list-style: none; margin-top: 16px; }
.service-features li {
  font-size: 0.85rem; color: var(--text-secondary);
  padding: 5px 0; display: flex; align-items: center; gap: 8px;
}
.service-features li i { color: var(--sky-1); font-size: 0.7rem; }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section { padding: 100px 0; }
.blog-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; overflow: hidden; height: 100%; transition: var(--trans);
}
.blog-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-sky); }
.blog-thumbnail { height: 200px; overflow: hidden; background: var(--bg-card2); position: relative; }
.blog-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-thumbnail img { transform: scale(1.06); }
.blog-cat-badge {
  position: absolute; top: 12px; left: 12px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border-radius: 50px;
  background: var(--grad-main); color: #fff;
}
.blog-body { padding: 24px; }
.blog-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.blog-meta-item { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
.blog-meta-item i { color: var(--sky-1); }
.blog-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; line-height: 1.4; }
.blog-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.read-more-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700; color: var(--sky-1);
  text-decoration: none; letter-spacing: 1px; text-transform: uppercase;
  transition: var(--trans);
}
.read-more-link:hover { color: var(--sky-4); gap: 12px; }

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section { padding: 100px 0; }
.contact-info-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 30px; height: 100%;
}
.contact-info-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: rgba(0,198,255,0.1);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
}
.contact-icon i { color: var(--sky-1); }
.contact-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2px; }
.contact-value { font-size: 0.95rem; color: var(--text-primary); font-weight: 600; }
.contact-value a { color: var(--text-primary); text-decoration: none; transition: var(--trans); }
.contact-value a:hover { color: var(--sky-1); }

.contact-form { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 36px; }
.form-group { margin-bottom: 20px; }
.form-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 8px; display: block; }
.form-control-custom {
  width: 100%; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 12px;
  color: var(--text-primary); font-family: var(--font-text); font-size: 0.95rem;
  padding: 12px 18px; transition: var(--trans); outline: none;
}
.form-control-custom:focus { border-color: var(--sky-1); box-shadow: 0 0 0 3px rgba(0,198,255,0.1); }
.form-control-custom::placeholder { color: var(--text-muted); }
textarea.form-control-custom { resize: vertical; min-height: 130px; }
.availability-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 50px;
  background: rgba(0,255,128,0.1); border: 1px solid rgba(0,255,128,0.2);
  font-size: 0.8rem; font-weight: 700; color: #00ff80;
  margin-top: 16px;
}
.availability-dot { width: 8px; height: 8px; background: #00ff80; border-radius: 50%; animation: pulse 1.5s ease infinite; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { padding: 80px 0; }
.testimonial-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 28px; text-align: center;
  transition: var(--trans);
}
.testimonial-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sky); }
.testimonial-stars { color: #ffd700; font-size: 0.9rem; margin-bottom: 12px; }
.testimonial-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonial-author { font-weight: 700; color: var(--text-primary); font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   STATS / COUNTER
   ============================================================ */
.stats-section { padding: 80px 0; }
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-main);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.stat-card:hover { border-color: var(--border-hover); transform: translateY(-6px); box-shadow: var(--shadow-sky); }
.stat-card:hover::before { transform: scaleX(1); }
.stat-icon {
  width: 64px; height: 64px;
  background: rgba(0,198,255,0.1);
  border: 1px solid rgba(0,198,255,0.2);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.6rem;
  color: var(--sky-1);
  transition: var(--trans);
}
.stat-card:hover .stat-icon {
  background: var(--grad-main);
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0,198,255,0.3);
  color: #fff;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-suffix { font-family: var(--font-display); color: var(--sky-1); }
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  position: relative; overflow: hidden; z-index: 1;
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 2px;
  background: var(--grad-main);
  box-shadow: 0 0 40px rgba(0,198,255,0.3);
}
.footer-top { padding: 80px 0 40px; }
.footer-logo {
  font-family: var(--font-display); font-size: 1.8rem; font-weight: 900;
  color: var(--text-primary); text-decoration: none; display: block; margin-bottom: 16px;
}
.footer-logo span { color: var(--sky-1); }
.footer-bio { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 44px; height: 44px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 0.9rem; text-decoration: none;
  transition: var(--trans);
}
.footer-social a:hover {
  background: var(--grad-main); color: #fff;
  border-color: transparent; transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0,198,255,0.3);
}
.footer-heading {
  font-family: var(--font-display); font-size: 0.8rem;
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--sky-1); margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 0.9rem; color: var(--text-muted); text-decoration: none;
  transition: var(--trans); display: flex; align-items: center; gap: 8px;
}
.footer-links a i { font-size: 0.7rem; color: var(--sky-1); }
.footer-links a:hover { color: var(--sky-1); gap: 14px; }
.footer-contact-list { list-style: none; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text-muted); margin-bottom: 12px;
}
.footer-contact-list li i { color: var(--sky-1); margin-top: 3px; min-width: 16px; }
.footer-contact-list li a { color: var(--text-muted); text-decoration: none; transition: var(--trans); }
.footer-contact-list li a:hover { color: var(--sky-1); }
.btn-hire-footer {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--grad-main); color: #fff;
  padding: 10px 22px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 700; text-decoration: none;
  transition: var(--trans); margin-top: 12px;
}
.btn-hire-footer:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,198,255,0.3); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 20px 0; font-size: 0.85rem; color: var(--text-muted);
}

/* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: calc(30px + env(safe-area-inset-bottom, 0px));
  right: 30px;
  width: 44px; height: 44px;
  background: var(--grad-main); color: #fff;
  border: none; border-radius: 12px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--trans);
  opacity: 0; transform: translateY(20px);
  box-shadow: 0 4px 20px rgba(0,198,255,0.3); z-index: 900;
}
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,198,255,0.5); }

/* ============================================================
   POPUP
   ============================================================ */
.popup-overlay {
  position: fixed; inset: 0;
  background: color-mix(in srgb, var(--bg-primary) 80%, transparent);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9998; display: flex; align-items: center; justify-content: center;
}
.popup-modal {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 40px;
  max-width: 480px; width: 90%; position: relative;
  animation: scaleIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 20px 60px rgba(0,198,255,0.2);
}
.popup-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 50%; width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); cursor: pointer; transition: var(--trans);
}
.popup-close:hover { color: var(--sky-1); border-color: var(--sky-1); }
.popup-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--text-primary); margin-bottom: 12px; }
.popup-msg { color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }

/* Maintenance */
.maintenance-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--bg-primary);
}
.maintenance-content { text-align: center; max-width: 600px; padding: 40px; }

/* ============================================================
   BLOG SINGLE PAGE
   ============================================================ */
.blog-post-hero { padding: 140px 0 80px; background: var(--bg-secondary); }
.blog-post-content {
  font-family: var(--font-text); font-size: 1rem;
  line-height: 1.9; color: var(--text-secondary);
}
.blog-post-content h2, .blog-post-content h3 {
  font-family: var(--font-display);
  color: var(--text-primary); margin: 2rem 0 1rem;
}
.blog-post-content p { margin-bottom: 1.2rem; }
.blog-post-content code {
  background: var(--bg-card2); padding: 2px 8px;
  border-radius: 4px; font-size: 0.9em;
  color: var(--sky-1); border: 1px solid var(--border);
}
.blog-post-content pre {
  background: var(--bg-card2); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; overflow-x: auto;
  margin: 1.5rem 0;
}

/* ============================================================
   PAGE HERO (for inner pages)
   ============================================================ */
.page-hero {
  padding: 140px 0 80px;
  text-align: center; position: relative; overflow: hidden;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; color: var(--text-primary);
}
.breadcrumb-wrap { display: flex; justify-content: center; margin-top: 16px; }
.breadcrumb { background: transparent; margin: 0; }
.breadcrumb-item { font-size: 0.9rem; color: var(--text-muted); }
.breadcrumb-item a { color: var(--sky-1); text-decoration: none; }
.breadcrumb-item.active { color: var(--text-secondary); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(0.95); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes gridMove { from { background-position: 0 0; } to { background-position: 60px 60px; } }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }
@keyframes shimmer { 0% { background-position: -200% center; } 100% { background-position: 200% center; } }
@keyframes gradientShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes borderGlow { 0%,100% { box-shadow: 0 0 10px rgba(0,198,255,0.2); } 50% { box-shadow: 0 0 30px rgba(0,198,255,0.5); } }

/* Gradient animated text */
.grad-animated {
  background: linear-gradient(90deg, var(--sky-1), var(--sky-2), var(--sky-3), var(--sky-1));
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* ---- Utility ---- */
.text-sky { color: var(--sky-1); }
.bg-grad { background: var(--grad-main); }
.z-1 { z-index: 1; position: relative; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE - TABLET
   ============================================================ */
/* ============================================================
   RESPONSIVE - TABLET (992px and below)
   ============================================================ */
@media (max-width: 991px) {
  .hero-image-wrap {
    margin-top: 20px;
    width: 340px !important;
    height: 340px !important;
  }
  .hero-img-container { width: 200px; height: 200px; }
  .hero-img-ring { width: 260px; height: 260px; border-width: 1.5px; }
  .hero-img-ring-2 { width: 230px; height: 230px; }
  .hero-img-ring-orbit { width: 300px; height: 300px; }
  .tech-badge { display: none !important; }
  .mobile-badges { display: flex !important; }
  .about-exp-badge { right: 0; }
  .navbar-collapse {
    background: var(--bg-nav);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 16px; border-radius: 16px;
    margin-top: 10px; border: 1px solid var(--border);
  }
}

/* ============================================================
   MOBILE BOTTOM NAV — App-Style Tab Bar
   ============================================================ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9990;
  background: var(--bg-nav);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  padding: 6px 0 max(6px, env(safe-area-inset-bottom));
  align-items: center;
  justify-content: space-around;
  border: none;
  box-shadow: 0 -4px 30px rgba(0,0,0,0.2);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}
.mob-nav-item {
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.55rem; font-weight: 600;
  letter-spacing: 0.3px;
  padding: 4px 8px;
  border-radius: 12px;
  transition: all 0.2s ease;
  min-width: 48px; min-height: 44px;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  position: relative;
}
.mob-nav-item i {
  font-size: 1.25rem;
  transition: all 0.2s ease;
  display: block;
  margin-bottom: 1px;
}
.mob-nav-item span {
  transition: color 0.2s ease;
}
.mob-nav-item.active {
  color: var(--sky-1);
}
.mob-nav-item.active i {
  filter: drop-shadow(0 0 6px rgba(0,198,255,0.4));
}
.mob-nav-item.active::after {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 20px; height: 2.5px;
  background: var(--grad-main);
  border-radius: 0 0 3px 3px;
}

/* Floating Hire Button (FAB) — sits above the bottom nav */
.mob-nav-hire {
  background: var(--grad-main) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 52px !important; height: 52px !important;
  min-width: 52px !important; min-height: 52px !important;
  margin-top: -20px;
  box-shadow: 0 4px 20px rgba(0,198,255,0.45);
  padding: 0 !important;
  justify-content: center !important;
  font-size: 0.45rem !important;
  letter-spacing: 0.3px !important;
  gap: 0 !important;
  flex-direction: column;
  text-align: center;
  border: 2.5px solid var(--bg-primary) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}
.mob-nav-hire:active {
  transform: scale(0.92) !important;
}
.mob-nav-hire i {
  font-size: 1.1rem !important;
  color: #fff !important;
  margin: 0 !important;
  margin-bottom: 1px !important;
}
.mob-nav-hire::before { display: none !important; }
.mob-nav-hire::after { display: none !important; }

/* ============================================================
   MOBILE (768px and below) — Full App Experience
   ============================================================ */
@media (max-width: 768px) {

  /* ---- Global ---- */
  html { -webkit-overflow-scrolling: touch; }
  body { cursor: default; padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  * { -webkit-tap-highlight-color: transparent; }
  .container { padding-left: 16px; padding-right: 16px; }
  html, body { overflow-x: hidden; width: 100%; max-width: 100%; }
  img, svg, video, iframe, pre, table { max-width: 100% !important; height: auto; }

  /* Show bottom nav */
  .mobile-bottom-nav { display: flex !important; }

  /* ---- NAVBAR ---- */
  #mainNav { padding: 6px 0; }
  .navbar-brand .brand-text { font-size: 1rem; }
  .btn-hire-nav { display: none; }
  #navbarNav {
    background: var(--bg-nav);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid var(--border);
    border-radius: 16px; padding: 12px; margin-top: 8px;
  }
  .nav-link {
    font-size: 0.9rem;
    padding: 10px 12px !important;
    border-radius: 10px;
    margin-bottom: 2px;
  }
  .nav-link:hover, .nav-link.active {
    background: rgba(0,198,255,0.08);
  }

  /* ---- HERO SECTION ---- */
  .hero-section { padding: 72px 0 24px; min-height: auto; }
  .hero-bg-grid { opacity: 0.4; }
  .hero-section .row { flex-direction: column-reverse; }
  .hero-section .col-lg-6 { width: 100%; text-align: center; }

  .hero-right-block {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-image-wrap {
    width: 220px !important;
    height: 220px !important;
    margin: 0 auto;
  }
  .hero-img-container { width: 160px; height: 160px; }
  .hero-img-ring { width: 210px; height: 210px; border-width: 1.5px; }
  .hero-img-ring-2 { width: 186px; height: 186px; }
  .hero-img-ring-orbit { width: 220px; height: 220px; }
  .tech-badge { display: none !important; }
  .badge-connector { display: none; }

  .mobile-badges {
    display: flex !important;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
    padding: 0 12px;
  }
  .mobile-badge {
    display: inline-flex !important;
    align-items: center; gap: 5px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.7rem; font-weight: 700;
    color: var(--text-primary);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
    backdrop-filter: blur(10px);
    min-height: 36px;
  }
  .mobile-badge i { color: var(--sky-1); font-size: 0.75rem; }

  .hero-label {
    font-size: 0.6rem; padding: 4px 10px; margin-bottom: 12px;
    letter-spacing: 2px;
  }
  .hero-name { font-size: clamp(1.5rem, 6.5vw, 1.9rem); text-align: center; line-height: 1.15; }
  .hero-typed-wrap { font-size: 0.85rem; text-align: center; margin: 8px 0 12px; }
  .hero-desc { font-size: 0.8rem; text-align: center; line-height: 1.65; margin-bottom: 18px; max-width: 100%; }

  /* Hero buttons — stacked vertically for tap-friendly full-width */
  .hero-btns {
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    max-width: 100%;
    margin: 0;
    animation: none;
  }
  .hero-btns > a:first-child { grid-column: auto; }
  .btn-primary-custom, .btn-outline-custom {
    padding: 14px 18px;
    font-size: 0.82rem;
    letter-spacing: 1px;
    width: 100%;
    justify-content: center;
    border-radius: 14px;
    min-height: 50px;
  }
  .btn-primary-custom i, .btn-outline-custom i { font-size: 0.85rem; }

  .hero-stats {
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }
  .hero-stat { text-align: center; }
  .hero-stat-num { font-size: 1.2rem; }
  .hero-stat-label { font-size: 0.62rem; letter-spacing: 1px; }
  .scroll-indicator { display: none !important; }

  /* ---- SECTION DEFAULTS ---- */
  section { padding: 40px 0 !important; }
  .section-title { font-size: clamp(1.3rem, 5.5vw, 1.7rem); }
  .section-label { font-size: 0.58rem; padding: 4px 12px; }
  .section-divider { margin: 10px 0; }
  .section-subtitle { font-size: 0.82rem; }

  /* ---- STATS ---- */
  .stats-section { padding: 24px 0 32px; }
  .stat-card { padding: 18px 12px; border-radius: 16px; }
  .stat-icon { width: 40px; height: 40px; font-size: 1rem; border-radius: 12px; margin-bottom: 10px; }
  .stat-number { font-size: 1.4rem; }
  .stat-label { font-size: 0.55rem; letter-spacing: 1.2px; }

  /* ---- ABOUT ---- */
  .about-section { padding: 40px 0 !important; }
  .about-img-frame { max-width: 200px; margin: 0 auto; border-radius: 18px; }
  .about-img-wrap { text-align: center; }
  .about-exp-badge { right: 6px; top: 6px; padding: 10px 14px; }
  .about-exp-badge .exp-num { font-size: 1.2rem; }
  .about-info-grid { grid-template-columns: 1fr 1fr; gap: 10px; margin: 14px 0; }
  .about-info-label { font-size: 0.62rem; }
  .about-info-value { font-size: 0.8rem; }

  /* ---- SKILLS ---- */
  .skill-icon-card { padding: 12px 8px; border-radius: 12px; min-height: 40px; }
  .skill-icon-card i { font-size: 1.2rem; margin-bottom: 4px; }
  .skill-icon-card .s-name { font-size: 0.65rem; }
  .skill-icon-card .s-level { font-size: 0.55rem; }

  /* ---- PROJECTS ---- */
  .project-filter-bar { gap: 4px; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 6px; }
  .project-filter-bar::-webkit-scrollbar { height: 2px; }
  .project-filter-bar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
  .filter-btn { padding: 8px 14px; font-size: 0.7rem; white-space: nowrap; flex-shrink: 0; min-height: 38px; }
  .project-card { border-radius: 14px; }
  .project-thumbnail { height: 160px; }
  .project-title { font-size: 0.85rem; }

  /* ---- SERVICES ---- */
  .service-card { padding: 18px 16px; border-radius: 16px; }
  .service-icon-wrap { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 12px; }
  .service-icon-wrap i { font-size: 1.15rem; }
  .service-title { font-size: 0.88rem; }
  .service-desc { font-size: 0.8rem; }

  /* ---- BLOG ---- */
  .blog-section { padding: 40px 0 !important; }
  .blog-thumbnail { height: 150px; }
  .blog-title { font-size: 0.85rem; }
  .blog-excerpt { font-size: 0.78rem; }
  .blog-search-wrap { display: flex; gap: 6px; width: 100%; }
  .blog-search-wrap input { flex: 1; border-radius: 50px; padding: 8px 14px; font-size: 0.82rem; }
  .blog-search-wrap button { border-radius: 50px; padding: 8px 14px; min-width: 44px; }
  .blog-filter-wrap { overflow-x: auto; flex-wrap: nowrap !important; gap: 4px; padding-bottom: 4px; }
  .blog-filter-wrap::-webkit-scrollbar { height: 2px; }
  .blog-filter-wrap a.filter-btn { white-space: nowrap; flex-shrink: 0; }

  /* ---- CONTACT ---- */
  .contact-section { padding: 32px 0 calc(72px + env(safe-area-inset-bottom, 0px)) !important; }
  .contact-form { padding: 16px 14px; border-radius: 16px; }
  .contact-info-card { padding: 16px 14px; border-radius: 16px; margin-bottom: 16px; }
  .form-control-custom { padding: 10px 12px; font-size: 0.85rem; border-radius: 10px; }
  .form-label { font-size: 0.62rem; }
  .form-group { margin-bottom: 12px; }

  /* ---- TIMELINE ---- */
  .timeline { padding-left: 18px; }
  .timeline-dot { left: -26px; width: 14px; height: 14px; top: 4px; }
  .timeline-card { padding: 14px; border-radius: 12px; }
  .timeline-period { font-size: 0.62rem; }
  .timeline-title { font-size: 0.85rem; }
  .timeline-desc { font-size: 0.78rem; }

  /* ---- TESTIMONIALS ---- */
  .testimonials-section { padding: 40px 0 !important; }
  .testimonial-card { padding: 16px; border-radius: 14px; }
  .testimonial-text { font-size: 0.8rem; }

  /* ---- PAGE HERO ---- */
  .page-hero { padding: 80px 0 30px; }
  .page-hero-title { font-size: clamp(1.4rem, 5.5vw, 1.8rem); }

  /* ---- GLASS CARD ---- */
  .glass-card { padding: 16px; border-radius: 14px; }
  .cta-card { padding: 20px 16px; }

  /* ---- FOOTER ---- */
  .site-footer .footer-top { padding: 28px 0 16px; }
  .footer-bottom { padding: 12px 0; font-size: 0.7rem; }
  .footer-links a { font-size: 0.8rem; }
  .footer-contact-list li { font-size: 0.8rem; }
  .footer-social a { width: 40px; height: 40px; font-size: 0.85rem; }

  /* Scroll to top */
  .scroll-top { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); right: 12px; width: 40px; height: 40px; border-radius: 10px; }

  /* ---- POPUP ---- */
  .popup-modal { padding: 20px 16px; border-radius: 18px; margin: 12px; }

  /* ---- ACTIVE PRESS EFFECT ---- */
  .project-card:active,
  .service-card:active,
  .blog-card:active { transform: scale(0.975); transition: transform 0.1s ease; }
}

/* ---- Extra small (400px and below) ---- */
@media (max-width: 400px) {
  .hero-image-wrap { width: 180px !important; height: 180px !important; }
  .hero-img-container { width: 130px; height: 130px; }
  .hero-img-ring { width: 170px; height: 170px; }
  .hero-img-ring-2 { width: 152px; height: 152px; }
  .hero-img-ring-orbit { width: 180px; height: 180px; }
  .hero-name { font-size: 1.4rem; }
  .about-info-grid { grid-template-columns: 1fr; }
  .mobile-badge { font-size: 0.62rem; padding: 5px 10px; min-height: 32px; }
  .mob-nav-item { min-width: 40px; font-size: 0.5rem; }
  .mob-nav-item i { font-size: 1.1rem; }
  .mob-nav-hire { width: 46px !important; height: 46px !important; min-width: 46px !important; min-height: 46px !important; margin-top: -16px; }
  .mob-nav-hire i { font-size: 0.95rem !important; }
}

/* ===== AI Chat Widget ===== */
.ai-chat-widget { position:fixed;bottom:100px;right:24px;z-index:9999;font-family:Inter,sans-serif; }
.ai-chat-toggle { width:56px;height:56px;border-radius:50%;background:linear-gradient(135deg,#00c6ff,#0072ff);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:1.4rem;box-shadow:0 4px 20px rgba(0,198,255,0.4);transition:all 0.3s ease;position:relative; }
.ai-chat-toggle:hover { transform:scale(1.1);box-shadow:0 6px 28px rgba(0,198,255,0.55); }
.ai-chat-pulse { position:absolute;inset:0;border-radius:50%;border:2px solid rgba(0,198,255,0.4);animation:chatPulse 2s ease infinite; }
@keyframes chatPulse { 0%{transform:scale(1);opacity:1} 100%{transform:scale(1.5);opacity:0} }
.ai-chat-panel { position:absolute;bottom:70px;right:0;width:360px;max-height:520px;background:var(--bg-card);border:1px solid var(--border);border-radius:18px;overflow:hidden;display:none;flex-direction:column;box-shadow:0 16px 48px rgba(0,0,0,0.5); }
.ai-chat-panel.open { display:flex; }
.ai-chat-header { display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--border); }
.ai-chat-header-info { display:flex;align-items:center;gap:10px; }
.ai-chat-avatar { width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#00c6ff,#0072ff);color:#fff;display:flex;align-items:center;justify-content:center;font-size:0.7rem;font-weight:900;font-family:Orbitron,monospace; }
.ai-chat-name { font-size:0.9rem;font-weight:700;color:var(--text-primary); }
.ai-chat-status { font-size:0.7rem;color:#00ff80; }
.ai-chat-close { background:none;border:none;color:var(--text-muted);cursor:pointer;font-size:1rem;padding:4px; }
.ai-chat-close:hover { color:var(--text-primary); }
.ai-chat-messages { flex:1;overflow-y:auto;padding:16px 18px;display:flex;flex-direction:column;gap:12px;max-height:360px; }
.ai-chat-messages::-webkit-scrollbar { width:3px; }
.ai-chat-messages::-webkit-scrollbar-thumb { background:var(--border);border-radius:3px; }
.ai-message { display:flex;max-width:85%; }
.ai-message.ai-message-in { align-self:flex-start; }
.ai-message.ai-message-out { align-self:flex-end; }
.ai-message-content { padding:10px 14px;border-radius:14px;font-size:0.85rem;line-height:1.6;color:var(--text-primary); }
.ai-message-in .ai-message-content { background:var(--bg-card2);border:1px solid var(--border);border-bottom-left-radius:4px; }
.ai-message-out .ai-message-content { background:linear-gradient(135deg,#00c6ff,#0072ff);color:#fff;border-bottom-right-radius:4px; }
.ai-chat-input-wrap { display:flex;align-items:center;gap:8px;padding:12px 16px;border-top:1px solid var(--border); }
.ai-chat-input { flex:1;background:var(--bg-card2);border:1px solid var(--border);border-radius:50px;padding:10px 16px;font-size:0.85rem;color:var(--text-primary);outline:none;font-family:Inter,sans-serif; }
.ai-chat-input:focus { border-color:var(--sky-1); }
.ai-chat-input::placeholder { color:var(--text-muted); }
.ai-chat-send { width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#00c6ff,#0072ff);color:#fff;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;font-size:0.85rem;transition:all 0.3s;flex-shrink:0; }
.ai-chat-send:hover { transform:scale(1.1); }
.ai-chat-send:disabled { opacity:0.5;cursor:not-allowed;transform:none; }
.ai-typing { display:flex;gap:4px;padding:4px 0; }
.ai-typing span { width:6px;height:6px;border-radius:50%;background:var(--text-muted);animation:aiTyping 1.4s ease infinite; }
.ai-typing span:nth-child(2) { animation-delay:0.2s; }
.ai-typing span:nth-child(3) { animation-delay:0.4s; }
@keyframes aiTyping { 0%,60%,100%{opacity:0.3;transform:translateY(0)} 30%{opacity:1;transform:translateY(-4px)} }
@media(max-width:480px) {
  .ai-chat-panel { width:calc(100vw - 32px);right:-8px;bottom:65px;max-height:60vh; }
  .ai-chat-widget { right:16px;bottom:80px; }
}
