/*
Theme Name: ProResellBD
Theme URI: https://proresellbd.com/
Author: ProResellBD
Description: ProResellBD custom theme converted from the supplied HTML design. Front-end markup and styles are preserved. WooCommerce/account workflows may need further integration.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: proresellbd
*/


    /* ProResellBD landing page styles */

    /* ===== Variables (colours) & base ===== */
    :root {
      --bg: #ffffff;
      --card: #fff;
      --ink: #111;
      --mut: #5b6b63;
      --g: #0a9a5c;
      --g2: #07814b;
      --line: #dcece3;
      --soft: #e8f7ef;
      box-sizing: border-box;
      padding-top: env(safe-area-inset-top,0px);
      padding-bottom: env(safe-area-inset-bottom,0px);
    }

    * {
      box-sizing: border-box;
      margin: 0;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 70px;
    }

    body {
      overflow-x: clip;
      font-family: 'Hind Siliguri',system-ui,sans-serif;
      background: linear-gradient(180deg,#e6f7ee 0,#f3fbf7 560px,#fff 900px) no-repeat,#fff;
      color: var(--ink);
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    .wrap {
      max-width: none;
      margin: auto;
      padding: 0 clamp(16px,5vw,110px);
    }

    /* ===== Header & navigation ===== */
    header {
      position: sticky;
      top: env(safe-area-inset-top,0px);
      z-index: 10;
      background: color-mix(in srgb,var(--bg) 88%,transparent);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--line);
    }

    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 64px;
      gap: 16px;
    }

    .logo {
      font-weight: 700;
      font-size: 22px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .logo i {
      width: 32px;
      height: 32px;
      border-radius: 9px;
      background: var(--g);
      color: #fff;
      display: grid;
      place-items: center;
      font-style: normal;
    }

    nav {
      display: flex;
      gap: 22px;
      font-weight: 500;
      font-size: 15px;
    }

    nav a:hover {
      color: var(--g);
    }

    .btn {
      display: inline-block;
      background: var(--g);
      color: #fff;
      padding: 10px 20px;
      border-radius: 999px;
      font-weight: 600;
      transition: .25s;
    }

    .btn:hover {
      background: var(--g2);
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(10,154,92,.3);
    }

    .btn.o {
      background: var(--card);
      color: var(--ink);
      border: 1px solid var(--line);
    }

    /* ===== Hero section ===== */
    .hero {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: clamp(16px,3vw,48px);
      align-items: center;
      padding-top: 32px;
      padding-bottom: 40px;
      min-height: min(calc(100vh - 64px), 760px);
    }

    .pill {
      display: inline-block;
      border: 1px solid var(--line);
      background: var(--card);
      padding: 5px 14px;
      border-radius: 999px;
      font-size: 14px;
      color: var(--g2);
      font-weight: 600;
      margin-bottom: 16px;
    }

    h1 {
      font-size: clamp(34px,4.5vw,62px);
      line-height: 1.2;
      font-weight: 700;
    }

    h1 b {
      color: var(--g);
    }

    .hero p {
      color: var(--mut);
      margin: 16px 0 26px;
      max-width: 480px;
    }

    .cta {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    .trust {
      display: flex;
      gap: 22px;
      margin-top: 34px;
      flex-wrap: wrap;
      font-size: 14px;
      color: var(--mut);
    }

    .trust span::before {
      content: "✓ ";
      color: var(--g);
      font-weight: 700;
    }

    /* ===== Hero image & its animations ===== */
    .stage {
      position: relative;
      width: min(100%, calc((100vh - 170px) * 2.02));
      margin-left: auto;
      aspect-ratio: 930/460;
      animation: enter 1.1s cubic-bezier(.2,.7,.2,1) both;
    }

    .stage img {
      position: absolute;
      display: block;
      pointer-events: none;
      user-select: none;
    }

    .stage .base {
      inset: 0;
      width: 100%;
      height: 100%;
      animation: breathe 7s ease-in-out infinite;
      -webkit-mask-image: linear-gradient(to right,transparent,#000 9%,#000 91%,transparent),linear-gradient(to bottom,transparent,#000 10%,#000 90%,transparent);
      -webkit-mask-composite: source-in;
      mask-image: linear-gradient(to right,transparent,#000 9%,#000 91%,transparent),linear-gradient(to bottom,transparent,#000 10%,#000 90%,transparent);
      mask-composite: intersect;
    }

    .stage .ic {
      animation: float 4.6s ease-in-out infinite;
    }

    .stage .ic.b {
      animation-duration: 5.4s;
      animation-delay: -1.8s;
    }

    .stage .ic.c {
      animation-duration: 3.9s;
      animation-delay: -.9s;
    }

    .stage .ring {
      position: absolute;
      left: 46%;
      top: 44%;
      width: 34%;
      aspect-ratio: 1;
      border-radius: 50%;
      border: 2px solid rgba(10,154,92,.25);
      transform: translate(-50%,-50%);
      animation: ripple 4s ease-out infinite;
      pointer-events: none;
    }

    .stage .ring.r2 {
      animation-delay: -2s;
    }

    @keyframes breathe {
      0%,100% {
        transform: scale(1) translateY(0);
      }
      50% {
        transform: scale(1.018) translateY(-6px);
      }
    }

    @keyframes enter {
      from {
        opacity: 0;
        transform: translateX(40px) scale(.96);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    @keyframes ripple {
      0% {
        opacity: .7;
        transform: translate(-50%,-50%) scale(.5);
      }
      100% {
        opacity: 0;
        transform: translate(-50%,-50%) scale(1.5);
      }
    }

    /* ===== Animation keyframes ===== */
    @keyframes float {
      0%,100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-16px);
      }
    }

    @keyframes morph {
      0%,100% {
        border-radius: 46% 54% 50% 50%;
      }
      50% {
        border-radius: 56% 44% 42% 58%;
      }
    }

    @keyframes up {
      from {
        opacity: 0;
        transform: translateY(26px);
      }
      to {
        opacity: 1;
        transform: none;
      }
    }

    .hero .in>* {
      opacity: 0;
      animation: up .8s cubic-bezier(.2,.7,.2,1) forwards;
    }

    .hero .in>*:nth-child(2) {
      animation-delay: .12s;
    }

    .hero .in>*:nth-child(3) {
      animation-delay: .24s;
    }

    .hero .in>*:nth-child(4) {
      animation-delay: .36s;
    }

    .hero .in>*:nth-child(5) {
      animation-delay: .48s;
    }

    /* ===== Common section heading ===== */
    section.s {
      padding: 70px 0;
    }

    .head {
      text-align: center;
      margin-bottom: 38px;
    }

    .head small {
      color: var(--g);
      font-weight: 600;
    }

    .head h2 {
      font-size: clamp(26px,4vw,40px);
      margin-top: 4px;
    }

    .head p {
      color: var(--mut);
    }

    /* ===== "How it works" - 6 step cards ===== */
    .steps {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 20px;
    }

    .step {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 20px;
      overflow: hidden;
      transition: .35s;
    }

    .step:hover {
      transform: translateY(-8px);
      box-shadow: 0 18px 36px rgba(10,154,92,.16);
    }

    .step .im {
      height: 150px;
      display: grid;
      place-items: center;
      font-size: 62px;
      background: linear-gradient(135deg,var(--soft),var(--card));
      position: relative;
    }

    .step .im em {
      position: absolute;
      right: 14px;
      bottom: -14px;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--g);
      color: #fff;
      font-style: normal;
      font-size: 15px;
      line-height: 1;
      display: grid;
      place-items: center;
      font-weight: 700;
      border: 3px solid var(--card);
    }

    .step .im span {
      display: inline-block;
      transition: .4s;
    }

    .step:hover .im span {
      transform: scale(1.18) rotate(-6deg);
    }

    .step div.t {
      padding: 22px 18px 18px;
    }

    .step h3 {
      font-size: 19px;
    }

    .step p {
      color: var(--mut);
      font-size: 14px;
    }

    /* ===== Trending products ===== */
    .prods {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 18px;
    }

    .prod {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 16px;
      overflow: hidden;
      transition: .3s;
    }

    .prod:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 30px rgba(10,154,92,.15);
    }

    .prod .im {
      height: auto; aspect-ratio: 1 / 1;
      display: grid;
      place-items: center;
      font-size: 68px;
      overflow: hidden;
      position: relative;
    }

    .prod .im span {
      transition: transform .5s;
    }

    .prod:hover .im span {
      transform: scale(1.22);
    }

    .prod .tag {
      position: absolute;
      top: 10px;
      left: 10px;
      background: var(--card);
      color: var(--g2);
      font-size: 12px;
      font-weight: 600;
      padding: 2px 10px;
      border-radius: 999px;
    }

    .prod .b {
      padding: 14px;
    }

    .prod h4 {
      font-size: 15px;
      font-weight: 600;
    }

    .prod small {
      color: var(--mut);
    }

    .prod .pr {
      color: var(--g);
      font-weight: 700;
      margin-top: 4px;
    }

    /* ===== About section ===== */
    .about {
      display: grid;
      grid-template-columns: 1fr 1.1fr;
      gap: 40px;
      align-items: center;
    }

    .logo-box {
      aspect-ratio: 1.2;
      border-radius: 24px;
      background: var(--soft);
      display: grid;
      place-items: center;
      border: 1px solid var(--line);
    }

    .logo-box div {
      width: 46%;
      aspect-ratio: 1;
      border-radius: 50%;
      background: var(--card);
      display: grid;
      place-items: center;
      font-weight: 700;
      font-size: 20px;
      color: var(--g);
      box-shadow: 0 0 0 14px var(--soft),0 0 0 15px var(--g);
      animation: pulse 3s ease-in-out infinite;
    }

    @keyframes pulse {
      50% {
        transform: scale(1.06);
      }
    }

    .about ul {
      list-style: none;
      padding: 0;
      margin-top: 14px;
    }

    .about li {
      padding: 5px 0;
    }

    .about li::before {
      content: "✓";
      color: var(--g);
      font-weight: 700;
      margin-right: 10px;
    }

    /* ===== Footer ===== */
    footer {
      background: #0a1a14;
      color: #8fb09f;
      border-top: 5px solid #12a36a;
      padding: 56px 0 22px;
      margin-top: 40px;
    }

    .fg {
      display: grid;
      grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
      gap: 36px;
      font-size: 14px;
    }

    footer h5 {
      color: #fff;
      font-size: 17px;
      font-weight: 700;
      margin-bottom: 14px;
    }

    footer .fl2 a {
      display: block;
      padding: 5px 0;
      transition: .2s;
    }

    footer .fl2 a:hover {
      color: #4fe0a0;
      transform: translateX(4px);
    }

    .flogo {
      font-size: 24px;
      font-weight: 700;
      color: #18b36e;
      display: flex;
      align-items: center;
      gap: 8px;
      margin: 26px 0 56px;
    }

    .flogo i {
      width: 34px;
      height: 34px;
      border-radius: 9px;
      background: #18b36e;
      color: #06140d;
      display: grid;
      place-items: center;
      font-style: normal;
    }

    .ci {
      display: flex;
      gap: 12px;
      align-items: center;
      margin-bottom: 14px;
      color: #cfe3d8;
    }

    .ico {
      flex: none;
      width: 30px;
      height: 30px;
      border-radius: 8px;
      background: #12372a;
      color: #18b36e;
      display: grid;
      place-items: center;
      font-size: 14px;
    }

    .soc {
      display: flex;
      gap: 12px;
      align-items: center;
      padding: 12px 14px;
      margin-bottom: 10px;
      border: 1px solid #1d3a2b;
      background: #0f2a20;
      border-radius: 10px;
      color: #dfeee6;
      transition: .25s;
    }

    .soc:hover {
      border-color: #18b36e;
      background: #12372a;
      transform: translateY(-2px);
    }

    .copy {
      border-top: 1px solid #1d3a2b;
      margin-top: 34px;
      padding-top: 16px;
      font-size: 13px;
      display: flex;
      justify-content: space-between;
      gap: 10px;
      flex-wrap: wrap;
    }

    /* ===== Scroll reveal (JS adds .on) ===== */
    .rv {
      opacity: 0;
      transform: translateY(34px) scale(.97);
      transition: opacity .7s ease,transform .7s cubic-bezier(.2,.7,.2,1);
      transition-delay: var(--d,0s);
    }

    .rv.on {
      opacity: 1;
      transform: none;
    }

    /* ===== Responsive (tablet / mobile) & reduced motion ===== */

    @media (max-width:860px) {
      nav {
        display: none;
      }
      .hero,.about {
        grid-template-columns: 1fr;
      }
      .hero {
        min-height: 0;
        max-height: none;
      }
      .stage {
        margin-top: 6px;
      }
      .steps {
        grid-template-columns: 1fr 1fr;
      }
      .prods {
        grid-template-columns: 1fr 1fr;
      }
      .fg {
        grid-template-columns: 1fr 1fr;
      }
      .flogo {
        margin: 0 0 14px;
      }
    }

    @media (max-width:520px) {
      .steps {
        grid-template-columns: 1fr;
      }
      .btn.hide {
        display: none;
      }
    }

    @media (prefers-reduced-motion:reduce) {
      * {
        animation: none!important;
        transition: none!important;
      }
      .rv,.hero .in>* {
        opacity: 1;
        transform: none;
      }
    }

    /* ===== Your own images (logo, steps, products) ===== */
    .up { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
    .prod:hover .up { transform: scale(1.15); }
    .prod .tag, .step .im em { z-index: 2; }
    .logo-img { display: none; width: auto; max-width: 220px; object-fit: contain; }
    .logo-default { display: flex; align-items: center; gap: 8px; }

    /* Logo picture: white box in the dark footer so the logo stays readable */
    .flogo .logo-img { background: #fff; padding: 8px 14px; border-radius: 12px; box-sizing: content-box; }

    /* Social buttons: white icon box so the brand colours show */
    .soc .ico { background: #fff; }
    .ci a:hover { color: #4fe0a0; }

    /* ===== Phone (Android) view - desktop is not changed by anything below ===== */
    .menu { display: none; }
    .nav-login { display: none; }

    @media (max-width: 860px) {
      .menu { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 20px; color: var(--ink); cursor: pointer; }
      .nav { height: 60px; gap: 10px; }
      .nav > div { margin-left: auto; }
      nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; padding: 4px clamp(16px,5vw,110px) 12px; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 16px 24px rgba(0,0,0,.08); }
      nav.open { display: flex; }
      nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
      nav a:last-child { border-bottom: 0; }
    }

    @media (max-width: 600px) {
      .btn { padding: 9px 16px; font-size: 14px; }
      .logo .logo-img { height: 34px !important; }
      .nav-login { display: block; color: var(--g2); font-weight: 600; }
      .hero { padding-top: 22px; padding-bottom: 6px; gap: 4px; }
      h1 { font-size: clamp(30px, 8.8vw, 42px); }
      .hero p { font-size: 15px; margin: 12px 0 20px; }
      .cta { flex-wrap: nowrap; gap: 10px; }
      .cta .btn { flex: 1; text-align: center; padding: 13px 8px; font-size: 14.5px; }
      .trust { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 20px; font-size: 13.5px; }
      .stage { width: 110%; margin-left: -5%; margin-top: 0; }
      section.s { padding: 44px 0; }
      .head { margin-bottom: 24px; }
      .steps { grid-template-columns: 1fr 1fr; gap: 12px; }
      .step .im { height: 108px; font-size: 44px; }
      .step div.t { padding: 20px 12px 14px; }
      .step h3 { font-size: 16px; }
      .step p { font-size: 12.5px; line-height: 1.5; }
      .prods { gap: 12px; }
      .prod .im { height: auto; aspect-ratio: 1 / 1; font-size: 52px; }
      .prod .b { padding: 11px; }
      .prod h4 { font-size: 14px; }
      .about .logo-box { max-width: 260px; margin: 0 auto; }
      .about h2 { text-align: left; }
      .fg { grid-template-columns: 1fr 1fr; gap: 26px 16px; }
      footer .fg > div:first-child, footer .fg > div:last-child { grid-column: 1 / -1; }
      .copy { flex-direction: column; text-align: center; }
      .imgbar { display: none; }
    }

    [hidden] { display: none !important; }
  