/* =============================================================
   MonyZTech Portfolio — style.css
   Dark Theme | Poppins | Purple Accent #8750F7
   ============================================================= */

/* ── 1. CSS Custom Properties ───────────────────────────────── */
:root {
  --bg-1:            #050709;
  --bg-2:            #0F0715;
  --bg-accent:       #2A1454;
  --accent:          #8750F7;
  --accent-hover:    #9d6ef9;
  --accent-glow:     rgba(135, 80, 247, 0.25);
  --accent-glow-lg:  rgba(135, 80, 247, 0.12);
  --text-white:      #ffffff;
  --text-muted:      #a0a0a0;
  --text-faint:      #616173;
  --border:          rgba(135, 80, 247, 0.18);
  --border-hover:    rgba(135, 80, 247, 0.5);
  --card-bg:         #0F0715;
  --card-bg-hover:   #150b22;

  --font:            'Poppins', sans-serif;
  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-xl:       28px;

  --transition:      0.3s ease;
  --transition-slow: 0.6s ease;

  --container:       1180px;
  --nav-h:           72px;
}

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

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

body {
  font-family: var(--font);
  background-color: var(--bg-1);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

button { cursor: pointer; border: none; background: none; font-family: var(--font); }

/* ── 3. Utility ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.gradient-text {
  background: linear-gradient(to right, #8750F7 0%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section {
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 18px;
  justify-content: center;
}

.label-line {
  flex: 1;
  max-width: 60px;
  height: 1px;
  background: var(--border);
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.25;
}

.section-subheading {
  text-align: center;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 52px;
  font-size: 1rem;
}

/* ── 4. Ambient Glow Orbs ────────────────────────────────────── */
.glow-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(150px);
}

.glow-orb--1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(135,80,247,0.28) 0%, transparent 70%);
  top: -120px; left: -80px;
}
.glow-orb--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(135,80,247,0.18) 0%, transparent 70%);
  top: 60px; right: -100px;
}
.glow-orb--3 {
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(135,80,247,0.2) 0%, transparent 70%);
  bottom: -60px; right: -80px;
}
.glow-orb--4 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(135,80,247,0.18) 0%, transparent 70%);
  top: 0; left: -120px;
}
.glow-orb--5 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(135,80,247,0.22) 0%, transparent 70%);
  top: 50%; right: -100px;
  transform: translateY(-50%);
}
.glow-orb--6 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(135,80,247,0.2) 0%, transparent 70%);
  bottom: 0; left: 50%;
  transform: translateX(-50%);
}

/* ── 5. Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #8750F7, #a87fff);
  color: #fff;
  box-shadow: 0 4px 24px rgba(135,80,247,0.35);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #9d6ef9, #b794ff);
  box-shadow: 0 6px 32px rgba(135,80,247,0.55);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1.5px solid var(--border-hover);
  color: var(--text-white);
  background: transparent;
}
.btn-outline:hover {
  background: var(--bg-accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ── 6. Scroll Reveal ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── 7. NAVBAR ───────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(15, 7, 21, 0.88);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 7, 21, 0.98);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}

.nav-container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: flex-end;
    gap: 0;
    text-decoration: none;
    line-height: 1;
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    margin-right: -12px; /* লোগো ইমেজের ভেতরের খালি জায়গা পারফেক্টভাবে কমানোর জন্য */
}

.logo-text {
    display: flex;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    padding-bottom: 2px;
}

.logo-monyz {
    color: #ffffff;
}

.logo-tech {
    background: linear-gradient(to right, #8750F7, #b185ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav links */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  background: var(--bg-accent);
}

/* Hire Me CTA */
.nav-cta { padding: 10px 22px; font-size: 0.88rem; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  z-index: 1100;
  flex-shrink: 0;
}
.bar {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 8. HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: var(--bg-1);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 40px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

/* Tagline */
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent);
  background: rgba(135,80,247,0.1);
  border: 1px solid rgba(135,80,247,0.3);
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.tagline-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.75); }
}

/* Headline */
.hero-headline {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 36px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 52px;
}

/* Stats */
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(to right, #8750F7, #c4a0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
  align-self: center;
}

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

.hero-avatar-ring {
  width: 300px; 
  height: 300px;
  border-radius: 50%;
  /* স্থির গ্রেডিয়েন্ট বর্ডার */
  background: linear-gradient(135deg, #8750F7, #b185ff);
  padding: 3px; /* বর্ডারের পুরুত্ব */
  /* ঘোরানোর বদলে হালকা ফ্লাশিং বা পাল্স অ্যানিমেশন দেওয়া হলো */
  animation: pulse-glow 3s ease-in-out infinite;
  box-shadow: 0 0 40px rgba(135,80,247,0.4);
}

/* অবতার এবং ছবির শেপ স্থির রাখার জন্য */
.hero-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden; 
  background-color: #0b060f; 
}

.hero-avatar .profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  display: block;
}

/* নতুন পাল্স বা ফ্ল্যাশিং অ্যানিমেশন */
@keyframes pulse-glow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(135,80,247,0.3);
  }
  50% {
    transform: scale(1.02); /* হালকা একটু বড় হবে */
    box-shadow: 0 0 45px rgba(135,80,247,0.6); /* গ্লো বা ফ্লাশ বাড়বে */
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(135,80,247,0.3);
  }
}

.hero-icon {
  font-size: 5rem;
  background: linear-gradient(135deg, #8750F7, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Floating badges */
.float-badge {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border-hover);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  white-space: nowrap;
}
.float-badge i { color: var(--accent); }

.float-badge--top    { top: 10%;  left: -10%;    animation: float-up   3.5s ease-in-out infinite; }
.float-badge--bottom { bottom: 8%; left: -5%;    animation: float-down 4s   ease-in-out infinite; }
.float-badge--right  { top: 42%; right: -8%;    animation: float-up   4.5s ease-in-out infinite; }

@keyframes float-up {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
@keyframes float-down {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(10px); }
}

/* ── 9. ABOUT ────────────────────────────────────────────────── */
.about { background: var(--bg-1); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.about-text .section-headline {
  text-align: left;
  margin-bottom: 20px;
}

.about-body {
  color: var(--text-muted);
  margin-bottom: 32px;
  font-size: 0.97rem;
}
.about-body strong { color: var(--text-white); }
.about-body em     { color: var(--accent); font-style: normal; }

.about-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.about-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.about-card:hover {
  border-color: var(--border-hover);
  transform: translateX(6px);
  box-shadow: 0 4px 24px rgba(135,80,247,0.18);
}

.about-card__icon {
  width: 44px; height: 44px;
  background: var(--bg-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--accent);
}

.about-card__title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.about-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── 10. SERVICES ────────────────────────────────────────────── */
.services { background: var(--bg-2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
}

.service-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--bg-accent) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 0;
}

.service-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(135,80,247,0.22);
}
.service-card:hover::before { opacity: 1; }
.service-card:hover .service-card__number { color: rgba(135,80,247,0.25); }
.service-card:hover .service-card__icon-wrap { background: var(--accent); color: #fff; }
.service-card:hover .service-card__arrow { transform: rotate(-45deg); color: var(--accent); }

.service-card > * { position: relative; z-index: 1; }

.service-card__number {
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 16px;
  transition: color var(--transition);
  font-variant-numeric: tabular-nums;
}

.service-card__icon-wrap {
  width: 52px; height: 52px;
  background: var(--bg-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--accent);
  margin-bottom: 20px;
  transition: background var(--transition), color var(--transition);
}

.service-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card__desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-card__arrow {
  display: inline-block;
  margin-top: 18px;
  color: var(--text-faint);
  font-size: 1.1rem;
  transition: transform var(--transition), color var(--transition);
}

/* ── 11. WORKS / PORTFOLIO ───────────────────────────────────── */
.works { background: var(--bg-1); }

.filter-tabs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  background: transparent;
  transition: all var(--transition);
}
.filter-btn:hover {
  color: var(--text-white);
  border-color: var(--accent);
}
.filter-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 16px rgba(135,80,247,0.35);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.work-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.work-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(135,80,247,0.2);
}
.work-card.hidden {
  display: none;
}

.work-card__img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.work-card__placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(255,255,255,0.6);
  transition: transform var(--transition-slow);
}
.work-card:hover .work-card__placeholder { transform: scale(1.06); }

.work-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,7,9,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.work-card:hover .work-card__overlay { opacity: 1; }

.work-card__view-btn {
  width: 52px; height: 52px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  transition: transform var(--transition), box-shadow var(--transition);
}
.work-card__view-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 24px rgba(135,80,247,0.6);
}

.work-card__body { padding: 22px 24px; }

.work-card__tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  background: rgba(135,80,247,0.12);
  border: 1px solid rgba(135,80,247,0.25);
  padding: 3px 10px;
  border-radius: 50px;
}

.work-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.work-card__desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── 12. SKILLS ──────────────────────────────────────────────── */
.skills { background: var(--bg-2); }

.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.skill-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: all var(--transition);
}
.skill-card:hover {
  border-color: var(--accent);
  box-shadow: 0 0 28px var(--accent-glow), 0 8px 32px rgba(0,0,0,0.3);
  transform: translateY(-4px);
  filter: saturate(140%);
}

.skill-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.skill-card__icon {
  width: 42px; height: 42px;
  background: var(--bg-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
}

.skill-card__percent {
  font-size: 1.4rem;
  font-weight: 800;
  background: linear-gradient(to right, #8750F7, #c4a0ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.skill-card__name {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-white);
}

.skill-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  overflow: hidden;
}
.skill-bar__fill {
  height: 100%;
  width: 0;
  border-radius: 50px;
  background: linear-gradient(to right, #8750F7, #c4a0ff);
  transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-bar__fill.animated {
  width: var(--target-width);
}

/* ── 13. TESTIMONIALS ────────────────────────────────────────── */
.testimonials { background: var(--bg-1); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 1;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(135,80,247,0.18);
}

.testimonial-card__quote {
  font-size: 1.8rem;
  color: var(--accent);
  opacity: 0.6;
  line-height: 1;
}

.testimonial-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg-accent);
  border: 2px solid var(--border-hover);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.author-name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
}
.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.testimonial-card__stars {
  color: #f5a623;
  font-size: 0.8rem;
  letter-spacing: 2px;
}

/* ── 14. CONTACT ─────────────────────────────────────────────── */
.contact { background: var(--bg-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 52px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-info-item__icon {
  width: 46px; height: 46px;
  background: var(--bg-accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: background var(--transition);
}
.contact-info-item:hover .contact-info-item__icon {
  background: var(--accent);
  color: #fff;
}

.contact-info-item__label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.contact-info-item__value {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--transition);
}
a.contact-info-item__value:hover { color: var(--accent); }

.contact-socials {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

.social-link {
  width: 42px; height: 42px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(135,80,247,0.4);
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23a0a0a0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-faint);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e85555;
}

.form-error {
  font-size: 0.75rem;
  color: #e85555;
  min-height: 16px;
}

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(135,80,247,0.12);
  border: 1px solid rgba(135,80,247,0.3);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 0.9rem;
  color: var(--accent);
}
.form-success i { font-size: 1.1rem; }

/* ── 15. FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-faint);
}

.back-to-top {
  width: 40px; height: 40px;
  background: var(--bg-accent);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-white);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.back-to-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(135,80,247,0.4);
}

/* ── 16. RESPONSIVE ──────────────────────────────────────────── */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle  { margin-left: auto; margin-right: auto; }
  .hero-actions   { justify-content: center; }
  .hero-stats     { justify-content: center; }
  .hero-tagline   { display: inline-flex; }
  .hero-visual    { display: none; }

  .about-grid           { grid-template-columns: 1fr; }
  .about-text .section-headline { text-align: center; }
  .about-text           { text-align: center; }
  .about-text .btn      { margin: 0 auto; }

  .skills-grid          { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid    { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .contact-grid         { grid-template-columns: 1fr; }
}
/* Mobile View Exact Fix */
@media (max-width: 768px) {
    .navbar {
        padding: 10px 15px !important;
    }

    /* লোগোর ছবি যেন কেটে না যায় */
    .logo-img {
        max-height: 35px !important;
        width: auto !important;
    }

    .logo-text {
        font-size: 1.1rem !important;
    }

    /* মূল নেভিগেশন মেনু ড্রপডাউন */
    .nav-menu {
        position: fixed !important;
        top: 60px !important;
        left: -100% !important;
        width: 100% !important;
        background: #0f0715 !important;
        padding: 25px 20px !important;
        transition: 0.3s ease-in-out !important;
        z-index: 999 !important;
        box-shadow: 0 10px 20px rgba(0,0,0,0.5) !important;
    }

    /* মেনু অন হলে */
    .nav-menu.active, 
    .nav-menu.open {
        left: 0 !important;
    }

    .nav-list {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }

    .nav-cta {
        display: none !important;
    }
}

/* Large Tablet / Small Desktop (≤ 860px) */
@media (max-width: 860px) {
  .services-grid  { grid-template-columns: 1fr; }
  .works-grid     { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .section { padding: 72px 0; }

  /* Hamburger visible */
  .hamburger { display: flex; }
  .nav-cta   { display: none; }

  /* Mobile nav drawer */
  .nav-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(15,7,21,0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    transition: transform var(--transition);
    z-index: 999;
    padding: 16px 0 24px;
  }
  .nav-menu.open {
    transform: translateY(0);
  }

  .nav-list {
    flex-direction: column;
    align-items: center;
    gap: 2px;
  }
  .nav-link {
    font-size: 1rem;
    padding: 12px 28px;
    width: 100%;
    text-align: center;
  }

  /* Hero */
  .hero-headline   { font-size: 1.9rem; }
  .hero-stats      { gap: 16px; }
  .stat-divider    { display: none; }

  /* About */
  .about-card { flex-direction: row; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Works */
  .filter-tabs { gap: 8px; }

  /* Skills */
  .skills-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { max-width: 100%; }

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

  /* Footer */
  .footer-inner { flex-direction: column; text-align: center; gap: 14px; }
}

/* Small Mobile (≤ 420px) */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 1.65rem; }
  .hero-actions .btn { padding: 12px 20px; font-size: 0.85rem; }
  .section-heading { font-size: 1.6rem; }
  .stat-number { font-size: 1.6rem; }
}

/* Footer Logo Brand Styling */
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.footer-logo .logo-mony {
  color: #ffffff !important;
  font-weight: 800;
}

.footer-logo .logo-ztech {
  color: #8b5cf6 !important; /* পার্পল / বেগুনি কালার */
  font-weight: 800;
}