/* ════════════════════════════════════════
   Kamrul — style.css
   ════════════════════════════════════════ */

/* ── CSS Variables ── */
:root {
    --bg: #0a1612;
    --bg2: #0d1f1a;
    --green: #4ade80;
    --green-dim: #2d6a4f;
    --text: #e8f5e9;
    --muted: #7fb89a;
    --card-bg: rgba(255,255,255,0.04);
    --border: rgba(255,255,255,0.08);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    overflow-x: hidden;
    min-height: 100vh;
  }

  /* ── 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: 0;
    opacity: .5;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    background: rgba(10,22,17,0.80);
    backdrop-filter: blur(24px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 999px;
    padding: 10px 28px;
    display: flex;
    gap: 32px;
    animation: fadeDown .8s ease both;
    box-shadow: 0 4px 24px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.06);
  }

  nav a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .02em;
    transition: color .2s;
  }
  nav a:hover { color: var(--text); }

  /* ── HERO ── */
  .hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px 60px;
    overflow: hidden;
    z-index: 1;
  }

  /* radial glow circles */
  .glow-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(74,222,128,0.08);
    pointer-events: none;
  }
  .glow-ring:nth-child(1) { width: 450px; height: 450px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
  .glow-ring:nth-child(2) { width: 620px; height: 620px; top: 50%; left: 50%; transform: translate(-50%,-50%); }
  .glow-ring:nth-child(3) { width: 780px; height: 780px; top: 50%; left: 50%; transform: translate(-50%,-50%); border-color: rgba(74,222,128,0.04); }

  .center-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%; left: 50%;
    transform: translate(-50%,-55%);
    background: radial-gradient(ellipse, rgba(74,222,128,0.07) 0%, transparent 70%);
    pointer-events: none;
  }

  /* sparkles */
  .sparkle {
    position: absolute;
    pointer-events: none;
    animation: twinkle 3s ease-in-out infinite;
  }
  .sparkle svg { fill: var(--green); }
  .sparkle:nth-child(4)  { top: 20%; left: 18%; animation-delay: 0s; }
  .sparkle:nth-child(5)  { top: 15%; left: 72%; animation-delay: .8s; width: 14px; }
  .sparkle:nth-child(6)  { top: 60%; left: 82%; animation-delay: 1.4s; width: 28px; }
  .sparkle:nth-child(7)  { top: 35%; left: 10%; animation-delay: .4s; width: 12px; }
  .sparkle:nth-child(8)  { top: 55%; left: 90%; animation-delay: 2s; width: 36px; }
  .sparkle:nth-child(9)  { top: 75%; left: 5%;  animation-delay: 1s; width: 10px; }

  .dot-accent {
    position: absolute;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 3s ease-in-out infinite;
  }
  .dot-accent:nth-child(10) { width: 10px; height: 10px; top: 22%; right: 22%; animation-delay: 0s; }
  .dot-accent:nth-child(11) { width: 6px;  height: 6px;  top: 30%; right: 18%; animation-delay: 1s; opacity: .5; }

  /* avatar */
  .avatar-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
    animation: fadeUp .8s .3s ease both;
  }
  .avatar-img {
    width: 72px; height: 72px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg,#1a3a2a,#2d6a4f);
    display: flex; align-items: center; justify-content: center;
    font-size: 36px;
    border: 2px solid rgba(74,222,128,0.3);
    box-shadow: 0 0 30px rgba(74,222,128,0.2);
  }

  .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(10,30,20,0.85);
    border: 1px solid rgba(74,222,128,0.2);
    border-radius: 999px;
    padding: 6px 14px;
    font-size: 13px;
    color: var(--green);
    margin-bottom: 28px;
    animation: fadeUp .8s .4s ease both;
    backdrop-filter: blur(8px);
  }
  .status-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 8px var(--green);
    animation: pulse 2s ease-in-out infinite;
  }

  h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.02em;
    margin-bottom: 20px;
    animation: fadeUp .8s .5s ease both;
  }
  h1 span { font-style: italic; }

  .subtitle {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 40px;
    animation: fadeUp .8s .6s ease both;
  }

  .cta-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeUp .8s .7s ease both;
  }

  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    border: none;
  }
  .btn:hover { transform: translateY(-2px); }

  .btn-primary {
    background: #fff;
    color: #111;
    box-shadow: 0 4px 20px rgba(255,255,255,0.15);
  }
  .btn-primary:hover { box-shadow: 0 8px 32px rgba(255,255,255,0.25); }

  .btn-dark {
    background: #1a2a22;
    color: var(--text);
    border: 1px solid var(--border);
  }
  .btn-dark:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

  /* ── HORIZONTAL LOGO CAROUSEL ── */
  .logos-section {
    position: relative;
    z-index: 1;
    padding: 60px 0 80px;
    overflow: hidden;
  }

  .logos-label {
    text-align: center;
    color: var(--muted);
    font-size: 13px;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeUp 1s 1s ease forwards;
  }

  .carousel-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  }

  .carousel-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scroll-left 28s linear infinite;
  }
  .carousel-track:hover { animation-play-state: paused; }

  .logo-item-3d {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    margin: 0 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(74,222,128,0.1);
    border-radius: 14px;
    white-space: nowrap;
    cursor: default;
    flex-shrink: 0;
    transition: background .3s, border-color .3s, transform .3s;
  }
  .logo-item-3d:hover {
    background: rgba(74,222,128,0.07);
    border-color: rgba(74,222,128,0.3);
    transform: translateY(1px);
  }

  .logo-text {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.01em;
    color: rgba(255,255,255,0.45);
    transition: color .3s;
    white-space: nowrap;
  }
  .logo-item-3d:hover .logo-text { color: rgba(255,255,255,0.9); }

  .logo-img {
    height: 26px;
    width: auto;
    object-fit: contain;
    /* filter: brightness(0) invert(1); */
    opacity: 0.4;
    transition: opacity .3s, filter .3s;
    flex-shrink: 0;
  }
  .logo-item-3d:hover .logo-img {
    opacity: 1;
    /* filter: brightness(0) invert(1) sepia(1) saturate(4) hue-rotate(95deg); */
  }

  @keyframes scroll-left {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ── WORKS SECTION ── */
  .section {
    position: relative;
    z-index: 1;
    padding: 100px 20px;
    max-width: 1100px;
    margin: 0 auto;
  }

  /* ── SERVICES ── */
  .services-section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px;
  }

  .services-header {
    text-align: center;
    margin-bottom: 56px;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
  }

  @media (max-width: 680px) {
    .services-grid { grid-template-columns: 1fr; }
  }

  .srv-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color .3s, transform .3s, box-shadow .3s;
    position: relative;
  }
  .srv-card:hover {
    border-color: rgba(74,222,128,0.2);
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  }

  /* Card sizes */
  .srv-card-tall { grid-row: span 1; }

  /* inner layout */
  .srv-card-body {
    padding: 28px 28px 24px;
  }

  .srv-card-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
  }

  .srv-sparkle {
    color: var(--green);
    font-size: 18px;
    line-height: 1;
  }

  .srv-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
  }

  .srv-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 340px;
  }

  /* media area */
  .srv-media {
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .srv-media img {
    width: 94%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px 10px 0 0;
  }

  .srv-media-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.2);
  }

  /* storytelling card — image on top */
  .srv-card-storytelling .srv-media {
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 16px 0 16px;
    margin-top: 16px;
  }
  .srv-card-storytelling .srv-media img {
    border-radius: 10px;
  }

  /* ux research — icon grid on right */
  .srv-card-ux {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .srv-ux-left { padding: 28px; display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; }
  .srv-ux-right {
    padding: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-content: center;
  }

  .ux-icon-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: background .2s, border-color .2s;
    cursor: default;
  }
  .ux-icon-card:hover {
    background: rgba(74,222,128,0.07);
    border-color: rgba(74,222,128,0.2);
  }
  .ux-icon-card .icon { font-size: 24px; }
  .ux-icon-card .label {
    font-size: 10px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
    line-height: 1.3;
  }

  /* visual design — image bottom */
  .srv-card-visual .srv-media {
    height: 200px;
    margin: 0 16px 16px;
    border-radius: 10px;
    overflow: hidden;
  }

  /* prototyping — SVG illustration */
  .srv-card-proto .srv-media {
    height: 160px;
    margin: 0 24px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .proto-svg-wrap {
    position: relative;
    width: 180px;
    height: 120px;
  }

  .proto-node {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(74,222,128,0.5);
    animation: proto-pulse 2s ease-in-out infinite;
  }
  .proto-node:nth-child(2) { animation-delay: .4s; }
  .proto-node:nth-child(3) { animation-delay: .8s; }
  .proto-node:nth-child(4) { animation-delay: 1.2s; }

  .proto-line {
    position: absolute;
    height: 2px;
    background: rgba(74,222,128,0.35);
    transform-origin: left center;
    border-radius: 1px;
  }

  @keyframes proto-pulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 8px rgba(74,222,128,0.4); }
    50% { transform: scale(1.3); box-shadow: 0 0 18px rgba(74,222,128,0.7); }
  }

  /* ── SERVICES END ── */

  .section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 48px;
    flex-wrap: wrap;
    gap: 16px;
  }

  .section-tag {
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 10px;
  }

  .section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
  }

  .view-all {
    color: var(--muted);
    font-size: 14px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color .2s;
  }
  .view-all:hover { color: var(--text); }

  /* ── CASE STUDIES ── */
  .case-studies-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 0;
  }

  .case-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 24px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s, border-color .3s;
    min-height: 280px;
  }
  .case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.5);
    border-color: rgba(74,222,128,0.18);
  }

  @media (max-width: 680px) {
    .case-card { grid-template-columns: 1fr; }
    .case-visual { min-height: 220px; }
  }

  .case-info {
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
  }

  .case-meta {
    font-size: 11px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--green);
    font-weight: 500;
  }

  .case-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text);
  }

  .case-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
  }

  .case-stats {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .case-stats li {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .check {
    color: var(--green);
    font-size: 12px;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(74,222,128,0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .case-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 13px;
    color: var(--text);
    text-decoration: none;
    width: fit-content;
    transition: background .2s, border-color .2s, transform .2s;
    margin-top: 4px;
  }
  .case-btn:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.4);
    transform: translateX(2px);
  }

  .case-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    position: relative;
    overflow: hidden;
  }
  .case-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(74,222,128,0.06) 0%, transparent 65%);
  }

  /* phone mockup */
  .mockup-phone {
    width: 140px;
    background: #111;
    border-radius: 24px;
    padding: 10px 6px;
    border: 2px solid rgba(255,255,255,0.12);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    z-index: 1;
  }
  .mockup-phone::before {
    content: '';
    display: block;
    width: 40px;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    margin: 0 auto 8px;
  }
  .phone-screen {
    border-radius: 16px;
    overflow: hidden;
    min-height: 200px;
  }

  /* browser mockup */
  .mockup-browser {
    width: 100%;
    max-width: 280px;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    position: relative;
    z-index: 1;
  }
  .browser-bar {
    background: #2a2a2a;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  .b-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    display: inline-block;
  }
  .b-url {
    margin-left: 8px;
    font-size: 9px;
    color: #888;
    background: rgba(255,255,255,0.08);
    padding: 2px 10px;
    border-radius: 4px;
    flex: 1;
  }
  .browser-body { min-height: 140px; }

  /* see all button */
  .see-all-wrap {
    display: flex;
    justify-content: center;
    margin-top: 48px;
  }

  .btn-see-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: background .25s, border-color .25s, transform .25s, box-shadow .25s;
  }
  .btn-see-all:hover {
    background: rgba(74,222,128,0.08);
    border-color: rgba(74,222,128,0.4);
    box-shadow: 0 0 24px rgba(74,222,128,0.1);
    transform: translateY(-2px);
  }

  /* ticker */
  .ticker-wrap {
    overflow: hidden;
    border-top: 1px solid rgba(74,222,128,0.15);
    border-bottom: 1px solid rgba(74,222,128,0.15);
    background: rgba(74,222,128,0.04);
    padding: 14px 0;
    margin-top: 80px;
  }
  .ticker-track {
    display: flex;
    align-items: center;
    gap: 28px;
    width: max-content;
    animation: scroll-left 20s linear infinite;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .14em;
    color: var(--green);
  }
  .tick-dot { opacity: .5; font-size: 10px; }

    .case-mockup-img {
    width: 100%;
    max-width: 280px;
    height: 100%;
    max-height: 260px;
    object-fit: contain;
    border-radius: 16px;
    position: relative;
    z-index: 1;
    border-radius: px;
  }

  /* project cards */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
  }

  .project-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    cursor: pointer;
  }
  .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(74,222,128,0.15);
  }

  .project-thumb {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
  }
  .project-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: .15;
  }

  .thumb-1 { background: linear-gradient(135deg, #1a3a2a, #2d6a4f); }
  .thumb-2 { background: linear-gradient(135deg, #1a1a3a, #2d2d6a); }
  .thumb-3 { background: linear-gradient(135deg, #3a1a1a, #6a2d2d); }

  .project-info { padding: 20px; }
  .project-tag {
    font-size: 11px;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--green);
    margin-bottom: 8px;
  }
  .project-name {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
  }
  .project-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

  /* ── ABOUT ── */
  .about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
  }
  @media (max-width: 700px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
  }

  /* Left text */
  .about-text .about-tag {
    font-size: 12px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
  }
  .about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4.5vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--text);
  }
  .about-text .about-sub {
    font-size: 15px;
    color: var(--muted);
    margin-bottom: 20px;
    font-style: italic;
  }
  .about-text p {
    color: rgba(232,245,233,0.65);
    line-height: 1.85;
    font-size: 15px;
    margin-bottom: 32px;
  }
  .about-know-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
  }
  .about-know-btn:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.35);
    transform: translateX(3px);
  }

  /* Polaroid photo side */
  .about-photo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 420px;
  }

  .polaroid {
    background: #f5f0e8;
    padding: 14px 14px 48px;
    border-radius: 4px;
    box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
    transform: rotate(4deg);
    transition: transform .4s ease;
    position: relative;
    width: 320px;
    animation: float 5s ease-in-out infinite;
  }
  .polaroid:hover { transform: rotate(1deg) scale(1.03); }

  .polaroid-img {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    object-fit: cover;
    border-radius: 2px;
    display: block;
    background: linear-gradient(135deg, #1a3a2a, #2d6a4f);
  }

  /* placeholder if no image */
  .polaroid-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1.05;
    background: linear-gradient(135deg, #1a3a2a, #2d6a4f);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
  }

  .polaroid-name {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(74,222,128,0.85);
    color: #0a1612;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 3px 10px;
    border-radius: 3px;
    white-space: nowrap;
  }

  /* cursor dot decoration */
  .polaroid-cursor {
    position: absolute;
    bottom: -12px;
    left: -20px;
    font-size: 18px;
    opacity: .6;
    transform: rotate(-10deg);
  }

  .skills-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .chip {
    background: rgba(74,222,128,0.08);
    border: 1px solid rgba(74,222,128,0.15);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    color: var(--green);
    letter-spacing: .04em;
  }

  /* ── BLOG / NARRATIVE ── */
  .blog-section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px;
  }

  .blog-header {
    text-align: center;
    margin-bottom: 56px;
  }

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

  @media (max-width: 760px) {
    .blog-grid { grid-template-columns: 1fr; }
  }
  @media (min-width: 761px) and (max-width: 960px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
  }

  .blog-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    text-decoration: none;
    color: var(--text);
    position: relative;
    overflow: hidden;
    transition: border-color .3s, transform .3s, box-shadow .3s, background .3s;
    cursor: pointer;
  }

  .blog-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 20%, rgba(74,222,128,0.05) 0%, transparent 60%);
    opacity: 0;
    transition: opacity .3s;
  }

  .blog-card:hover {
    border-color: rgba(74,222,128,0.22);
    transform: translateY(-5px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
    background: rgba(255,255,255,0.05);
  }
  .blog-card:hover::before { opacity: 1; }

  .blog-card-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(18px, 2vw, 22px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    position: relative;
    z-index: 1;
  }

  .blog-card-arrow {
    font-size: 22px;
    color: var(--green);
    position: relative;
    z-index: 1;
    transition: transform .25s;
    display: inline-block;
    margin-top: 32px;
  }
  .blog-card:hover .blog-card-arrow { transform: translate(4px, -4px); }

  /* highlighted card (3rd one with green border) */
  .blog-card-featured {
    border-color: rgba(74,222,128,0.25);
    background: rgba(74,222,128,0.04);
  }
  .blog-card-featured .blog-card-arrow { color: var(--green); }

  /* ── BLOG END ── */

  /* ── TESTIMONIALS ── */
  .testimonials-section {
    position: relative;
    z-index: 1;
    padding: 100px 0;
    overflow: hidden;
  }

  .testimonials-header {
    text-align: center;
    margin-bottom: 56px;
    padding: 0 24px;
  }

  .testi-track-wrap {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
  }

  .testi-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: scroll-left 35s linear infinite;
  }
  .testi-track:hover { animation-play-state: paused; }

  .testi-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 28px;
    width: 320px;
    flex-shrink: 0;
    transition: border-color .3s, transform .3s;
    cursor: default;
  }
  .testi-card:hover {
    border-color: rgba(74,222,128,0.2);
    transform: translateY(-4px);
  }

  .testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
  }

  .testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #1a3a2a, #2d6a4f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    border: 2px solid rgba(74,222,128,0.2);
    overflow: hidden;
  }
  .testi-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
  }

  .testi-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
    margin-bottom: 2px;
  }
  .testi-role {
    font-size: 12px;
    color: var(--muted);
  }

  .testi-quote {
    font-size: 14px;
    color: rgba(232,245,233,0.65);
    line-height: 1.75;
  }

  .testi-quote .highlight {
    color: var(--text);
    font-weight: 500;
  }

  /* ── TESTIMONIALS END ── */

  /* ── FAQ ── */
  .faq-list { display: flex; flex-direction: column; gap: 12px; }
  .faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
  }
  .faq-q {
    padding: 20px 24px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color .2s;
  }
  .faq-q:hover { color: var(--green); }
  .faq-icon { font-size: 20px; transition: transform .3s; }
  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    padding: 0 24px;
  }
  .faq-item.open .faq-a { max-height: 200px; padding: 0 24px 20px; }
  .faq-item.open .faq-icon { transform: rotate(45deg); }

  /* ── FAQ ── */
  .faq-section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 24px;
  }

  .faq-header {
    text-align: center;
    margin-bottom: 56px;
  }

  .faq-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 20px;
    align-items: start;
  }

  @media (max-width: 760px) {
    .faq-layout { grid-template-columns: 1fr; }
  }

  /* Left card */
  .faq-left-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .faq-left-top {
    padding: 32px 28px 24px;
  }

  .faq-left-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(20px, 2.5vw, 26px);
    font-weight: 700;
    line-height: 1.35;
    color: var(--text);
    margin-bottom: 20px;
  }

  .faq-left-img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #1a2a1a, #0a1a10);
  }

  .faq-left-img-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #0d1f1a, #1a3a2a);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
  }

  .faq-left-bottom {
    padding: 20px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .faq-lets-talk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: #fff;
    color: #111;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
    width: 100%;
    justify-content: center;
  }
  .faq-lets-talk:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255,255,255,0.2);
  }

  .faq-response-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
  }

  /* Right accordion */
  .faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .faq-item {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: border-color .2s;
  }
  .faq-item.open { border-color: rgba(74,222,128,0.2); }

  .faq-q {
    padding: 20px 24px;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: color .2s;
    line-height: 1.4;
  }
  .faq-q:hover { color: var(--green); }

  .faq-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    transition: transform .3s, border-color .3s, background .3s;
    color: var(--muted);
  }
  .faq-item.open .faq-icon {
    transform: rotate(180deg);
    border-color: rgba(74,222,128,0.3);
    background: rgba(74,222,128,0.08);
    color: var(--green);
  }

  .faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .3s;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.75;
    padding: 0 24px;
  }
  .faq-item.open .faq-a { max-height: 300px; padding: 0 24px 22px; }

  /* ── FOOTER ── */
  footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    background: rgba(255,255,255,0.01);
  }

  .footer-main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 48px;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
    gap: 40px;
  }

  @media (max-width: 860px) {
    .footer-main { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 520px) {
    .footer-main { grid-template-columns: 1fr; }
  }

  .footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
  }
  .footer-logo-name {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
  }
  .footer-brand-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 220px;
  }

  .footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .footer-col-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
    letter-spacing: .02em;
  }
  .footer-link {
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
    width: fit-content;
  }
  .footer-link:hover { color: var(--text); }

  .footer-newsletter-desc {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 4px;
  }

  .footer-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 4px 4px 16px;
    gap: 8px;
    transition: border-color .2s;
  }
  .footer-input-wrap:focus-within {
    border-color: rgba(74,222,128,0.35);
  }

  .footer-input-icon {
    color: var(--muted);
    font-size: 14px;
    flex-shrink: 0;
  }

  .footer-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    font-size: 13px;
    color: var(--text);
    font-family: 'DM Sans', sans-serif;
    min-width: 0;
  }
  .footer-input::placeholder { color: var(--muted); }

  .footer-send-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--text);
    color: var(--bg);
    border: none;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background .2s, transform .2s;
  }
  .footer-send-btn:hover {
    background: var(--green);
    transform: scale(1.08);
  }

  /* bottom bar */
  .footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
  }

  .footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .footer-built {
    font-size: 12px;
    color: var(--muted);
  }

  .footer-icon-link {
    font-size: 15px;
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
  }
  .footer-icon-link:hover { color: var(--text); }

  /* ── KEYFRAMES ── */
  @keyframes fadeDown { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes twinkle { 0%,100% { opacity: .2; transform: scale(0.8) rotate(0deg); } 50% { opacity: 1; transform: scale(1.1) rotate(15deg); } }
  @keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.4); } 50% { box-shadow: 0 0 12px 4px rgba(74,222,128,0.2); } }
  @keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

  .float { animation: float 4s ease-in-out infinite; }

  /* scroll reveal */
  .reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .reveal.visible { opacity: 1; transform: translateY(0); }
 
/* Fun ZOne */
.game-btn{
  position:fixed;
  left:30px;
  bottom:30px;

  display:flex;
  align-items:center;
  justify-content:center;
  width:60px;
  height:60px;

  background:linear-gradient(135deg,#1a3a2a,#2a5a3a);
  color:white;
  border-radius:16px;
  box-shadow:0 2px 5px rgba(24,190,2,0.4);
  transition:all .3s ease;
  z-index:9999;
}

/* ICON */
.btn-icon{
  font-size:26px;
}

/* 🔥 Tooltip */
.game-btn::after{
  content:"Fun Zone";
  position:absolute;
  bottom:70px;          /* button এর ডান পাশে */
  background:#1a3a2a;
  color:#fff;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  white-space:nowrap;

  opacity:0;
  transform:translateX(-5px);
  transition:all .25s ease;
  pointer-events:none;
}

/* Hover */
.game-btn:hover::after{
  opacity:1;
  transform:translateX(0);
}

/* .game-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 5px 15px rgba(24,190,2,0.5);
}

.game-btn{
  position:fixed;
  left:30px;      /* 👈 Left side */
  /* bottom:30px;    👈 Bottom */
  
  /* display:inline-flex; */
  /* align-items:center; */
  /* gap:12px; */
  /* padding:14px 20px; */
  /* background:linear-gradient(135deg,#7c3aed,#a855f7); */
  /* color:white; */
  /* text-decoration:none; */
  /* border-radius:16px; */
  /* font-weight:600; */
  /* box-shadow:0 10px 25px rgba(124,58,237,0.4); */
  /* transition:all .3s ease; */
  /* z-index:9999; */
/* } */

/* .game-btn:hover{
  transform:translateY(-3px);
  box-shadow:0 15px 35px rgba(124,58,237,0.6);
} */

/* .btn-icon{ */
  /* display:flex;
  align-items:center;
  justify-content:center;
  width:40px;
  height:40px;
  background:rgba(255,255,255,0.2);
  border-radius:12px;
  font-size:20px;
} */