/* ================================================================
   MD SUMON MIA — Portfolio Stylesheet
   style.css
   ================================================================ */

/* ─── CSS VARIABLES ─── */
:root {
  --green:        #00e676;
  --green-dim:    #00c853;
  --green-glow:   rgba(0, 230, 118, 0.18);
  --green-glow2:  rgba(0, 230, 118, 0.08);
  --bg:           #080c10;
  --bg2:          #0d1117;
  --bg3:          #111820;
  --glass:        rgba(255, 255, 255, 0.04);
  --glass-border: rgba(255, 255, 255, 0.08);
  --text:         #e8f0e9;
  --text2:        #8fa98f;
  --text3:        #4a5e4a;
  --radius:       16px;
  --radius-sm:    10px;
  --font-head:    'Syne', sans-serif;
  --font-body:    'Outfit', sans-serif;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}
::selection { background: var(--green); color: #000; }

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--green-dim); border-radius: 99px; }

/* ─── NOISE OVERLAY ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: .4;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { color: var(--text2); font-size: 1.05rem; }
a  { color: inherit; text-decoration: none; }

/* ─── LAYOUT ─── */
.container  { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section    { padding: 100px 0; }
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--green);
  flex-shrink: 0;
}
.section-title { margin-bottom: 16px; }
.section-sub   { color: var(--text2); font-size: 1.05rem; max-width: 560px; margin-bottom: 60px; }
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  font-size: .78rem;
  font-weight: 600;
  background: var(--green-glow2);
  color: var(--green);
  border: 1px solid rgba(0, 230, 118, 0.2);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 99px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  outline: none;
  letter-spacing: .04em;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn-primary  { background: var(--green); color: #000; }
.btn-primary:hover {
  background: #00ff8a;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 230, 118, 0.35);
}
.btn-outline  { background: transparent; color: var(--green); border: 1.5px solid rgba(0, 230, 118, 0.5); }
.btn-outline:hover {
  background: var(--green-glow);
  border-color: var(--green);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 20px; font-size: .82rem; }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform .3s; }
.btn:hover svg { transform: translateX(3px); }

/* ─── GLASS CARD ─── */
.glass {
  background: var(--glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

/* ================================================================
   NAVBAR
   ================================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: rgba(8, 12, 16, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 10px 0;
}
.nav-inner  { display: flex; align-items: center; gap: 24px; }
.nav-logo   { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--text); white-space: nowrap; flex-shrink: 0; }
.nav-logo span { color: var(--green); }
.nav-links  { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text2);
  padding: 7px 14px;
  border-radius: 99px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--green); background: var(--green-glow2); }
.nav-socials { display: flex; align-items: center; gap: 12px; }
.nav-socials a { color: var(--text3); transition: var(--transition); display: flex; }
.nav-socials a:hover { color: var(--green); transform: translateY(-2px); }
.nav-socials svg { width: 16px; height: 16px; }
.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  background: transparent;
  border: none;
  z-index: 1001;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 99px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 16, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  backdrop-filter: blur(20px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-family: var(--font-head); font-size: 1.8rem; font-weight: 700; color: var(--text); transition: var(--transition); }
.mobile-menu a:hover { color: var(--green); }
.mobile-menu .mob-socials { display: flex; gap: 20px; margin-top: 20px; }
.mobile-menu .mob-socials a { font-size: 1rem; color: var(--text2); }

/* ================================================================
   HERO SECTION — FIXED 2-COLUMN GRID LAYOUT
   ================================================================ */
#home {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Animated background */
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg .orb { position: absolute; border-radius: 50%; filter: blur(90px); }
.orb1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.12) 0%, transparent 70%);
  top: -200px; right: -200px;
  animation: floatOrb 8s ease-in-out infinite;
}
.orb2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 200, 83, 0.07) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: floatOrb 10s ease-in-out infinite reverse;
}
.orb3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.06) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation: floatOrb 12s ease-in-out infinite;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(30px, -30px); }
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 230, 118, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 230, 118, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 0%, transparent 100%);
}

/* ── Hero inner grid: LEFT content + RIGHT visual ── */
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 120px 0 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT: text content */
.hero-content { display: flex; flex-direction: column; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 99px;
  padding: 8px 18px;
  font-size: .82rem;
  color: var(--text2);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  width: fit-content;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.5); }
  50%       { box-shadow: 0 0 0 8px rgba(0, 230, 118, 0); }
}

.hero-name {
  display: block;
  background: linear-gradient(135deg, #fff 30%, rgba(0, 230, 118, 0.8) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--text2);
  margin: 14px 0 22px;
  font-family: var(--font-body);
}
.hero-subtitle strong { color: var(--green); font-weight: 600; }
.hero-desc {
  color: var(--text2);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 36px;
  line-height: 1.8;
}
.hero-btns    { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px; }

.hero-stats   { display: flex; gap: 44px; flex-wrap: wrap; }
.stat-item    { display: flex; flex-direction: column; gap: 4px; }
.stat-num     { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--text); line-height: 1; }
.stat-num .sym { color: var(--green); }
.stat-label   { font-size: .78rem; color: var(--text3); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }

/* RIGHT: visual area with floating cards */
.hero-visual {
  position: relative;
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Central decorative ring */
.hero-ring {
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 1px solid rgba(0, 230, 118, 0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.hero-ring::before {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(0, 230, 118, 0.07);
}
.hero-ring::after {
  content: '';
  position: absolute;
  inset: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.06) 0%, transparent 70%);
}

/* Big monogram in center */
.hero-center-mono {
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(0,230,118,0.15) 0%, rgba(0,230,118,0.05) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  user-select: none;
  position: relative;
  z-index: 1;
  letter-spacing: -4px;
}

/* Floating cards */
.hero-card-float {
  position: absolute;
  background: rgba(13, 17, 23, 0.9);
  border: 1px solid rgba(0, 230, 118, 0.15);
  border-radius: 16px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 16px 20px;
  z-index: 2;
  min-width: 140px;
}
.hf1 {
  top: 5%;
  right: 8%;
  animation: floatCard 6s ease-in-out infinite;
}
.hf2 {
  bottom: 12%;
  right: 5%;
  animation: floatCard 8s ease-in-out infinite reverse;
}
.hf3 {
  top: 42%;
  left: 0;
  animation: floatCard 7s ease-in-out infinite 1.5s;
}
.hf4 {
  bottom: 5%;
  left: 15%;
  animation: floatCard 9s ease-in-out infinite 0.5s;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-14px); }
}

.hf-icon {
  width: 36px; height: 36px;
  background: var(--green-glow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.hf-icon svg { width: 18px; height: 18px; color: var(--green); }
.hf-val  { font-family: var(--font-head); font-size: 1.1rem; font-weight: 800; color: var(--text); line-height: 1; margin-bottom: 3px; }
.hf-lab  { font-size: .73rem; color: var(--text2); }

/* Orbiting dots */
.hero-orbit {
  position: absolute;
  top: 50%; left: 50%;
  width: 340px; height: 340px;
  margin: -170px 0 0 -170px;
  border-radius: 50%;
  animation: orbitSpin 20s linear infinite;
}
.hero-orbit-dot {
  position: absolute;
  top: -5px; left: 50%;
  margin-left: -5px;
  width: 10px; height: 10px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--green);
}
.hero-orbit2 {
  position: absolute;
  top: 50%; left: 50%;
  width: 420px; height: 420px;
  margin: -210px 0 0 -210px;
  border-radius: 50%;
  animation: orbitSpin 30s linear infinite reverse;
}
.hero-orbit2-dot {
  position: absolute;
  top: -4px; left: 50%;
  margin-left: -4px;
  width: 8px; height: 8px;
  background: rgba(0, 230, 118, 0.5);
  border-radius: 50%;
}
@keyframes orbitSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text3);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--green), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ================================================================
   COUNTERS
   ================================================================ */
.counters-section {
  background: var(--bg3);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 60px 0;
}
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.counter-item  { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.counter-num   { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--text); line-height: 1; }
.counter-num .sym { color: var(--green); }
.counter-label { font-size: .82rem; color: var(--text3); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }

/* ================================================================
   SERVICES PREVIEW (Homepage)
   ================================================================ */
.services-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.srv-prev-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg3);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.srv-prev-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--green-glow2) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}
.srv-prev-card:hover { border-color: rgba(0, 230, 118, 0.3); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3); }
.srv-prev-card:hover::before { opacity: 1; }
.srv-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--green-glow); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.srv-ic svg { width: 22px; height: 22px; color: var(--green); }
.srv-prev-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--text); }
.srv-prev-card p  { font-size: .88rem; color: var(--text2); line-height: 1.6; }

/* ================================================================
   WHY CHOOSE ME
   ================================================================ */
#why { background: var(--bg2); position: relative; overflow: hidden; }
#why::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.05) 0%, transparent 70%);
}
.why-grid     { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.why-feat {
  padding: 20px;
  background: var(--bg3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.why-feat:hover { border-color: rgba(0, 230, 118, 0.3); transform: translateY(-3px); }
.why-feat-ic { width: 40px; height: 40px; background: var(--green-glow); border-radius: 8px; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; }
.why-feat-ic svg { width: 18px; height: 18px; color: var(--green); }
.why-feat h4 { font-size: .95rem; font-family: var(--font-head); font-weight: 700; margin-bottom: 6px; color: var(--text); }
.why-feat p  { font-size: .82rem; color: var(--text2); }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
#testimonials { background: var(--bg); }
.testi-slider { position: relative; overflow: hidden; }
.testi-track  { display: flex; gap: 24px; transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1); }
.testi-card {
  flex: 0 0 calc(33.33% - 16px);
  background: var(--bg3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
}
.testi-card::before {
  content: '"';
  position: absolute;
  top: 16px; right: 24px;
  font-size: 5rem;
  font-family: var(--font-head);
  color: var(--green);
  opacity: .15;
  line-height: 1;
}
.testi-stars     { display: flex; gap: 4px; margin-bottom: 14px; }
.testi-stars svg { width: 14px; height: 14px; color: var(--green); fill: var(--green); }
.testi-text      { font-size: .9rem; color: var(--text2); line-height: 1.7; margin-bottom: 20px; }
.testi-author    { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--green-glow);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  color: var(--green);
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: .9rem; color: var(--text); font-family: var(--font-head); }
.testi-role { font-size: .78rem; color: var(--text3); }
.testi-nav  { display: flex; gap: 12px; margin-top: 32px; justify-content: center; }
.testi-dot  { width: 8px; height: 8px; border-radius: 50%; background: var(--text3); cursor: pointer; transition: var(--transition); }
.testi-dot.active { background: var(--green); width: 24px; border-radius: 99px; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, rgba(0, 230, 118, 0.12) 0%, rgba(0, 230, 118, 0.04) 50%, rgba(0, 200, 83, 0.08) 100%);
  border: 1px solid rgba(0, 230, 118, 0.2);
  border-radius: 24px;
  padding: 64px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 230, 118, 0.1) 0%, transparent 70%);
}
.cta-banner h2  { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; color: var(--text); }
.cta-banner p   { color: var(--text2); max-width: 480px; margin: 0 auto 32px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ================================================================
   ABOUT
   ================================================================ */
#about { background: var(--bg2); }
.about-grid         { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-visual       { position: relative; }
.about-img-wrap     { position: relative; border-radius: 20px; overflow: hidden; background: var(--bg3); border: 1px solid var(--glass-border); }
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg3) 0%, rgba(0, 230, 118, 0.05) 100%);
  position: relative;
}
.about-monogram { font-family: var(--font-head); font-size: 8rem; font-weight: 800; color: rgba(0, 230, 118, 0.08); user-select: none; }
.about-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--green);
  color: #000;
  border-radius: 16px;
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 800;
}
.about-badge .num { font-size: 2rem; display: block; line-height: 1; }
.about-badge .txt { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .8; }
.about-info  { display: flex; flex-direction: column; gap: 28px; }
.about-text  { font-size: 1.05rem; color: var(--text2); line-height: 1.8; }
.skills-wrap { display: flex; flex-direction: column; gap: 14px; }
.skill-bar   { display: flex; flex-direction: column; gap: 6px; }
.skill-top   { display: flex; justify-content: space-between; font-size: .82rem; font-weight: 600; color: var(--text); }
.skill-track { height: 5px; background: var(--bg); border-radius: 99px; overflow: hidden; }
.skill-fill  {
  height: 100%;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  border-radius: 99px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.skill-fill.animate { transform: scaleX(1); }
.tools-wrap { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-pill  { padding: 7px 16px; background: var(--bg3); border: 1px solid var(--glass-border); border-radius: 99px; font-size: .82rem; color: var(--text2); transition: var(--transition); }
.tool-pill:hover { border-color: var(--green); color: var(--green); }

/* ================================================================
   SERVICES PAGE
   ================================================================ */
#services { background: var(--bg); }
.services-header { text-align: center; margin-bottom: 64px; }
.services-header .section-sub { margin: 0 auto 24px; }
.srv-category-title {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.srv-card {
  background: var(--bg3);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.srv-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.srv-card:hover { border-color: rgba(0, 230, 118, 0.25); transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); }
.srv-card:hover::after { transform: scaleX(1); }
.srv-card-ic { width: 56px; height: 56px; background: var(--green-glow); border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; flex-shrink: 0; }
.srv-card-ic svg { width: 26px; height: 26px; color: var(--green); }
.srv-card h3 { font-size: 1.15rem; color: var(--text); margin-bottom: 10px; }
.srv-card p  { font-size: .88rem; color: var(--text2); line-height: 1.7; margin-bottom: 16px; }
.srv-feats   { list-style: none; display: flex; flex-direction: column; gap: 7px; margin-bottom: 24px; flex: 1; }
.srv-feats li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .83rem;
  color: var(--text2);
}
.srv-feats li::before {
  content: '';
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--green-glow);
  border: 1.5px solid var(--green);
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300e676' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 10px;
  background-repeat: no-repeat;
  background-position: center;
}

/* ================================================================
   PORTFOLIO
   ================================================================ */
#portfolio { background: var(--bg2); }
.port-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.port-filter {
  padding: 8px 18px;
  border-radius: 99px;
  font-size: .84rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--glass-border);
  background: transparent;
  color: var(--text2);
  transition: var(--transition);
  font-family: var(--font-body);
}
.port-filter:hover, .port-filter.active { background: var(--green); color: #000; border-color: var(--green); }
.port-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.port-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg3);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.port-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4); border-color: rgba(0, 230, 118, 0.25); }
.port-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--bg) 0%, var(--bg3) 50%, rgba(0, 230, 118, 0.05) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.port-img-label { font-family: var(--font-head); font-size: 3rem; font-weight: 800; color: rgba(0, 230, 118, 0.07); user-select: none; }
.port-overlay   { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: var(--transition); }
.port-card:hover .port-overlay { opacity: 1; }
.port-overlay-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--green); display: flex; align-items: center; justify-content: center; }
.port-overlay-ic svg { width: 22px; height: 22px; color: #000; }
.port-info   { padding: 22px; }
.port-info h3 { font-size: 1rem; color: var(--text); margin-bottom: 6px; }
.port-info p  { font-size: .84rem; color: var(--text2); margin-bottom: 14px; }
.port-tags   { display: flex; gap: 7px; flex-wrap: wrap; }

/* MODAL */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; }
.modal-box { background: var(--bg2); border: 1px solid var(--glass-border); border-radius: 20px; width: 100%; max-width: 760px; max-height: 90vh; overflow-y: auto; position: relative; }
.modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text2); transition: var(--transition); }
.modal-close:hover { background: var(--green); color: #000; }
.modal-img { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, var(--bg) 0%, rgba(0, 230, 118, 0.08) 100%); display: flex; align-items: center; justify-content: center; border-radius: 20px 20px 0 0; overflow: hidden; }
.modal-img-label { font-family: var(--font-head); font-size: 5rem; font-weight: 800; color: rgba(0, 230, 118, 0.1); }
.modal-body { padding: 32px; }
.modal-body h2 { color: var(--text); margin-bottom: 8px; }
.modal-body p  { color: var(--text2); margin-bottom: 20px; font-size: .95rem; line-height: 1.8; }
.modal-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 20px; background: var(--bg3); border-radius: 12px; margin-bottom: 24px; }
.modal-meta-item { display: flex; flex-direction: column; gap: 4px; }
.modal-meta-item .label { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text3); font-weight: 600; }
.modal-meta-item .val   { font-size: .9rem; color: var(--text); font-weight: 600; font-family: var(--font-head); }

/* ================================================================
   CONTACT
   ================================================================ */
#contact { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-card { background: var(--bg3); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); padding: 20px; display: flex; align-items: center; gap: 16px; transition: var(--transition); }
.contact-card:hover { border-color: rgba(0, 230, 118, 0.3); }
.contact-card-ic { width: 44px; height: 44px; background: var(--green-glow); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card-ic svg { width: 18px; height: 18px; color: var(--green); }
.contact-card-text strong { display: block; font-family: var(--font-head); font-size: .88rem; color: var(--text); margin-bottom: 2px; }
.contact-card-text span   { font-size: .84rem; color: var(--text2); }
.contact-form-wrap { background: var(--bg3); border: 1px solid var(--glass-border); border-radius: 20px; padding: 40px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-group label { font-size: .82rem; font-weight: 600; color: var(--text); letter-spacing: .04em; }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg2);
  border: 1.5px solid var(--glass-border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fa98f' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text3); }
.form-group input.error,
.form-group select.error,
.form-group textarea.error { border-color: #ff4444; }
.form-msg { font-size: .8rem; color: #ff4444; margin-top: -14px; margin-bottom: 8px; display: none; }
.form-msg.visible { display: block; }
.success-msg { background: rgba(0, 230, 118, 0.1); border: 1px solid rgba(0, 230, 118, 0.3); border-radius: 12px; padding: 20px 24px; text-align: center; display: none; }
.success-msg.show { display: block; animation: fadeInUp .5s ease; }
.success-msg h4 { color: var(--green); font-family: var(--font-head); margin-bottom: 6px; }
.success-msg p  { font-size: .88rem; color: var(--text2); }

/* ================================================================
   FAQ
   ================================================================ */
#faq { background: var(--bg2); }
.faq-grid { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--bg3); border: 1px solid var(--glass-border); border-radius: var(--radius-sm); overflow: hidden; transition: var(--transition); }
.faq-item.open { border-color: rgba(0, 230, 118, 0.2); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; cursor: pointer; font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--text); user-select: none; }
.faq-arrow { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: var(--transition); }
.faq-arrow svg { width: 12px; height: 12px; color: var(--text2); transition: var(--transition); }
.faq-item.open .faq-arrow { background: var(--green); border-color: var(--green); }
.faq-item.open .faq-arrow svg { color: #000; transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-a-inner { padding: 0 24px 20px; font-size: .9rem; color: var(--text2); line-height: 1.8; }

/* ================================================================
   FOOTER
   ================================================================ */
footer { background: var(--bg2); border-top: 1px solid var(--glass-border); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { color: var(--text2); font-size: .88rem; margin: 12px 0 20px; max-width: 260px; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: var(--bg3); border: 1px solid var(--glass-border); display: flex; align-items: center; justify-content: center; color: var(--text2); transition: var(--transition); }
.footer-social a:hover { background: var(--green); color: #000; border-color: var(--green); transform: translateY(-3px); }
.footer-social svg { width: 15px; height: 15px; }
.footer-col h4 { font-family: var(--font-head); font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: 16px; letter-spacing: .04em; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: .84rem; color: var(--text2); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--green); }
.footer-bottom { border-top: 1px solid var(--glass-border); padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: .8rem; color: var(--text3); }
.footer-bottom span { color: var(--green); }

/* ================================================================
   FLOATING BUTTONS
   ================================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  z-index: 900;
  cursor: pointer;
  transition: var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5); }
.whatsapp-float svg { width: 28px; height: 28px; color: #fff; }
.sticky-cta { position: fixed; bottom: 94px; right: 28px; z-index: 900; opacity: 0; transform: translateY(10px); transition: var(--transition); pointer-events: none; }
.sticky-cta.show { opacity: 1; transform: translateY(0); pointer-events: all; }

/* ================================================================
   SCROLL ANIMATIONS
   ================================================================ */
.reveal         { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left    { opacity: 0; transform: translateX(-30px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right   { opacity: 0; transform: translateX(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible { opacity: 1; transform: none; }
[data-delay="1"] { transition-delay: .1s; }
[data-delay="2"] { transition-delay: .2s; }
[data-delay="3"] { transition-delay: .3s; }
[data-delay="4"] { transition-delay: .4s; }
[data-delay="5"] { transition-delay: .5s; }

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   RESPONSIVE — TABLET (max-width: 1024px)
   ================================================================ */
@media (max-width: 1024px) {
  /* Hero: still 2-col but tighter */
  .hero-inner { gap: 40px; padding: 120px 0 70px; }
  .hero-visual { height: 440px; }
  .hero-ring { width: 300px; height: 300px; }
  .hero-orbit { width: 280px; height: 280px; margin: -140px 0 0 -140px; }
  .hero-orbit2 { width: 360px; height: 360px; margin: -180px 0 0 -180px; }
  .hero-center-mono { font-size: 5.5rem; }

  /* Other sections */
  .why-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-card  { flex: 0 0 calc(50% - 12px); }
}

/* ================================================================
   RESPONSIVE — MOBILE (max-width: 768px)
   ================================================================ */
@media (max-width: 768px) {
  .nav-links, .nav-socials, .nav-cta { display: none; }
  .hamburger { display: flex; margin-left: auto; }

  /* Hero: single column, hide visual */
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 110px 0 60px;
    text-align: center;
    justify-items: center;
  }
  .hero-content { align-items: center; }
  .hero-badge   { justify-content: center; }
  .hero-desc    { text-align: center; }
  .hero-btns    { justify-content: center; }
  .hero-stats   { justify-content: center; gap: 28px; }
  .hero-visual  { display: none; }

  /* Sections */
  .section          { padding: 72px 0; }
  .why-features     { grid-template-columns: 1fr; }
  .services-grid    { grid-template-columns: 1fr; }
  .port-grid        { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .counters-grid    { grid-template-columns: repeat(2, 1fr); }
  .testi-card       { flex: 0 0 100%; }
  .footer-grid      { grid-template-columns: 1fr; }
  .footer-bottom    { flex-direction: column; text-align: center; }
  .modal-meta       { grid-template-columns: 1fr; }
  .contact-grid     { grid-template-columns: 1fr; }
  .cta-banner       { padding: 40px 24px; }
  .about-badge      { right: 0; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (max-width: 480px)
   ================================================================ */
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; width: 100%; }
  .hero-btns .btn { justify-content: center; }
  .cta-btns  { flex-direction: column; align-items: center; }
  h1 { font-size: 2.2rem; }
  .contact-form-wrap { padding: 24px 20px; }
}

/* ================================================================
   CLIENT LOGOS — Infinite Marquee
   ================================================================ */
.logos-section {
  background: var(--bg2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  padding: 48px 0;
  overflow: hidden;
}
.logos-label {
  text-align: center;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 32px;
}
.logos-track-wrap {
  position: relative;
  overflow: hidden;
  width: 100%;
}
/* Fade edges */
.logos-track-wrap::before,
.logos-track-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logos-track-wrap::before { left: 0;  background: linear-gradient(to right, var(--bg2), transparent); }
.logos-track-wrap::after  { right: 0; background: linear-gradient(to left, var(--bg2), transparent); }

.logos-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 28s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 44px;
  flex-shrink: 0;
  opacity: .35;
  transition: opacity .3s ease, filter .3s ease;
  filter: grayscale(1);
}
.logo-item:hover {
  opacity: 1;
  filter: grayscale(0);
}
.logo-item svg {
  width: auto;
  height: 28px;
  fill: var(--text);
  color: var(--text);
}

/* ================================================================
   FORM IMPROVEMENTS — Success / Error / States
   ================================================================ */

/* Field success state */
.form-group input.success,
.form-group select.success,
.form-group textarea.success {
  border-color: rgba(0, 230, 118, 0.4);
}
.form-group input.success:focus,
.form-group select.success:focus,
.form-group textarea.success:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.12);
}

/* Success message — improved */
.success-msg {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 48px 32px;
  background: rgba(0, 230, 118, 0.06);
  border: 1px solid rgba(0, 230, 118, 0.25);
  border-radius: 16px;
  animation: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .5s ease, transform .5s ease;
}
.success-msg.show {
  opacity: 1;
  transform: translateY(0);
}
.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: popIn .5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}
.success-icon svg { width: 30px; height: 30px; color: #000; }
.success-msg h4  { font-family: var(--font-head); font-size: 1.3rem; color: var(--green); margin: 0; }
.success-msg p   { color: var(--text2); font-size: .95rem; max-width: 340px; }

@keyframes popIn {
  0%   { transform: scale(0); opacity: 0; }
  80%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* Error banner */
.form-err-banner {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 10px;
  margin-bottom: 20px;
  color: #ff6b6b;
  font-size: .88rem;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .4s ease, transform .4s ease;
}
.form-err-banner.show { opacity: 1; transform: translateY(0); }
.form-err-banner svg  { width: 18px; height: 18px; flex-shrink: 0; color: #ff6b6b; }

/* Button spinner */
.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0,0,0,0.3);
  border-top-color: #000;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Shake animation on invalid submit */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%       { transform: translateX(-8px); }
  30%       { transform: translateX(8px); }
  45%       { transform: translateX(-6px); }
  60%       { transform: translateX(6px); }
  75%       { transform: translateX(-3px); }
  90%       { transform: translateX(3px); }
}
.shake { animation: shake .55s cubic-bezier(.36,.07,.19,.97) both; }

/* ================================================================
   BACK TO TOP BUTTON
   ================================================================ */
.back-to-top {
  position: fixed;
  bottom: 96px;
  left: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg3);
  border: 1.5px solid rgba(0, 230, 118, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  transform: translateY(12px) scale(0.85);
  transition: opacity .35s ease, transform .35s ease, background .25s ease, border-color .25s ease;
  pointer-events: none;
  color: var(--text2);
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--green);
  border-color: var(--green);
  color: #000;
  transform: translateY(-3px) scale(1);
  box-shadow: 0 6px 20px rgba(0, 230, 118, 0.3);
}
.back-to-top svg { width: 18px; height: 18px; }

