/* ============================================
   TANVIR ISLAM PORTFOLIO - MAIN STYLESHEET
   Dark Blue Premium Theme
   ============================================ */

/* Premium font upgrade: Space Grotesk (headings) + Plus Jakarta Sans (body) */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

/* ── CSS VARIABLES ── */
:root {
  --bg-primary: #050a14;
  --bg-secondary: #080f1e;
  --bg-card: #0c1428;
  --bg-glass: rgba(12, 20, 40, 0.7);
  --blue-deep: #0a1628;
  --blue-mid: #0d2045;
  --blue-bright: #1a6fff;
  --blue-glow: #2979ff;
  --blue-light: #4d9fff;
  --cyan: #00e5ff;
  --cyan-dim: #00b8d4;
  --accent: #ff6b35;
  --gold: #ffd700;
  --text-primary: #e8f0fe;
  --text-secondary: #8899bb;
  --text-muted: #4a5568;
  --border: rgba(26, 111, 255, 0.15);
  --border-bright: rgba(26, 111, 255, 0.4);
  --glow-blue: 0 0 30px rgba(26, 111, 255, 0.4);
  --glow-cyan: 0 0 30px rgba(0, 229, 255, 0.3);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius: 12px;
  --radius-lg: 20px;
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--blue-bright); border-radius: 3px; }

/* ── LOADING SCREEN ── */
#loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loading-screen.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  animation: pulse 1.5s ease-in-out infinite;
}
.loader-bar {
  width: 200px;
  height: 3px;
  background: var(--bg-card);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  border-radius: 2px;
  animation: loading 1.8s ease-in-out forwards;
}
@keyframes loading { from { width: 0; } to { width: 100%; } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }

/* ── NAVBAR ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(5, 10, 20, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}
.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}
.nav-logo span { color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.nav-links a {
  padding: 0.5rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: rgba(26,111,255,0.1);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--blue-bright);
  border-radius: 1px;
}
.nav-social {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.nav-social a {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
  transition: var(--transition);
}
.nav-social a:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  box-shadow: var(--glow-blue);
}
.nav-cta {
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-glow));
  color: white !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: var(--transition) !important;
  box-shadow: 0 4px 15px rgba(26,111,255,0.3);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,111,255,0.5) !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO SECTION ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 0 3rem;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(26,111,255,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,229,255,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(26,111,255,0.06) 0%, transparent 50%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,111,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,111,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(26,111,255,0.1);
  border: 1px solid var(--border-bright);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--blue-light);
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
}
.hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 1.5s infinite;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: -1px;
}
.hero-title .name-line {
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--blue-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .role-line {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 600;
  display: block;
  margin-top: 0.3rem;
}
.typing-text {
  display: inline-block;
  min-width: 280px;
}
.cursor {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--cyan);
  margin-left: 3px;
  vertical-align: middle;
  animation: blink 0.8s infinite;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn-primary {
  padding: 0.85rem 2rem;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-glow));
  color: white;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(26,111,255,0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(26,111,255,0.5);
}
.btn-secondary {
  padding: 0.85rem 2rem;
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.btn-secondary:hover {
  background: rgba(26,111,255,0.1);
  border-color: var(--blue-bright);
  transform: translateY(-3px);
}
.hero-stats {
  display: flex;
  gap: 2rem;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}
/* Hero Image */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image-ring {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  border: 1px solid var(--border-bright);
  animation: rotate 20s linear infinite;
}
.hero-image-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: var(--glow-cyan);
}
.hero-image-ring-2 {
  width: 360px;
  height: 360px;
  border: 1px dashed rgba(26,111,255,0.2);
  animation: rotate 15s linear infinite reverse;
}
@keyframes rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
.hero-img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--blue-bright);
  box-shadow: 0 0 60px rgba(26,111,255,0.4), 0 0 120px rgba(26,111,255,0.2);
  position: relative;
  z-index: 2;
}
.hero-tag {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.6rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  z-index: 3;
}
.hero-tag-1 { top: 15%; right: -10px; }
.hero-tag-2 { bottom: 15%; left: -10px; }
.hero-tag .tag-icon { color: var(--cyan); margin-right: 0.3rem; }

/* ── SKILLS STRIP ── */
.skills-strip {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}
.skills-strip::before, .skills-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
}
.skills-strip::before { left: 0; background: linear-gradient(90deg, var(--bg-secondary), transparent); }
.skills-strip::after { right: 0; background: linear-gradient(-90deg, var(--bg-secondary), transparent); }
.strip-track {
  display: flex;
  gap: 0;
  animation: scrollLeft 30s linear infinite;
  width: max-content;
}
.strip-track:hover { animation-play-state: paused; }
.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  border-right: 1px solid var(--border);
  transition: color 0.3s;
}
.strip-item:hover { color: var(--cyan); }
.strip-item .icon { color: var(--blue-bright); font-size: 1rem; }
@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── SECTION STYLES ── */
section { padding: 6rem 0; }
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--cyan);
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.section-title .highlight {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.8;
}
.section-header { margin-bottom: 4rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-label { justify-content: center; }
.section-header.centered .section-label::before { display: none; }
.section-header.centered .section-desc { margin: 0 auto; }

/* ── CARD BASE ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { border-color: var(--border-bright); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.card:hover::before { opacity: 1; }

/* ── ABOUT SECTION (HOME) ── */
.about-home {
  background: var(--bg-secondary);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 480px;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
}
.about-exp-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--blue-bright);
  color: white;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--glow-blue);
}
.about-exp-badge .exp-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  display: block;
}
.about-exp-badge .exp-label { font-size: 0.75rem; opacity: 0.9; }
.about-info-list { margin: 2rem 0; display: grid; gap: 0.8rem; }
.about-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.about-info-item .label { color: var(--text-muted); min-width: 80px; }
.about-info-item .value { color: var(--text-primary); font-weight: 500; }

/* ── SKILLS SECTION ── */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.skill-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.skill-card:hover { border-color: var(--blue-bright); box-shadow: var(--glow-blue); transform: translateY(-3px); }
.skill-icon {
  width: 55px;
  height: 55px;
  background: rgba(26,111,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 1rem;
  color: var(--blue-bright);
}
.skill-name {
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}
.skill-bar {
  height: 4px;
  background: rgba(255,255,255,0.05);
  border-radius: 2px;
  overflow: hidden;
}
.skill-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  border-radius: 2px;
  width: 0;
  transition: width 1.5s ease;
}

/* ── SERVICES PREVIEW ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.service-card:hover { border-color: var(--border-bright); transform: translateY(-8px); box-shadow: 0 25px 70px rgba(0,0,0,0.5); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, rgba(26,111,255,0.2), rgba(0,229,255,0.1));
  border: 1px solid rgba(26,111,255,0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--blue-bright);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.service-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.service-list { list-style: none; display: grid; gap: 0.5rem; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.service-list li::before { content: '→'; color: var(--cyan); font-size: 0.75rem; }

/* ── WORKFLOW ── */
.workflow {
  background: var(--bg-secondary);
}
.workflow-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}
.workflow-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue-bright), var(--cyan));
  opacity: 0.3;
}
.workflow-step {
  display: flex;
  gap: 2rem;
  padding: 2rem 0;
  align-items: flex-start;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.5s ease;
}
.workflow-step.visible { opacity: 1; transform: translateX(0); }
.step-num {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  box-shadow: var(--glow-blue);
  position: relative;
  z-index: 1;
}
.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.step-content p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ── PORTFOLIO PREVIEW ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: pointer;
}
.portfolio-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,10,20,0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-item:hover .portfolio-item-img { transform: scale(1.1); }
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-card), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(26,111,255,0.3);
}

/* ── TESTIMONIALS ── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--border-bright); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.testimonial-stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.testimonial-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  flex-shrink: 0;
}
.author-name { font-weight: 600; font-size: 0.9rem; }
.author-role { color: var(--text-muted); font-size: 0.78rem; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin: 0 auto; display: grid; gap: 1rem; }
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.3s;
}
.faq-item.open { border-color: var(--border-bright); }
.faq-question {
  padding: 1.3rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--blue-light); }
.faq-icon {
  width: 24px;
  height: 24px;
  border: 1px solid var(--border-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--blue-bright);
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner {
  padding: 0 1.5rem 1.3rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ── PROGRESS BARS (About Page) ── */
.progress-list { display: grid; gap: 1.5rem; }
.progress-item { }
.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.88rem;
  font-weight: 500;
}
.progress-pct { color: var(--cyan); font-family: var(--font-mono); }
.progress-track {
  height: 6px;
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  border-radius: 3px;
  width: 0;
  transition: width 1.5s ease 0.3s;
}

/* ── SOFTWARE LOGOS ── */
.software-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1.5rem;
}
.software-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition);
}
.software-item:hover { border-color: var(--blue-bright); transform: translateY(-3px); box-shadow: var(--glow-blue); }
.software-icon { font-size: 2rem; margin-bottom: 0.6rem; }
.software-name { font-size: 0.75rem; color: var(--text-secondary); font-weight: 500; }

/* ── PRICING ── */
.pricing-tabs {
  display: flex;
  gap: 0.5rem;
  background: var(--bg-card);
  padding: 0.4rem;
  border-radius: var(--radius);
  width: fit-content;
  margin: 0 auto 3rem;
  border: 1px solid var(--border);
}
.pricing-tab {
  padding: 0.6rem 1.5rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}
.pricing-tab.active {
  background: var(--blue-bright);
  color: white;
  box-shadow: 0 4px 15px rgba(26,111,255,0.3);
}
.pricing-panel { display: none; }
.pricing-panel.active { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--blue-bright);
  box-shadow: var(--glow-blue);
  background: linear-gradient(135deg, var(--bg-card), rgba(26,111,255,0.05));
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue-bright);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
  margin: 1rem 0;
}
.pricing-price span { font-size: 1.2rem; color: var(--text-secondary); }
.pricing-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 2rem; }
.pricing-features { list-style: none; display: grid; gap: 0.7rem; margin-bottom: 2rem; }
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.pricing-features li .check { color: var(--cyan); font-size: 0.8rem; }
.pricing-card:hover { border-color: var(--border-bright); transform: translateY(-5px); box-shadow: 0 25px 70px rgba(0,0,0,0.4); }

/* ── BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}
.blog-card:hover { border-color: var(--border-bright); transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.blog-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-card), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  border-bottom: 1px solid var(--border);
}
.blog-body { padding: 1.8rem; }
.blog-tag {
  display: inline-block;
  padding: 0.2rem 0.7rem;
  background: rgba(26,111,255,0.1);
  border: 1px solid rgba(26,111,255,0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--blue-light);
  margin-bottom: 0.8rem;
  font-weight: 600;
}
.blog-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.8rem; line-height: 1.4; }
.blog-excerpt { color: var(--text-secondary); font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.2rem; }
.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: var(--text-muted);
}
.read-more { color: var(--blue-light); font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; gap: 0.3rem; transition: gap 0.2s; }
.read-more:hover { gap: 0.6rem; }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: grid; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: rgba(26,111,255,0.1);
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--blue-bright);
}
.contact-label { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.25rem; text-transform: uppercase; letter-spacing: 1px; }
.contact-value { font-weight: 600; font-size: 0.95rem; }
.contact-form { display: grid; gap: 1.2rem; }
.form-group { display: grid; gap: 0.4rem; }
.form-group label { font-size: 0.82rem; color: var(--text-secondary); font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s;
  outline: none;
  width: 100%;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(26,111,255,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.map-container {
  margin-top: 2.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 250px;
}
.map-container iframe { width: 100%; height: 100%; }

/* ── FOOTER ── */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .nav-logo { display: inline-block; margin-bottom: 1rem; font-size: 1.5rem; }
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.8; max-width: 300px; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-social a:hover { border-color: var(--blue-bright); color: var(--blue-bright); background: rgba(26,111,255,0.1); }
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--text-primary);
}
.footer-links { display: grid; gap: 0.6rem; }
.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.footer-links a:hover { color: var(--blue-light); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.8rem;
}
.footer-contact-item .ic { color: var(--blue-bright); font-size: 0.9rem; margin-top: 2px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ── BACK TO TOP ── */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 45px;
  height: 45px;
  background: var(--blue-bright);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--glow-blue);
  z-index: 500;
  border: none;
}
#back-to-top.visible { opacity: 1; visibility: visible; }
#back-to-top:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(26,111,255,0.5); }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 8rem 0 4rem;
  background: radial-gradient(ellipse at center top, rgba(26,111,255,0.1) 0%, transparent 60%);
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(26,111,255,0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(26,111,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}
.page-hero p { color: var(--text-secondary); max-width: 550px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}
.breadcrumb a { color: var(--blue-light); }
.breadcrumb span { color: var(--text-muted); }

/* ── ABOUT PAGE SPECIFIC ── */
.about-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 5rem;
  align-items: start;
}
.about-page-img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  position: sticky;
  top: 100px;
}

/* ── SERVICES PAGE ── */
.service-section { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.service-section:last-child { border-bottom: none; }
.service-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}
.feature-item:hover { border-color: var(--blue-bright); transform: translateY(-3px); }
.feature-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
.feature-item h4 { font-weight: 600; margin-bottom: 0.5rem; font-size: 0.9rem; }
.feature-item p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* ── PORTFOLIO PAGE ── */
.portfolio-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: white;
}
.portfolio-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.portfolio-full-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  background: var(--bg-card);
}
.portfolio-full-item:hover { border-color: var(--border-bright); transform: scale(1.02); box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.portfolio-thumb {
  height: 200px;
  background: linear-gradient(135deg, var(--bg-card), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border-bottom: 1px solid var(--border);
}
.portfolio-full-info { padding: 1rem 1.2rem; }
.portfolio-full-info h4 { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.3rem; }
.portfolio-full-info span { font-size: 0.78rem; color: var(--text-muted); }
/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 650px;
  width: 100%;
  position: relative;
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: var(--blue-bright); }
.lightbox-icon { font-size: 4rem; margin-bottom: 1rem; }
.lightbox-title { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.lightbox-desc { color: var(--text-secondary); font-size: 0.9rem; }

/* ── BLOG SINGLE POST ── */
.post-content {
  max-width: 800px;
  margin: 0 auto;
}
.post-content h2 { font-family: var(--font-display); font-size: 1.6rem; margin: 2rem 0 1rem; }
.post-content p { color: var(--text-secondary); line-height: 1.9; margin-bottom: 1.5rem; }
.post-content ul { list-style: disc; padding-left: 2rem; color: var(--text-secondary); margin-bottom: 1.5rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-header { margin-bottom: 3rem; }
.post-header h1 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.post-meta { display: flex; gap: 1.5rem; font-size: 0.85rem; color: var(--text-muted); flex-wrap: wrap; }
.post-meta span { display: flex; align-items: center; gap: 0.3rem; }

/* ── UTILITIES ── */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }

/* ── GRADIENT TEXT ── */
.gradient-text {
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glowing divider */
.glow-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), var(--cyan), transparent);
  margin: 0;
  opacity: 0.4;
}

/* Notification toast */
.toast {
  position: fixed;
  bottom: 5rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--blue-bright);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  font-size: 0.88rem;
  box-shadow: var(--glow-blue);
  z-index: 9000;
  transform: translateX(120%);
  transition: transform 0.4s ease;
}
.toast.show { transform: translateX(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .hero-container { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
  .hero-content { order: 2; }
  .hero-image-wrap { order: 1; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; }
  .about-exp-badge { right: 1rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-page-grid { grid-template-columns: 1fr; }
  .about-page-img { position: static; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-social { display: none; }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 60px;
    background: rgba(5,10,20,0.97);
    padding: 2rem;
    backdrop-filter: blur(20px);
    z-index: 999;
    align-items: flex-start;
    gap: 0.5rem;
    border-top: 1px solid var(--border);
  }
  .nav-links.mobile-open a { width: 100%; padding: 0.8rem 1rem; font-size: 1rem; }
  .hamburger { display: flex; }
  .hero-img { width: 220px; height: 220px; }
  .hero-image-ring { width: 290px; height: 290px; }
  .hero-image-ring-2 { width: 240px; height: 240px; }
  .hero-tag { display: none; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 4rem 0; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-stats { gap: 1.5rem; }
  .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
}

/* ============================================
   ADDITIONS — VIDEO MODAL, BLOG, CONTACT, POST
   ============================================ */

/* ── VIDEO MODAL (Portfolio page) ── */
.video-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.96);
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(6px);
}
.video-modal.open { display: flex; }
.video-modal-inner {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(26,111,255,0.3);
  animation: modalIn 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.88) translateY(30px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.video-modal-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
}
.video-modal-meta {
  font-size: 0.78rem;
  color: var(--cyan);
  margin-top: 0.15rem;
}
.video-modal-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}
.video-modal-close:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
}
/* Responsive video wrapper (16:9) */
.video-modal-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.video-modal-player video,
.video-modal-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
/* Placeholder shown when no real src */
.video-modal-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--bg-card), var(--blue-deep));
  color: var(--text-secondary);
}
.video-modal-placeholder .play-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: var(--glow-blue);
  animation: pulse 2s ease-in-out infinite;
}
.video-modal-placeholder p { font-size: 0.85rem; }
.video-modal-footer {
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 0.8rem;
}
.video-modal-tags { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.video-modal-tag {
  padding: 0.2rem 0.7rem;
  background: rgba(26,111,255,0.1);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--blue-light);
  font-weight: 500;
}

/* ── PORTFOLIO VIDEO ITEM overlay play button ── */
.portfolio-full-item .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5,10,20,0.5);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portfolio-full-item { position: relative; }
.portfolio-full-item:hover .play-overlay { opacity: 1; }
.play-overlay .play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  box-shadow: 0 0 30px rgba(26,111,255,0.6);
  transform: scale(0.85);
  transition: transform 0.3s ease;
}
.portfolio-full-item:hover .play-btn { transform: scale(1); }

/* ── CONTACT PAGE ── */
.contact-hero-split {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}
.contact-left-sticky {
  position: sticky;
  top: 100px;
}
.contact-availability {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0,229,255,0.08);
  border: 1px solid rgba(0,229,255,0.25);
  border-radius: 50px;
  font-size: 0.78rem;
  color: var(--cyan);
  font-family: var(--font-mono);
  margin-bottom: 1.5rem;
}
.contact-availability .dot {
  width: 7px; height: 7px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 1.5s infinite;
  box-shadow: 0 0 8px var(--cyan);
}
.contact-channels {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}
.contact-channel-card {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.contact-channel-card:hover {
  border-color: var(--blue-bright);
  transform: translateX(6px);
  box-shadow: var(--glow-blue);
}
.channel-icon {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
}
.channel-icon.email   { background: linear-gradient(135deg, #1a6fff, #2979ff); }
.channel-icon.whatsapp{ background: linear-gradient(135deg, #25D366, #128C7E); }
.channel-icon.location{ background: linear-gradient(135deg, #ff6b35, #e84040); }
.channel-icon.clock   { background: linear-gradient(135deg, #8b5cf6, #6366f1); }
.channel-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.2rem; }
.channel-value { font-weight: 600; font-size: 0.88rem; color: var(--text-primary); }

/* Contact form card */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan), var(--blue-bright));
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}
@keyframes shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(26,111,255,0.12);
  background: rgba(26,111,255,0.04);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); font-size: 0.85rem; }
.form-group select option { background: var(--bg-card); }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-map-wrap {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  height: 240px;
  position: relative;
}
.contact-map-wrap iframe { width: 100%; height: 100%; display: block; border: none; filter: saturate(0.3) brightness(0.6); }
.map-label {
  position: absolute;
  bottom: 0.8rem;
  left: 0.8rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.4rem 0.8rem;
  font-size: 0.78rem;
  color: var(--blue-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
/* Social row on contact page */
.contact-social-row {
  display: flex;
  gap: 0.8rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.contact-social-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition);
  background: var(--bg-card);
}
.contact-social-btn:hover {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  box-shadow: var(--glow-blue);
}

/* ── BLOG PAGE ── */
.blog-hero-stats {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.blog-hero-stat {
  text-align: center;
}
.blog-hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg,var(--blue-bright),var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.blog-hero-stat .lbl { font-size: 0.78rem; color: var(--text-muted); }
.blog-filter-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  justify-content: center;
}
.blog-filter-btn {
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
}
.blog-filter-btn.active, .blog-filter-btn:hover {
  background: var(--blue-bright);
  border-color: var(--blue-bright);
  color: white;
}
/* Featured post */
.blog-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 3rem;
  transition: var(--transition);
}
.blog-featured:hover {
  border-color: var(--border-bright);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5);
  transform: translateY(-4px);
}
.blog-featured-thumb {
  height: 100%;
  min-height: 300px;
  background: linear-gradient(135deg, #0a1428, #0d2045);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
}
.blog-featured-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,111,255,0.15), transparent);
}
.blog-featured-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.blog-featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.8rem;
  background: rgba(26,111,255,0.12);
  border: 1px solid rgba(26,111,255,0.3);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--blue-light);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 1rem;
  width: fit-content;
}
.blog-featured-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.blog-featured-body p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.8; margin-bottom: 1.5rem; }
.blog-featured-meta {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.blog-featured-meta span { display: flex; align-items: center; gap: 0.3rem; }
/* Blog card grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 25px 65px rgba(0,0,0,0.45);
}
.blog-card-thumb {
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.blog-card-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(5,10,20,0.6));
}
.blog-card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.blog-tag {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  background: rgba(26,111,255,0.1);
  border: 1px solid rgba(26,111,255,0.25);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.blog-card-body h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.7rem;
}
.blog-card-body p {
  color: var(--text-secondary);
  font-size: 0.85rem;
  line-height: 1.75;
  margin-bottom: 1.2rem;
  flex: 1;
}
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-light);
  transition: gap 0.25s ease;
}
.read-more-link:hover { gap: 0.6rem; color: var(--cyan); }
/* Newsletter section */
.newsletter-box {
  background: linear-gradient(135deg, rgba(26,111,255,0.08), rgba(0,229,255,0.05));
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}
.newsletter-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(26,111,255,0.12), transparent 60%);
}
.newsletter-box h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}
.newsletter-box p { color: var(--text-secondary); margin-bottom: 1.5rem; position: relative; z-index: 1; }
.newsletter-form {
  display: flex;
  gap: 0.8rem;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.3s;
}
.newsletter-form input:focus { border-color: var(--blue-bright); }

/* ── SINGLE BLOG POST ── */
.post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.post-sidebar { position: sticky; top: 100px; }
.post-sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.post-sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border);
}
.toc-list { display: grid; gap: 0.5rem; }
.toc-list a {
  font-size: 0.82rem;
  color: var(--text-secondary);
  transition: color 0.3s;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  line-height: 1.5;
}
.toc-list a:hover { color: var(--blue-light); }
.toc-list a::before { content: '→'; color: var(--cyan); font-size: 0.7rem; margin-top: 3px; flex-shrink: 0; }
.recent-post-item {
  display: flex;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  transition: var(--transition);
}
.recent-post-item:last-child { border-bottom: none; }
.recent-post-item:hover .recent-post-title { color: var(--blue-light); }
.recent-post-thumb {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  border: 1px solid var(--border);
}
.recent-post-title { font-size: 0.8rem; font-weight: 600; line-height: 1.4; color: var(--text-primary); transition: color 0.3s; }
.recent-post-date { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }
/* Post content styling */
.post-article {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
}
.post-article-header { margin-bottom: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.post-article-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.post-meta-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.post-meta-row span { display: flex; align-items: center; gap: 0.35rem; }
.post-meta-row i { color: var(--blue-bright); }
.post-author-strip {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: rgba(26,111,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.post-author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-bright);
  flex-shrink: 0;
}
.post-author-name { font-weight: 700; font-size: 0.9rem; }
.post-author-role { font-size: 0.75rem; color: var(--text-muted); }
/* Article body */
.post-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin: 2rem 0 0.8rem;
  color: var(--text-primary);
}
.post-body h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 1.5rem 0 0.7rem;
  color: var(--blue-light);
}
.post-body p { color: var(--text-secondary); line-height: 1.9; margin-bottom: 1.3rem; }
.post-body ul, .post-body ol {
  padding-left: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 1.3rem;
  display: grid;
  gap: 0.4rem;
}
.post-body ul { list-style: none; }
.post-body ul li::before { content: '→ '; color: var(--cyan); font-size: 0.85rem; }
.post-body ol { list-style: decimal; }
.post-body li { font-size: 0.92rem; line-height: 1.7; }
.post-callout {
  background: rgba(26,111,255,0.07);
  border-left: 3px solid var(--blue-bright);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
}
.post-callout strong { color: var(--blue-light); }
.post-tags-row { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 2rem 0; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.post-tag {
  padding: 0.3rem 0.8rem;
  background: rgba(26,111,255,0.08);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  transition: var(--transition);
}
.post-tag:hover { border-color: var(--blue-bright); color: var(--blue-light); }
/* Post navigation */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.post-nav-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  transition: var(--transition);
  text-decoration: none;
}
.post-nav-btn:hover { border-color: var(--blue-bright); transform: translateY(-2px); }
.post-nav-btn.next { text-align: right; }
.post-nav-direction { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.3rem; }
.post-nav-title { font-weight: 700; font-size: 0.88rem; }

/* ── SERVICES FAQ SECTION ── */
.services-faq {
  background: var(--bg-primary);
  padding: 6rem 0;
  border-top: 1px solid var(--border);
}
.faq-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 1024px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-sidebar { position: static; }
  .blog-featured { grid-template-columns: 1fr; }
  .blog-featured-thumb { min-height: 220px; }
  .contact-hero-split { grid-template-columns: 1fr; gap: 3rem; }
  .contact-left-sticky { position: static; }
  .faq-cols { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .post-article { padding: 1.8rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 1.8rem; }
  .newsletter-form { flex-direction: column; }
  .post-nav { grid-template-columns: 1fr; }
}

/* ============================================
   ANCHOR OFFSET FIX — sticky navbar compensation
   ============================================ */
/* All sections that are anchor targets need top padding offset */
#video-editing, #graphic-design, #motion-graphics,
#videos, #design, #motion,
#faq, #contact-section {
  scroll-margin-top: 80px;
}

/* ── CONTACT NAV-CTA ACTIVE STATE ── */
/* When contact is the current page, nav-cta already has active styling via its own class */
.nav-links a.active.nav-cta {
  background: linear-gradient(135deg, var(--blue-bright), var(--blue-glow));
  box-shadow: 0 4px 15px rgba(26,111,255,0.3);
  color: white;
}

/* ── FORM CHECKBOX STYLING ── */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
  line-height: 1.6;
}
.form-consent input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 2px;
  accent-color: var(--blue-bright);
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.form-consent input[type="checkbox"]:focus {
  box-shadow: none;
  border-color: transparent;
}

/* ── BLOG FEATURED LINK RESET ── */
a.blog-featured {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  text-decoration: none;
  color: inherit;
}
@media (max-width: 768px) {
  a.blog-featured { grid-template-columns: 1fr; }
  a.blog-featured .blog-featured-thumb { min-height: 200px; }
}

/* ── POST ARTICLE HEADER border fix ── */
.post-article-header {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
/* When used as h1, override the card-level border-bottom */
h1.post-article-header {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ── PRICING PAGE — ensure panels grid on desktop ── */
.pricing-panel.active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) {
  .pricing-panel.active {
    grid-template-columns: 1fr;
  }
}

/* ── WORKFLOW STEP delay stagger ── */
.workflow-step:nth-child(1) { transition-delay: 0s; }
.workflow-step:nth-child(2) { transition-delay: 0.1s; }
.workflow-step:nth-child(3) { transition-delay: 0.2s; }
.workflow-step:nth-child(4) { transition-delay: 0.3s; }
.workflow-step:nth-child(5) { transition-delay: 0.4s; }

/* ── ABOUT PAGE sticky image fix ── */
@media (max-width: 1024px) {
  .about-page-img {
    position: static !important;
    max-height: 480px;
    width: 100%;
  }
}

/* ── FOOTER SERVICE links — use anchor variants ── */
/* (no CSS needed, handled in HTML) */

/* ── GLOBAL PRINT HIDE ── */
@media print {
  #navbar, #loading-screen, #back-to-top, .hero-bg,
  .hero-grid, footer { display: none; }
}

/* ============================================================
   DYNAMIC / SUPABASE UPGRADE STYLES
   ============================================================ */

/* ── SKELETON LOADING STATES ── */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 1.5rem;
}
.skeleton-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.skeleton { 
  background: linear-gradient(90deg, var(--bg-card) 25%, rgba(26,111,255,.06) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: skeletonShimmer 1.6s infinite;
  border-radius: 6px;
}
@keyframes skeletonShimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }
.skeleton-thumb { height: 200px; border-radius: 0; }
.skeleton-line  { height: 13px; margin-bottom: .6rem; }

/* ── EMPTY STATE ── */
.empty-state {
  text-align: center;
  padding: 5rem 2rem;
  grid-column: 1 / -1;
}
.empty-state .empty-icon { font-size: 3.5rem; margin-bottom: 1rem; opacity: .5; }
.empty-state p { color: var(--text-secondary); font-size: .95rem; }

/* ── DYNAMIC PROJECT CARD ── */
.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.project-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.project-card-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
  background: linear-gradient(135deg, var(--bg-card), var(--blue-deep));
}
.project-card:hover .project-card-thumb { transform: scale(1.05); }
.project-card-thumb-wrap {
  overflow: hidden;
  position: relative;
}
.project-card-thumb-placeholder {
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  background: linear-gradient(135deg, var(--bg-card), var(--blue-deep));
}
.project-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,10,20,.85) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity .3s ease;
}
.project-card:hover .project-card-overlay { opacity: 1; }
.project-card-body { padding: 1.3rem; flex: 1; display: flex; flex-direction: column; }
.project-card-category {
  font-size: .7rem;
  font-weight: 700;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: .4rem;
  font-family: var(--font-mono);
}
.project-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: .6rem;
}
.project-card-desc {
  font-size: .83rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}
.project-card-tags {
  display: flex;
  gap: .4rem;
  flex-wrap: wrap;
  margin-top: .9rem;
}
.project-tag {
  padding: .15rem .55rem;
  background: rgba(26,111,255,.1);
  border: 1px solid rgba(26,111,255,.2);
  border-radius: 20px;
  font-size: .68rem;
  color: var(--blue-light);
  font-weight: 600;
}
.featured-star {
  position: absolute;
  top: .7rem; right: .7rem;
  background: rgba(234,179,8,.15);
  border: 1px solid rgba(234,179,8,.3);
  border-radius: 6px;
  padding: .25rem .5rem;
  font-size: .7rem;
  color: #eab308;
  font-weight: 700;
  display: flex; align-items: center; gap: .3rem;
}

/* ── SEARCH + FILTER BAR (Portfolio) ── */
.portfolio-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.portfolio-search {
  position: relative;
  flex: 1;
  max-width: 320px;
}
.portfolio-search i {
  position: absolute;
  left: 1rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
  font-size: .9rem;
  pointer-events: none;
}
.portfolio-search input {
  width: 100%;
  padding: .7rem 1rem .7rem 2.7rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .88rem;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}
.portfolio-search input:focus {
  border-color: var(--blue-bright);
  box-shadow: 0 0 0 3px rgba(26,111,255,.1);
}
.portfolio-search input::placeholder { color: var(--text-muted); }

/* ── DYNAMIC BLOG CARD ── */
.dyn-blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.dyn-blog-card:hover {
  border-color: var(--border-bright);
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
}
.dyn-blog-thumb {
  height: 195px;
  object-fit: cover;
  width: 100%;
  display: block;
  background: linear-gradient(135deg, var(--bg-card), var(--blue-deep));
}
.dyn-blog-thumb-placeholder {
  height: 195px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  border-bottom: 1px solid var(--border);
}
.dyn-blog-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.dyn-blog-cat {
  display: inline-block;
  padding: .18rem .65rem;
  background: rgba(26,111,255,.1);
  border: 1px solid rgba(26,111,255,.2);
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 700;
  color: var(--blue-light);
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: .75rem;
}
.dyn-blog-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: .7rem;
}
.dyn-blog-excerpt {
  color: var(--text-secondary);
  font-size: .84rem;
  line-height: 1.75;
  flex: 1;
  margin-bottom: 1.1rem;
}
.dyn-blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: .9rem;
  border-top: 1px solid var(--border);
  font-size: .75rem;
  color: var(--text-muted);
}
.dyn-read-more {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue-light);
  transition: gap .2s;
}
.dyn-read-more:hover { gap: .6rem; color: var(--cyan); }

/* ── CONTACT FORM STATES ── */
.form-success-state {
  text-align: center;
  padding: 3rem 2rem;
  display: none;
}
.form-success-state.show { display: block; }
.success-checkmark {
  width: 70px; height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-bright), var(--cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--glow-blue);
  animation: popIn .5s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn { from{transform:scale(0)} to{transform:scale(1)} }
.form-sending-overlay {
  position: absolute; inset: 0;
  background: rgba(5,10,20,.6);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-lg);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10;
  flex-direction: column;
  gap: 1rem;
}
.form-sending-overlay.show { display: flex; }
.send-spinner {
  width: 44px; height: 44px;
  border: 3px solid rgba(26,111,255,.2);
  border-top-color: var(--blue-bright);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to{transform:rotate(360deg)} }

/* ── PROJECT / VIDEO MODAL ── */
.project-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.9);
  backdrop-filter: blur(8px);
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.project-modal.open { display: flex; }
.project-modal-inner {
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 800px;
  max-height: 92vh;
  overflow-y: auto;
  animation: modalIn .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalIn { from{opacity:0;transform:scale(.88) translateY(30px)} to{opacity:1;transform:scale(1) translateY(0)} }
.project-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0;
  background: var(--bg-card);
  z-index: 1;
}
.project-modal-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; }
.project-modal-close {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  border: none; color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem;
  transition: var(--transition);
}
.project-modal-close:hover { background: var(--blue-bright); }
.project-video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: #000;
}
.project-video-wrap iframe,
.project-video-wrap video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none; display: block;
}
.project-modal-body { padding: 1.5rem; }
.project-modal-category {
  font-size: .7rem; font-weight: 700;
  color: var(--cyan); text-transform: uppercase;
  letter-spacing: 1.5px; font-family: var(--font-mono);
  margin-bottom: .5rem;
}
.project-modal-desc { color: var(--text-secondary); font-size: .9rem; line-height: 1.8; }

/* ── TESTIMONIALS DYNAMIC ── */
.testimonials-dynamic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 1.5rem;
}

/* ── NOTIFICATION TOAST (frontend) ── */
.site-toast {
  position: fixed;
  bottom: 2rem; right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius);
  padding: .9rem 1.3rem;
  font-size: .88rem;
  box-shadow: var(--glow-blue);
  z-index: 8000;
  display: flex; align-items: center; gap: .6rem;
  transform: translateX(120%);
  transition: transform .4s ease;
  max-width: 320px;
}
.site-toast.show { transform: translateX(0); }
.site-toast.error { border-color: rgba(239,68,68,.4); }

/* ── MISC UPGRADES ── */
/* Smoother hero typing cursor */
.cursor { will-change: opacity; }

/* Better focus rings across site */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Lazy-load img fade in */
img.lazy { opacity: 0; transition: opacity .4s ease; }
img.lazy.loaded { opacity: 1; }

/* Portfolio page: no results state */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 5rem 2rem;
  color: var(--text-secondary);
}
.no-results .no-results-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .5; }
