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

html, body {
  height: 100%;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

a { text-decoration: none; }

/* ── Root wrapper ── */
.wrapper {
  display: flex;
  height: 100vh;
  overflow: hidden;
}

/* ────────────────────────────
   SIDEBAR
──────────────────────────── */
.sidebar {
  width: 185px;
  min-width: 185px;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 32px 24px 28px;
  z-index: 10;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 52px;
}

.logo-img-link {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

.sidebar-logo-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Nav */
.nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.nav-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  color: #666;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link:hover { color: #ccc; }

.nav-link.active {
  color: #fff;
}

.nav-link.active::after {
  content: '—';
  color: #f5a623;
  font-size: 14px;
  line-height: 1;
}

/* Sidebar social icons */
.sidebar-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.s-icon {
  width: 36px;
  height: 36px;
  border: 1px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #bbb;
  transition: color 0.2s, border-color 0.2s;
}

.s-icon svg { width: 16px; height: 16px; }

.s-icon:hover {
  color: #fff;
  border-color: #666;
}

.copyright {
  font-size: 9.5px;
  color: #444;
  line-height: 1.7;
}

/* ────────────────────────────
   HERO (main area)
──────────────────────────── */
.hero {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

/* ── Text side ── */
.hero-text {
  flex: 0 0 44%;
  padding: 0 40px 0 64px;
  position: relative;
  z-index: 2;
}

.heading {
  font-size: 32px;
  line-height: 1.05;
  color: #111;
  margin-bottom: 18px;
}

.h-light { font-weight: 400; }
.h-bold  { font-weight: 900; }

.h-typed { display: inline-flex; align-items: baseline; gap: 0; }

.typed-cursor {
  display: inline-block;
  font-weight: 900;
  color: #111;
  animation: blink-cursor 0.75s step-end infinite;
  margin-left: 2px;
}

@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

.subtitle {
  font-size: 16px;
  color: #333;
  margin-bottom: 30px;
}

.subtitle .typed-cursor {
  font-size: 16px;
}

/* CTA button */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 14px 22px;
  margin-bottom: 42px;
  transition: background 0.2s;
}

.cta-btn:hover { background: #2a2a2a; }

.cta-arrow {
  background: #f5a623;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-arrow svg { width: 14px; height: 14px; color: #fff; }

/* Contact items */
.contacts {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #333;
  transition: color 0.2s;
}

.contact-item:hover { color: #000; }

.ci-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: #555;
}

/* ── Visual side ── */
.hero-visual {
  flex: 1;
  position: relative;
  height: 100%;
  overflow: hidden;
}

/* Decorative shapes */
.shape {
  position: absolute;
  border-radius: 50%;
}

/* Large purple blob – centrepiece */
.shape-purple {
  width: 430px;
  height: 430px;
  background: #7b2fff;
  top: 50%;
  left: 50%;
  transform: translate(-58%, -50%);
  opacity: 0.9;
}

/* Red/coral gradient wedge – top right */
.shape-red {
  width: 260px;
  height: 300px;
  background: linear-gradient(135deg, #ff5f6d, #e0334c);
  top: 50%;
  left: 50%;
  transform: translate(2%, -95%);
  border-radius: 50% 50% 40% 60% / 50% 60% 40% 50%;
  opacity: 0.88;
}

/* Peach/orange blob – bottom right */
.shape-peach {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #ffb347, #ffcc80);
  top: 50%;
  left: 50%;
  transform: translate(20%, 20%);
  opacity: 0.85;
}

/* Dot grid – bottom right corner */
.dots-grid {
  position: absolute;
  right: 30px;
  bottom: 50px;
  width: 100px;
  height: 80px;
  background-image: radial-gradient(circle, #bbb 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.5;
}

/* Portrait circle */
.portrait {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-55%, -50%);
  width: 380px;
  height: 380px;
  border-radius: 50%;
  overflow: hidden;
  background: #d0d0d0;
  z-index: 2;
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.08) contrast(1.08) saturate(1.2);
}

/* Sparkle decorations */
.sparkle {
  position: absolute;
  font-size: 22px;
  color: #333;
  z-index: 3;
  pointer-events: none;
  animation: twinkle 3s ease-in-out infinite;
}

.sp-top { top: 14%; right: 30%; }
.sp-mid { top: 55%; left: 5%;  animation-delay: 1.2s; font-size: 16px; }

@keyframes twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50%       { opacity: 0.4; transform: scale(0.8) rotate(20deg); }
}

/* ────────────────────────────
   RIGHT BAR
──────────────────────────── */
.right-bar {
  width: 46px;
  background: #fff;
  border-left: 1px solid #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 0 24px;
  gap: 16px;
  z-index: 10;
}

.rb-icon {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: color 0.2s;
}

.rb-icon svg { width: 18px; height: 18px; }

.rb-icon:hover { color: #333; }

.rb-line {
  flex: 1;
  width: 1px;
  background: #ddd;
  max-height: 80px;
  margin: 4px 0;
}

.rb-arrow svg { width: 14px; height: 14px; }

/* ════════════════════════════════
   ABOUT PAGE — NEW DARK LAYOUT
════════════════════════════════ */

.about-new {
  flex: 1;
  background: #fff;
  overflow-y: auto;
  overflow-x: hidden;
  color: #111;
}

.an-section {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 36px;
  padding: 38px 48px;
  border-bottom: 1px solid #e8e8e8;
}

.an-section-last { border-bottom: none; }

.an-label {
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.6px;
  color: #999;
  padding-top: 6px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.an-content { flex: 1; min-width: 0; }

/* WHO I AM */
@keyframes an-pop {
  from { opacity: 0; transform: scale(0.72); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes an-fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes an-grow-line {
  from { height: 0; opacity: 0; }
  to   { height: 72px; opacity: 1; }
}

.an-who-hero {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-bottom: 26px;
}

.an-who-counter {
  display: flex;
  align-items: baseline;
  gap: 1px;
  animation: an-pop 0.75s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  flex-shrink: 0;
}

/* Split-flap counter */
.sf-wrap {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  gap: 0;
  font-size: clamp(60px, 8vw, 88px);
  font-weight: 900;
  color: #111;
  letter-spacing: -3px;
  line-height: 1;
  perspective: 400px;
}

.sf-top, .sf-bot {
  width: 0.7em;
  height: 0.5em;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.sf-top {
  align-items: flex-start;
  background: #efefef;
  border-radius: 6px 6px 0 0;
  border-bottom: 2px solid #c4c4c4;
}

.sf-bot {
  align-items: flex-end;
  background: #e4e4e4;
  border-radius: 0 0 6px 6px;
}

.sf-n {
  display: block;
  width: 0.7em;
  height: 1em;
  line-height: 1;
  text-align: center;
  flex-shrink: 0;
}

.sf-flap-t, .sf-flap-b {
  position: absolute;
  left: 0;
  width: 0.7em;
  height: 0.5em;
  overflow: hidden;
  display: flex;
  justify-content: center;
  z-index: 2;
}

.sf-flap-t {
  top: 0;
  align-items: flex-start;
  background: #efefef;
  border-radius: 6px 6px 0 0;
  transform-origin: bottom center;
}

.sf-flap-b {
  top: 0.5em;
  align-items: flex-end;
  background: #e4e4e4;
  border-radius: 0 0 6px 6px;
  transform-origin: top center;
}

@keyframes sf-fold-away {
  from { transform: rotateX(0deg); }
  to   { transform: rotateX(-90deg); }
}

@keyframes sf-unfold-in {
  from { transform: rotateX(90deg); }
  to   { transform: rotateX(0deg); }
}

.sf-flap-t.sf-running {
  animation: sf-fold-away 0.18s ease-in forwards;
}

.sf-flap-b.sf-running {
  animation: sf-unfold-in 0.22s ease-out 0.18s both;
}

.an-yr-plus {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 900;
  color: #f5a623;
  line-height: 1;
  align-self: flex-start;
  margin-top: 8px;
}

.an-who-vline {
  width: 1px;
  height: 72px;
  background: #ddd;
  flex-shrink: 0;
  animation: an-grow-line 0.5s ease 0.3s both;
}

.an-who-words {
  font-size: clamp(18px, 2.5vw, 30px);
  font-weight: 900;
  color: #111;
  line-height: 1.2;
  letter-spacing: 0.5px;
  animation: an-fade-up 0.6s ease 0.25s both;
}

.an-bio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 20px;
  animation: an-fade-up 0.6s ease 0.4s both;
}

.an-bio p {
  font-size: 11.5px;
  color: #777;
  line-height: 1.85;
}

/* Skills section animation */
.an-skill-item {
  opacity: 0;
  animation: an-fade-up 0.5s ease both;
}

/* Bars animate on scroll into view (JS sets width via data-width) */
.an-bar-fill {
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* MY SKILLS */
.an-skills {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.an-skill-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.an-skill-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.an-skill-name {
  font-size: 8px;
  font-weight: 700;
  color: #444;
  letter-spacing: 0.6px;
  text-align: center;
}

.sk-php      { background: #787CB5; }
.sk-laravel  { background: #FF2D20; }
.sk-nodejs   { background: #215732; }
.sk-react    { background: #20232A; }
.sk-nextjs   { background: #1a1a1a; border: 1px solid #333; }
.sk-mysql    { background: #1e5276; }
.sk-wordpress{ background: #21759B; }
.sk-aws      { background: #232F3E; }
.sk-claude   { background: #5436DA; }
.sk-chatgpt  { background: #10a37f; }
.sk-copilot  { background: #1a1a1a; border: 1px solid #444; }
.sk-n8n      { background: #ea4b71; }

.an-sk-text {
  font-size: 13px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  font-family: 'Poppins', sans-serif;
}

/* CODING SKILLS bars */
.an-bars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
}

.an-bar-item {
  padding: 11px 0;
}

.an-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 9px;
}

.an-bar-label {
  font-size: 10px;
  font-weight: 600;
  color: #777;
  letter-spacing: 0.6px;
}

.an-bar-pct {
  font-size: 10px;
  font-weight: 600;
  color: #aaa;
}

.an-bar-track {
  height: 2px;
  background: #eee;
  border-radius: 2px;
  overflow: hidden;
}

.an-bar-fill {
  height: 100%;
  background: #111;
  border-radius: 2px;
}

/* EXPERIENCES grid */
.an-exp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 0;
}

.an-exp-grid-2 {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #e8e8e8;
}

.an-exp-col {
  padding: 0 28px 0 0;
  border-right: 1px solid #e8e8e8;
}

.an-exp-col:first-child { padding-left: 0; }
.an-exp-col:last-child  { border-right: none; padding-right: 0; padding-left: 28px; }
.an-exp-col:nth-child(2){ padding-left: 28px; }

.an-exp-col-empty {
  display: flex;
  align-items: flex-end;
}

.an-exp-date {
  font-size: 9px;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 1.2px;
  display: block;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.an-exp-title {
  font-size: clamp(12px, 1.4vw, 17px);
  font-weight: 900;
  color: #111;
  line-height: 1.2;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.an-exp-company {
  font-size: 10px;
  color: #aaa;
  line-height: 1.55;
  margin-bottom: 10px;
}

.an-exp-desc {
  list-style: none;
  padding: 0;
  margin: 0;
}

.an-exp-desc li {
  font-size: 10.5px;
  color: #999;
  line-height: 1.75;
  padding: 3px 0 3px 12px;
  position: relative;
}

.an-exp-desc li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #ccc;
  font-size: 9px;
  top: 5px;
}

.an-resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 10px 16px;
  transition: background 0.2s;
  letter-spacing: 0.3px;
}

.an-resume-btn:hover { background: #333; }

/* ════════════════════════════════
   ABOUT PAGE — OLD (kept for reference)
════════════════════════════════ */

.about-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ── Top white section (now full height, experience is nested inside) ── */
.about-top {
  flex: 1;
  background: #fff;
  display: flex;
  overflow: hidden;
}

/* Left column: portrait + bio */
.about-left {
  width: 230px;
  min-width: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 32px 18px 20px;
  border-right: 1px solid #f0f0f0;
}

/* Portrait composition */
.ap-visual {
  position: relative;
  width: 190px;
  height: 185px;
  margin-bottom: 10px;
  overflow: visible;
}

.ap-shape-purple {
  position: absolute;
  width: 158px;
  height: 158px;
  background: #8b46d8;
  border-radius: 50%;
  bottom: 0;
  left: 0;
}

.ap-shape-peach {
  position: absolute;
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #ffb347, #ff8a65);
  border-radius: 50% 70% 50% 30%;
  top: 0;
  right: 8px;
}

.ap-dots {
  position: absolute;
  top: 10px;
  left: 8px;
  width: 52px;
  height: 44px;
  background-image: radial-gradient(circle, #aaa 1px, transparent 1px);
  background-size: 8px 8px;
  z-index: 1;
}

.ap-circle {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  background: #c8c8c8;
  z-index: 2;
}

.ap-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Signature */
.ap-signature {
  font-family: 'Dancing Script', cursive;
  font-size: 22px;
  color: #333;
  margin-bottom: 4px;
  text-align: center;
}

/* Name with gradient */
.ap-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: linear-gradient(to right, #c84fd8, #f5a623);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 6px;
  text-align: center;
}

.ap-role {
  font-size: 11px;
  color: #555;
  margin-bottom: 14px;
  text-align: center;
}

/* Download CV button */
.ap-cv-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 9px 14px;
  transition: background 0.2s;
}

.ap-cv-btn:hover { background: #2a2a2a; }

/* Shared arrow badge */
.btn-arrow-box {
  background: #f5a623;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  color: #fff;
}

/* Right column: info + experience */
.about-right {
  flex: 1;
  padding: 26px 34px 0;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overflow-x: hidden;
}

/* Experience section nested inside about-right */
.exp-section {
  display: flex;
  background: linear-gradient(to right, #8b45d8, #f87a2d);
  margin: 18px -34px 0;
  flex-shrink: 0;
  overflow: hidden;
}

.nice-meet {
  font-size: 11.5px;
  color: #999;
  font-style: italic;
  margin-bottom: 3px;
}

.welcome-heading {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 900;
  color: #111;
  margin-bottom: 14px;
}

/* Info grid 2×2 */
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
}

.ig-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  font-size: 11px;
  color: #444;
  border-bottom: 1px solid #eee;
}

.ig-item:nth-child(odd)  { border-right: 1px solid #eee; padding-right: 14px; }
.ig-item:nth-child(even) { padding-left: 14px; }
.ig-item:nth-child(3),
.ig-item:nth-child(4)    { border-bottom: none; }

.ig-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: #999;
}

.info-divider {
  border: none;
  border-top: 1px solid #e8e8e8;
  margin-bottom: 12px;
}

/* Stats */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 12px;
}

.stat-header {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
}

.stat-num {
  font-size: 30px;
  font-weight: 900;
  color: #f5a623;
  line-height: 1;
}

.stat-label {
  font-size: 10.5px;
  color: #999;
  line-height: 1.35;
}

.stat-desc {
  font-size: 10.5px;
  color: #666;
  line-height: 1.65;
}

.name-accent { color: #e04a8a; }

/* Quote box */
.quote-box {
  background: #111;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.quote-mark {
  font-size: 58px;
  color: #444;
  line-height: 0.8;
  font-family: Georgia, serif;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 4px;
}

.quote-text {
  font-size: 11px;
  color: #ccc;
  font-style: italic;
  line-height: 1.7;
}


.exp-left {
  width: 320px;
  min-width: 320px;
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.exp-label {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 1px;
  display: block;
  margin-bottom: 6px;
}

.exp-heading {
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.exp-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
  margin-bottom: 20px;
}

.resume-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 10px 16px;
  align-self: flex-start;
  transition: background 0.2s;
}

.resume-btn:hover { background: #333; }

/* Experience timeline */
.exp-right {
  flex: 1;
  padding: 24px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.exp-item { padding-bottom: 6px; }

.exp-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.exp-date,
.exp-company {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.3px;
}

.exp-title {
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.exp-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.22);
}

/* ── Experience accordion ── */
.exp-acc-item {
  border-bottom: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
}

.exp-acc-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 14px 0;
  gap: 12px;
}

.exp-acc-left { flex: 1; }

.exp-acc-date {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.3px;
  display: block;
  margin-bottom: 3px;
}

.exp-acc-title {
  font-size: clamp(14px, 1.6vw, 20px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 3px;
  transition: color 0.2s;
}

.exp-acc-company {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
}

.exp-acc-toggle {
  font-size: 22px;
  color: rgba(255,255,255,0.55);
  font-weight: 300;
  line-height: 1;
  padding-top: 4px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.exp-acc-item.active .exp-acc-toggle { color: #f5a623; }
.exp-acc-item.active .exp-acc-title   { color: #f5a623; }

.exp-acc-body {
  display: none;
  padding: 0 0 14px 0;
}

.exp-acc-item.active .exp-acc-body { display: block; }

.exp-acc-body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exp-acc-body ul li {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  padding: 3px 0 3px 16px;
  position: relative;
}

.exp-acc-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #f5a623;
  font-size: 9px;
  top: 5px;
}

/* ════════════════════════════════
   SHARED  (services · works · blogs)
════════════════════════════════ */

.page-label {
  font-size: 11px;
  color: #999;
  font-style: italic;
  letter-spacing: 0.3px;
  display: block;
  margin-bottom: 4px;
}

.page-heading {
  font-size: clamp(20px, 2.8vw, 34px);
  font-weight: 900;
  color: #111;
  margin-bottom: 22px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 11px 20px;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}

.load-more-btn:hover { background: #2a2a2a; }
.load-more-btn .btn-arrow-box { font-size: 12px; }

/* ════════════════════════════════
   EXPERIENCES / SERVICES PAGE
════════════════════════════════ */

.services-main {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 36px 52px 28px;
  overflow: hidden;
}

.accordion {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.acc-item {
  border-top: 1px solid #ebebeb;
  position: relative;
  transition: background 0.25s;
}

.acc-item:last-child { border-bottom: 1px solid #ebebeb; }

/* gradient left-bar on active */
.acc-item::before {
  content: '';
  position: absolute;
  left: -52px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.3s;
}

.acc-item.active::before {
  background: linear-gradient(to bottom, #8b45d8, #f87a2d);
}

.acc-item.active {
  background: #fdfcff;
}

.acc-row {
  display: flex;
  align-items: center;
  padding: 18px 0;
  cursor: pointer;
  gap: 16px;
  user-select: none;
  transition: opacity 0.2s;
}

.acc-row:hover { opacity: 0.82; }

.acc-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 0 0 34%;
}

/* numbered index */
.acc-num {
  font-size: 11px;
  font-weight: 700;
  color: #ddd;
  letter-spacing: 0.5px;
  flex-shrink: 0;
  padding-top: 3px;
  transition: color 0.25s;
  font-variant-numeric: tabular-nums;
}

.acc-item.active .acc-num { color: #f5a623; }

.acc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
  flex-shrink: 0;
  transition: background 0.2s;
}

.acc-item.active .acc-dot { background: #f5a623; }

.acc-title {
  font-size: clamp(13px, 1.35vw, 17px);
  font-weight: 900;
  color: #111;
  letter-spacing: 0.3px;
  transition: color 0.2s;
  display: block;
}

.acc-item.active .acc-title {
  background: linear-gradient(to right, #8b45d8, #f87a2d);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.acc-preview {
  flex: 1;
  font-size: 11px;
  color: #bbb;
  line-height: 1.7;
}

.acc-img-wrap { display: none; flex: 1; }
.acc-item.active .acc-preview { display: none; }
.acc-item.active .acc-img-wrap { display: flex; align-items: center; }

.acc-svc-img {
  width: 195px;
  height: 82px;
  object-fit: cover;
  background: #ddd;
  display: block;
}

.acc-toggle {
  font-size: 20px;
  font-weight: 300;
  color: #ccc;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e8e8e8;
  border-radius: 50%;
  transition: border-color 0.2s, color 0.2s;
}

.acc-item.active .acc-toggle {
  border-color: #f5a623;
  color: #f5a623;
}

.acc-body { display: none; padding: 0 0 18px 0; }
.acc-body > p { font-size: 11px; color: #aaa; line-height: 1.7; }
.acc-item.active .acc-body { display: block; }

/* Experience accordion extras */
.acc-exp-date {
  display: block;
  font-size: 9px;
  font-weight: 600;
  color: #bbb;
  letter-spacing: 0.8px;
  margin-top: 3px;
}

.acc-date-badge {
  font-size: 22px;
  font-weight: 900;
  color: #e0e0e0;
  line-height: 1.15;
  letter-spacing: -1px;
}

.acc-date-badge em {
  font-style: normal;
  font-size: 15px;
  color: #ccc;
  display: block;
}

.acc-body-company {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(to right, #8b45d8, #f87a2d);
  letter-spacing: 0.6px;
  padding: 3px 10px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.acc-body-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.acc-body-list li {
  font-size: 11.5px;
  color: #888;
  line-height: 1.85;
  padding: 3px 0 3px 16px;
  position: relative;
}

.acc-body-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #f5a623;
  font-size: 9px;
  top: 6px;
}

/* ════════════════════════════════
   WORKS PAGE
════════════════════════════════ */

.works-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* White top */
.works-top {
  flex: 0 0 55%;
  background: #fff;
  padding: 26px 40px 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.projects-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.proj-row {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.proj-vdiv { width: 1px; background: #eee; flex-shrink: 0; }
.proj-hdiv { height: 1px; background: #eee; flex-shrink: 0; }

.proj-card {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  gap: 12px;
  overflow: hidden;
}

.proj-text { flex: 1; overflow: hidden; }

.proj-case {
  font-size: 10px;
  color: #bbb;
  font-style: italic;
  margin-bottom: 3px;
}

.proj-title {
  font-size: clamp(12px, 1.35vw, 17px);
  font-weight: 700;
  color: #111;
  line-height: 1.25;
  margin-bottom: 8px;
}

.proj-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #ddd;
  color: #666;
  font-size: 13px;
  transition: border-color 0.2s, color 0.2s;
}

.proj-link:hover { border-color: #f5a623; color: #f5a623; }

.proj-img {
  width: 110px;
  height: 90px;
  object-fit: cover;
  flex-shrink: 0;
  background: #e0e0e0;
  display: block;
}

.works-load { text-align: center; padding-top: 10px; flex-shrink: 0; }

/* Gradient bottom: testimonial */
.works-bottom {
  flex: 1;
  background: linear-gradient(to right, #8b45d8, #f87a2d);
  padding: 18px 40px 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.test-label {
  font-size: 11px;
  color: rgba(255,255,255,0.65);
  font-style: italic;
  margin-bottom: 2px;
}

.test-heading {
  font-size: clamp(16px, 2vw, 26px);
  font-weight: 900;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.test-body {
  flex: 1;
  display: flex;
  gap: 30px;
  overflow: hidden;
}

.test-person {
  position: relative;
  width: 150px;
  min-width: 150px;
  align-self: flex-end;
}

.tps-purple {
  position: absolute;
  width: 65px;
  height: 75px;
  background: #5b2bb0;
  bottom: 0;
  left: 0;
  clip-path: polygon(0 40%, 100% 0%, 100% 100%, 0% 100%);
}

.tps-peach {
  position: absolute;
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #ffb347, #ff8a65);
  top: 18px;
  right: 18px;
  border-radius: 50% 30% 50% 20%;
}

.test-person-img {
  position: relative;
  width: 140px;
  height: 140px;
  object-fit: cover;
  object-position: center top;
  z-index: 1;
  background: #c8c8c8;
  display: block;
}

.test-quote {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.test-text {
  font-size: clamp(11px, 1.2vw, 15px);
  color: #fff;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 10px;
}

.test-author {
  font-size: 13px;
  font-weight: 700;
  color: #f5d76e;
  margin-bottom: 2px;
}

.test-role {
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.test-nav { display: flex; gap: 10px; }

.test-nav-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.6);
  background: transparent;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  font-family: 'Poppins', sans-serif;
}

.test-nav-btn:hover { background: rgba(255,255,255,0.15); }

.test-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.22);
  margin: 10px 0;
}

.client-logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-shrink: 0;
}

.cl-logo {
  color: rgba(255,255,255,0.75);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ════════════════════════════════
   CORE SERVICES PAGE
════════════════════════════════ */

.core-svc-main {
  flex: 1;
  background: #f7f7f7;
  overflow-y: auto;
  padding: 44px 48px 48px;
  display: flex;
  flex-direction: column;
}

.cs-header {
  text-align: center;
  margin-bottom: 40px;
  flex-shrink: 0;
}

.cs-heading {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.cs-h-white  { color: #111; }
.cs-h-accent { color: #555; }

.cs-underline {
  width: 48px;
  height: 3px;
  background: #111;
  margin: 10px auto 0;
  border-radius: 2px;
}

.cs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  flex: 1;
}

.cs-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.cs-card:hover {
  border-color: #ccc;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.cs-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 4px;
}

.cs-icon-box svg {
  width: 24px;
  height: 24px;
  color: #333;
}

.cs-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: #bbb;
}

.cs-card-title {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 700;
  color: #111;
  line-height: 1.35;
}

.cs-card-desc {
  font-size: clamp(11px, 0.85vw, 13px);
  color: #666;
  line-height: 1.6;
  flex: 1;
}

/* ════════════════════════════════
   PORTFOLIO PAGE
════════════════════════════════ */

.pf-main {
  flex: 1;
  background: #f7f7f7;
  overflow-y: auto;
  padding: 44px 48px 48px;
  display: flex;
  flex-direction: column;
}

.pf-header {
  text-align: center;
  margin-bottom: 36px;
  flex-shrink: 0;
}

.pf-heading {
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.pf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pf-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.pf-card:hover {
  border-color: #ccc;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Preview area */
.pf-preview {
  height: 155px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pf-preview--green  { background: #eef4f0; }
.pf-preview--blue   { background: #eef1f7; }
.pf-preview--orange { background: #f7f0eb; }
.pf-preview--purple { background: #f1eef7; }
.pf-preview--teal   { background: #eef5f5; }
.pf-preview--red    { background: #f7eef0; }

.pf-preview-icon {
  font-size: 36px;
  line-height: 1;
}

.pf-domain {
  font-size: 11px;
  color: rgba(0,0,0,0.3);
  letter-spacing: 0.5px;
}

/* Card body */
.pf-body {
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.pf-category {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: #777;
}

.pf-title {
  font-size: clamp(14px, 1.2vw, 17px);
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}

.pf-desc {
  font-size: clamp(10.5px, 0.8vw, 12.5px);
  color: #666;
  line-height: 1.6;
  flex: 1;
}

.pf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.pf-tag {
  font-size: 10px;
  font-weight: 500;
  color: #555;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
}

.pf-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.pf-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #777;
}

.pf-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.pf-dot--live { background: #111; box-shadow: none; }

.pf-btn {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: #111;
  border: 1px solid #111;
  border-radius: 8px;
  padding: 6px 14px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.pf-btn:hover {
  background: #333;
  border-color: #333;
}

/* ════════════════════════════════
   BLOGS PAGE
════════════════════════════════ */

.blogs-main {
  flex: 1;
  background: #fff;
  display: flex;
  flex-direction: column;
  padding: 36px 40px 26px;
  overflow: hidden;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 22px;
  flex: 1;
  overflow: hidden;
}

.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-right: 1px solid #eee;
  padding-right: 22px;
}

.blog-card:last-child { border-right: none; padding-right: 0; }

.blog-img {
  width: 100%;
  height: clamp(100px, 17vh, 155px);
  object-fit: cover;
  background: #e0e0e0;
  flex-shrink: 0;
  margin-bottom: 10px;
  display: block;
}

.blog-date { font-size: 10px; color: #bbb; margin-bottom: 6px; }

.blog-title {
  font-size: clamp(12px, 1.2vw, 15px);
  font-weight: 700;
  color: #111;
  line-height: 1.4;
  flex: 1;
}

.blog-divider {
  border: none;
  border-bottom: 1px solid #eee;
  margin-top: 10px;
}

.blogs-load { text-align: center; padding-top: 18px; flex-shrink: 0; }

/* ════════════════════════════════
   CONTACT PAGE
════════════════════════════════ */

.contact-main {
  flex: 1;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  padding: 40px 50px;
  gap: 40px;
  overflow: hidden;
}

.contact-left {
  flex: 0 0 44%;
  display: flex;
  flex-direction: column;
}

.contact-heading {
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 900;
  color: #111;
  margin-bottom: 14px;
}

.contact-address {
  font-size: 11.5px;
  color: #999;
  line-height: 1.8;
  margin-bottom: 26px;
}

.contact-phone,
.contact-email-text {
  font-size: clamp(14px, 1.8vw, 22px);
  font-weight: 700;
  color: #111;
  line-height: 1.6;
}

.contact-socials {
  display: flex;
  gap: 20px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.cs-link {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #888;
  transition: color 0.2s;
}

.cs-link:hover { color: #111; }

/* Contact form box */
.contact-right {
  flex: 1;
  background: linear-gradient(135deg, #8b45d8, #f87a2d);
  padding: 32px 36px;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-heading {
  font-size: clamp(18px, 2.4vw, 28px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 22px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }
.form-row .form-group { margin-bottom: 0; }

.form-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.65);
  display: block;
  margin-bottom: 8px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);
  padding: 6px 0;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(255,255,255,0.3); }

.form-input:focus,
.form-textarea:focus { border-bottom-color: rgba(255,255,255,0.8); }

.form-textarea { resize: none; height: 36px; }

.form-attach {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  padding: 0;
}

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #111;
  color: #fff;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 12px 20px;
  cursor: pointer;
  transition: background 0.2s;
  align-self: flex-start;
}

.form-submit:hover { background: #333; }

/* ════════════════════════════════
   HAMBURGER BUTTON
   Injected by JS — hidden on desktop
════════════════════════════════ */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
  z-index: 110;
}

.mt-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.28s ease, opacity 0.28s ease;
  transform-origin: center;
}

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

/* ════════════════════════════════
   RESPONSIVE  ≤ 1024 px  (tablet — 2-col grids)
════════════════════════════════ */
@media (max-width: 1024px) and (min-width: 769px) {
  .cs-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-grid  { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1280px) and (min-width: 1025px) {
  .cs-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ════════════════════════════════
   RESPONSIVE  ≤ 768 px
════════════════════════════════ */
@media (max-width: 768px) {

  /* ── Allow scrolling ── */
  html, body {
    height: auto;
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .wrapper {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  /* ── Sidebar → fixed top bar ── */
  .sidebar {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    min-width: 100%;
    height: 60px;
    flex-direction: row;
    align-items: center;
    padding: 0 20px;
    z-index: 100;
  }

  .logo { margin-bottom: 0; font-size: 22px; flex-shrink: 0; }
  .logo-img-link { margin-bottom: 0; }

  .menu-toggle { display: flex; }

  /* Nav: hidden → full-screen overlay */
  .nav {
    display: none;
    position: fixed;
    top: 60px; left: 0; right: 0; bottom: 0;
    background: #111;
    flex-direction: column;
    gap: 22px;
    padding: 36px 28px 130px;
    z-index: 99;
    overflow-y: auto;
  }

  .sidebar.open .nav { display: flex; }

  .nav-link         { font-size: 15px; color: #777; letter-spacing: 1px; }
  .nav-link.active  { color: #fff; }
  .nav-link.active::after { display: none; }

  /* Socials + copyright float inside overlay */
  .sidebar-socials {
    display: none;
    position: fixed;
    bottom: 62px; left: 28px;
    flex-direction: row;
    gap: 10px;
    z-index: 100;
  }
  .sidebar.open .sidebar-socials { display: flex; }

  .copyright {
    display: none;
    position: fixed;
    bottom: 18px; left: 28px;
    z-index: 100;
    font-size: 9px;
  }
  .sidebar.open .copyright { display: block; }

  /* ──────────────────────────
     HOME
  ────────────────────────── */
  .hero {
    flex-direction: column;
    height: auto;
    min-height: calc(100vh - 60px);
    margin-top: 60px;
    overflow: visible;
  }

  .hero-text {
    flex: none;
    width: 100%;
    padding: 28px 24px 16px;
  }

  .heading    { font-size: clamp(32px, 9vw, 56px); margin-bottom: 12px; }
  .subtitle   { margin-bottom: 18px; }
  .cta-btn    { margin-bottom: 22px; font-size: 12px; padding: 11px 18px; }
  .contacts   { flex-direction: column; gap: 10px; }

  .hero-visual { flex: none; width: 100%; height: 280px; overflow: hidden; }

  .shape-purple { width: 240px; height: 240px; transform: translate(-52%, -50%); }
  .shape-red    { width: 150px; height: 170px; transform: translate(8%, -88%); }
  .shape-peach  { width: 120px; height: 120px; transform: translate(18%, 18%); }
  .dots-grid    { width: 70px; height: 55px; right: 14px; bottom: 24px; }
  .portrait     { width: 210px; height: 210px; transform: translate(-52%, -50%); }
  .right-bar    { display: none; }

  /* ──────────────────────────
     ABOUT NEW
  ────────────────────────── */
  .about-new {
    margin-top: 60px;
    height: auto;
    overflow-y: auto;
  }

  .an-section {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 12px 0;
  }

  .an-label { padding-top: 0; font-size: 8px; }

  /* WHO I AM hero — shrink and allow wrap */
  .an-who-hero { gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
  .an-yr-plus  { font-size: 28px; margin-top: 6px; }
  .an-who-vline { height: 56px; }
  .an-who-words { font-size: 14px; letter-spacing: 0.3px; }

  .an-bio { grid-template-columns: 1fr; gap: 10px 0; }
  .an-bio p { font-size: 11px; }

  .an-bars { grid-template-columns: 1fr; gap: 0; }

  .an-skills { gap: 12px; }
  .an-skill-box { width: 50px; height: 50px; border-radius: 10px; }
  .an-skill-name { font-size: 7px; }

  .an-exp-grid { grid-template-columns: 1fr; gap: 20px 0; }
  .an-exp-col { padding: 0 0 20px 0 !important; border-right: none !important; border-bottom: 1px solid #e8e8e8; }
  .an-exp-col:last-child { border-bottom: none; padding-bottom: 0 !important; }
  .an-exp-col-empty { border-bottom: none !important; padding-bottom: 0 !important; }
  .an-exp-grid-2 { margin-top: 0; padding-top: 0; border-top: none; }

  /* ──────────────────────────
     ABOUT OLD
  ────────────────────────── */
  .about-main { margin-top: 60px; height: auto; overflow: visible; }

  .about-top {
    flex: none;
    height: auto;
    flex-direction: column;
    overflow: visible;
  }

  .about-left {
    width: 100%; min-width: 100%;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
    padding: 28px 24px 22px;
  }

  .ap-visual { margin: 0 auto 10px; }

  .about-right { padding: 22px 24px 0; overflow-y: auto; overflow-x: hidden; }

  .welcome-heading { font-size: clamp(20px, 6vw, 28px); margin-bottom: 10px; }

  .stats-row { grid-template-columns: 1fr; gap: 14px; }

  .quote-box  { padding: 12px 14px; }
  .quote-mark { font-size: 42px; }

  .exp-section { flex-direction: column; margin: 14px -24px 0; }
  .exp-left  { width: 100%; min-width: 100%; padding: 22px 24px; }
  .exp-right { padding: 0 24px 24px; }
  .exp-item  { padding-bottom: 10px; }

  /* ──────────────────────────
     EXPERIENCE / SERVICES
  ────────────────────────── */
  .services-main {
    margin-top: 60px;
    height: auto;
    overflow-y: auto;
    padding: 24px 20px;
  }

  .accordion { overflow: visible; flex: none; }

  /* fix gradient left bar — offset matches mobile padding */
  .acc-item::before { left: -20px; }

  .acc-row {
    padding: 14px 0;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .acc-left {
    flex: 1 1 100%;
    gap: 12px;
    align-items: flex-start;
  }

  .acc-num   { font-size: 10px; padding-top: 4px; }
  .acc-title { font-size: clamp(12px, 3.5vw, 15px); }
  .acc-exp-date { font-size: 8px; margin-top: 2px; }

  /* preview takes full width on mobile, date badge hidden */
  .acc-preview {
    flex: 1 1 100%;
    font-size: 10px;
    order: 3;
    padding-left: 28px;
  }

  .acc-img-wrap { display: none !important; }
  .acc-item.active .acc-preview { display: block; font-size: 10px; color: #bbb; }

  .acc-toggle {
    position: absolute;
    right: 0;
    top: 14px;
    width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .acc-item { position: relative; }

  .acc-body { padding: 0 0 14px 28px; }

  .acc-body-list li { font-size: 11px; }

  .acc-svc-img { width: 110px; height: 58px; }

  /* ──────────────────────────
     WORKS
  ────────────────────────── */
  .works-main { height: auto; overflow: visible; }

  .works-top {
    flex: none; height: auto; overflow: visible;
    margin-top: 60px;
    padding: 24px 20px 14px;
  }

  .projects-grid { flex: none; overflow: visible; }

  .proj-row   { flex-direction: column; }
  .proj-vdiv  { display: none; }
  .proj-card  { padding: 12px 0; border-bottom: 1px solid #eee; }
  .proj-img   { width: 100px; height: 80px; }

  .works-load { padding-top: 14px; }

  .works-bottom {
    flex: none; height: auto; overflow: visible;
    padding: 20px 20px 16px;
  }

  .test-body         { flex-direction: column; gap: 14px; }
  .test-person       { width: 100%; min-width: auto; align-self: auto; }
  .test-person-img   { width: 110px; height: 110px; }
  .client-logos      { flex-wrap: wrap; gap: 12px; justify-content: center; }
  .cl-logo           { font-size: 10px; }

  /* ──────────────────────────
     BLOGS
  ────────────────────────── */
  .blogs-main {
    margin-top: 60px;
    height: auto; overflow-y: auto;
    padding: 28px 24px 24px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    flex: none; overflow: visible;
    gap: 0;
  }

  .blog-card {
    border-right: none; padding-right: 0;
    padding-bottom: 18px; margin-bottom: 4px;
    border-bottom: 1px solid #eee;
  }
  .blog-card:last-child { border-bottom: none; }

  .blog-img    { height: 180px; margin-bottom: 12px; }
  .blogs-load  { padding-top: 18px; }

  /* ──────────────────────────
     CONTACT
  ────────────────────────── */
  .contact-main {
    margin-top: 60px;
    flex-direction: column;
    height: auto; overflow: visible;
    padding: 28px 24px;
    align-items: stretch;
    gap: 24px;
  }

  .contact-left   { flex: none; width: 100%; }
  .contact-right  { flex: none; align-self: stretch; padding: 24px 20px; }

  .contact-heading           { font-size: clamp(20px, 7vw, 30px); margin-bottom: 12px; }
  .contact-phone,
  .contact-email-text        { font-size: clamp(14px, 4.5vw, 20px); }

  .form-row                  { grid-template-columns: 1fr; gap: 0; }
  .form-row .form-group      { margin-bottom: 14px; }
}

/* ════════════════════════════════
   EXTRA SMALL  ≤ 480 px
════════════════════════════════ */
@media (max-width: 480px) {
  /* HOME */
  .heading      { font-size: clamp(28px, 10vw, 44px); }
  .hero-visual  { height: 240px; }
  .portrait     { width: 175px; height: 175px; }
  .shape-purple { width: 195px; height: 195px; }
  .shape-red    { width: 115px; height: 135px; }
  .shape-peach  { width: 95px;  height: 95px;  }

  /* ABOUT — further shrink WHO I AM hero */
  .an-who-hero  { gap: 10px; }
  .an-yr-plus   { font-size: 24px; margin-top: 4px; }
  .an-who-vline { height: 48px; }
  .an-who-words { font-size: 13px; }
  .an-section   { padding: 20px 16px; }

  /* EXPERIENCE */
  .acc-title  { font-size: 12px; }
  .acc-preview { padding-left: 22px; }
  .acc-body   { padding-left: 22px; }

  .blog-img     { height: 150px; }
  .test-heading { font-size: 18px; }
  .form-heading { font-size: 20px; }

  /* SERVICES (core-svc) */
  .core-svc-main {
    margin-top: 60px;
    height: auto;
    overflow-y: auto;
    padding: 32px 20px 40px;
  }
  .cs-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* PORTFOLIO */
  .pf-main {
    margin-top: 60px;
    height: auto;
    overflow-y: auto;
    padding: 32px 20px 40px;
  }
  .pf-grid { grid-template-columns: 1fr; gap: 20px; }
  .pf-preview { height: 140px; }
}
}
