/* ============================================================
   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);
}
.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: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: var(--trans);
  position: relative; overflow: hidden;
}
.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: 5px;
}
.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); }

/* ============================================================
   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 Image */
.hero-image-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  animation: slideInRight 0.8s ease 0.3s both;
}
.hero-img-ring {
  position: absolute;
  width: 390px; height: 390px;
  border: 2px dashed rgba(0,198,255,0.2);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}
.hero-img-ring-2 {
  width: 340px; height: 340px;
  border: 1px solid rgba(0,198,255,0.1);
  animation-duration: 15s; animation-direction: reverse;
}
.hero-img-container {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--grad-main);
  padding: 4px; position: relative;
  box-shadow: var(--glow);
  animation: float 6s ease infinite;
  z-index: 2;
}
.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: 4rem; color: var(--sky-1); }
.hero-img-placeholder span { font-size: 0.8rem; color: var(--text-muted); }

/* Floating Tech Badges — all positioned well outside the circle */
.tech-badge {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 8px 14px;
  font-size: 0.78rem; font-weight: 700;
  color: var(--text-primary); white-space: nowrap;
  animation: float 4s ease infinite;
  box-shadow: var(--shadow-card);
  z-index: 3;
  backdrop-filter: blur(10px);
}
.tech-badge i { color: var(--sky-1); margin-right: 6px; }
/* PHP Expert — top right, clearly outside circle */
.tech-badge:nth-child(3), .badge-php { top: 2%; right: -30px; animation-delay: 0s; }
/* MySQL — left middle, outside circle */
.tech-badge:nth-child(4), .badge-mysql { bottom: 30%; left: -50px; animation-delay: 1s; }
/* WordPress — bottom right, outside circle */
.tech-badge:nth-child(5), .badge-wp { bottom: 5%; right: -20px; animation-delay: 2s; }

/* Named badge classes for precise control */
.badge-php  { top: 0% !important; right: -10px !important; left: auto !important; bottom: auto !important; }
.badge-mysql{ top: auto !important; left: -55px !important; right: auto !important; bottom: 35% !important; }
.badge-wp   { bottom: 2% !important; right: -15px !important; left: auto !important; top: auto !important; }

/* ============================================================
   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, rgba(5,11,24,0.9), 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 {
  font-family: var(--font-display); font-size: 1.1rem;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.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: 38px; height: 38px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--text-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: 30px; 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: rgba(5,11,24,0.8); 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
   ============================================================ */
@media (max-width: 991px) {
  .hero-image-wrap { margin-top: 60px; }
  .hero-img-container { width: 260px; height: 260px; }
  .hero-img-ring { width: 340px; height: 340px; }
  .hero-img-ring-2 { width: 290px; height: 290px; }
  .tech-badge:nth-child(3), .tech-badge:nth-child(4), .tech-badge:nth-child(5) { display: none; }
  .about-exp-badge { right: 0; }
  .navbar-collapse { background: var(--bg-nav); backdrop-filter: blur(20px); padding: 20px; border-radius: 16px; margin-top: 10px; border: 1px solid var(--border); }
}
@media (max-width: 768px) {
  .hero-stats { gap: 20px; }
  .hero-stat-num { font-size: 1.5rem; }
  .about-info-grid { grid-template-columns: 1fr; }
  .custom-cursor, .custom-cursor-dot { display: none; }
  body { cursor: default; }
}

/* ============================================================
   ADMIN STYLES (minimal, used for akramzone)
   ============================================================ */
.admin-wrapper { display: flex; min-height: 100vh; background: var(--bg-primary); }
.admin-sidebar {
  width: 260px; background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  position: fixed; top: 0; left: 0; height: 100vh;
  overflow-y: auto; z-index: 100; transition: var(--trans);
}
.admin-sidebar::-webkit-scrollbar { width: 4px; }
.admin-sidebar::-webkit-scrollbar-thumb { background: var(--border); }
.admin-brand {
  padding: 24px 20px; border-bottom: 1px solid var(--border);
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800;
  color: var(--text-primary); display: block; text-decoration: none;
}
.admin-brand span { color: var(--sky-1); }
.admin-nav-section { padding: 16px 20px 8px; }
.admin-nav-label {
  font-size: 0.65rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700; margin-bottom: 8px;
}
.admin-nav-link {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 10px;
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 600;
  text-decoration: none; transition: var(--trans); margin-bottom: 4px;
}
.admin-nav-link i { width: 18px; color: var(--text-muted); font-size: 0.9rem; transition: var(--trans); }
.admin-nav-link:hover, .admin-nav-link.active {
  background: rgba(0,198,255,0.08);
  color: var(--sky-1); border-left: 2px solid var(--sky-1);
}
.admin-nav-link:hover i, .admin-nav-link.active i { color: var(--sky-1); }
.admin-main { margin-left: 260px; flex: 1; }
.admin-header {
  background: var(--bg-secondary); border-bottom: 1px solid var(--border);
  padding: 16px 30px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50;
}
.admin-page-title { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.admin-content { padding: 30px; }
.admin-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; overflow: hidden;
}
.admin-card-header {
  padding: 16px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.admin-card-header h5 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--text-primary); margin: 0; }
.admin-card-body { padding: 20px; }
.stat-widget {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 20px; display: flex; align-items: center; gap: 16px;
  transition: var(--trans);
}
.stat-widget:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sky); }
.stat-widget-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(0,198,255,0.1); display: flex; align-items: center; justify-content: center;
}
.stat-widget-icon i { font-size: 1.3rem; color: var(--sky-1); }
.stat-widget-num { font-family: var(--font-display); font-size: 1.6rem; font-weight: 900; color: var(--text-primary); line-height: 1; }
.stat-widget-label { font-size: 0.8rem; color: var(--text-muted); }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  background: var(--bg-card2); padding: 10px 16px;
  font-size: 0.75rem; letter-spacing: 1px; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700; border-bottom: 1px solid var(--border);
  text-align: left;
}
.admin-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); color: var(--text-secondary); font-size: 0.9rem; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(0,198,255,0.03); }
.btn-admin-sm {
  padding: 5px 12px; border-radius: 8px; font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.5px; border: none; cursor: pointer; transition: var(--trans);
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
}
.btn-edit { background: rgba(0,198,255,0.1); color: var(--sky-1); border: 1px solid rgba(0,198,255,0.2); }
.btn-edit:hover { background: var(--sky-1); color: #fff; }
.btn-delete { background: rgba(255,71,87,0.1); color: #ff4757; border: 1px solid rgba(255,71,87,0.2); }
.btn-delete:hover { background: #ff4757; color: #fff; }
.btn-success-sm { background: rgba(0,255,128,0.1); color: #00ff80; border: 1px solid rgba(0,255,128,0.2); }
.btn-success-sm:hover { background: #00ff80; color: #000; }
.form-admin {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px;
}
.form-admin .form-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 8px; }
.form-admin input, .form-admin textarea, .form-admin select {
  background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text-primary);
  font-family: var(--font-text); font-size: 0.9rem;
  padding: 10px 14px; width: 100%; outline: none; transition: var(--trans);
}
.form-admin input:focus, .form-admin textarea:focus, .form-admin select:focus {
  border-color: var(--sky-1); box-shadow: 0 0 0 3px rgba(0,198,255,0.1);
}
.badge-status-active { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; background: rgba(0,255,128,0.1); color: #00ff80; border: 1px solid rgba(0,255,128,0.2); }
.badge-status-inactive { display: inline-block; padding: 3px 10px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; background: rgba(255,71,87,0.1); color: #ff4757; border: 1px solid rgba(255,71,87,0.2); }

/* Admin Login */
.admin-login-page {
  min-height: 100vh; background: var(--bg-primary);
  display: flex; align-items: center; justify-content: center;
}
.admin-login-card {
  width: 100%; max-width: 420px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 24px; padding: 48px 40px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.admin-login-logo {
  font-family: var(--font-display); font-size: 2rem; font-weight: 900;
  background: var(--grad-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  text-align: center; margin-bottom: 8px;
}

/* Blocked page */
.blocked-page {
  min-height: 100vh; background: #050b18;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Courier New', monospace;
}
.blocked-content { text-align: center; max-width: 600px; padding: 40px; }
.blocked-content h1 { font-size: 4rem; color: #ff4757; font-family: var(--font-display); }
.blocked-content .ip-display { color: #00c6ff; font-size: 1.1rem; background: rgba(0,198,255,0.1); padding: 12px 24px; border-radius: 8px; margin: 20px 0; border: 1px solid rgba(0,198,255,0.2); }

/* Nav overlay */
.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 900; }

/* Alert messages */
.alert-custom {
  padding: 14px 20px; border-radius: 12px; margin-bottom: 20px;
  font-size: 0.9rem; font-weight: 600; border: 1px solid;
  display: flex; align-items: center; gap: 10px;
}
.alert-success { background: rgba(0,255,128,0.1); color: #00ff80; border-color: rgba(0,255,128,0.2); }
.alert-error { background: rgba(255,71,87,0.1); color: #ff4757; border-color: rgba(255,71,87,0.2); }
.alert-warning { background: rgba(255,165,0,0.1); color: #ffa500; border-color: rgba(255,165,0,0.2); }
.alert-info { background: rgba(0,198,255,0.1); color: var(--sky-1); border-color: rgba(0,198,255,0.2); }
